Remove dependency on cl-seq.el
[org-mode.git] / lisp / ChangeLog
blob6463da2a1e94631b1dd73b8ee09eaff91e5304ee
1 2010-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-remove-if, org-remove-if-not): New functions.
4         (org-open-file): Use internal remove-if functions.
6 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
8         * org.el (org-file-apps-entry-match-against-dlink-p): new function.
9         (org-file-apps-ex): remove variable.
10         (org-open-file): Integrate org-file-apps-ex functionality back
11         into org-file-apps, and decide whether to match a regexp against
12         the link or the filename using org-file-apps-entry-uses-grouping-p.
14 2010-04-09  Jan Böcker  <jan.boecker@jboecker.de>
16         * org.el (org-file-apps-ex): new variable.
17         (org-open-file): Before considering org-file-apps, first match the
18         regexps from org-file-apps-ex against the whole link. See
19         docstring of org-file-apps-ex.
21 2010-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
23         * org.el (org-export-latex-default-packages-alist): Remove
24         microtype package.
25         (org-todo-repeat-to-state): New variable.
26         (org-auto-repeat-maybe): Allow user-selected target states.
27         (org-default-properties): Add the new property REPEAT_TO_STATE.
29 2010-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
31         * org-mobile.el (org-mobile-check-setup): Make sure that there is
32         a binary to compute checksums.
34 2010-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
36         * org.el (org-insert-link): Find the link buffer on visible
37         frames.
38         (org-export-latex-default-packages-alist): hyperref must be loaded
39         late.
41 2010-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
43         * org-latex.el (org-export-latex-preprocess): Do not yet protect
44         defined entities - these will be taken care of later.
45         (org-export-latex-special-chars): Post-process entity replacement.
46         (org-export-latex-fontify-headline): Do not yet protect defined
47         entities - these will be taken care of later.
48         (org-export-latex-tables, org-export-latex-links): Format the
49         caption properly.
51         * org-entities.el (org-entities-user): Fix typo.
53         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords
55         * org-entities.el (org-entities-user): Improve docstring.
57 2010-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
59         * org-entities.el (org-macs): Require org-macs, to be sure that we
60         have `declare-function' defined.
62 2010-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
64         * org-latex.el (org-export-latex-classes): Update docstring.
66         * org.el (org-format-latex-header): Add cookies to the header.
67         (org-splice-latex-header): Implement placement according to
68         cookies.
70 2010-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org-publish.el (org-publish-aux-preprocess): Control case
73         sensitivity.
75 2010-04-04  Bastien Guerry  <bzg@altern.org>
77         * org.el (org-splice-latex-header): Fix typo.
79 2010-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
81         * org-latex.el (org-export-latex-make-header): Use
82         `org-splice-latex-header' to build the header.
83         (org-export-latex-classes): Update docstring.
85         * org.el (org-splice-latex-header): New function.
86         (org-create-formula-image): Use `org-splice-latex-header' to build
87         the header.
89         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
91 2010-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
93         * org.el (org-export-latex-packages-alist)
94         (org-export-latex-default-packages-alist): Fix docstring to
95         reflect the expected structure.
97         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
98         (org-export-docbook-finalize-table): Make use of label for tables.
100 2010-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
102         * org-attach.el (org-attach-commit): Split on newlines.
104         * org.el (org-export-latex-default-packages-alist): Use list
105         instead of cons for the entries.
107 2010-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
109         * org-entities.el (org-entity-get-representation): Catch the case
110         that there is not entry in the list.
112         * org-mobile.el (org-mobile-use-encryption)
113         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
114         New options.
115         (org-mobile-check-setup): CHeck the encryption setup.
116         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
117         (org-mobile-create-sumo-agenda): Use encryption code.
118         (org-mobile-encrypt-and-move): New function.
119         (org-mobile-encrypt-file, org-mobile-decrypt-file): New
120         functions.
121         (org-mobile-move-capture): Decrypt the capture file.
123         * org.el (org-entities): Require the new file.
124         (org-export-latex-default-packages-alist): New variable.
125         (org-complete): Use new entity code for completion.
126         (org-create-formula-image): Use the new packages variable.
128         * org-latex.el (org-export-latex-classes): Remove the standard
129         packages from the class headers.
130         (org-export-latex-make-header): Use the new package variable.
131         (org-export-latex-special-chars): Better regexp for entities, to
132         support entity name that contain numbers.
133         (org-export-latex-treat-backslash-char): Use the new entity code.
135         * org-html.el (org-html-do-expand): Use the new entity code.
137         * org-exp.el (org-export): Add the new export commands.
138         (org-html-entities): Constant removed.
139         (org-export-visible): Add the new export commands.
141         * org-entities.el: New file.
143         * org-docbook.el (org-docbook-do-expand): Use new entity code.
145         * org-ascii.el (org-export-ascii-entities): New variable.
146         (org-export-as-latin1, org-export-as-latin1-to-buffer)
147         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
148         (org-export-as-encoding): New function.
149         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
150         (org-ascii-replace-entities): New function.
152 2010-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
154         * org-html.el (org-html-level-start): Catch the case that target
155         might be nil.
157 2010-03-31  Dan Davison  <davison@stats.ox.ac.uk>
159         * org.el (org-appearance): Change Customize group variable name
160         from org-font-lock to org-appearance, and change tag from "Org
161         Font Lock" to "Org Appearance"
162         (org-odd-levels-only): Change Customize group variable name
163         (org-level-color-stars-only): Change Customize group variable name
164         (org-hide-leading-stars): Change Customize group variable name
165         (org-hidden-keywords): Change Customize group variable name
166         (org-fontify-done-headline): Change Customize group variable name
167         (org-fontify-emphasized-text): Change Customize group variable name
168         (org-fontify-whole-heading-line): Change Customize group variable name
169         (org-highlight-latex-fragments-and-specials): Change Customize
170         group variable name
171         (org-hide-emphasis-markers): Change Customize group variable name
172         (org-emphasis-alist): Change Customize group variable name
173         (org-emphasis-regexp-components): Change Customize group variable
174         name
175         (org-modules): Remove mention of org-R
177         * org-faces.el (org-faces): Change Customize group variable name
179 2010-03-29  Carsten Dominik  <carsten.dominik@gmail.com>
181         * org-agenda.el (org-diary-last-run-time): New variable.
182         (org-diary): prepare agenda buffers only if last call was some
183         time ago.
185         * org-html.el (org-export-html-preprocess): Replace \ref macros
186         with a link.
187         (org-format-org-table-html): Add the label as an anchor.
189         * org-docbook.el (org-export-docbook-format-image): Do some
190         formatting on captions.
192         * org-latex.el (org-export-latex-tables, org-export-latex-links):
193         Do some formatting on captions.
195         * org-html.el (org-export-html-format-image)
196         (org-format-org-table-html): Do some formatting on captions.
198 2010-03-28  Dan Davison  <davison@stats.ox.ac.uk>
200         * org.el (org-hidden-keywords): New customizable variable. This is
201         a list of symbols specifying which of the special keywords #+DATE,
202         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
203         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
204         implementing new faces and hiding behaviour.
206         * org-faces.el (org-document-title): New face for #+TITLE lines
207         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines
208         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL keywords
210 2010-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
212         * org-publish.el (org-publish-sanitize-plist): New function to
213         rename "index" properties to "sitemap".  Do this renaming
214         globally.
215         (org-publish-with-aux-preprocess-maybe): New macro.
216         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
217         macro.
218         (org-publish-aux-preprocess)
219         (org-publish-index-generate-theindex.inc): New function.
221 2010-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
223         * org-table.el (org-table-align): Interpret <N> at fixed width,
224         not as maximum width.
226 2010-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
228         * org-exp.el (org-export-author-info, org-export-email-info): Fix
229         docstrings.
231         * org-beamer.el (org-beamer-select-environment): Renamed from
232         `org-beamer-set-environment-tag'.  Improve docstring.
234         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
235         problem with odd levels.
237         * org-ascii.el (org-export-as-ascii): Export email only if the
238         author wants it.
240         * org-docbook.el (org-export-as-docbook): Export email only if the
241         author wants it.
243         * org-html.el (org-export-as-html): Export email only if the
244         author wants it.
246         * org-exp.el (org-export-email-info): New option.
247         (org-export-plist-vars): Add entry for `org-export-email'.
249 2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
251         * org-table.el (org-table-goto-line): Fix typo.
253 2010-03-25  Mikael Fornius  <mfo@abc.se>
255         * org.el (org-agenda-files): Typo.
256         (org-read-agenda-file-list): Add optional argument to help
257         `org-store-new-agenda-file-list' to remember un-expanded file
258         names.  Expand file names relative to `org-directory'.
259         (org-store-new-agenda-file-list): Keep un-expanded file names when
260         saving, if available.
261         (org-agenda-files): Update documentation.
263 2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
265         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
266         a buffer with no file name attached.
268         * org.el (org-log-refile): New option.
269         (org-log-note-headings): Add a heading for refiling.
270         (org-startup-options): Add keywords for logging of the refile
271         action.
272         (org-refile): Add logging action.
273         (org-add-log-note): Allow for refiling action.
275         * org-agenda.el (org-agenda-bulk-action): Make sure
276         `org-log-refile' is not `note' during a bulk action.
278 2010-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
280         * org.el (org-map-dblocks): Use save-excursion to remember the
281         position.
283         * org-attach.el (org-attach-commit): Remove dependence on xargs.
284         (org-attach-delete-one): Commit after deleting a file.
286         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
287         borders for strike-through emphasis.
289         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
290         handling of odd levels.
292         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
293         and `future' values.
294         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
295         Handle `past' and `future' values.
297         * org.el (org-read-agenda-file-list): Interpret file names
298         relative to org-directory and allow environment variables and
299         "~".
301         * org-latex.el (org-export-latex-special-chars): Allow a
302         parenthesis before an exponent or subscript.
304 2010-03-23  Dan Davison  <davison@stats.ox.ac.uk>
306         * org-src.el (org-edit-src-exit): When returning from code edit
307         buffer, if code block is hidden, leave point at start of
308         #+begin_src line
310 2010-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
312         * org.el (org-insert-heading): Do not remove all spaces if the
313         headline is empty.
315         * org-indent.el (org-indent): Fix group name.
317 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
319         * org-table.el (org-table-goto-column): Fix forcing a non-existing
320         column.
321         (org-table-get, org-table-put, org-table-goto-line)
322         (org-table-current-line): New functions.
324 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
326         * org-crypt.el (org-reveal-start-hook): Add a decryption function
327         to this hook.
328         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
329         docstrings.
331         * org.el (org-point-at-end-of-empty-headline)
332         (org-level-increment, org-get-previous-line-level): New function.
333         (org-cycle-level): Rewritten to be independent of when this
334         function is called.
335         (org-in-regexps-block-p): New function.
336         (org-reveal-start-hook): New hook.
337         (org-reveal): Run new hook.
339 2010-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
341         * org-latex.el (org-export-latex-keywords): Start a new paragraph
342         after time keywords, do not add "\newline".
344         * org-html.el (org-export-as-html): Avoid double # in href.
346         * org.el (org-refile-get-location): Catch an invalid target
347         specification.
349 2010-03-18  Carsten Dominik  <carsten.dominik@gmail.com>
351         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
352         Make sure the behavior regarding to extracting time is
353         consistent.
355 2010-03-17  Stephen Eglen  <stephen@gnu.org>
357         * org-agenda.el (org-agenda-insert-diary-extract-time): New
358         variable.
359         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
360         variable rather than `org-agenda-search-headline-for-time'.
362 2010-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
364         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
366 2010-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
368         * org.el (org-adaptive-fill-regexp-backup): New variable.
369         (org-set-autofill-regexps): Store a backup of
370         `adaptive-fill-regexp'.
371         (org-adaptive-fill-function): Fix filling of comments and ordered
372         lists. If there is no other match, till try adaptive fill.
374 2010-03-15  John Wiegley  <jwiegley@gmail.com>
376         * org-agenda.el (org-agenda-include-deadlines): Added new
377         customization variable to determine whether unscheduled tasks
378         should appear in the agenda solely because of their deadline.
379         Default to true, which was the previous behavior (it just wasn't
380         configurable).
381         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
382         the agenda to show/hide deadline tasks.
383         (org-agenda-menu): Added menu option for show/hide deadlines.
384         (org-agenda-list): Make the agenda list sensitive to the value of
385         `org-agenda-include-deadlines'.
386         (org-agenda-toggle-deadlines): New function to toggle the value of
387         `org-agenda-include-deadlines' and repaint the modeline
388         indicators.
389         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
390         modeline if deadline tasks are being displayed.
392 2010-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
394         * org-table.el (org-table-eval-formula): Replace $# and @# by
395         current column and row number.
397 2010-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
399         * org.el (org-set-property, org-delete-property): Go back to
400         prompting for the property.
402         * org-latex.el (org-export-latex-make-header): Fully process
403         author line.
404         (org-export-latex-fontify-headline): Allow several arguments, not
405         just one.
406         (org-export-latex-fix-inputenc): Catch the error when
407         `latexenc-coding-system-to-inputenc' is not defined.
409         * org-agenda.el (org-agenda-skip-if-todo): New function.
410         (org-agenda-skip-if): Add conditions for TODO keywords.
411         (org-agenda-skip-if): Document the new todo conditions.
413 2010-03-11  Mikael Fornius  <mfo@abc.se>
415         * org.el (org-at-property-p): Check if we are inside a property
416         drawer not just any drawer.
417         (org-set-property, org-delete-property): When cursor is on a
418         property key value pair do not prompt for property name instead
419         use name at cursor.
420         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
421         on the first line of a property drawer.
422         (org-property-end-re): Spell check.
424 2010-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
426         * org-exp.el (org-export-attach-captions-and-attributes): Add the
427         properties to the entire table, in case the first line is
428         removed.
430         * org-archive.el (org-archive-reversed-order): New option.
431         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
432         option `org-archive-reversed-order'.
434 2010-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-agenda.el (org-agenda-entry-types): New variable.
437         (org-agenda-list): Use `org-agenda-entry-types'.
438         (org-agenda-custom-commands-local-options): Support for setting
439         `org-agenda-entry-types' as an option.
440         (org-diary): Shift some documentation from here to the variable
441         `org-agenda-entry-types'.
443 2010-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
445         * org-latex.el (org-export-latex-make-header): Apply macros in
446         author field.
448         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
449         (org-clock-select-task, org-clock-notify-once-if-expired)
450         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
451         (org-clock-out-if-current, org-clock-save): Use the new functions.
453 2010-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
455         * org-docbook.el (org-export-as-docbook): Remove unnecessary
456         newline.
457         (org-export-as-docbook): Remove unnecessary newline.
458         (org-export-as-docbook): Fix problem with double footnote
459         reference in one place.
461         * org-exp.el (org-export-format-source-code-or-example): Remove
462         unnecessary newline.
464         * org.el (org-deadline, org-schedule): Allow rescheduling entries
465         with repeaters.
467         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
468         function calls that look like references.
470         * org.el (org-open-at-point): Get link abbreviations from
471         reference buffer.
473 2010-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
475         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
476         as a reference.
478 2010-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
480         * org.el (org-link-unescape): Solve issue with lower-case escapes.
482 2010-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
484         * org-latex.el (org-export-latex-classes): Add
485         \usepackage{latexsym} to all classes.
487 2010-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
489         * org-html.el (org-export-as-html): Do not allow protected lines
490         into the table of contents.
492         * org-latex.el (org-export-latex-special-chars): Find subsequent
493         occurrences of special characters.
494         (org-export-latex-tables): Do not convert table-like stuff that is
495         protected.
497 2010-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
499         * org-list.el (org-toggle-checkbox): No errors when updating
500         checkbox count fails because there is no heading.
502 2010-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
504         * org-clock.el (org-clock-report-include-clocking-task): New
505         option.
506         (org-clock-sum): Add the current clocking task.
508 2010-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
510         * org.el (org-cycle): Print a message when in a table.el table.
511         (org-edit-special): Recognize the table.el context.
512         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
514         * org-src.el (org-at-table.el-p): Declare.
515         (org-edit-src-code): Handle a special case for table.el editing.
516         (org-edit-src-find-region-and-lang): Recognize the table.el
517         context.
519         * org-latex.el (org-export-latex-tables): Convert table.el
520         tables.
521         (org-export-latex-convert-table.el-table): New function.
523         * org-html.el (org-html-expand): Fix table.el export.
525         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
526         headings.
528         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
529         table for the id locations.
531         * org.el (org-read-date-analyze): Match American-style dates, like
532         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
533         current year when reading ISO and American dates.
535 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
537         * org.el (org-face-from-face-or-color): New function.
538         (org-get-todo-face, org-font-lock-add-priority-faces)
539         (org-get-tag-face): Use `org-face-from-face-or-color'.
541         * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
542         simple colors as values.
543         (org-faces-easy-properties): New option.
545         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
546         restricted, as an agenda mode.
547         (org-agenda-fontify-priorities): Allow simple colors as values.
549 2010-02-25  Bastien Guerry  <bzg@altern.org>
551         * org-timer.el (org-timer-current-timer): Renamed from
552         `org-timer-last-timer'.
553         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
554         (org-timer-cancel-timer, org-timer-show-remaining-time)
555         (org-timer-set-timer): Update to use only one timer.
557         * org.el (org-set-property): Remove useless space in the prompt.
559 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
561         * org-html.el (org-export-html-style-default): Add a default style
562         for textareas.
564         * org-exp.el (org-export-format-source-code-or-example): Fix
565         textarea tag.
567 2010-02-24  Bastien Guerry  <bzg@altern.org>
569         * org-clock.el (org-clock-current-task): New variable to store
570         last clocked in task.
571         (org-clock-set-current, org-clock-delete-current): New functions.
573 2010-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
575         * org-remember.el (org-remember-apply-template): Extend comment.
576         (org-remember-handler): Implement clock sibling filing.
578 2010-02-23  Carsten Dominik  <carsten.dominik@gmail.com>
580         * org-publish.el (org-publish-all, org-publish-current-file)
581         (org-publish-current-project): When called with prefix argument
582         FORCE, also rebuild the validation file list.
584         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
585         section headings.
587 2010-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
589         * org-html.el (org-export-as-html-and-open): Kill product buffer
590         if the user wants that.
592         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
593         if the user wants that.
595         * org-exp.el (org-export-kill-product-buffer-when-displayed): New
596         option.
598         * org-agenda.el (org-batch-agenda-csv): Use the time property
599         instead of the `time-of-day' property.
601 2010-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
603         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
604         (org-timer-pause-hook, org-timer-set-hook)
605         (org-timer-cancel-hook): New hooks.
606         (org-timer-start): Run `org-timer-start-hook'.
607         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
608         (org-timer-stop): Run `org-timer-stop-hook'.
609         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
611 2010-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
613         * org.el (org-reveal): Double prefix arg shows the subtree of the
614         parent.
616 2010-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
618         * org-agenda.el (org-search-view): Fix bug with searching full
619         words in headlines in search view.
620         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
621         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
622         scheduled (if the user configures it so.
624 2010-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
626         * org.el (org-hide-archived-subtrees): Don't jump to end of
627         subtree if the match was not in a headline.
628         (org-inside-latex-macro-p): Allow more complex arguments.
629         (org-emphasize): Protect against use at end of buffer.
631 2010-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
633         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
634         text properties.
636 2010-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
638         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
639         values.
640         (org-agenda-todo-ignore-scheduled)
641         (org-agenda-todo-ignore-deadlines): More control with different
642         allowed values.
643         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
644         Honor the new option settings.
646 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
648         * org.el (org-get-location): Make sure the selection buffer is
649         shown in the current frame.
651         * org-ascii.el (org-export-ascii-table-widen-columns): New
652         option.
653         (org-export-ascii-preprocess): Realign tables to remove narrowing
654         if `org-export-ascii-table-widen-columns' is set.
656         * org-table.el (org-table-do-narrow): New variable.
657         (org-table-align): Narrow only if `org-table-do-narrow' is t.
659         * org.el (org-deadline, org-schedule): Allow updating if the
660         relevant time stamp does not have a repeater, i.e. do not require
661         that no time stamp has a repeater.
663         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
664         new white space before the tags.
666         * org-latex.el (org-export-as-latex): Do nit require the buffer to
667         be visiting a file when only exporting to a buffer or string.
668         (org-export-latex-fix-inputenc): Only save the buffer is there is
669         a file name attached to it.
671 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
673         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
675 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
677         * org.el (org-fontify-meta-lines-and-blocks): Honor
678         `org-fontify-quote-and-verse-blocks'.
680         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
682 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
684         * org.el (org-open-at-point): Also check for text property
685         org-linked-text before offering collected links.
687 2010-02-03  Stephen Eglen  <stephen@gnu.org>
689         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
690         Optionally extract time specification from text and add to the
691         timestamp.
693 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
695         * org-exp.el (org-html-entities): Fix typo.
697         * org-latex.el (org-export-latex-make-header): Use \providecommand
698         to make sure the \alert macro is defined.
700         * org.el (org-format-latex-signal-error)
701         (org-create-formula-image): Use `org-format-latex-signal-error'.
703 2010-02-02  Stephen Eglen  <stephen@gnu.org>
705         * org.el (org-store-link): For dired buffers, use
706         default-directory as link name if dired-get-filename returns
707         nil.
709 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
711         * org-exp.el (org-export-concatenate-multiline-links): The for
712         protectedness at beginning of match.
714         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
715         AUTO as a coding system, instead default to utf8.
717 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
719         * org.el (org-block-todo-from-children-or-siblings-or-parent)
720         (org-block-todo-from-checkboxes): Respect the local variable
721         value when deciding if blocking should be active.
723         * org-latex.el (org-export-latex-make-header): Define the align
724         macro if it is not yet defined.
726         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
727         `org-insert-heading' with the INVISIBLE-OK argument.
729         * org-mac-message.el (org-mac-message-insert-flagged): Call
730         `org-insert-heading' with the INVISIBLE-OK argument.
732         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
734         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
735         prompt message.
737         * org-html.el (org-html-level-start): Use the
738         `html-container-class' text property to set an additional class
739         for an outline container.
741         * org-exp.el (org-export-remember-html-container-classes): New
742         function.
743         (org-export-preprocess-string): Call
744         `org-export-remember-html-container-classes'.
746         * org.el (org-cycle): Mention level cycling in the docstring.
747         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
749         * org-remember.el (org-remember-apply-template): Do file insertion
750         first.
752 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
754         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
755         problem with mis-aligned graphs when showing habits.
757 2010-01-28  Mikael Fornius  <mfo@abc.se>
759         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
760         when assigning. Begin using numerical characters when all in name
761         is used up. This is to spare alphanumeric characters for better
762         match with other keywords.
764 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
766         * org-exp.el (org-export-preprocess-hook): Improve documentation.
768         * org-latex.el (org-export-latex-preprocess): More consistent
769         conversion and protection of the words LaTeX and TeX.
770         (org-export-latex-fontify-headline, org-export-latex-preprocess):
771         Allow angle brackets in commands, for beamer.
773 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
775         * org-clock.el (org-clock-in): Improve the look of the clock line
776         by formatting links.
778 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
780         * org-latex.el (org-export-latex-classes): Use AUTO as the place
781         holder string for the coding system.  And improve the
782         documentation.
783         (org-export-latex-fix-inputenc): Only modify the coding system if
784         it is given by the placeholder AUTO.
786 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
788         * org-clock.el (org-task-overrun-text): New option.
789         (org-task-overrun, org-clock-update-period): New variables.
790         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
791         overrun clock.
792         (org-clock-notify-once-if-expired): Check if clock is overrun.
794         * org-faces.el: New face `org-mode-line-clock-overrun'.
796 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
798         * org.el (org-narrow-to-subtree): Position the end of the narrowed
799         region before the line with the next heading, to prevent the user
800         from prepending text to the next headline.
802 2010-01-20  Stephen Eglen  <stephen@gnu.org>
804         * org-agenda.el (org-get-time-of-day): Use
805         org-agenda-time-leading-zero to allow leading zero (rather than
806         space) for times.
808 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
810         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
811         org-datetree.el is loaded.
813         * org-datetree.el: autoload `org-datetree-find-day-create'
815         * org-latex.el (org-export-latex-hyperref-format): New option.
816         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
818 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
820         * org-ctags.el (org-ctags-enable): Change order of functions.
821         (org-ctags-create-tags): Add wildcard to file name expansion.
823 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
825         * org.el (org-entry-properties): Fix some important bugs.
827 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
829         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
830         the table is not explicitly given.
832 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
834         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
835         as value.
836         (org-clock-out-if-current): Work with the new list value of
837         `org-clock-out-when-done'.
838         (org-clock-out, org-clock-out-if-current): Avoid circular logic
839         between clocking out and state changes.
841         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
843         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
844         accident protect a character that is before a backslash.
846 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
848         * org-agenda.el (org-diary-class): Use
849         `org-order-calendar-date-args'.
851         * org.el (org-order-calendar-date-args): New function.
853         * org-exp.el (org-export-target-internal-links): Check for
854         protectedness after the first bracket.
856         * org.el (org-entry-properties): Don't match wrong-case TODO
857         keywords.
859         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
860         Document that ARG is passed through to remove the date.
861         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
862         not read a date when the user has given a `C-u' prefix.
864 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
866         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
867         tags are hidden.
869 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
871         * org-latex.el (org-export-latex-fix-inputenc): New function.
872         (org-export-latex-inputenc-alist): New option.
874         * org-exp.el (org-export): New key SPC to publish enclosing
875         subtree.
877 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
879         * org-indent.el (org-indent-add-properties): Catch case when there
880         is no headline in the buffer.
882 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
884         * org-exp.el (org-html-entities): Add checkmark symbol.
886         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
887         verbatim code for ASCII export.
889         * org.el (org-update-statistics-cookies): Also see checkboxes in
890         ordered lists.
892 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
894         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
895         key.
897         * org-beamer.el (org-beamer-amend-header): Change the location
898         where `org-beamer-header-extra' is inserted.
900         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
901         just for computing this regexp.
903 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
905         * org-beamer.el (org-beamer-frame-default-options): New option.
906         (org-beamer-sectioning): Use default options if the user does not
907         have defined any.
908         (org-beamer-fix-toc): Put a frame around the table of contents.
910         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
911         sure case-folding works well when processing comment stuff.
913         * org-latex.el (org-export-latex-after-save-hook): New hook.
914         (org-export-as-latex): Run the new hook.
916 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
918         * org-beamer.el (org-beamer-environments-default): Add the note
919         environments.
920         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
921         lines and collect and combine the content.
922         (org-beamer-after-initial-vars): Check for note tags and make sure
923         they will be seen like a property.
925         * org.el (org-offer-links-in-entry): Fix bug when there is a
926         single link.
928         * org-exp.el (org-export): Make sure the mark is activated, also
929         when `transient-mark-mode' is off.
931         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
932         (org-agenda-search-view-search-words-only): Obsolete variable, is
933         now an alias for `org-agenda-search-view-always-boolean'.
934         (org-agenda-search-view-force-full-words): New option.
935         (org-search-view): Improve docstring, and implement a better logic
936         for Boolean and phrase searches.
937         (org-agenda-last-search-view-search-was-boolean): New variable.
938         (org-agenda-manipulate-query): Consider the type of the last
939         search when modifying the search string.
941 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
943         * org-latex.el (org-export-as-latex): Do the first letbind in the
944         right moment.
946         * org-agenda.el (org-get-entries-from-diary): Add the new face to
947         these entries.
949         * org-faces.el (org-agenda-diary): New face.
951         * org.el (org-make-link-regexps): Allow regexp-special characters
952         in link types.
953         (org-open-file): When in-emacs is `system', also force system
954         opening, like when the value was `(16)'.
955         (org-update-statistics-cookies): Handle entries without children.
957         * org-exp.el
958         (org-export-preprocess-before-normalizing-links-hook): New hook.
959         (org-export-preprocess-string): Run the new hook.
961         * org.el (org-offer-links-in-entry): Make RET open all links.
963         * org-html.el (org-export-as-html): Remove any leftover display
964         properties in the html file.
966         * org-wl.el (org-wl-store-link): Work-around for format bug with
967         text properties.
969         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
970         invisibility while adding the graphs.
972 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
974         * org-remember.el (org-select-remember-template): Use C letter to
975         customize remember templates.
977         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
978         Move cursor to next visible line.
980 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
982         * org-beamer.el (org-beamer-sectioning): Leave columns environment
983         by specifying 0 or 1 for column width.
984         (org-beamer-column-widths): Make 0 stand for 0.0.
986 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
988         * org-exp.el (org-export-mark-radio-links): Don't match inside
989         <<target>>.
991         * org.el (org-format-latex-header-extra): New variable.
992         (org-format-latex): Set org-format-latex-header-extra from
993         in-buffer stuff.
994         (org-format-latex): Add org-format-latex-header-extra to the
995         variables on which image creation depends.
996         (org-create-formula-image): Add the header stuff from in-buffer
997         settings.
998         (org-read-date-analyze): Base the analysis for future preference
999         on NOW, not on the default date.
1001         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
1002         for TODO keyword in inline tasks.
1004         * org.el (org-log-note-headings): New headings for removing
1005         deadline or scheduling date.
1006         (org-deadline, org-schedule): Arrange for logging when removing a
1007         date.
1008         (org-add-log-note): Handle deadline and scheduling removal.
1010 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
1012         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
1014 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
1016         * org-agenda.el (org-diary-class): New function.
1018 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
1020         * org-latex.el (org-export-latex-preprocess): Do process the text
1021         of a radio target.
1023 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
1025         * org.el (org-entry-properties): Add TIMESTAMP properties back
1026         in.
1028 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
1030         * org.el (org-all-time-keywords): New variable.
1031         (org-set-regexps-and-options): Set `org-all-time-keywords'.
1032         (org-entry-blocked-p): New function.
1033         (org-special-properties): Add BLOCKED as a new special property.
1034         (org-entry-properties): New optional argument SPECIFIC, only parse
1035         for this property when it is specified.
1036         (org-entry-get): Pass a SPECIFIC argument to
1037         `org-entry-properties'.
1039         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
1041 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
1043         * org-latex.el (org-export-latex-tables): No forced line end if
1044         there is no caption.
1046 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
1048         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
1049         package.
1051         * org-latex.el (org-export-latex-tables): Only add a caption when
1052         macro in in longtable environments if one has been defined.
1054         * org-html.el (org-export-as-html): Only take title from buffer if
1055         not exporting body-only.
1057         * org-latex.el (org-export-latex-preprocess): Better version of
1058         the regular expression for protecting LaTeX macros.
1059         (org-export-latex-preprocess): Start searching for macros to
1060         protect from beginning of buffer.
1062         * org-exp.el (org-export-target-internal-links): Check for
1063         protectedness earlier in the string.
1065         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
1066         case sensitively.
1068         * org-id.el (org-id-store-link): Match TODO keywords case
1069         sensitively.
1071         * org.el (org-heading-components, org-get-outline-path)
1072         (org-display-outline-path): Match TODO keywords case sensitively.
1074         * org-latex.el (org-export-as-latex): Ignore read-only
1075         properties.
1077         * org-exp.el (org-export-preprocess-string): Remove any
1078         `read-only' properties.
1080         * org-agenda.el (org-agenda-inactive-leader): New option.
1081         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
1082         (org-tags-view): Prompt for matcher if MATCH is an empty string.
1083         (org-todo-list): Prompt for matcher if ARG is an empty string.
1085 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
1087         * org.el (org-open-link-functions): New hook.
1088         (org-open-at-point): Run `org-open-link-functions'.
1090 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
1092         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
1093         stamps as well.
1095         * org.el (org-inhibit-startup-visibility-stuff): New variable.
1096         (org-mode): Don't do startup visibility if inhibited.
1097         (org-outline-overlay-data, org-set-outline-overlay-data): New
1098         functions.
1099         (org-save-outline-visibility): New macro.
1100         (org-log-note-headings): Document that one should not change the
1101         `state' note format.
1103 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
1105         * org.el (org-make-link-regexps): Capture link path into a group.
1107 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
1109         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
1110         the options plist.
1112 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
1114         * org.el (org-startup-with-beamer-mode): New option.
1115         (org-property-changed-functions)
1116         (org-property-allowed-value-functions): New hooks.
1117         (org-entry-put, org-property-get-allowed-values): Run the new
1118         hooks.
1119         (org-property-next-allowed-value): Run the new hooks.
1121         * org-exp.el (org-export-select-backend-specific-text): Add the
1122         special beamer tags.
1124         * org-beamer.el
1125         (org-export-preprocess-before-selecting-backend-code-hook): New
1126         file.
1128         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
1129         (org-export-as-latex): Run
1130         `org-export-latex-after-initial-vars-hook'.
1131         (org-export-latex-format-toc-function)
1132         (org-export-latex-make-header): Call
1133         `org-export-latex-format-toc-function'.
1135         * org.el (org-fill-template): Make template searches case sensitive.
1137         * org-exp.el (org-export): Use "1" as a sign to export only the
1138         subtree.
1140         * org-colview-xemacs.el (org-columns-edit-value): Use
1141         org-unrestricted property.
1143         * org-colview.el (org-columns-edit-value):  Use
1144         org-unrestricted property.
1146         * org.el (org-compute-property-at-point): Set org-unrestricted
1147         text property if the list contains ":ETC".
1148         (org-insert-property-drawer):  Use
1149         org-unrestricted property.
1151         * org-exp.el
1152         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
1153         (org-export-preprocess-string): Run
1154         `org-export-preprocess-before-selecting-backend-code-hook'.
1156         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
1158         * org-latex.el (org-export-region-as-latex): Run
1159         `org-export-first-hook'.
1161         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
1163         * org-docbook.el (org-export-as-docbook): Run
1164         `org-export-first-hook'.
1166         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
1168         * org-exp.el (org-export-first-hook): New hook.
1170 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
1172         * org-list.el (org-previous-item): Exit at the beginning of the
1173         buffer.
1175         * org-id.el (org-id-locations-save): Only write the id locations
1176         if any are defined.
1178         * org-archive.el (org-archive-all-done): Make this work in a file
1179         with org-odd-levels-only set.
1181         * org.el (org-get-refile-targets): Catch the case when a buffer
1182         has no file.
1184         * org-latex.el (org-export-as-latex): Cleanup forced line ends
1185         where they are not needed.
1186         (org-export-latex-subcontent): Remove unnecessary newlines.
1188 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
1190         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
1191         (org-export-latex-fontify): Fix regexp bug that takes special
1192         care of protecting the right boundary characters in emphasis
1193         matches.
1194         (org-export-latex-preprocess): Allow multiple arguments to latex
1195         macros.
1197         * org.el (org-make-link-regexps): Use John Gruber's regexp for
1198         urls.
1200         * org-macs.el (org-re): Interpret :punct: in regexps.
1202         * org-exp.el (org-export-replace-src-segments-and-examples): Also
1203         take the final newline after the END line.
1205         * org.el (org-clean-visibility-after-subtree-move): Only fix
1206         entries that are not entirely invisible already.
1207         (org-insert-link): Respect org-link-file-path-type for
1208         "docview:" links in addition to "file:" links.
1210 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
1212         * org-exp.el (org-export-format-source-code-or-example): Avoid
1213         additional extra white lines in LaTeX.
1215         * org-list.el (org-list-parse-list): Leave empty lines after the
1216         list, don't consider them as part of the list.
1218         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
1219         searches.
1221         * org-clock.el (org-clock-select-task): Convert integer to
1222         character for XEmacs.
1224 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
1226         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
1227         compatible.
1229 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
1231         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
1232         variable.
1233         (org-set-tags): Use it.
1235 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
1237         * org-list.el (org-empty-line-terminates-plain-lists): Update
1238         docstring.
1240         * org.el (org-format-latex): Fix link creation for processed latex
1241         snippets.
1243 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
1245         * org-footnote.el (org-footnote-normalize): Protect replacement
1246         text.
1248         * org.el (org-inside-latex-macro-p): Save match data.
1250 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
1252         * org-docview.el: New file.
1254 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
1256         * org-latex.el (org-export-latex-class-options): New variable.
1257         (org-export-latex-set-initial-vars): Use the class options.
1259         * org.el (org-forward-same-level): Stop at headings that start
1260         with an invisible character.
1261         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
1263 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
1265         * org-footnote.el (org-footnote-normalize): Don't take optional
1266         arguments in LaTeX macros as footnotes.
1268         * org.el (org-inside-latex-macro-p): New function.
1270         * org-latex.el (org-latex-to-pdf-process): Change customization
1271         group to `org-export-pdf'.
1273         * org-agenda.el (org-agenda-get-blocks): Look at time string also
1274         on days after the first one.
1276         * org.el (org-insert-heading): Also check for item before assuming
1277         before-first-heading condition.
1279         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1280         (org-export-pdf-logfiles): New option.
1281         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1282         (org-export-pdf-logfiles): Fix customization type.
1284         * org.el (org-insert-link): Improve error message when there is no
1285         default link to select with RET.
1287         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1288         parameter list.
1290 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
1292         * org-latex.el (org-export-latex-parse-global)
1293         (org-export-latex-parse-content)
1294         (org-export-latex-parse-subcontent): Use
1295         `org-re-search-forward-unprotected'.
1296         (org-export-as-pdf): Remove log files produced by XeTeX.
1298         * org-macs.el (org-re-search-forward-unprotected): New function.
1300 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
1302         * org-colview.el (org-agenda-colview-summarize): Sort out some
1303         confusion between properties and titles, which resulted in
1304         agenda summaries not working if a title was set for a column.
1306 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
1308         * org-mobile.el (org-mobile-agendas): New option.
1309         (org-mobile-sumo-agenda-command): Select the right agendas.
1311         * org-latex.el (org-export-latex-format-image): Preserve the
1312         original-indentation property.
1314 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
1316         * org-clock.el (org-clock-insert-selection-line): Catch error when
1317         an old tasks no longer exists.
1319         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1320         (org-export-as-pdf): Don't remove the old PDF file before making
1321         the new one.
1323         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1324         (org-mouse-context-menu): Use `org-looking-back'.
1326         * org.el (org-cycle-level): Use `org-looking-back'.
1328         * org-list.el (org-cycle-item-indentation): Use
1329         `org-looking-back'.
1331         * org-compat.el (org-looking-back): New function.
1333         * org.el (org-insert-heading): Catch before-first-headline when
1334         inserting a headline.
1336 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
1338         * org-latex.el (org-export-latex-format-image): Indent figure
1339         environment, so that it does not interrupt plain list.
1341         * org.el (org-open-at-point): Allow long link descriptions.
1343 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1345         * org-html.el (org-export-as-html): Remove empty lines at the
1346         beginning of the exported text.
1348 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1350         * org-protocol.el (org-protocol-remember): Cater for empty title,
1351         region, link.
1353         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1354         agenda after adding new entry.
1355         (org-agenda-get-represented-tags): New function.
1356         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
1357         to get a list of tags in the agenda.
1359         * org-datetree.el (org-datetree-find-day-create): Fix regular
1360         expression.
1362         * org.el (org-display-outline-path): Use a format specifier for
1363         message, to avoid problems with heading containing `%'.
1365         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1366         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1367         (org-agenda-fix-displayed-tags): New function.
1368         (org-agenda-do-context-action): Just call
1369         `org-display-outline-path', without piping the result through
1370         `message'.
1372         * org-latex.el (org-export-latex-preprocess): Protect secondary
1373         footnote references.
1375         * org-indent.el (org-indent-initialize): Avoid empty strings as
1376         line prefixes.
1378         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1379         hat checking for the mark does not throw an error.
1380         (org-agenda-diary-entry-in-org-file): Catch the case that there is
1381         not `day' text property in the cursor line.
1383         * org.el (org-sort-entries-or-items): Make sure that the final
1384         entry has a newline before doing the sorting.
1386         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1387         property at the beginning of the line.
1389         * org.el (org-make-link-string): Don't allow a description with
1390         only white space.
1392 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1394         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1395         (org-agenda-insert-diary-as-top-level): New function.
1396         (org-agenda-add-entry-to-org-agenda-diary-file): Call
1397         `org-agenda-insert-diary-as-top-level'.
1399         * org.el (org-occur-in-agenda-files): Make sure none of the
1400         buffers is narrowed.
1401         (org-activate-plain-links): Add the face property here.
1402         (org-set-font-lock-defaults): Do not add the face to plain links,
1403         the activator function does this.
1405         * org-habit.el (org-is-habit-p): Add doc string.
1407 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1409         * org-archive.el (org-archive-subtree-default-with-confirmation):
1410         Autoload.
1412         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1413         after match optional (happens at the end of a line...).
1415         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1416         for special blocks.
1418         * org-faces.el (org-copy-face): Set lisp indentation.
1419         (org-quote, org-verse): New faces.
1421         * org-agenda.el (org-agenda-remove-date): Remove variable.
1423 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1425         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1427 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1429         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1430         hash keys to cache and re-use images generated by the
1431         org-exp-blocks interface to ditaa and dot.
1433 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1435         * org-html.el (org-export-as-html): Move the home/up link into
1436         the content div.
1438         * org.el (org-export-latex-packages-alist): Option definition
1439         moved here from org-latex.el.
1441 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1443         * org.el (org-format-latex): Latex images are now saved to files
1444         named by the sha1 hash of the latex source text avoiding
1445         regeneration of identical images.
1447 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1449         * org-html.el (org-export-html-home/up-format): Add an ID to the
1450         up/home div.
1452 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1454         * org-wl.el (org-wl-store-link): Handle the case that
1455         `wl-use-petname' is set.
1457         * org.el (org-set-effort): Improve prompt.
1458         (org-get-outline-path): Widen to get full path.
1459         (org-compact-display-after-subtree-move): Function removed.
1461         * org-latex.el (org-export-as-latex): Add the :drawers property.
1463 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1465         * org.el (org-speed-commands-user): Allow documentation headlines.
1466         (org-speed-commands-default): Organize the value of this constant
1467         with descriptive headlines.
1468         (org-print-speed-command): Output the headlines.
1470 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1472         * org-agenda.el (org-agenda-show-outline-path): New option.
1473         (org-agenda-do-context-action): New function.
1474         (org-agenda-next-line, org-agenda-previous-line): Use
1475         `org-agenda-do-context-action'.
1477         * org.el (org-use-speed-commands): Allow function value.
1478         (org-speed-commands-default): Make headline motion safe, so that
1479         these commands always end on a headline.
1480         (org-speed-commands-default): New key `v' for `org-agenda'.
1481         (org-speed-move-safe): New function.
1482         (org-self-insert-command): Use the function value of
1483         `org-use-speed-commands'.
1484         (org-get-outline-path): Improve docstring.
1485         (org-format-outline-path): New function.
1486         (org-display-outline-path): New function.
1488 2009-11-12  John Wiegley  <jwiegley@gmail.com>
1490         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1491         a string, use that to find the LOGBOOK drawer.
1493 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1495         * org.el (org-clone-subtree-with-time-shift): Make it work at the
1496         end of the buffer.
1498         * org-mobile.el (org-mobile-write-checksums): Specify coding
1499         system.
1500         (org-mobile-timestamp-buffer): Keep local variable/mode line at
1501         beginning of buffer.
1503         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1505         * org.el (org-block-todo-from-children-or-siblings-or-parent)
1506         (org-block-todo-from-checkboxes): Do not block changes to a nil
1507         TODO state.
1509 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
1511         * org-habit.el (org-habit-parse-todo): Indicate which habit is
1512         wrongly set up in the error messages.
1514         * org-colview.el (org-columns-display-here): Don't try to
1515         calculate values if the underlying property is not set.
1516         (org-columns-string-to-number): Convert age strings back into
1517         fractional days.
1518         (org-agenda-colview-summarize): Handle extended summary types
1519         properly.
1521         * org-colview-xemacs.el (org-columns-display-here): Don't try to
1522         calculate values if the underlying property is not set.
1523         (org-columns-string-to-number): Convert age strings back into
1524         fractional days.
1525         (org-agenda-colview-summarize): Handle extended summary types
1526         properly.
1528 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1530         * org-exp.el (org-export-format-drawer-function): New variable.
1531         (org-export-format-drawer): New function.
1532         (org-export-preprocess-string): Pass the backend as a parameter to
1533         `org-export-remove-or-extract-drawers'.
1534         (org-export-remove-or-extract-drawers): New parameter BACKEND.
1536         * org-protocol.el (org-protocol-char-to-string): New defsubst.
1538 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1540         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1541         message when no block is selected.
1543         * org-latex.el (org-export-latex-links): Check for protectedness
1544         in the last matched character, not after the match.
1546         * org-datetree.el (org-datetree-find-date-create): Respect
1547         restriction when KEEP-RESTRICTION is set.
1548         (org-datetree-file-entry-under): New function.
1549         (org-datetree-cleanup): New command.
1551 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
1553         * org-src.el (org-edit-src-code): New optional argument context
1554         allows calling functions to avoid altering the saved window
1555         configuration.
1556         (org-edit-src-exit): Do not restore window configuration when this
1557         function is used in the context of saving the edit buffer.
1559 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1561         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1562         instances to switching to with-current-buffer, because these seem
1563         to cause problems - no idea why.
1565         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1566         Require diary-lib for (diary-date-display-form).
1568         * org.el (org-log-reschedule, org-log-redeadline): New options.
1569         (org-log-note-headings): Add templates for rescheduling and
1570         deadline changing.
1571         (org-startup-options): Add in-buffer settings for logging changing
1572         schedule and deadline time stamps.
1573         (org-deadline, org-schedule): Check for existing date and arrange
1574         for logging if the user requests it.
1575         (org-add-log-note): Prepare proper note buffers for rescheduling
1576         and deadline changes.
1578 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1580         * org-agenda.el (org-agenda-diary-entry-in-org-file)
1581         (org-agenda-add-entry-to-org-agenda-diary-file)
1582         (org-agenda-insert-diary-make-new-entry): New functions.
1583         (org-agenda-diary-entry): Call
1584         `org-agenda-diary-entry-in-org-file' when appropriate.
1586         * org.el (org-calendar-insert-diary-entry-key): New option.
1587         (org-agenda-diary-file): New option.
1588         ("calendar"): Install our insertion function in the calendar.
1590         * org-remember.el (org-datetree): Require.
1591         (org-remember-templates): Add new positioning option.
1592         (org-remember-reference-date): New variable.
1593         (org-remember-apply-template): Store the reference date in a local
1594         variable.
1595         (org-remember-handler): Implement date tree positioning of entries.
1597         * org-datetree.el: New file.
1599         * org-latex.el (org-export-latex-preprocess): Protect targets in
1600         verbatim emphasis.
1602         * org-html.el (org-export-as-html): Protect targets in verbatim
1603         emphasis.
1605         * org-docbook.el (org-export-as-docbook): Protect targets in
1606         verbatim emphasis.
1608 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
1610         * org.el (org-link-display-format): Should be literal replacement.
1612 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1614         * org-clock.el (org-show-notification): Handle messages that
1615         contain a percent character.
1617         * org-remember.el (org-remember-apply-template): Turn of partial
1618         completion.
1620         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1621         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1623         * org.el (org-indent-mode): Define variable already in org.el.
1624         (org-unfontify-region): Remove line-prefix and wrap-prefix
1625         properties only if org-indent-mode is active.
1627 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1629         * org-icalendar.el (org-print-icalendar-entries): Save match data
1630         around call to verify function.
1631         (org-print-icalendar-entries): Add a call to the verification
1632         function.
1634         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1635         save-restrivtion' form.
1637 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
1639         * org-exp.el (org-export-format-source-code-or-example): restrict
1640         scope of preserve-indentp to the let binding.
1641         (org-src): require org-src, since org-src-preserve-indentation is used.
1643 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1645         * org-timer.el (org-timer-set-timer): Set variables
1646         org-timer-timer[123] correctly.
1649         * org-mobile.el (org-mobile-files-alist): Make it work when
1650         `agenda-archives' is included in
1651         `org-agenda-text-search-extra-files'.
1652         (org-mobile-push): Restore agenda after mobile push.
1654 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1656         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1657         way the amount of idle time is presented in the minibuffer.
1659 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1661         * org-icalendar.el (org-print-icalendar-entries): Use
1662         org-icalendar-verify-function only if non-nil.
1664         * org.el (org-refile): Refile to clock only if the prefix arg is
1665         2.
1666         (org-sparse-tree): Fix docstring to be in line with prompt.
1667         (org-update-parent-todo-statistics): Call
1668         `org-after-todo-statistics-hook' on each level.
1670 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1672         * org-remember.el (org-remember-apply-template): Make sure the
1673         buffer exists.
1675 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1677         * org.el (org-tab-ind-state): New variable.
1678         (org-cycle-level): New function.
1679         (org-cycle-level-after-item/entry-creation): New option.
1680         (org-flag-subtree): New function.
1681         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1682         (org-set-effort): Indexed access.
1684         * org-list.el (org-cycle-item-indentation): New function.
1686         * org.el (org-refile): Make prefix argument 2 refile to current
1687         clock.
1688         (org-priority): Interpret action `remove' as call to remove the
1689         priority cookie.
1691         * org-remember.el (org-remember-apply-template): Don't depend on
1692         buffer name being like file name.
1694 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1696         * org-clock.el (org-clock-play-sound): Expand file in
1697         org-clock-sound, to allow ~ for home.
1699         * org-remember.el (org-remember-handler): Set
1700         text-before-node-creation even if this already looks like a node,
1701         because the string might be needed on non-org-mode target files.
1703         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1704         clocktables.
1705         (org-agenda-switch-to): Follow a link at point if
1706         org-return-follows-link' is set and there is nothing else to do in
1707         this line.
1709 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1711         * org-colview-xemacs.el: Add in changes from org-colview.el
1713 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1715         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1716         strings.
1718 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1720         * org-colview.el (org-columns-new): Make this work with the new
1721         operators.
1722         (org-columns-store-format): Make this work with the new operators.
1724 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1726         * org-src.el (org-src-preserve-indentation): Document that this
1727         variable is also used during export.
1729         * org-exp.el (org-export-format-source-code-or-example): Preserve
1730         indentation if a block has a -i option, or if
1731         `org-src-preserve-indentation' is set.
1733         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1734         indentation if a block has a -i option, or if
1735         `org-src-preserve-indentation' is set.
1737 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1739         * org.el (org-mode-map): Define the new archiving keys.
1740         (org-speed-commands-default): Define an archiving key in the speed
1741         command map.
1742         (org-org-menu): Improve the menu structure concerning archiving.
1744         * org-archive.el (org-archive-subtree-default-with-confirmation):
1745         New command.
1747         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1748         (org-agenda-menu): Add the new archiving commands to the menu.
1749         (org-agenda-archive-default)
1750         (org-agenda-archive-default-with-confirmation): New commands.
1751         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1752         call `org-agenda-archive-with'.
1753         (org-agenda-archive-with): New function.
1755         * org-table.el (org-table-convert-region): Inert spaces around "|"
1756         to avoid line beginnings like "|-1" which will be mistaken as
1757         hlines.
1759 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1761         * org.el (org-offer-links-in-entry): Return nil if there are no
1762         links, t if a link has been selected.
1763         (org-open-at-point): Open attachment directory when called in the
1764         headline and there are no links in the entry body.
1765         (org-speed-commands-default): Add "o" for open-at-point as a speed
1766         command.
1768         * org-attach.el (org-attach-reveal): Optional prefix arg
1769         IF-EXISTS, which avoids creating the attachment directory if it
1770         does not yet exist.
1772         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1773         MATCH.
1775 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1777         * org.el ("abbrev"): Work with abbrev tables only after they have
1778         been loaded.
1780         * org-list.el (org-list-send-list): Fix bug related to match
1781         data.
1783         * org-latex.el (org-export-latex-fontify): Apply verbatim
1784         emphasis.
1785         (org-export-latex-make-header): Insert \obeylines if line breaks
1786         should be preserved.
1788         * org-exp.el (org-export-protect-verbatim): Add an
1789         `org-verbatim-emph' property to such text.
1791 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1793         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1794         (org-print-icalendar-entries): Skip entries where the timestamp is
1795         not a deadline and not scheduled, if the user requests that.
1797         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1798         before an opening quote.
1800         * org-archive.el (org-archive-subtree): Keep archive after
1801         archiving something.
1803         * org-id.el (org-id-update-id-locations): Add archive files if
1804         that is required by `org-id-extra-files'.
1806 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1808         * org-src.el (org-src-window-setup): New option.
1809         (org-src-switch-to-buffer): New function.
1810         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1811         restore window configuration.
1812         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1813         Call `org-src-switch-to-buffer'.
1815         * org.el (org-default-properties): Add STYLE property.
1816         (org-files-list): Use the function call to get the files.
1817         (org-additional-option-like-keywords): Add SETUPFILE to completion
1818         list.
1820 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1822         * org-table.el (org-table-convert-region): Correctly interpret
1823         quoting in csv import.
1825         * org.el (org-icompleting-read): Make iswitchb completion work
1826         with lists and tables.
1828         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1829         while pushing the mobile agenda.
1831 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1833         * org-clock.el
1834         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1835         and `when-no-clock-is-running'.
1836         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1837         whether or not to resolve Org buffers on clock in.
1839 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1841         * org-colview.el (org-format-time-period): Function to format
1842         times in fractional days for display.
1843         (org-columns-display-here): Add support for showing a calculated
1844         value in place of the property.
1845         (org-columns): Set `org-columns-time' to the current time so time
1846         difference calculations will work.
1847         (org-columns-time): Use to store the current time when column view
1848         is displayed, so all time differences will use the same reference
1849         point.
1850         (org-columns-compile-map): There is now an extra position in each
1851         entry specifying the function to use to calculate the displayed
1852         value for the non-calculated properties in the column,
1853         (org-columns-compute-all): Set `org-columns-time' to the current
1854         time so time difference calculations will work.
1855         (org-columns-compute): Handle column operators where the values
1856         used are calculated from the underlying property.
1857         (org-columns-number-to-string): Handle the 'age' column format
1858         (org-columns-string-to-number): Correct the function name (was
1859         org-column...). Add support for the 'age' column format.
1860         (org-columns-compile-format): Support the additional parameter in
1861         org-columns-compile-map.
1863 2009-10-26  Bastien Guerry  <bzg@altern.org>
1865         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1866         variable.
1868 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1870         * org-clock.el (org-clock-has-been-used): New variable.
1871         (org-clock-in): Set `org-clock-has-been-used'.
1872         (org-clock-save): Save only if clock data has been used or created
1873         during this session.
1875 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1877         * org-clock.el (org-clock-persist): New value, to store only the
1878         clock history.
1879         (org-clock-save): Don't save the clock if only the history should
1880         be stored.
1881         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1882         when restoring a saved clock.
1884 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1886         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1887         `org-time-clock-use-fractional'.
1889         * org.el (org-time-clocksum-use-fractional)
1890         (org-time-clocksum-fractional-format): Two new customizable
1891         variables which allow the user to select fractional times (1.25
1892         instead of 1:25) in the `org-clock-display' report.
1894 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1896         * org-habit.el (org-habit-build-graph): None of the arguments
1897         should be optional.
1898         (org-habit-parse-todo, org-habit-deadline)
1899         (org-habit-get-priority, org-habit-get-faces)
1900         (org-habit-build-graph): Further simplifications by storing all
1901         past, scheduled and deadline dates as a number of days past the
1902         epoch, and not as times.
1904         * org-habit.el (org-habit-warning-face)
1905         (org-habit-warning-future-face): Removed because these are no
1906         longer used.
1907         (org-habit-deadline, org-habit-deadline-repeat): Now always
1908         returns a date; computed if there was a scheduled repeater but no
1909         deadline repeater.
1910         (org-habit-get-priority): Further improvements to the priority
1911         algorithm.  In particular, items past due should always appear
1912         before items due or not yet due.
1913         (org-habit-get-faces): Greatly simplified the logic, now that
1914         `org-habit-deadline' always returns a valid time.
1916 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1918         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1919         New option.
1921         * org.el (org-tag-alist): Fix customization type.
1923 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1925         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1926         Make sure the regexp search can fail without throwing an error.
1927         (org-mobile-apply): Save the inbox buffer after removing
1928         successfully applied changes.
1930 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1932         * org-habit.el (org-habit-build-graph): Fix to the graph building
1933         when last DONE date is earlier than `org-habit-preceding-days'.
1935         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1936         time is reported after the user comes back (but before they
1937         resolve time).
1939         * org.el (org-get-repeat): Change so that this function can be
1940         called with either `org-scheduled-string' or
1941         `org-deadline-string'.
1943         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1944         to find the scheduled date.
1946         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1947         `org-clock-disable-clock-resolution', since negatives don't sound
1948         good in customization variables.
1949         (org-clock-in): Don't use the auto-resolution logic if the user is
1950         clocking into a different task while an active clock is running.
1951         This then allows the default behavior of clocking out of the open
1952         task and then into the new task.
1954         * org-habit.el (org-habit-parse-todo): Generate an error if a
1955         habit has a scheduled repeat period < 1.
1956         (org-habit-get-faces): Fixes to the way that colors are computed.
1957         (org-habit-build-graph): The graph wasn't displaying beyond any
1958         day that had two completions in it.
1960         * org.el (org-modules): Made this variable more consistent, since
1961         it was referring to Org, OrgMode and Org-mode, whereas the docs
1962         for the variable always refer to Org-mode.
1964 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1966         * org.el (org-repeat-re): The changed org-repeat-re no longer
1967         matched simple +2d type repeaters. Fix it so it does.
1969 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1971         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1972         macro in the VERSE environment.
1974 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1976         * org-habit.el (org-habit-get-priority): A new function that
1977         determines the relative priority of a habit, based on how long
1978         past its scheduled date it is, and how near the deadline is.
1980         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1981         using `org-habit-get-priority'.
1983         * org-habit.el (org-habit-build-graph): Start displaying colors
1984         from the first scheduled date, if that date is earlier than the
1985         first completion date.
1987         * org-habit.el: Changed all "color" variables to faces, and made
1988         them appropriate for light and dark backgrounds.
1990         * org-habit.el (org-habit-duration-to-days): Made this function
1991         more general.
1992         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1994         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1995         habits, since they don't use DEADLINE anymore.
1997         * org.el (org-repeat-re, org-display-custom-time)
1998         (org-timestamp-change): Extended to support the new ".+N/N"
1999         syntax, used for habits.
2001         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
2002         variable reference.
2004         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
2005         modeline when habits are being displayed (if that module is being
2006         loaded).
2008 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
2010         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
2011         idle time using the xscreensaver extension.
2012         (org-user-idle-seconds): Use X11 idle time if available.
2014 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
2016         * org-agenda.el (org-agenda-next-line): New command.
2017         (org-agenda-previous-line): New commands.
2018         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
2019         commands.
2020         (org-agenda-follow-mode): Do the follow immediately if the mode is
2021         turned on here.
2022         (previous-line, next-line): Replace keys with the corresponding
2023         org functions.
2024         (org-agenda-mode-map): Bind backspace and delete to the scrolling
2025         command.
2027         * org.el (org-icompleting-read): Turn off partial completion mode
2028         for the duration of this completion round.
2030         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
2031         macros in author lines and similar stuff.
2033         * org.el (org-file-tags): Fix docstring.
2034         (org-get-buffer-tags): Add the #+FILETAGS tags.
2035         ("ecb"): Maks ecb show context after jumping into an Org file.
2037 2009-10-20  John Wiegley  <johnw@newartisans.com>
2039         * org-agenda.el (org-finalize-agenda): Draw habit consistency
2040         graphs after everything else in the buffer has been setup.
2042 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
2044         * org-mobile.el (org-mobile-apply): Count success and failure.
2046         * org.el (org-indent-line-function): Fix regexp replace problem.
2048 2009-10-19  John Wiegley  <johnw@newartisans.com>
2050         * org-clock.el (org-clock-disable-clock-resolution): New
2051         customization variable that disable automatic clock resolution on
2052         clock in.
2053         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
2054         not automatically resolve anything.  This is does not affect
2055         idle-time resolution, however, if `org-clock-idle-time' is set.
2057 2009-10-19  John Wiegley  <johnw@newartisans.com>
2059         * org-habit.el: New file, which implements code to build a "habit
2060         consistency graph".
2062         * org-agenda.el (org-agenda-get-deadlines)
2063         (org-agenda-get-scheduled): Display consistency graphs when
2064         outputting habits into the agenda.  The graphs are always relative
2065         to the current time.
2066         (org-format-agenda-item): Added new parameter `habitp', which
2067         indicates whether we are formatting a habit or not.  Do not
2068         display "extra" leading information if habitp is true.
2070         * org.el (org-repeat-re): Improved regexp to include .+ and ++
2071         leaders for repeat strings.
2072         (org-get-repeat): Now takes a string parameter `tagline', so the
2073         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
2075 2009-10-19  John Wiegley  <johnw@newartisans.com>
2077         * org-agenda.el (org-agenda-auto-exclude-function): New
2078         customization variable for allowing the user to create an "auto
2079         exclusion" filter for doing context-aware auto tag filtering.
2080         (org-agenda-filter-by-tag): Changes to support the use of
2081         `org-agenda-auto-exclude-function'.  See the new manual addition,.
2083 2009-10-18  John Wiegley  <johnw@newartisans.com>
2085         * org.el (org-files-list): Don't attempt to return a file name for
2086         Org buffers which have no associated file.
2088         * org-agenda.el (org-agenda-do-action): Fixed a typo.
2090 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
2092         * org-mobile.el (org-mobile-locate-entry): Interpret files
2093         relative to org-directory.
2094         (org-mobile-inbox-for-pull): Document the best location for this
2095         file.
2096         (org-mobile-check-setup): Verify `org-directory'.
2097         (org-mobile-create-index-file): Sort the files to be listed in
2098         index.org.
2100 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
2102         * org.el (org-fast-tag-selection): Add a way to display a
2103         description for a tag group. This is done by adding a string to
2104         either the startgroup or endgroup cell.
2106 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
2108         * org-clock.el (org-clock-resolve, org-resolve-clocks)
2109         (org-emacs-idle-seconds): Use `org-float-time' instead of
2110         `time-to-seconds'
2112 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
2114         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
2115         type.
2117         * org.el (org-pre-cycle-hook): Document that `empty' can also be
2118         the value of ARG when doing local cycling.
2120 2009-10-17  John Wiegley  <johnw@newartisans.com>
2122         * org-clock.el (org-clock-resolve-clock): If keeping or
2123         subtracting time results in a clock out at a time in the past, and
2124         if the resolution occurred due to idleness or invoking `M-x
2125         org-resolve-clocks', remember that past moment in time.  On the
2126         next clock in, the user will be prompted to see if they want to
2127         back-date their new clock to then.
2128         (org-clock-resolve): Do not jump the user to the location of a
2129         dangling clock if the resolution is occuring due to an idle
2130         timeout.  In that case there is typically only one dangling clock,
2131         the active one, and there is no value gained by shuffling their
2132         windows around to show it to them.  Being prompted to resolve an
2133         idle clock should be as inobtrusive as possible.
2134         (org-resolve-clocks-if-idle): New function that resolves only the
2135         currently active clock if the user has exceeded the time returned
2136         by `org-user-idle-seconds', based on the value of
2137         `org-clock-idle-time'.
2138         (org-clock-in): If, after resolving clocks,
2139         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
2141         * org-clock.el (org-clock-resolve-clock): New function that
2142         resolves a clock to a specific time, closing or resuming as need
2143         be, and possibly even starting a new clock.
2144         (org-clock-resolve): New function used by `org-resolve-clocks'
2145         that sets up for the call to `org-clock-resolve-clock'.  It
2146         determines the time to resolve to based on a single-character
2147         selection from the user to either keep time, subtract away time or
2148         cancel the clock.
2149         (org-resolve-clocks): New user command which resolves dangling
2150         clocks -- that is, open but not active -- anywhere in the file
2151         list returned by `org-files-list'.
2152         (org-clock-in): Automatically resolve dangling clocks whenever a
2153         user clocks in.
2154         (org-clock-cancel): If the user cancels the solely clock in a
2155         LOGBOOK, remove the empty drawer.
2157         * org-clock.el (org-clock-idle-time): New user customizable option
2158         for detecting whether the user has left a clock idle.  Note: it is
2159         only used in this commit to test whether it's worthwhile to check
2160         OS X to get the Mac user's current idle time.  If the Emacs idle
2161         time is less than the value, the user hasn't been away long enough
2162         to be worth checking (a more expensive test than just getting
2163         Emacs idle time).
2164         (org-user-idle-seconds, org-mac-idle-seconds)
2165         (org-emacs-idle-seconds): This three functions, in conjunction
2166         with the user customization variable `org-clock-idle-time', return
2167         the number of seconds (as a floating point) that the user has been
2168         away from their Emacs (or, if running on OS X, their computer).
2170         * org-clock.el (org-find-open-clocks): New function that returns a
2171         list of all open clocks in the given FILE.  Note that each clock
2172         it returns is a cons cell of the format (MARKER . START-TIME).
2173         This "clock" value is used by several of the new clock module
2174         utility functions.
2175         (org-is-active-clock): New inline function which tests whether the
2176         given clock value is the same as the currently active clock.
2177         Returns non-nil if this is the case.
2178         (org-with-clock-position): New macro that evaluates FORMS with
2179         point in the buffer and at the position of the given clock.
2180         Changes to the current clock are global.
2181         (org-with-clock): New macro that evaluates FORMS with point in the
2182         buffer and at the position of the given clock.  However, changes
2183         to the current clock are local and have no effect on the user's
2184         active clock.  This allows, for example, far any clock to be
2185         cancelled without cancelling the active clock.
2186         (org-clock-clock-in): New inline function that switches the active
2187         clock to the given clock.  If either the argument RESUME, or the
2188         global `org-clock-in-resume', are non-nil, it will resume a clock
2189         that was previously left open.
2190         (org-clock-clock-out): New inline function that clocks out the
2191         given clock value without affecting the currently active clock.
2192         (org-clock-clock-cancel): New inline function that cancels the
2193         given clock value without affecting the currently active clock.
2195         * org-clock.el (org-clock-in): Before creating
2196         `org-clock-mode-line-timer', check to make sure an older timer is
2197         not currently running.
2198         (org-clock-out): Accept new third parameter `at-time', which
2199         permits a clock to be clocked out at a specific time.  Note that
2200         no attempt is made to verify that the clock out time is later than
2201         the clock in time.
2203         * org.el (org-files-list): New utility function for returning a
2204         list of all open org-mode buffers, plus all files used to build
2205         the agenda buffer.  Note that not all the files will necessarily
2206         be visited by a buffer at time of call.
2207         (org-entry-beginning-position): Like the function
2208         `line-beginning-position', this inline function returns the
2209         beginning position of the current heading/entry.
2210         (org-entry-end-position): Like the function `line-end-position',
2211         this inline function returns the end position of the current
2212         heading/entry.
2214 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
2216         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
2217         a header line.
2219 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
2221         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
2223 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
2225         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
2226         entries that have no tags.
2227         (org-agenda-search-view): New customize group.
2228         (org-agenda-search-view-search-words-only): New option.
2229         (org-search-view): Implement substring search.
2231 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
2233         * org.el (org-outline-level): Add doc string.
2235 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
2237         * org-inlinetask.el (org-inlinetask-export): Re-introduce
2238         variable.
2239         (org-inlinetask-export-handler): Only export inline task if the
2240         user option calls for it.
2242 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
2244         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
2245         END if present.
2247 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
2249         * org-latex.el (org-export-latex-tables): Don't format in
2250         protected regions.
2252 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
2254         * org-src.el (org-edit-src-code)
2255         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
2256         macro editing.
2258         * org-agenda.el (org-prefix-category-max-length): New variable.
2259         (org-format-agenda-item): Use `org-prefix-category-max-length'.
2260         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
2262 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
2264         * org-mobile.el (org-mobile-create-index-file): Improve the
2265         listing of tags and todo keywords.
2267         * org-latex.el (org-export-latex-format-image): New function.
2268         (org-export-latex-links): Use `org-export-latex-format-image'.
2270 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
2272         * org-inlinetask.el (org-inlinetask-get-current-indentation)
2273         (org-inlinetask-remove-terminator): New functions.
2274         (org-inlinetask-export-handler): Terminate the description list.
2276         * org-exp.el (org-export-select-backend-specific-text): Remove the
2277         region markers.
2279         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2280         tasks without content.
2282         * org-clock.el: Make sure the clock-in target position does not
2283         move to a different node by widening the buffer.
2285         * org-html.el (org-export-html-format-image): Wrap image into
2286         figure div only when there is a caption.
2288         * org-archive.el (org-archive-mark-done): Change default value to
2289         nil.
2291 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
2293         * org.el (org-context): Call `bobp', not `eobp'.
2295         * org-clock.el (org-clock-cancel): Remove quotes from marker
2296         variables.
2298         * org.el (org-read-date-prefer-future): New allowed value `time'.
2299         (org-read-date-analyze): Shift day to tomorrow depending on time
2300         entered and value of `org-read-date-prefer-future'.
2302 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
2304         * org.el (org-set-tags-to): New command.
2306         * org-mobile.el (org-mobile-action-alist): Add more options and
2307         update the docstring.
2308         (org-mobile-apply-flags): Parse for and use the data.
2310         * org-latex.el (org-export-latex-set-initial-vars): Also check in
2311         the plist.
2313         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2314         keyword.
2316         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2318 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
2320         * org-inlinetask.el (org-inlinetask-export): Option removed.
2321         (org-inlinetask-export-handler): Better export.
2323         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2324         (org-export-as-xoxo): Run the new hook.
2326         * org-html.el (org-export-html-final-hook): New hook.
2327         (org-export-as-html): Run the new hook.
2329         * org-docbook.el (org-export-docbook-final-hook): New hook.
2330         (org-export-as-docbook): Run the new hook.
2332         * org-ascii.el (org-export-ascii-final-hook): New hook.
2333         (org-export-as-ascii): Run the new hook.
2335         * org-mobile.el (org-mobile-create-sumo-agenda): Call
2336         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
2338         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2339         space character as the character before the ^/_.
2340         (org-export-latex-final-hook): New hook.
2341         (org-export-as-latex): Run `org-export-latex-final-hook'.
2343 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
2345         * org-macs.el (org-if-unprotected-at): Fix docstring.
2347         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2348         text in the prefix (if category is a link).
2350         * org-latex.el (org-export-latex-preprocess): Deal properly with
2351         empty lines in verse environments.
2353         * org.el (org-format-latex-header): Inline fullpage.sty.
2355         * org-footnote.el (org-footnote-create-definition): Reveal context
2356         to add a new footnote definition.
2358         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
2359         the index file.
2360         (org-mobile-files): New option.
2361         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
2362         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
2363         functions.
2364         (org-mobile-push): Start by creating the files lists.
2365         (org-mobile-copy-agenda-files): Move killing the buffer to after
2366         the save-excursion has exited.
2367         (org-mobile-write-checksums): Write checksums also for files in
2368         sub-directories.
2370         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2371         org-table-recalculate when cursor is in TBLFM line.
2373         * org-list.el (org-renumber-ordered-list): Fix cursor position
2374         when bullet length has changed.
2376 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
2378         * org.el (org-format-latex): Mention `org-format-latex-options' in
2379         the docstring.
2381 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2383         * org.el (org-agenda-get): New function.
2385         * org-agenda.el (org-agenda-post-command-hook): No longer move
2386         point away from end of line.
2387         (org-agenda-add-entry-text, org-agenda-collect-markers)
2388         (org-finalize-agenda, org-agenda-mark-clocking-task)
2389         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2390         (org-agenda-entry-text-show, org-agenda-highlight-todo)
2391         (org-agenda-compare-effort, org-agenda-filter-apply)
2392         (org-agenda-later, org-agenda-change-time-span)
2393         (org-agenda-post-command-hook, org-agenda-show-priority)
2394         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2395         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2396         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2397         (org-agenda-open-link, org-agenda-copy-local-variable)
2398         (org-agenda-switch-to, org-agenda-check-no-diary)
2399         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2400         (org-agenda-add-note, org-agenda-change-all-lines)
2401         (org-agenda-priority, org-agenda-set-tags)
2402         (org-agenda-set-property, org-agenda-set-effort)
2403         (org-agenda-toggle-archive-tag, org-agenda-date-later)
2404         (org-agenda-show-new-time, org-agenda-date-prompt)
2405         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2406         (org-agenda-clock-in, org-agenda-bulk-mark)
2407         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2408         `org-get-at-bol'.
2410         * org-colview.el (org-columns-display-here)
2411         (org-columns-edit-allowed, org-agenda-columns): Use
2412         `org-get-at-bol'.
2414 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2416         * org.el (org-special-ctrl-a/e): Improve documentation and
2417         customize type.
2418         (org-end-of-line): Don't jump to after the ellipsis.
2419         (org-mode-map): Bind <home> and <end> as well.
2421 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
2423         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2424         space after #+ as comments.
2425         (org-open-at-point): Run `org-follow-link-hook' always.
2427         * org-latex.el (org-export-latex-emph-format): Use better commands
2428         to insert special characters in verbatim snippets.
2430 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
2432         * org-faces.el (org-copy-face): New function.  Use it to create
2433         various faces formerly created by using `copy-face'.
2435         * org-agenda.el (org-prepare-agenda): Don't officially mark this
2436         window dedicated.
2437         (org-agenda-quit): Kill the frame containing the agenda window if
2438         that frame was created for the agenda.
2440 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
2442         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2443         stamp in the agenda.
2445 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
2447         * org-mobile.el (org-mobile-create-index-file): Add the list of
2448         TODO keywords, and the list of drawers to the index file.
2450         * org-agenda.el (org-prepare-agenda): Reset
2451         `org-drawers-for-agenda'.
2452         (org-prepare-agenda): Uniquify list of drawers.
2454         * org.el (org-complex-heading-regexp-format): New variable.
2455         (org-set-regexps-and-options): Define
2456         `org-complex-heading-regexp-format'.
2457         (org-drawers-for-agenda): New variable.
2458         (org-map-entries): Bind `org-drawers-for-agenda'.
2459         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2461         * org-remember.el (org-go-to-remember-target)
2462         (org-remember-handler): Use `org-complex-heading-regexp-format'.
2464 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
2466         * org-agenda.el (org-agenda-highlight-todo): Fix text property
2467         problem.
2469         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
2470         the capture file, and make it non-configurable.
2472         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2473         always with `invisible-ok'.
2474         (org-store-link): No error when there is nothing to link to in the
2475         agenda.
2477         * org-list.el (org-update-checkbox-count): Insert changed cookie
2478         before the old, to avoid problems with invisibility at the end of
2479         the line.
2480         (org-update-checkbox-count): Insert changed cookie before the old,
2481         to avoid problems with invisibility at the end of the line.
2483         * org.el (org-sort-entries-or-items): Include the final newline.
2484         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2485         lines for fontification.
2486         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2487         (org-prepare-dblock): Store the current indentation of the BEGIN
2488         line.
2489         (org-update-dblock): Apply the indentation of the begin line to
2490         the rest of the block.
2491         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2492         (org-startup-folded): New allowed value `showeverything'.
2493         (org-startup-options): Add STARTUP keyword `showeverything'.
2494         (org-set-startup-visibility): Respect value `showeverything' in
2495         org-startup-folded.
2497 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
2499         * org.el (org-closest-date): Fix issue with past preference.
2501         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
2503         * org-archive.el (org-archive-set-tag)
2504         (org-archive-subtree-default): New commands.
2506         * org-mobile.el (org-mobile-create-index-file): Fix link to
2507         capture file.
2508         (org-mobile-copy-agenda-files): Create the capture file if it does
2509         not exist.
2511         * org-clock.el (org-clock-clocktable-default-properties): New
2512         option.
2513         (org-clock-report): Use
2514         `org-clock-clocktable-default-properties'.
2516 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
2518         * org.el (org-iswitchb-completing-read): Fix typo.
2520         * org-crypt.el: New file.
2522         * org.el: Add an entry for org-crypt.
2524 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2526         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2527         consistency.
2528         (org-batch-store-agenda-views): New function.
2529         (org-mobile-force-id-on-agenda-items): Mention variable.
2530         (org-agenda-title-append): Define variable.
2531         (org-write-agenda): New export to Org files.
2532         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2533         (org-agenda): Allow to keep the restricted file list if a special
2534         variable is bound to t.
2535         (org-agenda): Define a special agenda view for working on flagged
2536         entries.
2537         (org-agenda-get-restriction-and-command): List the new agenda
2538         view.
2539         (org-agenda-show-the-flagging-note): New command.
2540         (org-agenda-mode-map): New key `?' for looking at the flagging
2541         note.
2543         * org.el (org-autoload): Autoload org-mobile.el.
2544         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2546         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2548 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2550         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2551         statements.
2552         (org-table-get-remote-range): Match indented #+TBLNAME
2553         statements.
2555         * org.el (org-convert-to-odd-levels)
2556         (org-convert-to-oddeven-levels): Work also correctly if the file
2557         is in outline-mode.
2559 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
2561         * org.el (org-store-link): When in agenda buffer, link to
2562         referenced entry.
2563         (org-add-planning-info): Remove spaces at eol.
2565         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2566         property.
2568 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
2570         * org-latex.el (org-export-latex-first-lines): Fix problem with
2571         LaTeX export of first line and selected subtree.
2573         * org.el (org-shifttab): Interpret arg differently when using only
2574         odd levels.
2576 2009-09-09  Bastien Guerry  <bzg@altern.org>
2578         * org.el (org-check-agenda-file): Use a more explicit message
2580 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
2582         * org-exp.el (org-export-remove-special-table-lines): Don't remove
2583         normal lines.
2585 2009-09-08  Bastien Guerry  <bzg@altern.org>
2587         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2588         prompt in the temporary window.
2590         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2591         prefix for marked entries in the agenda view.
2593 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
2595         * org.el (outline-end-of-subtree): Bugfix: advise this function in
2596         a way that prevents any trailing character from being displayed.
2598 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
2600         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2601         menu.
2603         * org-exp.el (org-export-remove-special-table-lines): Remove bad
2604         slow regexp match.
2606 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
2608         * org-latex.el (org-export-latex-preprocess): Do not protect in
2609         the LaTeX header.
2611         * org-src.el (org-edit-src-save): Save window setup while saving.
2612         (org-edit-src-code): Use new buffer name construction scheme.
2614 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
2616         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2617         variable.
2618         (org-agenda-entry-text-cleanup-hook): New hook.
2619         (org-agenda-get-some-entry-text): Remove matches of
2620         `org-agenda-entry-text-exclude-regexps' and run the hook
2621         `org-agenda-entry-text-cleanup-hook'.
2623         * org.el (org-offer-links-in-entry): New argument ZERO to
2624         implement a link with index zero.
2625         (org-cycle-show-empty-lines): Not keep empty line under header
2626         hidden.
2627         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2628         to nil for special completion.
2629         (org-store-link): Don't error before the first heading.
2631         * org-agenda.el (org-agenda-open-link): Pass the prefix to
2632         `org-offer-links-in-entry'.
2634 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
2636         * org-agenda.el (org-agenda-quit): Provide the window argument for
2637         `window-dedicated-p', Emacs 22 needs it.
2638         (org-format-agenda-item): If the category is a link, arrange for
2639         invisible text to replaced with spaces.
2640         (org-compile-prefix-format): Add the extra space.
2641         (org-prefix-category-length): New variable.
2643         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2644         references from TOC lines.
2646         * org.el (org-selected-window): New variable.
2648         * org-table.el (org-table-edit-formulas): Remember the selected
2649         window.
2650         (org-table-fedit-finish, org-table-fedit-abort): Select the window
2651         that was originally selected.
2653         * org-exp.el (org-export-preprocess-apply-macros): Scan the
2654         expansion of a macro for more macro definitions.
2656         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2657         invisibility overlay starts on the newline.
2659 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2661         * org-protocol.el (org-protocol-store-link)
2662         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2664         * org-compat.el (org-float-time): New function.
2666         * org.el (org-clock-update-time-maybe)
2667         (org-sort-entries-or-items, org-do-sort)
2668         (org-evaluate-time-range, org-time-string-to-seconds)
2669         (org-closed-in-range): Use `org-float-time'.
2671         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2672         (org-timer-seconds):  Use `org-float-time'.
2674         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2675         (org-clock-sum, org-dblock-write:clocktable)
2676         (org-clocktable-steps):  Use `org-float-time'.
2678         * org-agenda.el (org-agenda-last-marker-time)
2679         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2681         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2682         function.
2684         * org-exp.el (org-get-file-contents): Only protect lines that
2685         really need it.
2687         * org-html.el (require): Require cl for compilation.
2689         * org.el:  Avoid using `default-major-mode'.
2691         * org-plot.el (require): Require CL only at compile time.
2693         * org-exp.el (require): Require CL only at compile time.
2695         * org-agenda.el (org-agenda-quit): When the agenda window is
2696         dedicated, remove other windows before exiting, so that the frame
2697         really will be killed.
2699         * org-exp.el (org-export-handle-include-files): Reset START and
2700         END for each loop cycle.
2702 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2704         * org.el (org-eval-in-calendar): Use
2705         `org-select-frame-set-input-focus'.
2707         * org-compat.el (org-select-frame-set-input-focus): New function.
2709         * org.el (org-update-statistics-cookies): New function.
2710         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2712 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2714         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2715         after the local variables are set.
2717         * org-latex.el (org-export-latex-protect-amp): New function.
2718         (org-export-latex-links): Protect link ampersands in tables.
2720         * org-exp.el (org-export-select-backend-specific-text): Match in
2721         two steps, to avoid regexp problems.
2723         * org.el (org-offer-links-in-entry): Improve working with many and
2724         duplicate links.
2726         * org-agenda.el (org-agenda-show-1): Make more consistent with
2727         normal cycling.
2728         (org-agenda-cycle-show): Make more consistent with normal cycling.
2730         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2731         website.
2733 2009-08-30  Bastien Guerry  <bzg@altern.org>
2735         * org-latex.el (org-export-latex-first-lines): Bugfix.
2737 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2739         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2740         about new effort.
2742         * org.el (org-set-effort): New function.
2743         (org-mode-map): New key for effort setting command.
2745         * org-agenda.el (org-agenda): Keep window setup when calling
2746         agenda from within agenda window.
2747         (org-agenda-mode-map): New keys for effort setting commands.
2748         (org-agenda-menu): Add effort setting commands to menu.
2749         (org-agenda-set-property, org-agenda-set-effort): New functions.
2751         * org-latex.el (org-export-latex-tables): Fix
2752         `org-table-last-alignment' and `org-table-last-column-widths' if
2753         the first column has been removed.
2755 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2757         * org.el (org-remove-timestamp-with-keyword): Only remove in
2758         entry, not in subtree.
2760         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2761         emacs lisp.
2763         * org.el (org-open-at-point): When on headline, offer all strings
2764         in entry.
2766         * org-remember.el (org-remember-templates): Documentation fix.
2768         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2769         `org-get-last-sibling' instead of the outline versions of these
2770         functions.
2771         (org-get-last-sibling): New function.
2772         (org-refile): Use `org-get-next-sibling' instead of the outline
2773         version of this function.
2774         (org-clean-visibility-after-subtree-move): Use
2775         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2776         outline versions of these functions.
2778 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2780         * org-agenda.el (org-prepare-agenda): When creating a new frame
2781         for the agenda, make the window dedicated.
2783         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2785         * org-table.el (org-table-align): Change the order of reinsertion
2786         and deletion, to avoid problems with overlays following the table.
2788         * org.el (org-parse-time-string): Better error message.
2789         (org-show-subtree): Use org-end-of-subtree.
2791         * org-macs.el (org-goto-line): New defsubst.
2793         * org.el (org-open-file, org-change-tag-in-region)
2794         (org-fast-tag-show-exit): Don't use `goto-line'.
2796         * org-table.el (org-table-align, org-table-insert-column)
2797         (org-table-delete-column, org-table-move-column)
2798         (org-table-sort-lines, org-table-copy-region)
2799         (org-table-paste-rectangle, org-table-wrap-region)
2800         (org-table-get-specials, org-table-rotate-recalc-marks)
2801         (org-table-get-range, org-table-recalculate)
2802         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2803         (org-table-show-reference, org-table-highlight-rectangle): Don't
2804         use `goto-line'.
2806         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2807         (org-edit-src-exit): Don't use `goto-line'.
2809         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2811         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2812         Don't use `goto-line'.
2814         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2816         * org-colview.el (org-columns, org-columns-redo)
2817         (org-agenda-columns): Don't use `goto-line'.
2819         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2820         use `goto-line'.
2822         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2823         (org-agenda-add-entry-text-maxlines): Improve docstring.
2824         (org-agenda-start-with-entry-text-mode): New option.
2825         (org-agenda-entry-text-maxlines): New option.
2826         (org-agenda-entry-text-mode): New variable.
2827         (org-agenda-mode): Set initial value of
2828         `org-agenda-entry-text-mode'.
2829         (org-agenda-mode-map): Add the `E' key.
2830         (org-agenda-menu): Add entry text mode to the menu.
2831         (org-agenda-get-some-entry-text): Fix line count bug.
2832         (org-finalize-agenda): Apply entry text mode if appropriate.
2833         (org-agenda-entry-text-show-here): New function.
2834         (org-agenda-entry-text-show): New function.
2835         (org-agenda-entry-text-hide): New function.
2836         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2837         key menu.
2838         (org-agenda-entry-text-mode): New command.
2839         (org-agenda-set-mode-name): Add entry text mode to the mode line
2840         string.
2841         (org-agenda-undo, org-agenda-get-restriction-and-command)
2842         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2843         `goto-line'.
2845 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2847         * org-clock.el (org-notify): Bugfix.
2849 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2851         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2852         check for after-string.
2854         * org-gnus.el (org-gnus-store-link): Simplify.
2856         * org.el (org-latex-regexps): Don't add extra empty lines for
2857         display formulas.
2859 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2861         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2862         (org-agenda-add-entry-text): Use
2863         `org-agenda-get-some-entry-text'.
2865         * org.el (org-cycle-separator-lines): Update docstring.
2866         (org-cycle-show-empty-lines): Handle negative values for
2867         `org-cycle-show-empty-lines'.
2869         * org-exp.el (org-export-protect-sub-super): New function.
2870         (org-export-normalize-links): Protect the url of plain links from
2871         supscript and superscript processing.
2873         * org-remember.el (org-remember-escaped-%): New function.
2874         (org-remember-apply-template): Use `org-remember-escaped-%' to
2875         detect escaped % signs.
2877 2009-08-23  Bastien Guerry  <bzg@altern.org>
2879         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2880         sound when showing the notification.
2882         * org-clock.el (org-notify): New function.
2883         (org-clock-notify-once-if-expired): Use `org-notify'.
2885         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2886         and `gnus-article-mode' separately.
2887         (gnus-summary-article-header): Fix the declare-function.
2889 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2891         * org-exp.el (org-export-format-source-code-or-example): Translate
2892         language.
2894         * org-src.el (org-src-lang-modes): New variable
2895         (org-edit-src-code): Translate language.
2897         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2898         the new structure of the `org-export-latex-listings-langs'
2899         variable.
2901         * org-latex.el (org-export-latex-listings-langs): Change structure
2902         of the variable from plist to alist.
2904 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2906         * org.el (org-in-commented-line): New function.
2908 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2910         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2912 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2914         * org.el (org-flag-drawer): More useful error.
2916 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2918         * org-remember.el (org-remember-apply-template): Use
2919         org-icompleting-read.
2921         * org-publish.el (org-publish): Use org-icompleting-read.
2923         * org-colview.el (org-columns-edit-value, org-columns-new)
2924         (org-insert-columns-dblock): Use org-icompleting-read.
2926         * org-colview-xemacs.el (org-columns-edit-value)
2927         (org-columns-new, org-insert-columns-dblock): Use
2928         org-icompleting-read.
2930         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2931         org-icompleting-read.
2933 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2935         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2936         (org-version): Return the version text.
2937         (org-org-menu): Add a menu entry for the new bug reporter.
2938         (org-submit-bug-report): New command.
2940         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2941         docstring.
2943         * org.el (org-emphasis-regexp-components): Add "`" to set of
2944         pre-emphasis characters.
2946         * org-latex.el (org-export-latex-classes): Always include the soul
2947         package.
2948         (org-export-latex-emphasis-alist): Use \st for strikethough.
2950         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2951         `indent-code-rigidly' to indent.
2953         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2954         properties only if MATCH really is a string.
2956 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2958         * org-latex.el (org-export-latex-packages-alist): Fix
2959         customization type.
2961         * org.el (org-create-formula-image): Also use
2962         `org-export-latex-packages-alist'.
2964         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2965         (org-export-as-html): Format footnotes correctly.
2967 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2969         * org.el (org-fast-tag-selection): Avoid text properties on tags
2970         in the alist.
2972         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2973         text properties on the match element.
2975 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2977         * org.el (org-set-regexps-and-options): Make sure the list of done
2978         keywords is not invalid.
2980         * org-exp.el (org-export-interpolate-newlines): New function.
2982 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2984         * org.el (org-format-latex): Avoid nested overlays.
2986         * org-latex.el (org-export-latex-listings-langs): Add a few more
2987         languages.
2989         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2990         ignore newlines and space before the first macro argument.
2992         * org-latex.el (org-export-latex-tables): Remove save-excursion
2993         around `org-table-align'.
2995 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2997         * org.el (org-export-html-special-string-regexps): Definition
2998         moved into org.el
3000         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
3001         in macro calls.
3003 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
3005         * org-latex.el (org-export-latex-listings)
3006         (org-export-latex-listings-langs): New options.
3008         * org-exp.el (org-export-format-source-code-or-example): Use
3009         listing package if requested by the user.
3011 2009-08-08  Bastien Guerry  <bzg@altern.org>
3013         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
3014         command before actually switching to a buffer.
3016 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
3018         * org-exp.el (org-get-file-contents): Only quote org lines when
3019         the markup is src or example.
3021         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
3022         New option
3023         (org-agenda-get-day-entries): Remember deadline results and pass
3024         them on into the function getting the scheduling information.
3025         (org-agenda-get-scheduled): Accept deadline results as parameters
3026         and maybe skip some entries.
3027         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
3029         * org.el (org-insert-heading): When respecting content, do not
3030         convert current line to headline.
3032         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
3033         cheeeeeck the hd marker
3034         (org-clock-in): Also set the hd marker.
3035         (org-clock-out): Also set the hd marker.
3036         (org-clock-cancel): Reset markers.
3038         * org.el (org-clock-hd-marker): New marker.
3040         * org-faces.el (org-agenda-clocking): New face.
3042         * org-agenda.el (org-agenda-mark-clocking-task): New function.
3043         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
3045         * org.el (org-modules): Add org-track.el.
3047         * org-agenda.el (org-agenda-bulk-marked-p): New function.
3048         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
3049         `org-agenda-bulk-marked-p'.
3050         (org-agenda-bulk-toggle): New command.
3052 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3054         * org.el (org-move-subtree-down): Hide subtree if it was folded,
3055         not just the body.
3057         * org-remember.el (org-remember-finalize): Avoid buffer-modified
3058         messages.
3060 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
3062         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
3063         before gnuplot can read it.
3065 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
3067         * org-latex.el (org-export-latex-first-lines): Fix bug with
3068         finding the end of the first lines.
3070         * org.el (org-create-formula-image): Remove the -E option for
3071         dvipng.
3073         * org-exp.el (org-default-export-plist): Respect #+BIND.
3074         (org-export-confirm-letbind): New function.
3076         * org.el (org-paste-subtree): Test the kill ring entry if it is
3077         going to be used.
3078         (org-copy-subtree): Use `org-forward-same-level'.
3079         (org-forward-same-level): Respect the `invisibe-ok' arg for
3080         back-to-heading.
3082 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
3084         * org.el (org-table-map-tables): Make sure cursor is back at table
3085         beginning after funcall.
3087         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
3088         handled before children, and do not error if an entry is not
3089         found, probably because it hase been remove when the parent was
3090         archived or refiled.
3092         * org.el (org-ido-completing-read): Accept straight lists for
3093         completion as well as alists.
3095         * org-html.el (org-export-as-html): Fix parenthesis error in
3096         footnore code.
3098         * org-timer.el (org-timer-cancel-timers): Renamed from
3099         `org-timer-cancel-timers'.
3101         * org.el (org-cycle-internal-local): Fix problem with finding next
3102         invisible line.
3104 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
3106         * org-list.el (org-list-send-list): Call
3107         `org-list-goto-true-beginning' instead of
3108         `org-list-find-true-beginning', which does not exist.
3110         * org-timer.el (org-timer-reset-timers): Use `mapc'.
3111         (org-timer-set-timer): Do not assign to heading.
3113         * org-id.el (org-id-open): Quote function name.
3115         * org-macs.el (org-unmodified): Turn off recording undo
3116         information while running inside the macro.
3118         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
3119         variable.
3120         (org-indent-mode): Remember and restore value of
3121         org-hide-leading-stars before `org-indent-mode'.
3123         * org-table.el (org-table-export): Also work in file-less
3124         buffers.
3126         * org.el (org-startup-indented): New option.
3127         (org-startup-options): Add new options indent and noindent.
3128         (org-unfontify-region): Remove line-prefix and wrap-prefix
3129         properties.
3130         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
3131         hooks.
3132         (org-promote, org-demote): Run the new hooks.
3134         * org-table.el (org-table-align): Replace leading \n as well.
3136         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
3137         and `line-wrap' text properties.
3139         * org-compat.el (org-kill-new): New function.
3141         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
3142         `line-wrap' text properties.
3144         * org-indent.el: New file.
3146 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
3148         * org.el (org-provide-todo-statistics): Tweak docstring.
3150         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
3152 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
3154         * org-exp.el (org-export-as-org): Insert the "-source" string
3155         before the extension.
3157         * org.el (org-read-date): Make sure the calendar is in the current
3158         frame.
3159         (org-set-emph-re): Remove the ? from the post-match.
3160         (org-emphasis-regexp-components): Add backslash to the
3161         postmatch class.
3162         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
3163         optional so that also lines at the end of the buffers will still
3164         be matched as headlines.
3166         * org-table.el (org-table-error-on-row-ref-crossing-hline):
3167         Variable made obsolete.
3168         (org-table-relative-ref-may-cross-hline): New option.
3169         (org-table-find-row-type): Honow the new option
3170         `org-table-relative-ref-may-cross-hline'.
3172 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
3174         * org-table.el (org-table-cut-region, org-table-copy-region): Work
3175         on single field if no active region.
3177 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
3179         * org-latex.el (org-export-latex-make-header): Only insert title
3180         if one is defined.
3182         * org.el (org-make-options-regexp): Allow empty values.
3184         * org-html.el (org-export-as-html): Move hrule detection to after
3185         plain list handling.
3187 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
3189         * org-html.el (org-format-org-table-html): Fix colgroup tags.
3191 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
3193         * org.el (org-cycle-internal-local): Improved version of finding
3194         next visible line.
3195         (org-cycle-hide-drawers): Only hide drawers if this is really
3196         necessary.
3197         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
3198         org-version of this function in Org-mode.  We use advice to
3199         implement this change, so that future changes to this function in
3200         outline.el wil be handled properly.
3201         (org-forward-same-level, org-backward-same-level): New commands.
3203 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
3205         * org.el (org-remove-empty-overlays-at)
3206         (org-clean-visibility-after-subtree-move): New functons.
3207         (org-move-subtree-down): Simplify cleanup of display.
3209 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
3211         * org-mac-message.el (org-mac-message-get-links): Improve
3212         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
3213         "s".  Fix the return value.
3214         (org-mac-message-insert-flagged): Simplify.
3216         * org.el (org-refile-get-location): Tamper with refile history o
3217         that history contains compete matches instead of the entered
3218         string.
3220 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
3222         * org.el (org-store-link): Never store a link to an inline task.
3224         * org-inlinetask.el (org-inlinetask-insert-task): New command.
3226         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
3227         inline tasks when positioning footnotes.
3229         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
3230         function.
3232         * org.el (org-refile): Remove the END line when archiving an
3233         inline task that does have an END line.
3235         * org-archive.el (org-archive-subtree): Remove the END line when
3236         archiving an inline task that does have an END line.
3238         * org-macs.el (org-with-limited-levels): New macro.
3239         (org-get-limited-outline-regexp): New function.
3241         * org-exp.el (org-export-format-source-code-or-example): Fix bug
3242         that did not enumerate first line.
3243         (org-export-mark-radio-links): Skip matches in links.
3245 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
3247         * org.el (org-activate-plain-links): Make single-match.
3248         (org-adapt-indentation): Fix docstring.
3250         * org-macs.el (org-unmodified): Turn of modification hooks while
3251         running this macro.
3253 2009-08-02  Bastien Guerry  <bzg@altern.org>
3255         * org.el (org-adapt-indentation): Slightly improve the docstring.
3256         (org-occur): Sends an error when the user inputs an empty string.
3257         (org-priority): Bugfix: the tag alignement should happen within
3258         save-excursion.
3260 2009-07-31  Bastien Guerry  <bzg@altern.org>
3262         * org.el (org-make-link-regexps): Don't exclude parentheses from
3263         `org-plain-link-re'
3264         (org-cycle-internal-local): When locally cycling, switch directly
3265         from CHILDREN to FOLDED if there is no subtree
3266         (org-cycle): Update the docstring to document the new behavior of
3267         `org-cycle-internal-local'.
3269 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
3271         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3272         an abbreviated format for days.
3274 2009-07-27  Bastien Guerry  <bzg@altern.org>
3276         * org-protocol.el (org-protocol-default-template-key): New
3277         option.
3279         * org.el (org-refile): Bugfix: save-excursion before reading the
3280         refile target, otherwise cursor moves might confuse `org-refile'.
3282         * org-html.el (org-export-as-html): Bugfix: correctly convert the
3283         footnote reference before the footnote itself.
3285         * org.el (org-toggle-heading): Bugfix: correctly convert list
3286         items before the first headline.
3288         * org-html.el (org-export-html-footnote-format): New option for
3289         formatting the footnote reference.
3290         (org-export-as-html): Use the new option.
3292         * org.el (org-provide-todo-statistics): Allow a list of TODO
3293         keywords to compute statistics against headlines containing a
3294         keyword from this list.
3295         (org-update-parent-todo-statistics): Possibly use the new allowed
3296         value of `org-provide-todo-statistics'.
3298 2009-07-26  Bastien Guerry  <bzg@altern.org>
3300         * org-timer.el: Add autoload cookie.
3302         * org.el (org-occur-link-in-agenda-files): New function.
3304         * org-timer.el (org-timer-last-timer): New variable.
3306         * org-agenda.el (org-agenda-mode-map): New key for
3307         org-timer-set-timer called from the agenda.
3309         * org.el (org-mode-map): New key for org-timer-set-timer.
3311         * org-timer.el (org-timer-reset-timers)
3312         (org-timer-show-remaining-time, org-timer-set-timer): New
3313         functions.
3315         * org-clock.el (org-show-notification): Update the docstring.
3317         * org.el (org-provide-todo-statistics): Allow new value
3318         'all-headlines for this option, which includes entries with no
3319         TODO keywords in the todo statistics.
3320         (org-update-parent-todo-statistics): Possibly use the new
3321         'all-headline value from `org-provide-todo-statistics'.
3323 2009-07-25  Bastien Guerry  <bzg@altern.org>
3325         * org-clock.el (org-dblock-write:clocktable): Add a new option
3326         :timestamp which allows display of timestamps in clock reports.
3328         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3329         list to a subtree, preserving the structure of the list.
3330         (org-set-emph-re): Make the last element optional in the regexp.
3331         This regexp now matches an emphasized string at the end of a line.
3333         * org-list.el (org-list-goto-true-beginning)
3334         (org-list-make-subtree, org-list-make-subtrees): New functions.
3336         * org.el (org-eval-in-calendar): Select the right frame.
3337         (org-save-frame-excursion): Remove this macro.
3339 2009-07-24  Bastien Guerry  <bzg@altern.org>
3341         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3342         trying to find the beginning of a list.
3344         * org-exp.el (org-get-file-contents): Use a new argument: markup.
3345         When present, tell org-get-file-contents not to protect org-like
3346         lines.
3348         * org-id.el (org-id-uuid-program): New option to set the name of
3349         the uuidgen program.
3350         (org-id-method): Use `org-id-uuid-program'.
3351         (org-id-new): Use `org-id-uuid-program'.
3353 2009-07-23  Bastien Guerry  <bzg@altern.org>
3355         * org-exp.el (org-export-number-lines): Allow whitespace in code
3356         references.  Allow the -r switch to remove the references in the
3357         source code even when the lines are not numbered: the labels can
3358         be explicit enough.
3360         * org.el (org-fontify-whole-heading-line): New option.
3361         (org-set-font-lock-defaults): Use the new option.
3363         * org-clock.el (org-show-notification-handler): New option.
3364         (org-show-notification): Use the new option.
3366 2009-07-21  Bastien Guerry  <bzg@altern.org>
3368         * org.el (org-eval-in-calendar): Fix a bug about calendar
3369         navigation when `calendar-setup' value is 'calendar-only.
3371 2009-07-19  Bastien Guerry  <bzg@altern.org>
3373         * org.el (orgstruct++-mode): Fix typo in docstring.
3374         (org-insert-link): Clean up: (or (...)) => (...)
3375         (org-insert-link): Use TAB for stored links completion.
3377 2009-07-18  Bastien Guerry  <bzg@altern.org>
3379         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3380         building the list of targets.
3382         * org-remember.el (org-remember-delete-empty-lines-at-end): New
3383         option.
3384         (org-remember-handler): Use the new option.
3386 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
3388         * org.el (org-tags-sort-function): New option for sorting tags.
3389         (org-set-tags): Use the new option to sort tags.
3391         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3392         premature deletion of the data when using org-plot in a script.
3394 2009-07-17  Bastien Guerry  <bzg@altern.org>
3396         * org-clock.el (org-clock-in-prepare-hook): New hook.
3397         (org-clock-in): Use this new hook.
3399 2009-07-16  Bastien Guerry  <bzg@altern.org>
3401         * org.el (org-special-ctrl-a/e): Explicitely bind the value
3402         'reversed for this option to the "true line boundary first"
3403         behavior.
3404         (org-tags-match-list-sublevels): Document the 'indented value for
3405         this variable.
3407         * org-latex.el (org-export-latex-first-lines): Fix problem with
3408         publishing the region.
3410         * org-exp.el (org-export-format-source-code-or-example): Fix
3411         bad line numbering when exporting examples in HTML.
3413         * org-colview.el (org-format-time-period): Formats a time in
3414         fractional days as days, hours, mins, seconds.
3415         (org-columns-display-here): Add special handling for SINCE and
3416         SINCE_IA to format for display.
3418 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
3420         * org.el (org-tags-sort-function): Add custom declaration for tags
3421         sorting function.
3422         (org-set-tags): Sort tags if org-tags-sort-function is set
3424 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
3426         * org-clock.el (org-clock-goto): Find hidden headlines as well.
3428         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3430         * org-plot.el (org-plot/add-options-to-plist): Add timeind
3431         option.
3433 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
3435         * org-publish.el (org-publish-remove-all-timestamps): New function.
3436         (org-publish-all): Remove all timestamp files if `org-publish-all'
3437         is called with a prefix argument.
3439         * org-list.el (org-indent-item): Fix typo.
3440         (org-item-indent-positions): Normalize ordered bullet.
3442         * org-html.el (org-export-html-home/up-format): New option.
3443         (org-export-as-html): Insert the up and HOME links.
3445 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
3447         * org-html.el (org-export-as-html): Insert the title into the
3448         option plist.
3449         (org-export-html-insert-plist-item): New function.
3450         (org-export-as-html): Call `org-export-html-insert-plist-item'.
3452         * org-macs.el (org-set-local): Make a local variable, do not make
3453         the variable buffer-local!
3455         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3457         * org-html.el (org-export-as-html): Call `org-install-letbind'.
3459         * org-docbook.el (org-export-as-docbook): Call
3460         `org-install-letbind'.
3462         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
3464         * org-exp.el (org-infile-export-plist): Read BIND lines.
3465         (org-install-letbind): New function.
3466         (org-export-as-org, org-export-preprocess-string): Call
3467         `org-install-letbind'.
3469         * org-src.el (org-edit-src-exit): Untabify the example before
3470         returning to Org.
3472         * org-list.el (org-list-demote-modify-bullet): New option.
3473         (org-first-list-item-p): Save point.
3474         (org-fix-bullet-type): New optional argument FORCE-BULLET.
3475         (org-indent-item): Honor `org-list-demote-modify-bullet'.
3476         (org-item-indent-positions): Return bullet types along with
3477         indentation.
3479 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
3481         * org.el (org-show-entry): Hide drawers.
3483 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
3485         * org-footnote.el (org-footnote-auto-adjust): New option.
3486         (org-footnote-auto-adjust-maybe): New function.
3487         (org-footnote-new, org-footnote-delete): Call
3488         `org-footnote-auto-adjust-maybe'.
3490         * org.el (org-startup-options): Add new footnote-related
3491         keywords.
3493         * org-publish.el (org-publish-timestamp-filename): Additional
3494         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3495         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3496         TRUE-PUB-DIR.  Pass them through to
3497         `org-publish-timestamp-filename'.
3498         (org-publish-update-timestamp): Additional arguments PUB-DIR and
3499         PUB-FUNC, which are included in the hash.
3500         (org-publish-file): Delay timestamp test until the publishing
3501         function is known.
3503 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
3505         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3506         setting the deadline.
3508         * org.el (org-read-date-final-answer): New variable.
3509         (org-read-date): Store the final answer string, including the date
3510         from the calendar, for reuse by agenda bulk commands.
3512         * org-publish.el (org-publish-attachment): Fix publishing of
3513         attachments.
3515         * org-latex.el (org-export-latex-quotation-marks): Fix export of
3516         quotation makrs in parenthesis.
3517         (org-remove-initial-hash): New function.
3518         (org-export-latex-preprocess): Fix bug with infinite loop if
3519         environment is not properly closed.
3521         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3522         when indented.
3524         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3525         highlight also when indented.
3527 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
3529         * org-footnote.el (org-footnote-renumber-fn:N): New command.
3530         (org-footnote-action): Offer renumbering.
3532         * org.el (org-cycle): Honor the `integrate' value of
3533         org-cycle-include-plain-lists'.
3535         * org-list.el (org-cycle-include-plain-lists): New allowed value
3536         `internal'.  Improve the docstring.
3538         * org.el (org-set-autofill-regexps): Improve the paragraph-start
3539         regexp to work better with LaTeX commands.
3541 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
3543         * org-feed.el (org-feed-update): fix problem with non-existing
3544         buffer.
3545         (org-feed-skip-http-headers): New function.
3546         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
3547         (org-feed-get-feed): Fix command line arguments for curl.
3549 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
3551         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3552         and eps extensions.
3554 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
3556         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3557         loaded.
3559         * org.el (org-map-entries): No longer force
3560         `org-tags-match-list-sublevels' to t during a todo-only tags
3561         search.
3563 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
3565         * org-latex.el (org-export-latex-low-levels): Allow user-defined
3566         environment.
3567         (org-export-latex-subcontent): Handle user-defined environment.
3569         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3570         the View dispatcher.
3572         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3573         `make-overlay'.
3575         * org-latex.el (org-export-as-pdf): Protect match data during call
3576         to shell-quote-argument.
3578         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3579         (org-agenda-view-mode-dispatch): New function.
3581 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
3583         * org-agenda.el (org-agenda-mode): Reset list of marks.
3584         (org-agenda-mode-map): Define new keys for refile and bulk action.
3585         (org-agenda-menu): Add menu itesm for refile and bulk action.
3586         (org-agenda-refile): New function.
3587         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3588         (org-agenda-marked-entries): New variable.
3589         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3590         (org-agenda-remove-all-bulk-action-marks)
3591         (org-agenda-bulk-action): New functions/commands.
3593 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
3595         * org-exp.el (org-get-file-contents): Protect org-like lines in
3596         included files.
3597         (org-export-format-source-code-or-example): Remove newlines.
3599         * org-latex.el (org-export-latex-links): Check for no-description
3600         marking.
3602         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3603         argument separator back to comma.
3604         (org-export-normalize-links): Mark links without description.
3606 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
3608         * org-exp.el (org-infile-export-plist): Fix bug in macro
3609         processing.
3611         * org-agenda.el (org-agenda-clock-out): Update line after clocking
3612         out.
3613         (org-agenda-highlight-todo): Fix bug with highlighting.
3615 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
3617         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3618         new alignment strings.
3620         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3621         command list.
3622         (org-table-align): Check for forced align type.
3624         * org.el (org-self-insert-command): Add yas/expand to command
3625         list.
3627         * org-clock.el (org-clock-in-hook): New hook.
3628         (org-clock-in): Run `org-clock-in-hook.
3629         (org-clock-out-hook): New hook.
3630         (org-clock-out): Run `org-clock-out-hook.
3631         (org-clock-cancel-hook): New hook.
3632         (org-clock-cancel): Run `org-clock-cancel-hook.
3633         (org-clock-goto-hook): New hook.
3634         (org-clock-goto): Run `org-clock-goto-hook.
3636 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
3638         * org.el (org-store-link): Better default description for link to
3639         Org-mode headline.
3641         * org-exp.el (org-export-generic): Autoload the generic exporter
3642         function.
3643         (org-export): Implement the `g' key for the generic exporter.
3645 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
3647         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3648         and for zbacktab'.
3650         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3652         * org-exp.el (org-infile-export-plist): Get macros also from
3653         #+SETUPFILE.
3655 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3657         * org-colview.el (org-columns-capture-view): Protect vertical bars
3658         in column values.
3659         (org-columns-capture-view): Exclude comment and archived trees.
3661         * org-colview-xemacs.el (org-columns-capture-view): Protect
3662         vertical bars in column values.
3663         (org-columns-capture-view): Exclude comment and archived trees.
3665         * org.el (org-quote-vert): New function.
3667         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3669         * org-exp.el (org-export-format-source-code-or-example): Use
3670         `org-export-latex-verbatim-wrap'.
3672         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3673         time stamps.
3675         * org-html.el (org-export-table-row-tags): New option.
3676         (org-format-org-table-html): Rename `nlines' to `nline', use new
3677         option.
3680 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3682         * org-exp-blocks.el: Declare functions and variables.
3684         * org-remember.el (org-remember-templates): Allow the headline
3685         element to be a function.
3686         (org-remember-apply-template): If the headline is a function, call
3687         it to get the true function.
3689         * org-clock.el (org-clock-menu): New function.
3690         (org-clock-update-mode-line): Update help string.
3691         (org-clock-modify-effort-estimate): New function.
3692         (org-clock-mark-default-task): New function.
3694         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3695         minutes as input.
3696         (org-org-menu): Add new clocking stuff.
3697         (org-clock-is-active): New function.
3699 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3701         * org.el (org-open-non-existing-files): Improve docstring.
3703 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3705         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3706         option.
3707         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3709         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3711         * org-list.el (org-get-checkbox-statistics-face): Use the new
3712         faces.
3714         * org-faces.el (org-checkbox-statistics-todo)
3715         (org-checkbox-statistics-done): New faces.
3717 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3720         (org-edit-src-exit): Better cursor positioning when returning from
3721         editing.
3723         * org-latex.el (org-export-latex-use-verb): New variable.
3724         (org-export-latex-emph-format): Prefer \texttt over \verb when
3725         org-export-latex-use-verb is set.
3727 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3729         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3730         at normal indentation.
3732         * org-html.el (org-export-html-close-lists-maybe): Also look at
3733         normal indentation.
3735         * org-remember.el (org-remember-handler): Abort remember if the
3736         buffer is empty.
3738         * org-src.el (org-edit-src-content-indentation): New option.
3739         (org-edit-src-exit): Apply extra indentation.
3741         * org-exp.el (org-export-format-source-code-or-example): Run
3742         `org-src-mode-hook'.
3744         * org-src.el (org-src-mode-hook): New variable.
3745         (org-edit-src-code): Run `org-src-mode-hook'.
3747 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3749         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3751         * org-src.el (org-edit-src-get-indentation): New function.
3752         (org-edit-src-code): Base indentation on the begin line.
3754 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3756         * org-gnus.el (org-gnus-store-link): Require message.el in
3757         org-gnus-store-link.
3759 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3761         * org-src.el: New file, split out of org.el
3763         * org-docbook.el (org-export-as-docbook): Better indentation
3764         treatment.
3766         * org-macs.el (org-replace-match-keep-properties): New function.
3768         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3769         preprocessing of center and quote and verse blocks.
3771         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3772         (org-export-as-docbook): Close lists when original indentation
3773         mandates it.
3775         * org-html.el (org-export-html-close-lists-maybe): New function.
3776         (org-export-as-html): Close lists when original indentation
3777         mandates it.
3779         * org-list.el (org-list-end): Respect the stored "original"
3780         indentation when determining the end of the list.
3782         * org-exp.el (org-export-replace-src-segments-and-examples):
3783         Remember indentation correctly.
3785 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3787         * org-clock.el (org-clock-update-mode-line): Apply face
3788         org-mode-line-clock.
3790         * org-faces.el (org-mode-line-clock): New face.
3792 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3794         * org-gnus.el (org-gnus-store-link): Fix bug where
3795         `org-gnus-store-link' used wrong subject when called in an article
3796         buffer.  Patch provided by fengli AT gmail DOT com.
3798 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3800         * org-exp.el (org-export-format-source-code-or-example): Remember
3801         the original indentation of source code snippets and examples.
3803         * org-latex.el (org-export-as-latex): Relocate the table of
3804         contents.
3806         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3808         * org-agenda.el (org-run-agenda-series): Scope global options also
3809         when creating the agenda buffer.
3811 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3813         * org.el (org-adapt-indentation): Improve documentation.
3814         (org-insert-property-drawer): Respect org-adapt-indentation when
3815         inserting the drawer.
3816         (org-remove-flyspell-overlays-in): New function.
3817         (org-do-emphasis-faces, org-activate-plain-links)
3818         (org-activate-code, org-fontify-meta-lines-and-blocks)
3819         (org-activate-angle-links, org-activate-footnote-links)
3820         (org-activate-bracket-links, org-activate-dates)
3821         (org-activate-target-links, org-activate-tags): Remove flyspell
3822         overlays.
3824 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3826         * org.el (org-edit-src-save): New function.
3828         * org-clock.el (org-clock-out-switch-to-state): New option.
3829         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3831         * org-compat.el (org-compatible-face): Improve macro.
3833         * org.el (org-global-properties-fixed): Add default for
3834         CLOCK_MODELINE_TOTAL.
3836         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3837         andd tend.
3838         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3839         org-clock-sum.
3840         (org-clock-get-sum-start): New function.
3842         * org.el (org-startup-options): New keywords blockhide and
3843         blockshow.
3844         (org-mode): Add new invisibility spec.
3845         (org-set-startup-visibility): Hide block on startup if so
3846         desired.
3847         (org-hide-block-startup): New option.
3848         (org-block-regexp): New constant.
3849         (org-hide-block-overlays): New variable.
3850         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3851         (org-show-block-all, org-hide-block-toggle-maybe)
3852         (org-hide-block-toggle): New functions.
3853         (org-edit-src-exit): Do not quote lines starting with # and no +
3854         behind it.
3855         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3856         entry.
3858 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3860         * org.el (org-buffer-property-keys): Add Effort property for
3861         completion.
3863 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3865         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3866         when retrieving total clocked time in the subtree.
3868         * org.el (org-quoting-blocks): New variable.
3870 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3872         * org-table.el (org-table-store-formulas)
3873         (org-table-get-stored-formulas, org-table-fix-formulas)
3874         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3875         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3877         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3878         indented #+TBLFM line.
3880         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3881         indented #+TBLFM line.
3883         * org-colview.el (org-dblock-write:columnview): Allow indented
3884         #+TBLFM line.
3886         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3887         indented #+TBLFM line.
3889         * org-clock.el (org-dblock-write:clocktable): Allow indented
3890         #+TBLFM line.
3892 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3894         * org-exp.el (org-export-format-source-code-or-example): Make
3895         editing indented blocks work correctly.
3897         * org.el (org-edit-src-nindent): New variable.
3898         (org-edit-src-code, org-edit-fixed-width-region)
3899         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3900         editing indented blocks work correctly.
3902 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3904         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3905         indented blocks.
3906         (org-export-format-source-code-or-example): Fix indentation of
3907         blocks.
3908         (org-export-remove-indentation): New function.
3909         (org-export-select-backend-specific-text): Allow backend-specific
3910         code to be indented.
3911         (org-export-mark-blockquote-verse-center): Allow markers to be
3912         indented.
3914         * org.el (org-fontify-meta-lines): New function.
3915         (org-set-font-lock-defaults): Call the new fontification
3916         function.
3918         * org-faces.el (org-meta-line): New face
3919         (org-block):  New face.
3921 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3923         * org.el (org-treat-insert-todo-heading-as-state-change)
3924         (org-treat-S-cursor-todo-selection-as-state-change): New
3925         variables.
3926         (org-insert-todo-heading): Honor
3927         `org-treat-insert-todo-heading-as-state-change'.
3928         (org-shiftright, org-shiftleft): Honor
3929         `org-treat-S-cursor-todo-selection-as-state-change'.
3930         (org-inhibit-logging): New variable.
3932 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3934         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3935         range for marker position checking.
3937         * org-latex.el (org-export-latex-first-lines): Fix bug when
3938         exporting a region.
3940 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3942         * org-exp.el (org-export-push-to-kill-ring): Protect using
3943         x-set-selection, because that does not always work.
3945         * org-agenda.el (org-agenda-list): Apply the new face
3946         `org-agenda-date-today'.
3948         * org-faces.el (org-agenda-date-today): New face.
3950 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3952         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3953         creating appointments.
3955         * org-latex.el (org-export-latex-low-levels): Fix customization
3956         type.
3958         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3959         priority commands.
3961         * org-agenda.el (org-agenda-priority): Disable priority commands.
3963         * org.el (org-enable-priority-commands): New option.
3965         * org-colview-xemacs.el (org-columns-compute)
3966         (org-columns-number-to-string): Fix problems with empty fields.
3968         * org-colview.el (org-columns-compute)
3969         (org-columns-number-to-string): Fix problems with empty fields.
3971         * org-exp.el (org-export-push-to-kill-ring): New function.
3972         (org-export-copy-to-kill-ring): New option.
3974         * org-latex.el (org-export-as-latex): Call
3975         `org-export-push-to-kill-ring'.
3977         * org-html.el (org-export-as-html): Call
3978         `org-export-push-to-kill-ring'.
3980         * org-docbook.el (org-export-as-docbook): Call
3981         `org-export-push-to-kill-ring'.
3983         * org-ascii.el (org-export-as-ascii): Call
3984         `org-export-push-to-kill-ring'.
3986         * org-exp.el (org-export-show-temporary-export-buffer): New
3987         option.
3989         * org-latex.el (org-export-as-latex): Use
3990         `org-export-show-temporary-export-buffer'.
3992         * org-html.el (org-export-as-html): Use
3993         `org-export-show-temporary-export-buffer'.
3995         * org-docbook.el (org-export-as-docbook): Use
3996         `org-export-show-temporary-export-buffer'.
3998         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3999         `org-export-show-temporary-export-buffer'.
4001         * org-exp.el (org-export-show-temporary-export-buffer): New
4002         option.
4003         (org-export-push-to-kill-ring): New function.
4005         * org-colview.el (org-columns-compile-map): New variable.
4006         (org-columns-new, org-columns-compute)
4007         (org-columns-number-to-string, org-columns-uncompile-format)
4008         (org-columns-compile-format): Implement new operators.
4010 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
4012         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
4014         * org-html.el (org-export-html-xml-declaration): New option.
4015         (org-export-as-html): Use `org-export-html-xml-declaration'.
4017         * org-list.el (org-update-checkbox-count): Make property
4018         dependent.
4020         * org.el (org-hierarchical-todo-statistics): New option.
4021         (org-update-parent-todo-statistics): Modified to handle recursive
4022         statistics.
4024 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
4026         * org-publish.el (org-publish): Make this function behave
4027         correctly in interactive use when called with a prefix argument.
4029         * org.el (org-todo-statistics-hook): New hook.
4030         (org-update-parent-todo-statistics): Use new hook.
4031         (org-log-into-drawer): New function.
4032         (org-add-log-setup): Use the new `org-log-into-drawer' function to
4033         determine if we should be logging into a drawer.
4034         (org-log-into-drawer): Update docstring.
4035         (org-default-properties): Add LOG_INTO_DRAWER as a property.
4037         * org-list.el (org-checkbox-statistics-hook): New hook.
4038         (org-update-checkbox-count-maybe): Use new hook.
4040         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
4041         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
4042         to kill ring.
4044 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
4046         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
4047         a line.
4049 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
4051         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
4052         better bufer-generating mechanism.
4053         (org-edit-src-find-buffer): New function.
4055         * org-icalendar.el (org-print-icalendar-entries): Don't check for
4056         archive tag, this is already done by `org-agenda-skip'.
4057         data while constructing lost of tags.
4059 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
4061         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
4062         as argument separator in macros.
4064         * org-html.el (org-export-as-html): Add xml declaration.
4066 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
4068         * org.el (org-after-sorting-entries-or-items-hook): New hook.
4069         (org-sort-entries-or-items): Run the new hook.
4070         (org-after-refile-insert-hook): New hook.
4071         (org-refile): Run `org-after-refile-insert-hook'.
4073         * org-agenda.el (org-agenda-get-progress): Never take time of day
4074         from headline when displaying progress.
4076         * org-latex.el (org-export-latex-complex-heading-re): New variable.
4077         (org-export-as-latex): Force the correct regexp in the
4078         preprocessor buffer.
4079         (org-export-latex-set-initial-vars): Set
4080         `org-export-latex-complex-heading-re'.
4082         * org-agenda.el (org-agenda-start-with-log-mode): New option.
4083         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
4085 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
4087         * org-latex.el (org-export-latex-tables-centered): New option.
4088         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
4090         * org-exp.el (org-export-as-org): New command.
4091         (org-export-as-org): New command.
4093         * org-publish.el (org-publish-org-to-org): New function.
4095 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
4097         * org.el (org-yank): Just call `org-yank-generic'.
4098         (org-yank-generic): New function, containing the formaer
4099         functionality of `org-yank'.
4101         * org-latex.el (org-export-latex-not-done-keywords)
4102         (org-export-latex-done-keywords): New variables.
4103         (org-export-latex-todo-keyword-markup): New option.
4104         (org-export-latex-set-initial-vars): Remember the TODO keywords.
4105         (org-export-latex-keywords-maybe): Apply the TODO markup.
4107 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
4109         * org-exp.el (org-infile-export-plist): Add more default macros.
4110         (org-export-preprocess-apply-macros): Process macro arguments.
4112 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
4114         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
4115         `unblocked'.
4116         (org-print-icalendar-entries): Respect the new value of
4117         `org-icalendar-include-todo'.
4119         * org.el (org-link-try-special-completion)
4120         (org-file-complete-link): New functions.
4121         (org-insert-link): Add special completion support for some link
4122         types.
4124         * org-bbdb.el (org-bbdb-complete-link): New function.
4126 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
4128         * org-list.el (org-update-checkbox-count): Allow recursive
4129         statistics.
4130         (org-hierarchical-checkbox-statistics): New option.
4132         * org.el (org-cycle): Remove erraneous space character.
4134         * org-icalendar.el (org-icalendar-timezone): Initialize from
4135         environment.
4137         * org-html.el (org-format-org-table-html): Specify the scope.
4138         (org-format-table-table-html): Specify the scope.
4139         (org-export-table-header-tags): Prepare the scope parameter.
4141 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org-html.el
4144         (org-export-html-table-use-header-tags-for-first-column): New
4145         option.
4147         * org.el (org-autoload): Fix autoloading of ascii export
4148         functions.
4149         (org-modules): Add org-special-blocks.
4151 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
4153         * org-icalendar.el (org-start-icalendar-file): Use the new option.
4154         (org-ical-timezone): New option.
4156         * org-exp.el (org-export-get-coderef-format): Use the description
4157         is present.
4159         * org.el (org-sort-entries-or-items): Improve docstring, and make
4160         better implementation for time sorting.
4162 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
4164         * org.el (org-edit-src-persistent-message): New option.
4165         (org-edit-src-code, org-edit-fixed-width-region): Use the new
4166         option.
4168         * org-clock.el (org-clock-insert-selection-line): Fix prefious
4169         patch.
4171         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
4172         separate buffer instead of indirect buffer to edit source code.
4173         (org-edit-src-exit): Make this function work with the new setup.
4175         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
4176         are properly fontified before shown in the selection menu.
4178         * org.el (org-fontify-like-in-org-mode): New function.
4180         * org-latex.el (org-export-latex-links): Use the property list to
4181         retrieve the default image attributes.
4183         * org-exp.el (org-export-plist-vars): Add a new option.
4185 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
4187         * org-exp.el (org-export, org-export-visible): Support ASCII
4188         export to buffer
4189         (org-export-normalize-links): Do not protect the description if it
4190         is explicitly given.
4192         * org-ascii.el (org-export-as-ascii-to-buffer)
4193         (org-replace-region-by-ascii, org-export-region-as-ascii): New
4194         commands.
4195         (org-export-as-ascii): Add all the same parameters that are also
4196         supported by the other export functions.
4198         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
4199         org-checklist.el.
4200         (org-reset-checkbox-state-subtree): Call
4201         `org-reset-checkbox-state-subtree'.
4203         * org-remember.el (org-select-remember-template): For the
4204         selection of a valid template.
4206         * org-latex.el (org-export-region-as-latex): Supply the
4207         force-no-subtree argument.
4208         (org-export-as-latex): Provide better limits when exporting the
4209         first line.  When exporting to string, we still want the first
4210         lines.
4211         (org-export-latex-first-lines): New argument END, to force the end
4212         of the region.
4213         (org-export-region-as-latex): Use the property list.
4214         (org-export-as-latex):
4216         * org-colview-xemacs.el (org-columns-remove-overlays)
4217         (org-columns): Fix call to `local-variable-p'.
4219 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
4221         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
4222         (org-export-as-html): Run the new hook.
4224         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
4225         (org-export-latex-preprocess): Run the new hook.
4227         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
4228         (org-export-preprocess-string): Run the new hook.
4230 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
4232         * org-macs.el (org-check-external-command): New defsubst.
4234         * org.el (org-mode-map): New key for reload.
4235         (org-format-latex): Better error message when external programs
4236         are not available.
4238         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
4240         * org.el (org-sort-entries-or-items): Explicit sorting function
4241         for priorities, needed for XEmacs compatibility.
4243         * org-remember.el (org-remember-apply-template): Improve auto-save
4244         behavior.
4246 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
4248         * org-latex.el (org-export-latex-preprocess): Also protect
4249         environments ending in a star.
4251         * org-list.el (org-at-item-p): Fix regular expression.
4253 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
4255         * org.el (org-end-of-subtree): Improve speed.
4257         * org-agenda.el (org-agenda-get-timestamps)
4258         (org-agenda-get-progress, org-agenda-get-deadlines)
4259         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
4260         in particular, wait as long as possible to collect the tags.
4261         (org-stuck-projects): Improve docstring.
4263         * org.el (org-store-link): No errors when getting custom id before
4264         first headline.
4265         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4267 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
4269         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4271         * org-protocol.el: Remove dependency on url.el.
4272         (org-protocol-unhex-compound, org-protocol-open-source): Remove
4273         dependency on url.el.
4275         * org-latex.el (org-export-as-pdf): Use
4276         `org-latex-to-pdf-process'.
4278 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
4280         * org-latex.el (org-latex-to-pdf-process): New option.
4282         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4283         New option.
4284         (org-agenda-get-timestamps): Honor
4285         `org-agenda-skip-additional-timestamps-same-entry'.
4287         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4288         (org-clock-goto): Find recent task only if
4289         `org-clock-goto-may-find-recent-task' allows it.
4291         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4292         drawers, and drawers that are missing the :END: line.
4294 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4296         * org-clock.el (org-clock-goto): Go to recently clocked task if no
4297         clock is running.
4299 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4301         * org.el (org-update-parent-todo-statistics): Check for
4302         STATISTICS_FROM property.
4304         * org-list.el (org-update-checkbox-count): Check for
4305         STATISTICS_FROM property.
4307         * org.el (org-tab-first-hook)
4308         (org-tab-after-check-for-table-hook)
4309         (org-tab-after-check-for-cycling-hook): New hooks.
4310         (org-cycle-internal-global, org-cycle-internal-local): New
4311         functions, split out from `org-cycle'.
4312         (org-cycle): Call the new hooks.
4314 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
4316         * org-exp.el (org-export-preprocess-string): Reset the list of
4317         preferred targets for each run of the preprocessor.
4319         * org.el (org-refile-target-verify-function): Improve
4320         documentation.
4321         (org-get-refile-targets): Respect point being moved by the
4322         verification function.
4324         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4325         option.
4326         (org-export-latex-keywords): Use new option.
4328         * org.el (org-rear-nonsticky-at): New defsubst.
4329         (org-activate-plain-links, org-activate-angle-links)
4330         (org-activate-footnote-links, org-activate-bracket-links)
4331         (org-activate-dates, org-activate-target-links)
4332         (org-activate-tags): Place the rear-nonsticky properties at the
4333         correct location.
4335 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
4337         * org-protocol.el (server-edit): Declare `server-edit'.
4338         (org-protocol-unhex-string, org-protocol-unhex-compound): New
4339         functions.
4340         (org-protocol-check-filename-for-protocol): Call `server-edit'.
4342         * org.el (org-default-properties): New default properteis for
4343         completion.
4345         * org-exp.el (org-export-add-subtree-options): Add new properties
4346         for subtree export.
4348         * org-docbook.el (org-export-docbook-keywords-markup)
4349         (org-export-docbook-timestamp-markup): New options.
4350         (org-export-docbook-protect-tags): New function.
4352 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
4354         * org-id.el (org-id-get-with-outline-path-completion): Turn off
4355         org-refile-target-verify-function for the duration of the command.
4357         * org.el (org-link-to-org-use-id): New possible value
4358         `create-if-interactive-and-no-custom-id'.
4359         (org-store-link): Use custom IDs.
4360         (org-link-search): Find custom ID properties from #link.
4361         (org-default-properties): Add CUSTOM_ID for property completion.
4362         (org-refile-target-verify-function): New option.
4363         (org-goto): Turn off org-refile-target-verify-function
4364         for the duration of the command.
4366 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
4368         * org-html.el (org-export-as-html): Use custom IDs in the toc.
4370         * org-exp.el (org-export-preferred-target-alist): New variable.
4371         (org-export-define-heading-targets): Find the new CUSTOM_ID
4372         property.
4373         (org-export-target-internal-links): Target the custom ids when
4374         possible.
4376         * org-latex.el (org-export-latex-preprocess): Better regexp for
4377         matching latex macros with arguments.
4379 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
4381         * org-remember.el (org-remember-handler): Allow filing to non-org
4382         files.
4384 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
4386         * org-feed.el (org-feed-alist): New keyword options.
4387         (org-feed-update): Use the new options.
4388         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
4389         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
4390         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
4391         functions.
4393         * org-table.el (org-table-fix-formulas): Do not change references
4394         to remote tables.
4395         (org-table-get-remote-range): Convert standard coordinates to RC
4396         format.
4398         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4400 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
4402         * org-compat.el (org-sha1-string): Function removed.
4404         * org.el (org-refile-allow-creating-parent-nodes): New option.
4405         (org-refile-get-location): New argument NEW-NODES.
4406         (org-refile): Call `org-refile-get-location' with the new
4407         argument.
4408         (org-refile-get-location): Arrange for adding a new child.
4409         (org-refile-new-child): New function.
4411         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
4412         an additional span element.
4414         * org-clock.el: Fix a number of docstrings.
4415         (org-clock-find-position): New argument
4416         FIND-UNCLOSED to make the function find an unclosed clock in the
4417         entry.
4418         (org-clock-in): Call `org-clock-find-position' with the new
4419         argument if we might be resuming a clock.
4421 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
4423         * org-latex.el (org-export-latex-display-custom-times): New variable.
4424         (org-export-latex-timestamp-markup): New option.
4425         (org-export-latex-set-initial-vars): Remember the local value of
4426         `org-display-custom-times'.
4427         (org-export-latex-content): Process time stamps.
4428         (org-export-latex-time-stamps): New function.
4430         * org-macs.el (org-maybe-intangible): Add intangible property
4431         again to invisible text.
4433 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
4435         * org-exp.el (org-default-export-plist): Handle undefined
4436         variables.
4438 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
4440         * org.el (org-sort-entries-or-items): Match TODO keywrds
4441         case-sensitively, when sorting.
4442         (org-priority): Do not match TODO keywords with wrong case.
4444 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
4446         * org-feed.el (org-feed-update): Bind the variable
4447         `new-formatted'.
4449         * org-html.el (org-export-as-html): Start paragraphs after literal
4450         examples.
4452         * org-docbook.el (org-export-as-docbook): Start paragraphs after
4453         literal examples.
4455 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
4457         * org.el (org-todo): Honor the NOBLOCKING property.
4459         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4460         NOBLOCKING property.
4462         * org.el (org-scan-tags): Fix bug in tag scanner
4464 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
4466         * org.el (org-modules): Mark obsolete packages.
4468         * org-html.el: New file, split out from org-exp.el.
4470         * org-icalendar.el: New file, split out from org-exp.el.
4472         * org-xoxo.el: New file, split out from org-exp.el.
4474         * org-ascii.el: New file, split out from org-exp.el.
4476 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
4478         * org-compat.el (org-find-library-name): New function.
4480         * org.el (org-pre-cycle-hook): New hook.
4481         (org-cycle): Call the new hook in appropriate places.
4482         (org-reload): Only reload files that have been loaded before.
4484 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
4486         * org.el (org-set-font-lock-defaults): Enforxe space or line end
4487         after todo keyword.
4488         (org-todo): When changing TODO state, do matching
4489         case-sensitively.
4490         (org-map-continue-from): New variable.
4491         (org-scan-tags): Respect values in `org-map-continue-from'.
4492         (org-reload): Make XEmacs compatible.
4494 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
4496         * org-protocol.el (org-protocol-flatten-greedy): New function.
4497         (org-protocol-flatten): New function.
4499         * org.el (org-open-link-from-string): Pass reference buffer to
4500         `org-open-at-point'.
4501         (org-open-at-point): New optional argument `reference-buffer'.
4503 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
4505         * org.el (org-scan-tags): Make tag scan find headline in first
4506         line, 2nd attempt.
4507         (org-get-refile-targets): Add the naked file name.
4508         (org-refile): Store as top-level entry when only file name was
4509         given.
4511         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4513         * org.el (org-block-todo-from-children-or-siblings-or-parent):
4514         Renamed from org-block-todo-from-children-or-siblings, and
4515         enhanced to look for the parent's status as well.
4517         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4518         (org-agenda-get-progress): Add first notes line to log entry if so
4519         desired.
4521 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
4523         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4524         (org-agenda-cleanup-fancy-diary): Call the new hook.
4526         * org-remember.el (org-remember-apply-template): Take the default
4527         for the annotation from the :annotation property.
4529         * org-mac-message.el (org-mac-message-get-link): Remove the
4530         quotes.
4531         (org-mac-message-get-link): Return the result.
4533 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
4535         * org.el (org-refile-get-location): Add file name only if not
4536         already included in outline path.
4538         * org-faces.el (org-n-level-faces): Fix customization type from
4539         number to integer.
4541         * org-exp.el (org-export-headline-levels): Fix customization type
4542         from number to integer.
4544         * org-agenda.el (org-agenda-confirm-kill)
4545         (org-agenda-custom-commands-local-options)
4546         (org-timeline-show-empty-dates, org-agenda-ndays)
4547         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4548         customization type from number to integer.
4550 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
4552         * org-protocol.el: Declare some functions.
4554         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
4555         postion before inserting modified headline.
4557         * org-agenda.el (org-agenda-compare-effort): Honor
4558         `org-sort-agenda-noeffort-is-high'.
4559         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4560         (org-agenda-compare-effort): Implement the "?" operator for
4561         finding entries without effort setting.
4563         * org.el (org-extract-attributes-from-string): New function.
4565         * org-exp.el (org-export-splice-attributes): New function.
4567 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
4569         * org-mouse.el: XEmacs compatibility fixes
4571         * org-docbook.el (org-export-as-docbook): Process footnotes like
4572         normal text.
4574         * org.el (org-modules): Add org-inlinetasks.el
4575         (org-cycle): Implement limiting level on cycling.
4576         (org-move-subtree-down): Fix bug with swapping subtrees at end of
4577         buffer.
4579         * org-inlinetask.el: New file.
4581         * org.el (org-emphasis-regexp-components): Allow braces in
4582         emphasis pre and post match.
4584         * org-footnote.el (org-footnote-normalize): When only dorting, do
4585         not insert inline notes at the end.
4587         * org-docbook.el (org-id-find-id-file): Add function declaration.
4589         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4591         * org-docbook.el: New file.
4593 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
4595         * org.el (org-reftex-citation): New command.
4597 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
4599         * org-agenda.el (org-agenda-cmp-user-defined): New option.
4600         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4601         sorting options.
4602         (org-entries-lessp): Apply the new sorting option.
4604         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4605         blocker code, when an older sibling has children.
4607         * org-mac-message.el (org-mac-message-get-link): Improve getting
4608         links from multiple selected messages.
4610 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
4612         * org-remember.el (org-remember-finalize): Do not set buffer file
4613         name to nil.
4614         (org-remember-handler): Mark buffer as unmodified.
4615         (org-remember-handler): Delete backup file and show message about
4616         remaining backup files.
4617         (org-remember-auto-remove-backup-files): New option.
4619         * org.el (org-store-link): Use buffer name as link description in
4620         w3-mode buffers.
4621         (org-ido-switchb): Fix argument bug for completion.
4623         * org-remember.el (org-remember-apply-template): Set local
4624         variable `auto-save-visited-file-name' instead of global one.
4626 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
4628         * org-feed.el: Re-write.
4630         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4631         (org-agenda-get-todos): Mark file tags as inherited.
4632         (org-agenda-list): Always search diary lines for a time.
4634 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
4636         * org-feed.el (org-feed-assume-stable): New option.
4637         (org-feed-before-adding-hook): New hook.
4639         * org-exp.el (org-export-as-html): Close local lists depending on
4640         indentation, also when starting a table.
4642         * org-remember.el (org-remember-backup-directory)
4643         (org-remember-backup-name): New internal variable.
4645 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
4647         * org-clock.el (org-clock-out-if-current): Make buffer detection
4648         work in indirect buffers as well.
4650         * org.el (org-emphasis-regexp-components): Add the exxclamation
4651         mark to the post-emphasis characters.
4653 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
4655         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4656         (org-read-date): Run the new hook.
4658         * org-mac-message.el (org-mac-flagged-mail): New group.
4659         (org-mac-mail-account): New variable.
4660         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4661         commands.
4663         * org-remember.el (org-remember-backup-directory): New variable.
4664         (org-remember-apply-template): Write file to backup directory.
4666 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4668         * org-mouse.el (org-mouse-todo-menu): New function.
4669         (org-mouse-todo-keywords): Function removed.
4670         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4672         * org-table.el (org-table-beginning-of-field)
4673         (org-table-end-of-field): New commands
4674         (org-table-previous-field, org-table-beginning-of-field): Better
4675         error messages.
4676         (orgtbl-setup): Include `M-a' and `M-e'.
4678         * org.el (org-backward-sentence, org-forward-sentence): New
4679         commands.
4681         * org-colview.el (org-colview-initial-truncate-line-value): New
4682         variable.
4683         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4684         (org-columns): Remember the value of `truncate-lines'.
4686         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4687         New variable.
4688         (org-columns-remove-overlays): Restore the value of
4689         `truncate-lines'.
4690         (org-columns): Remember the value of `truncate-lines'.
4692         * org.el (org-columns-skip-arrchived-trees): New option.
4694         * org-agenda.el (org-agenda-export-html-style): Define color for
4695         org-agenda-done face.
4696         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4697         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4699         * org.el (org-scan-tags): Use the new face.
4701         * org-faces.el (org-agenda-done): New face.
4703         * org.el (org-scan-tags): Test the value org
4704         `org-tags-match-list-sublevels'.
4705         (org-tags-match-list-sublevels): New allowed value: indented.
4707         * org-export-latex.el (org-export-latex-make-header): Apply macros
4708         in header.
4710         * org-exp.el (org-export-apply-macros-in-string): New function.
4712         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4713         with the definition of a checked box.
4715         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4717         * org-export-latex.el (org-export-latex-low-levels): More options
4718         for how to process lower levels in LaTeX.
4719         (org-export-latex-subcontent): Better treatment for lists as a
4720         means of publishing lower levels.
4722 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4724         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4726         * org-faces.el (org-checkbox): New face.
4728         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4729         fragement images if there is an export file.
4731 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4733         * org-agenda.el (org-stuck-projects): Document that the subtree of
4734         projects that are not stuck will now be searched for stuck
4735         sub-projects.
4736         (org-agenda-skip-entry-when-regexp-matches)
4737         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4738         (org-agenda-list-stuck-projects): Use
4739         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4741         * org-export-latex.el (org-export-latex-preprocess): Improve
4742         export of verses.
4744         * org-exp.el (org-export-as-html): Implement centering as a div
4745         rather than a paragraph.  Do a better job with line-end in verse
4746         environments.
4748 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4750         * org.el (org-open-at-point): Fix tags searches by mouse click.
4752 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4754         * org-export-latex.el (org-export-latex-preprocess): Implement the
4755         centering markup.
4757         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4758         from `org-export-mark-blockquote-and-verse'.
4759         (org-export-as-html): Implement the centering markup.
4761         * org-export-latex.el (org-export-latex-tables): Fix vertical
4762         lines in tables.
4764 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4766         * org.el (org-read-date-history): New variable.
4767         (org-read-date): Use new history variable.
4768         (org-toggle-heading): Fix bug when used before first headline.
4769         (org-store-log-note): Remove drawer if empty while note is
4770         aborted.
4771         (org-remove-empty-drawer-at): New function.
4772         (org-check-after-date): New command.
4773         (org-sparse-tree): New sparse tree command "a".
4775         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4777 2009-03-14  Bastien Guerry  <bzg@altern.org>
4779         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4780         column and a space, not only a column.
4782 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4784         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4785         defaults for verbose emphasis.
4786         (org-export-latex-emph-format): New function.
4787         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4789         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4790         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4791         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4792         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4793         commands.
4795         * org.el (org-timestamp-change): Move end-time along with start
4796         time.
4798 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4800         * org-exp.el (org-export-target-internal-links)
4801         (org-export-as-html): Protect links specified as #name.
4803 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4805         * org.el (org-clone-subtree-with-time-shift): New command.
4807         * org-export-latex.el (org-export-latex-special-chars)
4808         (org-export-latex-treat-sub-super-char): Fix subscript export.
4810         * org-exp.el (org-create-multibrace-regexp): Do not add
4811         backslashes to the class.
4813 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4815         * org-colview.el (org-columns-map): Better functions for moving up
4816         and down a row, even if `truncate-line' is nil.
4818         * org.el (org-insert-todo-heading): Make sure the keyword is
4819         inserted at the correct position.
4821         * org-publish.el (org-publish-project-alist)
4822         (org-publish-projects, org-publish-org-index): Change default anme
4823         for the index of file names to "sitemap.org".
4825         * org-export-latex.el (org-export-latex-tables): Use
4826         `org-split-string', for Emacs 21 compatibility.
4828 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4830         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4832 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4834         * org-exp.el (org-export-page-description)
4835         (org-export-page-keywords): New variables.
4836         (org-export-plist-vars): Add entries for :keywords and
4837         :description.
4838         (org-infile-export-plist): Parse for new keywords.
4839         (org-get-current-options): Add new keywords
4840         (org-export-as-html): Publish description and keywords.
4842         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4843         option.
4844         (org-agenda-add-entry-text): Honor
4845         `org-agenda-add-entry-text-descriptive-links'.
4847         * org-export-latex.el (org-export-latex-preprocess): Make all
4848         external preprocess functions use a PARAMETER arg.
4850         * org-exp.el (org-export-preprocess-string)
4851         (org-export-select-backend-specific-text)
4852         (org-export-format-source-code-or-example)
4853         (org-format-org-table-html): Support docbook export.
4854         (org-export-preprocess-string): Make all external preprocess
4855         functions use a PARAMETER arg.
4857 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4859         * org-exp.el (org-export-html-style-include-scripts): New option.
4860         (org-export-plist-vars): Add new option
4861         `org-export-html-style-include-scripts'.
4862         (org-export-as-html): Honor new option
4863         `org-export-html-style-include-scripts'.
4864         (org-export-html-scripts, org-export-html-style-default): Fix
4865         xml issues with the Safari browser.
4867 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4869         * org-publish.el (org-publish-attachment): Only copy file when the
4870         directories differ.
4872 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4874         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4875         for clocktable steps.
4877         * org.el (org-additional-option-like-keywords): Add two more
4878         keywords.
4880 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4882         * org-exp.el (org-export-format-source-code-or-example): Mark
4883         temporary buffer unmodified, so that it will be killed even if
4884         mode like message mode has decided to assign a file name.
4886         * org.el (org-scan-tags): Improve tag inheritance.
4887         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4888         case-sensitive.
4889         (org-scan-tags): Use the internal tags list instead of creating it
4890         from scratch.
4891         (org-trust-scanner-tags, org-scanner-tags): New variables.
4892         (org-scan-tags): Set `org-scanner-tags'.
4893         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4894         (org-map-entries): Document the possible speedup using scanner
4895         tags.
4897 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4899         * org.el (org-add-planning-info): Fix bug with looking for keyword
4900         only at column 0.
4902         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4903         option for tags filter preset.
4904         (org-prepare-agenda): Store filter preset as a property on the
4905         filter variable.
4906         (org-finalize-agenda): Call the filter, if there is a preset.
4907         (org-agenda-filter-by-tag): Filter again after clearing the
4908         filter, when there still is a preset.
4909         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4910         Include the preset filter.
4911         (org-agenda-redo): Apply the filter again, also the preset filter.
4913         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4915         * org.el (org-uuidgen-p): New funtion.
4917         * org-agenda.el (org-agenda-fontify-priorities): New default value
4918         `cookies'.
4919         (org-agenda-fontify-priorities): Renamed from
4920         org-fontify-priorities.
4922         * org.el (org-set-font-lock-defaults): Call
4923         `org-font-lock-add-priority-faces'.
4924         (org-font-lock-add-priority-faces): New function.
4926         * org-faces.el: (org-set-tag-faces): New option.
4927         (org-priority-faces): New variable.
4929         * org-exp.el (org-export-as-html): Add a "content" div around the
4930         entire content of the body tag.
4931         (org-export-html-get-bibliography): New function.
4932         (org-export-html-validation-link): New variable.
4933         (org-export-as-html): Add validation link to exported page.
4935         * org.el (org-match-sparse-tree): Renamed from
4936         `org-tags-sparse-tree'.
4937         (org-tags-sparse-tree): New alias.
4939 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4941         * org.el (org-get-valid-level): Catch the case where the level
4942         change is nil.
4944         * org-clock.el (org-clock-find-position): Better indentation of
4945         new clock drawers.
4947 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4949         * org-agenda.el (org-agenda-quit): Delete window only when the
4950         frame-setup was not `current-window'.
4952         * org.el (org-tag-persistent-alist): New option.
4953         (org-startup-options): Add keyword `noptag'.
4954         (org-fast-todo-selection): Handle :newline correctly.
4955         (org-set-tags): Handle :newline correctly.
4956         (org-fast-tag-selection): Handle :newline correctly.
4958 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4960         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4961         outputting it.
4962         (org-export-ascii-push-links): Fix bug with pussing links into the
4963         export buffer.
4965 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4967         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4968         pasting at top level.
4970         * org-bbdb.el: Improve documentation.
4972 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4974         * org-list.el (org-insert-item): Only consider insert empty lines
4975         is `org-empty-line-terminates-plain-lists' is not nil.
4977         * org.el (org-blank-before-new-entry): Mention the dependence on
4978         `org-empty-line-terminates-plain-lists' in the docstring.
4980         * org-publish.el (org-publish-get-project-from-filename): New
4981         optional argument UP.  Only find the top project if UP is set.
4982         (org-publish-current-project): Find the top encloding project.
4984         * org-agenda.el (org-agenda-before-write-hook)
4985         (org-agenda-add-entry-text-maxlines): New options.
4986         (org-write-agenda): Run the new hook in the temporary buffer.
4987         (org-agenda-add-entry-text): New function.
4988         (org-write-agenda): Implement PDF export, using ps2pdf.
4990         * org.el (org-global-properties-fixed, org-global-properties):
4991         Improve documentation string.
4993         * org-exp.el (org-export-ascii-links-to-notes): New option.
4994         (org-export-as-ascii): Handle links better.
4995         (org-export-ascii-wrap, org-export-ascii-push-links): New
4996         functions.
4998 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
5000         * org-agenda.el (org-agenda): Make prefix arg optional.
5001         (org-agenda-search-headline-for-time): New option.
5002         (org-format-agenda-item): Honor
5003         `org-agenda-search-headline-for-time'.
5005         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
5006         characters.
5008         * org.el (org-self-insert-cluster-for-undo): New option.
5009         (org-self-insert-command): Cluster undo for 20 characters.
5010         (org-self-insert-command-undo-counter): New variable.
5012 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
5014         * org-exp.el (org-export-as-html): Fix problem with closing colone
5015         example.
5017 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
5019         * org-export-latex.el (org-export-as-latex)
5020         (org-export-latex-first-lines): Avoid modification flag when
5021         adding or removing text properties.
5022         (org-export-latex-fontify): Catch error when org-emph-alist has
5023         entries that are not defined for LaTeX export.
5025         * org.el (orgstruct++-mode): New function.
5026         (turn-on-orgstruct++): Call `orgstruct++-mode'.
5027         (org-context-p): Allow detecting item context after the first line
5028         of an item.
5029         (orgstruct-make-binding): Detect if item-body context should be
5030         seen.
5031         (orgstruct-is-++): New variable.
5032         (org-add-planning-info): Catch the case when there is no planning
5033         info yet and the call does not want to add anything, only maybe
5034         tries to remove something.
5035         (org-special-ctrl-a/e): All value to be a cons cell with separate
5036         settings for `C-a. and `C-e'.
5037         (org-beginning-of-line, org-end-of-line): Honor separate values
5038         for `C-a' and `C-e'.
5040 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
5042         * org.el (org-reload): New command.
5044 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
5046         * org-exp.el (org-export-htm-get-tag-class-name)
5047         (org-export-htm-get-todo-kwd-class-name): New functions.
5048         (org-export-html-tag-class-prefix)
5049         (org-export-html-todo-kwd-class-prefix): New options.
5050         (org-export-as-html): Call
5051         `org-export-html-get-todo-kwd-class-name'.
5052         (org-html-level-start): Wrap tags into classes.
5053         (org-export-html-get-tag-class-name)
5054         (org-export-html-get-todo-kwd-class-name): New functions.
5056         * org-export-latex.el (org-export-latex-collect-header-macros):
5057         Remove fields that are used anyway.
5058         (org-export-latex-make-header): Insert the options earlier.
5060         * org-agenda.el (org-agenda-get-progress): Fix bug with state
5061         matching.
5063         * org-list.el (org-indent-item): Allow point to be at the end of
5064         the region.
5066         * org.el (org-metaleft, org-metaright): Be more accurate about
5067         detecting a region where commands apply.
5069         * org-compat.el (org-cursor-to-region-beginning): New function.
5071         * org.el (org-priority): Also find invisible heading.
5073         * org-colview-xemacs.el (org-columns-edit-value): No special
5074         treatment for `org-todo' prefix.
5076         * org-colview.el (org-columns-edit-value): No special treatment
5077         for `org-todo' prefix.
5079         * org-remember.el (org-remember-apply-template): Use
5080         `org-completing-read-no-ido'.
5082         * org.el (org-completing-read-no-ido): New function.
5083         (org-make-tags-matcher, org-set-property): Use
5084         `org-completing-read-no-ido'.
5086         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
5087         New option.
5088         (org-export-as-latex): Import in-buffer settings as TeX macros.
5089         (org-export-latex-make-header): Additional parameter OPT-DEFS.
5090         (org-export-latex-collect-header-macros): New function.
5092         * org.el (org-refile-get-location): Turn off
5093         `partial-completion-mode'.
5095 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
5097         * org.el (org-block-todo-from-checkboxes): Announce that
5098         checkboxes are the culprit.
5099         (org-block-todo-from-children-or-siblings): Call
5100         `org-up-heading-all instead' of `outline-up-heading'.
5102         * org-agenda.el (org-agenda-show-1): Renamed from
5103         `org-agenda-show'.
5104         (org-agenda-show): Re-install the old version for now.
5105         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
5106         variable into the blokker hook, so that the checkbox checker can
5107         anounce that it caused the blocking.
5109         * org.el (org-track-ordered-property-with-tag): New option.
5110         (org-toggle-ordered-property): Honor
5111         `org-track-ordered-property-with-tag'.
5112         (org-tag-alist): Add newline options.
5113         (org-set-regexps-and-options): Separate option lines imply a
5114         newline.
5115         (org-set-regexps-and-options, org-assign-fast-keys)
5116         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
5117         option.
5118         (org-indent-line-function): Make sure this works even if there is
5119         not `org-drawer-regexp' defined.  This can happen when
5120         orgstruct-mode is used in a non-org buffer.
5122         * org-list.el (org-checkbox-blocked-p): New function.
5123         (org-toggle-checkbox): Check for blocking.
5125         * org.el (org-modules): Add an entry for org-R.el.
5127         * org-agenda.el (org-agenda-todo-ignore-with-date)
5128         (org-agenda-todo-ignore-scheduled)
5129         (org-agenda-todo-ignore-deadlines): Mention the variable
5130         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
5132         * org.el (org-get-wdays): Find the warning period also if it is in
5133         the wrong place.
5134         (org-ido-completing-read): Provide the correct arguments to
5135         ido-completing-read and bind `ido-enter-matching-directory' to
5136         nil.
5138 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
5140         * org.el (org-olpath-completing-read): Never use ido for this
5141         one.
5143         * org-exp.el (org-export-normalize-links): Use new macro.
5145         * org-macs.el (org-if-unprotected-at): New macro.
5147         * org-agenda.el (org-agenda-show): Allow numerical prefix
5148         arguments to specify how much context should be shown.
5149         (org-agenda-cycle-show): New command, could be bound to SPC in
5150         org-agenda-mode-map.
5152         * org-exp.el (org-html-level-start): Space after section number.
5154 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
5156         * org-agenda.el (org-agenda-get-sexps): Add todo state as
5157         property, for sorting.
5158         (org-cmp-todo-state): Get the applicable TODO keywords directly
5159         from the buffer.
5160         (org-run-agenda-series, org-agenda-list, org-search-view)
5161         (org-todo-list, org-tags-view): Only fit agenda window when the
5162         whole series is done.
5164         * org.el (org-scan-tags): Add todo state as property, for sorting.
5166         * org-agenda.el (org-agenda-custom-commands-local-options): Add
5167         `org-agenda-overriding-header' as an option.
5168         (org-agenda-list): Honor org-agenda-overriding-header'.
5170 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
5172         * org-list.el (org-toggle-checkbox): Improve cursor positioning
5173         after removing a checkbox.
5175         * org.el (org-show-entry): Make this work correctly also if it is
5176         the last entry in the file.
5177         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
5178         falling back to normal, default command.
5179         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
5180         item, call the checkbox toggler to get a box.
5182         * org-list.el (org-toggle-checkbox): Make double prefix set the
5183         checkbox to "[-]".
5184         (org-fix-bullet-type): Only replace bullet if it is changed.
5185         (org-renumber-ordered-list): Handle case when first item does not
5186         have a number.
5188         * org.el (org-add-log-setup): Fix positioning when
5189         `org-log-states-order-reversed' is nil.
5191         * org-clock.el (org-clock-in): Fix positioning when
5192         `org-log-states-order-reversed' is nil.
5193         (org-clock-find-position): Fix positioning when
5194         `org-log-states-order-reversed' is nil.
5196 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
5198         * org-clock.el (org-clock-into-drawer): Take default from
5199         `org-log-into-drawer'.
5200         (org-clock-find-position): Look for the correct drawer.
5202         * org.el (org-log-into-drawer): Renamed from
5203         `org-log-state-notes-into-drawer'.
5204         (org-log-state-notes-into-drawer): New variable alias.
5205         (org-add-log-setup): Make drawer name default to LOGBOOK, not
5206         CLOCK.
5207         (org-insert-property-drawer): Also skip LOGBOOK drawers.
5209 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
5211         * org-agenda.el (org-agenda): Fix docstring.
5213         * org.el ("org-plot"): Help loading org-plot.
5214         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
5215         (org-metadown-hook, org-shiftmetaleft-hook)
5216         (org-shiftmetaright-hook, org-shiftmetaup-hook)
5217         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
5218         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5219         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
5220         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
5222         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
5223         for selecting files with any (and even without) extension.
5225         * org.el (org-save-all-org-buffers): Also save id locations.
5226         (org-revert-all-org-buffers): Also load id locations.
5228 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
5229         * org.el (org-drawers): Add LOGBOOK to the default drawers.
5230         (org-log-state-notes-into-drawer): New option.
5231         (org-add-log-setup): Place the sate note marker into the drawer,
5232         create drawer when necessary.
5233         (org-refile-targets): Document special interpretation of LEVEL
5234         when odd-levels are used.
5236 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
5238         * org.el (org-store-log-note): Fix note indentation when adding
5239         notes to end of list.
5241         * org-exp.el (org-export-as-html): Add TODO keyword as extra
5242         class, so that each keyword can get special colors through CSS.
5244         * org-clock.el (org-clock-out): Add another nil for the previous
5245         state into the call to `org-add-log-setup'.
5247         * org.el (org-log-note-previous-state): New variable.
5248         (org-log-note-headings): New %S escape for old state.
5249         (org-todo): Call the note setup with the old state as an
5250         argument.
5251         (org-add-note): Add another nil for the previous state into the
5252         call to `org-add-log-setup'.
5253         (org-add-log-setup): New argument PREV-STATE.
5254         (org-add-log-note): Handle new %S escape.
5255         (org-store-log-note): Handle new %S escape.
5257 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
5259         * org-clock.el (org-clock-find-position): Do not swallow an item
5260         less indented than the CLOCK line itself.
5261         (org-clock-in): Push markers to lin after the clock line.
5262         (org-clock-find-position): Handle values of
5263         `org-clock-into-drawer' smaller than 2.
5265         * org-exp.el (org-html-level-start): Add a CSS class to section
5266         numbers.
5267         (org-export-html-toplevel-hlevel): Better documentation of the
5268         influence of this variables on H levels and css classes in
5269         export.
5271 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
5273         * org-agenda.el (org-agenda-custom-commands-local-options): Add
5274         timestamp and nottimestamp to the chooe menu.
5276         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
5277         (org-revert-all-org-buffers): New command.
5279 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
5281         * org.el (org-return): Implement `org-return-follows-link' in the
5282         function org-return.  This is more robust than using the mouse
5283         map, I think.
5284         (org-set-regexps-and-options): Match more general #+TODO lines.
5285         (org-make-options-regexp): New optional argument EXTRA, for an
5286         extra regexp.
5287         (org-tab-follows-link): Mark as deprecated.
5289 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
5291         * org-exp.el (org-export-preprocess-string): Remove clock lines
5292         earlier, so that they cannot cotribute to verbatim snippets.
5294 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
5296         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
5297         for finding drawers.
5298         (org-export-as-ascii, org-export-as-html): Count levels relative
5299         to the subtree header.
5300         (org-get-min-level): New optional argument OFFSET.
5301         (org-export): Make sure point is restored after popping up that
5302         window.
5304         * org.el (org-do-sort): Also take an inactive timestamp if no
5305         active one is found.
5307         * org-colview-xemacs.el (org-columns-capture-view): Copy before
5308         deleting duplicates.
5310         * org-colview.el (org-columns-capture-view): Copy before
5311         deleting duplicates.
5313         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
5314         text before first headline.
5316         * org.el (org-format-latex): Do not convert LaTeX fragments in
5317         protected examples.
5319 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
5321         * org-exp.el (org-export-html-style-default): Use color values
5322         instead of names for XHTML validation.
5324         * org.el (org-get-scheduled-time, org-get-deadline-time): New
5325         functions.
5326         (org-return-follows-link): Revert making this the default untile
5327         issues are resolved.
5329         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
5330         nottimestamp.
5332 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
5334         * org.el (org-mode): Make dependence stuff work more reliably.
5335         (org-update-parent-todo-statistics): Fix bug with updating
5336         statistics cookie.
5338         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
5339         ~ as verbatim delimiters.
5341         * org-exp.el (org-export-html-format-image): New argument
5342         PAR-OPEN.
5343         (org-export-as-html): Pass par-open to
5344         `org-export-html-format-image'.
5346 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
5348         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
5349         (org-use-fast-todo-selection, org-tags-column): New default
5350         setting for variables, based on a poll what typical uses use.
5352         * org-agenda.el (org-agenda-sorting-strategy)
5353         (org-agenda-tags-column): New default setting for variables, based
5354         on a poll what typical uses use.
5356 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
5358         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
5359         blocked entries from setting the blocked tag.
5361         * org-exp.el (org-export-html-footnotes-section): Use a more
5362         consistent id for footnotes.
5364         * org-export-latex.el (org-export-latex-classes): Remove the
5365         a4paper option from the default styles.
5367 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
5369         * org.el (org-enforce-todo-checkbox-dependencies): New option.
5370         (org-block-todo-from-checkboxes): New function.
5371         (org-todo): Make tripple prefix arg circumvent blocking.
5373         * org-timer.el (org-timer): Provide the timer feature.
5375         * org.el (org-require-autoloaded-modules): Add a few more files to
5376         the list of autoloaded modules.
5378         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5380 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
5382         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5383         drawers that are unprotected.
5384         (org-export-html-format-image): Make sure inlined LaTeX fragment
5385         images remain inlined.
5387         * org.el (org-toggle-ordered-property): New function.
5388         (org-mode-map): Add a key for `org-toggle-ordered-property'.
5389         (org-org-menu): Add menu entries for TODO dependencies.
5391 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
5393         * org.el (org-default-properties): Add ORDERED to the default
5394         properties, to get completion support for it.
5396         * org-list.el (org-update-checkbox-count): Update more than one cookie.
5398         * org.el (org-update-parent-todo-statistics): Update more than one
5399         cookie.
5401         * org-agenda.el (org-agenda-get-todos): Start search from correct
5402         position.
5404         * org.el (org-fast-todo-selection): Make sure TODO selection does
5405         not change buffer position.
5407         * org-list.el (org-toggle-checkbox): Implement adding or removing
5408         checkboxes from line or region when called with a prefix
5409         argument.
5411         * org-rmail.el (org-rmail-store-link): Protect the call to
5412         `rmail-narrow-to-non-pruned-header'.
5414         * org-clock.el (org-clock-special-range): Fix week display in
5415         clock tables.
5417         * org-exp.el (org-get-current-options): Fix bug when in indirect
5418         buffer.
5420 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
5422         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5423         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5424         (org-agenda-dim-blocked-tasks): New function.
5426         * org.el (org-enforce-todo-dependencies): New option.
5427         (org-block-todo-from-children-or-siblings): New function.
5429         * org-faces.el (org-agenda-dimmed-todo-face): New face.
5431         * org.el (org-todo): Return correct state type even if the blocker
5432         throws an error.
5433         (org-modifier-cursor-error): Renamed from
5434         `org-shiftcursor-error'.
5435         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5436         (org-shiftmetadown): Call `org-modifier-cursor-error'.
5438         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5439         to get real errors from the blocker hook.
5441         * org.el (org-shiftselect-error, org-call-for-shift-select): New
5442         functions.
5443         (org-set-visibility-according-to-property): Turn off the setting
5444         of `org-show-entry-below', to avoid overruling a FOLDED visibility
5445         property.
5447 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5449         * org.el (org-support-shift-select): New option.
5450         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5451         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5452         selection outside contexts.
5454         * org-list.el (org-at-item-bullet-p): New function.
5456         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5457         variables.
5459         * org-footnote.el (org-footnote-normalize): Remove unnecessary
5460         variable.
5461         (org-insert-footnote-reference-near-definition): Remove
5462         unnecessary let form.
5464         * org-export-latex.el (org-export-latex-first-lines): Add
5465         OPT-PLIST parameter.
5466         (org-export-as-latex): Call `org-export-latex-first-lines' with
5467         opt-plits parameter.
5468         (org-export-latex-preprocess): Remove unnecessary variables.
5470         * org-exp.el (org-infile-export-plist)
5471         (org-export-add-options-to-plist, org-export-kill-licensed-text)
5472         (org-export-remove-headline-metadata)
5473         (org-export-get-title-from-subtree, org-get-min-level)
5474         (org-html-do-expand): Remove innecessary let form.
5476         * org-colview-xemacs.el (org-columns-display-here): Remove
5477         unnecessary variables.
5479         * org-colview.el (org-columns-display-here): Remove unnecessary
5480         variables.
5482         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
5483         variables.
5485         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
5486         unnecessary variables.
5488         * org-agenda.el (org-search-view, org-agenda-get-blocks)
5489         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
5490         variables.
5492         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
5493         (org-compact-display-after-subtree-move): Remove unnecessary
5494         variables.
5495         (org-edit-fixed-width-region): Remove unnecessary variables.
5496         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
5497         (org-olpath-completing-read): Remove unnecessary variable.
5498         (org-auto-repeat-maybe): Remove unnecessary variable.
5499         (org-map-entries): Remove unnecessary variable.
5500         (org-buffer-property-keys, org-imenu-get-tree)
5501         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
5503 -----------------------------------------------------------------
5505 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5506         * org-exp.el (org-export-remove-timestamps): Never remove
5507         timestamps from tables.
5509         * org-export-latex.el (org-export-latex-first-lines): Add more
5510         options to the preprocessing of the text before the first
5511         headline.
5513 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
5515         * org-faces.el (org-clock-overlay): Make face compatible with
5516         XEmacs.
5518         * org.el (org-yank): Add property for delete-selection mode.
5520         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5522         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5523         variable.
5525         * org-table.el (org-table-insert-hline): Fix typo in fuction call
5526         to `backward-char'.
5528         * org-exp.el (org-export-as-html): Remove the initial space from
5529         colon examples.
5531         * org.el (org-scan-tags): Call
5532         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5534         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5535         customization groups.
5536         (org-agenda-tags-todo-honor-ignore-options): New option.
5537         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5538         New function.
5539         (org-agenda-get-todos): Use
5540         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5542 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
5544         * org-exp.el (org-export-format-source-code-or-example): Escape
5545         HTML characters also in examples that anre not treated with
5546         htmlize.  Also, just switch to EXAMPLE processing if we do not
5547         have a good version of htmlize.
5549         * org-rmail.el: Fix copyright notice.
5551         * org.el (org-activate-footnote-links): Improve footnote link
5552         highlighting.
5554         * org-footnote.el (org-footnote-normalize): Fix finding the end of
5555         a footnote definition at the end of the file.
5557         * org-table.el (org-table-get-specials): Add an imagined hline at
5558         the end of the table.  This can be useful for references that want
5559         to go to the end of the table.  Also fix bug when computing last
5560         row constants, in tables that do not start right at the right
5561         margin.
5562         (org-table-eval-formula): Match and replace remove references.
5563         (org-table-formula-substitute-names): Make sure that names inside
5564         a "remote" call are left alone, the will be replaced later when
5565         the remote call is handled.
5566         (org-table-convert-refs-to-rc): Do not convert things that might
5567         look like a reference, but are really part of an ID or namei n a
5568         remote reference.
5569         (org-table-get-remote-range): New function.
5571 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
5573         * org-faces.el (org-clock-overlay): Fix bug in face definition.
5575         * org-clock.el (org-clock-put-overlay): Use new face instead of
5576         `secondary-selection'.
5578         * org-faces.el (org-clock-overlay): New face.
5580 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
5582         * org-exp.el (org-get-current-options): Include the option for
5583         publishing time stamps.
5585         * org.el (org-toggle-heading): Renamed from
5586         `org-toggel-region-headings'.
5587         No longer needs a region defined, but will use it if there is one.
5588         (org-ctrl-c-star): Simplified, relying more on the internal
5589         workings of `org-toggle-heading'.
5590         (org-toggle-item): Renamed from `org-toggle-region-items'.
5591         No longer needs a region defined, but will use it if there is one.
5592         (org-ctrl-c-minus): Simplified, relying more on the inernal
5593         workings of `org-toggle-item'.
5595         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5596         environment detection.  Also, do real changes only in unprotected
5597         places.
5599 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
5601         * org-export-latex.el (org-export-latex-quotation-marks): Use
5602         `org-if-unprotected-1'.
5603         (org-export-latex-set-initial-vars): Check for class definition in
5604         property.
5606         * org-macs.el (org-if-unprotected-1): New macro.
5608 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
5610         * org-compat.el (org-count-lines): New function.
5612         * org-exp.el (org-export-format-source-code-or-example): Handle
5613         switches related to text areas.
5615         * org.el (org-activate-footnote-links): Don't allow match inside a
5616         link.
5618         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5620         * org-export-latex.el (org-export-latex-links): Keep a relative
5621         path relative also after export.
5623         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5625         * org.el (org-make-tags-matcher): Never use IDO for completing the
5626         tags matcher match string.
5627         (org-completing-read): Also remove the special biding for "?".
5629         * org-attach.el (org-attach-allow-inheritance): New option.
5630         (org-attach-inherited): New variable.
5631         (org-attach-dir): Handle properties related to the attachment
5632         directory.
5633         (org-attach-check-absolute-path): New function.
5634         (org-attach-set-directory, org-attach-set-inherit): New commands.
5635         (org-attach): Accommodate the new commands in the dispatcher.
5637 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
5639         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5640         `window-full-width-p'.
5642         * org-exp.el (org-export-as-html): Only check for images files
5643         that really can be inlined
5645         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5646         list of extensions to be a parameter.
5648         * org-exp.el (org-export-html-inline-image-extensions): New
5649         variable.
5651         * org-agenda.el (org-prepare-agenda): Use
5652         `org-agenda-block-separator'.
5653         (org-agenda-block-separator): New option.
5655 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5657         * org-export-latex.el (org-export-latex-tables): Call
5658         `org-table-clean-before-export' with the new optional argument.
5660         * org-exp.el (org-table-clean-before-export): New optional
5661         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5662         first column.
5664 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5666         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5667         histograms.
5669         * org-colview.el (org-colview-construct-allowed-dates): Better
5670         error catching when a date/time property does not have allowed
5671         values defined.
5673         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5674         Better error catching when a date/time property does not have
5675         allowed values defined.
5677 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5679         * org.el (org-map-entries): Restore point and restriction after
5680         `org-map-entries'.
5682 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5684         * org.el (org-time=, org-time<, org-time<=, org-time>)
5685         (org-time>=, org-time<>): Make sure both values are dates.
5687 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5689         * org-archive.el (org-extract-archive-heading): Allow %s for file
5690         name also in achive location heading.
5692 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5694         * org-archive.el (org-add-archive-files): Uniquify the list before
5695         returning it.
5697 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5699         * org-compat.el (org-fit-window-to-buffer): Use
5700         `window-full-width-p'.
5702         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5703         space after the colon in short examples.
5705         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5706         enforce a space after the colon.  However, we also allow lines
5707         that are *only* a colon.
5708         (org-export-as-html): Enforce the space after the colon in short
5709         examples.
5710         (org-export-preprocess-string): Do the colon example protection
5711         earlier.
5712         (org-export-remove-timestamps): Do not check for protection at the
5713         end of the line.
5715 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5717         * org.el (org-format-latex-options): Add new matcher for single
5718         letters between dollars.
5719         (org-get-header): Function removed.
5720         (org-heading-components): New function.
5722         * org-exp.el (org-export-define-heading-targets): Record ID's also
5723         as alternative targets.
5724         (org-export-as-html): Interpret "id:" links to other files by
5725         preserving the relative path.
5727         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5728         is nil.
5730         * org-exp.el (org-export-normalize-links): Protect the main link,
5731         to avoid special character processing.
5733         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5734         New variable.
5735         (org-export-latex-special-string-regexps): Variable removed.
5736         (org-export-latex-keywords): Use the new regexp.
5738         * org-exp.el (org-export-handle-include-files): Fetch switches and
5739         put them into the BEGIN statement.
5741         * org-timer.el (org-timer-mode-line-string): New variable.
5743         * org-clock.el (org-clock-mode-line-map): Renamed from
5744         `org-clock-mode-map'.
5745         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5746         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5747         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5748         (org-clock-remove-overlays): Renamed from
5749         `org-remove-clock-overlays'.
5751         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5752         and mode line display.
5753         (org-timer-stop): New command.
5754         (org-timer-seconds): Return correct time when timer is paused.
5755         (org-timer-mode-line-timer): New variable.
5756         (org-timer-set-mode-line, org-timer-update-mode-line): New
5757         functions.
5759         * org.el (org-insert-heading):  Handle new value `auto' for
5760         `org-blank-before-new-entry'.
5761         (org-org-menu): Add new items for timer functions.
5763         * org-list.el (org-insert-item): Handle new value `auto' for
5764         `org-blank-before-new-entry'.
5766         * org.el (org-blank-before-new-entry): New value `auto', made
5767         default.
5769 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5771         * org-exp.el (org-export-normalize-links): If the link is also
5772         used as the description, protect the description.
5774 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5776         * org.el (org-closest-date): Fix bug with yearly repeats, in
5777         combination with preference of the past as it is used for deadline
5778         and scheduling search.
5780         * org-exp.el (org-html-handle-time-stamps): No longer check for
5781         the `org-export-with-timestamps' option, because the preprocesser
5782         has taken care of this already.
5784         * org.el (org-entry-properties): Catch the case when this is
5785         called in a non-org-mode file.
5787         * org-export-latex.el (org-export-latex-remove-from-headlines):
5788         Variable made obsolete, also LaTeX export now uses the standard
5789         variables.
5790         (org-export-as-latex): Add the timestamps parameter to the
5791         preprocessor parameter list.
5792         (org-export-latex-content): Export the remaining keywords without
5793         considering to remove them.
5794         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5795         Use bold font instead of tt font for the keywords.
5796         (org-export-latex-fontify-headline): Format headlines, assuming
5797         that all keywords still present should be published.
5798         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5799         publish what ever remains of the time stamps.
5800         (org-export-latex-list-parameters): New option.
5801         (org-export-latex-lists): Pass additional parameters to the list
5802         converter.
5804         * org-exp.el (org-export-preprocess-string): Remove clock lines
5805         and timestamps already in the preprocesor.
5806         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5807         functions.
5808         (org-export-as-ascii, org-export-as-html): Add the timestamps
5809         parameter to the preprocessor parameter list.
5811         * org-list.el (org-list-parse-list): Parse for checkboxes.
5812         (org-list-to-generic): Introduce and handle new parameters :cbon
5813         and :cboff.
5814         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5815         optional parameter PARAMS.
5817         * org-export-latex.el (org-export-latex-special-chars): Fix
5818         problems with interpreting dollar signs.
5819         (org-inside-latex-math-p): New function.
5820         (org-export-latex-preprocess): Protect all the math fragments.
5822         * org.el (org-latex-regexps): Allow a dash after a dollar.
5824         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5825         mark after copying.
5827         * org-agenda.el (org-run-agenda-series): Have series options set
5828         when finalizing the agenda.
5830         * org-exp.el (org-export-format-source-code-or-example): Protect
5831         the converted examples.
5833         * org.el (org-set-regexps-and-options): Fix the regexp
5834         `org-complex-heading-regexp'.
5836 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5838         * org.el (org-edit-src-get-label-format): New function.
5839         (org-coderef-label-format): New option.
5840         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5841         a label format specification and make sure it is used in the edit
5842         buffer.
5843         (org-edit-src-get-label-format): New function.
5844         (org-store-link): Handle new coderef formats.
5845         (org-link-search): Handle new coderef formats.
5847         * org-footnote.el (org-footnote-create-definition)
5848         (org-footnote-goto-local-insertion-point): Make footnote insertion
5849         work correctly when the "Footnotes" headline is the last line in
5850         the buffer.
5852         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5853         the location.
5855 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5857         * org-w3m.el (org-w3m): New customization group.
5858         (org-w3m-deactivate-mark): New option.
5859         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5860         option say not to.
5862 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5864         * org.el (org-set-font-lock-defaults): Trigger footnote
5865         fontification.
5866         (org-activate-footnote-links): New function.
5867         (org-activate-links): New entry `footnote'.
5869         * org-faces.el (org-footnote): New face.
5871 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5873         * org-macs.el (org-re): Handle the [:word:] class.
5875         * org-exp.el (org-export-preprocess-string): Call
5876         `org-export-protect-colon-examples'.
5877         (org-export-protect-colon-examples): Renamed from
5878         `org-export-protect-examples', and scope limited to lines starting
5879         with a colon.
5881 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5883         * org-exp.el (org-export-preprocess-string): Move the preprocess
5884         hook to after turning on Org-mode.
5885         (org-export-preprocess-after-include-files-hook)
5886         (org-export-preprocess-after-tree-selection-hook)
5887         (org-export-preprocess-before-backend-specifics-hook)
5888         (org-export-preprocess-final-hook): New hooks.
5889         (org-export-preprocess-string): Run the new hooks.
5891         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5893         * org-footnote.el: New file.
5895         * org.el (org-footnote): Require footnote code.
5896         (org-startup-options): Add new footnote options.
5897         (org-mode-map): New keybindig for footnotes.
5898         (org-ctrl-c-ctrl-c): Add function at footnotes.
5899         (org-org-menu): New menu entries for footnotes.
5901         * org-export-latex.el (org-export-as-latex): Pass footnote
5902         variable to preprocessor.
5903         (org-export-latex-preprocess): Treat multiple references to a
5904         footnote.
5906         * org-exp.el (org-export-preprocess-string): Call
5907         `org-footnote-normalize'.
5908         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5909         to preprocessor.
5910         (org-export-as-html): Treat multiple references to a footnote.
5912 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5914         * org-export-latex.el (org-export-latex-links): Handle coderef
5915         links.
5917         * org.el (org-bracket-link-analytic-regexp++): New variable.
5918         (org-make-link-regexps): Initialize
5919         `org-bracket-link-analytic-regexp++'.
5920         (org-store-link): Implement special case in edit-src buffer.
5921         (org-insert-link): No use of ide to insert stored links.
5922         (org-link-search): Implement special case for coderefs.
5924         * org-exp.el (org-export-html-scripts): New constant.
5925         (org-export-html-style-default): Add a new style for highlighted
5926         code.
5927         (org-export-code-refs): New variable.
5928         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5929         Call `org-export-replace-src-segments-and-examples'
5930         No longer call `org-export-protect-examples'.
5931         (org-export-target-internal-links): Take care of coderef targets.
5932         (org-export-last-code-line-counter-value): New variable.
5933         (org-export-replace-src-segments-and-examples): Renamed from
5934         `org-export-replace-src-segments', and modified.
5935         (org-export-format-source-code-or-example): Renamed from
5936         `org-export-format-source-code'.
5937         (org-export-number-lines): New function.
5938         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5940 --------------------------------------------------------------------------
5942 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5944         * org-remember.el (org-remember-handler): Safer way to get a new
5945         buffer accessing the target file.
5947         * org.el (org-refile-get-location): Handle case of current buffer
5948         not having a file associated with it.
5950 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5952         * org-table.el (org-table-get-formula): Only ask to overwrite
5953         field formula if there really is one.
5955         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5956         number, by converting these to a string.
5958         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5959         located in a different file.
5961         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5962         org-colview.el.
5964 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5966         * org.el (org-completion-use-ido): Enhance docstring of
5967         `org-completion-use-ido'.
5969         * org-export-latex.el (org-export-latex-make-header): Double the %
5970         in the time stamp format.
5971         (org-export-latex-special-chars): Handle case where there is no
5972         match group 3.
5974 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5976         * org.el (org-get-refile-targets, org-refile-get-location): Use
5977         expanded file name to improve comparison.
5979 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5981         * org.el (org-scan-tags): Rescan for tags, to get the correct
5982         upcase/downcase stuff.  This slows things down for now, but it
5983         works.
5984         (org-mode): Make sure the tag-faces regexp is initialized.
5986         * org-export-latex.el (org-export-latex-links): Fix bug with
5987         undefined label.
5989         * org-table.el (org-table-get-specials): Set
5990         `org-table-current-last-data-line'.
5991         (org-table-current-last-data-line): New variable.
5992         (org-table-insert-column, org-table-delete-column)
5993         (org-table-move-column, org-table-fix-formulas): Call
5994         `org-table-fix-formulas' a second time to fix the $LR references.
5995         (org-table-get-specials): Add the $LR references to the tables.
5996         (org-table-get-formula): Do not offer last-row names as LHS of
5997         formulas.
5999         * org.el (org-store-link): Capture link description from
6000         `org-id-store-link'.
6002         * org-exp.el (org-export-html-format-image): Add the / to the end
6003         of the <img> tag.
6004         (org-export-format-source-code): Surround example by empty lines,
6005         to make sure it will not be inside a paragraph.
6007         * org.el (org-ido-switchb): New function.
6009 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
6011         * org-agenda.el (org-agenda-show): New prefix argument
6012         FULL-ENTRY.
6014         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
6015         argument.
6017         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
6018         `org-agenda-change-all-lines'.
6019         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
6020         tags are now retrieved locally.
6022 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
6024         * org.el (org-get-outline-path): Fix bug if level is not given.
6025         (org-org-menu): Do not quote function in menu vector.
6027         * org-agenda.el (org-finalize-agenda): Fix typo with variable
6028         name.
6030 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
6032         * org.el (org-refile): Avoid refiling to within the region to be
6033         refiled.
6035         * org-export-latex.el (org-export-latex-special-chars): Replace
6036         special characters also in tables.
6038         * org-agenda.el (org-agenda-change-all-lines): New argument
6039         FORCE-TAGS.
6040         (org-agenda-set-tags): Cet the new tags and pass them to
6041         `org-format-agenda-item'.
6043 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
6045         * org-export-latex.el (org-export-latex-classes): Add longable as
6046         a default package to all classes.
6047         (org-export-latex-tables): Handle the longtable attribute and the
6048         align attribute.
6050         * org-table.el (orgtbl-to-generic): Handle tables that start with
6051         a hline.
6053         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
6054         \verb for colde-like snippets.
6055         (org-export-as-latex): Fix issues with region export.
6057         * org.el (org-up-heading-safe): Speed up function by using a
6058         direct regexp search.
6059         (org-olpa): New variable.
6060         (org-get-outline-path): Speed-up path constructions in cases where
6061         this is possible because the entire hierarchy is scanned anyway.
6062         (org-refile-get-location): Don't compare the truenames of files,
6063         this is too slow.
6064         (org-goto-max-level): New option.
6065         (org-goto): Use `org-goto-max-level'.
6067 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
6069         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
6070         Strip angle brackets from message-ids in the former and don't do
6071         it in the latter.
6072         (org-gnus-follow-link): Open summary reliable, even if the last
6073         messages were deleted, and handle empty groups, too.
6075 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
6077         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
6078         instead of \texttt for the =...= and ~===~ emphasis environments.
6079         (org-export-as-latex): Remove any old :org-license-to-kill text
6080         properties.
6081         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
6082         (org-export-latex-make-header): Add some hard space after the
6083         table of contents.
6084         (org-export-latex-first-lines): Accept RBEG argument.  Mark
6085         exported text so that it will be excuded in further steps.
6087         * org-table.el (org-table-get-specials): Make @0 reference the
6088         last line in a table.
6089         (org-table-recalculate): Improve docstring.
6091 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
6093         * org.el (org-log-done): Fix docstring.
6095 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
6097         * org-exp.el (org-export-html-format-image): Fix bugs.
6099         * org-export-latex.el (org-export-latex-tables)
6100         (org-export-latex-links): Implement attribute, label, and caption
6101         handling.
6103         * org-exp.el (org-export-html-style-default): Add style
6104         definitions for the figure div.
6105         (org-export-preprocess-string, org-export-as-html): Implement
6106         attribute, label, and caption handling.
6107         (org-export-attach-captions-and-attributes): New function.
6108         (org-export-html-format-image): New function.
6109         (org-format-org-table-html): Implement attribute, label, and
6110         caption handling.
6112         * org.el (org-find-text-property-in-string): New function.
6113         (org-extract-attributes): Use the property org-attr instead of
6114         org-attrobutes, because this property is now set with the #+ATTR
6115         lines.
6117 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
6119         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
6120         the case that FROM is nil.
6122         * org.el (org-before-first-heading-p): New function.
6124 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
6126         * org-exp.el (org-export-as-html): Do not add a space before
6127         enforces line breaks.
6128         (org-export-as-html): Close paragraph before blockquote and verse
6129         tags.
6131 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
6133         * org-id.el (org-id-locations-file): Wrap file name with
6134         `convert-standard-filename'.
6135         (org-id-files): New variable.
6136         (org-id-use-hash): New option.
6137         (org-id-update-id-locations): Also search in all files current
6138         listed in `org-id-files'.  Convert the resulting alist to a hash
6139         if the user customation says so.
6140         (org-id-locations-save): Handle he case if `org-id-locations' is a
6141         hash.
6142         (org-id-locations-load): Convert the alist to a hash.
6143         (org-id-add-location): Handle the hast case.
6144         (kill-emacs-hook): Make sure id locations are saved when Emacs is
6145         exited.
6146         (org-id-hash-to-alist, org-id-alist-to-hash)
6147         (org-id-paste-tracker): New functions.
6149 -------------------------------------------------------------------------
6151 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
6153         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
6154         bindings of calendar variables.
6156         * org-table.el (org-table-find-row-type): Renamed from
6157         `org-find-row-type'.
6158         (org-table-rewrite-old-row-references): Renamed from
6159         `org-rewrite-old-row-references'.
6160         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
6161         (org-table-cleanup-narrow-column-properties): Renamed from
6162         `org-cleanup-narrow-column-properties'.
6164 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
6166         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
6167         for better error messages.
6168         (org-table-get-descriptor-line): Supply the new arguments to
6169         `org-find-row-type'.
6170         (org-table-error-on-row-ref-crossing-hline): New option.
6172         * org.el (org-target-link-regexp): Make buffer-local.
6173         (org-move-subtree-down): Fix bug with trees at beginning of
6174         buffer.
6176 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
6178         * org-faces.el (org-set-tag-faces): New function.
6179         (org-tags-special-faces-re): New variable.
6181         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
6183         * org-faces.el (org-tag-faces): New option.
6184         (org-tag): Mention `org-tag-faces' in the docstring.
6186 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
6188         * org-exp.el (org-export-html-style-default): Implement new
6189         quoting.
6191         * org-jsinfo.el (org-infojs-template): Implement new quoting.
6193         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
6194         command to the `w3m-minor-mode-map'.
6196         * org-archive.el (org-archive-to-archive-sibling): Protect
6197         `this-command' to avoid appending kills during archiving.
6199         * org-exp.el (org-export-with-priority): New variable.
6200         (org-export-add-options-to-plist): Use `org-export-plist-vars'
6201         instead of internal list of strings and properties.
6202         (org-print-icalendar-entries): Retrieve the location property with
6203         inheritance.
6205 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
6207         * org-exp.el (org-export-with-todo-keywords): New option.
6208         (org-export-plist-vars): Include also the keys for the #+OPTIONS
6209         line.
6210         (org-default-export-plist, org-export-add-options-to-plist)
6211         (org-export-as-ascii, org-export-as-html): Use the new structure
6212         of `org-export-plist-vars'.
6214         * org.el (org-map-entries): Return all values.
6216 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
6218         * org.el (org-matcher-time): Recognize more special values.
6220         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
6222 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
6224         * org.el (org-tags-exclude-from-inheritance): New option.
6225         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
6226         `org-tags-exclude-from-inheritance'.
6228         * org-agenda.el (org-agenda-show-inherited-tags): New option.
6229         (org-format-agenda-item): Add inherited tags to the agenda line
6230         string, and make sure that properties are kept when downcasing the
6231         tags list.
6232         (org-agenda-add-inherited-tags): New function.
6233         (org-downcase-keep-props): New function.
6235         * org.el (org-scan-tags): Mark inherited tags with a text
6236         property.
6237         (org-get-tags-at): Mark inherited tags with a text property.
6238         (org-add-prop-inherited): New function.
6240         * org-agenda.el (org-agenda-add-inherited-tags): New function.
6241         (org-agenda-show-inherited-tags): New option.
6243 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
6245         * org.el (org-modules): Add org-w3m to the default modules.
6247         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
6248         orgtbl-mode.
6249         (orgtabl-create-or-convert-from-region): New command.
6251         * org-exp.el (org-export-as-ascii): Remove the handling of
6252         targets.
6253         (org-export-ascii-preprocess): Handle targets already in this
6254         function.
6256 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
6258         * org-timer.el (org-timer-start-time): Define this variable.
6259         (org-timer-item): Make argument optional.
6261         * org-list.el (org-insert-item): Automatically insert a timer item
6262         if the current list is a timer list.
6264         * org-timer.el: New file.
6266         * org-publish.el (org-publish-org-index): Only exclude the index
6267         file in the main directory from being added to the site-map.
6268         (org-publish-get-project-from-filename): If the current project is
6269         a component, start publishing from the parent project.
6271 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
6273         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
6275         * org-publish.el (org-publish-org-index): Improve removal of
6276         temporary buffers.
6278         * org-agenda.el (org-get-closed): Re-apply changes
6279         accidentially overwritten by last commit to Emacs.
6281         * org.el (org-outline-path-complete-in-steps): New option.
6282         (org-refile-get-location): Honor
6283         `org-outline-path-complete-in-steps'.
6284         (org-agenda-change-all-lines, org-tags-sparse-tree)
6285         (org-time-string-to-absolute, org-small-year-to-year)
6286         (org-link-escape): Re-apply changes accidentially overwritten
6287         by last commit to Emacs
6289 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
6291         * org-clock.el (org-dblock-write:clocktable): Make sure the
6292         clocktable sees the first line.
6293         (org-clock-in): Warn if the clock cannot be resumed.
6295 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
6297         * org.el (org-open-at-point): Fix mixup about interactive and
6298         non-interactive elisp links.
6300 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6302         * org-exp.el (org-export-preprocess-string): Allow one comment
6303         line before the first headline to always be included.  This is
6304         to not miss a commented target.
6306         * org-mouse.el (org-mouse-insert-item): Call
6307         `org-indent-to-column' instead of `indent-to', for XEmacs
6308         compatibility.
6310         * org.el (org-refile-targets): Fix customize definition so
6311         that it works also in XEmacs.
6312         (org-fixup-indentation): Call `org-indent-to-column' instead
6313         of `indent-to', for XEmacs compatibility.
6315 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
6317         * org-mew.el (org-mew-store-link): Get the correct case folder
6318         for refiled messages.
6320 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6322         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
6323         line break indicators.
6325         * org.el (org-ido-completing-read): Remove the "i:" prefix for
6326         ido-completion propts.
6328 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6330         * org-remember.el (org-remember-apply-template): Use
6331         `org-substring-no-properties'.
6333         * org-compat.el (org-substring-no-properties): New function.
6335         * org-remember.el (org-remember-apply-template): Use
6336         `org-substring-no-properties' for compatibility.
6338         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
6339         option.
6340         (org-fix-bullet-type): respect
6341         `org-list-two-spaces-after-bullet-regexp'.
6343         * org-clock.el (org-clock-load): Clean up the code.
6345         * org.el (org-adaptive-fill-function): Allow two spaces after
6346         "1." as a list bullet.
6348 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
6350         * org-clock.el (org-clock-save, org-clock-load): Check for
6351         live buffers, existing files, and buffer file names to ensure
6352         consistent information.
6353         (org-clock-persist): Make `clock' a special value of this
6354         variable, and improve docstring.
6356         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6357         (org-get-string-indentation): Adapt indentation when the bullet
6358         width changes.
6360 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
6362         * org-remember.el (org-remember-finalize): Make interactive.
6363         (org-remember-kill): New command.
6364         (org-remember-finish-immediately): Call `org-remember-finalize'
6365         directly.
6366         (org-remember-finalize): Make `org-remember-finalize' an interactive
6367         function.
6369 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
6371         * org-remember.el (org-remember-apply-template): No ido completion
6372         for free prompts in remember templates.
6373         (org-remember-before-finalize-hook): New hook.
6374         (org-remember-mode): New minor mode.
6375         (org-remember-apply-template): Turn on `org-remember-mode'.
6377         * org-id.el (org-id-add-location): Avoid error when no file is
6378         given.
6380         * org-remember.el (org-remember-apply-template): Fix the way how
6381         the list of allowed properties is retrieved from the target file.
6383         * org.el (org-insert-link): Improve file link matching.
6385 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
6387         * org-colview.el (org-columns-display-here): New argument
6388         DATELINE, to trigger using the new face.
6389         (org-agenda-colview-summarize): Call `org-columns-display-here'
6390         with the new argument.
6392         * org-faces.el (org-agenda-column-dateline): New face.
6394         * org-publish.el (org-publish-org-index): Use index-title at page
6395         title, not as section.
6397         * org-exp.el (org-export-html-format-desc): Respect the
6398         org-protect property.
6399         (org-export-as-html): Protect image specifiers that are in the
6400         description part of a link.
6402         * org.el (org-sort-entries-or-items, org-completing-read)
6403         (org-refile-get-location, org-olpath-completing-read, org-todo)
6404         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6405         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6406         (org-set-property, org-delete-property)
6407         (org-delete-property-globally): Use `org-ido-completing-read'.
6409         * org-remember.el (org-remember-apply-template): Use
6410         `org-ido-completing-read'.
6412         * org-publish.el (org-publish): Use `org-ido-completing-read'.
6414         * org-colview.el (org-columns-edit-value, org-columns-new)
6415         (org-insert-columns-dblock): Use `org-ido-completing-read'.
6417         * org-colview-xemacs.el (org-columns-edit-value)
6418         (org-columns-new, org-insert-columns-dblock): Use
6419         `org-ido-completing-read'.
6421         * org-attach.el (org-attach-delete-one, org-attach-open): Use
6422         `org-ido-completing-read'.
6424         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6425         `org-ido-completing-read'.
6427         * org.el (org-time-today): New function.
6428         (org-matcher-time): Use `org-time-today'.  Add special treatment
6429         for "<tomorrow>" and "<yesterday>".
6430         (org-ido-completing-read): New function.
6431         (org-completion-use-ido): New option.
6433         * org-exp.el (org-export-format-source-code): Fix bug in require
6434         htmlize code.
6435         (org-export-target-internal-links): Fix bug in search for text
6436         property.
6438 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
6440         * org-export-latex.el (org-export-latex-subcontent): Interprete
6441         target aliases as additonal labels.
6443         * org-exp.el (org-export-target-aliases): New variable.
6444         (org-export-preprocess-string)
6445         (org-export-handle-invisible-targets): Fill the alias alist.
6446         (org-export-as-html): Remove the &nbsp; from the anchor, and also
6447         assign an id.
6448         (org-html-level-start): Insert the target aliases as additonal
6449         anchors.
6451         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6452         picture area.
6454 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
6456         * org.el (org-open-at-mouse): Ensure correct link abbreviations
6457         when following a link with the mouse from the agenda.
6459         * org-exp.el (org-export-as-html): Avoid lone </div> when no
6460         headlines are created.
6462 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
6464         * org-exp.el (org-export-preprocess-string): Reorder so that we
6465         can still see ID properties when we collect targets.
6466         (org-export-target-internal-links): Also store targets for ID's.
6468         * org.el (org-link-translation-function): New option.
6469         (org-open-at-point): Call `org-link-translation-function' if
6470         non-nil.
6471         (org-translate-link): New function.
6472         (org-translate-link-from-planner): New function.
6473         (org-open-at-point): Allow interactive commands in elisp links.
6475         * org-exp.el (org-icalendar-cleanup-string): Restore the old
6476         iCalendar quoting.  The new one seems to caus problems with
6477         applications.
6479         * org.el (org-yank): Set `this-command' to `yank', so that
6480         `yank-pop' will work.
6482 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6484         * org-id.el (org-id-search-archives): New option.
6486         * org.el (org-link-to-org-use-id): New option.
6487         (org-store-link): Use `org-link-to-org-use-id'.
6488         (org-id): Make org-id.el a standard component.
6490 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6492         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6493         hexified version of the tag.
6495         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6496         compliance as far as quoting is concerned.
6498         * org-vm.el (org-vm-follow-link): Require `vm-search'.
6500         * org.el (org-up-heading-safe, org-forward-same-level): Always
6501         call `org-back-to-heading' instead of `outline-back-to-heading'.
6502         (org-back-to-heading): New wrapper around outline-back-to-heading,
6503         with a useful error message telling where the error happened.
6505         * org-list.el (org-update-checkbox-count): Always call
6506         `org-back-to-heading' instead of `outline-back-to-heading'.
6508         * org-exp.el (org-export-as-html): Make sure that each <img> tag
6509         has an `alt' attribute, to ensure XHTML validation.
6511 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
6513         * org-publish.el (org-publish-attachment): Allow publishing to
6514         overwrite attachment files.
6516         * org-agenda.el (org-agenda-timerange-leaders): New option.
6517         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6519         * org.el (org-edit-src-exit): Untabify ASCII image before
6520         returning.
6533 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
6535         * org.el (org-yank): Make any prefix force normal yanking.
6536         Suppress folding if text would be swallowed into a folded
6537         subtree.
6538         (org-yank-folded-subtrees, org-yank): Docstring updates.
6540         * org-agenda.el (org-agenda-compare-effort): Treat no effort
6541         defined as 0.
6543         * org-exp.el (org-export-language-setup): Add Catalan and
6544         Esperanto language entries.
6546 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
6548         * org.el (org-refile): Allow refiling of entire regions.
6550         * org-clock.el (org-clock-time%): New function.
6552         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6553         retrieve property values.
6555 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
6557         * org-agenda.el (org-agenda-list): Handle the value `only' of
6558         org-agenda-show-log'.
6559         (org-agenda-log-mode): Interpret a double prefix arg.
6561 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
6563         * org-exp.el (org-export-html-footnotes-section): New variable.
6564         (org-export-as-html): Use `org-export-html-footnotes-section' to
6565         insert the footnotes.
6566         (org-export-language-setup): Add "Footnotes" to language words.
6568 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
6570         * org.el (org-yank): Fix bug when not inserting a subtree.
6572 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
6574         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6575         instead of `vm-beginning-of-message'.
6577         * org.el (org-make-link-regexps): Make sure that links to gnus can
6578         contain brackets.
6580 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
6582         * org-attach.el (org-attach-dir): Remove duplicate ID creation
6583         code.
6585         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6586         shell output.
6588         * org.el (org-link-abbrev-alist): Improve customization type.
6590         * org-attach.el (org-attach-expand-link, org-attach-expand): New
6591         functions.
6593         * org-agenda.el (org-agenda-get-progress): Renamed from
6594         `org-get-closed'.  Implement searching for state changes as well.
6595         (org-agenda-log-mode-items): New option.
6596         (org-agenda-log-mode): New option prefix argument, interpreted as
6597         request to show all possible progress info.
6598         (org-agenda-get-day-entries): Call `org-get-progress' instead of
6599         `org-get-closed'.
6600         (org-agenda-set-mode-name): Handle the more complex log mode
6601         settings.
6602         (org-get-closed): New alias, pointing to `org-get-progress'.
6604 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
6606         * org.el (org-file-apps-defaults-gnu)
6607         (org-file-apps-defaults-macosx)
6608         (org-file-apps-defaults-windowsnt): Add an entry defining the
6609         system command.
6610         (org-file-apps): Allow `system' as key and value.
6611         (org-open-at-point): Explain the effect of a double prefix arg.
6612         (org-open-file): If the argument `in-emacs' is (16),
6613         i.e. corresponding to a double prefix argument, try to open the
6614         file externally.
6616 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
6618         * org.el (org-insert-link): Abbreviate absolute files names in
6619         links.  Also, fix a bug in which the double C-u prefix would not
6620         be honored.
6622 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
6624         * org.el (org-insert-heading): If buffer does not end with a
6625         newline, add one if necessary to insert headline correctly.
6627         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6628         paragraphs, not inside.
6630         * org.el (org-todo): Quote
6631         `org-agenda-headline-snapshot-before-repeat'.
6633         * org-exp.el (org-export-as-html): Fully process link descriptions.
6634         (org-export-html-format-desc): New function.
6635         (org-export-as-html): Collect footnotes into the correct basket.
6636         (org-html-protect): No longer protect quotations marks here, this
6637         goes wrong.
6639         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6640         BEG.
6642         * org-compat.el (org-fit-window-to-buffer): New function (not
6643         really, a preliminary and incomplete version was present earlier,
6644         but not used).
6646         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6647         `org-fit-window-to-buffer'.
6649         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6651         * org-agenda.el (org-agenda-get-restriction-and-command)
6652         (org-fit-agenda-window, org-agenda-convert-date): Use
6653         `org-fit-window-to-buffer'.
6655         * org-exp.el (org-export-as-html): Process href links through
6656         `org-export-html-format-href'.
6657         (org-export-html-format-href): New function.
6659         * org-agenda.el (org-agenda-todo): Update only the current
6660         headline if this is a repeated TODO, marked done for today.
6661         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6662         only the current line.
6664         * org.el (org-todo): Take a snapshot of the headline if the
6665         repeater might change it.
6667 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6669         * org-publish.el (org-publish-find-title): Remove buffers visited
6670         only for extracting the title.
6672         * org-exp.el (org-export-html-style)
6673         (org-export-html-style-default): Mark style definitions as
6674         unparsed CDATA.
6676         * org-publish.el (org-publish-validate-link): Function
6677         re-introduced.
6679 2008-11-02  Charles Sebold  <csebold@gmail.com>
6681         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6682         property.
6683         (org-plot-quote-timestamp-field): New function.
6684         (org-plot-quote-tsv-field): Call timestamp field function when
6685         necessary rather than just quoting as a string.
6686         (org-plot/gnuplot-to-data): Pass in timefmt property.
6687         (org-plot/gnuplot-script): Supports timefmt property.
6688         (org-plot/gnuplot): Checks for timestamp column before checking
6689         for text index column.
6691 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6693         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6695         * org-publish.el (org-publish-org-index): Create a section in the
6696         index file.
6697         (org-publish-org-index): Stop linking to directories.
6699         * org.el (org-emphasis-alist): Use span instead of <u> to
6700         underline text.
6702         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6703         <pre> sections.
6705 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6707         * org-jsinfo.el (org-infojs-template): Remove language attribute
6708         from script tag.
6710 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6712         * org-agenda.el (org-agenda-remove-marked-text): New function.
6713         (org-agenda-mark-filtered-text)
6714         (org-agenda-unmark-filtered-text): New functions.
6715         (org-write-agenda): Remove fltered text.
6717         * org.el (org-make-tags-matcher): Give access to TODO "property"
6718         without speed penalty.
6720 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6722         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6723         option.
6724         (org-store-link-props): Make sure adding to the plist works
6725         correctly.
6727         * org-gnus.el (org-gnus-no-new-news): New function.
6728         (org-gnus-follow-link): Allow the article ID to be a message-id,
6729         in addition to allowing article numbers.  Message IDs make much
6730         more roubust links.
6731         (org-gnus-store-link): Use message-id to create link.
6733 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6735         * org.el (org-emphasize): Reverse the selection array.
6736         (org-emphasis-alist): Set <code> tags for the verbatim
6737         environment.
6739         * org-remember.el (org-remember-handler): Fix bug with
6740         prefix-related changing of the note storage target.
6742         * org-exp.el (org-print-icalendar-entries): Make the exported
6743         priorities compatible with RFC 2445.
6745         * org-clock.el (org-clock-save): Insert time stamp without
6746         dependence on time-stamp.el.
6748 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6750         * org.el ("saveplace"): If saveplace puts point into an invisible
6751         location, make it visible.
6752         (org-make-tags-matcher): Allow inactive time stamps in time
6753         comparisons.
6754         (org-yank-adjusted-subtrees): New option.
6755         (org-yank): Incorporate adjusting trees.
6756         (org-paste-subtree): New argument FOR-YANK which will cause
6757         insertion at point without backing up over white lines, and leave
6758         point at the end of the inserted text.  Also if the cursor is
6759         at the beginning of a headline, use the same level or the inserted
6760         tree.
6762         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6763         with broken symlinks
6765 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6767         * org-exp.el (org-export-select-tags, org-get-current-options):
6768         Fix typo.
6770 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6772         * org-agenda.el (org-format-agenda-item)
6773         (org-agenda-filter-make-matcher): Make sure tags are stored and
6774         compared donwcased.
6776 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6778         * org.el (org-insert-todo-heading): Fix bug with force-heading
6779         argument.
6781 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6783         * org-clock.el (org-clock-in-resume): Add a custom option to
6784         toggle starting the clock from an open clock line.
6785         (org-clock-in): When clocking in to an entry, if
6786         `org-clock-in-resume' is set, check if the first clock line is
6787         open and if so, start the clock from the time in the clock line.
6788         (org-clock-persist): Add a custom option to toggle clock
6789         persistence.
6790         (org-clock-persist-query-save): Add a custom option to toggle
6791         asking the user if they want to save the running clock when
6792         exiting.
6793         (org-clock-persist-query-resume): Add a custom option to toggle
6794         asking the user if they want to resume the saved clock when Emacs
6795         is restarted.
6796         (org-clock-save): Add a function to save clock data.
6797         This includes the contents of `org-clock-history' and the buffer
6798         and position of the currently clocked task, if any.
6799         (org-clock-load): Add a function to load clock data.
6800         This populates `org-clock-history', and resumes the saved clocked
6801         task if there is one.
6802         (org-clock-persistence-insinuate): Add a method to set up the
6803         hooks for clock persistence.
6805 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6807         * org-exp.el (org-export-as-ascii): Handle the case that we are
6808         publishing from an indirect buffer.
6810         * org-table.el (org-table-copy-down): Fix bug with time stamp
6811         increment.
6813         * org-mouse.el (org-mouse-features): New option.
6814         (org-mode-hook): Turn on features depending on
6815         `org-mouse-features'.
6817         * org.el (org-insert-heading-respect-content): Force heading
6818         creation.
6819         (org-insert-heading): keep the folding state of the heading before
6820         the inserted one.
6822 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6824         * org-archive.el (org-archive-to-archive-sibling): Handle top
6825         level headlines better.
6827 2008-10-21  Bastien Guerry  <bzg@altern.org>
6829         * org-export-latex.el (org-export-latex-classes): Added
6830         \usepackage{graphicx} to the default list of packages.
6832 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6834         * org-agenda.el (org-agenda-filter): Renamed from
6835         `org-agenda-filter-tags'.
6837 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6839         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6840         is not defined as a property in this entry.
6841         (org-add-log-note): Mask prefix argument when immediately storing
6842         the note.
6844         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6845         option.
6847 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6849         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6850         after drawers was skipping ahead one line too many, so notes were
6851         inserted after the first note instead of before it.
6853 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6855         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6856         New variables.
6857         (org-prepare-agenda): Reset the filter tags.
6858         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6859         Show filter tags in mode line.
6861         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6862         formatter.
6864         * org-export-latex.el (org-latex-entities-regexp): New constant.
6865         (org-export-as-pdf): Use two calls to `shell-command'.
6867 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6869         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6870         Honor the {} value of the subsuperscript setting.  Make sure that
6871         longer subsuperscripts are typeset in a roman font.
6873         * org.el (org-clock-update-time-maybe): Compute negative clock
6874         intervals correctly.
6876 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6878         * org.el (org-add-log-setup): Respect
6879         `org-log-state-notes-insert-after-drawers'.
6880         (org-log-state-notes-insert-after-drawers): New option.
6881         (org-todo-trigger-tag-changes): New function.
6882         (org-todo): Call `org-todo-trigger-tag-changes'.
6884 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6886         * org.el (org-add-log-setup): Only skip drawers if the are
6887         immediately after the scheduling keywords.
6889         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6890         function
6891         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6892         call it with the current todo state to get the state to switch to
6893         when clocking in.
6894         (org-clock-in): Use org-indent-line-function to indent clock lines.
6895         (org-clock-find-position): Fix indentation of empty clock drawers.
6897 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6899         * org-publish.el (org-publish-org-to): Handle case when
6900         org-export-to-pdf does return a file name, not a buffer.
6901         (org-publish-org-to-pdf): New function.
6903         * org-export-latex.el (org-export-as-pdf)
6904         (org-export-as-pdf-and-open): New commands.
6906         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6907         forms as ranges.
6909         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6910         things in protexted regions.
6912 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6914         * org-export-latex.el (org-export-latex-preprocess): Improve
6915         quoting of LaTeX environments.
6917 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6919         * org.el (org-edit-fixed-width-region): Exclude final newline from
6920         picture area.
6922         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6923         sections, to make internal links work.
6924         (org-export-latex-fontify-headline): Do not remove all text
6925         properties, to make sure that target properties survive this
6926         process.
6928         * org-exp.el (org-export-preprocess-string): Change sequence of
6929         modifications, to make sure links are prepared before the LaTeX
6930         conversions do happen.
6932 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6934         * org-attach.el (org-attach-delete-all): Renamed from
6935         `org-attch-delete'.  Add a security query before deleting the
6936         entire directory.  New optional argument FORCE can overrule the
6937         security query.
6938         (org-attach-delete-one): New command.
6940 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6942         * org-attach.el (org-attach-file-list): Fix bug with directory.
6944 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6946         * org.el (org-apps-regexp-alist): New function.
6947         (org-file-apps): Add auto-mode to the default value.
6948         (org-open-file): Use the new structure of org-file-apps.
6950         * org-attach.el (org-attach): Support the new keys.
6951         (org-attach-method): New option.
6953 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6955         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6956         March.
6958         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6959         of the list value o `org-use-tag-inheritance'.
6961         * org-attach.el (org-attach-auto-tag): New option.
6962         (org-attach-tag, org-attach-untag): New functions.
6963         (org-attach-attach, org-attach-new, org-attach-sync): Call
6964         `org-attach-tag'.
6965         (org-attach-delete): Call `org-attach-untag'.
6967 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6969         * org-table.el (orgtbl-self-insert-command): Make this work for
6970         the keypad as well.
6972 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6974         * org.el (org-add-log-setup): Limit searc for drawers to entry
6975         text, not to subtree.
6977         * org-clock.el (org-clock-heading-for-remember): New variable.
6978         (org-clock-in): Set `org-clock-heading-for-remember'.
6980 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6982         * org-remember.el (org-remember-apply-template): Add new
6983         expansions: %k, %K for currently clocked task and a link to the
6984         currently clocked task, and %< to file notes in the currently
6985         clocked task.
6987 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6989         * org-export-latex.el (org-export-latex-make-header): Also insert
6990         the content of the property :latex-header-extra.
6992         * org-exp.el (org-infile-export-plist): Put the content of
6993         #+LATEX_HEADER: into the property :latex-header-extra.
6995         * org-colview.el (org-columns-get-format-and-top-level): Remove
6996         resetting the marker.
6998         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6999         Remove resetting the marker.
7001         * org.el (org-entry-property-inherited-from): Improve docstring.
7002         (org-entry-get-with-inheritance): Reset marker before starting the
7003         search.
7005         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
7007 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
7009         * org.el (org-entry-get-multivalued-property)
7010         (org-entry-protect-space, org-entry-restore-space): New
7011         functions.
7012         (org-file-apps-defaults-macosx): Let postscript files be opened by
7013         preview.
7014         (org-time-stamp-inactive): Call `org-time-stamp'.
7015         (org-time-stamp): New argument `inactive'.  Also edit inacive
7016         stamps. Convert time stamp type.
7017         (org-open-file): Interpret the `default' value for the `command'
7018         in `org-file-apps'.
7020         * org-id.el (org-id-int-to-b36-one-digit)
7021         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
7022         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
7023         b36.
7025 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
7027         * org-id.el (org-id-reverse-string): New function.
7028         (org-id-new): Use `org-id-reverse-string' to make sure the
7029         beginning chars of the ID are mutating fast.  This allows to use a
7030         directory structure to spread things better.
7031         (org-id-prefix): Changed default to nil.
7033         * org-list.el (org-move-item-down, org-move-item-up): Remember and
7034         restore the column of the cursor position.
7036         * org-remember.el (org-remember-apply-template): Remove properties
7037         from `initial'.
7039 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
7041         * org-wl.el (org-wl-open): Remove useless call to
7042         `wl-thread-open-all'.
7044         * org-remember.el (org-remember-handler): Fix bug with `bottom'
7045         location.
7047 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
7049         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
7050         `org-bbdb-anniversaries'.
7052         * org.el (org-get-next-sibling, org-forward-same-level): New
7053         functions, similar to the outline versions, but invisible headings
7054         are OK.
7056 2008-09-25  Bastien Guerry  <bzg@altern.org>
7058         * org.el (org-auto-repeat-maybe): Insert a space between
7059         the timestamp's type and the timestamp itself.
7061 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
7063         * org-table.el (org-table-sum): Do not format the result with %g,
7064         it does rounding when there are too many digits.
7066         * org.el (org-map-entries): Protect the keyword-selecting variables.
7068 2008-09-23  Bastien Guerry  <bzg@altern.org>
7070         * org-agenda.el (org-agenda-to-appt): Make sure the function check
7071         against all agenda files.
7073 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
7075         * org-list.el: New file, aggregating list functions from org.el
7076         and org-export-latex.el.
7078         * org.el (org-edit-src-region-extra): New option.
7080 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
7082         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
7083         time before 1am.
7085 2008-09-22  Bastien Guerry  <bzg@altern.org>
7087         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
7089 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
7091         * org-plot.el (org-plot/gnuplot): Make tables starting with a
7092         hline work correctly.
7093         (org-plot/gnuplot-script): Put commas at the end of each script
7094         line.
7096 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
7098         * org.el (org-get-refile-targets): Replace links with their
7099         descriptions
7100         (org-imenu-get-tree): Replace links with their descriptions.
7102         * org-remember.el (org-remember-apply-template): Add a new
7103         expansion for adding properties to remember items.
7105         * org.el (org-add-log-setup): Skip over drawers (properties,
7106         clocks etc) when adding notes.
7108         * org-agenda.el (org-agenda-get-closed): show durations of clocked
7109         items as well as the start and end times.
7111         * org-compat.el (org-get-x-clipboard-compat): Add a compat
7112         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
7114         * org-remember.el (org-get-x-clipboard): Use the compat
7115         function to get clipboard values when x-selection-value is
7116         unavailable. Use substring-no-properties instead of
7117         set-text-properties to remove text properties from the clipboard
7118         value.
7120         * lisp/org-clock.el (org-update-mode-line): Support limiting the
7121         modeline clock string, and display the full todo value in the
7122         tooltip. Set a local keymap so mouse-3 on the clock string goes to
7123         the currently clocked task.
7124         (org-clock-string-limit): Add a custom value for the maximum
7125         length of the clock string in the modeline.
7126         (org-clock-mode-map): Add a keymap for the modeline string
7128 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
7130         * org-compat.el (org-propertize): New function.
7132 2008-09-20  Bastien Guerry  <bzg@altern.org>
7134         * org-export-latex.el (org-export-latex-tables): protect exported
7135         tables from further special chars conversion.
7136         (org-export-latex-preprocess): Preserve LaTeX environments.
7137         (org-list-parse-list): Parse descriptive lists.
7138         (org-list-to-generic, org-list-to-latex, org-list-to-html)
7139         (org-list-to-texinfo): Export descriptive lists.
7140         (org-quote-chars): Remove.
7141         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
7142         (org-export-latex-list-beginning-re): Rename to
7143         `org-list-beginning-re'
7144         (org-list-item-begin): Rename to `org-list-item-beginning'
7146 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
7148         * org.el (org-refile): Allow refiling to the last entry in the
7149         buffer.
7150         (org-get-tags-at): Fix bug when inheritance is turned off.
7152 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
7154         * org.el (org-indent-line-function): No longer check for src
7155         regions, this is too much overhead.
7157         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
7158         matching.
7160         * org.el (org-scan-tags): Make sure that tags matching is not case
7161         sensitive.  TODO keyword matching is case sensitive, however, to
7162         avoid confusion with similar words that are not meant to be
7163         keywords.
7165 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
7167         * org.el (org-get-local-tags-at): New function.
7168         (org-get-local-tags): New function.
7170         * org-exp.el (org-export-get-categories): New function.
7172         * org-agenda.el (org-sorting-choice)
7173         (org-agenda-sorting-strategy, org-agenda-get-todos)
7174         (org-agenda-get-timestamps, org-agenda-get-deadlines)
7175         (org-agenda-get-scheduled, org-agenda-get-blocks)
7176         (org-entries-lessp): Implement sorting by TODO state.
7177         (org-cmp-todo-state): New defsubst.
7179         * org-colview.el (org-colview-construct-allowed-dates): New
7180         function.
7181         (org-columns-next-allowed-value): Use
7182         `org-colview-construct-allowed-dates'.
7184         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
7185         function.
7186         (org-columns-next-allowed-value): Use
7187         `org-colview-construct-allowed-dates'.
7189 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
7191         * org.el (org-protect-slash): New function.
7192         (org-get-refile-targets): Use `org-protect-slash'.
7194         * org-agenda.el (org-global-tags-completion-table): New variable.
7196         * org-exp.el (org-export-handle-export-tags): New function.
7197         (org-export-preprocess-string): Call
7198         `org-export-handle-export-tags'.
7200         * org-plot.el: New file.
7202         * org-publish.el (org-publish-expand-components): Function removed.
7203         (org-publish-expand-projects): Allow components to have components.
7205 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
7207         * org.el (org-indent-line-function): Do not indent in regions that
7208         are external source code.
7209         (org-yank-and-fold-if-subtree): New function.
7211         * org-agenda.el (org-agenda-todayp): New function.
7212         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
7213         `org-agenda-todayp'.
7215         * org.el (org-insert-heading-respect-content)
7216         (org-insert-todo-heading-respect-content): New commands.
7217         (org-insert-heading-respect-content): New option.
7218         (org-insert-heading): Respect `org-insert-heading-respect-content'.
7220         * org-clock.el (org-clock-find-position): Make sure the note after
7221         the clock line gets moved into the new clock drawer.
7223 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
7225         * org-id.el (org-id-new): New option.
7227 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
7229         * org-table.el (org-table-copy-down): Avoid overflow during
7230         increment.  Use prefix argument 0 to temporarily disable the
7231         increment.
7233 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
7235         * org-exp.el (org-export-as-html): Do not turn on the major mode
7236         if the buffer will be killed anyway.
7237         (org-get-current-options): Exclude the #+TEXT field.
7238         (org-export-as-html): Make sure text before the first headline is
7239         a paragraph.
7241         * org-publish.el (org-publish-org-to): Tell the exporter that this
7242         buffer will be killed, so it is not necessary to do major mode
7243         initialization.
7245         * org-archive.el (org-archive-to-archive-sibling): Show empty
7246         lines after folding the archive sibling.
7248         * org.el (org-log-note-extra): New variable.
7250 2008-09-05  Bastien Guerry  <bzg@altern.org>
7252         * org.el (org-additional-option-like-keywords): Added keywords for
7253         the _QUOTE, _VERSE and _SRC environments.
7255         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
7256         exporting _QUOTE and _VERSE environments.
7258 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
7260         * org-agenda.el (org-agenda-filter-by-tag): New command.
7262         * org-exp.el (org-get-current-options): Remove angular brackets
7263         from the date entry.
7265         * org.el (org-edit-fixed-width-region): New function.
7266         (org-edit-fixed-width-region): Also try
7267         `org-edit-fixed-width-region'.
7268         (org-edit-fixed-width-region-mode): New option.
7269         (org-activate-code): Only interprete lines starting with colon
7270         plus a space as example lines.
7272         * org-remember.el (org-remember-templates): Add nil instead of
7273         empty strings to fix the length of remember templates.
7275         * org-table.el (org-calc-default-modes): Fix the time format for
7276         calc, from 12 hour to 24 hour clock.
7278 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
7280         * org-agenda.el (org-agenda-get-deadlines)
7281         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
7282         entries that are pre-warnings of deadlines or reminders.
7284         * org.el (org-sort-entries-or-items): Make numeric and alpha
7285         comparisons ignore any TODO keyword and priority cookie.
7287         * org-remember.el (org-remember-handler): Reinterpretation of the
7288         prefix argument.
7290 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
7292         * org-agenda.el (org-agenda-get-scheduled): Use new
7293         `org-scheduled' face.
7295         * org-faces.el (org-scheduled): New face.
7297         * org-wl.el (org-wl-open): Remove incorrect declaration.
7299         * org-gnus.el (org-gnus-store-link): Support for :to information
7300         in gnus links.
7302         * org-exp.el (org-export-as-html): Fixed typo in creator
7303         information.
7304         (org-export-protect-examples): New parameter indent.  Insert extra
7305         spaces only when this parameter is specified.
7306         (org-export-preprocess-string): Call `org-export-protect-examples'
7307         with an indentation parameter when exporting to ASCII.
7309         * org-remember.el (org-remember-templates)
7310         (org-remember-apply-template): Allow the file component to be a
7311         function.
7313         * org.el (org-goto-local-search-headings): Renamed from
7314         `org-goto-local-search-forward-headings'.  Added the possibility
7315         to search backwards.
7317 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
7319         * org-export-latex.el (org-export-latex): New customization
7320         group.
7322         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
7324 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
7326         * org-exp.el (org-html-do-expand): Allow {} to terminate
7327         tex macro
7329 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
7331         * org.el (org-buffer-list): Select buffers based on major mode,
7332         not on file name.
7334 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
7336         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
7337         face property.
7339         * org-colview.el (org-columns-display-here): Use
7340         `org-columns-modify-value-for-display-function'.
7342         * org-colview-xemacs.el (org-columns-display-here): Use
7343         `org-columns-modify-value-for-display-function'.
7345 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
7347         * org.el (org-columns-modify-value-for-display-function): New option.
7359         * org-publish.el (org-publish-file): Make sure the directory match
7360         for the publishing directory works correctly.
7362         * org-agenda.el (org-agenda-execute-calendar-command)
7363         (org-agenda-diary-entry): Additional optional argument.
7365 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
7367         * org-exp.el (org-export-as-html): Add attributes also in mailto
7368         and ftp links.
7370         * org.el (org-autoload): Add `org-dblock-write:columnview'.
7379 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
7381         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7382         sure that calls from `org-export-region-as-html' do not do the
7383         special check for a subtree.
7385 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
7387         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7389 2008-07-20  Juri Linkov  <juri@jurta.org>
7391         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7392         new keymap `narrow-map' instead of binding "\C-xns".
7394 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
7396         * org.el (org-open-file): Use
7397         `org-open-directory-means-index-dot-org'.
7398         (org-open-directory-means-index-dot-org): New option.
7400 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
7402         * org.el (org-make-link-string): Remove link attributes from
7403         description.
7404         (org-open-at-point): Remove link attributes bevore using the path.
7406         * org-exp.el (org-export-as-html): Handle link attributes.
7408         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7410         * org-table.el (org-table-to-lisp): New function.
7412         * org.el (org-narrow-to-subtree): Do not include the final newline
7413         into the narrowed region.
7415         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
7416         bug with user-define skipping condition.
7418 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
7420         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
7422 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
7424         * org-exp.el (org-export-html-style-default): Automatic overflow
7425         handling for pre fields.
7426         (org-export-as-ascii, org-export-as-html): Change default format
7427         for time stamp.
7429         * org-table.el (org-table-export): Offer completion for translator
7430         functions, and do not require a heading above the table.
7432         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7433         Cater for the case of a list starting in the first line of the
7434         buffer.
7436 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
7438         * org-publish.el (org-publish-find-title): Bug fix.
7439         (org-publish-org-index): Implement new :index-style option.
7441 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
7443         * org-publish.el (org-publish-timestamp-filename): Use
7444         SHA1-encoded file names in the timestamp directory.
7446 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
7448         * org-publish.el (org-publish-needed-p): Be verbose about files
7449         published and files skipped.
7451         * org-exp.el (org-export-preprocess-string): Swap link
7452         normalization and inernal link targeting.
7454         * org-publish.el (org-publish-needed-p): Create timestamp
7455         directory when it does not exist.
7457 2008-07-04  Bastien Guerry  <bzg@altern.org>
7459         * org-clock.el (org-clock-out-when-done): Doc fix.
7461         * org.el (org-agenda-skip-unavailable-files): Doc fix.
7463         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7464         Ignore case when searching for the COMMENT cookie at export time.
7466 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
7468         * org-exp.el (org-get-file-contents)
7469         (org-get-and-remove-property): New functions.
7470         (org-export-handle-include-files): Handle the new prefix options.
7471         (org-export-as-html): Fix the verse environment.
7473 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
7475         * org.el (org-time=, org-time<, org-time<=, org-time>)
7476         (org-time>=, org-time<>, org-2ft): New functions.
7477         (org-op-to-function): Also provide for the time testing fucntions.
7479 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
7481         * org-exp.el (org-export-html-style-default): New constant.
7483 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
7485         * org-exp.el (org-export-html-style-extra): New variable.
7486         (org-export-splice-style): New function.
7488 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
7490         * org-exp.el (org-export-plist-vars, org-export-as-html):
7491         Implement `org-export-creator-info'.
7492         (org-export-creator-info): New option.
7494 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
7496         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7497         (org-property-drawer-re, org-clock-drawer-re): New constants.
7499 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
7501         * org-exp.el (org-icalendar-use-deadline)
7502         (org-icalendar-use-scheduled): New options.
7503         (org-icalendar-include-todo): Default changed to t.
7504         (org-print-icalendar-entries): Implement better utilization of
7505         scheduling and deadline time stamps.
7506         (org-export-target-internal-links, org-export-as-html): Allow file
7507         lines without the "file:" prefix if the file path is an absolute
7508         path or starts with ".".
7510         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
7511         lastweek etc.
7512         (org-clock-special-range): Also undertand yesterday, lastweek etc.
7514 2008-06-18  Glenn Morris  <rgm@gnu.org>
7515         * org.el (org-map-entries): Let-bind `file'.
7517 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
7519         * org.el (org-agenda-skip-archived-trees): Docstring now
7520         discourages using this.
7521         (org-scan-tags): Check for org-agenda-archives-mode.
7522         (org-map-entries): Make sure org-agenda-archives-mode is nil.
7523         (org-agenda-files): Functionality of second arg changed.
7525         * org-agenda.el (org-agenda-archives-mode): New variable
7526         (org-write-agenda, org-prepare-agenda, org-agenda-list)
7527         (org-search-view, org-todo-list, org-tags-view)
7528         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7529         `ifmode' argument.
7530         (org-agenda-quit): Reset the archives mode.
7531         (org-agenda-archives-mode): New command.
7532         (org-agenda-set-mode-name): Include archives info.
7534 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
7536         * org.el (org-paste-subtree): Make sure the yanked headline is
7537         visible if it was yanked at a visible point.
7538         (org-move-item-up): Fix the bug with moving white space at the end
7539         of the item.
7540         (org-show-empty-lines-in-parent): New function.
7542 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
7544         * org-colview.el (org-columns-next-allowed-value): Bug fix.
7546         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7548         * org-agenda.el (org-agenda-get-closed): Get the end time into the
7549         agenda prefix as well.
7551         * org-publish.el (org-publish-org-index): Make a properly indented
7552         list.
7554         * org.el (org-calendar-agenda-action-key): New option.
7555         (org-get-cursor-date): New function.
7556         (org-mark-entry-for-agenda-action): New command.
7557         (org-overriding-default-time): New variable.
7558         (org-read-date): Respect `org-overriding-default-time'.
7560         * org-remember.el (org-remember-apply-template): Respect the
7561         ovverriding default time.
7563         * org-agenda.el (org-agenda-action-marker): New variable.
7564         (org-agenda-action): New command.
7565         (org-agenda-do-action): New function.
7567 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7569         * org.el (org-schedule, org-deadline): Protect scheduled and
7570         deadline tasks against changes that accidently remove the
7571         repeater.  Also show a message with the new date when done.
7573 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7575         * org.el (org-beginning-of-line): Cater for the case when there
7576         are tags but no headline text.
7577         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7578         it set.
7580 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
7582         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7583         the return value is nil instead of "nil" when there is no match.
7585         * org-exp.el (org-insert-centered): Use fill-column instead of
7586         80.
7587         (org-export-as-ascii): Use string-width to measure the width of
7588         the heading.
7590         * org.el (org-diary-to-ical-string): No longer kill buffer
7591         FROMBUF, this is now done by the caller.
7593         * org-exp.el (org-print-icalendar-entries): Move the call to
7594         `org-diary-to-ical-string' out of the loop, and kill the buffer
7595         afterwords.
7597         * org-remember.el (org-remember-visit-immediately): Position
7598         cursor after moving to the note.
7599         (org-remember-apply-template): Use a text property to record the
7600         cursor position.
7601         (org-remember-handler): Align tags after pasting the note.
7603 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
7605         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7607         * org-agenda.el (org-agenda-open-link): If there is an
7608         org-bbdb-name property in the current line, jump to that bbdb
7609         entry.
7611         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7612         text property, so that the agenda knows where this entry comes
7613         from.
7615         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
7616         interaction between clocking-in from the agenda, and  automatic
7617         task state switching.
7619         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
7621         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7622         zmacs-region stays after this command in XEmacs.
7624 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
7626         * org.el (org-scan-tags): Allow new values for ACTION parameter.
7628         * org-remember.el (org-remember-templates): Fix bug in
7629         customization type definition.
7631         * org.el (org-map-entries): New function.
7633 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
7635         * org-agenda.el (org-agenda-skip-comment-trees): New option.
7636         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7638 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
7640         * org-remember.el (org-jump-to-target-location): New variable.
7641         (org-remember-apply-template): Set
7642         `org-remember-apply-template' if requested by template.
7643         (org-remember-handler): Start an idle timer to jump to
7644         remember location.
7646         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7648         * org.el (org-set-regexps-and-options): Fix bug with parsing of
7649         file tags.
7650         (org-get-tags-at): Add the content of `org-file-tags'.
7652         * org-exp.el (org-export-handle-comments): Fix bug with several
7653         comment lines after each other.
7654         (org-number-to-roman, org-number-to-counter): New functions.
7655         (org-export-section-number-format): New option.
7657 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7659         * org-exp.el (org-export-protect-examples): Catch the case of a
7660         missing end_example line.
7662         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7663         `org-file-tags' to nil.
7665         * org-colview.el (org-columns-next-allowed-value): Handle next
7666         argument NTH to directly select a value.
7668         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7669         argument NTH to directly select a value.
7671 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7673         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7675 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7677         * org.el (org-columns-ellipses): New option.
7679 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7681         * org-colview.el (org-columns-add-ellipses): New function.
7682         (org-columns-compact-links): New function.
7683         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7684         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7685         when in agenda.
7686         (org-columns-edit-value): Fixed bug with editing values from
7687         agenda column view.
7688         (org-columns-redo): Also redo the agenda itself.
7690 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7692         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7693         option.
7695         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7697         * org-exp.el (org-export-ascii-preprocess): Renamed from
7698         `org-export-ascii-clean-string'.
7699         (org-export-kill-licensed-text)
7700         (org-export-define-heading-targets)
7701         (org-export-handle-invisible-targets)
7702         (org-export-target-internal-links)
7703         (org-export-remove-or-extract-drawers)
7704         (org-export-remove-archived-trees)
7705         (org-export-protect-quoted-subtrees)
7706         (org-export-protect-verbatim, org-export-protect-examples)
7707         (org-export-select-backend-specific-text)
7708         (org-export-mark-blockquote-and-verse)
7709         (org-export-remove-comment-blocks-and-subtrees)
7710         (org-export-handle-comments, org-export-mark-radio-links)
7711         (org-export-remove-special-table-lines)
7712         (org-export-normalize-links)
7713         (org-export-concatenate-multiline-links)
7714         (org-export-concatenate-multiline-emphasis): New functions,
7715         obtained from spliiting the export preprocessor.
7717         * org-table.el (org-table-recalculate): Improve error message if
7718         the row number is invalid.
7720 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7722         * org-archive.el (org-archive-save-context-info): Fix bugs in
7723         customization setup and docstring.
7725         * org-exp.el (org-export-html-style): Changed the size of in the
7726         <pre> element to 90%.
7728 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7730         * org.el (org-find-src-example-start): Function removed.
7731         (org-edit-src-find-region-and-lang): New function.
7733 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7735         * org.el (org-edit-src-exit): New function.
7736         (org-exit-edit-mode): New minor mode.
7738         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7739         comment-like lines from protected examples.
7741         * org.el (org-edit-src-example, org-find-src-example-start)
7742         (org-protect-source-example, org-edit-special): New functions.
7744 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7746         * org-publish.el (org-publish-project-alist): Fix typo in
7747         docstring.
7748         (org-publish-project-alist): Handle :index-title property.
7750 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7752         * org-export-latex.el (org-export-as-latex): Make sure region
7753         bounds are correct.  Parse subtree properties relating to export.
7755         * org-exp.el (org-export-add-options-to-plist): New function.
7756         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7758 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7760         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7761         EXPORT_TITLE.
7763         * org-exp.el (org-export-get-title-from-subtree)
7764         (org-export-as-ascii, org-export-as-html): Make sure the original
7765         region-beginning and region-end are used, even after moving
7766         point.
7767         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7768         property.
7770         * org-remember.el (org-remember-last-stored-marker): New variable.
7771         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7772         (org-remember-handler): Also use marker to remember
7773         last-stored position.
7775         * org.el (org-goto-marker-or-bmk): New function.
7777 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7779         * org.el (org-file-properties): Renamed from `org-local-properties'.
7780         (org-scan-tags): Take file tags into account.
7781         (org-tags-match-list-sublevels): Default changed to t.
7783         * org-exp.el (org-export-as-html): Close paragraph after a
7784         footnote.
7786         * org.el (org-update-parent-todo-statistics): New function.
7788         * org-exp.el (org-icalendar-store-UID): New option.
7789         (org-icalendar-force-UID): Option removed.
7790         (org-print-icalendar-entries): IMplement UIDs.
7792 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7794         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7796 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7798         * org-faces.el (org-column): Document how this face is being used
7799         and why sometimes the background faces shine through.
7801         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7803         * org-publish.el (org-publish-attachment): Create publishing
7804         directory if it does not yet exist.
7806         * org-table.el (org-calc-default-modes): Change default number
7807         format to (float 8).
7809         * org.el (org-olpath-completing-read): New function.
7810         (org-time-clocksum-format): New option.
7811         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7813         * org-clock.el (org-clock-display, org-clock-out)
7814         (org-update-mode-line): Use `org-time-clocksum-format'.
7816         * org-colview-xemacs.el (org-columns-number-to-string): Use
7817         `org-time-clocksum-format'.
7819         * org-colview.el (org-columns-number-to-string): Use
7820         `org-time-clocksum-format'.
7822 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7824         * org-id.el: New file, move from contrib to core.
7826         * org-exp.el (org-icalendar-force-UID): New option.
7828 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7830         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7831         shifted by one day if theere is a date range without an end
7832         time.
7834         * org.el (org-try-structure-completion): New function.
7836 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7838         * org.el (org-set-font-lock-defaults): Improve fontification of
7839         description lists.
7840         (org-insert-item): Handle description lists.
7841         (org-adaptive-fill-function): Improve auto indentation in
7842         description lists.
7844         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7845         Implement VERSE environment.
7846         (org-export-preprocess-string): Implement the COMMENT
7847         environment.
7849         * org-export-latex.el (org-export-latex-preprocess): Implement
7850         VERSE environment.
7852 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7854         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7855         option.
7857 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7859         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7861         * org.el (org-quote-csv-field): New functions.
7863         * org-table.el (org-table-export-default-format): Remove :splice
7864         from default format, we get the same effect by not specifying
7865         :tstart and :tend.
7866         (org-table-export): Improve setup, distinguish better between
7867         interactive and non-interactive use, allow specifying the format
7868         on the fly, better protection against wrong file names.
7869         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7870         and :tend when :splice is omitted.
7872 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7874         * org-clock.el (org-clock-select-task): Make sure the selection
7875         letters are 1-9 and A-Z, no special characters.
7877 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7879         * org-exp.el (org-export-htmlize): New group.
7880         (org-export-htmlize-output-type)
7881         (org-export-htmlize-css-font-prefix): New options.
7882         (org-export-htmlize-region-for-paste): New function.
7883         (org-export-htmlize-generate-css): New command.
7885 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7887         * org/org.el (org-modules, org-format-latex-options):
7888         * org/org-archive.el (org-archive-stamp-time)
7889         (org-archive-save-context-info):
7890         * org/org-faces.el (org-hide):
7891         * org/org-irc.el (org-irc-parse-link):
7892         * org/org-macs.el (org-call-with-arg, org-autoload):
7893         * org/org-mew.el (org-mew-store-link):
7894         * org/org-remember.el (org-remember-store-without-prompt)
7895         (org-remember-templates): Fix typos in docstrings.
7897         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7899         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7900         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7901         (org-bbdb-anniv-split): Fix typos in docstrings.
7903         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7904         (org-publish-use-timestamps-flag): Reflow docstring.
7905         (org-publish-files-alist): Fix typos in docstring.
7907 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7909         * org.el (org-set-visibility-according-to-property): New function.
7910         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7911         and compute the regular expressions, and update font-lock.
7912         (org-property-re): Allow a dash in property names.
7914         * org-archive.el (org-extract-archive-file): Insert the file name
7915         without the path into the format, to allow the location format to
7916         contain a subdirectory.
7918         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7919         of buffer, and the `org-agenda-type' property undefined, use the
7920         value from the character before.
7922         * org.el (org-add-planning-info): Don't let indentation for
7923         would-be timestamp become extra whitespace at the end of headline.
7925 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7927         * org.el (org-remove-double-quotes, org-file-contents): New
7928         functions.
7930         * org-exp.el (org-infile-export-plist): Also parse the
7931         contents of #+SETUPFILE files, recursively.
7933         * org.el (org-set-regexps-and-options): Also parse the
7934         contents of #+SETUPFILE files, recursively.
7936         * org-exp.el (org-export-handle-include-files): New function.
7937         (org-export-preprocess-string): Call
7938         `org-export-handle-include-files'.
7940         * org.el (org-delete-property-globally)
7941         (org-delete-property, org-set-property): Ignore case during
7942         completion.
7943         (org-set-property): Use `org-completing-read' instead of
7944         `completing-read'.
7946         * org.el (org-complete-expand-structure-template): New,
7947         experimental function.
7948         (org-structure-template-alist): New, experimental option.
7949         (org-complete): Call `org-complete-expand-structure-template'.
7951 2008-05-06  Bastien Guerry  <bzg@altern.org>
7953         * org-export-latex.el (org-export-latex-preprocess): Added
7954         support for blockquotes.
7956 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7958         * org.el (org-read-date-analyze): Catch the case where only a
7959         weekday is given.
7961 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7963         * org.el (org-set-font-lock-defaults): Make the description
7964         tag bold.
7966         * org-exp.el (org-export-as-html, org-close-li): Implement
7967         description lists.
7969 2008-05-04  Jason Riedy  <jason@acm.org>
7971         * org-table.el (*orgtbl-default-fmt*): New variable.
7972         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7973         when there is no other fmt available.
7975         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7976         :tend to suppress the appropriate string.
7978         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7979         table.
7981 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7983         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7984         read date.
7986         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7987         New function.
7989         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7990         New function.
7992 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7994         * org-clock.el (org-clock-find-position): Don't include notes
7995         into clock drawer.
7997         * org-archive.el (org-archive-subtree): No longer remove an
7998         extra line after cutting the subtree.  `org-cut-subtree' already
7999         takes care of this.
8001         * org-remember.el (org-remember-handler): Only kill the target
8002         buffer if it does not contain the running clock.
8004         * org.el (org-markers-to-move): New variable.
8005         (org-save-markers-in-region, org-check-and-save-marker)
8006         (org-reinstall-markers-in-region): New function.
8007         (org-move-subtree-down, org-copy-subtree): Remember relative
8008         marker positions before cutting.
8009         (org-move-subtree-down, org-paste-subtree): Restore relative
8010         marker positions after pasting.
8012         * org-remember.el (org-remember-clock-out-on-exit): New option.
8013         (org-remember-finalize): Clock out only if the setting in
8014         `org-remember-clock-out-on-exit' requires it.
8015         (org-remember-handler): Do the cleanup in the buffer, to make sure
8016         that the clock marker remains in tact.
8018 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
8020         * org-clock.el (org-clock-goto): Widen buffer if necessary.
8021         (org-clock-in): Make sure that also tasks outside the narrowed
8022         region will be clocked in correctly.
8023         (org-clock-insert-selection-line): Widen the buffer so that we can
8024         find the correct task heading.
8026         * org.el (org-base-buffer): New function.
8028         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
8029         and ";" are escaped.
8030         (org-print-icalendar-entries): Also apply
8031         `org-icalendar-cleanup-string' to the headline, not only to the
8032         summary property.
8034 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
8036         * org-exp.el (org-export-preprocess-hook): New hook.
8037         (org-export-preprocess-string): Call
8038         `org-export-preprocess-hook'.
8040         * org.el (org-font-lock-hook): New variable.
8041         (org-font-lock-hook): New function.
8042         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
8044 ;; Local Variables:
8045 ;; coding: utf-8
8046 ;; add-log-time-zone-rule: t
8047 ;; End:
8049     Copyright (C) 2008  Free Software Foundation, Inc.
8051   This file is part of GNU Emacs.
8053   GNU Emacs is free software: you can redistribute it and/or modify
8054   it under the terms of the GNU General Public License as published by
8055   the Free Software Foundation, either version 3 of the License, or
8056   (at your option) any later version.
8058   GNU Emacs is distributed in the hope that it will be useful,
8059   but WITHOUT ANY WARRANTY; without even the implied warranty of
8060   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8061   GNU General Public License for more details.
8063   You should have received a copy of the GNU General Public License
8064   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
8066 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c