1 2010-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-entities.el (org-macs): Require org-macs, to be sure that we
4 have `declare-function' defined.
6 2010-04-05 Carsten Dominik <carsten.dominik@gmail.com>
8 * org-latex.el (org-export-latex-classes): Update docstring.
10 * org.el (org-format-latex-header): Add cookies to the header.
11 (org-splice-latex-header): Implement placement according to
14 2010-04-04 Carsten Dominik <carsten.dominik@gmail.com>
16 * org-publish.el (org-publish-aux-preprocess): Control case
19 2010-04-04 Bastien Guerry <bzg@altern.org>
21 * org.el (org-splice-latex-header): Fix typo.
23 2010-04-04 Carsten Dominik <carsten.dominik@gmail.com>
25 * org-latex.el (org-export-latex-make-header): Use
26 `org-splice-latex-header' to build the header.
27 (org-export-latex-classes): Update docstring.
29 * org.el (org-splice-latex-header): New function.
30 (org-create-formula-image): Use `org-splice-latex-header' to build
33 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
35 2010-04-03 Carsten Dominik <carsten.dominik@gmail.com>
37 * org.el (org-export-latex-packages-alist)
38 (org-export-latex-default-packages-alist): Fix docstring to
39 reflect the expected structure.
41 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
42 (org-export-docbook-finalize-table): Make use of label for tables.
44 2010-04-02 Carsten Dominik <carsten.dominik@gmail.com>
46 * org-attach.el (org-attach-commit): Split on newlines.
48 * org.el (org-export-latex-default-packages-alist): Use list
49 instead of cons for the entries.
51 2010-04-01 Carsten Dominik <carsten.dominik@gmail.com>
53 * org-entities.el (org-entity-get-representation): Catch the case
54 that there is not entry in the list.
56 * org-mobile.el (org-mobile-use-encryption)
57 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
59 (org-mobile-check-setup): CHeck the encryption setup.
60 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
61 (org-mobile-create-sumo-agenda): Use encryption code.
62 (org-mobile-encrypt-and-move): New function.
63 (org-mobile-encrypt-file, org-mobile-decrypt-file): New
65 (org-mobile-move-capture): Decrypt the capture file.
67 * org.el (org-entities): Require the new file.
68 (org-export-latex-default-packages-alist): New variable.
69 (org-complete): Use new entity code for completion.
70 (org-create-formula-image): Use the new packages variable.
72 * org-latex.el (org-export-latex-classes): Remove the standard
73 packages from the class headers.
74 (org-export-latex-make-header): Use the new package variable.
75 (org-export-latex-special-chars): Better regexp for entities, to
76 support entity name that contain numbers.
77 (org-export-latex-treat-backslash-char): Use the new entity code.
79 * org-html.el (org-html-do-expand): Use the new entity code.
81 * org-exp.el (org-export): Add the new export commands.
82 (org-html-entities): Constant removed.
83 (org-export-visible): Add the new export commands.
85 * org-entities.el: New file.
87 * org-docbook.el (org-docbook-do-expand): Use new entity code.
89 * org-ascii.el (org-export-ascii-entities): New variable.
90 (org-export-as-latin1, org-export-as-latin1-to-buffer)
91 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
92 (org-export-as-encoding): New function.
93 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
94 (org-ascii-replace-entities): New function.
96 2010-03-31 Carsten Dominik <carsten.dominik@gmail.com>
98 * org-html.el (org-html-level-start): Catch the case that target
101 2010-03-31 Dan Davison <davison@stats.ox.ac.uk>
103 * org.el (org-appearance): Change Customize group variable name
104 from org-font-lock to org-appearance, and change tag from "Org
105 Font Lock" to "Org Appearance"
106 (org-odd-levels-only): Change Customize group variable name
107 (org-level-color-stars-only): Change Customize group variable name
108 (org-hide-leading-stars): Change Customize group variable name
109 (org-hidden-keywords): Change Customize group variable name
110 (org-fontify-done-headline): Change Customize group variable name
111 (org-fontify-emphasized-text): Change Customize group variable name
112 (org-fontify-whole-heading-line): Change Customize group variable name
113 (org-highlight-latex-fragments-and-specials): Change Customize
115 (org-hide-emphasis-markers): Change Customize group variable name
116 (org-emphasis-alist): Change Customize group variable name
117 (org-emphasis-regexp-components): Change Customize group variable
119 (org-modules): Remove mention of org-R
121 * org-faces.el (org-faces): Change Customize group variable name
123 2010-03-29 Carsten Dominik <carsten.dominik@gmail.com>
125 * org-agenda.el (org-diary-last-run-time): New variable.
126 (org-diary): prepare agenda buffers only if last call was some
129 * org-html.el (org-export-html-preprocess): Replace \ref macros
131 (org-format-org-table-html): Add the label as an anchor.
133 * org-docbook.el (org-export-docbook-format-image): Do some
134 formatting on captions.
136 * org-latex.el (org-export-latex-tables, org-export-latex-links):
137 Do some formatting on captions.
139 * org-html.el (org-export-html-format-image)
140 (org-format-org-table-html): Do some formatting on captions.
142 2010-03-28 Dan Davison <davison@stats.ox.ac.uk>
144 * org.el (org-hidden-keywords): New customizable variable. This is
145 a list of symbols specifying which of the special keywords #+DATE,
146 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
147 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
148 implementing new faces and hiding behaviour.
150 * org-faces.el (org-document-title): New face for #+TITLE lines
151 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines
152 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL keywords
154 2010-03-28 Carsten Dominik <carsten.dominik@gmail.com>
156 * org-publish.el (org-publish-sanitize-plist): New function to
157 rename "index" properties to "sitemap". Do this renaming
159 (org-publish-with-aux-preprocess-maybe): New macro.
160 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
162 (org-publish-aux-preprocess)
163 (org-publish-index-generate-theindex.inc): New function.
165 2010-03-27 Carsten Dominik <carsten.dominik@gmail.com>
167 * org-table.el (org-table-align): Interpret <N> at fixed width,
168 not as maximum width.
170 2010-03-26 Carsten Dominik <carsten.dominik@gmail.com>
172 * org-exp.el (org-export-author-info, org-export-email-info): Fix
175 * org-beamer.el (org-beamer-select-environment): Renamed from
176 `org-beamer-set-environment-tag'. Improve docstring.
178 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
179 problem with odd levels.
181 * org-ascii.el (org-export-as-ascii): Export email only if the
184 * org-docbook.el (org-export-as-docbook): Export email only if the
187 * org-html.el (org-export-as-html): Export email only if the
190 * org-exp.el (org-export-email-info): New option.
191 (org-export-plist-vars): Add entry for `org-export-email'.
193 2010-03-25 Carsten Dominik <carsten.dominik@gmail.com>
195 * org-table.el (org-table-goto-line): Fix typo.
197 2010-03-25 Mikael Fornius <mfo@abc.se>
199 * org.el (org-agenda-files): Typo.
200 (org-read-agenda-file-list): Add optional argument to help
201 `org-store-new-agenda-file-list' to remember un-expanded file
202 names. Expand file names relative to `org-directory'.
203 (org-store-new-agenda-file-list): Keep un-expanded file names when
204 saving, if available.
205 (org-agenda-files): Update documentation.
207 2010-03-25 Carsten Dominik <carsten.dominik@gmail.com>
209 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
210 a buffer with no file name attached.
212 * org.el (org-log-refile): New option.
213 (org-log-note-headings): Add a heading for refiling.
214 (org-startup-options): Add keywords for logging of the refile
216 (org-refile): Add logging action.
217 (org-add-log-note): Allow for refiling action.
219 * org-agenda.el (org-agenda-bulk-action): Make sure
220 `org-log-refile' is not `note' during a bulk action.
222 2010-03-24 Carsten Dominik <carsten.dominik@gmail.com>
224 * org.el (org-map-dblocks): Use save-excursion to remember the
227 * org-attach.el (org-attach-commit): Remove dependence on xargs.
228 (org-attach-delete-one): Commit after deleting a file.
230 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
231 borders for strike-through emphasis.
233 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
234 handling of odd levels.
236 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
238 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
239 Handle `past' and `future' values.
241 * org.el (org-read-agenda-file-list): Interpret file names
242 relative to org-directory and allow environment variables and
245 * org-latex.el (org-export-latex-special-chars): Allow a
246 parenthesis before an exponent or subscript.
248 2010-03-23 Dan Davison <davison@stats.ox.ac.uk>
250 * org-src.el (org-edit-src-exit): When returning from code edit
251 buffer, if code block is hidden, leave point at start of
254 2010-03-23 Carsten Dominik <carsten.dominik@gmail.com>
256 * org.el (org-insert-heading): Do not remove all spaces if the
259 * org-indent.el (org-indent): Fix group name.
261 2010-03-21 Carsten Dominik <carsten.dominik@gmail.com>
263 * org-table.el (org-table-goto-column): Fix forcing a non-existing
265 (org-table-get, org-table-put, org-table-goto-line)
266 (org-table-current-line): New functions.
268 2010-03-21 Jan Böcker <jan.boecker@jboecker.de>
270 * org.el (org-open-file): Allow regular expressions in
271 org-file-apps to capture link parameters using groups. In a
272 command string to be executed, the parameters can be referenced
273 using %1, %2, etc. Lisp forms can access them using
274 (match-string n link).
275 (org-apps-regexp-alist): Adopt the created regexp, as this is now
276 matched against a file: link instead of the file name.
278 2010-03-21 Carsten Dominik <carsten.dominik@gmail.com>
280 * org-crypt.el (org-reveal-start-hook): Add a decryption function
282 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
285 * org.el (org-point-at-end-of-empty-headline)
286 (org-level-increment, org-get-previous-line-level): New function.
287 (org-cycle-level): Rewritten to be independent of when this
289 (org-in-regexps-block-p): New function.
290 (org-reveal-start-hook): New hook.
291 (org-reveal): Run new hook.
293 2010-03-19 Carsten Dominik <carsten.dominik@gmail.com>
295 * org-latex.el (org-export-latex-keywords): Start a new paragraph
296 after time keywords, do not add "\newline".
298 * org-html.el (org-export-as-html): Avoid double # in href.
300 * org.el (org-refile-get-location): Catch an invalid target
303 2010-03-18 Carsten Dominik <carsten.dominik@gmail.com>
305 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
306 Make sure the behavior regarding to extracting time is
309 2010-03-17 Stephen Eglen <stephen@gnu.org>
311 * org-agenda.el (org-agenda-insert-diary-extract-time): New
313 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
314 variable rather than `org-agenda-search-headline-for-time'.
316 2010-03-17 Carsten Dominik <carsten.dominik@gmail.com>
318 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
320 2010-03-15 Carsten Dominik <carsten.dominik@gmail.com>
322 * org.el (org-adaptive-fill-regexp-backup): New variable.
323 (org-set-autofill-regexps): Store a backup of
324 `adaptive-fill-regexp'.
325 (org-adaptive-fill-function): Fix filling of comments and ordered
326 lists. If there is no other match, till try adaptive fill.
328 2010-03-15 John Wiegley <jwiegley@gmail.com>
330 * org-agenda.el (org-agenda-include-deadlines): Added new
331 customization variable to determine whether unscheduled tasks
332 should appear in the agenda solely because of their deadline.
333 Default to true, which was the previous behavior (it just wasn't
335 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
336 the agenda to show/hide deadline tasks.
337 (org-agenda-menu): Added menu option for show/hide deadlines.
338 (org-agenda-list): Make the agenda list sensitive to the value of
339 `org-agenda-include-deadlines'.
340 (org-agenda-toggle-deadlines): New function to toggle the value of
341 `org-agenda-include-deadlines' and repaint the modeline
343 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
344 modeline if deadline tasks are being displayed.
346 2010-03-14 Carsten Dominik <carsten.dominik@gmail.com>
348 * org-table.el (org-table-eval-formula): Replace $# and @# by
349 current column and row number.
351 2010-03-12 Carsten Dominik <carsten.dominik@gmail.com>
353 * org.el (org-set-property, org-delete-property): Go back to
354 prompting for the property.
356 * org-latex.el (org-export-latex-make-header): Fully process
358 (org-export-latex-fontify-headline): Allow several arguments, not
360 (org-export-latex-fix-inputenc): Catch the error when
361 `latexenc-coding-system-to-inputenc' is not defined.
363 * org-agenda.el (org-agenda-skip-if-todo): New function.
364 (org-agenda-skip-if): Add conditions for TODO keywords.
365 (org-agenda-skip-if): Document the new todo conditions.
367 2010-03-11 Mikael Fornius <mfo@abc.se>
369 * org.el (org-at-property-p): Check if we are inside a property
370 drawer not just any drawer.
371 (org-set-property, org-delete-property): When cursor is on a
372 property key value pair do not prompt for property name instead
374 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
375 on the first line of a property drawer.
376 (org-property-end-re): Spell check.
378 2010-03-11 Carsten Dominik <carsten.dominik@gmail.com>
380 * org-exp.el (org-export-attach-captions-and-attributes): Add the
381 properties to the entire table, in case the first line is
384 * org-archive.el (org-archive-reversed-order): New option.
385 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
386 option `org-archive-reversed-order'.
388 2010-03-10 Carsten Dominik <carsten.dominik@gmail.com>
390 * org-agenda.el (org-agenda-entry-types): New variable.
391 (org-agenda-list): Use `org-agenda-entry-types'.
392 (org-agenda-custom-commands-local-options): Support for setting
393 `org-agenda-entry-types' as an option.
394 (org-diary): Shift some documentation from here to the variable
395 `org-agenda-entry-types'.
397 2010-03-09 Carsten Dominik <carsten.dominik@gmail.com>
399 * org-latex.el (org-export-latex-make-header): Apply macros in
402 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
403 (org-clock-select-task, org-clock-notify-once-if-expired)
404 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
405 (org-clock-out-if-current, org-clock-save): Use the new functions.
407 2010-03-08 Carsten Dominik <carsten.dominik@gmail.com>
409 * org-docbook.el (org-export-as-docbook): Remove unnecessary
411 (org-export-as-docbook): Remove unnecessary newline.
412 (org-export-as-docbook): Fix problem with double footnote
413 reference in one place.
415 * org-exp.el (org-export-format-source-code-or-example): Remove
418 * org.el (org-deadline, org-schedule): Allow rescheduling entries
421 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
422 function calls that look like references.
424 * org.el (org-open-at-point): Get link abbreviations from
427 2010-03-07 Carsten Dominik <carsten.dominik@gmail.com>
429 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
432 2010-03-05 Carsten Dominik <carsten.dominik@gmail.com>
434 * org.el (org-link-unescape): Solve issue with lower-case escapes.
436 2010-03-04 Carsten Dominik <carsten.dominik@gmail.com>
438 * org-latex.el (org-export-latex-classes): Add
439 \usepackage{latexsym} to all classes.
441 2010-03-03 Carsten Dominik <carsten.dominik@gmail.com>
443 * org-html.el (org-export-as-html): Do not allow protected lines
444 into the table of contents.
446 * org-latex.el (org-export-latex-special-chars): Find subsequent
447 occurrences of special characters.
448 (org-export-latex-tables): Do not convert table-like stuff that is
451 2010-03-01 Carsten Dominik <carsten.dominik@gmail.com>
453 * org-list.el (org-toggle-checkbox): No errors when updating
454 checkbox count fails because there is no heading.
456 2010-02-27 Carsten Dominik <carsten.dominik@gmail.com>
458 * org-clock.el (org-clock-report-include-clocking-task): New
460 (org-clock-sum): Add the current clocking task.
462 2010-02-26 Carsten Dominik <carsten.dominik@gmail.com>
464 * org.el (org-cycle): Print a message when in a table.el table.
465 (org-edit-special): Recognize the table.el context.
466 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
468 * org-src.el (org-at-table.el-p): Declare.
469 (org-edit-src-code): Handle a special case for table.el editing.
470 (org-edit-src-find-region-and-lang): Recognize the table.el
473 * org-latex.el (org-export-latex-tables): Convert table.el
475 (org-export-latex-convert-table.el-table): New function.
477 * org-html.el (org-html-expand): Fix table.el export.
479 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
482 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
483 table for the id locations.
485 * org.el (org-read-date-analyze): Match American-style dates, like
486 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
487 current year when reading ISO and American dates.
489 2010-02-25 Carsten Dominik <carsten.dominik@gmail.com>
491 * org.el (org-face-from-face-or-color): New function.
492 (org-get-todo-face, org-font-lock-add-priority-faces)
493 (org-get-tag-face): Use `org-face-from-face-or-color'.
495 * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
496 simple colors as values.
497 (org-faces-easy-properties): New option.
499 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
500 restricted, as an agenda mode.
501 (org-agenda-fontify-priorities): Allow simple colors as values.
503 2010-02-25 Bastien Guerry <bzg@altern.org>
505 * org-timer.el (org-timer-current-timer): Renamed from
506 `org-timer-last-timer'.
507 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
508 (org-timer-cancel-timer, org-timer-show-remaining-time)
509 (org-timer-set-timer): Update to use only one timer.
511 * org.el (org-set-property): Remove useless space in the prompt.
513 2010-02-25 Carsten Dominik <carsten.dominik@gmail.com>
515 * org-html.el (org-export-html-style-default): Add a default style
518 * org-exp.el (org-export-format-source-code-or-example): Fix
521 2010-02-24 Bastien Guerry <bzg@altern.org>
523 * org-clock.el (org-clock-current-task): New variable to store
524 last clocked in task.
525 (org-clock-set-current, org-clock-delete-current): New functions.
527 2010-02-24 Carsten Dominik <carsten.dominik@gmail.com>
529 * org-remember.el (org-remember-apply-template): Extend comment.
530 (org-remember-handler): Implement clock sibling filing.
532 2010-02-23 Carsten Dominik <carsten.dominik@gmail.com>
534 * org-publish.el (org-publish-all, org-publish-current-file)
535 (org-publish-current-project): When called with prefix argument
536 FORCE, also rebuild the validation file list.
538 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
541 2010-02-21 Carsten Dominik <carsten.dominik@gmail.com>
543 * org-html.el (org-export-as-html-and-open): Kill product buffer
544 if the user wants that.
546 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
547 if the user wants that.
549 * org-exp.el (org-export-kill-product-buffer-when-displayed): New
552 * org-agenda.el (org-batch-agenda-csv): Use the time property
553 instead of the `time-of-day' property.
555 2010-02-20 Carsten Dominik <carsten.dominik@gmail.com>
557 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
558 (org-timer-pause-hook, org-timer-set-hook)
559 (org-timer-cancel-hook): New hooks.
560 (org-timer-start): Run `org-timer-start-hook'.
561 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
562 (org-timer-stop): Run `org-timer-stop-hook'.
563 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
565 2010-02-19 Carsten Dominik <carsten.dominik@gmail.com>
567 * org.el (org-reveal): Double prefix arg shows the subtree of the
570 2010-02-17 Carsten Dominik <carsten.dominik@gmail.com>
572 * org-agenda.el (org-search-view): Fix bug with searching full
573 words in headlines in search view.
574 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
575 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
576 scheduled (if the user configures it so.
578 2010-02-16 Carsten Dominik <carsten.dominik@gmail.com>
580 * org.el (org-hide-archived-subtrees): Don't jump to end of
581 subtree if the match was not in a headline.
582 (org-inside-latex-macro-p): Allow more complex arguments.
583 (org-emphasize): Protect against use at end of buffer.
585 2010-02-15 Carsten Dominik <carsten.dominik@gmail.com>
587 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
590 2010-02-14 Carsten Dominik <carsten.dominik@gmail.com>
592 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
594 (org-agenda-todo-ignore-scheduled)
595 (org-agenda-todo-ignore-deadlines): More control with different
597 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
598 Honor the new option settings.
600 2010-02-12 Carsten Dominik <carsten.dominik@gmail.com>
602 * org.el (org-get-location): Make sure the selection buffer is
603 shown in the current frame.
605 * org-ascii.el (org-export-ascii-table-widen-columns): New
607 (org-export-ascii-preprocess): Realign tables to remove narrowing
608 if `org-export-ascii-table-widen-columns' is set.
610 * org-table.el (org-table-do-narrow): New variable.
611 (org-table-align): Narrow only if `org-table-do-narrow' is t.
613 * org.el (org-deadline, org-schedule): Allow updating if the
614 relevant time stamp does not have a repeater, i.e. do not require
615 that no time stamp has a repeater.
617 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
618 new white space before the tags.
620 * org-latex.el (org-export-as-latex): Do nit require the buffer to
621 be visiting a file when only exporting to a buffer or string.
622 (org-export-latex-fix-inputenc): Only save the buffer is there is
623 a file name attached to it.
625 2010-02-09 Dan Davison <davison@stats.ox.ac.uk>
627 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
629 2010-02-08 Carsten Dominik <carsten.dominik@gmail.com>
631 * org.el (org-fontify-meta-lines-and-blocks): Honor
632 `org-fontify-quote-and-verse-blocks'.
634 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
636 2010-02-03 Carsten Dominik <carsten.dominik@gmail.com>
638 * org.el (org-open-at-point): Also check for text property
639 org-linked-text before offering collected links.
641 2010-02-03 Stephen Eglen <stephen@gnu.org>
643 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
644 Optionally extract time specification from text and add to the
647 2010-02-03 Carsten Dominik <carsten.dominik@gmail.com>
649 * org-exp.el (org-html-entities): Fix typo.
651 * org-latex.el (org-export-latex-make-header): Use \providecommand
652 to make sure the \alert macro is defined.
654 * org.el (org-format-latex-signal-error)
655 (org-create-formula-image): Use `org-format-latex-signal-error'.
657 2010-02-02 Stephen Eglen <stephen@gnu.org>
659 * org.el (org-store-link): For dired buffers, use
660 default-directory as link name if dired-get-filename returns
663 2010-02-02 Carsten Dominik <carsten.dominik@gmail.com>
665 * org-exp.el (org-export-concatenate-multiline-links): The for
666 protectedness at beginning of match.
668 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
669 AUTO as a coding system, instead default to utf8.
671 2010-02-01 Carsten Dominik <carsten.dominik@gmail.com>
673 * org.el (org-block-todo-from-children-or-siblings-or-parent)
674 (org-block-todo-from-checkboxes): Respect the local variable
675 value when deciding if blocking should be active.
677 * org-latex.el (org-export-latex-make-header): Define the align
678 macro if it is not yet defined.
680 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
681 `org-insert-heading' with the INVISIBLE-OK argument.
683 * org-mac-message.el (org-mac-message-insert-flagged): Call
684 `org-insert-heading' with the INVISIBLE-OK argument.
686 * org.el (org-insert-heading): New argument INVISIBLE-OK.
688 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
691 * org-html.el (org-html-level-start): Use the
692 `html-container-class' text property to set an additional class
693 for an outline container.
695 * org-exp.el (org-export-remember-html-container-classes): New
697 (org-export-preprocess-string): Call
698 `org-export-remember-html-container-classes'.
700 * org.el (org-cycle): Mention level cycling in the docstring.
701 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
703 * org-remember.el (org-remember-apply-template): Do file insertion
706 2010-01-31 Carsten Dominik <carsten.dominik@gmail.com>
708 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
709 problem with mis-aligned graphs when showing habits.
711 2010-01-28 Mikael Fornius <mfo@abc.se>
713 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
714 when assigning. Begin using numerical characters when all in name
715 is used up. This is to spare alphanumeric characters for better
716 match with other keywords.
718 2010-01-28 Carsten Dominik <carsten.dominik@gmail.com>
720 * org-exp.el (org-export-preprocess-hook): Improve documentation.
722 * org-latex.el (org-export-latex-preprocess): More consistent
723 conversion and protection of the words LaTeX and TeX.
724 (org-export-latex-fontify-headline, org-export-latex-preprocess):
725 Allow angle brackets in commands, for beamer.
727 2010-01-26 Carsten Dominik <carsten.dominik@gmail.com>
729 * org-clock.el (org-clock-in): Improve the look of the clock line
732 2010-01-24 Carsten Dominik <carsten.dominik@gmail.com>
734 * org-latex.el (org-export-latex-classes): Use AUTO as the place
735 holder string for the coding system. And improve the
737 (org-export-latex-fix-inputenc): Only modify the coding system if
738 it is given by the placeholder AUTO.
740 2010-01-23 Carsten Dominik <carsten.dominik@gmail.com>
742 * org-clock.el (org-task-overrun-text): New option.
743 (org-task-overrun, org-clock-update-period): New variables.
744 (org-clock-get-clock-string, org-clock-update-mode-line): Mark
746 (org-clock-notify-once-if-expired): Check if clock is overrun.
748 * org-faces.el: New face `org-mode-line-clock-overrun'.
750 2010-01-18 Jan Böcker <jan.boecker@jboecker.de>
752 * org.el (org-narrow-to-subtree): Position the end of the narrowed
753 region before the line with the next heading, to prevent the user
754 from prepending text to the next headline.
756 2010-01-20 Stephen Eglen <stephen@gnu.org>
758 * org-agenda.el (org-get-time-of-day): Use
759 org-agenda-time-leading-zero to allow leading zero (rather than
762 2010-01-20 Carsten Dominik <carsten.dominik@gmail.com>
764 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
765 org-datetree.el is loaded.
767 * org-datetree.el: autoload `org-datetree-find-day-create'
769 * org-latex.el (org-export-latex-hyperref-format): New option.
770 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
772 2010-01-18 Carsten Dominik <carsten.dominik@gmail.com>
774 * org-ctags.el (org-ctags-enable): Change order of functions.
775 (org-ctags-create-tags): Add wildcard to file name expansion.
777 2010-01-17 Carsten Dominik <carsten.dominik@gmail.com>
779 * org.el (org-entry-properties): Fix some important bugs.
781 2010-01-16 Carsten Dominik <carsten.dominik@gmail.com>
783 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
784 the table is not explicitly given.
786 2010-01-15 Carsten Dominik <carsten.dominik@gmail.com>
788 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
790 (org-clock-out-if-current): Work with the new list value of
791 `org-clock-out-when-done'.
792 (org-clock-out, org-clock-out-if-current): Avoid circular logic
793 between clocking out and state changes.
795 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
797 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
798 accident protect a character that is before a backslash.
800 2010-01-14 Carsten Dominik <carsten.dominik@gmail.com>
802 * org-agenda.el (org-diary-class): Use
803 `org-order-calendar-date-args'.
805 * org.el (org-order-calendar-date-args): New function.
807 * org-exp.el (org-export-target-internal-links): Check for
808 protectedness after the first bracket.
810 * org.el (org-entry-properties): Don't match wrong-case TODO
813 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
814 Document that ARG is passed through to remove the date.
815 (org-agenda-bulk-action): Accept prefix arg and pass it on. Do
816 not read a date when the user has given a `C-u' prefix.
818 2010-01-11 Carsten Dominik <carsten.dominik@gmail.com>
820 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
823 2010-01-10 Carsten Dominik <carsten.dominik@gmail.com>
825 * org-latex.el (org-export-latex-fix-inputenc): New function.
826 (org-export-latex-inputenc-alist): New option.
828 * org-exp.el (org-export): New key SPC to publish enclosing
831 2010-01-09 Carsten Dominik <carsten.dominik@gmail.com>
833 * org-indent.el (org-indent-add-properties): Catch case when there
834 is no headline in the buffer.
836 2010-01-08 Carsten Dominik <carsten.dominik@gmail.com>
838 * org-exp.el (org-html-entities): Add checkmark symbol.
840 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
841 verbatim code for ASCII export.
843 * org.el (org-update-statistics-cookies): Also see checkboxes in
846 2010-01-07 Carsten Dominik <carsten.dominik@gmail.com>
848 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
851 * org-beamer.el (org-beamer-amend-header): Change the location
852 where `org-beamer-header-extra' is inserted.
854 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
855 just for computing this regexp.
857 2010-01-06 Carsten Dominik <carsten.dominik@gmail.com>
859 * org-beamer.el (org-beamer-frame-default-options): New option.
860 (org-beamer-sectioning): Use default options if the user does not
862 (org-beamer-fix-toc): Put a frame around the table of contents.
864 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
865 sure case-folding works well when processing comment stuff.
867 * org-latex.el (org-export-latex-after-save-hook): New hook.
868 (org-export-as-latex): Run the new hook.
870 2010-01-05 Carsten Dominik <carsten.dominik@gmail.com>
872 * org-beamer.el (org-beamer-environments-default): Add the note
874 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
875 lines and collect and combine the content.
876 (org-beamer-after-initial-vars): Check for note tags and make sure
877 they will be seen like a property.
879 * org.el (org-offer-links-in-entry): Fix bug when there is a
882 * org-exp.el (org-export): Make sure the mark is activated, also
883 when `transient-mark-mode' is off.
885 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
886 (org-agenda-search-view-search-words-only): Obsolete variable, is
887 now an alias for `org-agenda-search-view-always-boolean'.
888 (org-agenda-search-view-force-full-words): New option.
889 (org-search-view): Improve docstring, and implement a better logic
890 for Boolean and phrase searches.
891 (org-agenda-last-search-view-search-was-boolean): New variable.
892 (org-agenda-manipulate-query): Consider the type of the last
893 search when modifying the search string.
895 2010-01-04 Carsten Dominik <carsten.dominik@gmail.com>
897 * org-latex.el (org-export-as-latex): Do the first letbind in the
900 * org-agenda.el (org-get-entries-from-diary): Add the new face to
903 * org-faces.el (org-agenda-diary): New face.
905 * org.el (org-make-link-regexps): Allow regexp-special characters
907 (org-open-file): When in-emacs is `system', also force system
908 opening, like when the value was `(16)'.
909 (org-update-statistics-cookies): Handle entries without children.
912 (org-export-preprocess-before-normalizing-links-hook): New hook.
913 (org-export-preprocess-string): Run the new hook.
915 * org.el (org-offer-links-in-entry): Make RET open all links.
917 * org-html.el (org-export-as-html): Remove any leftover display
918 properties in the html file.
920 * org-wl.el (org-wl-store-link): Work-around for format bug with
923 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
924 invisibility while adding the graphs.
926 2010-01-03 Carsten Dominik <carsten.dominik@gmail.com>
928 * org-remember.el (org-select-remember-template): Use C letter to
929 customize remember templates.
931 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
932 Move cursor to next visible line.
934 2010-01-02 Carsten Dominik <carsten.dominik@gmail.com>
936 * org-beamer.el (org-beamer-sectioning): Leave columns environment
937 by specifying 0 or 1 for column width.
938 (org-beamer-column-widths): Make 0 stand for 0.0.
940 2010-01-01 Carsten Dominik <carsten.dominik@gmail.com>
942 * org-exp.el (org-export-mark-radio-links): Don't match inside
945 * org.el (org-format-latex-header-extra): New variable.
946 (org-format-latex): Set org-format-latex-header-extra from
948 (org-format-latex): Add org-format-latex-header-extra to the
949 variables on which image creation depends.
950 (org-create-formula-image): Add the header stuff from in-buffer
952 (org-read-date-analyze): Base the analysis for future preference
953 on NOW, not on the default date.
955 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
956 for TODO keyword in inline tasks.
958 * org.el (org-log-note-headings): New headings for removing
959 deadline or scheduling date.
960 (org-deadline, org-schedule): Arrange for logging when removing a
962 (org-add-log-note): Handle deadline and scheduling removal.
964 2009-12-31 Carsten Dominik <carsten.dominik@gmail.com>
966 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
968 2009-12-28 Carsten Dominik <carsten.dominik@gmail.com>
970 * org-agenda.el (org-diary-class): New function.
972 2009-12-24 Carsten Dominik <carsten.dominik@gmail.com>
974 * org-latex.el (org-export-latex-preprocess): Do process the text
977 2009-12-20 Carsten Dominik <carsten.dominik@gmail.com>
979 * org.el (org-entry-properties): Add TIMESTAMP properties back
982 2009-12-18 Carsten Dominik <carsten.dominik@gmail.com>
984 * org.el (org-all-time-keywords): New variable.
985 (org-set-regexps-and-options): Set `org-all-time-keywords'.
986 (org-entry-blocked-p): New function.
987 (org-special-properties): Add BLOCKED as a new special property.
988 (org-entry-properties): New optional argument SPECIFIC, only parse
989 for this property when it is specified.
990 (org-entry-get): Pass a SPECIFIC argument to
991 `org-entry-properties'.
993 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
995 2009-12-17 Carsten Dominik <carsten.dominik@gmail.com>
997 * org-latex.el (org-export-latex-tables): No forced line end if
1000 2009-12-16 Carsten Dominik <carsten.dominik@gmail.com>
1002 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
1005 * org-latex.el (org-export-latex-tables): Only add a caption when
1006 macro in in longtable environments if one has been defined.
1008 * org-html.el (org-export-as-html): Only take title from buffer if
1009 not exporting body-only.
1011 * org-latex.el (org-export-latex-preprocess): Better version of
1012 the regular expression for protecting LaTeX macros.
1013 (org-export-latex-preprocess): Start searching for macros to
1014 protect from beginning of buffer.
1016 * org-exp.el (org-export-target-internal-links): Check for
1017 protectedness earlier in the string.
1019 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
1022 * org-id.el (org-id-store-link): Match TODO keywords case
1025 * org.el (org-heading-components, org-get-outline-path)
1026 (org-display-outline-path): Match TODO keywords case sensitively.
1028 * org-latex.el (org-export-as-latex): Ignore read-only
1031 * org-exp.el (org-export-preprocess-string): Remove any
1032 `read-only' properties.
1034 * org-agenda.el (org-agenda-inactive-leader): New option.
1035 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
1036 (org-tags-view): Prompt for matcher if MATCH is an empty string.
1037 (org-todo-list): Prompt for matcher if ARG is an empty string.
1039 2009-12-15 Carsten Dominik <carsten.dominik@gmail.com>
1041 * org.el (org-open-link-functions): New hook.
1042 (org-open-at-point): Run `org-open-link-functions'.
1044 2009-12-14 Carsten Dominik <carsten.dominik@gmail.com>
1046 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
1049 * org.el (org-inhibit-startup-visibility-stuff): New variable.
1050 (org-mode): Don't do startup visibility if inhibited.
1051 (org-outline-overlay-data, org-set-outline-overlay-data): New
1053 (org-save-outline-visibility): New macro.
1054 (org-log-note-headings): Document that one should not change the
1055 `state' note format.
1057 2009-12-13 Carsten Dominik <carsten.dominik@gmail.com>
1059 * org.el (org-make-link-regexps): Capture link path into a group.
1061 2009-12-12 Carsten Dominik <carsten.dominik@gmail.com>
1063 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
1066 2009-12-11 Carsten Dominik <carsten.dominik@gmail.com>
1068 * org.el (org-startup-with-beamer-mode): New option.
1069 (org-property-changed-functions)
1070 (org-property-allowed-value-functions): New hooks.
1071 (org-entry-put, org-property-get-allowed-values): Run the new
1073 (org-property-next-allowed-value): Run the new hooks.
1075 * org-exp.el (org-export-select-backend-specific-text): Add the
1076 special beamer tags.
1079 (org-export-preprocess-before-selecting-backend-code-hook): New
1082 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
1083 (org-export-as-latex): Run
1084 `org-export-latex-after-initial-vars-hook'.
1085 (org-export-latex-format-toc-function)
1086 (org-export-latex-make-header): Call
1087 `org-export-latex-format-toc-function'.
1089 * org.el (org-fill-template): Make template searches case sensitive.
1091 * org-exp.el (org-export): Use "1" as a sign to export only the
1094 * org-colview-xemacs.el (org-columns-edit-value): Use
1095 org-unrestricted property.
1097 * org-colview.el (org-columns-edit-value): Use
1098 org-unrestricted property.
1100 * org.el (org-compute-property-at-point): Set org-unrestricted
1101 text property if the list contains ":ETC".
1102 (org-insert-property-drawer): Use
1103 org-unrestricted property.
1106 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
1107 (org-export-preprocess-string): Run
1108 `org-export-preprocess-before-selecting-backend-code-hook'.
1110 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
1112 * org-latex.el (org-export-region-as-latex): Run
1113 `org-export-first-hook'.
1115 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
1117 * org-docbook.el (org-export-as-docbook): Run
1118 `org-export-first-hook'.
1120 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
1122 * org-exp.el (org-export-first-hook): New hook.
1124 2009-12-10 Carsten Dominik <carsten.dominik@gmail.com>
1126 * org-list.el (org-previous-item): Exit at the beginning of the
1129 * org-id.el (org-id-locations-save): Only write the id locations
1132 * org-archive.el (org-archive-all-done): Make this work in a file
1133 with org-odd-levels-only set.
1135 * org.el (org-get-refile-targets): Catch the case when a buffer
1138 * org-latex.el (org-export-as-latex): Cleanup forced line ends
1139 where they are not needed.
1140 (org-export-latex-subcontent): Remove unnecessary newlines.
1142 2009-12-09 Carsten Dominik <carsten.dominik@gmail.com>
1144 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
1145 (org-export-latex-fontify): Fix regexp bug that takes special
1146 care of protecting the right boundary characters in emphasis
1148 (org-export-latex-preprocess): Allow multiple arguments to latex
1151 * org.el (org-make-link-regexps): Use John Gruber's regexp for
1154 * org-macs.el (org-re): Interpret :punct: in regexps.
1156 * org-exp.el (org-export-replace-src-segments-and-examples): Also
1157 take the final newline after the END line.
1159 * org.el (org-clean-visibility-after-subtree-move): Only fix
1160 entries that are not entirely invisible already.
1161 (org-insert-link): Respect org-link-file-path-type for
1162 "docview:" links in addition to "file:" links.
1164 2009-12-03 Carsten Dominik <carsten.dominik@gmail.com>
1166 * org-exp.el (org-export-format-source-code-or-example): Avoid
1167 additional extra white lines in LaTeX.
1169 * org-list.el (org-list-parse-list): Leave empty lines after the
1170 list, don't consider them as part of the list.
1172 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
1175 * org-clock.el (org-clock-select-task): Convert integer to
1176 character for XEmacs.
1178 2009-12-02 Carsten Dominik <carsten.dominik@gmail.com>
1180 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
1183 2009-11-30 Tassilo Horn <tassilo@member.fsf.org>
1185 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
1187 (org-set-tags): Use it.
1189 2009-11-30 Carsten Dominik <carsten.dominik@gmail.com>
1191 * org-list.el (org-empty-line-terminates-plain-lists): Update
1194 * org.el (org-format-latex): Fix link creation for processed latex
1197 2009-11-29 Carsten Dominik <carsten.dominik@gmail.com>
1199 * org-footnote.el (org-footnote-normalize): Protect replacement
1202 * org.el (org-inside-latex-macro-p): Save match data.
1204 2009-11-28 Jan Böcker <jan.boecker@jboecker.de>
1206 * org-docview.el: New file.
1208 2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
1210 * org-latex.el (org-export-latex-class-options): New variable.
1211 (org-export-latex-set-initial-vars): Use the class options.
1213 * org.el (org-forward-same-level): Stop at headings that start
1214 with an invisible character.
1215 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
1217 2009-11-26 Carsten Dominik <carsten.dominik@gmail.com>
1219 * org-footnote.el (org-footnote-normalize): Don't take optional
1220 arguments in LaTeX macros as footnotes.
1222 * org.el (org-inside-latex-macro-p): New function.
1224 * org-latex.el (org-latex-to-pdf-process): Change customization
1225 group to `org-export-pdf'.
1227 * org-agenda.el (org-agenda-get-blocks): Look at time string also
1228 on days after the first one.
1230 * org.el (org-insert-heading): Also check for item before assuming
1231 before-first-heading condition.
1233 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1234 (org-export-pdf-logfiles): New option.
1235 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1236 (org-export-pdf-logfiles): Fix customization type.
1238 * org.el (org-insert-link): Improve error message when there is no
1239 default link to select with RET.
1241 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1244 2009-11-25 Carsten Dominik <carsten.dominik@gmail.com>
1246 * org-latex.el (org-export-latex-parse-global)
1247 (org-export-latex-parse-content)
1248 (org-export-latex-parse-subcontent): Use
1249 `org-re-search-forward-unprotected'.
1250 (org-export-as-pdf): Remove log files produced by XeTeX.
1252 * org-macs.el (org-re-search-forward-unprotected): New function.
1254 2009-11-25 James TD Smith <ahktenzero@mohorovi.cc>
1256 * org-colview.el (org-agenda-colview-summarize): Sort out some
1257 confusion between properties and titles, which resulted in
1258 agenda summaries not working if a title was set for a column.
1260 2009-11-24 Carsten Dominik <carsten.dominik@gmail.com>
1262 * org-mobile.el (org-mobile-agendas): New option.
1263 (org-mobile-sumo-agenda-command): Select the right agendas.
1265 * org-latex.el (org-export-latex-format-image): Preserve the
1266 original-indentation property.
1268 2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
1270 * org-clock.el (org-clock-insert-selection-line): Catch error when
1271 an old tasks no longer exists.
1273 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1274 (org-export-as-pdf): Don't remove the old PDF file before making
1277 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1278 (org-mouse-context-menu): Use `org-looking-back'.
1280 * org.el (org-cycle-level): Use `org-looking-back'.
1282 * org-list.el (org-cycle-item-indentation): Use
1285 * org-compat.el (org-looking-back): New function.
1287 * org.el (org-insert-heading): Catch before-first-headline when
1288 inserting a headline.
1290 2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
1292 * org-latex.el (org-export-latex-format-image): Indent figure
1293 environment, so that it does not interrupt plain list.
1295 * org.el (org-open-at-point): Allow long link descriptions.
1297 2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
1299 * org-html.el (org-export-as-html): Remove empty lines at the
1300 beginning of the exported text.
1302 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
1304 * org-protocol.el (org-protocol-remember): Cater for empty title,
1307 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1308 agenda after adding new entry.
1309 (org-agenda-get-represented-tags): New function.
1310 (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
1311 to get a list of tags in the agenda.
1313 * org-datetree.el (org-datetree-find-day-create): Fix regular
1316 * org.el (org-display-outline-path): Use a format specifier for
1317 message, to avoid problems with heading containing `%'.
1319 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1320 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1321 (org-agenda-fix-displayed-tags): New function.
1322 (org-agenda-do-context-action): Just call
1323 `org-display-outline-path', without piping the result through
1326 * org-latex.el (org-export-latex-preprocess): Protect secondary
1327 footnote references.
1329 * org-indent.el (org-indent-initialize): Avoid empty strings as
1332 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1333 hat checking for the mark does not throw an error.
1334 (org-agenda-diary-entry-in-org-file): Catch the case that there is
1335 not `day' text property in the cursor line.
1337 * org.el (org-sort-entries-or-items): Make sure that the final
1338 entry has a newline before doing the sorting.
1340 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1341 property at the beginning of the line.
1343 * org.el (org-make-link-string): Don't allow a description with
1346 2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
1348 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1349 (org-agenda-insert-diary-as-top-level): New function.
1350 (org-agenda-add-entry-to-org-agenda-diary-file): Call
1351 `org-agenda-insert-diary-as-top-level'.
1353 * org.el (org-occur-in-agenda-files): Make sure none of the
1354 buffers is narrowed.
1355 (org-activate-plain-links): Add the face property here.
1356 (org-set-font-lock-defaults): Do not add the face to plain links,
1357 the activator function does this.
1359 * org-habit.el (org-is-habit-p): Add doc string.
1361 2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
1363 * org-archive.el (org-archive-subtree-default-with-confirmation):
1366 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1367 after match optional (happens at the end of a line...).
1369 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1372 * org-faces.el (org-copy-face): Set lisp indentation.
1373 (org-quote, org-verse): New faces.
1375 * org-agenda.el (org-agenda-remove-date): Remove variable.
1377 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
1379 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1381 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
1383 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1384 hash keys to cache and re-use images generated by the
1385 org-exp-blocks interface to ditaa and dot.
1387 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
1389 * org-html.el (org-export-as-html): Move the home/up link into
1392 * org.el (org-export-latex-packages-alist): Option definition
1393 moved here from org-latex.el.
1395 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
1397 * org.el (org-format-latex): Latex images are now saved to files
1398 named by the sha1 hash of the latex source text avoiding
1399 regeneration of identical images.
1401 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
1403 * org-html.el (org-export-html-home/up-format): Add an ID to the
1406 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1408 * org-wl.el (org-wl-store-link): Handle the case that
1409 `wl-use-petname' is set.
1411 * org.el (org-set-effort): Improve prompt.
1412 (org-get-outline-path): Widen to get full path.
1413 (org-compact-display-after-subtree-move): Function removed.
1415 * org-latex.el (org-export-as-latex): Add the :drawers property.
1417 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
1419 * org.el (org-speed-commands-user): Allow documentation headlines.
1420 (org-speed-commands-default): Organize the value of this constant
1421 with descriptive headlines.
1422 (org-print-speed-command): Output the headlines.
1424 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1426 * org-agenda.el (org-agenda-show-outline-path): New option.
1427 (org-agenda-do-context-action): New function.
1428 (org-agenda-next-line, org-agenda-previous-line): Use
1429 `org-agenda-do-context-action'.
1431 * org.el (org-use-speed-commands): Allow function value.
1432 (org-speed-commands-default): Make headline motion safe, so that
1433 these commands always end on a headline.
1434 (org-speed-commands-default): New key `v' for `org-agenda'.
1435 (org-speed-move-safe): New function.
1436 (org-self-insert-command): Use the function value of
1437 `org-use-speed-commands'.
1438 (org-get-outline-path): Improve docstring.
1439 (org-format-outline-path): New function.
1440 (org-display-outline-path): New function.
1442 2009-11-12 John Wiegley <jwiegley@gmail.com>
1444 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1445 a string, use that to find the LOGBOOK drawer.
1447 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1449 * org.el (org-clone-subtree-with-time-shift): Make it work at the
1452 * org-mobile.el (org-mobile-write-checksums): Specify coding
1454 (org-mobile-timestamp-buffer): Keep local variable/mode line at
1455 beginning of buffer.
1457 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1459 * org.el (org-block-todo-from-children-or-siblings-or-parent)
1460 (org-block-todo-from-checkboxes): Do not block changes to a nil
1463 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
1465 * org-habit.el (org-habit-parse-todo): Indicate which habit is
1466 wrongly set up in the error messages.
1468 * org-colview.el (org-columns-display-here): Don't try to
1469 calculate values if the underlying property is not set.
1470 (org-columns-string-to-number): Convert age strings back into
1472 (org-agenda-colview-summarize): Handle extended summary types
1475 * org-colview-xemacs.el (org-columns-display-here): Don't try to
1476 calculate values if the underlying property is not set.
1477 (org-columns-string-to-number): Convert age strings back into
1479 (org-agenda-colview-summarize): Handle extended summary types
1482 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
1484 * org-exp.el (org-export-format-drawer-function): New variable.
1485 (org-export-format-drawer): New function.
1486 (org-export-preprocess-string): Pass the backend as a parameter to
1487 `org-export-remove-or-extract-drawers'.
1488 (org-export-remove-or-extract-drawers): New parameter BACKEND.
1490 * org-protocol.el (org-protocol-char-to-string): New defsubst.
1492 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
1494 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1495 message when no block is selected.
1497 * org-latex.el (org-export-latex-links): Check for protectedness
1498 in the last matched character, not after the match.
1500 * org-datetree.el (org-datetree-find-date-create): Respect
1501 restriction when KEEP-RESTRICTION is set.
1502 (org-datetree-file-entry-under): New function.
1503 (org-datetree-cleanup): New command.
1505 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
1507 * org-src.el (org-edit-src-code): New optional argument context
1508 allows calling functions to avoid altering the saved window
1510 (org-edit-src-exit): Do not restore window configuration when this
1511 function is used in the context of saving the edit buffer.
1513 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
1515 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1516 instances to switching to with-current-buffer, because these seem
1517 to cause problems - no idea why.
1519 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1520 Require diary-lib for (diary-date-display-form).
1522 * org.el (org-log-reschedule, org-log-redeadline): New options.
1523 (org-log-note-headings): Add templates for rescheduling and
1525 (org-startup-options): Add in-buffer settings for logging changing
1526 schedule and deadline time stamps.
1527 (org-deadline, org-schedule): Check for existing date and arrange
1528 for logging if the user requests it.
1529 (org-add-log-note): Prepare proper note buffers for rescheduling
1530 and deadline changes.
1532 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
1534 * org-agenda.el (org-agenda-diary-entry-in-org-file)
1535 (org-agenda-add-entry-to-org-agenda-diary-file)
1536 (org-agenda-insert-diary-make-new-entry): New functions.
1537 (org-agenda-diary-entry): Call
1538 `org-agenda-diary-entry-in-org-file' when appropriate.
1540 * org.el (org-calendar-insert-diary-entry-key): New option.
1541 (org-agenda-diary-file): New option.
1542 ("calendar"): Install our insertion function in the calendar.
1544 * org-remember.el (org-datetree): Require.
1545 (org-remember-templates): Add new positioning option.
1546 (org-remember-reference-date): New variable.
1547 (org-remember-apply-template): Store the reference date in a local
1549 (org-remember-handler): Implement date tree positioning of entries.
1551 * org-datetree.el: New file.
1553 * org-latex.el (org-export-latex-preprocess): Protect targets in
1556 * org-html.el (org-export-as-html): Protect targets in verbatim
1559 * org-docbook.el (org-export-as-docbook): Protect targets in
1562 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
1564 * org.el (org-link-display-format): Should be literal replacement.
1566 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
1568 * org-clock.el (org-show-notification): Handle messages that
1569 contain a percent character.
1571 * org-remember.el (org-remember-apply-template): Turn of partial
1574 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1575 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1577 * org.el (org-indent-mode): Define variable already in org.el.
1578 (org-unfontify-region): Remove line-prefix and wrap-prefix
1579 properties only if org-indent-mode is active.
1581 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
1583 * org-icalendar.el (org-print-icalendar-entries): Save match data
1584 around call to verify function.
1585 (org-print-icalendar-entries): Add a call to the verification
1588 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1589 save-restrivtion' form.
1591 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
1593 * org-exp.el (org-export-format-source-code-or-example): restrict
1594 scope of preserve-indentp to the let binding.
1595 (org-src): require org-src, since org-src-preserve-indentation is used.
1597 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
1599 * org-timer.el (org-timer-set-timer): Set variables
1600 org-timer-timer[123] correctly.
1603 * org-mobile.el (org-mobile-files-alist): Make it work when
1604 `agenda-archives' is included in
1605 `org-agenda-text-search-extra-files'.
1606 (org-mobile-push): Restore agenda after mobile push.
1608 2009-11-05 John Wiegley <jwiegley@gmail.com>
1610 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1611 way the amount of idle time is presented in the minibuffer.
1613 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
1615 * org-icalendar.el (org-print-icalendar-entries): Use
1616 org-icalendar-verify-function only if non-nil.
1618 * org.el (org-refile): Refile to clock only if the prefix arg is
1620 (org-sparse-tree): Fix docstring to be in line with prompt.
1621 (org-update-parent-todo-statistics): Call
1622 `org-after-todo-statistics-hook' on each level.
1624 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
1626 * org-remember.el (org-remember-apply-template): Make sure the
1629 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
1631 * org.el (org-tab-ind-state): New variable.
1632 (org-cycle-level): New function.
1633 (org-cycle-level-after-item/entry-creation): New option.
1634 (org-flag-subtree): New function.
1635 (org-hide-archived-subtrees): Call `org-flag-subtree'.
1636 (org-set-effort): Indexed access.
1638 * org-list.el (org-cycle-item-indentation): New function.
1640 * org.el (org-refile): Make prefix argument 2 refile to current
1642 (org-priority): Interpret action `remove' as call to remove the
1645 * org-remember.el (org-remember-apply-template): Don't depend on
1646 buffer name being like file name.
1648 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
1650 * org-clock.el (org-clock-play-sound): Expand file in
1651 org-clock-sound, to allow ~ for home.
1653 * org-remember.el (org-remember-handler): Set
1654 text-before-node-creation even if this already looks like a node,
1655 because the string might be needed on non-org-mode target files.
1657 * org-agenda.el (org-agenda-open-link): Make this work in agenda
1659 (org-agenda-switch-to): Follow a link at point if
1660 org-return-follows-link' is set and there is nothing else to do in
1663 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
1665 * org-colview-xemacs.el: Add in changes from org-colview.el
1667 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
1669 * org-exp-blocks.el: Modify split separator regexp to avoid empty
1672 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
1674 * org-colview.el (org-columns-new): Make this work with the new
1676 (org-columns-store-format): Make this work with the new operators.
1678 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
1680 * org-src.el (org-src-preserve-indentation): Document that this
1681 variable is also used during export.
1683 * org-exp.el (org-export-format-source-code-or-example): Preserve
1684 indentation if a block has a -i option, or if
1685 `org-src-preserve-indentation' is set.
1687 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1688 indentation if a block has a -i option, or if
1689 `org-src-preserve-indentation' is set.
1691 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
1693 * org.el (org-mode-map): Define the new archiving keys.
1694 (org-speed-commands-default): Define an archiving key in the speed
1696 (org-org-menu): Improve the menu structure concerning archiving.
1698 * org-archive.el (org-archive-subtree-default-with-confirmation):
1701 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1702 (org-agenda-menu): Add the new archiving commands to the menu.
1703 (org-agenda-archive-default)
1704 (org-agenda-archive-default-with-confirmation): New commands.
1705 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1706 call `org-agenda-archive-with'.
1707 (org-agenda-archive-with): New function.
1709 * org-table.el (org-table-convert-region): Inert spaces around "|"
1710 to avoid line beginnings like "|-1" which will be mistaken as
1713 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
1715 * org.el (org-offer-links-in-entry): Return nil if there are no
1716 links, t if a link has been selected.
1717 (org-open-at-point): Open attachment directory when called in the
1718 headline and there are no links in the entry body.
1719 (org-speed-commands-default): Add "o" for open-at-point as a speed
1722 * org-attach.el (org-attach-reveal): Optional prefix arg
1723 IF-EXISTS, which avoids creating the attachment directory if it
1726 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1729 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
1731 * org.el ("abbrev"): Work with abbrev tables only after they have
1734 * org-list.el (org-list-send-list): Fix bug related to match
1737 * org-latex.el (org-export-latex-fontify): Apply verbatim
1739 (org-export-latex-make-header): Insert \obeylines if line breaks
1740 should be preserved.
1742 * org-exp.el (org-export-protect-verbatim): Add an
1743 `org-verbatim-emph' property to such text.
1745 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
1747 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1748 (org-print-icalendar-entries): Skip entries where the timestamp is
1749 not a deadline and not scheduled, if the user requests that.
1751 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1752 before an opening quote.
1754 * org-archive.el (org-archive-subtree): Keep archive after
1755 archiving something.
1757 * org-id.el (org-id-update-id-locations): Add archive files if
1758 that is required by `org-id-extra-files'.
1760 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
1762 * org-src.el (org-src-window-setup): New option.
1763 (org-src-switch-to-buffer): New function.
1764 (org-edit-src-exit): Add optional argument CONTEXT and use it to
1765 restore window configuration.
1766 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1767 Call `org-src-switch-to-buffer'.
1769 * org.el (org-default-properties): Add STYLE property.
1770 (org-files-list): Use the function call to get the files.
1771 (org-additional-option-like-keywords): Add SETUPFILE to completion
1774 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
1776 * org-table.el (org-table-convert-region): Correctly interpret
1777 quoting in csv import.
1779 * org.el (org-icompleting-read): Make iswitchb completion work
1780 with lists and tables.
1782 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1783 while pushing the mobile agenda.
1785 2009-10-25 John Wiegley <jwiegley@gmail.com>
1788 (org-clock-auto-clock-resolution): Now takes three values: nil, t
1789 and `when-no-clock-is-running'.
1790 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1791 whether or not to resolve Org buffers on clock in.
1793 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
1795 * org-colview.el (org-format-time-period): Function to format
1796 times in fractional days for display.
1797 (org-columns-display-here): Add support for showing a calculated
1798 value in place of the property.
1799 (org-columns): Set `org-columns-time' to the current time so time
1800 difference calculations will work.
1801 (org-columns-time): Use to store the current time when column view
1802 is displayed, so all time differences will use the same reference
1804 (org-columns-compile-map): There is now an extra position in each
1805 entry specifying the function to use to calculate the displayed
1806 value for the non-calculated properties in the column,
1807 (org-columns-compute-all): Set `org-columns-time' to the current
1808 time so time difference calculations will work.
1809 (org-columns-compute): Handle column operators where the values
1810 used are calculated from the underlying property.
1811 (org-columns-number-to-string): Handle the 'age' column format
1812 (org-columns-string-to-number): Correct the function name (was
1813 org-column...). Add support for the 'age' column format.
1814 (org-columns-compile-format): Support the additional parameter in
1815 org-columns-compile-map.
1817 2009-10-26 Bastien Guerry <bzg@altern.org>
1819 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1822 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
1824 * org-clock.el (org-clock-has-been-used): New variable.
1825 (org-clock-in): Set `org-clock-has-been-used'.
1826 (org-clock-save): Save only if clock data has been used or created
1827 during this session.
1829 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
1831 * org-clock.el (org-clock-persist): New value, to store only the
1833 (org-clock-save): Don't save the clock if only the history should
1835 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1836 when restoring a saved clock.
1838 2009-10-24 John Wiegley <jwiegley@gmail.com>
1840 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1841 `org-time-clock-use-fractional'.
1843 * org.el (org-time-clocksum-use-fractional)
1844 (org-time-clocksum-fractional-format): Two new customizable
1845 variables which allow the user to select fractional times (1.25
1846 instead of 1:25) in the `org-clock-display' report.
1848 2009-10-23 John Wiegley <jwiegley@gmail.com>
1850 * org-habit.el (org-habit-build-graph): None of the arguments
1852 (org-habit-parse-todo, org-habit-deadline)
1853 (org-habit-get-priority, org-habit-get-faces)
1854 (org-habit-build-graph): Further simplifications by storing all
1855 past, scheduled and deadline dates as a number of days past the
1856 epoch, and not as times.
1858 * org-habit.el (org-habit-warning-face)
1859 (org-habit-warning-future-face): Removed because these are no
1861 (org-habit-deadline, org-habit-deadline-repeat): Now always
1862 returns a date; computed if there was a scheduled repeater but no
1864 (org-habit-get-priority): Further improvements to the priority
1865 algorithm. In particular, items past due should always appear
1866 before items due or not yet due.
1867 (org-habit-get-faces): Greatly simplified the logic, now that
1868 `org-habit-deadline' always returns a valid time.
1870 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
1872 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1875 * org.el (org-tag-alist): Fix customization type.
1877 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
1879 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1880 Make sure the regexp search can fail without throwing an error.
1881 (org-mobile-apply): Save the inbox buffer after removing
1882 successfully applied changes.
1884 2009-10-22 John Wiegley <jwiegley@gmail.com>
1886 * org-habit.el (org-habit-build-graph): Fix to the graph building
1887 when last DONE date is earlier than `org-habit-preceding-days'.
1889 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1890 time is reported after the user comes back (but before they
1893 * org.el (org-get-repeat): Change so that this function can be
1894 called with either `org-scheduled-string' or
1895 `org-deadline-string'.
1897 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1898 to find the scheduled date.
1900 * org-clock.el (org-clock-auto-clock-resolution): Renamed
1901 `org-clock-disable-clock-resolution', since negatives don't sound
1902 good in customization variables.
1903 (org-clock-in): Don't use the auto-resolution logic if the user is
1904 clocking into a different task while an active clock is running.
1905 This then allows the default behavior of clocking out of the open
1906 task and then into the new task.
1908 * org-habit.el (org-habit-parse-todo): Generate an error if a
1909 habit has a scheduled repeat period < 1.
1910 (org-habit-get-faces): Fixes to the way that colors are computed.
1911 (org-habit-build-graph): The graph wasn't displaying beyond any
1912 day that had two completions in it.
1914 * org.el (org-modules): Made this variable more consistent, since
1915 it was referring to Org, OrgMode and Org-mode, whereas the docs
1916 for the variable always refer to Org-mode.
1918 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
1920 * org.el (org-repeat-re): The changed org-repeat-re no longer
1921 matched simple +2d type repeaters. Fix it so it does.
1923 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
1925 * org-latex.el (org-export-latex-preprocess): Protect the vspace
1926 macro in the VERSE environment.
1928 2009-10-20 John Wiegley <jwiegley@gmail.com>
1930 * org-habit.el (org-habit-get-priority): A new function that
1931 determines the relative priority of a habit, based on how long
1932 past its scheduled date it is, and how near the deadline is.
1934 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1935 using `org-habit-get-priority'.
1937 * org-habit.el (org-habit-build-graph): Start displaying colors
1938 from the first scheduled date, if that date is earlier than the
1939 first completion date.
1941 * org-habit.el: Changed all "color" variables to faces, and made
1942 them appropriate for light and dark backgrounds.
1944 * org-habit.el (org-habit-duration-to-days): Made this function
1946 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1948 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1949 habits, since they don't use DEADLINE anymore.
1951 * org.el (org-repeat-re, org-display-custom-time)
1952 (org-timestamp-change): Extended to support the new ".+N/N"
1953 syntax, used for habits.
1955 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1958 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1959 modeline when habits are being displayed (if that module is being
1962 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
1964 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1965 idle time using the xscreensaver extension.
1966 (org-user-idle-seconds): Use X11 idle time if available.
1968 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
1970 * org-agenda.el (org-agenda-next-line): New command.
1971 (org-agenda-previous-line): New commands.
1972 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1974 (org-agenda-follow-mode): Do the follow immediately if the mode is
1976 (previous-line, next-line): Replace keys with the corresponding
1978 (org-agenda-mode-map): Bind backspace and delete to the scrolling
1981 * org.el (org-icompleting-read): Turn off partial completion mode
1982 for the duration of this completion round.
1984 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1985 macros in author lines and similar stuff.
1987 * org.el (org-file-tags): Fix docstring.
1988 (org-get-buffer-tags): Add the #+FILETAGS tags.
1989 ("ecb"): Maks ecb show context after jumping into an Org file.
1991 2009-10-20 John Wiegley <johnw@newartisans.com>
1993 * org-agenda.el (org-finalize-agenda): Draw habit consistency
1994 graphs after everything else in the buffer has been setup.
1996 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
1998 * org-mobile.el (org-mobile-apply): Count success and failure.
2000 * org.el (org-indent-line-function): Fix regexp replace problem.
2002 2009-10-19 John Wiegley <johnw@newartisans.com>
2004 * org-clock.el (org-clock-disable-clock-resolution): New
2005 customization variable that disable automatic clock resolution on
2007 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
2008 not automatically resolve anything. This is does not affect
2009 idle-time resolution, however, if `org-clock-idle-time' is set.
2011 2009-10-19 John Wiegley <johnw@newartisans.com>
2013 * org-habit.el: New file, which implements code to build a "habit
2016 * org-agenda.el (org-agenda-get-deadlines)
2017 (org-agenda-get-scheduled): Display consistency graphs when
2018 outputting habits into the agenda. The graphs are always relative
2019 to the current time.
2020 (org-format-agenda-item): Added new parameter `habitp', which
2021 indicates whether we are formatting a habit or not. Do not
2022 display "extra" leading information if habitp is true.
2024 * org.el (org-repeat-re): Improved regexp to include .+ and ++
2025 leaders for repeat strings.
2026 (org-get-repeat): Now takes a string parameter `tagline', so the
2027 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
2029 2009-10-19 John Wiegley <johnw@newartisans.com>
2031 * org-agenda.el (org-agenda-auto-exclude-function): New
2032 customization variable for allowing the user to create an "auto
2033 exclusion" filter for doing context-aware auto tag filtering.
2034 (org-agenda-filter-by-tag): Changes to support the use of
2035 `org-agenda-auto-exclude-function'. See the new manual addition,.
2037 2009-10-18 John Wiegley <johnw@newartisans.com>
2039 * org.el (org-files-list): Don't attempt to return a file name for
2040 Org buffers which have no associated file.
2042 * org-agenda.el (org-agenda-do-action): Fixed a typo.
2044 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
2046 * org-mobile.el (org-mobile-locate-entry): Interpret files
2047 relative to org-directory.
2048 (org-mobile-inbox-for-pull): Document the best location for this
2050 (org-mobile-check-setup): Verify `org-directory'.
2051 (org-mobile-create-index-file): Sort the files to be listed in
2054 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
2056 * org.el (org-fast-tag-selection): Add a way to display a
2057 description for a tag group. This is done by adding a string to
2058 either the startgroup or endgroup cell.
2060 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
2062 * org-clock.el (org-clock-resolve, org-resolve-clocks)
2063 (org-emacs-idle-seconds): Use `org-float-time' instead of
2066 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
2068 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
2071 * org.el (org-pre-cycle-hook): Document that `empty' can also be
2072 the value of ARG when doing local cycling.
2074 2009-10-17 John Wiegley <johnw@newartisans.com>
2076 * org-clock.el (org-clock-resolve-clock): If keeping or
2077 subtracting time results in a clock out at a time in the past, and
2078 if the resolution occurred due to idleness or invoking `M-x
2079 org-resolve-clocks', remember that past moment in time. On the
2080 next clock in, the user will be prompted to see if they want to
2081 back-date their new clock to then.
2082 (org-clock-resolve): Do not jump the user to the location of a
2083 dangling clock if the resolution is occuring due to an idle
2084 timeout. In that case there is typically only one dangling clock,
2085 the active one, and there is no value gained by shuffling their
2086 windows around to show it to them. Being prompted to resolve an
2087 idle clock should be as inobtrusive as possible.
2088 (org-resolve-clocks-if-idle): New function that resolves only the
2089 currently active clock if the user has exceeded the time returned
2090 by `org-user-idle-seconds', based on the value of
2091 `org-clock-idle-time'.
2092 (org-clock-in): If, after resolving clocks,
2093 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
2095 * org-clock.el (org-clock-resolve-clock): New function that
2096 resolves a clock to a specific time, closing or resuming as need
2097 be, and possibly even starting a new clock.
2098 (org-clock-resolve): New function used by `org-resolve-clocks'
2099 that sets up for the call to `org-clock-resolve-clock'. It
2100 determines the time to resolve to based on a single-character
2101 selection from the user to either keep time, subtract away time or
2103 (org-resolve-clocks): New user command which resolves dangling
2104 clocks -- that is, open but not active -- anywhere in the file
2105 list returned by `org-files-list'.
2106 (org-clock-in): Automatically resolve dangling clocks whenever a
2108 (org-clock-cancel): If the user cancels the solely clock in a
2109 LOGBOOK, remove the empty drawer.
2111 * org-clock.el (org-clock-idle-time): New user customizable option
2112 for detecting whether the user has left a clock idle. Note: it is
2113 only used in this commit to test whether it's worthwhile to check
2114 OS X to get the Mac user's current idle time. If the Emacs idle
2115 time is less than the value, the user hasn't been away long enough
2116 to be worth checking (a more expensive test than just getting
2118 (org-user-idle-seconds, org-mac-idle-seconds)
2119 (org-emacs-idle-seconds): This three functions, in conjunction
2120 with the user customization variable `org-clock-idle-time', return
2121 the number of seconds (as a floating point) that the user has been
2122 away from their Emacs (or, if running on OS X, their computer).
2124 * org-clock.el (org-find-open-clocks): New function that returns a
2125 list of all open clocks in the given FILE. Note that each clock
2126 it returns is a cons cell of the format (MARKER . START-TIME).
2127 This "clock" value is used by several of the new clock module
2129 (org-is-active-clock): New inline function which tests whether the
2130 given clock value is the same as the currently active clock.
2131 Returns non-nil if this is the case.
2132 (org-with-clock-position): New macro that evaluates FORMS with
2133 point in the buffer and at the position of the given clock.
2134 Changes to the current clock are global.
2135 (org-with-clock): New macro that evaluates FORMS with point in the
2136 buffer and at the position of the given clock. However, changes
2137 to the current clock are local and have no effect on the user's
2138 active clock. This allows, for example, far any clock to be
2139 cancelled without cancelling the active clock.
2140 (org-clock-clock-in): New inline function that switches the active
2141 clock to the given clock. If either the argument RESUME, or the
2142 global `org-clock-in-resume', are non-nil, it will resume a clock
2143 that was previously left open.
2144 (org-clock-clock-out): New inline function that clocks out the
2145 given clock value without affecting the currently active clock.
2146 (org-clock-clock-cancel): New inline function that cancels the
2147 given clock value without affecting the currently active clock.
2149 * org-clock.el (org-clock-in): Before creating
2150 `org-clock-mode-line-timer', check to make sure an older timer is
2151 not currently running.
2152 (org-clock-out): Accept new third parameter `at-time', which
2153 permits a clock to be clocked out at a specific time. Note that
2154 no attempt is made to verify that the clock out time is later than
2157 * org.el (org-files-list): New utility function for returning a
2158 list of all open org-mode buffers, plus all files used to build
2159 the agenda buffer. Note that not all the files will necessarily
2160 be visited by a buffer at time of call.
2161 (org-entry-beginning-position): Like the function
2162 `line-beginning-position', this inline function returns the
2163 beginning position of the current heading/entry.
2164 (org-entry-end-position): Like the function `line-end-position',
2165 this inline function returns the end position of the current
2168 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
2170 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
2173 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
2175 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
2177 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
2179 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
2180 entries that have no tags.
2181 (org-agenda-search-view): New customize group.
2182 (org-agenda-search-view-search-words-only): New option.
2183 (org-search-view): Implement substring search.
2185 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
2187 * org.el (org-outline-level): Add doc string.
2189 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
2191 * org-inlinetask.el (org-inlinetask-export): Re-introduce
2193 (org-inlinetask-export-handler): Only export inline task if the
2194 user option calls for it.
2196 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
2198 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
2201 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
2203 * org-latex.el (org-export-latex-tables): Don't format in
2206 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
2208 * org-src.el (org-edit-src-code)
2209 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
2212 * org-agenda.el (org-prefix-category-max-length): New variable.
2213 (org-format-agenda-item): Use `org-prefix-category-max-length'.
2214 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
2216 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
2218 * org-mobile.el (org-mobile-create-index-file): Improve the
2219 listing of tags and todo keywords.
2221 * org-latex.el (org-export-latex-format-image): New function.
2222 (org-export-latex-links): Use `org-export-latex-format-image'.
2224 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
2226 * org-inlinetask.el (org-inlinetask-get-current-indentation)
2227 (org-inlinetask-remove-terminator): New functions.
2228 (org-inlinetask-export-handler): Terminate the description list.
2230 * org-exp.el (org-export-select-backend-specific-text): Remove the
2233 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2234 tasks without content.
2236 * org-clock.el: Make sure the clock-in target position does not
2237 move to a different node by widening the buffer.
2239 * org-html.el (org-export-html-format-image): Wrap image into
2240 figure div only when there is a caption.
2242 * org-archive.el (org-archive-mark-done): Change default value to
2245 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2247 * org.el (org-context): Call `bobp', not `eobp'.
2249 * org-clock.el (org-clock-cancel): Remove quotes from marker
2252 * org.el (org-read-date-prefer-future): New allowed value `time'.
2253 (org-read-date-analyze): Shift day to tomorrow depending on time
2254 entered and value of `org-read-date-prefer-future'.
2256 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
2258 * org.el (org-set-tags-to): New command.
2260 * org-mobile.el (org-mobile-action-alist): Add more options and
2261 update the docstring.
2262 (org-mobile-apply-flags): Parse for and use the data.
2264 * org-latex.el (org-export-latex-set-initial-vars): Also check in
2267 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2270 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2272 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
2274 * org-inlinetask.el (org-inlinetask-export): Option removed.
2275 (org-inlinetask-export-handler): Better export.
2277 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2278 (org-export-as-xoxo): Run the new hook.
2280 * org-html.el (org-export-html-final-hook): New hook.
2281 (org-export-as-html): Run the new hook.
2283 * org-docbook.el (org-export-docbook-final-hook): New hook.
2284 (org-export-as-docbook): Run the new hook.
2286 * org-ascii.el (org-export-ascii-final-hook): New hook.
2287 (org-export-as-ascii): Run the new hook.
2289 * org-mobile.el (org-mobile-create-sumo-agenda): Call
2290 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
2292 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2293 space character as the character before the ^/_.
2294 (org-export-latex-final-hook): New hook.
2295 (org-export-as-latex): Run `org-export-latex-final-hook'.
2297 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
2299 * org-macs.el (org-if-unprotected-at): Fix docstring.
2301 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2302 text in the prefix (if category is a link).
2304 * org-latex.el (org-export-latex-preprocess): Deal properly with
2305 empty lines in verse environments.
2307 * org.el (org-format-latex-header): Inline fullpage.sty.
2309 * org-footnote.el (org-footnote-create-definition): Reveal context
2310 to add a new footnote definition.
2312 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
2314 (org-mobile-files): New option.
2315 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
2316 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
2318 (org-mobile-push): Start by creating the files lists.
2319 (org-mobile-copy-agenda-files): Move killing the buffer to after
2320 the save-excursion has exited.
2321 (org-mobile-write-checksums): Write checksums also for files in
2324 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2325 org-table-recalculate when cursor is in TBLFM line.
2327 * org-list.el (org-renumber-ordered-list): Fix cursor position
2328 when bullet length has changed.
2330 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
2332 * org.el (org-format-latex): Mention `org-format-latex-options' in
2335 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
2337 * org.el (org-agenda-get): New function.
2339 * org-agenda.el (org-agenda-post-command-hook): No longer move
2340 point away from end of line.
2341 (org-agenda-add-entry-text, org-agenda-collect-markers)
2342 (org-finalize-agenda, org-agenda-mark-clocking-task)
2343 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2344 (org-agenda-entry-text-show, org-agenda-highlight-todo)
2345 (org-agenda-compare-effort, org-agenda-filter-apply)
2346 (org-agenda-later, org-agenda-change-time-span)
2347 (org-agenda-post-command-hook, org-agenda-show-priority)
2348 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2349 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2350 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2351 (org-agenda-open-link, org-agenda-copy-local-variable)
2352 (org-agenda-switch-to, org-agenda-check-no-diary)
2353 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2354 (org-agenda-add-note, org-agenda-change-all-lines)
2355 (org-agenda-priority, org-agenda-set-tags)
2356 (org-agenda-set-property, org-agenda-set-effort)
2357 (org-agenda-toggle-archive-tag, org-agenda-date-later)
2358 (org-agenda-show-new-time, org-agenda-date-prompt)
2359 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2360 (org-agenda-clock-in, org-agenda-bulk-mark)
2361 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2364 * org-colview.el (org-columns-display-here)
2365 (org-columns-edit-allowed, org-agenda-columns): Use
2368 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
2370 * org.el (org-special-ctrl-a/e): Improve documentation and
2372 (org-end-of-line): Don't jump to after the ellipsis.
2373 (org-mode-map): Bind <home> and <end> as well.
2375 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
2377 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2378 space after #+ as comments.
2379 (org-open-at-point): Run `org-follow-link-hook' always.
2381 * org-latex.el (org-export-latex-emph-format): Use better commands
2382 to insert special characters in verbatim snippets.
2384 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
2386 * org-faces.el (org-copy-face): New function. Use it to create
2387 various faces formerly created by using `copy-face'.
2389 * org-agenda.el (org-prepare-agenda): Don't officially mark this
2391 (org-agenda-quit): Kill the frame containing the agenda window if
2392 that frame was created for the agenda.
2394 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
2396 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2397 stamp in the agenda.
2399 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
2401 * org-mobile.el (org-mobile-create-index-file): Add the list of
2402 TODO keywords, and the list of drawers to the index file.
2404 * org-agenda.el (org-prepare-agenda): Reset
2405 `org-drawers-for-agenda'.
2406 (org-prepare-agenda): Uniquify list of drawers.
2408 * org.el (org-complex-heading-regexp-format): New variable.
2409 (org-set-regexps-and-options): Define
2410 `org-complex-heading-regexp-format'.
2411 (org-drawers-for-agenda): New variable.
2412 (org-map-entries): Bind `org-drawers-for-agenda'.
2413 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2415 * org-remember.el (org-go-to-remember-target)
2416 (org-remember-handler): Use `org-complex-heading-regexp-format'.
2418 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
2420 * org-agenda.el (org-agenda-highlight-todo): Fix text property
2423 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
2424 the capture file, and make it non-configurable.
2426 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2427 always with `invisible-ok'.
2428 (org-store-link): No error when there is nothing to link to in the
2431 * org-list.el (org-update-checkbox-count): Insert changed cookie
2432 before the old, to avoid problems with invisibility at the end of
2434 (org-update-checkbox-count): Insert changed cookie before the old,
2435 to avoid problems with invisibility at the end of the line.
2437 * org.el (org-sort-entries-or-items): Include the final newline.
2438 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2439 lines for fontification.
2440 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2441 (org-prepare-dblock): Store the current indentation of the BEGIN
2443 (org-update-dblock): Apply the indentation of the begin line to
2444 the rest of the block.
2445 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2446 (org-startup-folded): New allowed value `showeverything'.
2447 (org-startup-options): Add STARTUP keyword `showeverything'.
2448 (org-set-startup-visibility): Respect value `showeverything' in
2451 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
2453 * org.el (org-closest-date): Fix issue with past preference.
2455 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
2457 * org-archive.el (org-archive-set-tag)
2458 (org-archive-subtree-default): New commands.
2460 * org-mobile.el (org-mobile-create-index-file): Fix link to
2462 (org-mobile-copy-agenda-files): Create the capture file if it does
2465 * org-clock.el (org-clock-clocktable-default-properties): New
2467 (org-clock-report): Use
2468 `org-clock-clocktable-default-properties'.
2470 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
2472 * org.el (org-iswitchb-completing-read): Fix typo.
2474 * org-crypt.el: New file.
2476 * org.el: Add an entry for org-crypt.
2478 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
2480 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2482 (org-batch-store-agenda-views): New function.
2483 (org-mobile-force-id-on-agenda-items): Mention variable.
2484 (org-agenda-title-append): Define variable.
2485 (org-write-agenda): New export to Org files.
2486 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2487 (org-agenda): Allow to keep the restricted file list if a special
2488 variable is bound to t.
2489 (org-agenda): Define a special agenda view for working on flagged
2491 (org-agenda-get-restriction-and-command): List the new agenda
2493 (org-agenda-show-the-flagging-note): New command.
2494 (org-agenda-mode-map): New key `?' for looking at the flagging
2497 * org.el (org-autoload): Autoload org-mobile.el.
2498 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2500 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2502 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
2504 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2506 (org-table-get-remote-range): Match indented #+TBLNAME
2509 * org.el (org-convert-to-odd-levels)
2510 (org-convert-to-oddeven-levels): Work also correctly if the file
2513 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
2515 * org.el (org-store-link): When in agenda buffer, link to
2517 (org-add-planning-info): Remove spaces at eol.
2519 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2522 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
2524 * org-latex.el (org-export-latex-first-lines): Fix problem with
2525 LaTeX export of first line and selected subtree.
2527 * org.el (org-shifttab): Interpret arg differently when using only
2530 2009-09-09 Bastien Guerry <bzg@altern.org>
2532 * org.el (org-check-agenda-file): Use a more explicit message
2534 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
2536 * org-exp.el (org-export-remove-special-table-lines): Don't remove
2539 2009-09-08 Bastien Guerry <bzg@altern.org>
2541 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2542 prompt in the temporary window.
2544 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2545 prefix for marked entries in the agenda view.
2547 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
2549 * org.el (outline-end-of-subtree): Bugfix: advise this function in
2550 a way that prevents any trailing character from being displayed.
2552 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
2554 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2557 * org-exp.el (org-export-remove-special-table-lines): Remove bad
2560 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
2562 * org-latex.el (org-export-latex-preprocess): Do not protect in
2565 * org-src.el (org-edit-src-save): Save window setup while saving.
2566 (org-edit-src-code): Use new buffer name construction scheme.
2568 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
2570 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2572 (org-agenda-entry-text-cleanup-hook): New hook.
2573 (org-agenda-get-some-entry-text): Remove matches of
2574 `org-agenda-entry-text-exclude-regexps' and run the hook
2575 `org-agenda-entry-text-cleanup-hook'.
2577 * org.el (org-offer-links-in-entry): New argument ZERO to
2578 implement a link with index zero.
2579 (org-cycle-show-empty-lines): Not keep empty line under header
2581 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2582 to nil for special completion.
2583 (org-store-link): Don't error before the first heading.
2585 * org-agenda.el (org-agenda-open-link): Pass the prefix to
2586 `org-offer-links-in-entry'.
2588 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
2590 * org-agenda.el (org-agenda-quit): Provide the window argument for
2591 `window-dedicated-p', Emacs 22 needs it.
2592 (org-format-agenda-item): If the category is a link, arrange for
2593 invisible text to replaced with spaces.
2594 (org-compile-prefix-format): Add the extra space.
2595 (org-prefix-category-length): New variable.
2597 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2598 references from TOC lines.
2600 * org.el (org-selected-window): New variable.
2602 * org-table.el (org-table-edit-formulas): Remember the selected
2604 (org-table-fedit-finish, org-table-fedit-abort): Select the window
2605 that was originally selected.
2607 * org-exp.el (org-export-preprocess-apply-macros): Scan the
2608 expansion of a macro for more macro definitions.
2610 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2611 invisibility overlay starts on the newline.
2613 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2615 * org-protocol.el (org-protocol-store-link)
2616 (org-protocol-remember, org-protocol-open-source): Add autoloads.
2618 * org-compat.el (org-float-time): New function.
2620 * org.el (org-clock-update-time-maybe)
2621 (org-sort-entries-or-items, org-do-sort)
2622 (org-evaluate-time-range, org-time-string-to-seconds)
2623 (org-closed-in-range): Use `org-float-time'.
2625 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2626 (org-timer-seconds): Use `org-float-time'.
2628 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2629 (org-clock-sum, org-dblock-write:clocktable)
2630 (org-clocktable-steps): Use `org-float-time'.
2632 * org-agenda.el (org-agenda-last-marker-time)
2633 (org-agenda-new-marker, org-diary): Use `org-float-time'.
2635 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2638 * org-exp.el (org-get-file-contents): Only protect lines that
2641 * org-html.el (require): Require cl for compilation.
2643 * org.el: Avoid using `default-major-mode'.
2645 * org-plot.el (require): Require CL only at compile time.
2647 * org-exp.el (require): Require CL only at compile time.
2649 * org-agenda.el (org-agenda-quit): When the agenda window is
2650 dedicated, remove other windows before exiting, so that the frame
2651 really will be killed.
2653 * org-exp.el (org-export-handle-include-files): Reset START and
2654 END for each loop cycle.
2656 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
2658 * org.el (org-eval-in-calendar): Use
2659 `org-select-frame-set-input-focus'.
2661 * org-compat.el (org-select-frame-set-input-focus): New function.
2663 * org.el (org-update-statistics-cookies): New function.
2664 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2666 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
2668 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2669 after the local variables are set.
2671 * org-latex.el (org-export-latex-protect-amp): New function.
2672 (org-export-latex-links): Protect link ampersands in tables.
2674 * org-exp.el (org-export-select-backend-specific-text): Match in
2675 two steps, to avoid regexp problems.
2677 * org.el (org-offer-links-in-entry): Improve working with many and
2680 * org-agenda.el (org-agenda-show-1): Make more consistent with
2682 (org-agenda-cycle-show): Make more consistent with normal cycling.
2684 * org-gnus.el (org-gnus-store-link): Restore the linking to a
2687 2009-08-30 Bastien Guerry <bzg@altern.org>
2689 * org-latex.el (org-export-latex-first-lines): Bugfix.
2691 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
2693 * org-clock.el (org-clock-modify-effort-estimate): Emit message
2696 * org.el (org-set-effort): New function.
2697 (org-mode-map): New key for effort setting command.
2699 * org-agenda.el (org-agenda): Keep window setup when calling
2700 agenda from within agenda window.
2701 (org-agenda-mode-map): New keys for effort setting commands.
2702 (org-agenda-menu): Add effort setting commands to menu.
2703 (org-agenda-set-property, org-agenda-set-effort): New functions.
2705 * org-latex.el (org-export-latex-tables): Fix
2706 `org-table-last-alignment' and `org-table-last-column-widths' if
2707 the first column has been removed.
2709 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
2711 * org.el (org-remove-timestamp-with-keyword): Only remove in
2712 entry, not in subtree.
2714 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2717 * org.el (org-open-at-point): When on headline, offer all strings
2720 * org-remember.el (org-remember-templates): Documentation fix.
2722 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2723 `org-get-last-sibling' instead of the outline versions of these
2725 (org-get-last-sibling): New function.
2726 (org-refile): Use `org-get-next-sibling' instead of the outline
2727 version of this function.
2728 (org-clean-visibility-after-subtree-move): Use
2729 `org-get-next-sibling' and `org-get-last-sibling' instead of the
2730 outline versions of these functions.
2732 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
2734 * org-agenda.el (org-prepare-agenda): When creating a new frame
2735 for the agenda, make the window dedicated.
2737 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2739 * org-table.el (org-table-align): Change the order of reinsertion
2740 and deletion, to avoid problems with overlays following the table.
2742 * org.el (org-parse-time-string): Better error message.
2743 (org-show-subtree): Use org-end-of-subtree.
2745 * org-macs.el (org-goto-line): New defsubst.
2747 * org.el (org-open-file, org-change-tag-in-region)
2748 (org-fast-tag-show-exit): Don't use `goto-line'.
2750 * org-table.el (org-table-align, org-table-insert-column)
2751 (org-table-delete-column, org-table-move-column)
2752 (org-table-sort-lines, org-table-copy-region)
2753 (org-table-paste-rectangle, org-table-wrap-region)
2754 (org-table-get-specials, org-table-rotate-recalc-marks)
2755 (org-table-get-range, org-table-recalculate)
2756 (org-table-edit-formulas, org-table-fedit-convert-buffer)
2757 (org-table-show-reference, org-table-highlight-rectangle): Don't
2760 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2761 (org-edit-src-exit): Don't use `goto-line'.
2763 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2765 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2766 Don't use `goto-line'.
2768 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2770 * org-colview.el (org-columns, org-columns-redo)
2771 (org-agenda-columns): Don't use `goto-line'.
2773 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2776 * org-agenda.el (org-agenda-mode): Force visual line motion off.
2777 (org-agenda-add-entry-text-maxlines): Improve docstring.
2778 (org-agenda-start-with-entry-text-mode): New option.
2779 (org-agenda-entry-text-maxlines): New option.
2780 (org-agenda-entry-text-mode): New variable.
2781 (org-agenda-mode): Set initial value of
2782 `org-agenda-entry-text-mode'.
2783 (org-agenda-mode-map): Add the `E' key.
2784 (org-agenda-menu): Add entry text mode to the menu.
2785 (org-agenda-get-some-entry-text): Fix line count bug.
2786 (org-finalize-agenda): Apply entry text mode if appropriate.
2787 (org-agenda-entry-text-show-here): New function.
2788 (org-agenda-entry-text-show): New function.
2789 (org-agenda-entry-text-hide): New function.
2790 (org-agenda-view-mode-dispatch): Add entry text mode to the view
2792 (org-agenda-entry-text-mode): New command.
2793 (org-agenda-set-mode-name): Add entry text mode to the mode line
2795 (org-agenda-undo, org-agenda-get-restriction-and-command)
2796 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2799 2009-08-26 Bernt Hansen <bernt@norang.ca>
2801 * org-clock.el (org-notify): Bugfix.
2803 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
2805 * org-agenda.el (org-agenda-open-link): Handle multiple links and
2806 check for after-string.
2808 * org-gnus.el (org-gnus-store-link): Simplify.
2810 * org.el (org-latex-regexps): Don't add extra empty lines for
2813 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
2815 * org-agenda.el (org-agenda-get-some-entry-text): New function.
2816 (org-agenda-add-entry-text): Use
2817 `org-agenda-get-some-entry-text'.
2819 * org.el (org-cycle-separator-lines): Update docstring.
2820 (org-cycle-show-empty-lines): Handle negative values for
2821 `org-cycle-show-empty-lines'.
2823 * org-exp.el (org-export-protect-sub-super): New function.
2824 (org-export-normalize-links): Protect the url of plain links from
2825 supscript and superscript processing.
2827 * org-remember.el (org-remember-escaped-%): New function.
2828 (org-remember-apply-template): Use `org-remember-escaped-%' to
2829 detect escaped % signs.
2831 2009-08-23 Bastien Guerry <bzg@altern.org>
2833 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2834 sound when showing the notification.
2836 * org-clock.el (org-notify): New function.
2837 (org-clock-notify-once-if-expired): Use `org-notify'.
2839 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2840 and `gnus-article-mode' separately.
2841 (gnus-summary-article-header): Fix the declare-function.
2843 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
2845 * org-exp.el (org-export-format-source-code-or-example): Translate
2848 * org-src.el (org-src-lang-modes): New variable
2849 (org-edit-src-code): Translate language.
2851 * org-exp.el (org-export-format-source-code-or-example): Deal wit
2852 the new structure of the `org-export-latex-listings-langs'
2855 * org-latex.el (org-export-latex-listings-langs): Change structure
2856 of the variable from plist to alist.
2858 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
2860 * org.el (org-in-commented-line): New function.
2862 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
2864 * org.el (org-hide-block-toggle): Make folded blocks searchable.
2866 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
2868 * org.el (org-flag-drawer): More useful error.
2870 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
2872 * org-remember.el (org-remember-apply-template): Use
2873 org-icompleting-read.
2875 * org-publish.el (org-publish): Use org-icompleting-read.
2877 * org-colview.el (org-columns-edit-value, org-columns-new)
2878 (org-insert-columns-dblock): Use org-icompleting-read.
2880 * org-colview-xemacs.el (org-columns-edit-value)
2881 (org-columns-new, org-insert-columns-dblock): Use
2882 org-icompleting-read.
2884 * org-attach.el (org-attach-delete-one, org-attach-open): Use
2885 org-icompleting-read.
2887 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
2889 * org.el (org-hierarchical-todo-statistics): Improve docstring.
2890 (org-version): Return the version text.
2891 (org-org-menu): Add a menu entry for the new bug reporter.
2892 (org-submit-bug-report): New command.
2894 * org-list.el (org-hierarchical-checkbox-statistics): Improve
2897 * org.el (org-emphasis-regexp-components): Add "`" to set of
2898 pre-emphasis characters.
2900 * org-latex.el (org-export-latex-classes): Always include the soul
2902 (org-export-latex-emphasis-alist): Use \st for strikethough.
2904 * org-exp-blocks.el (org-export-blocks-preprocess): Use
2905 `indent-code-rigidly' to indent.
2907 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2908 properties only if MATCH really is a string.
2910 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
2912 * org-latex.el (org-export-latex-packages-alist): Fix
2915 * org.el (org-create-formula-image): Also use
2916 `org-export-latex-packages-alist'.
2918 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2919 (org-export-as-html): Format footnotes correctly.
2921 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
2923 * org.el (org-fast-tag-selection): Avoid text properties on tags
2926 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2927 text properties on the match element.
2929 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
2931 * org.el (org-set-regexps-and-options): Make sure the list of done
2932 keywords is not invalid.
2934 * org-exp.el (org-export-interpolate-newlines): New function.
2936 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
2938 * org.el (org-format-latex): Avoid nested overlays.
2940 * org-latex.el (org-export-latex-listings-langs): Add a few more
2943 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2944 ignore newlines and space before the first macro argument.
2946 * org-latex.el (org-export-latex-tables): Remove save-excursion
2947 around `org-table-align'.
2949 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
2951 * org.el (org-export-html-special-string-regexps): Definition
2954 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2957 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
2959 * org-latex.el (org-export-latex-listings)
2960 (org-export-latex-listings-langs): New options.
2962 * org-exp.el (org-export-format-source-code-or-example): Use
2963 listing package if requested by the user.
2965 2009-08-08 Bastien Guerry <bzg@altern.org>
2967 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2968 command before actually switching to a buffer.
2970 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
2972 * org-exp.el (org-get-file-contents): Only quote org lines when
2973 the markup is src or example.
2975 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2977 (org-agenda-get-day-entries): Remember deadline results and pass
2978 them on into the function getting the scheduling information.
2979 (org-agenda-get-scheduled): Accept deadline results as parameters
2980 and maybe skip some entries.
2981 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2983 * org.el (org-insert-heading): When respecting content, do not
2984 convert current line to headline.
2986 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2987 cheeeeeck the hd marker
2988 (org-clock-in): Also set the hd marker.
2989 (org-clock-out): Also set the hd marker.
2990 (org-clock-cancel): Reset markers.
2992 * org.el (org-clock-hd-marker): New marker.
2994 * org-faces.el (org-agenda-clocking): New face.
2996 * org-agenda.el (org-agenda-mark-clocking-task): New function.
2997 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2999 * org.el (org-modules): Add org-track.el.
3001 * org-agenda.el (org-agenda-bulk-marked-p): New function.
3002 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
3003 `org-agenda-bulk-marked-p'.
3004 (org-agenda-bulk-toggle): New command.
3006 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3008 * org.el (org-move-subtree-down): Hide subtree if it was folded,
3011 * org-remember.el (org-remember-finalize): Avoid buffer-modified
3014 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
3016 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
3017 before gnuplot can read it.
3019 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
3021 * org-latex.el (org-export-latex-first-lines): Fix bug with
3022 finding the end of the first lines.
3024 * org.el (org-create-formula-image): Remove the -E option for
3027 * org-exp.el (org-default-export-plist): Respect #+BIND.
3028 (org-export-confirm-letbind): New function.
3030 * org.el (org-paste-subtree): Test the kill ring entry if it is
3032 (org-copy-subtree): Use `org-forward-same-level'.
3033 (org-forward-same-level): Respect the `invisibe-ok' arg for
3036 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
3038 * org.el (org-table-map-tables): Make sure cursor is back at table
3039 beginning after funcall.
3041 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
3042 handled before children, and do not error if an entry is not
3043 found, probably because it hase been remove when the parent was
3044 archived or refiled.
3046 * org.el (org-ido-completing-read): Accept straight lists for
3047 completion as well as alists.
3049 * org-html.el (org-export-as-html): Fix parenthesis error in
3052 * org-timer.el (org-timer-cancel-timers): Renamed from
3053 `org-timer-cancel-timers'.
3055 * org.el (org-cycle-internal-local): Fix problem with finding next
3058 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
3060 * org-list.el (org-list-send-list): Call
3061 `org-list-goto-true-beginning' instead of
3062 `org-list-find-true-beginning', which does not exist.
3064 * org-timer.el (org-timer-reset-timers): Use `mapc'.
3065 (org-timer-set-timer): Do not assign to heading.
3067 * org-id.el (org-id-open): Quote function name.
3069 * org-macs.el (org-unmodified): Turn off recording undo
3070 information while running inside the macro.
3072 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
3074 (org-indent-mode): Remember and restore value of
3075 org-hide-leading-stars before `org-indent-mode'.
3077 * org-table.el (org-table-export): Also work in file-less
3080 * org.el (org-startup-indented): New option.
3081 (org-startup-options): Add new options indent and noindent.
3082 (org-unfontify-region): Remove line-prefix and wrap-prefix
3084 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
3086 (org-promote, org-demote): Run the new hooks.
3088 * org-table.el (org-table-align): Replace leading \n as well.
3090 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
3091 and `line-wrap' text properties.
3093 * org-compat.el (org-kill-new): New function.
3095 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
3096 `line-wrap' text properties.
3098 * org-indent.el: New file.
3100 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
3102 * org.el (org-provide-todo-statistics): Tweak docstring.
3104 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
3106 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
3108 * org-exp.el (org-export-as-org): Insert the "-source" string
3109 before the extension.
3111 * org.el (org-read-date): Make sure the calendar is in the current
3113 (org-set-emph-re): Remove the ? from the post-match.
3114 (org-emphasis-regexp-components): Add backslash to the
3116 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
3117 optional so that also lines at the end of the buffers will still
3118 be matched as headlines.
3120 * org-table.el (org-table-error-on-row-ref-crossing-hline):
3121 Variable made obsolete.
3122 (org-table-relative-ref-may-cross-hline): New option.
3123 (org-table-find-row-type): Honow the new option
3124 `org-table-relative-ref-may-cross-hline'.
3126 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
3128 * org-table.el (org-table-cut-region, org-table-copy-region): Work
3129 on single field if no active region.
3131 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
3133 * org-latex.el (org-export-latex-make-header): Only insert title
3136 * org.el (org-make-options-regexp): Allow empty values.
3138 * org-html.el (org-export-as-html): Move hrule detection to after
3139 plain list handling.
3141 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
3143 * org-html.el (org-format-org-table-html): Fix colgroup tags.
3145 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
3147 * org.el (org-cycle-internal-local): Improved version of finding
3149 (org-cycle-hide-drawers): Only hide drawers if this is really
3151 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
3152 org-version of this function in Org-mode. We use advice to
3153 implement this change, so that future changes to this function in
3154 outline.el wil be handled properly.
3155 (org-forward-same-level, org-backward-same-level): New commands.
3157 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
3159 * org.el (org-remove-empty-overlays-at)
3160 (org-clean-visibility-after-subtree-move): New functons.
3161 (org-move-subtree-down): Simplify cleanup of display.
3163 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
3165 * org-mac-message.el (org-mac-message-get-links): Improve
3166 docstring. Make argument SELECT-OR-FLAGGED optional, default to
3167 "s". Fix the return value.
3168 (org-mac-message-insert-flagged): Simplify.
3170 * org.el (org-refile-get-location): Tamper with refile history o
3171 that history contains compete matches instead of the entered
3174 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
3176 * org.el (org-store-link): Never store a link to an inline task.
3178 * org-inlinetask.el (org-inlinetask-insert-task): New command.
3180 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
3181 inline tasks when positioning footnotes.
3183 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
3186 * org.el (org-refile): Remove the END line when archiving an
3187 inline task that does have an END line.
3189 * org-archive.el (org-archive-subtree): Remove the END line when
3190 archiving an inline task that does have an END line.
3192 * org-macs.el (org-with-limited-levels): New macro.
3193 (org-get-limited-outline-regexp): New function.
3195 * org-exp.el (org-export-format-source-code-or-example): Fix bug
3196 that did not enumerate first line.
3197 (org-export-mark-radio-links): Skip matches in links.
3199 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
3201 * org.el (org-activate-plain-links): Make single-match.
3202 (org-adapt-indentation): Fix docstring.
3204 * org-macs.el (org-unmodified): Turn of modification hooks while
3207 2009-08-02 Bastien Guerry <bzg@altern.org>
3209 * org.el (org-adapt-indentation): Slightly improve the docstring.
3210 (org-occur): Sends an error when the user inputs an empty string.
3211 (org-priority): Bugfix: the tag alignement should happen within
3214 2009-07-31 Bastien Guerry <bzg@altern.org>
3216 * org.el (org-make-link-regexps): Don't exclude parentheses from
3218 (org-cycle-internal-local): When locally cycling, switch directly
3219 from CHILDREN to FOLDED if there is no subtree
3220 (org-cycle): Update the docstring to document the new behavior of
3221 `org-cycle-internal-local'.
3223 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
3225 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3226 an abbreviated format for days.
3228 2009-07-27 Bastien Guerry <bzg@altern.org>
3230 * org-protocol.el (org-protocol-default-template-key): New
3233 * org.el (org-refile): Bugfix: save-excursion before reading the
3234 refile target, otherwise cursor moves might confuse `org-refile'.
3236 * org-html.el (org-export-as-html): Bugfix: correctly convert the
3237 footnote reference before the footnote itself.
3239 * org.el (org-toggle-heading): Bugfix: correctly convert list
3240 items before the first headline.
3242 * org-html.el (org-export-html-footnote-format): New option for
3243 formatting the footnote reference.
3244 (org-export-as-html): Use the new option.
3246 * org.el (org-provide-todo-statistics): Allow a list of TODO
3247 keywords to compute statistics against headlines containing a
3248 keyword from this list.
3249 (org-update-parent-todo-statistics): Possibly use the new allowed
3250 value of `org-provide-todo-statistics'.
3252 2009-07-26 Bastien Guerry <bzg@altern.org>
3254 * org-timer.el: Add autoload cookie.
3256 * org.el (org-occur-link-in-agenda-files): New function.
3258 * org-timer.el (org-timer-last-timer): New variable.
3260 * org-agenda.el (org-agenda-mode-map): New key for
3261 org-timer-set-timer called from the agenda.
3263 * org.el (org-mode-map): New key for org-timer-set-timer.
3265 * org-timer.el (org-timer-reset-timers)
3266 (org-timer-show-remaining-time, org-timer-set-timer): New
3269 * org-clock.el (org-show-notification): Update the docstring.
3271 * org.el (org-provide-todo-statistics): Allow new value
3272 'all-headlines for this option, which includes entries with no
3273 TODO keywords in the todo statistics.
3274 (org-update-parent-todo-statistics): Possibly use the new
3275 'all-headline value from `org-provide-todo-statistics'.
3277 2009-07-25 Bastien Guerry <bzg@altern.org>
3279 * org-clock.el (org-dblock-write:clocktable): Add a new option
3280 :timestamp which allows display of timestamps in clock reports.
3282 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3283 list to a subtree, preserving the structure of the list.
3284 (org-set-emph-re): Make the last element optional in the regexp.
3285 This regexp now matches an emphasized string at the end of a line.
3287 * org-list.el (org-list-goto-true-beginning)
3288 (org-list-make-subtree, org-list-make-subtrees): New functions.
3290 * org.el (org-eval-in-calendar): Select the right frame.
3291 (org-save-frame-excursion): Remove this macro.
3293 2009-07-24 Bastien Guerry <bzg@altern.org>
3295 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3296 trying to find the beginning of a list.
3298 * org-exp.el (org-get-file-contents): Use a new argument: markup.
3299 When present, tell org-get-file-contents not to protect org-like
3302 * org-id.el (org-id-uuid-program): New option to set the name of
3303 the uuidgen program.
3304 (org-id-method): Use `org-id-uuid-program'.
3305 (org-id-new): Use `org-id-uuid-program'.
3307 2009-07-23 Bastien Guerry <bzg@altern.org>
3309 * org-exp.el (org-export-number-lines): Allow whitespace in code
3310 references. Allow the -r switch to remove the references in the
3311 source code even when the lines are not numbered: the labels can
3314 * org.el (org-fontify-whole-heading-line): New option.
3315 (org-set-font-lock-defaults): Use the new option.
3317 * org-clock.el (org-show-notification-handler): New option.
3318 (org-show-notification): Use the new option.
3320 2009-07-21 Bastien Guerry <bzg@altern.org>
3322 * org.el (org-eval-in-calendar): Fix a bug about calendar
3323 navigation when `calendar-setup' value is 'calendar-only.
3325 2009-07-19 Bastien Guerry <bzg@altern.org>
3327 * org.el (orgstruct++-mode): Fix typo in docstring.
3328 (org-insert-link): Clean up: (or (...)) => (...)
3329 (org-insert-link): Use TAB for stored links completion.
3331 2009-07-18 Bastien Guerry <bzg@altern.org>
3333 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3334 building the list of targets.
3336 * org-remember.el (org-remember-delete-empty-lines-at-end): New
3338 (org-remember-handler): Use the new option.
3340 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
3342 * org.el (org-tags-sort-function): New option for sorting tags.
3343 (org-set-tags): Use the new option to sort tags.
3345 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3346 premature deletion of the data when using org-plot in a script.
3348 2009-07-17 Bastien Guerry <bzg@altern.org>
3350 * org-clock.el (org-clock-in-prepare-hook): New hook.
3351 (org-clock-in): Use this new hook.
3353 2009-07-16 Bastien Guerry <bzg@altern.org>
3355 * org.el (org-special-ctrl-a/e): Explicitely bind the value
3356 'reversed for this option to the "true line boundary first"
3358 (org-tags-match-list-sublevels): Document the 'indented value for
3361 * org-latex.el (org-export-latex-first-lines): Fix problem with
3362 publishing the region.
3364 * org-exp.el (org-export-format-source-code-or-example): Fix
3365 bad line numbering when exporting examples in HTML.
3367 * org-colview.el (org-format-time-period): Formats a time in
3368 fractional days as days, hours, mins, seconds.
3369 (org-columns-display-here): Add special handling for SINCE and
3370 SINCE_IA to format for display.
3372 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
3374 * org.el (org-tags-sort-function): Add custom declaration for tags
3376 (org-set-tags): Sort tags if org-tags-sort-function is set
3378 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
3380 * org-clock.el (org-clock-goto): Find hidden headlines as well.
3382 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3384 * org-plot.el (org-plot/add-options-to-plist): Add timeind
3387 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
3389 * org-publish.el (org-publish-remove-all-timestamps): New function.
3390 (org-publish-all): Remove all timestamp files if `org-publish-all'
3391 is called with a prefix argument.
3393 * org-list.el (org-indent-item): Fix typo.
3394 (org-item-indent-positions): Normalize ordered bullet.
3396 * org-html.el (org-export-html-home/up-format): New option.
3397 (org-export-as-html): Insert the up and HOME links.
3399 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
3401 * org-html.el (org-export-as-html): Insert the title into the
3403 (org-export-html-insert-plist-item): New function.
3404 (org-export-as-html): Call `org-export-html-insert-plist-item'.
3406 * org-macs.el (org-set-local): Make a local variable, do not make
3407 the variable buffer-local!
3409 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3411 * org-html.el (org-export-as-html): Call `org-install-letbind'.
3413 * org-docbook.el (org-export-as-docbook): Call
3414 `org-install-letbind'.
3416 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
3418 * org-exp.el (org-infile-export-plist): Read BIND lines.
3419 (org-install-letbind): New function.
3420 (org-export-as-org, org-export-preprocess-string): Call
3421 `org-install-letbind'.
3423 * org-src.el (org-edit-src-exit): Untabify the example before
3426 * org-list.el (org-list-demote-modify-bullet): New option.
3427 (org-first-list-item-p): Save point.
3428 (org-fix-bullet-type): New optional argument FORCE-BULLET.
3429 (org-indent-item): Honor `org-list-demote-modify-bullet'.
3430 (org-item-indent-positions): Return bullet types along with
3433 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
3435 * org.el (org-show-entry): Hide drawers.
3437 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
3439 * org-footnote.el (org-footnote-auto-adjust): New option.
3440 (org-footnote-auto-adjust-maybe): New function.
3441 (org-footnote-new, org-footnote-delete): Call
3442 `org-footnote-auto-adjust-maybe'.
3444 * org.el (org-startup-options): Add new footnote-related
3447 * org-publish.el (org-publish-timestamp-filename): Additional
3448 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3449 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3450 TRUE-PUB-DIR. Pass them through to
3451 `org-publish-timestamp-filename'.
3452 (org-publish-update-timestamp): Additional arguments PUB-DIR and
3453 PUB-FUNC, which are included in the hash.
3454 (org-publish-file): Delay timestamp test until the publishing
3457 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
3459 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3460 setting the deadline.
3462 * org.el (org-read-date-final-answer): New variable.
3463 (org-read-date): Store the final answer string, including the date
3464 from the calendar, for reuse by agenda bulk commands.
3466 * org-publish.el (org-publish-attachment): Fix publishing of
3469 * org-latex.el (org-export-latex-quotation-marks): Fix export of
3470 quotation makrs in parenthesis.
3471 (org-remove-initial-hash): New function.
3472 (org-export-latex-preprocess): Fix bug with infinite loop if
3473 environment is not properly closed.
3475 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3478 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3479 highlight also when indented.
3481 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
3483 * org-footnote.el (org-footnote-renumber-fn:N): New command.
3484 (org-footnote-action): Offer renumbering.
3486 * org.el (org-cycle): Honor the `integrate' value of
3487 org-cycle-include-plain-lists'.
3489 * org-list.el (org-cycle-include-plain-lists): New allowed value
3490 `internal'. Improve the docstring.
3492 * org.el (org-set-autofill-regexps): Improve the paragraph-start
3493 regexp to work better with LaTeX commands.
3495 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
3497 * org-feed.el (org-feed-update): fix problem with non-existing
3499 (org-feed-skip-http-headers): New function.
3500 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
3501 (org-feed-get-feed): Fix command line arguments for curl.
3503 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
3505 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3508 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
3510 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3513 * org.el (org-map-entries): No longer force
3514 `org-tags-match-list-sublevels' to t during a todo-only tags
3517 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
3519 * org-latex.el (org-export-latex-low-levels): Allow user-defined
3521 (org-export-latex-subcontent): Handle user-defined environment.
3523 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3524 the View dispatcher.
3526 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3529 * org-latex.el (org-export-as-pdf): Protect match data during call
3530 to shell-quote-argument.
3532 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3533 (org-agenda-view-mode-dispatch): New function.
3535 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
3537 * org-agenda.el (org-agenda-mode): Reset list of marks.
3538 (org-agenda-mode-map): Define new keys for refile and bulk action.
3539 (org-agenda-menu): Add menu itesm for refile and bulk action.
3540 (org-agenda-refile): New function.
3541 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3542 (org-agenda-marked-entries): New variable.
3543 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3544 (org-agenda-remove-all-bulk-action-marks)
3545 (org-agenda-bulk-action): New functions/commands.
3547 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
3549 * org-exp.el (org-get-file-contents): Protect org-like lines in
3551 (org-export-format-source-code-or-example): Remove newlines.
3553 * org-latex.el (org-export-latex-links): Check for no-description
3556 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3557 argument separator back to comma.
3558 (org-export-normalize-links): Mark links without description.
3560 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
3562 * org-exp.el (org-infile-export-plist): Fix bug in macro
3565 * org-agenda.el (org-agenda-clock-out): Update line after clocking
3567 (org-agenda-highlight-todo): Fix bug with highlighting.
3569 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
3571 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3572 new alignment strings.
3574 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3576 (org-table-align): Check for forced align type.
3578 * org.el (org-self-insert-command): Add yas/expand to command
3581 * org-clock.el (org-clock-in-hook): New hook.
3582 (org-clock-in): Run `org-clock-in-hook.
3583 (org-clock-out-hook): New hook.
3584 (org-clock-out): Run `org-clock-out-hook.
3585 (org-clock-cancel-hook): New hook.
3586 (org-clock-cancel): Run `org-clock-cancel-hook.
3587 (org-clock-goto-hook): New hook.
3588 (org-clock-goto): Run `org-clock-goto-hook.
3590 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
3592 * org.el (org-store-link): Better default description for link to
3595 * org-exp.el (org-export-generic): Autoload the generic exporter
3597 (org-export): Implement the `g' key for the generic exporter.
3599 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
3601 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3604 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3606 * org-exp.el (org-infile-export-plist): Get macros also from
3609 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
3611 * org-colview.el (org-columns-capture-view): Protect vertical bars
3613 (org-columns-capture-view): Exclude comment and archived trees.
3615 * org-colview-xemacs.el (org-columns-capture-view): Protect
3616 vertical bars in column values.
3617 (org-columns-capture-view): Exclude comment and archived trees.
3619 * org.el (org-quote-vert): New function.
3621 * org-latex.el (org-export-latex-verbatim-wrap): New option.
3623 * org-exp.el (org-export-format-source-code-or-example): Use
3624 `org-export-latex-verbatim-wrap'.
3626 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3629 * org-html.el (org-export-table-row-tags): New option.
3630 (org-format-org-table-html): Rename `nlines' to `nline', use new
3634 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
3636 * org-exp-blocks.el: Declare functions and variables.
3638 * org-remember.el (org-remember-templates): Allow the headline
3639 element to be a function.
3640 (org-remember-apply-template): If the headline is a function, call
3641 it to get the true function.
3643 * org-clock.el (org-clock-menu): New function.
3644 (org-clock-update-mode-line): Update help string.
3645 (org-clock-modify-effort-estimate): New function.
3646 (org-clock-mark-default-task): New function.
3648 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3650 (org-org-menu): Add new clocking stuff.
3651 (org-clock-is-active): New function.
3653 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
3655 * org.el (org-open-non-existing-files): Improve docstring.
3657 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
3659 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3661 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3663 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3665 * org-list.el (org-get-checkbox-statistics-face): Use the new
3668 * org-faces.el (org-checkbox-statistics-todo)
3669 (org-checkbox-statistics-done): New faces.
3671 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
3673 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3674 (org-edit-src-exit): Better cursor positioning when returning from
3677 * org-latex.el (org-export-latex-use-verb): New variable.
3678 (org-export-latex-emph-format): Prefer \texttt over \verb when
3679 org-export-latex-use-verb is set.
3681 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
3683 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3684 at normal indentation.
3686 * org-html.el (org-export-html-close-lists-maybe): Also look at
3689 * org-remember.el (org-remember-handler): Abort remember if the
3692 * org-src.el (org-edit-src-content-indentation): New option.
3693 (org-edit-src-exit): Apply extra indentation.
3695 * org-exp.el (org-export-format-source-code-or-example): Run
3696 `org-src-mode-hook'.
3698 * org-src.el (org-src-mode-hook): New variable.
3699 (org-edit-src-code): Run `org-src-mode-hook'.
3701 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
3703 * org.el (org-indent-line-function): Fix indentation of +#end lines.
3705 * org-src.el (org-edit-src-get-indentation): New function.
3706 (org-edit-src-code): Base indentation on the begin line.
3708 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
3710 * org-gnus.el (org-gnus-store-link): Require message.el in
3711 org-gnus-store-link.
3713 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
3715 * org-src.el: New file, split out of org.el
3717 * org-docbook.el (org-export-as-docbook): Better indentation
3720 * org-macs.el (org-replace-match-keep-properties): New function.
3722 * org-exp.el (org-export-mark-blockquote-verse-center): Better
3723 preprocessing of center and quote and verse blocks.
3725 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3726 (org-export-as-docbook): Close lists when original indentation
3729 * org-html.el (org-export-html-close-lists-maybe): New function.
3730 (org-export-as-html): Close lists when original indentation
3733 * org-list.el (org-list-end): Respect the stored "original"
3734 indentation when determining the end of the list.
3736 * org-exp.el (org-export-replace-src-segments-and-examples):
3737 Remember indentation correctly.
3739 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
3741 * org-clock.el (org-clock-update-mode-line): Apply face
3742 org-mode-line-clock.
3744 * org-faces.el (org-mode-line-clock): New face.
3746 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
3748 * org-gnus.el (org-gnus-store-link): Fix bug where
3749 `org-gnus-store-link' used wrong subject when called in an article
3750 buffer. Patch provided by fengli AT gmail DOT com.
3752 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
3754 * org-exp.el (org-export-format-source-code-or-example): Remember
3755 the original indentation of source code snippets and examples.
3757 * org-latex.el (org-export-as-latex): Relocate the table of
3760 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3762 * org-agenda.el (org-run-agenda-series): Scope global options also
3763 when creating the agenda buffer.
3765 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
3767 * org.el (org-adapt-indentation): Improve documentation.
3768 (org-insert-property-drawer): Respect org-adapt-indentation when
3769 inserting the drawer.
3770 (org-remove-flyspell-overlays-in): New function.
3771 (org-do-emphasis-faces, org-activate-plain-links)
3772 (org-activate-code, org-fontify-meta-lines-and-blocks)
3773 (org-activate-angle-links, org-activate-footnote-links)
3774 (org-activate-bracket-links, org-activate-dates)
3775 (org-activate-target-links, org-activate-tags): Remove flyspell
3778 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
3780 * org.el (org-edit-src-save): New function.
3782 * org-clock.el (org-clock-out-switch-to-state): New option.
3783 (org-clock-out): Honor `org-clock-out-switch-to-state'.
3785 * org-compat.el (org-compatible-face): Improve macro.
3787 * org.el (org-global-properties-fixed): Add default for
3788 CLOCK_MODELINE_TOTAL.
3790 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3792 (org-clock-sum-current-item): Optional argument TSTART, pass it to
3794 (org-clock-get-sum-start): New function.
3796 * org.el (org-startup-options): New keywords blockhide and
3798 (org-mode): Add new invisibility spec.
3799 (org-set-startup-visibility): Hide block on startup if so
3801 (org-hide-block-startup): New option.
3802 (org-block-regexp): New constant.
3803 (org-hide-block-overlays): New variable.
3804 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3805 (org-show-block-all, org-hide-block-toggle-maybe)
3806 (org-hide-block-toggle): New functions.
3807 (org-edit-src-exit): Do not quote lines starting with # and no +
3809 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3812 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
3814 * org.el (org-buffer-property-keys): Add Effort property for
3817 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
3819 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3820 when retrieving total clocked time in the subtree.
3822 * org.el (org-quoting-blocks): New variable.
3824 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
3826 * org-table.el (org-table-store-formulas)
3827 (org-table-get-stored-formulas, org-table-fix-formulas)
3828 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3829 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3831 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3832 indented #+TBLFM line.
3834 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3835 indented #+TBLFM line.
3837 * org-colview.el (org-dblock-write:columnview): Allow indented
3840 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3841 indented #+TBLFM line.
3843 * org-clock.el (org-dblock-write:clocktable): Allow indented
3846 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
3848 * org-exp.el (org-export-format-source-code-or-example): Make
3849 editing indented blocks work correctly.
3851 * org.el (org-edit-src-nindent): New variable.
3852 (org-edit-src-code, org-edit-fixed-width-region)
3853 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3854 editing indented blocks work correctly.
3856 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
3858 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3860 (org-export-format-source-code-or-example): Fix indentation of
3862 (org-export-remove-indentation): New function.
3863 (org-export-select-backend-specific-text): Allow backend-specific
3864 code to be indented.
3865 (org-export-mark-blockquote-verse-center): Allow markers to be
3868 * org.el (org-fontify-meta-lines): New function.
3869 (org-set-font-lock-defaults): Call the new fontification
3872 * org-faces.el (org-meta-line): New face
3873 (org-block): New face.
3875 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
3877 * org.el (org-treat-insert-todo-heading-as-state-change)
3878 (org-treat-S-cursor-todo-selection-as-state-change): New
3880 (org-insert-todo-heading): Honor
3881 `org-treat-insert-todo-heading-as-state-change'.
3882 (org-shiftright, org-shiftleft): Honor
3883 `org-treat-S-cursor-todo-selection-as-state-change'.
3884 (org-inhibit-logging): New variable.
3886 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
3888 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3889 range for marker position checking.
3891 * org-latex.el (org-export-latex-first-lines): Fix bug when
3894 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
3896 * org-exp.el (org-export-push-to-kill-ring): Protect using
3897 x-set-selection, because that does not always work.
3899 * org-agenda.el (org-agenda-list): Apply the new face
3900 `org-agenda-date-today'.
3902 * org-faces.el (org-agenda-date-today): New face.
3904 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
3906 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3907 creating appointments.
3909 * org-latex.el (org-export-latex-low-levels): Fix customization
3912 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3915 * org-agenda.el (org-agenda-priority): Disable priority commands.
3917 * org.el (org-enable-priority-commands): New option.
3919 * org-colview-xemacs.el (org-columns-compute)
3920 (org-columns-number-to-string): Fix problems with empty fields.
3922 * org-colview.el (org-columns-compute)
3923 (org-columns-number-to-string): Fix problems with empty fields.
3925 * org-exp.el (org-export-push-to-kill-ring): New function.
3926 (org-export-copy-to-kill-ring): New option.
3928 * org-latex.el (org-export-as-latex): Call
3929 `org-export-push-to-kill-ring'.
3931 * org-html.el (org-export-as-html): Call
3932 `org-export-push-to-kill-ring'.
3934 * org-docbook.el (org-export-as-docbook): Call
3935 `org-export-push-to-kill-ring'.
3937 * org-ascii.el (org-export-as-ascii): Call
3938 `org-export-push-to-kill-ring'.
3940 * org-exp.el (org-export-show-temporary-export-buffer): New
3943 * org-latex.el (org-export-as-latex): Use
3944 `org-export-show-temporary-export-buffer'.
3946 * org-html.el (org-export-as-html): Use
3947 `org-export-show-temporary-export-buffer'.
3949 * org-docbook.el (org-export-as-docbook): Use
3950 `org-export-show-temporary-export-buffer'.
3952 * org-ascii.el (org-export-as-ascii-to-buffer): Use
3953 `org-export-show-temporary-export-buffer'.
3955 * org-exp.el (org-export-show-temporary-export-buffer): New
3957 (org-export-push-to-kill-ring): New function.
3959 * org-colview.el (org-columns-compile-map): New variable.
3960 (org-columns-new, org-columns-compute)
3961 (org-columns-number-to-string, org-columns-uncompile-format)
3962 (org-columns-compile-format): Implement new operators.
3964 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
3966 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3968 * org-html.el (org-export-html-xml-declaration): New option.
3969 (org-export-as-html): Use `org-export-html-xml-declaration'.
3971 * org-list.el (org-update-checkbox-count): Make property
3974 * org.el (org-hierarchical-todo-statistics): New option.
3975 (org-update-parent-todo-statistics): Modified to handle recursive
3978 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
3980 * org-publish.el (org-publish): Make this function behave
3981 correctly in interactive use when called with a prefix argument.
3983 * org.el (org-todo-statistics-hook): New hook.
3984 (org-update-parent-todo-statistics): Use new hook.
3985 (org-log-into-drawer): New function.
3986 (org-add-log-setup): Use the new `org-log-into-drawer' function to
3987 determine if we should be logging into a drawer.
3988 (org-log-into-drawer): Update docstring.
3989 (org-default-properties): Add LOG_INTO_DRAWER as a property.
3991 * org-list.el (org-checkbox-statistics-hook): New hook.
3992 (org-update-checkbox-count-maybe): Use new hook.
3994 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3995 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3998 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
4000 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
4003 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
4005 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
4006 better bufer-generating mechanism.
4007 (org-edit-src-find-buffer): New function.
4009 * org-icalendar.el (org-print-icalendar-entries): Don't check for
4010 archive tag, this is already done by `org-agenda-skip'.
4011 data while constructing lost of tags.
4013 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
4015 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
4016 as argument separator in macros.
4018 * org-html.el (org-export-as-html): Add xml declaration.
4020 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
4022 * org.el (org-after-sorting-entries-or-items-hook): New hook.
4023 (org-sort-entries-or-items): Run the new hook.
4024 (org-after-refile-insert-hook): New hook.
4025 (org-refile): Run `org-after-refile-insert-hook'.
4027 * org-agenda.el (org-agenda-get-progress): Never take time of day
4028 from headline when displaying progress.
4030 * org-latex.el (org-export-latex-complex-heading-re): New variable.
4031 (org-export-as-latex): Force the correct regexp in the
4032 preprocessor buffer.
4033 (org-export-latex-set-initial-vars): Set
4034 `org-export-latex-complex-heading-re'.
4036 * org-agenda.el (org-agenda-start-with-log-mode): New option.
4037 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
4039 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
4041 * org-latex.el (org-export-latex-tables-centered): New option.
4042 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
4044 * org-exp.el (org-export-as-org): New command.
4045 (org-export-as-org): New command.
4047 * org-publish.el (org-publish-org-to-org): New function.
4049 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
4051 * org.el (org-yank): Just call `org-yank-generic'.
4052 (org-yank-generic): New function, containing the formaer
4053 functionality of `org-yank'.
4055 * org-latex.el (org-export-latex-not-done-keywords)
4056 (org-export-latex-done-keywords): New variables.
4057 (org-export-latex-todo-keyword-markup): New option.
4058 (org-export-latex-set-initial-vars): Remember the TODO keywords.
4059 (org-export-latex-keywords-maybe): Apply the TODO markup.
4061 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
4063 * org-exp.el (org-infile-export-plist): Add more default macros.
4064 (org-export-preprocess-apply-macros): Process macro arguments.
4066 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
4068 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
4070 (org-print-icalendar-entries): Respect the new value of
4071 `org-icalendar-include-todo'.
4073 * org.el (org-link-try-special-completion)
4074 (org-file-complete-link): New functions.
4075 (org-insert-link): Add special completion support for some link
4078 * org-bbdb.el (org-bbdb-complete-link): New function.
4080 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
4082 * org-list.el (org-update-checkbox-count): Allow recursive
4084 (org-hierarchical-checkbox-statistics): New option.
4086 * org.el (org-cycle): Remove erraneous space character.
4088 * org-icalendar.el (org-icalendar-timezone): Initialize from
4091 * org-html.el (org-format-org-table-html): Specify the scope.
4092 (org-format-table-table-html): Specify the scope.
4093 (org-export-table-header-tags): Prepare the scope parameter.
4095 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
4098 (org-export-html-table-use-header-tags-for-first-column): New
4101 * org.el (org-autoload): Fix autoloading of ascii export
4103 (org-modules): Add org-special-blocks.
4105 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
4107 * org-icalendar.el (org-start-icalendar-file): Use the new option.
4108 (org-ical-timezone): New option.
4110 * org-exp.el (org-export-get-coderef-format): Use the description
4113 * org.el (org-sort-entries-or-items): Improve docstring, and make
4114 better implementation for time sorting.
4116 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
4118 * org.el (org-edit-src-persistent-message): New option.
4119 (org-edit-src-code, org-edit-fixed-width-region): Use the new
4122 * org-clock.el (org-clock-insert-selection-line): Fix prefious
4125 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
4126 separate buffer instead of indirect buffer to edit source code.
4127 (org-edit-src-exit): Make this function work with the new setup.
4129 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
4130 are properly fontified before shown in the selection menu.
4132 * org.el (org-fontify-like-in-org-mode): New function.
4134 * org-latex.el (org-export-latex-links): Use the property list to
4135 retrieve the default image attributes.
4137 * org-exp.el (org-export-plist-vars): Add a new option.
4139 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
4141 * org-exp.el (org-export, org-export-visible): Support ASCII
4143 (org-export-normalize-links): Do not protect the description if it
4144 is explicitly given.
4146 * org-ascii.el (org-export-as-ascii-to-buffer)
4147 (org-replace-region-by-ascii, org-export-region-as-ascii): New
4149 (org-export-as-ascii): Add all the same parameters that are also
4150 supported by the other export functions.
4152 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
4154 (org-reset-checkbox-state-subtree): Call
4155 `org-reset-checkbox-state-subtree'.
4157 * org-remember.el (org-select-remember-template): For the
4158 selection of a valid template.
4160 * org-latex.el (org-export-region-as-latex): Supply the
4161 force-no-subtree argument.
4162 (org-export-as-latex): Provide better limits when exporting the
4163 first line. When exporting to string, we still want the first
4165 (org-export-latex-first-lines): New argument END, to force the end
4167 (org-export-region-as-latex): Use the property list.
4168 (org-export-as-latex):
4170 * org-colview-xemacs.el (org-columns-remove-overlays)
4171 (org-columns): Fix call to `local-variable-p'.
4173 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
4175 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
4176 (org-export-as-html): Run the new hook.
4178 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
4179 (org-export-latex-preprocess): Run the new hook.
4181 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
4182 (org-export-preprocess-string): Run the new hook.
4184 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
4186 * org-macs.el (org-check-external-command): New defsubst.
4188 * org.el (org-mode-map): New key for reload.
4189 (org-format-latex): Better error message when external programs
4192 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
4194 * org.el (org-sort-entries-or-items): Explicit sorting function
4195 for priorities, needed for XEmacs compatibility.
4197 * org-remember.el (org-remember-apply-template): Improve auto-save
4200 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
4202 * org-latex.el (org-export-latex-preprocess): Also protect
4203 environments ending in a star.
4205 * org-list.el (org-at-item-p): Fix regular expression.
4207 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
4209 * org.el (org-end-of-subtree): Improve speed.
4211 * org-agenda.el (org-agenda-get-timestamps)
4212 (org-agenda-get-progress, org-agenda-get-deadlines)
4213 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
4214 in particular, wait as long as possible to collect the tags.
4215 (org-stuck-projects): Improve docstring.
4217 * org.el (org-store-link): No errors when getting custom id before
4219 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4221 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
4223 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4225 * org-protocol.el: Remove dependency on url.el.
4226 (org-protocol-unhex-compound, org-protocol-open-source): Remove
4227 dependency on url.el.
4229 * org-latex.el (org-export-as-pdf): Use
4230 `org-latex-to-pdf-process'.
4232 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
4234 * org-latex.el (org-latex-to-pdf-process): New option.
4236 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4238 (org-agenda-get-timestamps): Honor
4239 `org-agenda-skip-additional-timestamps-same-entry'.
4241 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4242 (org-clock-goto): Find recent task only if
4243 `org-clock-goto-may-find-recent-task' allows it.
4245 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4246 drawers, and drawers that are missing the :END: line.
4248 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
4250 * org-clock.el (org-clock-goto): Go to recently clocked task if no
4253 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
4255 * org.el (org-update-parent-todo-statistics): Check for
4256 STATISTICS_FROM property.
4258 * org-list.el (org-update-checkbox-count): Check for
4259 STATISTICS_FROM property.
4261 * org.el (org-tab-first-hook)
4262 (org-tab-after-check-for-table-hook)
4263 (org-tab-after-check-for-cycling-hook): New hooks.
4264 (org-cycle-internal-global, org-cycle-internal-local): New
4265 functions, split out from `org-cycle'.
4266 (org-cycle): Call the new hooks.
4268 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
4270 * org-exp.el (org-export-preprocess-string): Reset the list of
4271 preferred targets for each run of the preprocessor.
4273 * org.el (org-refile-target-verify-function): Improve
4275 (org-get-refile-targets): Respect point being moved by the
4276 verification function.
4278 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4280 (org-export-latex-keywords): Use new option.
4282 * org.el (org-rear-nonsticky-at): New defsubst.
4283 (org-activate-plain-links, org-activate-angle-links)
4284 (org-activate-footnote-links, org-activate-bracket-links)
4285 (org-activate-dates, org-activate-target-links)
4286 (org-activate-tags): Place the rear-nonsticky properties at the
4289 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
4291 * org-protocol.el (server-edit): Declare `server-edit'.
4292 (org-protocol-unhex-string, org-protocol-unhex-compound): New
4294 (org-protocol-check-filename-for-protocol): Call `server-edit'.
4296 * org.el (org-default-properties): New default properteis for
4299 * org-exp.el (org-export-add-subtree-options): Add new properties
4302 * org-docbook.el (org-export-docbook-keywords-markup)
4303 (org-export-docbook-timestamp-markup): New options.
4304 (org-export-docbook-protect-tags): New function.
4306 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
4308 * org-id.el (org-id-get-with-outline-path-completion): Turn off
4309 org-refile-target-verify-function for the duration of the command.
4311 * org.el (org-link-to-org-use-id): New possible value
4312 `create-if-interactive-and-no-custom-id'.
4313 (org-store-link): Use custom IDs.
4314 (org-link-search): Find custom ID properties from #link.
4315 (org-default-properties): Add CUSTOM_ID for property completion.
4316 (org-refile-target-verify-function): New option.
4317 (org-goto): Turn off org-refile-target-verify-function
4318 for the duration of the command.
4320 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
4322 * org-html.el (org-export-as-html): Use custom IDs in the toc.
4324 * org-exp.el (org-export-preferred-target-alist): New variable.
4325 (org-export-define-heading-targets): Find the new CUSTOM_ID
4327 (org-export-target-internal-links): Target the custom ids when
4330 * org-latex.el (org-export-latex-preprocess): Better regexp for
4331 matching latex macros with arguments.
4333 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
4335 * org-remember.el (org-remember-handler): Allow filing to non-org
4338 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
4340 * org-feed.el (org-feed-alist): New keyword options.
4341 (org-feed-update): Use the new options.
4342 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
4343 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
4344 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
4347 * org-table.el (org-table-fix-formulas): Do not change references
4349 (org-table-get-remote-range): Convert standard coordinates to RC
4352 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4354 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
4356 * org-compat.el (org-sha1-string): Function removed.
4358 * org.el (org-refile-allow-creating-parent-nodes): New option.
4359 (org-refile-get-location): New argument NEW-NODES.
4360 (org-refile): Call `org-refile-get-location' with the new
4362 (org-refile-get-location): Arrange for adding a new child.
4363 (org-refile-new-child): New function.
4365 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
4366 an additional span element.
4368 * org-clock.el: Fix a number of docstrings.
4369 (org-clock-find-position): New argument
4370 FIND-UNCLOSED to make the function find an unclosed clock in the
4372 (org-clock-in): Call `org-clock-find-position' with the new
4373 argument if we might be resuming a clock.
4375 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
4377 * org-latex.el (org-export-latex-display-custom-times): New variable.
4378 (org-export-latex-timestamp-markup): New option.
4379 (org-export-latex-set-initial-vars): Remember the local value of
4380 `org-display-custom-times'.
4381 (org-export-latex-content): Process time stamps.
4382 (org-export-latex-time-stamps): New function.
4384 * org-macs.el (org-maybe-intangible): Add intangible property
4385 again to invisible text.
4387 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
4389 * org-exp.el (org-default-export-plist): Handle undefined
4392 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
4394 * org.el (org-sort-entries-or-items): Match TODO keywrds
4395 case-sensitively, when sorting.
4396 (org-priority): Do not match TODO keywords with wrong case.
4398 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
4400 * org-feed.el (org-feed-update): Bind the variable
4403 * org-html.el (org-export-as-html): Start paragraphs after literal
4406 * org-docbook.el (org-export-as-docbook): Start paragraphs after
4409 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
4411 * org.el (org-todo): Honor the NOBLOCKING property.
4413 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4414 NOBLOCKING property.
4416 * org.el (org-scan-tags): Fix bug in tag scanner
4418 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
4420 * org.el (org-modules): Mark obsolete packages.
4422 * org-html.el: New file, split out from org-exp.el.
4424 * org-icalendar.el: New file, split out from org-exp.el.
4426 * org-xoxo.el: New file, split out from org-exp.el.
4428 * org-ascii.el: New file, split out from org-exp.el.
4430 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
4432 * org-compat.el (org-find-library-name): New function.
4434 * org.el (org-pre-cycle-hook): New hook.
4435 (org-cycle): Call the new hook in appropriate places.
4436 (org-reload): Only reload files that have been loaded before.
4438 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
4440 * org.el (org-set-font-lock-defaults): Enforxe space or line end
4442 (org-todo): When changing TODO state, do matching
4444 (org-map-continue-from): New variable.
4445 (org-scan-tags): Respect values in `org-map-continue-from'.
4446 (org-reload): Make XEmacs compatible.
4448 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
4450 * org-protocol.el (org-protocol-flatten-greedy): New function.
4451 (org-protocol-flatten): New function.
4453 * org.el (org-open-link-from-string): Pass reference buffer to
4454 `org-open-at-point'.
4455 (org-open-at-point): New optional argument `reference-buffer'.
4457 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
4459 * org.el (org-scan-tags): Make tag scan find headline in first
4461 (org-get-refile-targets): Add the naked file name.
4462 (org-refile): Store as top-level entry when only file name was
4465 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4467 * org.el (org-block-todo-from-children-or-siblings-or-parent):
4468 Renamed from org-block-todo-from-children-or-siblings, and
4469 enhanced to look for the parent's status as well.
4471 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4472 (org-agenda-get-progress): Add first notes line to log entry if so
4475 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
4477 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4478 (org-agenda-cleanup-fancy-diary): Call the new hook.
4480 * org-remember.el (org-remember-apply-template): Take the default
4481 for the annotation from the :annotation property.
4483 * org-mac-message.el (org-mac-message-get-link): Remove the
4485 (org-mac-message-get-link): Return the result.
4487 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
4489 * org.el (org-refile-get-location): Add file name only if not
4490 already included in outline path.
4492 * org-faces.el (org-n-level-faces): Fix customization type from
4495 * org-exp.el (org-export-headline-levels): Fix customization type
4496 from number to integer.
4498 * org-agenda.el (org-agenda-confirm-kill)
4499 (org-agenda-custom-commands-local-options)
4500 (org-timeline-show-empty-dates, org-agenda-ndays)
4501 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4502 customization type from number to integer.
4504 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
4506 * org-protocol.el: Declare some functions.
4508 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
4509 postion before inserting modified headline.
4511 * org-agenda.el (org-agenda-compare-effort): Honor
4512 `org-sort-agenda-noeffort-is-high'.
4513 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4514 (org-agenda-compare-effort): Implement the "?" operator for
4515 finding entries without effort setting.
4517 * org.el (org-extract-attributes-from-string): New function.
4519 * org-exp.el (org-export-splice-attributes): New function.
4521 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
4523 * org-mouse.el: XEmacs compatibility fixes
4525 * org-docbook.el (org-export-as-docbook): Process footnotes like
4528 * org.el (org-modules): Add org-inlinetasks.el
4529 (org-cycle): Implement limiting level on cycling.
4530 (org-move-subtree-down): Fix bug with swapping subtrees at end of
4533 * org-inlinetask.el: New file.
4535 * org.el (org-emphasis-regexp-components): Allow braces in
4536 emphasis pre and post match.
4538 * org-footnote.el (org-footnote-normalize): When only dorting, do
4539 not insert inline notes at the end.
4541 * org-docbook.el (org-id-find-id-file): Add function declaration.
4543 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4545 * org-docbook.el: New file.
4547 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
4549 * org.el (org-reftex-citation): New command.
4551 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
4553 * org-agenda.el (org-agenda-cmp-user-defined): New option.
4554 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4556 (org-entries-lessp): Apply the new sorting option.
4558 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4559 blocker code, when an older sibling has children.
4561 * org-mac-message.el (org-mac-message-get-link): Improve getting
4562 links from multiple selected messages.
4564 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
4566 * org-remember.el (org-remember-finalize): Do not set buffer file
4568 (org-remember-handler): Mark buffer as unmodified.
4569 (org-remember-handler): Delete backup file and show message about
4570 remaining backup files.
4571 (org-remember-auto-remove-backup-files): New option.
4573 * org.el (org-store-link): Use buffer name as link description in
4575 (org-ido-switchb): Fix argument bug for completion.
4577 * org-remember.el (org-remember-apply-template): Set local
4578 variable `auto-save-visited-file-name' instead of global one.
4580 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
4582 * org-feed.el: Re-write.
4584 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4585 (org-agenda-get-todos): Mark file tags as inherited.
4586 (org-agenda-list): Always search diary lines for a time.
4588 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
4590 * org-feed.el (org-feed-assume-stable): New option.
4591 (org-feed-before-adding-hook): New hook.
4593 * org-exp.el (org-export-as-html): Close local lists depending on
4594 indentation, also when starting a table.
4596 * org-remember.el (org-remember-backup-directory)
4597 (org-remember-backup-name): New internal variable.
4599 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
4601 * org-clock.el (org-clock-out-if-current): Make buffer detection
4602 work in indirect buffers as well.
4604 * org.el (org-emphasis-regexp-components): Add the exxclamation
4605 mark to the post-emphasis characters.
4607 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
4609 * org.el (org-read-date-minibiffer-septup-hook): New hook.
4610 (org-read-date): Run the new hook.
4612 * org-mac-message.el (org-mac-flagged-mail): New group.
4613 (org-mac-mail-account): New variable.
4614 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4617 * org-remember.el (org-remember-backup-directory): New variable.
4618 (org-remember-apply-template): Write file to backup directory.
4620 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
4622 * org-mouse.el (org-mouse-todo-menu): New function.
4623 (org-mouse-todo-keywords): Function removed.
4624 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4626 * org-table.el (org-table-beginning-of-field)
4627 (org-table-end-of-field): New commands
4628 (org-table-previous-field, org-table-beginning-of-field): Better
4630 (orgtbl-setup): Include `M-a' and `M-e'.
4632 * org.el (org-backward-sentence, org-forward-sentence): New
4635 * org-colview.el (org-colview-initial-truncate-line-value): New
4637 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4638 (org-columns): Remember the value of `truncate-lines'.
4640 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4642 (org-columns-remove-overlays): Restore the value of
4644 (org-columns): Remember the value of `truncate-lines'.
4646 * org.el (org-columns-skip-arrchived-trees): New option.
4648 * org-agenda.el (org-agenda-export-html-style): Define color for
4649 org-agenda-done face.
4650 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4651 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4653 * org.el (org-scan-tags): Use the new face.
4655 * org-faces.el (org-agenda-done): New face.
4657 * org.el (org-scan-tags): Test the value org
4658 `org-tags-match-list-sublevels'.
4659 (org-tags-match-list-sublevels): New allowed value: indented.
4661 * org-export-latex.el (org-export-latex-make-header): Apply macros
4664 * org-exp.el (org-export-apply-macros-in-string): New function.
4666 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4667 with the definition of a checked box.
4669 * org-clock.el (org-clock-find-position): Fix drawer indentations.
4671 * org-export-latex.el (org-export-latex-low-levels): More options
4672 for how to process lower levels in LaTeX.
4673 (org-export-latex-subcontent): Better treatment for lists as a
4674 means of publishing lower levels.
4676 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
4678 * org.el (org-set-font-lock-defaults): Use new checkbox face.
4680 * org-faces.el (org-checkbox): New face.
4682 * org-exp.el (org-export-html-preprocess): Only create LaTeX
4683 fragement images if there is an export file.
4685 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
4687 * org-agenda.el (org-stuck-projects): Document that the subtree of
4688 projects that are not stuck will now be searched for stuck
4690 (org-agenda-skip-entry-when-regexp-matches)
4691 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4692 (org-agenda-list-stuck-projects): Use
4693 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4695 * org-export-latex.el (org-export-latex-preprocess): Improve
4698 * org-exp.el (org-export-as-html): Implement centering as a div
4699 rather than a paragraph. Do a better job with line-end in verse
4702 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
4704 * org.el (org-open-at-point): Fix tags searches by mouse click.
4706 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
4708 * org-export-latex.el (org-export-latex-preprocess): Implement the
4711 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4712 from `org-export-mark-blockquote-and-verse'.
4713 (org-export-as-html): Implement the centering markup.
4715 * org-export-latex.el (org-export-latex-tables): Fix vertical
4718 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
4720 * org.el (org-read-date-history): New variable.
4721 (org-read-date): Use new history variable.
4722 (org-toggle-heading): Fix bug when used before first headline.
4723 (org-store-log-note): Remove drawer if empty while note is
4725 (org-remove-empty-drawer-at): New function.
4726 (org-check-after-date): New command.
4727 (org-sparse-tree): New sparse tree command "a".
4729 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4731 2009-03-14 Bastien Guerry <bzg@altern.org>
4733 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4734 column and a space, not only a column.
4736 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
4738 * org-export-latex.el (org-export-latex-emphasis-alist): Better
4739 defaults for verbose emphasis.
4740 (org-export-latex-emph-format): New function.
4741 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4743 * org-agenda.el (org-agenda-menu): Add new commands to menu.
4744 (org-agenda-do-date-later, org-agenda-do-date-earlier)
4745 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4746 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4749 * org.el (org-timestamp-change): Move end-time along with start
4752 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
4754 * org-exp.el (org-export-target-internal-links)
4755 (org-export-as-html): Protect links specified as #name.
4757 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
4759 * org.el (org-clone-subtree-with-time-shift): New command.
4761 * org-export-latex.el (org-export-latex-special-chars)
4762 (org-export-latex-treat-sub-super-char): Fix subscript export.
4764 * org-exp.el (org-create-multibrace-regexp): Do not add
4765 backslashes to the class.
4767 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
4769 * org-colview.el (org-columns-map): Better functions for moving up
4770 and down a row, even if `truncate-line' is nil.
4772 * org.el (org-insert-todo-heading): Make sure the keyword is
4773 inserted at the correct position.
4775 * org-publish.el (org-publish-project-alist)
4776 (org-publish-projects, org-publish-org-index): Change default anme
4777 for the index of file names to "sitemap.org".
4779 * org-export-latex.el (org-export-latex-tables): Use
4780 `org-split-string', for Emacs 21 compatibility.
4782 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
4784 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4786 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
4788 * org-exp.el (org-export-page-description)
4789 (org-export-page-keywords): New variables.
4790 (org-export-plist-vars): Add entries for :keywords and
4792 (org-infile-export-plist): Parse for new keywords.
4793 (org-get-current-options): Add new keywords
4794 (org-export-as-html): Publish description and keywords.
4796 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4798 (org-agenda-add-entry-text): Honor
4799 `org-agenda-add-entry-text-descriptive-links'.
4801 * org-export-latex.el (org-export-latex-preprocess): Make all
4802 external preprocess functions use a PARAMETER arg.
4804 * org-exp.el (org-export-preprocess-string)
4805 (org-export-select-backend-specific-text)
4806 (org-export-format-source-code-or-example)
4807 (org-format-org-table-html): Support docbook export.
4808 (org-export-preprocess-string): Make all external preprocess
4809 functions use a PARAMETER arg.
4811 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
4813 * org-exp.el (org-export-html-style-include-scripts): New option.
4814 (org-export-plist-vars): Add new option
4815 `org-export-html-style-include-scripts'.
4816 (org-export-as-html): Honor new option
4817 `org-export-html-style-include-scripts'.
4818 (org-export-html-scripts, org-export-html-style-default): Fix
4819 xml issues with the Safari browser.
4821 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
4823 * org-publish.el (org-publish-attachment): Only copy file when the
4826 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
4828 * org-clock.el (org-clocktable-steps): Use inactive time stamps
4829 for clocktable steps.
4831 * org.el (org-additional-option-like-keywords): Add two more
4834 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
4836 * org-exp.el (org-export-format-source-code-or-example): Mark
4837 temporary buffer unmodified, so that it will be killed even if
4838 mode like message mode has decided to assign a file name.
4840 * org.el (org-scan-tags): Improve tag inheritance.
4841 (org-scan-tags, org-make-tags-matcher): Make tag comparison
4843 (org-scan-tags): Use the internal tags list instead of creating it
4845 (org-trust-scanner-tags, org-scanner-tags): New variables.
4846 (org-scan-tags): Set `org-scanner-tags'.
4847 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4848 (org-map-entries): Document the possible speedup using scanner
4851 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
4853 * org.el (org-add-planning-info): Fix bug with looking for keyword
4856 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4857 option for tags filter preset.
4858 (org-prepare-agenda): Store filter preset as a property on the
4860 (org-finalize-agenda): Call the filter, if there is a preset.
4861 (org-agenda-filter-by-tag): Filter again after clearing the
4862 filter, when there still is a preset.
4863 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4864 Include the preset filter.
4865 (org-agenda-redo): Apply the filter again, also the preset filter.
4867 * org-exp.el (org-export-as-html): Use IDs in the correct way.
4869 * org.el (org-uuidgen-p): New funtion.
4871 * org-agenda.el (org-agenda-fontify-priorities): New default value
4873 (org-agenda-fontify-priorities): Renamed from
4874 org-fontify-priorities.
4876 * org.el (org-set-font-lock-defaults): Call
4877 `org-font-lock-add-priority-faces'.
4878 (org-font-lock-add-priority-faces): New function.
4880 * org-faces.el: (org-set-tag-faces): New option.
4881 (org-priority-faces): New variable.
4883 * org-exp.el (org-export-as-html): Add a "content" div around the
4884 entire content of the body tag.
4885 (org-export-html-get-bibliography): New function.
4886 (org-export-html-validation-link): New variable.
4887 (org-export-as-html): Add validation link to exported page.
4889 * org.el (org-match-sparse-tree): Renamed from
4890 `org-tags-sparse-tree'.
4891 (org-tags-sparse-tree): New alias.
4893 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
4895 * org.el (org-get-valid-level): Catch the case where the level
4898 * org-clock.el (org-clock-find-position): Better indentation of
4901 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
4903 * org-agenda.el (org-agenda-quit): Delete window only when the
4904 frame-setup was not `current-window'.
4906 * org.el (org-tag-persistent-alist): New option.
4907 (org-startup-options): Add keyword `noptag'.
4908 (org-fast-todo-selection): Handle :newline correctly.
4909 (org-set-tags): Handle :newline correctly.
4910 (org-fast-tag-selection): Handle :newline correctly.
4912 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
4914 * org-exp.el (org-export-as-ascii): Reverse link buffer before
4916 (org-export-ascii-push-links): Fix bug with pussing links into the
4919 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
4921 * org-archive.el (org-archive-subtree): Do not add 1 to level if
4922 pasting at top level.
4924 * org-bbdb.el: Improve documentation.
4926 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
4928 * org-list.el (org-insert-item): Only consider insert empty lines
4929 is `org-empty-line-terminates-plain-lists' is not nil.
4931 * org.el (org-blank-before-new-entry): Mention the dependence on
4932 `org-empty-line-terminates-plain-lists' in the docstring.
4934 * org-publish.el (org-publish-get-project-from-filename): New
4935 optional argument UP. Only find the top project if UP is set.
4936 (org-publish-current-project): Find the top encloding project.
4938 * org-agenda.el (org-agenda-before-write-hook)
4939 (org-agenda-add-entry-text-maxlines): New options.
4940 (org-write-agenda): Run the new hook in the temporary buffer.
4941 (org-agenda-add-entry-text): New function.
4942 (org-write-agenda): Implement PDF export, using ps2pdf.
4944 * org.el (org-global-properties-fixed, org-global-properties):
4945 Improve documentation string.
4947 * org-exp.el (org-export-ascii-links-to-notes): New option.
4948 (org-export-as-ascii): Handle links better.
4949 (org-export-ascii-wrap, org-export-ascii-push-links): New
4952 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
4954 * org-agenda.el (org-agenda): Make prefix arg optional.
4955 (org-agenda-search-headline-for-time): New option.
4956 (org-format-agenda-item): Honor
4957 `org-agenda-search-headline-for-time'.
4959 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4962 * org.el (org-self-insert-cluster-for-undo): New option.
4963 (org-self-insert-command): Cluster undo for 20 characters.
4964 (org-self-insert-command-undo-counter): New variable.
4966 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
4968 * org-exp.el (org-export-as-html): Fix problem with closing colone
4971 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
4973 * org-export-latex.el (org-export-as-latex)
4974 (org-export-latex-first-lines): Avoid modification flag when
4975 adding or removing text properties.
4976 (org-export-latex-fontify): Catch error when org-emph-alist has
4977 entries that are not defined for LaTeX export.
4979 * org.el (orgstruct++-mode): New function.
4980 (turn-on-orgstruct++): Call `orgstruct++-mode'.
4981 (org-context-p): Allow detecting item context after the first line
4983 (orgstruct-make-binding): Detect if item-body context should be
4985 (orgstruct-is-++): New variable.
4986 (org-add-planning-info): Catch the case when there is no planning
4987 info yet and the call does not want to add anything, only maybe
4988 tries to remove something.
4989 (org-special-ctrl-a/e): All value to be a cons cell with separate
4990 settings for `C-a. and `C-e'.
4991 (org-beginning-of-line, org-end-of-line): Honor separate values
4992 for `C-a' and `C-e'.
4994 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
4996 * org.el (org-reload): New command.
4998 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
5000 * org-exp.el (org-export-htm-get-tag-class-name)
5001 (org-export-htm-get-todo-kwd-class-name): New functions.
5002 (org-export-html-tag-class-prefix)
5003 (org-export-html-todo-kwd-class-prefix): New options.
5004 (org-export-as-html): Call
5005 `org-export-html-get-todo-kwd-class-name'.
5006 (org-html-level-start): Wrap tags into classes.
5007 (org-export-html-get-tag-class-name)
5008 (org-export-html-get-todo-kwd-class-name): New functions.
5010 * org-export-latex.el (org-export-latex-collect-header-macros):
5011 Remove fields that are used anyway.
5012 (org-export-latex-make-header): Insert the options earlier.
5014 * org-agenda.el (org-agenda-get-progress): Fix bug with state
5017 * org-list.el (org-indent-item): Allow point to be at the end of
5020 * org.el (org-metaleft, org-metaright): Be more accurate about
5021 detecting a region where commands apply.
5023 * org-compat.el (org-cursor-to-region-beginning): New function.
5025 * org.el (org-priority): Also find invisible heading.
5027 * org-colview-xemacs.el (org-columns-edit-value): No special
5028 treatment for `org-todo' prefix.
5030 * org-colview.el (org-columns-edit-value): No special treatment
5031 for `org-todo' prefix.
5033 * org-remember.el (org-remember-apply-template): Use
5034 `org-completing-read-no-ido'.
5036 * org.el (org-completing-read-no-ido): New function.
5037 (org-make-tags-matcher, org-set-property): Use
5038 `org-completing-read-no-ido'.
5040 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
5042 (org-export-as-latex): Import in-buffer settings as TeX macros.
5043 (org-export-latex-make-header): Additional parameter OPT-DEFS.
5044 (org-export-latex-collect-header-macros): New function.
5046 * org.el (org-refile-get-location): Turn off
5047 `partial-completion-mode'.
5049 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
5051 * org.el (org-block-todo-from-checkboxes): Announce that
5052 checkboxes are the culprit.
5053 (org-block-todo-from-children-or-siblings): Call
5054 `org-up-heading-all instead' of `outline-up-heading'.
5056 * org-agenda.el (org-agenda-show-1): Renamed from
5058 (org-agenda-show): Re-install the old version for now.
5059 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
5060 variable into the blokker hook, so that the checkbox checker can
5061 anounce that it caused the blocking.
5063 * org.el (org-track-ordered-property-with-tag): New option.
5064 (org-toggle-ordered-property): Honor
5065 `org-track-ordered-property-with-tag'.
5066 (org-tag-alist): Add newline options.
5067 (org-set-regexps-and-options): Separate option lines imply a
5069 (org-set-regexps-and-options, org-assign-fast-keys)
5070 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
5072 (org-indent-line-function): Make sure this works even if there is
5073 not `org-drawer-regexp' defined. This can happen when
5074 orgstruct-mode is used in a non-org buffer.
5076 * org-list.el (org-checkbox-blocked-p): New function.
5077 (org-toggle-checkbox): Check for blocking.
5079 * org.el (org-modules): Add an entry for org-R.el.
5081 * org-agenda.el (org-agenda-todo-ignore-with-date)
5082 (org-agenda-todo-ignore-scheduled)
5083 (org-agenda-todo-ignore-deadlines): Mention the variable
5084 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
5086 * org.el (org-get-wdays): Find the warning period also if it is in
5088 (org-ido-completing-read): Provide the correct arguments to
5089 ido-completing-read and bind `ido-enter-matching-directory' to
5092 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
5094 * org.el (org-olpath-completing-read): Never use ido for this
5097 * org-exp.el (org-export-normalize-links): Use new macro.
5099 * org-macs.el (org-if-unprotected-at): New macro.
5101 * org-agenda.el (org-agenda-show): Allow numerical prefix
5102 arguments to specify how much context should be shown.
5103 (org-agenda-cycle-show): New command, could be bound to SPC in
5104 org-agenda-mode-map.
5106 * org-exp.el (org-html-level-start): Space after section number.
5108 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
5110 * org-agenda.el (org-agenda-get-sexps): Add todo state as
5111 property, for sorting.
5112 (org-cmp-todo-state): Get the applicable TODO keywords directly
5114 (org-run-agenda-series, org-agenda-list, org-search-view)
5115 (org-todo-list, org-tags-view): Only fit agenda window when the
5116 whole series is done.
5118 * org.el (org-scan-tags): Add todo state as property, for sorting.
5120 * org-agenda.el (org-agenda-custom-commands-local-options): Add
5121 `org-agenda-overriding-header' as an option.
5122 (org-agenda-list): Honor org-agenda-overriding-header'.
5124 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
5126 * org-list.el (org-toggle-checkbox): Improve cursor positioning
5127 after removing a checkbox.
5129 * org.el (org-show-entry): Make this work correctly also if it is
5130 the last entry in the file.
5131 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
5132 falling back to normal, default command.
5133 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
5134 item, call the checkbox toggler to get a box.
5136 * org-list.el (org-toggle-checkbox): Make double prefix set the
5138 (org-fix-bullet-type): Only replace bullet if it is changed.
5139 (org-renumber-ordered-list): Handle case when first item does not
5142 * org.el (org-add-log-setup): Fix positioning when
5143 `org-log-states-order-reversed' is nil.
5145 * org-clock.el (org-clock-in): Fix positioning when
5146 `org-log-states-order-reversed' is nil.
5147 (org-clock-find-position): Fix positioning when
5148 `org-log-states-order-reversed' is nil.
5150 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
5152 * org-clock.el (org-clock-into-drawer): Take default from
5153 `org-log-into-drawer'.
5154 (org-clock-find-position): Look for the correct drawer.
5156 * org.el (org-log-into-drawer): Renamed from
5157 `org-log-state-notes-into-drawer'.
5158 (org-log-state-notes-into-drawer): New variable alias.
5159 (org-add-log-setup): Make drawer name default to LOGBOOK, not
5161 (org-insert-property-drawer): Also skip LOGBOOK drawers.
5163 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
5165 * org-agenda.el (org-agenda): Fix docstring.
5167 * org.el ("org-plot"): Help loading org-plot.
5168 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
5169 (org-metadown-hook, org-shiftmetaleft-hook)
5170 (org-shiftmetaright-hook, org-shiftmetaup-hook)
5171 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
5172 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5173 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
5174 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
5176 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
5177 for selecting files with any (and even without) extension.
5179 * org.el (org-save-all-org-buffers): Also save id locations.
5180 (org-revert-all-org-buffers): Also load id locations.
5182 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
5183 * org.el (org-drawers): Add LOGBOOK to the default drawers.
5184 (org-log-state-notes-into-drawer): New option.
5185 (org-add-log-setup): Place the sate note marker into the drawer,
5186 create drawer when necessary.
5187 (org-refile-targets): Document special interpretation of LEVEL
5188 when odd-levels are used.
5190 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
5192 * org.el (org-store-log-note): Fix note indentation when adding
5193 notes to end of list.
5195 * org-exp.el (org-export-as-html): Add TODO keyword as extra
5196 class, so that each keyword can get special colors through CSS.
5198 * org-clock.el (org-clock-out): Add another nil for the previous
5199 state into the call to `org-add-log-setup'.
5201 * org.el (org-log-note-previous-state): New variable.
5202 (org-log-note-headings): New %S escape for old state.
5203 (org-todo): Call the note setup with the old state as an
5205 (org-add-note): Add another nil for the previous state into the
5206 call to `org-add-log-setup'.
5207 (org-add-log-setup): New argument PREV-STATE.
5208 (org-add-log-note): Handle new %S escape.
5209 (org-store-log-note): Handle new %S escape.
5211 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
5213 * org-clock.el (org-clock-find-position): Do not swallow an item
5214 less indented than the CLOCK line itself.
5215 (org-clock-in): Push markers to lin after the clock line.
5216 (org-clock-find-position): Handle values of
5217 `org-clock-into-drawer' smaller than 2.
5219 * org-exp.el (org-html-level-start): Add a CSS class to section
5221 (org-export-html-toplevel-hlevel): Better documentation of the
5222 influence of this variables on H levels and css classes in
5225 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
5227 * org-agenda.el (org-agenda-custom-commands-local-options): Add
5228 timestamp and nottimestamp to the chooe menu.
5230 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
5231 (org-revert-all-org-buffers): New command.
5233 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
5235 * org.el (org-return): Implement `org-return-follows-link' in the
5236 function org-return. This is more robust than using the mouse
5238 (org-set-regexps-and-options): Match more general #+TODO lines.
5239 (org-make-options-regexp): New optional argument EXTRA, for an
5241 (org-tab-follows-link): Mark as deprecated.
5243 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
5245 * org-exp.el (org-export-preprocess-string): Remove clock lines
5246 earlier, so that they cannot cotribute to verbatim snippets.
5248 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
5250 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
5251 for finding drawers.
5252 (org-export-as-ascii, org-export-as-html): Count levels relative
5253 to the subtree header.
5254 (org-get-min-level): New optional argument OFFSET.
5255 (org-export): Make sure point is restored after popping up that
5258 * org.el (org-do-sort): Also take an inactive timestamp if no
5259 active one is found.
5261 * org-colview-xemacs.el (org-columns-capture-view): Copy before
5262 deleting duplicates.
5264 * org-colview.el (org-columns-capture-view): Copy before
5265 deleting duplicates.
5267 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
5268 text before first headline.
5270 * org.el (org-format-latex): Do not convert LaTeX fragments in
5273 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
5275 * org-exp.el (org-export-html-style-default): Use color values
5276 instead of names for XHTML validation.
5278 * org.el (org-get-scheduled-time, org-get-deadline-time): New
5280 (org-return-follows-link): Revert making this the default untile
5281 issues are resolved.
5283 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
5286 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
5288 * org.el (org-mode): Make dependence stuff work more reliably.
5289 (org-update-parent-todo-statistics): Fix bug with updating
5292 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
5293 ~ as verbatim delimiters.
5295 * org-exp.el (org-export-html-format-image): New argument
5297 (org-export-as-html): Pass par-open to
5298 `org-export-html-format-image'.
5300 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
5302 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
5303 (org-use-fast-todo-selection, org-tags-column): New default
5304 setting for variables, based on a poll what typical uses use.
5306 * org-agenda.el (org-agenda-sorting-strategy)
5307 (org-agenda-tags-column): New default setting for variables, based
5308 on a poll what typical uses use.
5310 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
5312 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
5313 blocked entries from setting the blocked tag.
5315 * org-exp.el (org-export-html-footnotes-section): Use a more
5316 consistent id for footnotes.
5318 * org-export-latex.el (org-export-latex-classes): Remove the
5319 a4paper option from the default styles.
5321 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
5323 * org.el (org-enforce-todo-checkbox-dependencies): New option.
5324 (org-block-todo-from-checkboxes): New function.
5325 (org-todo): Make tripple prefix arg circumvent blocking.
5327 * org-timer.el (org-timer): Provide the timer feature.
5329 * org.el (org-require-autoloaded-modules): Add a few more files to
5330 the list of autoloaded modules.
5332 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5334 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
5336 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5337 drawers that are unprotected.
5338 (org-export-html-format-image): Make sure inlined LaTeX fragment
5339 images remain inlined.
5341 * org.el (org-toggle-ordered-property): New function.
5342 (org-mode-map): Add a key for `org-toggle-ordered-property'.
5343 (org-org-menu): Add menu entries for TODO dependencies.
5345 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
5347 * org.el (org-default-properties): Add ORDERED to the default
5348 properties, to get completion support for it.
5350 * org-list.el (org-update-checkbox-count): Update more than one cookie.
5352 * org.el (org-update-parent-todo-statistics): Update more than one
5355 * org-agenda.el (org-agenda-get-todos): Start search from correct
5358 * org.el (org-fast-todo-selection): Make sure TODO selection does
5359 not change buffer position.
5361 * org-list.el (org-toggle-checkbox): Implement adding or removing
5362 checkboxes from line or region when called with a prefix
5365 * org-rmail.el (org-rmail-store-link): Protect the call to
5366 `rmail-narrow-to-non-pruned-header'.
5368 * org-clock.el (org-clock-special-range): Fix week display in
5371 * org-exp.el (org-get-current-options): Fix bug when in indirect
5374 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
5376 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5377 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5378 (org-agenda-dim-blocked-tasks): New function.
5380 * org.el (org-enforce-todo-dependencies): New option.
5381 (org-block-todo-from-children-or-siblings): New function.
5383 * org-faces.el (org-agenda-dimmed-todo-face): New face.
5385 * org.el (org-todo): Return correct state type even if the blocker
5387 (org-modifier-cursor-error): Renamed from
5388 `org-shiftcursor-error'.
5389 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5390 (org-shiftmetadown): Call `org-modifier-cursor-error'.
5392 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5393 to get real errors from the blocker hook.
5395 * org.el (org-shiftselect-error, org-call-for-shift-select): New
5397 (org-set-visibility-according-to-property): Turn off the setting
5398 of `org-show-entry-below', to avoid overruling a FOLDED visibility
5401 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
5403 * org.el (org-support-shift-select): New option.
5404 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5405 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5406 selection outside contexts.
5408 * org-list.el (org-at-item-bullet-p): New function.
5410 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5413 * org-footnote.el (org-footnote-normalize): Remove unnecessary
5415 (org-insert-footnote-reference-near-definition): Remove
5416 unnecessary let form.
5418 * org-export-latex.el (org-export-latex-first-lines): Add
5419 OPT-PLIST parameter.
5420 (org-export-as-latex): Call `org-export-latex-first-lines' with
5421 opt-plits parameter.
5422 (org-export-latex-preprocess): Remove unnecessary variables.
5424 * org-exp.el (org-infile-export-plist)
5425 (org-export-add-options-to-plist, org-export-kill-licensed-text)
5426 (org-export-remove-headline-metadata)
5427 (org-export-get-title-from-subtree, org-get-min-level)
5428 (org-html-do-expand): Remove innecessary let form.
5430 * org-colview-xemacs.el (org-columns-display-here): Remove
5431 unnecessary variables.
5433 * org-colview.el (org-columns-display-here): Remove unnecessary
5436 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
5439 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
5440 unnecessary variables.
5442 * org-agenda.el (org-search-view, org-agenda-get-blocks)
5443 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
5446 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
5447 (org-compact-display-after-subtree-move): Remove unnecessary
5449 (org-edit-fixed-width-region): Remove unnecessary variables.
5450 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
5451 (org-olpath-completing-read): Remove unnecessary variable.
5452 (org-auto-repeat-maybe): Remove unnecessary variable.
5453 (org-map-entries): Remove unnecessary variable.
5454 (org-buffer-property-keys, org-imenu-get-tree)
5455 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
5457 -----------------------------------------------------------------
5459 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
5460 * org-exp.el (org-export-remove-timestamps): Never remove
5461 timestamps from tables.
5463 * org-export-latex.el (org-export-latex-first-lines): Add more
5464 options to the preprocessing of the text before the first
5467 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5469 * org-faces.el (org-clock-overlay): Make face compatible with
5472 * org.el (org-yank): Add property for delete-selection mode.
5474 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5476 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5479 * org-table.el (org-table-insert-hline): Fix typo in fuction call
5482 * org-exp.el (org-export-as-html): Remove the initial space from
5485 * org.el (org-scan-tags): Call
5486 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5488 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5489 customization groups.
5490 (org-agenda-tags-todo-honor-ignore-options): New option.
5491 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5493 (org-agenda-get-todos): Use
5494 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5496 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
5498 * org-exp.el (org-export-format-source-code-or-example): Escape
5499 HTML characters also in examples that anre not treated with
5500 htmlize. Also, just switch to EXAMPLE processing if we do not
5501 have a good version of htmlize.
5503 * org-rmail.el: Fix copyright notice.
5505 * org.el (org-activate-footnote-links): Improve footnote link
5508 * org-footnote.el (org-footnote-normalize): Fix finding the end of
5509 a footnote definition at the end of the file.
5511 * org-table.el (org-table-get-specials): Add an imagined hline at
5512 the end of the table. This can be useful for references that want
5513 to go to the end of the table. Also fix bug when computing last
5514 row constants, in tables that do not start right at the right
5516 (org-table-eval-formula): Match and replace remove references.
5517 (org-table-formula-substitute-names): Make sure that names inside
5518 a "remote" call are left alone, the will be replaced later when
5519 the remote call is handled.
5520 (org-table-convert-refs-to-rc): Do not convert things that might
5521 look like a reference, but are really part of an ID or namei n a
5523 (org-table-get-remote-range): New function.
5525 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
5527 * org-faces.el (org-clock-overlay): Fix bug in face definition.
5529 * org-clock.el (org-clock-put-overlay): Use new face instead of
5530 `secondary-selection'.
5532 * org-faces.el (org-clock-overlay): New face.
5534 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
5536 * org-exp.el (org-get-current-options): Include the option for
5537 publishing time stamps.
5539 * org.el (org-toggle-heading): Renamed from
5540 `org-toggel-region-headings'.
5541 No longer needs a region defined, but will use it if there is one.
5542 (org-ctrl-c-star): Simplified, relying more on the internal
5543 workings of `org-toggle-heading'.
5544 (org-toggle-item): Renamed from `org-toggle-region-items'.
5545 No longer needs a region defined, but will use it if there is one.
5546 (org-ctrl-c-minus): Simplified, relying more on the inernal
5547 workings of `org-toggle-item'.
5549 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5550 environment detection. Also, do real changes only in unprotected
5553 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
5555 * org-export-latex.el (org-export-latex-quotation-marks): Use
5556 `org-if-unprotected-1'.
5557 (org-export-latex-set-initial-vars): Check for class definition in
5560 * org-macs.el (org-if-unprotected-1): New macro.
5562 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
5564 * org-compat.el (org-count-lines): New function.
5566 * org-exp.el (org-export-format-source-code-or-example): Handle
5567 switches related to text areas.
5569 * org.el (org-activate-footnote-links): Don't allow match inside a
5572 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5574 * org-export-latex.el (org-export-latex-links): Keep a relative
5575 path relative also after export.
5577 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5579 * org.el (org-make-tags-matcher): Never use IDO for completing the
5580 tags matcher match string.
5581 (org-completing-read): Also remove the special biding for "?".
5583 * org-attach.el (org-attach-allow-inheritance): New option.
5584 (org-attach-inherited): New variable.
5585 (org-attach-dir): Handle properties related to the attachment
5587 (org-attach-check-absolute-path): New function.
5588 (org-attach-set-directory, org-attach-set-inherit): New commands.
5589 (org-attach): Accommodate the new commands in the dispatcher.
5591 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
5593 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5594 `window-full-width-p'.
5596 * org-exp.el (org-export-as-html): Only check for images files
5597 that really can be inlined
5599 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5600 list of extensions to be a parameter.
5602 * org-exp.el (org-export-html-inline-image-extensions): New
5605 * org-agenda.el (org-prepare-agenda): Use
5606 `org-agenda-block-separator'.
5607 (org-agenda-block-separator): New option.
5609 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
5611 * org-export-latex.el (org-export-latex-tables): Call
5612 `org-table-clean-before-export' with the new optional argument.
5614 * org-exp.el (org-table-clean-before-export): New optional
5615 parameter MAYBE-QUOTED, allows for quoted characters like \# in
5618 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
5620 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5623 * org-colview.el (org-colview-construct-allowed-dates): Better
5624 error catching when a date/time property does not have allowed
5627 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5628 Better error catching when a date/time property does not have
5629 allowed values defined.
5631 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
5633 * org.el (org-map-entries): Restore point and restriction after
5636 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
5638 * org.el (org-time=, org-time<, org-time<=, org-time>)
5639 (org-time>=, org-time<>): Make sure both values are dates.
5641 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
5643 * org-archive.el (org-extract-archive-heading): Allow %s for file
5644 name also in achive location heading.
5646 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
5648 * org-archive.el (org-add-archive-files): Uniquify the list before
5651 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
5653 * org-compat.el (org-fit-window-to-buffer): Use
5654 `window-full-width-p'.
5656 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5657 space after the colon in short examples.
5659 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5660 enforce a space after the colon. However, we also allow lines
5661 that are *only* a colon.
5662 (org-export-as-html): Enforce the space after the colon in short
5664 (org-export-preprocess-string): Do the colon example protection
5666 (org-export-remove-timestamps): Do not check for protection at the
5669 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
5671 * org.el (org-format-latex-options): Add new matcher for single
5672 letters between dollars.
5673 (org-get-header): Function removed.
5674 (org-heading-components): New function.
5676 * org-exp.el (org-export-define-heading-targets): Record ID's also
5677 as alternative targets.
5678 (org-export-as-html): Interpret "id:" links to other files by
5679 preserving the relative path.
5681 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5684 * org-exp.el (org-export-normalize-links): Protect the main link,
5685 to avoid special character processing.
5687 * org-export-latex.el (org-export-latex-special-keyword-regexp):
5689 (org-export-latex-special-string-regexps): Variable removed.
5690 (org-export-latex-keywords): Use the new regexp.
5692 * org-exp.el (org-export-handle-include-files): Fetch switches and
5693 put them into the BEGIN statement.
5695 * org-timer.el (org-timer-mode-line-string): New variable.
5697 * org-clock.el (org-clock-mode-line-map): Renamed from
5698 `org-clock-mode-map'.
5699 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5700 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5701 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5702 (org-clock-remove-overlays): Renamed from
5703 `org-remove-clock-overlays'.
5705 * org-timer.el (org-timer-pause-or-continue): Implement stopping
5706 and mode line display.
5707 (org-timer-stop): New command.
5708 (org-timer-seconds): Return correct time when timer is paused.
5709 (org-timer-mode-line-timer): New variable.
5710 (org-timer-set-mode-line, org-timer-update-mode-line): New
5713 * org.el (org-insert-heading): Handle new value `auto' for
5714 `org-blank-before-new-entry'.
5715 (org-org-menu): Add new items for timer functions.
5717 * org-list.el (org-insert-item): Handle new value `auto' for
5718 `org-blank-before-new-entry'.
5720 * org.el (org-blank-before-new-entry): New value `auto', made
5723 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
5725 * org-exp.el (org-export-normalize-links): If the link is also
5726 used as the description, protect the description.
5728 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
5730 * org.el (org-closest-date): Fix bug with yearly repeats, in
5731 combination with preference of the past as it is used for deadline
5732 and scheduling search.
5734 * org-exp.el (org-html-handle-time-stamps): No longer check for
5735 the `org-export-with-timestamps' option, because the preprocesser
5736 has taken care of this already.
5738 * org.el (org-entry-properties): Catch the case when this is
5739 called in a non-org-mode file.
5741 * org-export-latex.el (org-export-latex-remove-from-headlines):
5742 Variable made obsolete, also LaTeX export now uses the standard
5744 (org-export-as-latex): Add the timestamps parameter to the
5745 preprocessor parameter list.
5746 (org-export-latex-content): Export the remaining keywords without
5747 considering to remove them.
5748 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5749 Use bold font instead of tt font for the keywords.
5750 (org-export-latex-fontify-headline): Format headlines, assuming
5751 that all keywords still present should be published.
5752 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5753 publish what ever remains of the time stamps.
5754 (org-export-latex-list-parameters): New option.
5755 (org-export-latex-lists): Pass additional parameters to the list
5758 * org-exp.el (org-export-preprocess-string): Remove clock lines
5759 and timestamps already in the preprocesor.
5760 (org-export-remove-timestamps, org-export-remove-clock-lines): New
5762 (org-export-as-ascii, org-export-as-html): Add the timestamps
5763 parameter to the preprocessor parameter list.
5765 * org-list.el (org-list-parse-list): Parse for checkboxes.
5766 (org-list-to-generic): Introduce and handle new parameters :cbon
5768 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5769 optional parameter PARAMS.
5771 * org-export-latex.el (org-export-latex-special-chars): Fix
5772 problems with interpreting dollar signs.
5773 (org-inside-latex-math-p): New function.
5774 (org-export-latex-preprocess): Protect all the math fragments.
5776 * org.el (org-latex-regexps): Allow a dash after a dollar.
5778 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5781 * org-agenda.el (org-run-agenda-series): Have series options set
5782 when finalizing the agenda.
5784 * org-exp.el (org-export-format-source-code-or-example): Protect
5785 the converted examples.
5787 * org.el (org-set-regexps-and-options): Fix the regexp
5788 `org-complex-heading-regexp'.
5790 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
5792 * org.el (org-edit-src-get-label-format): New function.
5793 (org-coderef-label-format): New option.
5794 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5795 a label format specification and make sure it is used in the edit
5797 (org-edit-src-get-label-format): New function.
5798 (org-store-link): Handle new coderef formats.
5799 (org-link-search): Handle new coderef formats.
5801 * org-footnote.el (org-footnote-create-definition)
5802 (org-footnote-goto-local-insertion-point): Make footnote insertion
5803 work correctly when the "Footnotes" headline is the last line in
5806 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5809 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
5811 * org-w3m.el (org-w3m): New customization group.
5812 (org-w3m-deactivate-mark): New option.
5813 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5816 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
5818 * org.el (org-set-font-lock-defaults): Trigger footnote
5820 (org-activate-footnote-links): New function.
5821 (org-activate-links): New entry `footnote'.
5823 * org-faces.el (org-footnote): New face.
5825 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
5827 * org-macs.el (org-re): Handle the [:word:] class.
5829 * org-exp.el (org-export-preprocess-string): Call
5830 `org-export-protect-colon-examples'.
5831 (org-export-protect-colon-examples): Renamed from
5832 `org-export-protect-examples', and scope limited to lines starting
5835 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
5837 * org-exp.el (org-export-preprocess-string): Move the preprocess
5838 hook to after turning on Org-mode.
5839 (org-export-preprocess-after-include-files-hook)
5840 (org-export-preprocess-after-tree-selection-hook)
5841 (org-export-preprocess-before-backend-specifics-hook)
5842 (org-export-preprocess-final-hook): New hooks.
5843 (org-export-preprocess-string): Run the new hooks.
5845 * org.el (org-ctrl-c-minus): Fix indentation for new items.
5847 * org-footnote.el: New file.
5849 * org.el (org-footnote): Require footnote code.
5850 (org-startup-options): Add new footnote options.
5851 (org-mode-map): New keybindig for footnotes.
5852 (org-ctrl-c-ctrl-c): Add function at footnotes.
5853 (org-org-menu): New menu entries for footnotes.
5855 * org-export-latex.el (org-export-as-latex): Pass footnote
5856 variable to preprocessor.
5857 (org-export-latex-preprocess): Treat multiple references to a
5860 * org-exp.el (org-export-preprocess-string): Call
5861 `org-footnote-normalize'.
5862 (org-export-as-ascii, org-export-as-html): Pass footnote variable
5864 (org-export-as-html): Treat multiple references to a footnote.
5866 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
5868 * org-export-latex.el (org-export-latex-links): Handle coderef
5871 * org.el (org-bracket-link-analytic-regexp++): New variable.
5872 (org-make-link-regexps): Initialize
5873 `org-bracket-link-analytic-regexp++'.
5874 (org-store-link): Implement special case in edit-src buffer.
5875 (org-insert-link): No use of ide to insert stored links.
5876 (org-link-search): Implement special case for coderefs.
5878 * org-exp.el (org-export-html-scripts): New constant.
5879 (org-export-html-style-default): Add a new style for highlighted
5881 (org-export-code-refs): New variable.
5882 (org-export-preprocess-string): Initialize `org-export-code-refs'.
5883 Call `org-export-replace-src-segments-and-examples'
5884 No longer call `org-export-protect-examples'.
5885 (org-export-target-internal-links): Take care of coderef targets.
5886 (org-export-last-code-line-counter-value): New variable.
5887 (org-export-replace-src-segments-and-examples): Renamed from
5888 `org-export-replace-src-segments', and modified.
5889 (org-export-format-source-code-or-example): Renamed from
5890 `org-export-format-source-code'.
5891 (org-export-number-lines): New function.
5892 (org-export-as-ascii, org-export-as-html): Handle coderef links.
5894 --------------------------------------------------------------------------
5896 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
5898 * org-remember.el (org-remember-handler): Safer way to get a new
5899 buffer accessing the target file.
5901 * org.el (org-refile-get-location): Handle case of current buffer
5902 not having a file associated with it.
5904 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
5906 * org-table.el (org-table-get-formula): Only ask to overwrite
5907 field formula if there really is one.
5909 * org-id.el (org-id-find): Allow the ID to be a symbol or a
5910 number, by converting these to a string.
5912 * org-colview.el (org-dblock-write:columnview): Allow ID to be
5913 located in a different file.
5915 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5918 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
5920 * org.el (org-completion-use-ido): Enhance docstring of
5921 `org-completion-use-ido'.
5923 * org-export-latex.el (org-export-latex-make-header): Double the %
5924 in the time stamp format.
5925 (org-export-latex-special-chars): Handle case where there is no
5928 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5930 * org.el (org-get-refile-targets, org-refile-get-location): Use
5931 expanded file name to improve comparison.
5933 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
5935 * org.el (org-scan-tags): Rescan for tags, to get the correct
5936 upcase/downcase stuff. This slows things down for now, but it
5938 (org-mode): Make sure the tag-faces regexp is initialized.
5940 * org-export-latex.el (org-export-latex-links): Fix bug with
5943 * org-table.el (org-table-get-specials): Set
5944 `org-table-current-last-data-line'.
5945 (org-table-current-last-data-line): New variable.
5946 (org-table-insert-column, org-table-delete-column)
5947 (org-table-move-column, org-table-fix-formulas): Call
5948 `org-table-fix-formulas' a second time to fix the $LR references.
5949 (org-table-get-specials): Add the $LR references to the tables.
5950 (org-table-get-formula): Do not offer last-row names as LHS of
5953 * org.el (org-store-link): Capture link description from
5954 `org-id-store-link'.
5956 * org-exp.el (org-export-html-format-image): Add the / to the end
5958 (org-export-format-source-code): Surround example by empty lines,
5959 to make sure it will not be inside a paragraph.
5961 * org.el (org-ido-switchb): New function.
5963 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
5965 * org-agenda.el (org-agenda-show): New prefix argument
5968 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5971 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5972 `org-agenda-change-all-lines'.
5973 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5974 tags are now retrieved locally.
5976 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
5978 * org.el (org-get-outline-path): Fix bug if level is not given.
5979 (org-org-menu): Do not quote function in menu vector.
5981 * org-agenda.el (org-finalize-agenda): Fix typo with variable
5984 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5986 * org.el (org-refile): Avoid refiling to within the region to be
5989 * org-export-latex.el (org-export-latex-special-chars): Replace
5990 special characters also in tables.
5992 * org-agenda.el (org-agenda-change-all-lines): New argument
5994 (org-agenda-set-tags): Cet the new tags and pass them to
5995 `org-format-agenda-item'.
5997 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
5999 * org-export-latex.el (org-export-latex-classes): Add longable as
6000 a default package to all classes.
6001 (org-export-latex-tables): Handle the longtable attribute and the
6004 * org-table.el (orgtbl-to-generic): Handle tables that start with
6007 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
6008 \verb for colde-like snippets.
6009 (org-export-as-latex): Fix issues with region export.
6011 * org.el (org-up-heading-safe): Speed up function by using a
6012 direct regexp search.
6013 (org-olpa): New variable.
6014 (org-get-outline-path): Speed-up path constructions in cases where
6015 this is possible because the entire hierarchy is scanned anyway.
6016 (org-refile-get-location): Don't compare the truenames of files,
6018 (org-goto-max-level): New option.
6019 (org-goto): Use `org-goto-max-level'.
6021 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
6023 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
6024 Strip angle brackets from message-ids in the former and don't do
6026 (org-gnus-follow-link): Open summary reliable, even if the last
6027 messages were deleted, and handle empty groups, too.
6029 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
6031 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
6032 instead of \texttt for the =...= and ~===~ emphasis environments.
6033 (org-export-as-latex): Remove any old :org-license-to-kill text
6035 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
6036 (org-export-latex-make-header): Add some hard space after the
6038 (org-export-latex-first-lines): Accept RBEG argument. Mark
6039 exported text so that it will be excuded in further steps.
6041 * org-table.el (org-table-get-specials): Make @0 reference the
6042 last line in a table.
6043 (org-table-recalculate): Improve docstring.
6045 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
6047 * org.el (org-log-done): Fix docstring.
6049 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
6051 * org-exp.el (org-export-html-format-image): Fix bugs.
6053 * org-export-latex.el (org-export-latex-tables)
6054 (org-export-latex-links): Implement attribute, label, and caption
6057 * org-exp.el (org-export-html-style-default): Add style
6058 definitions for the figure div.
6059 (org-export-preprocess-string, org-export-as-html): Implement
6060 attribute, label, and caption handling.
6061 (org-export-attach-captions-and-attributes): New function.
6062 (org-export-html-format-image): New function.
6063 (org-format-org-table-html): Implement attribute, label, and
6066 * org.el (org-find-text-property-in-string): New function.
6067 (org-extract-attributes): Use the property org-attr instead of
6068 org-attrobutes, because this property is now set with the #+ATTR
6071 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
6073 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
6074 the case that FROM is nil.
6076 * org.el (org-before-first-heading-p): New function.
6078 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
6080 * org-exp.el (org-export-as-html): Do not add a space before
6081 enforces line breaks.
6082 (org-export-as-html): Close paragraph before blockquote and verse
6085 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
6087 * org-id.el (org-id-locations-file): Wrap file name with
6088 `convert-standard-filename'.
6089 (org-id-files): New variable.
6090 (org-id-use-hash): New option.
6091 (org-id-update-id-locations): Also search in all files current
6092 listed in `org-id-files'. Convert the resulting alist to a hash
6093 if the user customation says so.
6094 (org-id-locations-save): Handle he case if `org-id-locations' is a
6096 (org-id-locations-load): Convert the alist to a hash.
6097 (org-id-add-location): Handle the hast case.
6098 (kill-emacs-hook): Make sure id locations are saved when Emacs is
6100 (org-id-hash-to-alist, org-id-alist-to-hash)
6101 (org-id-paste-tracker): New functions.
6103 -------------------------------------------------------------------------
6105 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
6107 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
6108 bindings of calendar variables.
6110 * org-table.el (org-table-find-row-type): Renamed from
6111 `org-find-row-type'.
6112 (org-table-rewrite-old-row-references): Renamed from
6113 `org-rewrite-old-row-references'.
6114 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
6115 (org-table-cleanup-narrow-column-properties): Renamed from
6116 `org-cleanup-narrow-column-properties'.
6118 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
6120 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
6121 for better error messages.
6122 (org-table-get-descriptor-line): Supply the new arguments to
6123 `org-find-row-type'.
6124 (org-table-error-on-row-ref-crossing-hline): New option.
6126 * org.el (org-target-link-regexp): Make buffer-local.
6127 (org-move-subtree-down): Fix bug with trees at beginning of
6130 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
6132 * org-faces.el (org-set-tag-faces): New function.
6133 (org-tags-special-faces-re): New variable.
6135 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
6137 * org-faces.el (org-tag-faces): New option.
6138 (org-tag): Mention `org-tag-faces' in the docstring.
6140 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
6142 * org-exp.el (org-export-html-style-default): Implement new
6145 * org-jsinfo.el (org-infojs-template): Implement new quoting.
6147 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
6148 command to the `w3m-minor-mode-map'.
6150 * org-archive.el (org-archive-to-archive-sibling): Protect
6151 `this-command' to avoid appending kills during archiving.
6153 * org-exp.el (org-export-with-priority): New variable.
6154 (org-export-add-options-to-plist): Use `org-export-plist-vars'
6155 instead of internal list of strings and properties.
6156 (org-print-icalendar-entries): Retrieve the location property with
6159 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
6161 * org-exp.el (org-export-with-todo-keywords): New option.
6162 (org-export-plist-vars): Include also the keys for the #+OPTIONS
6164 (org-default-export-plist, org-export-add-options-to-plist)
6165 (org-export-as-ascii, org-export-as-html): Use the new structure
6166 of `org-export-plist-vars'.
6168 * org.el (org-map-entries): Return all values.
6170 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
6172 * org.el (org-matcher-time): Recognize more special values.
6174 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
6176 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
6178 * org.el (org-tags-exclude-from-inheritance): New option.
6179 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
6180 `org-tags-exclude-from-inheritance'.
6182 * org-agenda.el (org-agenda-show-inherited-tags): New option.
6183 (org-format-agenda-item): Add inherited tags to the agenda line
6184 string, and make sure that properties are kept when downcasing the
6186 (org-agenda-add-inherited-tags): New function.
6187 (org-downcase-keep-props): New function.
6189 * org.el (org-scan-tags): Mark inherited tags with a text
6191 (org-get-tags-at): Mark inherited tags with a text property.
6192 (org-add-prop-inherited): New function.
6194 * org-agenda.el (org-agenda-add-inherited-tags): New function.
6195 (org-agenda-show-inherited-tags): New option.
6197 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
6199 * org.el (org-modules): Add org-w3m to the default modules.
6201 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
6203 (orgtabl-create-or-convert-from-region): New command.
6205 * org-exp.el (org-export-as-ascii): Remove the handling of
6207 (org-export-ascii-preprocess): Handle targets already in this
6210 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
6212 * org-timer.el (org-timer-start-time): Define this variable.
6213 (org-timer-item): Make argument optional.
6215 * org-list.el (org-insert-item): Automatically insert a timer item
6216 if the current list is a timer list.
6218 * org-timer.el: New file.
6220 * org-publish.el (org-publish-org-index): Only exclude the index
6221 file in the main directory from being added to the site-map.
6222 (org-publish-get-project-from-filename): If the current project is
6223 a component, start publishing from the parent project.
6225 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
6227 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
6229 * org-publish.el (org-publish-org-index): Improve removal of
6232 * org-agenda.el (org-get-closed): Re-apply changes
6233 accidentially overwritten by last commit to Emacs.
6235 * org.el (org-outline-path-complete-in-steps): New option.
6236 (org-refile-get-location): Honor
6237 `org-outline-path-complete-in-steps'.
6238 (org-agenda-change-all-lines, org-tags-sparse-tree)
6239 (org-time-string-to-absolute, org-small-year-to-year)
6240 (org-link-escape): Re-apply changes accidentially overwritten
6241 by last commit to Emacs
6243 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6245 * org-clock.el (org-dblock-write:clocktable): Make sure the
6246 clocktable sees the first line.
6247 (org-clock-in): Warn if the clock cannot be resumed.
6249 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
6251 * org.el (org-open-at-point): Fix mixup about interactive and
6252 non-interactive elisp links.
6254 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
6256 * org-exp.el (org-export-preprocess-string): Allow one comment
6257 line before the first headline to always be included. This is
6258 to not miss a commented target.
6260 * org-mouse.el (org-mouse-insert-item): Call
6261 `org-indent-to-column' instead of `indent-to', for XEmacs
6264 * org.el (org-refile-targets): Fix customize definition so
6265 that it works also in XEmacs.
6266 (org-fixup-indentation): Call `org-indent-to-column' instead
6267 of `indent-to', for XEmacs compatibility.
6269 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
6271 * org-mew.el (org-mew-store-link): Get the correct case folder
6272 for refiled messages.
6274 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
6276 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
6277 line break indicators.
6279 * org.el (org-ido-completing-read): Remove the "i:" prefix for
6280 ido-completion propts.
6282 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
6284 * org-remember.el (org-remember-apply-template): Use
6285 `org-substring-no-properties'.
6287 * org-compat.el (org-substring-no-properties): New function.
6289 * org-remember.el (org-remember-apply-template): Use
6290 `org-substring-no-properties' for compatibility.
6292 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
6294 (org-fix-bullet-type): respect
6295 `org-list-two-spaces-after-bullet-regexp'.
6297 * org-clock.el (org-clock-load): Clean up the code.
6299 * org.el (org-adaptive-fill-function): Allow two spaces after
6300 "1." as a list bullet.
6302 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
6304 * org-clock.el (org-clock-save, org-clock-load): Check for
6305 live buffers, existing files, and buffer file names to ensure
6306 consistent information.
6307 (org-clock-persist): Make `clock' a special value of this
6308 variable, and improve docstring.
6310 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6311 (org-get-string-indentation): Adapt indentation when the bullet
6314 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
6316 * org-remember.el (org-remember-finalize): Make interactive.
6317 (org-remember-kill): New command.
6318 (org-remember-finish-immediately): Call `org-remember-finalize'
6320 (org-remember-finalize): Make `org-remember-finalize' an interactive
6323 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
6325 * org-remember.el (org-remember-apply-template): No ido completion
6326 for free prompts in remember templates.
6327 (org-remember-before-finalize-hook): New hook.
6328 (org-remember-mode): New minor mode.
6329 (org-remember-apply-template): Turn on `org-remember-mode'.
6331 * org-id.el (org-id-add-location): Avoid error when no file is
6334 * org-remember.el (org-remember-apply-template): Fix the way how
6335 the list of allowed properties is retrieved from the target file.
6337 * org.el (org-insert-link): Improve file link matching.
6339 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
6341 * org-colview.el (org-columns-display-here): New argument
6342 DATELINE, to trigger using the new face.
6343 (org-agenda-colview-summarize): Call `org-columns-display-here'
6344 with the new argument.
6346 * org-faces.el (org-agenda-column-dateline): New face.
6348 * org-publish.el (org-publish-org-index): Use index-title at page
6349 title, not as section.
6351 * org-exp.el (org-export-html-format-desc): Respect the
6352 org-protect property.
6353 (org-export-as-html): Protect image specifiers that are in the
6354 description part of a link.
6356 * org.el (org-sort-entries-or-items, org-completing-read)
6357 (org-refile-get-location, org-olpath-completing-read, org-todo)
6358 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6359 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6360 (org-set-property, org-delete-property)
6361 (org-delete-property-globally): Use `org-ido-completing-read'.
6363 * org-remember.el (org-remember-apply-template): Use
6364 `org-ido-completing-read'.
6366 * org-publish.el (org-publish): Use `org-ido-completing-read'.
6368 * org-colview.el (org-columns-edit-value, org-columns-new)
6369 (org-insert-columns-dblock): Use `org-ido-completing-read'.
6371 * org-colview-xemacs.el (org-columns-edit-value)
6372 (org-columns-new, org-insert-columns-dblock): Use
6373 `org-ido-completing-read'.
6375 * org-attach.el (org-attach-delete-one, org-attach-open): Use
6376 `org-ido-completing-read'.
6378 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6379 `org-ido-completing-read'.
6381 * org.el (org-time-today): New function.
6382 (org-matcher-time): Use `org-time-today'. Add special treatment
6383 for "<tomorrow>" and "<yesterday>".
6384 (org-ido-completing-read): New function.
6385 (org-completion-use-ido): New option.
6387 * org-exp.el (org-export-format-source-code): Fix bug in require
6389 (org-export-target-internal-links): Fix bug in search for text
6392 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
6394 * org-export-latex.el (org-export-latex-subcontent): Interprete
6395 target aliases as additonal labels.
6397 * org-exp.el (org-export-target-aliases): New variable.
6398 (org-export-preprocess-string)
6399 (org-export-handle-invisible-targets): Fill the alias alist.
6400 (org-export-as-html): Remove the from the anchor, and also
6402 (org-html-level-start): Insert the target aliases as additonal
6405 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6408 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
6410 * org.el (org-open-at-mouse): Ensure correct link abbreviations
6411 when following a link with the mouse from the agenda.
6413 * org-exp.el (org-export-as-html): Avoid lone </div> when no
6414 headlines are created.
6416 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
6418 * org-exp.el (org-export-preprocess-string): Reorder so that we
6419 can still see ID properties when we collect targets.
6420 (org-export-target-internal-links): Also store targets for ID's.
6422 * org.el (org-link-translation-function): New option.
6423 (org-open-at-point): Call `org-link-translation-function' if
6425 (org-translate-link): New function.
6426 (org-translate-link-from-planner): New function.
6427 (org-open-at-point): Allow interactive commands in elisp links.
6429 * org-exp.el (org-icalendar-cleanup-string): Restore the old
6430 iCalendar quoting. The new one seems to caus problems with
6433 * org.el (org-yank): Set `this-command' to `yank', so that
6434 `yank-pop' will work.
6436 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
6438 * org-id.el (org-id-search-archives): New option.
6440 * org.el (org-link-to-org-use-id): New option.
6441 (org-store-link): Use `org-link-to-org-use-id'.
6442 (org-id): Make org-id.el a standard component.
6444 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
6446 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6447 hexified version of the tag.
6449 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6450 compliance as far as quoting is concerned.
6452 * org-vm.el (org-vm-follow-link): Require `vm-search'.
6454 * org.el (org-up-heading-safe, org-forward-same-level): Always
6455 call `org-back-to-heading' instead of `outline-back-to-heading'.
6456 (org-back-to-heading): New wrapper around outline-back-to-heading,
6457 with a useful error message telling where the error happened.
6459 * org-list.el (org-update-checkbox-count): Always call
6460 `org-back-to-heading' instead of `outline-back-to-heading'.
6462 * org-exp.el (org-export-as-html): Make sure that each <img> tag
6463 has an `alt' attribute, to ensure XHTML validation.
6465 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6467 * org-publish.el (org-publish-attachment): Allow publishing to
6468 overwrite attachment files.
6470 * org-agenda.el (org-agenda-timerange-leaders): New option.
6471 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6473 * org.el (org-edit-src-exit): Untabify ASCII image before
6487 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
6489 * org.el (org-yank): Make any prefix force normal yanking.
6490 Suppress folding if text would be swallowed into a folded
6492 (org-yank-folded-subtrees, org-yank): Docstring updates.
6494 * org-agenda.el (org-agenda-compare-effort): Treat no effort
6497 * org-exp.el (org-export-language-setup): Add Catalan and
6498 Esperanto language entries.
6500 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
6502 * org.el (org-refile): Allow refiling of entire regions.
6504 * org-clock.el (org-clock-time%): New function.
6506 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6507 retrieve property values.
6509 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
6511 * org-agenda.el (org-agenda-list): Handle the value `only' of
6512 org-agenda-show-log'.
6513 (org-agenda-log-mode): Interpret a double prefix arg.
6515 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
6517 * org-exp.el (org-export-html-footnotes-section): New variable.
6518 (org-export-as-html): Use `org-export-html-footnotes-section' to
6519 insert the footnotes.
6520 (org-export-language-setup): Add "Footnotes" to language words.
6522 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
6524 * org.el (org-yank): Fix bug when not inserting a subtree.
6526 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
6528 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6529 instead of `vm-beginning-of-message'.
6531 * org.el (org-make-link-regexps): Make sure that links to gnus can
6534 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
6536 * org-attach.el (org-attach-dir): Remove duplicate ID creation
6539 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6542 * org.el (org-link-abbrev-alist): Improve customization type.
6544 * org-attach.el (org-attach-expand-link, org-attach-expand): New
6547 * org-agenda.el (org-agenda-get-progress): Renamed from
6548 `org-get-closed'. Implement searching for state changes as well.
6549 (org-agenda-log-mode-items): New option.
6550 (org-agenda-log-mode): New option prefix argument, interpreted as
6551 request to show all possible progress info.
6552 (org-agenda-get-day-entries): Call `org-get-progress' instead of
6554 (org-agenda-set-mode-name): Handle the more complex log mode
6556 (org-get-closed): New alias, pointing to `org-get-progress'.
6558 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
6560 * org.el (org-file-apps-defaults-gnu)
6561 (org-file-apps-defaults-macosx)
6562 (org-file-apps-defaults-windowsnt): Add an entry defining the
6564 (org-file-apps): Allow `system' as key and value.
6565 (org-open-at-point): Explain the effect of a double prefix arg.
6566 (org-open-file): If the argument `in-emacs' is (16),
6567 i.e. corresponding to a double prefix argument, try to open the
6570 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
6572 * org.el (org-insert-link): Abbreviate absolute files names in
6573 links. Also, fix a bug in which the double C-u prefix would not
6576 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
6578 * org.el (org-insert-heading): If buffer does not end with a
6579 newline, add one if necessary to insert headline correctly.
6581 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6582 paragraphs, not inside.
6584 * org.el (org-todo): Quote
6585 `org-agenda-headline-snapshot-before-repeat'.
6587 * org-exp.el (org-export-as-html): Fully process link descriptions.
6588 (org-export-html-format-desc): New function.
6589 (org-export-as-html): Collect footnotes into the correct basket.
6590 (org-html-protect): No longer protect quotations marks here, this
6593 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6596 * org-compat.el (org-fit-window-to-buffer): New function (not
6597 really, a preliminary and incomplete version was present earlier,
6600 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6601 `org-fit-window-to-buffer'.
6603 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6605 * org-agenda.el (org-agenda-get-restriction-and-command)
6606 (org-fit-agenda-window, org-agenda-convert-date): Use
6607 `org-fit-window-to-buffer'.
6609 * org-exp.el (org-export-as-html): Process href links through
6610 `org-export-html-format-href'.
6611 (org-export-html-format-href): New function.
6613 * org-agenda.el (org-agenda-todo): Update only the current
6614 headline if this is a repeated TODO, marked done for today.
6615 (org-agenda-change-all-lines): New argument JUST-THIS, to change
6616 only the current line.
6618 * org.el (org-todo): Take a snapshot of the headline if the
6619 repeater might change it.
6621 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
6623 * org-publish.el (org-publish-find-title): Remove buffers visited
6624 only for extracting the title.
6626 * org-exp.el (org-export-html-style)
6627 (org-export-html-style-default): Mark style definitions as
6630 * org-publish.el (org-publish-validate-link): Function
6633 2008-11-02 Charles Sebold <csebold@gmail.com>
6635 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6637 (org-plot-quote-timestamp-field): New function.
6638 (org-plot-quote-tsv-field): Call timestamp field function when
6639 necessary rather than just quoting as a string.
6640 (org-plot/gnuplot-to-data): Pass in timefmt property.
6641 (org-plot/gnuplot-script): Supports timefmt property.
6642 (org-plot/gnuplot): Checks for timestamp column before checking
6643 for text index column.
6645 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
6647 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6649 * org-publish.el (org-publish-org-index): Create a section in the
6651 (org-publish-org-index): Stop linking to directories.
6653 * org.el (org-emphasis-alist): Use span instead of <u> to
6656 * org-exp.el (org-export-as-html): Make sure <p> is closed before
6659 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
6661 * org-jsinfo.el (org-infojs-template): Remove language attribute
6664 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
6666 * org-agenda.el (org-agenda-remove-marked-text): New function.
6667 (org-agenda-mark-filtered-text)
6668 (org-agenda-unmark-filtered-text): New functions.
6669 (org-write-agenda): Remove fltered text.
6671 * org.el (org-make-tags-matcher): Give access to TODO "property"
6672 without speed penalty.
6674 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
6676 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6678 (org-store-link-props): Make sure adding to the plist works
6681 * org-gnus.el (org-gnus-no-new-news): New function.
6682 (org-gnus-follow-link): Allow the article ID to be a message-id,
6683 in addition to allowing article numbers. Message IDs make much
6685 (org-gnus-store-link): Use message-id to create link.
6687 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
6689 * org.el (org-emphasize): Reverse the selection array.
6690 (org-emphasis-alist): Set <code> tags for the verbatim
6693 * org-remember.el (org-remember-handler): Fix bug with
6694 prefix-related changing of the note storage target.
6696 * org-exp.el (org-print-icalendar-entries): Make the exported
6697 priorities compatible with RFC 2445.
6699 * org-clock.el (org-clock-save): Insert time stamp without
6700 dependence on time-stamp.el.
6702 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
6704 * org.el ("saveplace"): If saveplace puts point into an invisible
6705 location, make it visible.
6706 (org-make-tags-matcher): Allow inactive time stamps in time
6708 (org-yank-adjusted-subtrees): New option.
6709 (org-yank): Incorporate adjusting trees.
6710 (org-paste-subtree): New argument FOR-YANK which will cause
6711 insertion at point without backing up over white lines, and leave
6712 point at the end of the inserted text. Also if the cursor is
6713 at the beginning of a headline, use the same level or the inserted
6716 * org-publish.el (org-publish-get-base-files-1): Deal correctly
6717 with broken symlinks
6719 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6721 * org-exp.el (org-export-select-tags, org-get-current-options):
6724 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
6726 * org-agenda.el (org-format-agenda-item)
6727 (org-agenda-filter-make-matcher): Make sure tags are stored and
6730 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
6732 * org.el (org-insert-todo-heading): Fix bug with force-heading
6735 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
6737 * org-clock.el (org-clock-in-resume): Add a custom option to
6738 toggle starting the clock from an open clock line.
6739 (org-clock-in): When clocking in to an entry, if
6740 `org-clock-in-resume' is set, check if the first clock line is
6741 open and if so, start the clock from the time in the clock line.
6742 (org-clock-persist): Add a custom option to toggle clock
6744 (org-clock-persist-query-save): Add a custom option to toggle
6745 asking the user if they want to save the running clock when
6747 (org-clock-persist-query-resume): Add a custom option to toggle
6748 asking the user if they want to resume the saved clock when Emacs
6750 (org-clock-save): Add a function to save clock data.
6751 This includes the contents of `org-clock-history' and the buffer
6752 and position of the currently clocked task, if any.
6753 (org-clock-load): Add a function to load clock data.
6754 This populates `org-clock-history', and resumes the saved clocked
6755 task if there is one.
6756 (org-clock-persistence-insinuate): Add a method to set up the
6757 hooks for clock persistence.
6759 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
6761 * org-exp.el (org-export-as-ascii): Handle the case that we are
6762 publishing from an indirect buffer.
6764 * org-table.el (org-table-copy-down): Fix bug with time stamp
6767 * org-mouse.el (org-mouse-features): New option.
6768 (org-mode-hook): Turn on features depending on
6769 `org-mouse-features'.
6771 * org.el (org-insert-heading-respect-content): Force heading
6773 (org-insert-heading): keep the folding state of the heading before
6776 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
6778 * org-archive.el (org-archive-to-archive-sibling): Handle top
6779 level headlines better.
6781 2008-10-21 Bastien Guerry <bzg@altern.org>
6783 * org-export-latex.el (org-export-latex-classes): Added
6784 \usepackage{graphicx} to the default list of packages.
6786 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
6788 * org-agenda.el (org-agenda-filter): Renamed from
6789 `org-agenda-filter-tags'.
6791 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
6793 * org.el (org-entry-properties): Add CATEGORY property, iven if it
6794 is not defined as a property in this entry.
6795 (org-add-log-note): Mask prefix argument when immediately storing
6798 * org-agenda.el (org-agenda-filter-effort-default-operator): New
6801 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
6803 * org.el (org-add-log-setup): Bugfix; code to find insertion point
6804 after drawers was skipping ahead one line too many, so notes were
6805 inserted after the first note instead of before it.
6807 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
6809 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6811 (org-prepare-agenda): Reset the filter tags.
6812 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6813 Show filter tags in mode line.
6815 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6818 * org-export-latex.el (org-latex-entities-regexp): New constant.
6819 (org-export-as-pdf): Use two calls to `shell-command'.
6821 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
6823 * org-export-latex.el (org-export-latex-treat-sub-super-char):
6824 Honor the {} value of the subsuperscript setting. Make sure that
6825 longer subsuperscripts are typeset in a roman font.
6827 * org.el (org-clock-update-time-maybe): Compute negative clock
6828 intervals correctly.
6830 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
6832 * org.el (org-add-log-setup): Respect
6833 `org-log-state-notes-insert-after-drawers'.
6834 (org-log-state-notes-insert-after-drawers): New option.
6835 (org-todo-trigger-tag-changes): New function.
6836 (org-todo): Call `org-todo-trigger-tag-changes'.
6838 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
6840 * org.el (org-add-log-setup): Only skip drawers if the are
6841 immediately after the scheduling keywords.
6843 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6845 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6846 call it with the current todo state to get the state to switch to
6848 (org-clock-in): Use org-indent-line-function to indent clock lines.
6849 (org-clock-find-position): Fix indentation of empty clock drawers.
6851 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
6853 * org-publish.el (org-publish-org-to): Handle case when
6854 org-export-to-pdf does return a file name, not a buffer.
6855 (org-publish-org-to-pdf): New function.
6857 * org-export-latex.el (org-export-as-pdf)
6858 (org-export-as-pdf-and-open): New commands.
6860 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6863 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6864 things in protexted regions.
6866 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
6868 * org-export-latex.el (org-export-latex-preprocess): Improve
6869 quoting of LaTeX environments.
6871 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
6873 * org.el (org-edit-fixed-width-region): Exclude final newline from
6876 * org-export-latex.el (org-export-latex-subcontent): Add labels to
6877 sections, to make internal links work.
6878 (org-export-latex-fontify-headline): Do not remove all text
6879 properties, to make sure that target properties survive this
6882 * org-exp.el (org-export-preprocess-string): Change sequence of
6883 modifications, to make sure links are prepared before the LaTeX
6884 conversions do happen.
6886 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
6888 * org-attach.el (org-attach-delete-all): Renamed from
6889 `org-attch-delete'. Add a security query before deleting the
6890 entire directory. New optional argument FORCE can overrule the
6892 (org-attach-delete-one): New command.
6894 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
6896 * org-attach.el (org-attach-file-list): Fix bug with directory.
6898 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
6900 * org.el (org-apps-regexp-alist): New function.
6901 (org-file-apps): Add auto-mode to the default value.
6902 (org-open-file): Use the new structure of org-file-apps.
6904 * org-attach.el (org-attach): Support the new keys.
6905 (org-attach-method): New option.
6907 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
6909 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6912 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6913 of the list value o `org-use-tag-inheritance'.
6915 * org-attach.el (org-attach-auto-tag): New option.
6916 (org-attach-tag, org-attach-untag): New functions.
6917 (org-attach-attach, org-attach-new, org-attach-sync): Call
6919 (org-attach-delete): Call `org-attach-untag'.
6921 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
6923 * org-table.el (orgtbl-self-insert-command): Make this work for
6926 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
6928 * org.el (org-add-log-setup): Limit searc for drawers to entry
6929 text, not to subtree.
6931 * org-clock.el (org-clock-heading-for-remember): New variable.
6932 (org-clock-in): Set `org-clock-heading-for-remember'.
6934 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
6936 * org-remember.el (org-remember-apply-template): Add new
6937 expansions: %k, %K for currently clocked task and a link to the
6938 currently clocked task, and %< to file notes in the currently
6941 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
6943 * org-export-latex.el (org-export-latex-make-header): Also insert
6944 the content of the property :latex-header-extra.
6946 * org-exp.el (org-infile-export-plist): Put the content of
6947 #+LATEX_HEADER: into the property :latex-header-extra.
6949 * org-colview.el (org-columns-get-format-and-top-level): Remove
6950 resetting the marker.
6952 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6953 Remove resetting the marker.
6955 * org.el (org-entry-property-inherited-from): Improve docstring.
6956 (org-entry-get-with-inheritance): Reset marker before starting the
6959 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6961 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
6963 * org.el (org-entry-get-multivalued-property)
6964 (org-entry-protect-space, org-entry-restore-space): New
6966 (org-file-apps-defaults-macosx): Let postscript files be opened by
6968 (org-time-stamp-inactive): Call `org-time-stamp'.
6969 (org-time-stamp): New argument `inactive'. Also edit inacive
6970 stamps. Convert time stamp type.
6971 (org-open-file): Interpret the `default' value for the `command'
6974 * org-id.el (org-id-int-to-b36-one-digit)
6975 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6976 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6979 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
6981 * org-id.el (org-id-reverse-string): New function.
6982 (org-id-new): Use `org-id-reverse-string' to make sure the
6983 beginning chars of the ID are mutating fast. This allows to use a
6984 directory structure to spread things better.
6985 (org-id-prefix): Changed default to nil.
6987 * org-list.el (org-move-item-down, org-move-item-up): Remember and
6988 restore the column of the cursor position.
6990 * org-remember.el (org-remember-apply-template): Remove properties
6993 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
6995 * org-wl.el (org-wl-open): Remove useless call to
6996 `wl-thread-open-all'.
6998 * org-remember.el (org-remember-handler): Fix bug with `bottom'
7001 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
7003 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
7004 `org-bbdb-anniversaries'.
7006 * org.el (org-get-next-sibling, org-forward-same-level): New
7007 functions, similar to the outline versions, but invisible headings
7010 2008-09-25 Bastien Guerry <bzg@altern.org>
7012 * org.el (org-auto-repeat-maybe): Insert a space between
7013 the timestamp's type and the timestamp itself.
7015 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
7017 * org-table.el (org-table-sum): Do not format the result with %g,
7018 it does rounding when there are too many digits.
7020 * org.el (org-map-entries): Protect the keyword-selecting variables.
7022 2008-09-23 Bastien Guerry <bzg@altern.org>
7024 * org-agenda.el (org-agenda-to-appt): Make sure the function check
7025 against all agenda files.
7027 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
7029 * org-list.el: New file, aggregating list functions from org.el
7030 and org-export-latex.el.
7032 * org.el (org-edit-src-region-extra): New option.
7034 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
7036 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
7039 2008-09-22 Bastien Guerry <bzg@altern.org>
7041 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
7043 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
7045 * org-plot.el (org-plot/gnuplot): Make tables starting with a
7046 hline work correctly.
7047 (org-plot/gnuplot-script): Put commas at the end of each script
7050 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
7052 * org.el (org-get-refile-targets): Replace links with their
7054 (org-imenu-get-tree): Replace links with their descriptions.
7056 * org-remember.el (org-remember-apply-template): Add a new
7057 expansion for adding properties to remember items.
7059 * org.el (org-add-log-setup): Skip over drawers (properties,
7060 clocks etc) when adding notes.
7062 * org-agenda.el (org-agenda-get-closed): show durations of clocked
7063 items as well as the start and end times.
7065 * org-compat.el (org-get-x-clipboard-compat): Add a compat
7066 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
7068 * org-remember.el (org-get-x-clipboard): Use the compat
7069 function to get clipboard values when x-selection-value is
7070 unavailable. Use substring-no-properties instead of
7071 set-text-properties to remove text properties from the clipboard
7074 * lisp/org-clock.el (org-update-mode-line): Support limiting the
7075 modeline clock string, and display the full todo value in the
7076 tooltip. Set a local keymap so mouse-3 on the clock string goes to
7077 the currently clocked task.
7078 (org-clock-string-limit): Add a custom value for the maximum
7079 length of the clock string in the modeline.
7080 (org-clock-mode-map): Add a keymap for the modeline string
7082 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
7084 * org-compat.el (org-propertize): New function.
7086 2008-09-20 Bastien Guerry <bzg@altern.org>
7088 * org-export-latex.el (org-export-latex-tables): protect exported
7089 tables from further special chars conversion.
7090 (org-export-latex-preprocess): Preserve LaTeX environments.
7091 (org-list-parse-list): Parse descriptive lists.
7092 (org-list-to-generic, org-list-to-latex, org-list-to-html)
7093 (org-list-to-texinfo): Export descriptive lists.
7094 (org-quote-chars): Remove.
7095 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
7096 (org-export-latex-list-beginning-re): Rename to
7097 `org-list-beginning-re'
7098 (org-list-item-begin): Rename to `org-list-item-beginning'
7100 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
7102 * org.el (org-refile): Allow refiling to the last entry in the
7104 (org-get-tags-at): Fix bug when inheritance is turned off.
7106 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
7108 * org.el (org-indent-line-function): No longer check for src
7109 regions, this is too much overhead.
7111 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
7114 * org.el (org-scan-tags): Make sure that tags matching is not case
7115 sensitive. TODO keyword matching is case sensitive, however, to
7116 avoid confusion with similar words that are not meant to be
7119 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
7121 * org.el (org-get-local-tags-at): New function.
7122 (org-get-local-tags): New function.
7124 * org-exp.el (org-export-get-categories): New function.
7126 * org-agenda.el (org-sorting-choice)
7127 (org-agenda-sorting-strategy, org-agenda-get-todos)
7128 (org-agenda-get-timestamps, org-agenda-get-deadlines)
7129 (org-agenda-get-scheduled, org-agenda-get-blocks)
7130 (org-entries-lessp): Implement sorting by TODO state.
7131 (org-cmp-todo-state): New defsubst.
7133 * org-colview.el (org-colview-construct-allowed-dates): New
7135 (org-columns-next-allowed-value): Use
7136 `org-colview-construct-allowed-dates'.
7138 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
7140 (org-columns-next-allowed-value): Use
7141 `org-colview-construct-allowed-dates'.
7143 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
7145 * org.el (org-protect-slash): New function.
7146 (org-get-refile-targets): Use `org-protect-slash'.
7148 * org-agenda.el (org-global-tags-completion-table): New variable.
7150 * org-exp.el (org-export-handle-export-tags): New function.
7151 (org-export-preprocess-string): Call
7152 `org-export-handle-export-tags'.
7154 * org-plot.el: New file.
7156 * org-publish.el (org-publish-expand-components): Function removed.
7157 (org-publish-expand-projects): Allow components to have components.
7159 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
7161 * org.el (org-indent-line-function): Do not indent in regions that
7162 are external source code.
7163 (org-yank-and-fold-if-subtree): New function.
7165 * org-agenda.el (org-agenda-todayp): New function.
7166 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
7167 `org-agenda-todayp'.
7169 * org.el (org-insert-heading-respect-content)
7170 (org-insert-todo-heading-respect-content): New commands.
7171 (org-insert-heading-respect-content): New option.
7172 (org-insert-heading): Respect `org-insert-heading-respect-content'.
7174 * org-clock.el (org-clock-find-position): Make sure the note after
7175 the clock line gets moved into the new clock drawer.
7177 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
7179 * org-id.el (org-id-new): New option.
7181 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
7183 * org-table.el (org-table-copy-down): Avoid overflow during
7184 increment. Use prefix argument 0 to temporarily disable the
7187 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
7189 * org-exp.el (org-export-as-html): Do not turn on the major mode
7190 if the buffer will be killed anyway.
7191 (org-get-current-options): Exclude the #+TEXT field.
7192 (org-export-as-html): Make sure text before the first headline is
7195 * org-publish.el (org-publish-org-to): Tell the exporter that this
7196 buffer will be killed, so it is not necessary to do major mode
7199 * org-archive.el (org-archive-to-archive-sibling): Show empty
7200 lines after folding the archive sibling.
7202 * org.el (org-log-note-extra): New variable.
7204 2008-09-05 Bastien Guerry <bzg@altern.org>
7206 * org.el (org-additional-option-like-keywords): Added keywords for
7207 the _QUOTE, _VERSE and _SRC environments.
7209 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
7210 exporting _QUOTE and _VERSE environments.
7212 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
7214 * org-agenda.el (org-agenda-filter-by-tag): New command.
7216 * org-exp.el (org-get-current-options): Remove angular brackets
7217 from the date entry.
7219 * org.el (org-edit-fixed-width-region): New function.
7220 (org-edit-fixed-width-region): Also try
7221 `org-edit-fixed-width-region'.
7222 (org-edit-fixed-width-region-mode): New option.
7223 (org-activate-code): Only interprete lines starting with colon
7224 plus a space as example lines.
7226 * org-remember.el (org-remember-templates): Add nil instead of
7227 empty strings to fix the length of remember templates.
7229 * org-table.el (org-calc-default-modes): Fix the time format for
7230 calc, from 12 hour to 24 hour clock.
7232 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
7234 * org-agenda.el (org-agenda-get-deadlines)
7235 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
7236 entries that are pre-warnings of deadlines or reminders.
7238 * org.el (org-sort-entries-or-items): Make numeric and alpha
7239 comparisons ignore any TODO keyword and priority cookie.
7241 * org-remember.el (org-remember-handler): Reinterpretation of the
7244 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
7246 * org-agenda.el (org-agenda-get-scheduled): Use new
7247 `org-scheduled' face.
7249 * org-faces.el (org-scheduled): New face.
7251 * org-wl.el (org-wl-open): Remove incorrect declaration.
7253 * org-gnus.el (org-gnus-store-link): Support for :to information
7256 * org-exp.el (org-export-as-html): Fixed typo in creator
7258 (org-export-protect-examples): New parameter indent. Insert extra
7259 spaces only when this parameter is specified.
7260 (org-export-preprocess-string): Call `org-export-protect-examples'
7261 with an indentation parameter when exporting to ASCII.
7263 * org-remember.el (org-remember-templates)
7264 (org-remember-apply-template): Allow the file component to be a
7267 * org.el (org-goto-local-search-headings): Renamed from
7268 `org-goto-local-search-forward-headings'. Added the possibility
7269 to search backwards.
7271 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
7273 * org-export-latex.el (org-export-latex): New customization
7276 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
7278 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
7280 * org-exp.el (org-html-do-expand): Allow {} to terminate
7283 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
7285 * org.el (org-buffer-list): Select buffers based on major mode,
7288 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
7290 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
7293 * org-colview.el (org-columns-display-here): Use
7294 `org-columns-modify-value-for-display-function'.
7296 * org-colview-xemacs.el (org-columns-display-here): Use
7297 `org-columns-modify-value-for-display-function'.
7299 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
7301 * org.el (org-columns-modify-value-for-display-function): New option.
7313 * org-publish.el (org-publish-file): Make sure the directory match
7314 for the publishing directory works correctly.
7316 * org-agenda.el (org-agenda-execute-calendar-command)
7317 (org-agenda-diary-entry): Additional optional argument.
7319 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
7321 * org-exp.el (org-export-as-html): Add attributes also in mailto
7324 * org.el (org-autoload): Add `org-dblock-write:columnview'.
7333 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
7335 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7336 sure that calls from `org-export-region-as-html' do not do the
7337 special check for a subtree.
7339 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
7341 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7343 2008-07-20 Juri Linkov <juri@jurta.org>
7345 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7346 new keymap `narrow-map' instead of binding "\C-xns".
7348 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
7350 * org.el (org-open-file): Use
7351 `org-open-directory-means-index-dot-org'.
7352 (org-open-directory-means-index-dot-org): New option.
7354 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
7356 * org.el (org-make-link-string): Remove link attributes from
7358 (org-open-at-point): Remove link attributes bevore using the path.
7360 * org-exp.el (org-export-as-html): Handle link attributes.
7362 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7364 * org-table.el (org-table-to-lisp): New function.
7366 * org.el (org-narrow-to-subtree): Do not include the final newline
7367 into the narrowed region.
7369 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
7370 bug with user-define skipping condition.
7372 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
7374 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
7376 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
7378 * org-exp.el (org-export-html-style-default): Automatic overflow
7379 handling for pre fields.
7380 (org-export-as-ascii, org-export-as-html): Change default format
7383 * org-table.el (org-table-export): Offer completion for translator
7384 functions, and do not require a heading above the table.
7386 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7387 Cater for the case of a list starting in the first line of the
7390 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
7392 * org-publish.el (org-publish-find-title): Bug fix.
7393 (org-publish-org-index): Implement new :index-style option.
7395 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
7397 * org-publish.el (org-publish-timestamp-filename): Use
7398 SHA1-encoded file names in the timestamp directory.
7400 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
7402 * org-publish.el (org-publish-needed-p): Be verbose about files
7403 published and files skipped.
7405 * org-exp.el (org-export-preprocess-string): Swap link
7406 normalization and inernal link targeting.
7408 * org-publish.el (org-publish-needed-p): Create timestamp
7409 directory when it does not exist.
7411 2008-07-04 Bastien Guerry <bzg@altern.org>
7413 * org-clock.el (org-clock-out-when-done): Doc fix.
7415 * org.el (org-agenda-skip-unavailable-files): Doc fix.
7417 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7418 Ignore case when searching for the COMMENT cookie at export time.
7420 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
7422 * org-exp.el (org-get-file-contents)
7423 (org-get-and-remove-property): New functions.
7424 (org-export-handle-include-files): Handle the new prefix options.
7425 (org-export-as-html): Fix the verse environment.
7427 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
7429 * org.el (org-time=, org-time<, org-time<=, org-time>)
7430 (org-time>=, org-time<>, org-2ft): New functions.
7431 (org-op-to-function): Also provide for the time testing fucntions.
7433 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
7435 * org-exp.el (org-export-html-style-default): New constant.
7437 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
7439 * org-exp.el (org-export-html-style-extra): New variable.
7440 (org-export-splice-style): New function.
7442 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
7444 * org-exp.el (org-export-plist-vars, org-export-as-html):
7445 Implement `org-export-creator-info'.
7446 (org-export-creator-info): New option.
7448 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
7450 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7451 (org-property-drawer-re, org-clock-drawer-re): New constants.
7453 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
7455 * org-exp.el (org-icalendar-use-deadline)
7456 (org-icalendar-use-scheduled): New options.
7457 (org-icalendar-include-todo): Default changed to t.
7458 (org-print-icalendar-entries): Implement better utilization of
7459 scheduling and deadline time stamps.
7460 (org-export-target-internal-links, org-export-as-html): Allow file
7461 lines without the "file:" prefix if the file path is an absolute
7462 path or starts with ".".
7464 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
7466 (org-clock-special-range): Also undertand yesterday, lastweek etc.
7468 2008-06-18 Glenn Morris <rgm@gnu.org>
7469 * org.el (org-map-entries): Let-bind `file'.
7471 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
7473 * org.el (org-agenda-skip-archived-trees): Docstring now
7474 discourages using this.
7475 (org-scan-tags): Check for org-agenda-archives-mode.
7476 (org-map-entries): Make sure org-agenda-archives-mode is nil.
7477 (org-agenda-files): Functionality of second arg changed.
7479 * org-agenda.el (org-agenda-archives-mode): New variable
7480 (org-write-agenda, org-prepare-agenda, org-agenda-list)
7481 (org-search-view, org-todo-list, org-tags-view)
7482 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7484 (org-agenda-quit): Reset the archives mode.
7485 (org-agenda-archives-mode): New command.
7486 (org-agenda-set-mode-name): Include archives info.
7488 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
7490 * org.el (org-paste-subtree): Make sure the yanked headline is
7491 visible if it was yanked at a visible point.
7492 (org-move-item-up): Fix the bug with moving white space at the end
7494 (org-show-empty-lines-in-parent): New function.
7496 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
7498 * org-colview.el (org-columns-next-allowed-value): Bug fix.
7500 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7502 * org-agenda.el (org-agenda-get-closed): Get the end time into the
7503 agenda prefix as well.
7505 * org-publish.el (org-publish-org-index): Make a properly indented
7508 * org.el (org-calendar-agenda-action-key): New option.
7509 (org-get-cursor-date): New function.
7510 (org-mark-entry-for-agenda-action): New command.
7511 (org-overriding-default-time): New variable.
7512 (org-read-date): Respect `org-overriding-default-time'.
7514 * org-remember.el (org-remember-apply-template): Respect the
7515 ovverriding default time.
7517 * org-agenda.el (org-agenda-action-marker): New variable.
7518 (org-agenda-action): New command.
7519 (org-agenda-do-action): New function.
7521 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
7523 * org.el (org-schedule, org-deadline): Protect scheduled and
7524 deadline tasks against changes that accidently remove the
7525 repeater. Also show a message with the new date when done.
7527 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
7529 * org.el (org-beginning-of-line): Cater for the case when there
7530 are tags but no headline text.
7531 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7534 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
7536 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7537 the return value is nil instead of "nil" when there is no match.
7539 * org-exp.el (org-insert-centered): Use fill-column instead of
7541 (org-export-as-ascii): Use string-width to measure the width of
7544 * org.el (org-diary-to-ical-string): No longer kill buffer
7545 FROMBUF, this is now done by the caller.
7547 * org-exp.el (org-print-icalendar-entries): Move the call to
7548 `org-diary-to-ical-string' out of the loop, and kill the buffer
7551 * org-remember.el (org-remember-visit-immediately): Position
7552 cursor after moving to the note.
7553 (org-remember-apply-template): Use a text property to record the
7555 (org-remember-handler): Align tags after pasting the note.
7557 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
7559 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7561 * org-agenda.el (org-agenda-open-link): If there is an
7562 org-bbdb-name property in the current line, jump to that bbdb
7565 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7566 text property, so that the agenda knows where this entry comes
7569 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
7570 interaction between clocking-in from the agenda, and automatic
7571 task state switching.
7573 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
7575 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7576 zmacs-region stays after this command in XEmacs.
7578 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
7580 * org.el (org-scan-tags): Allow new values for ACTION parameter.
7582 * org-remember.el (org-remember-templates): Fix bug in
7583 customization type definition.
7585 * org.el (org-map-entries): New function.
7587 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
7589 * org-agenda.el (org-agenda-skip-comment-trees): New option.
7590 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7592 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
7594 * org-remember.el (org-jump-to-target-location): New variable.
7595 (org-remember-apply-template): Set
7596 `org-remember-apply-template' if requested by template.
7597 (org-remember-handler): Start an idle timer to jump to
7600 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7602 * org.el (org-set-regexps-and-options): Fix bug with parsing of
7604 (org-get-tags-at): Add the content of `org-file-tags'.
7606 * org-exp.el (org-export-handle-comments): Fix bug with several
7607 comment lines after each other.
7608 (org-number-to-roman, org-number-to-counter): New functions.
7609 (org-export-section-number-format): New option.
7611 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
7613 * org-exp.el (org-export-protect-examples): Catch the case of a
7614 missing end_example line.
7616 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7617 `org-file-tags' to nil.
7619 * org-colview.el (org-columns-next-allowed-value): Handle next
7620 argument NTH to directly select a value.
7622 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7623 argument NTH to directly select a value.
7625 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
7627 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7629 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
7631 * org.el (org-columns-ellipses): New option.
7633 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
7635 * org-colview.el (org-columns-add-ellipses): New function.
7636 (org-columns-compact-links): New function.
7637 (org-columns-cleanup-item): Call `org-columns-compact-links'.
7638 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7640 (org-columns-edit-value): Fixed bug with editing values from
7642 (org-columns-redo): Also redo the agenda itself.
7644 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
7646 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7649 * org-colview.el (org-agenda-columns-cleanup-item): New function.
7651 * org-exp.el (org-export-ascii-preprocess): Renamed from
7652 `org-export-ascii-clean-string'.
7653 (org-export-kill-licensed-text)
7654 (org-export-define-heading-targets)
7655 (org-export-handle-invisible-targets)
7656 (org-export-target-internal-links)
7657 (org-export-remove-or-extract-drawers)
7658 (org-export-remove-archived-trees)
7659 (org-export-protect-quoted-subtrees)
7660 (org-export-protect-verbatim, org-export-protect-examples)
7661 (org-export-select-backend-specific-text)
7662 (org-export-mark-blockquote-and-verse)
7663 (org-export-remove-comment-blocks-and-subtrees)
7664 (org-export-handle-comments, org-export-mark-radio-links)
7665 (org-export-remove-special-table-lines)
7666 (org-export-normalize-links)
7667 (org-export-concatenate-multiline-links)
7668 (org-export-concatenate-multiline-emphasis): New functions,
7669 obtained from spliiting the export preprocessor.
7671 * org-table.el (org-table-recalculate): Improve error message if
7672 the row number is invalid.
7674 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
7676 * org-archive.el (org-archive-save-context-info): Fix bugs in
7677 customization setup and docstring.
7679 * org-exp.el (org-export-html-style): Changed the size of in the
7680 <pre> element to 90%.
7682 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
7684 * org.el (org-find-src-example-start): Function removed.
7685 (org-edit-src-find-region-and-lang): New function.
7687 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
7689 * org.el (org-edit-src-exit): New function.
7690 (org-exit-edit-mode): New minor mode.
7692 * org-exp.el (org-export-preprocess-string): Fix bug with removing
7693 comment-like lines from protected examples.
7695 * org.el (org-edit-src-example, org-find-src-example-start)
7696 (org-protect-source-example, org-edit-special): New functions.
7698 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
7700 * org-publish.el (org-publish-project-alist): Fix typo in
7702 (org-publish-project-alist): Handle :index-title property.
7704 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
7706 * org-export-latex.el (org-export-as-latex): Make sure region
7707 bounds are correct. Parse subtree properties relating to export.
7709 * org-exp.el (org-export-add-options-to-plist): New function.
7710 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7712 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
7714 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7717 * org-exp.el (org-export-get-title-from-subtree)
7718 (org-export-as-ascii, org-export-as-html): Make sure the original
7719 region-beginning and region-end are used, even after moving
7721 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7724 * org-remember.el (org-remember-last-stored-marker): New variable.
7725 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7726 (org-remember-handler): Also use marker to remember
7727 last-stored position.
7729 * org.el (org-goto-marker-or-bmk): New function.
7731 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
7733 * org.el (org-file-properties): Renamed from `org-local-properties'.
7734 (org-scan-tags): Take file tags into account.
7735 (org-tags-match-list-sublevels): Default changed to t.
7737 * org-exp.el (org-export-as-html): Close paragraph after a
7740 * org.el (org-update-parent-todo-statistics): New function.
7742 * org-exp.el (org-icalendar-store-UID): New option.
7743 (org-icalendar-force-UID): Option removed.
7744 (org-print-icalendar-entries): IMplement UIDs.
7746 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
7748 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7750 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
7752 * org-faces.el (org-column): Document how this face is being used
7753 and why sometimes the background faces shine through.
7755 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7757 * org-publish.el (org-publish-attachment): Create publishing
7758 directory if it does not yet exist.
7760 * org-table.el (org-calc-default-modes): Change default number
7761 format to (float 8).
7763 * org.el (org-olpath-completing-read): New function.
7764 (org-time-clocksum-format): New option.
7765 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7767 * org-clock.el (org-clock-display, org-clock-out)
7768 (org-update-mode-line): Use `org-time-clocksum-format'.
7770 * org-colview-xemacs.el (org-columns-number-to-string): Use
7771 `org-time-clocksum-format'.
7773 * org-colview.el (org-columns-number-to-string): Use
7774 `org-time-clocksum-format'.
7776 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
7778 * org-id.el: New file, move from contrib to core.
7780 * org-exp.el (org-icalendar-force-UID): New option.
7782 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
7784 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7785 shifted by one day if theere is a date range without an end
7788 * org.el (org-try-structure-completion): New function.
7790 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
7792 * org.el (org-set-font-lock-defaults): Improve fontification of
7794 (org-insert-item): Handle description lists.
7795 (org-adaptive-fill-function): Improve auto indentation in
7798 * org-exp.el (org-export-as-html, org-export-preprocess-string):
7799 Implement VERSE environment.
7800 (org-export-preprocess-string): Implement the COMMENT
7803 * org-export-latex.el (org-export-latex-preprocess): Implement
7806 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
7808 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7811 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
7813 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7815 * org.el (org-quote-csv-field): New functions.
7817 * org-table.el (org-table-export-default-format): Remove :splice
7818 from default format, we get the same effect by not specifying
7820 (org-table-export): Improve setup, distinguish better between
7821 interactive and non-interactive use, allow specifying the format
7822 on the fly, better protection against wrong file names.
7823 (orgtbl-to-generic): Fix documentation. Do not require :tstart
7824 and :tend when :splice is omitted.
7826 2008-05-09 Bernt Hansen <bernt@norang.ca>
7828 * org-clock.el (org-clock-select-task): Make sure the selection
7829 letters are 1-9 and A-Z, no special characters.
7831 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
7833 * org-exp.el (org-export-htmlize): New group.
7834 (org-export-htmlize-output-type)
7835 (org-export-htmlize-css-font-prefix): New options.
7836 (org-export-htmlize-region-for-paste): New function.
7837 (org-export-htmlize-generate-css): New command.
7839 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
7841 * org/org.el (org-modules, org-format-latex-options):
7842 * org/org-archive.el (org-archive-stamp-time)
7843 (org-archive-save-context-info):
7844 * org/org-faces.el (org-hide):
7845 * org/org-irc.el (org-irc-parse-link):
7846 * org/org-macs.el (org-call-with-arg, org-autoload):
7847 * org/org-mew.el (org-mew-store-link):
7848 * org/org-remember.el (org-remember-store-without-prompt)
7849 (org-remember-templates): Fix typos in docstrings.
7851 * org/org-info.el (org-info-store-link): Remove leftover docstring.
7853 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7854 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7855 (org-bbdb-anniv-split): Fix typos in docstrings.
7857 * org/org-publish.el (org-publish-project-alist): Doc fixes.
7858 (org-publish-use-timestamps-flag): Reflow docstring.
7859 (org-publish-files-alist): Fix typos in docstring.
7861 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
7863 * org.el (org-set-visibility-according-to-property): New function.
7864 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7865 and compute the regular expressions, and update font-lock.
7866 (org-property-re): Allow a dash in property names.
7868 * org-archive.el (org-extract-archive-file): Insert the file name
7869 without the path into the format, to allow the location format to
7870 contain a subdirectory.
7872 * org-agenda.el (org-agenda-post-command-hook): If point is at end
7873 of buffer, and the `org-agenda-type' property undefined, use the
7874 value from the character before.
7876 * org.el (org-add-planning-info): Don't let indentation for
7877 would-be timestamp become extra whitespace at the end of headline.
7879 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
7881 * org.el (org-remove-double-quotes, org-file-contents): New
7884 * org-exp.el (org-infile-export-plist): Also parse the
7885 contents of #+SETUPFILE files, recursively.
7887 * org.el (org-set-regexps-and-options): Also parse the
7888 contents of #+SETUPFILE files, recursively.
7890 * org-exp.el (org-export-handle-include-files): New function.
7891 (org-export-preprocess-string): Call
7892 `org-export-handle-include-files'.
7894 * org.el (org-delete-property-globally)
7895 (org-delete-property, org-set-property): Ignore case during
7897 (org-set-property): Use `org-completing-read' instead of
7900 * org.el (org-complete-expand-structure-template): New,
7901 experimental function.
7902 (org-structure-template-alist): New, experimental option.
7903 (org-complete): Call `org-complete-expand-structure-template'.
7905 2008-05-06 Bastien Guerry <bzg@altern.org>
7907 * org-export-latex.el (org-export-latex-preprocess): Added
7908 support for blockquotes.
7910 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
7912 * org.el (org-read-date-analyze): Catch the case where only a
7915 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
7917 * org.el (org-set-font-lock-defaults): Make the description
7920 * org-exp.el (org-export-as-html, org-close-li): Implement
7923 2008-05-04 Jason Riedy <jason@acm.org>
7925 * org-table.el (*orgtbl-default-fmt*): New variable.
7926 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7927 when there is no other fmt available.
7929 (orgtbl-to-generic): Allow an explicitly nil :tstart or
7930 :tend to suppress the appropriate string.
7932 (orgtbl-to-orgtbl): New function for translating to another orgtbl
7935 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
7937 * org.el (org-read-date-analyze): "." as an alias for "+0" in
7940 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7943 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7946 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
7948 * org-clock.el (org-clock-find-position): Don't include notes
7951 * org-archive.el (org-archive-subtree): No longer remove an
7952 extra line after cutting the subtree. `org-cut-subtree' already
7955 * org-remember.el (org-remember-handler): Only kill the target
7956 buffer if it does not contain the running clock.
7958 * org.el (org-markers-to-move): New variable.
7959 (org-save-markers-in-region, org-check-and-save-marker)
7960 (org-reinstall-markers-in-region): New function.
7961 (org-move-subtree-down, org-copy-subtree): Remember relative
7962 marker positions before cutting.
7963 (org-move-subtree-down, org-paste-subtree): Restore relative
7964 marker positions after pasting.
7966 * org-remember.el (org-remember-clock-out-on-exit): New option.
7967 (org-remember-finalize): Clock out only if the setting in
7968 `org-remember-clock-out-on-exit' requires it.
7969 (org-remember-handler): Do the cleanup in the buffer, to make sure
7970 that the clock marker remains in tact.
7972 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
7974 * org-clock.el (org-clock-goto): Widen buffer if necessary.
7975 (org-clock-in): Make sure that also tasks outside the narrowed
7976 region will be clocked in correctly.
7977 (org-clock-insert-selection-line): Widen the buffer so that we can
7978 find the correct task heading.
7980 * org.el (org-base-buffer): New function.
7982 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7983 and ";" are escaped.
7984 (org-print-icalendar-entries): Also apply
7985 `org-icalendar-cleanup-string' to the headline, not only to the
7988 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
7990 * org-exp.el (org-export-preprocess-hook): New hook.
7991 (org-export-preprocess-string): Call
7992 `org-export-preprocess-hook'.
7994 * org.el (org-font-lock-hook): New variable.
7995 (org-font-lock-hook): New function.
7996 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
8000 ;; add-log-time-zone-rule: t
8003 Copyright (C) 2008 Free Software Foundation, Inc.
8005 This file is part of GNU Emacs.
8007 GNU Emacs is free software: you can redistribute it and/or modify
8008 it under the terms of the GNU General Public License as published by
8009 the Free Software Foundation, either version 3 of the License, or
8010 (at your option) any later version.
8012 GNU Emacs is distributed in the hope that it will be useful,
8013 but WITHOUT ANY WARRANTY; without even the implied warranty of
8014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8015 GNU General Public License for more details.
8017 You should have received a copy of the GNU General Public License
8018 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
8020 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c