1 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
6 * org.el (calendar): Require calendar now on top level in org.el
7 and define aliases to new variables when needed.
8 (org-read-date, org-goto-calendar): Do not bind obsolete
11 2010-06-22 Glenn Morris <rgm@gnu.org>
13 * org-entities.el: Add explicit utf-8 coding cookie to file with
16 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
18 * org.el (org-file-complete-link): Avoid (expand-file-name ".").
20 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
22 * Version 23.2 released.
24 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26 * org-table.el (orgtbl-setup):
27 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
29 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
31 * org-table.el (orgtbl-mode): Use define-minor-mode.
33 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
35 * org.el (org-insert-link): Find the link buffer on visible frames.
36 (org-export-latex-default-packages-alist): Hyperref must be loaded
38 (org-open-file): More care with the new matching for file links.
40 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
42 * org-latex.el (org-export-latex-preprocess): Do not yet protect
43 defined entities - these will be taken care of later.
44 (org-export-latex-special-chars): Post-process entity replacement.
45 (org-export-latex-fontify-headline): Do not yet protect defined
46 entities - these will be taken care of later.
47 (org-export-latex-tables, org-export-latex-links): Format the
50 * org-entities.el (org-entities-user): Fix typo.
52 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords
54 * org-entities.el (org-entities-user): Improve docstring.
56 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
58 * org-entities.el (org-macs): Require org-macs, to be sure that we
59 have `declare-function' defined.
61 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
63 * org-latex.el (org-export-latex-classes): Update docstring.
65 * org.el (org-format-latex-header): Add cookies to the header.
66 (org-splice-latex-header): Implement placement according to cookies.
68 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
70 * org-publish.el (org-publish-aux-preprocess): Control case
73 2010-04-10 Bastien Guerry <bzg@altern.org>
75 * org.el (org-splice-latex-header): Fix typo.
77 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
79 * org-latex.el (org-export-latex-make-header):
80 Use `org-splice-latex-header' to build the header.
81 (org-export-latex-classes): Update docstring.
83 * org.el (org-splice-latex-header): New function.
84 (org-create-formula-image): Use `org-splice-latex-header' to build
87 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
89 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
91 * org.el (org-export-latex-packages-alist)
92 (org-export-latex-default-packages-alist): Fix docstring to
93 reflect the expected structure.
95 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
96 (org-export-docbook-finalize-table): Make use of label for tables.
98 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
100 * org-attach.el (org-attach-commit): Split on newlines.
102 * org.el (org-export-latex-default-packages-alist): Use list
103 instead of cons for the entries.
105 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
107 * org-entities.el (org-entity-get-representation): Catch the case
108 that there is not entry in the list.
110 * org-mobile.el (org-mobile-use-encryption)
111 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
113 (org-mobile-check-setup): CHeck the encryption setup.
114 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
115 (org-mobile-create-sumo-agenda): Use encryption code.
116 (org-mobile-encrypt-and-move): New function.
117 (org-mobile-encrypt-file, org-mobile-decrypt-file): New
119 (org-mobile-move-capture): Decrypt the capture file.
121 * org.el (org-entities): Require the new file.
122 (org-export-latex-default-packages-alist): New variable.
123 (org-complete): Use new entity code for completion.
124 (org-create-formula-image): Use the new packages variable.
126 * org-latex.el (org-export-latex-classes): Remove the standard
127 packages from the class headers.
128 (org-export-latex-make-header): Use the new package variable.
129 (org-export-latex-special-chars): Better regexp for entities, to
130 support entity name that contain numbers.
131 (org-export-latex-treat-backslash-char): Use the new entity code.
133 * org-html.el (org-html-do-expand): Use the new entity code.
135 * org-exp.el (org-export): Add the new export commands.
136 (org-html-entities): Constant removed.
137 (org-export-visible): Add the new export commands.
139 * org-docbook.el (org-docbook-do-expand): Use new entity code.
141 * org-ascii.el (org-export-ascii-entities): New variable.
142 (org-export-as-latin1, org-export-as-latin1-to-buffer)
143 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
144 (org-export-as-encoding): New function.
145 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
146 (org-ascii-replace-entities): New function.
148 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
149 Ulf Stegemann <ulf@zeitform.de>
151 * org-entities.el: New file.
153 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
155 * org-html.el (org-html-level-start): Catch the case that target
158 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
160 * org.el (org-appearance): Change Customize group variable name
161 from org-font-lock to org-appearance, and change tag from "Org
162 Font Lock" to "Org Appearance"
163 (org-odd-levels-only): Change Customize group variable name
164 (org-level-color-stars-only): Change Customize group variable name
165 (org-hide-leading-stars): Change Customize group variable name
166 (org-hidden-keywords): Change Customize group variable name
167 (org-fontify-done-headline): Change Customize group variable name
168 (org-fontify-emphasized-text): Change Customize group variable name
169 (org-fontify-whole-heading-line): Change Customize group variable name
170 (org-highlight-latex-fragments-and-specials): Change Customize
172 (org-hide-emphasis-markers): Change Customize group variable name
173 (org-emphasis-alist): Change Customize group variable name
174 (org-emphasis-regexp-components): Change Customize group variable
176 (org-modules): Remove mention of org-R
178 * org-faces.el (org-faces): Change Customize group variable name
180 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
182 * org-agenda.el (org-diary-last-run-time): New variable.
183 (org-diary): prepare agenda buffers only if last call was some
186 * org-html.el (org-export-html-preprocess): Replace \ref macros
188 (org-format-org-table-html): Add the label as an anchor.
190 * org-docbook.el (org-export-docbook-format-image): Do some
191 formatting on captions.
193 * org-latex.el (org-export-latex-tables, org-export-latex-links):
194 Do some formatting on captions.
196 * org-html.el (org-export-html-format-image)
197 (org-format-org-table-html): Do some formatting on captions.
199 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
201 * org.el (org-hidden-keywords): New customizable variable. This is
202 a list of symbols specifying which of the special keywords #+DATE,
203 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
204 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
205 implementing new faces and hiding behaviour.
207 * org-faces.el (org-document-title): New face for #+TITLE lines
208 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines
209 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL keywords
211 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
213 * org-publish.el (org-publish-sanitize-plist): New function to
214 rename "index" properties to "sitemap". Do this renaming
216 (org-publish-with-aux-preprocess-maybe): New macro.
217 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
219 (org-publish-aux-preprocess)
220 (org-publish-index-generate-theindex.inc): New function.
222 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
224 * org-table.el (org-table-align): Interpret <N> at fixed width,
225 not as maximum width.
227 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
229 * org-exp.el (org-export-author-info, org-export-email-info): Fix
232 * org-beamer.el (org-beamer-select-environment): Renamed from
233 `org-beamer-set-environment-tag'. Improve docstring.
235 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
236 problem with odd levels.
238 * org-ascii.el (org-export-as-ascii): Export email only if the
241 * org-docbook.el (org-export-as-docbook): Export email only if the
244 * org-html.el (org-export-as-html): Export email only if the
247 * org-exp.el (org-export-email-info): New option.
248 (org-export-plist-vars): Add entry for `org-export-email'.
250 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
252 * org-table.el (org-table-goto-line): Fix typo.
254 2010-04-10 Mikael Fornius <mfo@abc.se>
256 * org.el (org-agenda-files): Typo.
257 (org-read-agenda-file-list): Add optional argument to help
258 `org-store-new-agenda-file-list' to remember un-expanded file
259 names. Expand file names relative to `org-directory'.
260 (org-store-new-agenda-file-list): Keep un-expanded file names when
261 saving, if available.
262 (org-agenda-files): Update documentation.
264 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
266 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
267 a buffer with no file name attached.
269 * org.el (org-log-refile): New option.
270 (org-log-note-headings): Add a heading for refiling.
271 (org-startup-options): Add keywords for logging of the refile
273 (org-refile): Add logging action.
274 (org-add-log-note): Allow for refiling action.
276 * org-agenda.el (org-agenda-bulk-action): Make sure
277 `org-log-refile' is not `note' during a bulk action.
279 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
281 * org.el (org-map-dblocks): Use save-excursion to remember the
284 * org-attach.el (org-attach-commit): Remove dependence on xargs.
285 (org-attach-delete-one): Commit after deleting a file.
287 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
288 borders for strike-through emphasis.
290 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
291 handling of odd levels.
293 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
295 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
296 Handle `past' and `future' values.
298 * org.el (org-read-agenda-file-list): Interpret file names
299 relative to org-directory and allow environment variables and
302 * org-latex.el (org-export-latex-special-chars): Allow a
303 parenthesis before an exponent or subscript.
305 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
307 * org-src.el (org-edit-src-exit): When returning from code edit
308 buffer, if code block is hidden, leave point at start of
311 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
313 * org.el (org-insert-heading): Do not remove all spaces if the
316 * org-indent.el (org-indent): Fix group name.
318 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
320 * org-table.el (org-table-goto-column): Fix forcing a non-existing
322 (org-table-get, org-table-put, org-table-goto-line)
323 (org-table-current-line): New functions.
325 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
327 * org.el (org-open-file): Allow regular expressions in
328 org-file-apps to capture link parameters using groups. In a
329 command string to be executed, the parameters can be referenced
330 using %1, %2, etc. Lisp forms can access them using
331 (match-string n link).
332 (org-apps-regexp-alist): Adopt the created regexp, as this is now
333 matched against a file: link instead of the file name.
335 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
337 * org-crypt.el (org-reveal-start-hook): Add a decryption function
339 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
342 * org.el (org-point-at-end-of-empty-headline)
343 (org-level-increment, org-get-previous-line-level): New function.
344 (org-cycle-level): Rewritten to be independent of when this
346 (org-in-regexps-block-p): New function.
347 (org-reveal-start-hook): New hook.
348 (org-reveal): Run new hook.
350 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
352 * org-latex.el (org-export-latex-keywords): Start a new paragraph
353 after time keywords, do not add "\newline".
355 * org-html.el (org-export-as-html): Avoid double # in href.
357 * org.el (org-refile-get-location): Catch an invalid target
360 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
362 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
363 Make sure the behavior regarding to extracting time is
366 2010-04-10 Stephen Eglen <stephen@gnu.org>
368 * org-agenda.el (org-agenda-insert-diary-extract-time): New
370 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
371 variable rather than `org-agenda-search-headline-for-time'.
373 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
375 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
377 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
379 * org.el (org-adaptive-fill-regexp-backup): New variable.
380 (org-set-autofill-regexps): Store a backup of
381 `adaptive-fill-regexp'.
382 (org-adaptive-fill-function): Fix filling of comments and ordered
383 lists. If there is no other match, till try adaptive fill.
385 2010-04-10 John Wiegley <jwiegley@gmail.com>
387 * org-agenda.el (org-agenda-include-deadlines): Added new
388 customization variable to determine whether unscheduled tasks
389 should appear in the agenda solely because of their deadline.
390 Default to true, which was the previous behavior (it just wasn't
392 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
393 the agenda to show/hide deadline tasks.
394 (org-agenda-menu): Added menu option for show/hide deadlines.
395 (org-agenda-list): Make the agenda list sensitive to the value of
396 `org-agenda-include-deadlines'.
397 (org-agenda-toggle-deadlines): New function to toggle the value of
398 `org-agenda-include-deadlines' and repaint the modeline
400 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
401 modeline if deadline tasks are being displayed.
403 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
405 * org-table.el (org-table-eval-formula): Replace $# and @# by
406 current column and row number.
408 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
410 * org.el (org-set-property, org-delete-property): Go back to
411 prompting for the property.
413 * org-latex.el (org-export-latex-make-header): Fully process
415 (org-export-latex-fontify-headline): Allow several arguments, not
417 (org-export-latex-fix-inputenc): Catch the error when
418 `latexenc-coding-system-to-inputenc' is not defined.
420 * org-agenda.el (org-agenda-skip-if-todo): New function.
421 (org-agenda-skip-if): Add conditions for TODO keywords.
422 (org-agenda-skip-if): Document the new todo conditions.
424 2010-04-10 Mikael Fornius <mfo@abc.se>
426 * org.el (org-at-property-p): Check if we are inside a property
427 drawer not just any drawer.
428 (org-set-property, org-delete-property): When cursor is on a
429 property key value pair do not prompt for property name instead
431 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
432 on the first line of a property drawer.
433 (org-property-end-re): Spell check.
435 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
437 * org-exp.el (org-export-attach-captions-and-attributes): Add the
438 properties to the entire table, in case the first line is
441 * org-archive.el (org-archive-reversed-order): New option.
442 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
443 option `org-archive-reversed-order'.
445 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
447 * org-agenda.el (org-agenda-entry-types): New variable.
448 (org-agenda-list): Use `org-agenda-entry-types'.
449 (org-agenda-custom-commands-local-options): Support for setting
450 `org-agenda-entry-types' as an option.
451 (org-diary): Shift some documentation from here to the variable
452 `org-agenda-entry-types'.
454 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
456 * org-latex.el (org-export-latex-make-header): Apply macros in
459 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
460 (org-clock-select-task, org-clock-notify-once-if-expired)
461 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
462 (org-clock-out-if-current, org-clock-save): Use the new functions.
464 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
466 * org-docbook.el (org-export-as-docbook): Remove unnecessary
468 (org-export-as-docbook): Remove unnecessary newline.
469 (org-export-as-docbook): Fix problem with double footnote
470 reference in one place.
472 * org-exp.el (org-export-format-source-code-or-example): Remove
475 * org.el (org-deadline, org-schedule): Allow rescheduling entries
478 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
479 function calls that look like references.
481 * org.el (org-open-at-point): Get link abbreviations from
484 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
486 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
489 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
491 * org.el (org-link-unescape): Solve issue with lower-case escapes.
493 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
495 * org-latex.el (org-export-latex-classes): Add
496 \usepackage{latexsym} to all classes.
498 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
500 * org-html.el (org-export-as-html): Do not allow protected lines
501 into the table of contents.
503 * org-latex.el (org-export-latex-special-chars): Find subsequent
504 occurrences of special characters.
505 (org-export-latex-tables): Do not convert table-like stuff that is
508 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
510 * org-list.el (org-toggle-checkbox): No errors when updating
511 checkbox count fails because there is no heading.
513 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
515 * org-clock.el (org-clock-report-include-clocking-task): New
517 (org-clock-sum): Add the current clocking task.
519 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
521 * org.el (org-cycle): Print a message when in a table.el table.
522 (org-edit-special): Recognize the table.el context.
523 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
525 * org-src.el (org-at-table.el-p): Declare.
526 (org-edit-src-code): Handle a special case for table.el editing.
527 (org-edit-src-find-region-and-lang): Recognize the table.el
530 * org-latex.el (org-export-latex-tables): Convert table.el
532 (org-export-latex-convert-table.el-table): New function.
534 * org-html.el (org-html-expand): Fix table.el export.
536 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
539 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
540 table for the id locations.
542 * org.el (org-read-date-analyze): Match American-style dates, like
543 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
544 current year when reading ISO and American dates.
546 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
548 * org.el (org-face-from-face-or-color): New function.
549 (org-get-todo-face, org-font-lock-add-priority-faces)
550 (org-get-tag-face): Use `org-face-from-face-or-color'.
552 * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
553 simple colors as values.
554 (org-faces-easy-properties): New option.
556 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
557 restricted, as an agenda mode.
558 (org-agenda-fontify-priorities): Allow simple colors as values.
560 2010-04-10 Bastien Guerry <bzg@altern.org>
562 * org-timer.el (org-timer-current-timer): Renamed from
563 `org-timer-last-timer'.
564 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
565 (org-timer-cancel-timer, org-timer-show-remaining-time)
566 (org-timer-set-timer): Update to use only one timer.
568 * org.el (org-set-property): Remove useless space in the prompt.
570 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
572 * org-html.el (org-export-html-style-default): Add a default style
575 * org-exp.el (org-export-format-source-code-or-example): Fix
578 2010-04-10 Bastien Guerry <bzg@altern.org>
580 * org-clock.el (org-clock-current-task): New variable to store
581 last clocked in task.
582 (org-clock-set-current, org-clock-delete-current): New functions.
584 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
586 * org-remember.el (org-remember-apply-template): Extend comment.
587 (org-remember-handler): Implement clock sibling filing.
589 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
591 * org-publish.el (org-publish-all, org-publish-current-file)
592 (org-publish-current-project): When called with prefix argument
593 FORCE, also rebuild the validation file list.
595 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
598 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
600 * org-html.el (org-export-as-html-and-open): Kill product buffer
601 if the user wants that.
603 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
604 if the user wants that.
606 * org-exp.el (org-export-kill-product-buffer-when-displayed): New
609 * org-agenda.el (org-batch-agenda-csv): Use the time property
610 instead of the `time-of-day' property.
612 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
614 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
615 (org-timer-pause-hook, org-timer-set-hook)
616 (org-timer-cancel-hook): New hooks.
617 (org-timer-start): Run `org-timer-start-hook'.
618 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
619 (org-timer-stop): Run `org-timer-stop-hook'.
620 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
622 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
624 * org.el (org-reveal): Double prefix arg shows the subtree of the
627 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
629 * org-agenda.el (org-search-view): Fix bug with searching full
630 words in headlines in search view.
631 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
632 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
633 scheduled (if the user configures it so.
635 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
637 * org.el (org-hide-archived-subtrees): Don't jump to end of
638 subtree if the match was not in a headline.
639 (org-inside-latex-macro-p): Allow more complex arguments.
640 (org-emphasize): Protect against use at end of buffer.
642 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
644 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
647 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
649 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
651 (org-agenda-todo-ignore-scheduled)
652 (org-agenda-todo-ignore-deadlines): More control with different
654 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
655 Honor the new option settings.
657 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
659 * org.el (org-get-location): Make sure the selection buffer is
660 shown in the current frame.
662 * org-ascii.el (org-export-ascii-table-widen-columns): New
664 (org-export-ascii-preprocess): Realign tables to remove narrowing
665 if `org-export-ascii-table-widen-columns' is set.
667 * org-table.el (org-table-do-narrow): New variable.
668 (org-table-align): Narrow only if `org-table-do-narrow' is t.
670 * org.el (org-deadline, org-schedule): Allow updating if the
671 relevant time stamp does not have a repeater, i.e. do not require
672 that no time stamp has a repeater.
674 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
675 new white space before the tags.
677 * org-latex.el (org-export-as-latex): Do nit require the buffer to
678 be visiting a file when only exporting to a buffer or string.
679 (org-export-latex-fix-inputenc): Only save the buffer is there is
680 a file name attached to it.
682 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
684 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
686 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
688 * org.el (org-fontify-meta-lines-and-blocks): Honor
689 `org-fontify-quote-and-verse-blocks'.
691 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
693 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
695 * org.el (org-open-at-point): Also check for text property
696 org-linked-text before offering collected links.
698 2010-04-10 Stephen Eglen <stephen@gnu.org>
700 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
701 Optionally extract time specification from text and add to the
704 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
706 * org-exp.el (org-html-entities): Fix typo.
708 * org-latex.el (org-export-latex-make-header): Use \providecommand
709 to make sure the \alert macro is defined.
711 * org.el (org-format-latex-signal-error)
712 (org-create-formula-image): Use `org-format-latex-signal-error'.
714 2010-04-10 Stephen Eglen <stephen@gnu.org>
716 * org.el (org-store-link): For dired buffers, use
717 default-directory as link name if dired-get-filename returns
720 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
722 * org-exp.el (org-export-concatenate-multiline-links): The for
723 protectedness at beginning of match.
725 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
726 AUTO as a coding system, instead default to utf8.
728 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
730 * org.el (org-block-todo-from-children-or-siblings-or-parent)
731 (org-block-todo-from-checkboxes): Respect the local variable
732 value when deciding if blocking should be active.
734 * org-latex.el (org-export-latex-make-header): Define the align
735 macro if it is not yet defined.
737 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
738 `org-insert-heading' with the INVISIBLE-OK argument.
740 * org-mac-message.el (org-mac-message-insert-flagged): Call
741 `org-insert-heading' with the INVISIBLE-OK argument.
743 * org.el (org-insert-heading): New argument INVISIBLE-OK.
745 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
748 * org-html.el (org-html-level-start): Use the
749 `html-container-class' text property to set an additional class
750 for an outline container.
752 * org-exp.el (org-export-remember-html-container-classes): New
754 (org-export-preprocess-string): Call
755 `org-export-remember-html-container-classes'.
757 * org.el (org-cycle): Mention level cycling in the docstring.
758 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
760 * org-remember.el (org-remember-apply-template): Do file insertion
763 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
765 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
766 problem with mis-aligned graphs when showing habits.
768 2010-04-10 Mikael Fornius <mfo@abc.se>
770 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
771 when assigning. Begin using numerical characters when all in name
772 is used up. This is to spare alphanumeric characters for better
773 match with other keywords.
775 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
777 * org-exp.el (org-export-preprocess-hook): Improve documentation.
779 * org-latex.el (org-export-latex-preprocess): More consistent
780 conversion and protection of the words LaTeX and TeX.
781 (org-export-latex-fontify-headline, org-export-latex-preprocess):
782 Allow angle brackets in commands, for beamer.
784 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
786 * org-clock.el (org-clock-in): Improve the look of the clock line
789 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
791 * org-latex.el (org-export-latex-classes): Use AUTO as the place
792 holder string for the coding system. And improve the
794 (org-export-latex-fix-inputenc): Only modify the coding system if
795 it is given by the placeholder AUTO.
797 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
799 * org-clock.el (org-task-overrun-text): New option.
800 (org-task-overrun, org-clock-update-period): New variables.
801 (org-clock-get-clock-string, org-clock-update-mode-line): Mark
803 (org-clock-notify-once-if-expired): Check if clock is overrun.
805 * org-faces.el: New face `org-mode-line-clock-overrun'.
807 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
809 * org.el (org-narrow-to-subtree): Position the end of the narrowed
810 region before the line with the next heading, to prevent the user
811 from prepending text to the next headline.
813 2010-04-10 Stephen Eglen <stephen@gnu.org>
815 * org-agenda.el (org-get-time-of-day): Use
816 org-agenda-time-leading-zero to allow leading zero (rather than
819 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
821 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
822 org-datetree.el is loaded.
824 * org-datetree.el: autoload `org-datetree-find-day-create'
826 * org-latex.el (org-export-latex-hyperref-format): New option.
827 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
829 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
831 * org-ctags.el (org-ctags-enable): Change order of functions.
832 (org-ctags-create-tags): Add wildcard to file name expansion.
834 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
836 * org.el (org-entry-properties): Fix some important bugs.
838 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
840 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
841 the table is not explicitly given.
843 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
845 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
847 (org-clock-out-if-current): Work with the new list value of
848 `org-clock-out-when-done'.
849 (org-clock-out, org-clock-out-if-current): Avoid circular logic
850 between clocking out and state changes.
852 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
854 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
855 accident protect a character that is before a backslash.
857 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
859 * org-ctags.el: New file.
861 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
863 * org-agenda.el (org-diary-class): Use
864 `org-order-calendar-date-args'.
866 * org.el (org-order-calendar-date-args): New function.
868 * org-exp.el (org-export-target-internal-links): Check for
869 protectedness after the first bracket.
871 * org.el (org-entry-properties): Don't match wrong-case TODO
874 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
875 Document that ARG is passed through to remove the date.
876 (org-agenda-bulk-action): Accept prefix arg and pass it on. Do
877 not read a date when the user has given a `C-u' prefix.
879 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
881 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
884 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
886 * org-latex.el (org-export-latex-fix-inputenc): New function.
887 (org-export-latex-inputenc-alist): New option.
889 * org-exp.el (org-export): New key SPC to publish enclosing
892 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
894 * org-indent.el (org-indent-add-properties): Catch case when there
895 is no headline in the buffer.
897 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
899 * org-exp.el (org-html-entities): Add checkmark symbol.
901 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
902 verbatim code for ASCII export.
904 * org.el (org-update-statistics-cookies): Also see checkboxes in
907 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
909 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
912 * org-beamer.el (org-beamer-amend-header): Change the location
913 where `org-beamer-header-extra' is inserted.
915 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
916 just for computing this regexp.
918 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
920 * org-beamer.el (org-beamer-frame-default-options): New option.
921 (org-beamer-sectioning): Use default options if the user does not
923 (org-beamer-fix-toc): Put a frame around the table of contents.
925 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
926 sure case-folding works well when processing comment stuff.
928 * org-latex.el (org-export-latex-after-save-hook): New hook.
929 (org-export-as-latex): Run the new hook.
931 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
933 * org-beamer.el (org-beamer-environments-default): Add the note
935 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
936 lines and collect and combine the content.
937 (org-beamer-after-initial-vars): Check for note tags and make sure
938 they will be seen like a property.
940 * org.el (org-offer-links-in-entry): Fix bug when there is a
943 * org-exp.el (org-export): Make sure the mark is activated, also
944 when `transient-mark-mode' is off.
946 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
947 (org-agenda-search-view-search-words-only): Obsolete variable, is
948 now an alias for `org-agenda-search-view-always-boolean'.
949 (org-agenda-search-view-force-full-words): New option.
950 (org-search-view): Improve docstring, and implement a better logic
951 for Boolean and phrase searches.
952 (org-agenda-last-search-view-search-was-boolean): New variable.
953 (org-agenda-manipulate-query): Consider the type of the last
954 search when modifying the search string.
956 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
958 * org-latex.el (org-export-as-latex): Do the first letbind in the
961 * org-agenda.el (org-get-entries-from-diary): Add the new face to
964 * org-faces.el (org-agenda-diary): New face.
966 * org.el (org-make-link-regexps): Allow regexp-special characters
968 (org-open-file): When in-emacs is `system', also force system
969 opening, like when the value was `(16)'.
970 (org-update-statistics-cookies): Handle entries without children.
973 (org-export-preprocess-before-normalizing-links-hook): New hook.
974 (org-export-preprocess-string): Run the new hook.
976 * org.el (org-offer-links-in-entry): Make RET open all links.
978 * org-html.el (org-export-as-html): Remove any leftover display
979 properties in the html file.
981 * org-wl.el (org-wl-store-link): Work-around for format bug with
984 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
985 invisibility while adding the graphs.
987 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
989 * org-remember.el (org-select-remember-template): Use C letter to
990 customize remember templates.
992 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
993 Move cursor to next visible line.
995 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
997 * org-beamer.el (org-beamer-sectioning): Leave columns environment
998 by specifying 0 or 1 for column width.
999 (org-beamer-column-widths): Make 0 stand for 0.0.
1001 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1003 * org-exp.el (org-export-mark-radio-links): Don't match inside
1006 * org.el (org-format-latex-header-extra): New variable.
1007 (org-format-latex): Set org-format-latex-header-extra from
1009 (org-format-latex): Add org-format-latex-header-extra to the
1010 variables on which image creation depends.
1011 (org-create-formula-image): Add the header stuff from in-buffer
1013 (org-read-date-analyze): Base the analysis for future preference
1014 on NOW, not on the default date.
1016 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
1017 for TODO keyword in inline tasks.
1019 * org.el (org-log-note-headings): New headings for removing
1020 deadline or scheduling date.
1021 (org-deadline, org-schedule): Arrange for logging when removing a
1023 (org-add-log-note): Handle deadline and scheduling removal.
1025 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1027 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
1029 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1031 * org-agenda.el (org-diary-class): New function.
1033 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1035 * org-latex.el (org-export-latex-preprocess): Do process the text
1038 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1040 * org.el (org-entry-properties): Add TIMESTAMP properties back
1043 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1045 * org.el (org-all-time-keywords): New variable.
1046 (org-set-regexps-and-options): Set `org-all-time-keywords'.
1047 (org-entry-blocked-p): New function.
1048 (org-special-properties): Add BLOCKED as a new special property.
1049 (org-entry-properties): New optional argument SPECIFIC, only parse
1050 for this property when it is specified.
1051 (org-entry-get): Pass a SPECIFIC argument to
1052 `org-entry-properties'.
1054 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
1056 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1058 * org-latex.el (org-export-latex-tables): No forced line end if
1059 there is no caption.
1061 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1063 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
1066 * org-latex.el (org-export-latex-tables): Only add a caption when
1067 macro in in longtable environments if one has been defined.
1069 * org-html.el (org-export-as-html): Only take title from buffer if
1070 not exporting body-only.
1072 * org-latex.el (org-export-latex-preprocess): Better version of
1073 the regular expression for protecting LaTeX macros.
1074 (org-export-latex-preprocess): Start searching for macros to
1075 protect from beginning of buffer.
1077 * org-exp.el (org-export-target-internal-links): Check for
1078 protectedness earlier in the string.
1080 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
1083 * org-id.el (org-id-store-link): Match TODO keywords case
1086 * org.el (org-heading-components, org-get-outline-path)
1087 (org-display-outline-path): Match TODO keywords case sensitively.
1089 * org-latex.el (org-export-as-latex): Ignore read-only
1092 * org-exp.el (org-export-preprocess-string): Remove any
1093 `read-only' properties.
1095 * org-agenda.el (org-agenda-inactive-leader): New option.
1096 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
1097 (org-tags-view): Prompt for matcher if MATCH is an empty string.
1098 (org-todo-list): Prompt for matcher if ARG is an empty string.
1100 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1102 * org.el (org-open-link-functions): New hook.
1103 (org-open-at-point): Run `org-open-link-functions'.
1105 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1107 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
1110 * org.el (org-inhibit-startup-visibility-stuff): New variable.
1111 (org-mode): Don't do startup visibility if inhibited.
1112 (org-outline-overlay-data, org-set-outline-overlay-data): New
1114 (org-save-outline-visibility): New macro.
1115 (org-log-note-headings): Document that one should not change the
1116 `state' note format.
1118 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1120 * org.el (org-make-link-regexps): Capture link path into a group.
1122 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1124 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
1127 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1129 * org.el (org-startup-with-beamer-mode): New option.
1130 (org-property-changed-functions)
1131 (org-property-allowed-value-functions): New hooks.
1132 (org-entry-put, org-property-get-allowed-values): Run the new
1134 (org-property-next-allowed-value): Run the new hooks.
1136 * org-exp.el (org-export-select-backend-specific-text): Add the
1137 special beamer tags.
1139 * org-beamer.el: New file.
1141 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
1142 (org-export-as-latex): Run
1143 `org-export-latex-after-initial-vars-hook'.
1144 (org-export-latex-format-toc-function)
1145 (org-export-latex-make-header): Call
1146 `org-export-latex-format-toc-function'.
1148 * org.el (org-fill-template): Make template searches case sensitive.
1150 * org-exp.el (org-export): Use "1" as a sign to export only the
1153 * org-colview-xemacs.el (org-columns-edit-value): Use
1154 org-unrestricted property.
1156 * org-colview.el (org-columns-edit-value): Use
1157 org-unrestricted property.
1159 * org.el (org-compute-property-at-point): Set org-unrestricted
1160 text property if the list contains ":ETC".
1161 (org-insert-property-drawer): Use
1162 org-unrestricted property.
1165 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
1166 (org-export-preprocess-string): Run
1167 `org-export-preprocess-before-selecting-backend-code-hook'.
1169 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
1171 * org-latex.el (org-export-region-as-latex): Run
1172 `org-export-first-hook'.
1174 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
1176 * org-docbook.el (org-export-as-docbook): Run
1177 `org-export-first-hook'.
1179 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
1181 * org-exp.el (org-export-first-hook): New hook.
1183 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1185 * org-list.el (org-previous-item): Exit at the beginning of the
1188 * org-id.el (org-id-locations-save): Only write the id locations
1191 * org-archive.el (org-archive-all-done): Make this work in a file
1192 with org-odd-levels-only set.
1194 * org.el (org-get-refile-targets): Catch the case when a buffer
1197 * org-latex.el (org-export-as-latex): Cleanup forced line ends
1198 where they are not needed.
1199 (org-export-latex-subcontent): Remove unnecessary newlines.
1201 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1203 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
1204 (org-export-latex-fontify): Fix regexp bug that takes special
1205 care of protecting the right boundary characters in emphasis
1207 (org-export-latex-preprocess): Allow multiple arguments to latex
1210 * org.el (org-make-link-regexps): Use John Gruber's regexp for
1213 * org-macs.el (org-re): Interpret :punct: in regexps.
1215 * org-exp.el (org-export-replace-src-segments-and-examples): Also
1216 take the final newline after the END line.
1218 * org.el (org-clean-visibility-after-subtree-move): Only fix
1219 entries that are not entirely invisible already.
1220 (org-insert-link): Respect org-link-file-path-type for
1221 "docview:" links in addition to "file:" links.
1223 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1225 * org-exp.el (org-export-format-source-code-or-example): Avoid
1226 additional extra white lines in LaTeX.
1228 * org-list.el (org-list-parse-list): Leave empty lines after the
1229 list, don't consider them as part of the list.
1231 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
1234 * org-clock.el (org-clock-select-task): Convert integer to
1235 character for XEmacs.
1237 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1239 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
1242 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
1244 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
1246 (org-set-tags): Use it.
1248 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1250 * org-list.el (org-empty-line-terminates-plain-lists): Update
1253 * org.el (org-format-latex): Fix link creation for processed latex
1256 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1258 * org-footnote.el (org-footnote-normalize): Protect replacement
1261 * org.el (org-inside-latex-macro-p): Save match data.
1263 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
1265 * org-docview.el: New file.
1267 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1269 * org-latex.el (org-export-latex-class-options): New variable.
1270 (org-export-latex-set-initial-vars): Use the class options.
1272 * org.el (org-forward-same-level): Stop at headings that start
1273 with an invisible character.
1274 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
1276 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1278 * org-footnote.el (org-footnote-normalize): Don't take optional
1279 arguments in LaTeX macros as footnotes.
1281 * org.el (org-inside-latex-macro-p): New function.
1283 * org-latex.el (org-latex-to-pdf-process): Change customization
1284 group to `org-export-pdf'.
1286 * org-agenda.el (org-agenda-get-blocks): Look at time string also
1287 on days after the first one.
1289 * org.el (org-insert-heading): Also check for item before assuming
1290 before-first-heading condition.
1292 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1293 (org-export-pdf-logfiles): New option.
1294 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1295 (org-export-pdf-logfiles): Fix customization type.
1297 * org.el (org-insert-link): Improve error message when there is no
1298 default link to select with RET.
1300 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1303 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1305 * org-latex.el (org-export-latex-parse-global)
1306 (org-export-latex-parse-content)
1307 (org-export-latex-parse-subcontent): Use
1308 `org-re-search-forward-unprotected'.
1309 (org-export-as-pdf): Remove log files produced by XeTeX.
1311 * org-macs.el (org-re-search-forward-unprotected): New function.
1313 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
1315 * org-colview.el (org-agenda-colview-summarize): Sort out some
1316 confusion between properties and titles, which resulted in
1317 agenda summaries not working if a title was set for a column.
1319 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1321 * org-mobile.el (org-mobile-agendas): New option.
1322 (org-mobile-sumo-agenda-command): Select the right agendas.
1324 * org-latex.el (org-export-latex-format-image): Preserve the
1325 original-indentation property.
1327 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1329 * org-clock.el (org-clock-insert-selection-line): Catch error when
1330 an old tasks no longer exists.
1332 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1333 (org-export-as-pdf): Don't remove the old PDF file before making
1336 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1337 (org-mouse-context-menu): Use `org-looking-back'.
1339 * org.el (org-cycle-level): Use `org-looking-back'.
1341 * org-list.el (org-cycle-item-indentation): Use
1344 * org-compat.el (org-looking-back): New function.
1346 * org.el (org-insert-heading): Catch before-first-headline when
1347 inserting a headline.
1349 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1351 * org-latex.el (org-export-latex-format-image): Indent figure
1352 environment, so that it does not interrupt plain list.
1354 * org.el (org-open-at-point): Allow long link descriptions.
1356 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1358 * org-html.el (org-export-as-html): Remove empty lines at the
1359 beginning of the exported text.
1361 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
1363 * org.el (org): Remove from hypermedia group.
1365 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1369 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
1371 * org-freemind.el (org-freemind-from-org-mode-node)
1372 (org-freemind-from-org-mode, )
1373 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
1374 Pass arg to called-interactively-p.
1376 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1378 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
1379 Fix typos in docstrings.
1381 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
1383 * org.el (org-get-outline-path, org-speed-command-help):
1384 Fix typos in error messages.
1386 2009-12-14 Juri Linkov <juri@jurta.org>
1388 * org-html.el (org-export-html-style-include-default):
1389 Put `safe-local-variable booleanp' on
1390 `org-export-html-style-include-default' instead of mistakenly
1391 duplicate `org-export-html-style'.
1393 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
1395 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1396 agenda after adding new entry.
1398 * org-datetree.el (org-datetree-find-day-create): Fix regular
1401 * org.el (org-display-outline-path): Use a format specifier for
1402 message, to avoid problems with heading containing `%'.
1404 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1405 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1406 (org-agenda-fix-displayed-tags): New function.
1407 (org-agenda-do-context-action): Just call
1408 `org-display-outline-path', without piping the result through
1411 * org-latex.el (org-export-latex-preprocess): Protect secondary
1412 footnote references.
1414 * org-indent.el (org-indent-initialize): Avoid empty strings as
1417 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1418 hat checking for the mark does not throw an error.
1419 (org-agenda-diary-entry-in-org-file): Catch the case that there is
1420 not `day' text property in the cursor line.
1422 * org.el (org-sort-entries-or-items): Make sure that the final
1423 entry has a newline before doing the sorting.
1425 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1426 property at the beginning of the line.
1428 * org.el (org-make-link-string): Don't allow a description with
1431 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1432 (org-agenda-insert-diary-as-top-level): New function.
1433 (org-agenda-add-entry-to-org-agenda-diary-file): Call
1434 `org-agenda-insert-diary-as-top-level'.
1436 * org.el (org-occur-in-agenda-files): Make sure none of the
1437 buffers is narrowed.
1438 (org-activate-plain-links): Add the face property here.
1439 (org-set-font-lock-defaults): Do not add the face to plain links,
1440 the activator function does this.
1442 * org-habit.el (org-is-habit-p): Add doc string.
1444 * org-archive.el (org-archive-subtree-default-with-confirmation):
1447 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1448 after match optional (happens at the end of a line...).
1450 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1453 * org-faces.el (org-copy-face): Set lisp indentation.
1454 (org-quote, org-verse): New faces.
1456 * org-agenda.el (org-agenda-remove-date): Remove variable.
1458 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1460 * org-html.el (org-export-as-html): Move the home/up link into
1463 * org.el (org-export-latex-packages-alist): Option definition
1464 moved here from org-latex.el.
1466 * org-html.el (org-export-html-home/up-format): Add an ID to the
1469 * org-wl.el (org-wl-store-link): Handle the case that
1470 `wl-use-petname' is set.
1472 * org.el (org-set-effort): Improve prompt.
1473 (org-get-outline-path): Widen to get full path.
1474 (org-compact-display-after-subtree-move): Function removed.
1476 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
1478 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1479 hash keys to cache and re-use images generated by the
1480 org-exp-blocks interface to ditaa and dot.
1482 * org.el (org-format-latex): Latex images are now saved to files
1483 named by the sha1 hash of the latex source text avoiding
1484 regeneration of identical images.
1486 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1488 * org-latex.el (org-export-as-latex): Add the :drawers property.
1490 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1492 * org.el (org-speed-commands-user): Allow documentation headlines.
1493 (org-speed-commands-default): Organize the value of this constant
1494 with descriptive headlines.
1495 (org-print-speed-command): Output the headlines.
1497 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1499 * org-agenda.el (org-agenda-show-outline-path): New option.
1500 (org-agenda-do-context-action): New function.
1501 (org-agenda-next-line, org-agenda-previous-line): Use
1502 `org-agenda-do-context-action'.
1504 * org.el (org-use-speed-commands): Allow function value.
1505 (org-speed-commands-default): Make headline motion safe, so that
1506 these commands always end on a headline.
1507 (org-speed-commands-default): New key `v' for `org-agenda'.
1508 (org-speed-move-safe): New function.
1509 (org-self-insert-command): Use the function value of
1510 `org-use-speed-commands'.
1511 (org-get-outline-path): Improve docstring.
1512 (org-format-outline-path): New function.
1513 (org-display-outline-path): New function.
1515 2009-11-15 John Wiegley <jwiegley@gmail.com>
1517 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1518 a string, use that to find the LOGBOOK drawer.
1520 2009-11-15 Glenn Morris <rgm@gnu.org>
1522 * org-agenda.el (org-datetree-find-date-create)
1523 (org-habit-get-priority):
1524 * org.el (org-format-agenda-item): Fix declarations.
1526 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1528 * org.el (org-clone-subtree-with-time-shift): Make it work at the
1531 * org-mobile.el (org-mobile-write-checksums): Specify coding
1533 (org-mobile-timestamp-buffer): Keep local variable/mode line at
1534 beginning of buffer.
1536 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1538 * org.el (org-block-todo-from-children-or-siblings-or-parent)
1539 (org-block-todo-from-checkboxes): Do not block changes to a nil
1542 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1544 * org-habit.el (org-habit-parse-todo): Indicate which habit is
1545 wrongly set up in the error messages.
1547 * org-colview.el (org-columns-display-here): Don't try to
1548 calculate values if the underlying property is not set.
1549 (org-columns-string-to-number): Convert age strings back into
1551 (org-agenda-colview-summarize): Handle extended summary types
1554 * org-colview-xemacs.el (org-columns-display-here): Don't try to
1555 calculate values if the underlying property is not set.
1556 (org-columns-string-to-number): Convert age strings back into
1558 (org-agenda-colview-summarize): Handle extended summary types
1561 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1563 * org-exp.el (org-export-format-drawer-function): New variable.
1564 (org-export-format-drawer): New function.
1565 (org-export-preprocess-string): Pass the backend as a parameter to
1566 `org-export-remove-or-extract-drawers'.
1567 (org-export-remove-or-extract-drawers): New parameter BACKEND.
1569 * org-protocol.el (org-protocol-char-to-string): New defsubst.
1571 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1573 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1574 message when no block is selected.
1576 * org-latex.el (org-export-latex-links): Check for protectedness
1577 in the last matched character, not after the match.
1579 * org-datetree.el (org-datetree-find-date-create): Respect
1580 restriction when KEEP-RESTRICTION is set.
1581 (org-datetree-file-entry-under): New function.
1582 (org-datetree-cleanup): New command.
1584 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1586 * org-src.el (org-edit-src-code): New optional argument context
1587 allows calling functions to avoid altering the saved window
1589 (org-edit-src-exit): Do not restore window configuration when this
1590 function is used in the context of saving the edit buffer.
1592 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1594 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1595 instances to switching to with-current-buffer, because these seem
1596 to cause problems - no idea why.
1598 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1599 Require diary-lib for (diary-date-display-form).
1601 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1603 * org.el (org-log-reschedule, org-log-redeadline): New options.
1604 (org-log-note-headings): Add templates for rescheduling and
1606 (org-startup-options): Add in-buffer settings for logging changing
1607 schedule and deadline time stamps.
1608 (org-deadline, org-schedule): Check for existing date and arrange
1609 for logging if the user requests it.
1610 (org-add-log-note): Prepare proper note buffers for rescheduling
1611 and deadline changes.
1613 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1615 * org-agenda.el (org-agenda-diary-entry-in-org-file)
1616 (org-agenda-add-entry-to-org-agenda-diary-file)
1617 (org-agenda-insert-diary-make-new-entry): New functions.
1618 (org-agenda-diary-entry): Call
1619 `org-agenda-diary-entry-in-org-file' when appropriate.
1621 * org.el (org-calendar-insert-diary-entry-key): New option.
1622 (org-agenda-diary-file): New option.
1623 ("calendar"): Install our insertion function in the calendar.
1625 * org-remember.el (org-datetree): Require.
1626 (org-remember-templates): Add new positioning option.
1627 (org-remember-reference-date): New variable.
1628 (org-remember-apply-template): Store the reference date in a local
1630 (org-remember-handler): Implement date tree positioning of entries.
1632 * org-datetree.el: New file.
1634 * org-latex.el (org-export-latex-preprocess): Protect targets in
1637 * org-html.el (org-export-as-html): Protect targets in verbatim
1640 * org-docbook.el (org-export-as-docbook): Protect targets in
1643 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1645 * org-clock.el (org-show-notification): Handle messages that
1646 contain a percent character.
1648 * org-remember.el (org-remember-apply-template): Turn of partial
1651 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1652 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1654 * org.el (org-indent-mode): Define variable already in org.el.
1655 (org-unfontify-region): Remove line-prefix and wrap-prefix
1656 properties only if org-indent-mode is active.
1658 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1660 * org-icalendar.el (org-print-icalendar-entries): Save match data
1661 around call to verify function.
1662 (org-print-icalendar-entries): Add a call to the verification
1665 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1666 save-restrivtion' form.
1668 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1670 * org-exp.el (org-export-format-source-code-or-example): restrict
1671 scope of preserve-indentp to the let binding.
1672 (org-src): require org-src, since org-src-preserve-indentation is used.
1674 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1676 * org-timer.el (org-timer-set-timer): Set variables
1677 org-timer-timer[123] correctly.
1680 * org-mobile.el (org-mobile-files-alist): Make it work when
1681 `agenda-archives' is included in
1682 `org-agenda-text-search-extra-files'.
1683 (org-mobile-push): Restore agenda after mobile push.
1685 2009-11-13 John Wiegley <jwiegley@gmail.com>
1687 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1688 way the amount of idle time is presented in the minibuffer.
1690 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1692 * org-icalendar.el (org-print-icalendar-entries): Use
1693 org-icalendar-verify-function only if non-nil.
1695 * org.el (org-refile): Refile to clock only if the prefix arg is
1697 (org-sparse-tree): Fix docstring to be in line with prompt.
1698 (org-update-parent-todo-statistics): Call
1699 `org-after-todo-statistics-hook' on each level.
1701 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1703 * org-remember.el (org-remember-apply-template): Make sure the
1706 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1708 * org.el (org-tab-ind-state): New variable.
1709 (org-cycle-level): New function.
1710 (org-cycle-level-after-item/entry-creation): New option.
1711 (org-flag-subtree): New function.
1712 (org-hide-archived-subtrees): Call `org-flag-subtree'.
1713 (org-set-effort): Indexed access.
1715 * org-list.el (org-cycle-item-indentation): New function.
1717 * org.el (org-refile): Make prefix argument 2 refile to current
1719 (org-priority): Interpret action `remove' as call to remove the
1722 * org-remember.el (org-remember-apply-template): Don't depend on
1723 buffer name being like file name.
1725 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1727 * org-clock.el (org-clock-play-sound): Expand file in
1728 org-clock-sound, to allow ~ for home.
1730 * org-remember.el (org-remember-handler): Set
1731 text-before-node-creation even if this already looks like a node,
1732 because the string might be needed on non-org-mode target files.
1734 * org-agenda.el (org-agenda-open-link): Make this work in agenda
1736 (org-agenda-switch-to): Follow a link at point if
1737 org-return-follows-link' is set and there is nothing else to do in
1740 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1742 * org-colview-xemacs.el: Add in changes from org-colview.el
1744 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1746 * org-exp-blocks.el: Modify split separator regexp to avoid empty
1749 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1751 * org-colview.el (org-columns-new): Make this work with the new
1753 (org-columns-store-format): Make this work with the new operators.
1755 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1757 * org-src.el (org-src-preserve-indentation): Document that this
1758 variable is also used during export.
1760 * org-exp.el (org-export-format-source-code-or-example): Preserve
1761 indentation if a block has a -i option, or if
1762 `org-src-preserve-indentation' is set.
1764 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1765 indentation if a block has a -i option, or if
1766 `org-src-preserve-indentation' is set.
1768 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1770 * org.el (org-mode-map): Define the new archiving keys.
1771 (org-speed-commands-default): Define an archiving key in the speed
1773 (org-org-menu): Improve the menu structure concerning archiving.
1775 * org-archive.el (org-archive-subtree-default-with-confirmation):
1778 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1779 (org-agenda-menu): Add the new archiving commands to the menu.
1780 (org-agenda-archive-default)
1781 (org-agenda-archive-default-with-confirmation): New commands.
1782 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1783 call `org-agenda-archive-with'.
1784 (org-agenda-archive-with): New function.
1786 * org-table.el (org-table-convert-region): Inert spaces around "|"
1787 to avoid line beginnings like "|-1" which will be mistaken as
1790 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1792 * org.el (org-offer-links-in-entry): Return nil if there are no
1793 links, t if a link has been selected.
1794 (org-open-at-point): Open attachment directory when called in the
1795 headline and there are no links in the entry body.
1796 (org-speed-commands-default): Add "o" for open-at-point as a speed
1799 * org-attach.el (org-attach-reveal): Optional prefix arg
1800 IF-EXISTS, which avoids creating the attachment directory if it
1803 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1806 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1808 * org.el ("abbrev"): Work with abbrev tables only after they have
1811 * org-list.el (org-list-send-list): Fix bug related to match
1814 * org-latex.el (org-export-latex-fontify): Apply verbatim
1816 (org-export-latex-make-header): Insert \obeylines if line breaks
1817 should be preserved.
1819 * org-exp.el (org-export-protect-verbatim): Add an
1820 `org-verbatim-emph' property to such text.
1822 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1824 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1825 (org-print-icalendar-entries): Skip entries where the timestamp is
1826 not a deadline and not scheduled, if the user requests that.
1828 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1829 before an opening quote.
1831 * org-archive.el (org-archive-subtree): Keep archive after
1832 archiving something.
1834 * org-id.el (org-id-update-id-locations): Add archive files if
1835 that is required by `org-id-extra-files'.
1837 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1839 * org-src.el (org-src-window-setup): New option.
1840 (org-src-switch-to-buffer): New function.
1841 (org-edit-src-exit): Add optional argument CONTEXT and use it to
1842 restore window configuration.
1843 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1844 Call `org-src-switch-to-buffer'.
1846 * org.el (org-default-properties): Add STYLE property.
1847 (org-files-list): Use the function call to get the files.
1848 (org-additional-option-like-keywords): Add SETUPFILE to completion
1851 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1853 * org-table.el (org-table-convert-region): Correctly interpret
1854 quoting in csv import.
1856 * org.el (org-icompleting-read): Make iswitchb completion work
1857 with lists and tables.
1859 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1860 while pushing the mobile agenda.
1862 2009-11-13 John Wiegley <jwiegley@gmail.com>
1865 (org-clock-auto-clock-resolution): Now takes three values: nil, t
1866 and `when-no-clock-is-running'.
1867 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1868 whether or not to resolve Org buffers on clock in.
1870 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1872 * org-colview.el (org-format-time-period): Function to format
1873 times in fractional days for display.
1874 (org-columns-display-here): Add support for showing a calculated
1875 value in place of the property.
1876 (org-columns): Set `org-columns-time' to the current time so time
1877 difference calculations will work.
1878 (org-columns-time): Use to store the current time when column view
1879 is displayed, so all time differences will use the same reference
1881 (org-columns-compile-map): There is now an extra position in each
1882 entry specifying the function to use to calculate the displayed
1883 value for the non-calculated properties in the column,
1884 (org-columns-compute-all): Set `org-columns-time' to the current
1885 time so time difference calculations will work.
1886 (org-columns-compute): Handle column operators where the values
1887 used are calculated from the underlying property.
1888 (org-columns-number-to-string): Handle the 'age' column format
1889 (org-columns-string-to-number): Correct the function name (was
1890 org-column...). Add support for the 'age' column format.
1891 (org-columns-compile-format): Support the additional parameter in
1892 org-columns-compile-map.
1894 2009-11-13 Bastien Guerry <bzg@altern.org>
1896 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1899 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1901 * org-clock.el (org-clock-has-been-used): New variable.
1902 (org-clock-in): Set `org-clock-has-been-used'.
1903 (org-clock-save): Save only if clock data has been used or created
1904 during this session.
1906 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1908 * org-clock.el (org-clock-persist): New value, to store only the
1910 (org-clock-save): Don't save the clock if only the history should
1912 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1913 when restoring a saved clock.
1915 2009-11-13 John Wiegley <jwiegley@gmail.com>
1917 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1918 `org-time-clock-use-fractional'.
1920 * org.el (org-time-clocksum-use-fractional)
1921 (org-time-clocksum-fractional-format): Two new customizable
1922 variables which allow the user to select fractional times (1.25
1923 instead of 1:25) in the `org-clock-display' report.
1925 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1927 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1930 * org.el (org-tag-alist): Fix customization type.
1932 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1934 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1935 Make sure the regexp search can fail without throwing an error.
1936 (org-mobile-apply): Save the inbox buffer after removing
1937 successfully applied changes.
1939 2009-11-13 John Wiegley <jwiegley@gmail.com>
1941 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1942 time is reported after the user comes back (but before they
1945 * org.el (org-get-repeat): Change so that this function can be
1946 called with either `org-scheduled-string' or
1947 `org-deadline-string'.
1949 * org-clock.el (org-clock-auto-clock-resolution): Renamed
1950 `org-clock-disable-clock-resolution', since negatives don't sound
1951 good in customization variables.
1952 (org-clock-in): Don't use the auto-resolution logic if the user is
1953 clocking into a different task while an active clock is running.
1954 This then allows the default behavior of clocking out of the open
1955 task and then into the new task.
1957 * org.el (org-modules): Made this variable more consistent, since
1958 it was referring to Org, OrgMode and Org-mode, whereas the docs
1959 for the variable always refer to Org-mode.
1961 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1963 * org.el (org-repeat-re): The changed org-repeat-re no longer
1964 matched simple +2d type repeaters. Fix it so it does.
1966 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1968 * org-latex.el (org-export-latex-preprocess): Protect the vspace
1969 macro in the VERSE environment.
1971 2009-11-13 John Wiegley <jwiegley@gmail.com>
1973 * org-habit.el (org-habit-get-priority): A new function that
1974 determines the relative priority of a habit, based on how long
1975 past its scheduled date it is, and how near the deadline is.
1977 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1978 using `org-habit-get-priority'.
1980 * org-habit.el (org-habit-build-graph): Start displaying colors
1981 from the first scheduled date, if that date is earlier than the
1982 first completion date.
1984 * org-habit.el: Changed all "color" variables to faces, and made
1985 them appropriate for light and dark backgrounds.
1987 * org-habit.el (org-habit-duration-to-days): Made this function
1989 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1991 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1992 habits, since they don't use DEADLINE anymore.
1994 * org.el (org-repeat-re, org-display-custom-time)
1995 (org-timestamp-change): Extended to support the new ".+N/N"
1996 syntax, used for habits.
1998 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
2001 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
2002 modeline when habits are being displayed (if that module is being
2005 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2007 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
2008 idle time using the xscreensaver extension.
2009 (org-user-idle-seconds): Use X11 idle time if available.
2011 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2013 * org-agenda.el (org-agenda-next-line): New command.
2014 (org-agenda-previous-line): New commands.
2015 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
2017 (org-agenda-follow-mode): Do the follow immediately if the mode is
2019 (previous-line, next-line): Replace keys with the corresponding
2021 (org-agenda-mode-map): Bind backspace and delete to the scrolling
2024 * org.el (org-icompleting-read): Turn off partial completion mode
2025 for the duration of this completion round.
2027 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
2028 macros in author lines and similar stuff.
2030 * org.el (org-file-tags): Fix docstring.
2031 (org-get-buffer-tags): Add the #+FILETAGS tags.
2032 ("ecb"): Maks ecb show context after jumping into an Org file.
2034 2009-11-13 John Wiegley <johnw@newartisans.com>
2036 * org-agenda.el (org-finalize-agenda): Draw habit consistency
2037 graphs after everything else in the buffer has been setup.
2039 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2041 * org-mobile.el (org-mobile-apply): Count success and failure.
2043 * org.el (org-indent-line-function): Fix regexp replace problem.
2045 2009-11-13 John Wiegley <johnw@newartisans.com>
2047 * org-clock.el (org-clock-disable-clock-resolution): New
2048 customization variable that disable automatic clock resolution on
2050 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
2051 not automatically resolve anything. This is does not affect
2052 idle-time resolution, however, if `org-clock-idle-time' is set.
2054 2009-11-13 John Wiegley <johnw@newartisans.com>
2056 * org-habit.el: New file, which implements code to build a "habit
2059 * org-agenda.el (org-agenda-get-deadlines)
2060 (org-agenda-get-scheduled): Display consistency graphs when
2061 outputting habits into the agenda. The graphs are always relative
2062 to the current time.
2063 (org-format-agenda-item): Added new parameter `habitp', which
2064 indicates whether we are formatting a habit or not. Do not
2065 display "extra" leading information if habitp is true.
2067 * org.el (org-repeat-re): Improved regexp to include .+ and ++
2068 leaders for repeat strings.
2069 (org-get-repeat): Now takes a string parameter `tagline', so the
2070 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
2072 2009-11-13 John Wiegley <johnw@newartisans.com>
2074 * org-agenda.el (org-agenda-auto-exclude-function): New
2075 customization variable for allowing the user to create an "auto
2076 exclusion" filter for doing context-aware auto tag filtering.
2077 (org-agenda-filter-by-tag): Changes to support the use of
2078 `org-agenda-auto-exclude-function'. See the new manual addition,.
2080 2009-11-13 John Wiegley <johnw@newartisans.com>
2082 * org.el (org-files-list): Don't attempt to return a file name for
2083 Org buffers which have no associated file.
2085 * org-agenda.el (org-agenda-do-action): Fixed a typo.
2087 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2089 * org-mobile.el (org-mobile-locate-entry): Interpret files
2090 relative to org-directory.
2091 (org-mobile-inbox-for-pull): Document the best location for this
2093 (org-mobile-check-setup): Verify `org-directory'.
2094 (org-mobile-create-index-file): Sort the files to be listed in
2097 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2099 * org.el (org-fast-tag-selection): Add a way to display a
2100 description for a tag group. This is done by adding a string to
2101 either the startgroup or endgroup cell.
2103 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2105 * org-clock.el (org-clock-resolve, org-resolve-clocks)
2106 (org-emacs-idle-seconds): Use `org-float-time' instead of
2109 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2111 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
2114 * org.el (org-pre-cycle-hook): Document that `empty' can also be
2115 the value of ARG when doing local cycling.
2117 2009-11-13 John Wiegley <johnw@newartisans.com>
2119 * org-clock.el (org-clock-resolve-clock): If keeping or
2120 subtracting time results in a clock out at a time in the past, and
2121 if the resolution occurred due to idleness or invoking `M-x
2122 org-resolve-clocks', remember that past moment in time. On the
2123 next clock in, the user will be prompted to see if they want to
2124 back-date their new clock to then.
2125 (org-clock-resolve): Do not jump the user to the location of a
2126 dangling clock if the resolution is occurring due to an idle
2127 timeout. In that case there is typically only one dangling clock,
2128 the active one, and there is no value gained by shuffling their
2129 windows around to show it to them. Being prompted to resolve an
2130 idle clock should be as inobtrusive as possible.
2131 (org-resolve-clocks-if-idle): New function that resolves only the
2132 currently active clock if the user has exceeded the time returned
2133 by `org-user-idle-seconds', based on the value of
2134 `org-clock-idle-time'.
2135 (org-clock-in): If, after resolving clocks,
2136 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
2138 * org-clock.el (org-clock-resolve-clock): New function that
2139 resolves a clock to a specific time, closing or resuming as need
2140 be, and possibly even starting a new clock.
2141 (org-clock-resolve): New function used by `org-resolve-clocks'
2142 that sets up for the call to `org-clock-resolve-clock'. It
2143 determines the time to resolve to based on a single-character
2144 selection from the user to either keep time, subtract away time or
2146 (org-resolve-clocks): New user command which resolves dangling
2147 clocks -- that is, open but not active -- anywhere in the file
2148 list returned by `org-files-list'.
2149 (org-clock-in): Automatically resolve dangling clocks whenever a
2151 (org-clock-cancel): If the user cancels the solely clock in a
2152 LOGBOOK, remove the empty drawer.
2154 * org-clock.el (org-clock-idle-time): New user customizable option
2155 for detecting whether the user has left a clock idle. Note: it is
2156 only used in this commit to test whether it's worthwhile to check
2157 OS X to get the Mac user's current idle time. If the Emacs idle
2158 time is less than the value, the user hasn't been away long enough
2159 to be worth checking (a more expensive test than just getting
2161 (org-user-idle-seconds, org-mac-idle-seconds)
2162 (org-emacs-idle-seconds): This three functions, in conjunction
2163 with the user customization variable `org-clock-idle-time', return
2164 the number of seconds (as a floating point) that the user has been
2165 away from their Emacs (or, if running on OS X, their computer).
2167 * org-clock.el (org-find-open-clocks): New function that returns a
2168 list of all open clocks in the given FILE. Note that each clock
2169 it returns is a cons cell of the format (MARKER . START-TIME).
2170 This "clock" value is used by several of the new clock module
2172 (org-is-active-clock): New inline function which tests whether the
2173 given clock value is the same as the currently active clock.
2174 Returns non-nil if this is the case.
2175 (org-with-clock-position): New macro that evaluates FORMS with
2176 point in the buffer and at the position of the given clock.
2177 Changes to the current clock are global.
2178 (org-with-clock): New macro that evaluates FORMS with point in the
2179 buffer and at the position of the given clock. However, changes
2180 to the current clock are local and have no effect on the user's
2181 active clock. This allows, for example, far any clock to be
2182 cancelled without cancelling the active clock.
2183 (org-clock-clock-in): New inline function that switches the active
2184 clock to the given clock. If either the argument RESUME, or the
2185 global `org-clock-in-resume', are non-nil, it will resume a clock
2186 that was previously left open.
2187 (org-clock-clock-out): New inline function that clocks out the
2188 given clock value without affecting the currently active clock.
2189 (org-clock-clock-cancel): New inline function that cancels the
2190 given clock value without affecting the currently active clock.
2192 * org-clock.el (org-clock-in): Before creating
2193 `org-clock-mode-line-timer', check to make sure an older timer is
2194 not currently running.
2195 (org-clock-out): Accept new third parameter `at-time', which
2196 permits a clock to be clocked out at a specific time. Note that
2197 no attempt is made to verify that the clock out time is later than
2200 * org.el (org-files-list): New utility function for returning a
2201 list of all open org-mode buffers, plus all files used to build
2202 the agenda buffer. Note that not all the files will necessarily
2203 be visited by a buffer at time of call.
2204 (org-entry-beginning-position): Like the function
2205 `line-beginning-position', this inline function returns the
2206 beginning position of the current heading/entry.
2207 (org-entry-end-position): Like the function `line-end-position',
2208 this inline function returns the end position of the current
2211 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2213 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
2216 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2218 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
2220 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2222 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
2223 entries that have no tags.
2224 (org-agenda-search-view): New customize group.
2225 (org-agenda-search-view-search-words-only): New option.
2226 (org-search-view): Implement substring search.
2228 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2230 * org.el (org-outline-level): Add doc string.
2232 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2234 * org-inlinetask.el (org-inlinetask-export): Re-introduce
2236 (org-inlinetask-export-handler): Only export inline task if the
2237 user option calls for it.
2239 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2241 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
2244 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2246 * org-latex.el (org-export-latex-tables): Don't format in
2249 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2251 * org-src.el (org-edit-src-code)
2252 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
2255 * org-agenda.el (org-prefix-category-max-length): New variable.
2256 (org-format-agenda-item): Use `org-prefix-category-max-length'.
2257 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
2259 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2261 * org-mobile.el (org-mobile-create-index-file): Improve the
2262 listing of tags and todo keywords.
2264 * org-latex.el (org-export-latex-format-image): New function.
2265 (org-export-latex-links): Use `org-export-latex-format-image'.
2267 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2269 * org-inlinetask.el (org-inlinetask-get-current-indentation)
2270 (org-inlinetask-remove-terminator): New functions.
2271 (org-inlinetask-export-handler): Terminate the description list.
2273 * org-exp.el (org-export-select-backend-specific-text): Remove the
2276 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2277 tasks without content.
2279 * org-clock.el: Make sure the clock-in target position does not
2280 move to a different node by widening the buffer.
2282 * org-html.el (org-export-html-format-image): Wrap image into
2283 figure div only when there is a caption.
2285 * org-archive.el (org-archive-mark-done): Change default value to
2288 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2290 * org.el (org-context): Call `bobp', not `eobp'.
2292 * org-clock.el (org-clock-cancel): Remove quotes from marker
2295 * org.el (org-read-date-prefer-future): New allowed value `time'.
2296 (org-read-date-analyze): Shift day to tomorrow depending on time
2297 entered and value of `org-read-date-prefer-future'.
2299 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2301 * org.el (org-version, org-get-refile-targets, org-refile)
2302 (org-store-log-note, org-diary-to-ical-string)
2303 (org-speedbar-set-agenda-restriction):
2304 * org-publish.el (org-publish-find-title):
2305 * org-plot.el (org-plot/gnuplot):
2306 * org-mouse.el (org-mouse-do-remotely):
2307 * org-mobile.el (org-mobile-move-capture):
2308 * org-mac-message.el (org-mac-message-insert-flagged):
2309 * org-latex.el (org-replace-region-by-latex):
2310 * org-docbook.el (org-replace-region-by-docbook):
2311 * org-clock.el (org-clock-out, org-clock-cancel):
2312 * org-bibtex.el (org-execute-file-search-in-bibtex):
2313 Use with-current-buffer.
2315 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2317 * org.el (org-directory, org-map-entries):
2318 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
2320 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2322 * org.el (org-set-tags-to): New command.
2324 * org-latex.el (org-export-latex-set-initial-vars): Also check in
2327 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2330 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2332 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2334 * org-inlinetask.el (org-inlinetask-export): Option removed.
2335 (org-inlinetask-export-handler): Better export.
2337 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2338 (org-export-as-xoxo): Run the new hook.
2340 * org-html.el (org-export-html-final-hook): New hook.
2341 (org-export-as-html): Run the new hook.
2343 * org-docbook.el (org-export-docbook-final-hook): New hook.
2344 (org-export-as-docbook): Run the new hook.
2346 * org-ascii.el (org-export-ascii-final-hook): New hook.
2347 (org-export-as-ascii): Run the new hook.
2349 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2350 space character as the character before the ^/_.
2351 (org-export-latex-final-hook): New hook.
2352 (org-export-as-latex): Run `org-export-latex-final-hook'.
2354 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2356 * org-macs.el (org-if-unprotected-at): Fix docstring.
2358 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2359 text in the prefix (if category is a link).
2361 * org-latex.el (org-export-latex-preprocess): Deal properly with
2362 empty lines in verse environments.
2364 * org.el (org-format-latex-header): Inline fullpage.sty.
2366 * org-footnote.el (org-footnote-create-definition): Reveal context
2367 to add a new footnote definition.
2369 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2370 org-table-recalculate when cursor is in TBLFM line.
2372 * org-list.el (org-renumber-ordered-list): Fix cursor position
2373 when bullet length has changed.
2375 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2377 * org.el (org-format-latex): Mention `org-format-latex-options' in
2380 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2382 * org.el (org-agenda-get): New function.
2384 * org-agenda.el (org-agenda-post-command-hook): No longer move
2385 point away from end of line.
2386 (org-agenda-add-entry-text, org-agenda-collect-markers)
2387 (org-finalize-agenda, org-agenda-mark-clocking-task)
2388 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2389 (org-agenda-entry-text-show, org-agenda-highlight-todo)
2390 (org-agenda-compare-effort, org-agenda-filter-apply)
2391 (org-agenda-later, org-agenda-change-time-span)
2392 (org-agenda-post-command-hook, org-agenda-show-priority)
2393 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2394 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2395 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2396 (org-agenda-open-link, org-agenda-copy-local-variable)
2397 (org-agenda-switch-to, org-agenda-check-no-diary)
2398 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2399 (org-agenda-add-note, org-agenda-change-all-lines)
2400 (org-agenda-priority, org-agenda-set-tags)
2401 (org-agenda-set-property, org-agenda-set-effort)
2402 (org-agenda-toggle-archive-tag, org-agenda-date-later)
2403 (org-agenda-show-new-time, org-agenda-date-prompt)
2404 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2405 (org-agenda-clock-in, org-agenda-bulk-mark)
2406 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2409 * org-colview.el (org-columns-display-here)
2410 (org-columns-edit-allowed, org-agenda-columns): Use
2413 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2415 * org.el (org-special-ctrl-a/e): Improve documentation and
2417 (org-end-of-line): Don't jump to after the ellipsis.
2418 (org-mode-map): Bind <home> and <end> as well.
2420 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2422 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2423 space after #+ as comments.
2424 (org-open-at-point): Run `org-follow-link-hook' always.
2426 * org-latex.el (org-export-latex-emph-format): Use better commands
2427 to insert special characters in verbatim snippets.
2429 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2431 * org-faces.el (org-copy-face): New function. Use it to create
2432 various faces formerly created by using `copy-face'.
2434 * org-agenda.el (org-prepare-agenda): Don't officially mark this
2436 (org-agenda-quit): Kill the frame containing the agenda window if
2437 that frame was created for the agenda.
2439 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2441 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2442 stamp in the agenda.
2444 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2446 * org-agenda.el (org-prepare-agenda): Reset
2447 `org-drawers-for-agenda'.
2448 (org-prepare-agenda): Uniquify list of drawers.
2450 * org.el (org-complex-heading-regexp-format): New variable.
2451 (org-set-regexps-and-options): Define
2452 `org-complex-heading-regexp-format'.
2453 (org-drawers-for-agenda): New variable.
2454 (org-map-entries): Bind `org-drawers-for-agenda'.
2455 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2457 * org-remember.el (org-go-to-remember-target)
2458 (org-remember-handler): Use `org-complex-heading-regexp-format'.
2460 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2462 * org-agenda.el (org-agenda-highlight-todo): Fix text property
2465 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2466 always with `invisible-ok'.
2467 (org-store-link): No error when there is nothing to link to in the
2470 * org-list.el (org-update-checkbox-count): Insert changed cookie
2471 before the old, to avoid problems with invisibility at the end of
2473 (org-update-checkbox-count): Insert changed cookie before the old,
2474 to avoid problems with invisibility at the end of the line.
2476 * org.el (org-sort-entries-or-items): Include the final newline.
2477 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2478 lines for fontification.
2479 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2480 (org-prepare-dblock): Store the current indentation of the BEGIN
2482 (org-update-dblock): Apply the indentation of the begin line to
2483 the rest of the block.
2484 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2485 (org-startup-folded): New allowed value `showeverything'.
2486 (org-startup-options): Add STARTUP keyword `showeverything'.
2487 (org-set-startup-visibility): Respect value `showeverything' in
2490 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2492 * org.el (org-closest-date): Fix issue with past preference.
2494 * org-archive.el (org-archive-set-tag)
2495 (org-archive-subtree-default): New commands.
2497 * org-clock.el (org-clock-clocktable-default-properties): New
2499 (org-clock-report): Use
2500 `org-clock-clocktable-default-properties'.
2502 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2504 * org.el (org-iswitchb-completing-read): Fix typo.
2506 * org-crypt.el: New file.
2508 * org.el: Add an entry for org-crypt.
2510 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2512 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2514 (org-batch-store-agenda-views): New function.
2515 (org-agenda-title-append): Define variable.
2516 (org-write-agenda): New export to Org files.
2517 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2518 (org-agenda): Allow to keep the restricted file list if a special
2519 variable is bound to t.
2520 (org-agenda): Define a special agenda view for working on flagged
2522 (org-agenda-get-restriction-and-command): List the new agenda
2524 (org-agenda-show-the-flagging-note): New command.
2525 (org-agenda-mode-map): New key `?' for looking at the flagging
2528 * org.el (org-autoload): Autoload org-mobile.el.
2529 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2531 * org-mobile.el: New file.
2533 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2535 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2537 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2539 (org-table-get-remote-range): Match indented #+TBLNAME
2542 * org.el (org-convert-to-odd-levels)
2543 (org-convert-to-oddeven-levels): Work also correctly if the file
2546 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2548 * org.el (org-store-link): When in agenda buffer, link to
2550 (org-add-planning-info): Remove spaces at eol.
2552 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2555 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2557 * org-latex.el (org-export-latex-first-lines): Fix problem with
2558 LaTeX export of first line and selected subtree.
2560 * org.el (org-shifttab): Interpret arg differently when using only
2563 2009-10-01 Bastien Guerry <bzg@altern.org>
2565 * org.el (org-check-agenda-file): Use a more explicit message
2567 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2569 * org-exp.el (org-export-remove-special-table-lines): Don't remove
2572 2009-10-01 Bastien Guerry <bzg@altern.org>
2574 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2575 prompt in the temporary window.
2577 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2578 prefix for marked entries in the agenda view.
2580 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
2582 * org.el (outline-end-of-subtree): Bugfix: advise this function in
2583 a way that prevents any trailing character from being displayed.
2585 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2587 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2590 * org-exp.el (org-export-remove-special-table-lines): Remove bad
2593 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2595 * org-latex.el (org-export-latex-preprocess): Do not protect in
2598 * org-src.el (org-edit-src-save): Save window setup while saving.
2599 (org-edit-src-code): Use new buffer name construction scheme.
2601 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2603 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2605 (org-agenda-entry-text-cleanup-hook): New hook.
2606 (org-agenda-get-some-entry-text): Remove matches of
2607 `org-agenda-entry-text-exclude-regexps' and run the hook
2608 `org-agenda-entry-text-cleanup-hook'.
2610 * org.el (org-offer-links-in-entry): New argument ZERO to
2611 implement a link with index zero.
2612 (org-cycle-show-empty-lines): Not keep empty line under header
2614 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2615 to nil for special completion.
2616 (org-store-link): Don't error before the first heading.
2618 * org-agenda.el (org-agenda-open-link): Pass the prefix to
2619 `org-offer-links-in-entry'.
2621 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2623 * org-agenda.el (org-agenda-quit): Provide the window argument for
2624 `window-dedicated-p', Emacs 22 needs it.
2625 (org-format-agenda-item): If the category is a link, arrange for
2626 invisible text to replaced with spaces.
2627 (org-compile-prefix-format): Add the extra space.
2628 (org-prefix-category-length): New variable.
2630 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2631 references from TOC lines.
2633 * org.el (org-selected-window): New variable.
2635 * org-table.el (org-table-edit-formulas): Remember the selected
2637 (org-table-fedit-finish, org-table-fedit-abort): Select the window
2638 that was originally selected.
2640 * org-exp.el (org-export-preprocess-apply-macros): Scan the
2641 expansion of a macro for more macro definitions.
2643 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2644 invisibility overlay starts on the newline.
2646 2009-10-01 Glenn Morris <rgm@gnu.org>
2648 * org-agenda.el (calendar-check-holidays):
2649 * org-exp.el (org-agenda-skip):
2650 * org-list.el (outline-back-to-heading):
2651 * org-wl.el (wl-summary-goto-folder-subr):
2652 * org.el (iswitchb-mode, remember, remember-buffer-desc)
2653 (remember-finalize, remember-save-after-remembering, remember-register)
2654 (remember-buffer, remember-handler-functions)
2655 (remember-annotation-functions): Remove unused declarations.
2657 * org.el (iswitchb-read-buffer): Fix declaration.
2659 2009-09-30 Glenn Morris <rgm@gnu.org>
2661 * org-compat.el (w32-focus-frame):
2662 * org-exp-blocks.el (R):
2663 * org-exp.el (htmlize-buffer):
2664 * org-protocol.el (server-edit):
2665 * org-table.el (org-format-org-table-html):
2666 * org.el (org-indent-mode): Fix declarations.
2668 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
2669 free variable `fun'.
2671 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
2673 * org-agenda.el (org-agenda-restore-windows-after-quit):
2674 Fix typo in docstring.
2676 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
2678 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
2679 (org-shiftselect-error, org-ctrl-c-ctrl-c):
2680 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
2681 * org-attach.el (org-attach-check-absolute-path):
2682 * org-docbook.el (org-export-as-docbook):
2683 * org-html.el (org-export-as-html):
2684 * org-id.el (org-id-update-id-locations):
2685 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
2686 Fix typos in error messages.
2688 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2690 * org-ascii.el: Require CL for the `loop' macro.
2692 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
2694 * org-gnus.el (require): Wrap (require gnus-sum) into
2697 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
2699 * org-protocol.el (org-protocol-store-link)
2700 (org-protocol-remember, org-protocol-open-source): Remove autoload
2703 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
2704 referencing the start of the line.
2706 * org-gnus.el: Remove unnecessary declare-function forms.
2707 (gnus-sum): Always require gnus-sum.
2709 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2711 * org-protocol.el (org-protocol-store-link)
2712 (org-protocol-remember, org-protocol-open-source): Add autoloads.
2714 * org-compat.el (org-float-time): New function.
2716 * org.el (org-clock-update-time-maybe)
2717 (org-sort-entries-or-items, org-do-sort)
2718 (org-evaluate-time-range, org-time-string-to-seconds)
2719 (org-closed-in-range): Use `org-float-time'.
2721 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2722 (org-timer-seconds): Use `org-float-time'.
2724 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2725 (org-clock-sum, org-dblock-write:clocktable)
2726 (org-clocktable-steps): Use `org-float-time'.
2728 * org-agenda.el (org-agenda-last-marker-time)
2729 (org-agenda-new-marker, org-diary): Use `org-float-time'.
2731 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2734 * org-exp.el (org-get-file-contents): Only protect lines that
2737 * org-html.el (require): Require cl for compilation.
2739 * org.el: Avoid using `default-major-mode'.
2741 * org-plot.el (require): Require CL only at compile time.
2743 * org-exp.el (require): Require CL only at compile time.
2745 * org-agenda.el (org-agenda-quit): When the agenda window is
2746 dedicated, remove other windows before exiting, so that the frame
2747 really will be killed.
2749 * org-exp.el (org-export-handle-include-files): Reset START and
2750 END for each loop cycle.
2752 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2754 * org.el (org-eval-in-calendar): Use
2755 `org-select-frame-set-input-focus'.
2757 * org-compat.el (org-select-frame-set-input-focus): New function.
2759 * org.el (org-update-statistics-cookies): New function.
2760 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2762 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2764 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2765 after the local variables are set.
2767 * org-latex.el (org-export-latex-protect-amp): New function.
2768 (org-export-latex-links): Protect link ampersands in tables.
2770 * org-exp.el (org-export-select-backend-specific-text): Match in
2771 two steps, to avoid regexp problems.
2773 * org.el (org-offer-links-in-entry): Improve working with many and
2776 * org-agenda.el (org-agenda-show-1): Make more consistent with
2778 (org-agenda-cycle-show): Make more consistent with normal cycling.
2780 * org-gnus.el (org-gnus-store-link): Restore the linking to a
2783 2009-09-02 Bastien Guerry <bzg@altern.org>
2785 * org-latex.el (org-export-latex-first-lines): Bugfix.
2787 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2789 * org-clock.el (org-clock-modify-effort-estimate): Emit message
2792 * org.el (org-set-effort): New function.
2793 (org-mode-map): New key for effort setting command.
2795 * org-agenda.el (org-agenda): Keep window setup when calling
2796 agenda from within agenda window.
2797 (org-agenda-mode-map): New keys for effort setting commands.
2798 (org-agenda-menu): Add effort setting commands to menu.
2799 (org-agenda-set-property, org-agenda-set-effort): New functions.
2801 * org-latex.el (org-export-latex-tables): Fix
2802 `org-table-last-alignment' and `org-table-last-column-widths' if
2803 the first column has been removed.
2805 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2807 * org.el (org-remove-timestamp-with-keyword): Only remove in
2808 entry, not in subtree.
2810 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2813 * org.el (org-open-at-point): When on headline, offer all strings
2816 * org-remember.el (org-remember-templates): Documentation fix.
2818 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2819 `org-get-last-sibling' instead of the outline versions of these
2821 (org-get-last-sibling): New function.
2822 (org-refile): Use `org-get-next-sibling' instead of the outline
2823 version of this function.
2824 (org-clean-visibility-after-subtree-move): Use
2825 `org-get-next-sibling' and `org-get-last-sibling' instead of the
2826 outline versions of these functions.
2828 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2830 * org-agenda.el (org-prepare-agenda): When creating a new frame
2831 for the agenda, make the window dedicated.
2833 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2835 * org-table.el (org-table-align): Change the order of reinsertion
2836 and deletion, to avoid problems with overlays following the table.
2838 * org.el (org-parse-time-string): Better error message.
2839 (org-show-subtree): Use org-end-of-subtree.
2841 * org-macs.el (org-goto-line): New defsubst.
2843 * org.el (org-open-file, org-change-tag-in-region)
2844 (org-fast-tag-show-exit): Don't use `goto-line'.
2846 * org-table.el (org-table-align, org-table-insert-column)
2847 (org-table-delete-column, org-table-move-column)
2848 (org-table-sort-lines, org-table-copy-region)
2849 (org-table-paste-rectangle, org-table-wrap-region)
2850 (org-table-get-specials, org-table-rotate-recalc-marks)
2851 (org-table-get-range, org-table-recalculate)
2852 (org-table-edit-formulas, org-table-fedit-convert-buffer)
2853 (org-table-show-reference, org-table-highlight-rectangle): Don't
2856 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2857 (org-edit-src-exit): Don't use `goto-line'.
2859 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2861 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2862 Don't use `goto-line'.
2864 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2866 * org-colview.el (org-columns, org-columns-redo)
2867 (org-agenda-columns): Don't use `goto-line'.
2869 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2872 * org-agenda.el (org-agenda-mode): Force visual line motion off.
2873 (org-agenda-add-entry-text-maxlines): Improve docstring.
2874 (org-agenda-start-with-entry-text-mode): New option.
2875 (org-agenda-entry-text-maxlines): New option.
2876 (org-agenda-entry-text-mode): New variable.
2877 (org-agenda-mode): Set initial value of
2878 `org-agenda-entry-text-mode'.
2879 (org-agenda-mode-map): Add the `E' key.
2880 (org-agenda-menu): Add entry text mode to the menu.
2881 (org-agenda-get-some-entry-text): Fix line count bug.
2882 (org-finalize-agenda): Apply entry text mode if appropriate.
2883 (org-agenda-entry-text-show-here): New function.
2884 (org-agenda-entry-text-show): New function.
2885 (org-agenda-entry-text-hide): New function.
2886 (org-agenda-view-mode-dispatch): Add entry text mode to the view
2888 (org-agenda-entry-text-mode): New command.
2889 (org-agenda-set-mode-name): Add entry text mode to the mode line
2891 (org-agenda-undo, org-agenda-get-restriction-and-command)
2892 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2895 2009-09-02 Bernt Hansen <bernt@norang.ca>
2897 * org-clock.el (org-notify): Bugfix.
2899 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2901 * org-agenda.el (org-agenda-open-link): Handle multiple links and
2902 check for after-string.
2904 * org-gnus.el (org-gnus-store-link): Simplify.
2906 * org.el (org-latex-regexps): Don't add extra empty lines for
2909 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2911 * org-agenda.el (org-agenda-get-some-entry-text): New function.
2912 (org-agenda-add-entry-text): Use
2913 `org-agenda-get-some-entry-text'.
2915 * org.el (org-cycle-separator-lines): Update docstring.
2916 (org-cycle-show-empty-lines): Handle negative values for
2917 `org-cycle-show-empty-lines'.
2919 * org-exp.el (org-export-protect-sub-super): New function.
2920 (org-export-normalize-links): Protect the url of plain links from
2921 supscript and superscript processing.
2923 * org-remember.el (org-remember-escaped-%): New function.
2924 (org-remember-apply-template): Use `org-remember-escaped-%' to
2925 detect escaped % signs.
2927 2009-09-02 Bastien Guerry <bzg@altern.org>
2929 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2930 sound when showing the notification.
2932 * org-clock.el (org-notify): New function.
2933 (org-clock-notify-once-if-expired): Use `org-notify'.
2935 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2936 and `gnus-article-mode' separately.
2937 (gnus-summary-article-header): Fix the declare-function.
2939 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2941 * org-exp.el (org-export-format-source-code-or-example): Translate
2944 * org-src.el (org-src-lang-modes): New variable
2945 (org-edit-src-code): Translate language.
2947 * org-exp.el (org-export-format-source-code-or-example): Deal wit
2948 the new structure of the `org-export-latex-listings-langs'
2951 * org-latex.el (org-export-latex-listings-langs): Change structure
2952 of the variable from plist to alist.
2954 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2956 * org.el (org-in-commented-line): New function.
2958 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2960 * org.el (org-hide-block-toggle): Make folded blocks searchable.
2962 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
2964 * org.el (org-flag-drawer): More useful error.
2966 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2968 * org-remember.el (org-remember-apply-template): Use
2969 org-icompleting-read.
2971 * org-publish.el (org-publish): Use org-icompleting-read.
2973 * org-colview.el (org-columns-edit-value, org-columns-new)
2974 (org-insert-columns-dblock): Use org-icompleting-read.
2976 * org-colview-xemacs.el (org-columns-edit-value)
2977 (org-columns-new, org-insert-columns-dblock): Use
2978 org-icompleting-read.
2980 * org-attach.el (org-attach-delete-one, org-attach-open): Use
2981 org-icompleting-read.
2983 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2985 * org.el (org-hierarchical-todo-statistics): Improve docstring.
2986 (org-version): Return the version text.
2987 (org-org-menu): Add a menu entry for the new bug reporter.
2988 (org-submit-bug-report): New command.
2990 * org-list.el (org-hierarchical-checkbox-statistics): Improve
2993 * org.el (org-emphasis-regexp-components): Add "`" to set of
2994 pre-emphasis characters.
2996 * org-latex.el (org-export-latex-classes): Always include the soul
2998 (org-export-latex-emphasis-alist): Use \st for strikethough.
3000 * org-exp-blocks.el (org-export-blocks-preprocess): Use
3001 `indent-code-rigidly' to indent.
3003 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
3004 properties only if MATCH really is a string.
3006 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3008 * org-latex.el (org-export-latex-packages-alist): Fix
3011 * org.el (org-create-formula-image): Also use
3012 `org-export-latex-packages-alist'.
3014 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
3015 (org-export-as-html): Format footnotes correctly.
3017 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3019 * org.el (org-fast-tag-selection): Avoid text properties on tags
3022 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
3023 text properties on the match element.
3025 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3027 * org.el (org-set-regexps-and-options): Make sure the list of done
3028 keywords is not invalid.
3030 * org-exp.el (org-export-interpolate-newlines): New function.
3032 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3034 * org.el (org-format-latex): Avoid nested overlays.
3036 * org-latex.el (org-export-latex-listings-langs): Add a few more
3039 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
3040 ignore newlines and space before the first macro argument.
3042 * org-latex.el (org-export-latex-tables): Remove save-excursion
3043 around `org-table-align'.
3045 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3047 * org.el (org-export-html-special-string-regexps): Definition
3050 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
3053 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3055 * org-latex.el (org-export-latex-listings)
3056 (org-export-latex-listings-langs): New options.
3058 * org-exp.el (org-export-format-source-code-or-example): Use
3059 listing package if requested by the user.
3061 2009-09-02 Bastien Guerry <bzg@altern.org>
3063 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
3064 command before actually switching to a buffer.
3066 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3068 * org-exp.el (org-get-file-contents): Only quote org lines when
3069 the markup is src or example.
3071 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
3073 (org-agenda-get-day-entries): Remember deadline results and pass
3074 them on into the function getting the scheduling information.
3075 (org-agenda-get-scheduled): Accept deadline results as parameters
3076 and maybe skip some entries.
3077 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
3079 * org.el (org-insert-heading): When respecting content, do not
3080 convert current line to headline.
3082 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
3083 cheeeeeck the hd marker
3084 (org-clock-in): Also set the hd marker.
3085 (org-clock-out): Also set the hd marker.
3086 (org-clock-cancel): Reset markers.
3088 * org.el (org-clock-hd-marker): New marker.
3090 * org-faces.el (org-agenda-clocking): New face.
3092 * org-agenda.el (org-agenda-mark-clocking-task): New function.
3093 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
3095 * org.el (org-modules): Add org-track.el.
3097 * org-agenda.el (org-agenda-bulk-marked-p): New function.
3098 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
3099 `org-agenda-bulk-marked-p'.
3100 (org-agenda-bulk-toggle): New command.
3102 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3104 * org.el (org-move-subtree-down): Hide subtree if it was folded,
3107 * org-remember.el (org-remember-finalize): Avoid buffer-modified
3110 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3112 * org-html.el (org-export-as-html):
3113 * org-docbook.el (org-export-as-docbook):
3114 Use (default-value 'major-mode) instead of default-major-mode.
3116 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
3118 * org-docbook.el: Add arch-tag.
3120 * org-exp-blocks.el: Add arch-tag.
3122 * org-id.el: Add arch-tag.
3124 * org-indent.el: Add arch-tag.
3126 * org-inlinetask.el: Add arch-tag.
3128 * org-protocol.el: Add arch-tag.
3130 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3132 * org.el (org-create-formula-image): Remove the -E option for
3135 * org-exp.el (org-default-export-plist): Respect #+BIND.
3136 (org-export-confirm-letbind): New function.
3138 * org.el (org-paste-subtree): Test the kill ring entry if it is
3140 (org-copy-subtree): Use `org-forward-same-level'.
3141 (org-forward-same-level): Respect the `invisibe-ok' arg for
3144 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3146 * org.el (org-table-map-tables): Make sure cursor is back at table
3147 beginning after funcall.
3149 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
3150 handled before children, and do not error if an entry is not
3151 found, probably because it hase been remove when the parent was
3152 archived or refiled.
3154 * org.el (org-ido-completing-read): Accept straight lists for
3155 completion as well as alists.
3157 * org-timer.el (org-timer-cancel-timers): Rename from
3158 `org-timer-cancel-timers'.
3160 * org.el (org-cycle-internal-local): Fix problem with finding next
3163 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3165 * org-list.el (org-list-send-list): Call
3166 `org-list-goto-true-beginning' instead of
3167 `org-list-find-true-beginning', which does not exist.
3169 * org-timer.el (org-timer-reset-timers): Use `mapc'.
3170 (org-timer-set-timer): Do not assign to heading.
3172 * org-id.el (org-id-open): Quote function name.
3174 * org-macs.el (org-unmodified): Turn off recording undo
3175 information while running inside the macro.
3177 * org-table.el (org-table-export): Also work in file-less
3180 * org.el (org-startup-indented): New option.
3181 (org-startup-options): Add new options indent and noindent.
3182 (org-unfontify-region): Remove line-prefix and wrap-prefix
3184 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
3186 (org-promote, org-demote): Run the new hooks.
3188 * org-table.el (org-table-align): Replace leading \n as well.
3190 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
3191 and `line-wrap' text properties.
3193 * org-compat.el (org-kill-new): New function.
3195 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
3196 `line-wrap' text properties.
3198 * org-indent.el: New file.
3200 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3202 * org.el (org-provide-todo-statistics): Tweak docstring.
3204 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
3206 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3208 * org-exp.el (org-export-as-org): Insert the "-source" string
3209 before the extension.
3211 * org.el (org-read-date): Make sure the calendar is in the current
3213 (org-set-emph-re): Remove the ? from the post-match.
3214 (org-emphasis-regexp-components): Add backslash to the
3216 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
3217 optional so that also lines at the end of the buffers will still
3218 be matched as headlines.
3220 * org-table.el (org-table-error-on-row-ref-crossing-hline):
3221 Variable made obsolete.
3222 (org-table-relative-ref-may-cross-hline): New option.
3223 (org-table-find-row-type): Honow the new option
3224 `org-table-relative-ref-may-cross-hline'.
3226 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3228 * org-table.el (org-table-cut-region, org-table-copy-region): Work
3229 on single field if no active region.
3231 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3233 * org-latex.el (org-export-latex-make-header): Only insert title
3236 * org.el (org-make-options-regexp): Allow empty values.
3238 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3240 * org.el (org-cycle-internal-local): Improved version of finding
3242 (org-cycle-hide-drawers): Only hide drawers if this is really
3244 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
3245 org-version of this function in Org-mode. We use advice to
3246 implement this change, so that future changes to this function in
3247 outline.el wil be handled properly.
3248 (org-forward-same-level, org-backward-same-level): New commands.
3250 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3252 * org.el (org-remove-empty-overlays-at)
3253 (org-clean-visibility-after-subtree-move): New functons.
3254 (org-move-subtree-down): Simplify cleanup of display.
3256 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3258 * org-mac-message.el (org-mac-message-get-links): Improve
3259 docstring. Make argument SELECT-OR-FLAGGED optional, default to
3260 "s". Fix the return value.
3261 (org-mac-message-insert-flagged): Simplify.
3263 * org.el (org-refile-get-location): Tamper with refile history o
3264 that history contains compete matches instead of the entered
3267 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3269 * org.el (org-store-link): Never store a link to an inline task.
3271 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
3272 inline tasks when positioning footnotes.
3274 * org.el (org-refile): Remove the END line when archiving an
3275 inline task that does have an END line.
3277 * org-archive.el (org-archive-subtree): Remove the END line when
3278 archiving an inline task that does have an END line.
3280 * org-macs.el (org-with-limited-levels): New macro.
3281 (org-get-limited-outline-regexp): New function.
3283 * org-exp.el (org-export-format-source-code-or-example): Fix bug
3284 that did not enumerate first line.
3285 (org-export-mark-radio-links): Skip matches in links.
3287 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3289 * org.el (org-activate-plain-links): Make single-match.
3290 (org-adapt-indentation): Fix docstring.
3292 * org-macs.el (org-unmodified): Turn of modification hooks while
3295 2009-08-06 Bastien Guerry <bzg@altern.org>
3297 * org.el (org-adapt-indentation): Slightly improve the docstring.
3298 (org-occur): Sends an error when the user inputs an empty string.
3299 (org-priority): Bugfix: the tag alignement should happen within
3302 2009-08-06 Bastien Guerry <bzg@altern.org>
3304 * org.el (org-make-link-regexps): Don't exclude parentheses from
3306 (org-cycle-internal-local): When locally cycling, switch directly
3307 from CHILDREN to FOLDED if there is no subtree
3308 (org-cycle): Update the docstring to document the new behavior of
3309 `org-cycle-internal-local'.
3311 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
3313 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3314 an abbreviated format for days.
3316 2009-08-06 Bastien Guerry <bzg@altern.org>
3318 * org-protocol.el (org-protocol-default-template-key): New
3321 * org.el (org-refile): Bugfix: save-excursion before reading the
3322 refile target, otherwise cursor moves might confuse `org-refile'.
3324 * org.el (org-toggle-heading): Bugfix: correctly convert list
3325 items before the first headline.
3327 * org.el (org-provide-todo-statistics): Allow a list of TODO
3328 keywords to compute statistics against headlines containing a
3329 keyword from this list.
3330 (org-update-parent-todo-statistics): Possibly use the new allowed
3331 value of `org-provide-todo-statistics'.
3333 2009-08-06 Bastien Guerry <bzg@altern.org>
3335 * org-timer.el: Add autoload cookie.
3337 * org.el (org-occur-link-in-agenda-files): New function.
3339 * org-timer.el (org-timer-last-timer): New variable.
3341 * org-agenda.el (org-agenda-mode-map): New key for
3342 org-timer-set-timer called from the agenda.
3344 * org.el (org-mode-map): New key for org-timer-set-timer.
3346 * org-timer.el (org-timer-reset-timers)
3347 (org-timer-show-remaining-time, org-timer-set-timer): New
3350 * org-clock.el (org-show-notification): Update the docstring.
3352 * org.el (org-provide-todo-statistics): Allow new value
3353 'all-headlines for this option, which includes entries with no
3354 TODO keywords in the todo statistics.
3355 (org-update-parent-todo-statistics): Possibly use the new
3356 'all-headline value from `org-provide-todo-statistics'.
3358 2009-08-06 Bastien Guerry <bzg@altern.org>
3360 * org-clock.el (org-dblock-write:clocktable): Add a new option
3361 :timestamp which allows display of timestamps in clock reports.
3363 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3364 list to a subtree, preserving the structure of the list.
3365 (org-set-emph-re): Make the last element optional in the regexp.
3366 This regexp now matches an emphasized string at the end of a line.
3368 * org-list.el (org-list-goto-true-beginning)
3369 (org-list-make-subtree, org-list-make-subtrees): New functions.
3371 * org.el (org-eval-in-calendar): Select the right frame.
3372 (org-save-frame-excursion): Remove this macro.
3374 2009-08-06 Bastien Guerry <bzg@altern.org>
3376 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3377 trying to find the beginning of a list.
3379 * org-exp.el (org-get-file-contents): Use a new argument: markup.
3380 When present, tell org-get-file-contents not to protect org-like
3383 * org-id.el (org-id-uuid-program): New option to set the name of
3384 the uuidgen program.
3385 (org-id-method): Use `org-id-uuid-program'.
3386 (org-id-new): Use `org-id-uuid-program'.
3388 2009-08-06 Bastien Guerry <bzg@altern.org>
3390 * org-exp.el (org-export-number-lines): Allow whitespace in code
3391 references. Allow the -r switch to remove the references in the
3392 source code even when the lines are not numbered: the labels can
3395 * org.el (org-fontify-whole-heading-line): New option.
3396 (org-set-font-lock-defaults): Use the new option.
3398 * org-clock.el (org-show-notification-handler): New option.
3399 (org-show-notification): Use the new option.
3401 2009-08-06 Bastien Guerry <bzg@altern.org>
3403 * org.el (org-eval-in-calendar): Fix a bug about calendar
3404 navigation when `calendar-setup' value is 'calendar-only.
3406 2009-08-06 Bastien Guerry <bzg@altern.org>
3408 * org.el (orgstruct++-mode): Fix typo in docstring.
3409 (org-insert-link): Clean up: (or (...)) => (...)
3410 (org-insert-link): Use TAB for stored links completion.
3412 2009-08-06 Bastien Guerry <bzg@altern.org>
3414 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3415 building the list of targets.
3417 * org-remember.el (org-remember-delete-empty-lines-at-end): New
3419 (org-remember-handler): Use the new option.
3421 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
3423 * org.el (org-tags-sort-function): New option for sorting tags.
3424 (org-set-tags): Use the new option to sort tags.
3426 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3427 premature deletion of the data when using org-plot in a script.
3429 2009-08-06 Bastien Guerry <bzg@altern.org>
3431 * org-clock.el (org-clock-in-prepare-hook): New hook.
3432 (org-clock-in): Use this new hook.
3434 2009-08-06 Bastien Guerry <bzg@altern.org>
3436 * org.el (org-special-ctrl-a/e): Explicitely bind the value
3437 'reversed for this option to the "true line boundary first"
3439 (org-tags-match-list-sublevels): Document the 'indented value for
3442 * org-latex.el (org-export-latex-first-lines): Fix problem with
3443 publishing the region.
3445 * org-exp.el (org-export-format-source-code-or-example): Fix
3446 bad line numbering when exporting examples in HTML.
3448 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
3450 * org-colview.el (org-format-time-period): Formats a time in
3451 fractional days as days, hours, mins, seconds.
3452 (org-columns-display-here): Add special handling for SINCE and
3453 SINCE_IA to format for display.
3455 * org.el (org-time-since): Add a function to get the time since an
3457 (org-entry-properties): Add two new special properties: SINCE and
3458 SINCE_IA. These give the time since any active or inactive
3459 timestamp in an entry.
3460 (org-special-properties): Add SINCE, SINCE_IA.
3461 (org-tags-sort-function): Add custom declaration for tags
3463 (org-set-tags): Sort tags if org-tags-sort-function is set.
3465 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3467 * org-clock.el (org-clock-goto): Find hidden headlines as well.
3469 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3471 * org-plot.el (org-plot/add-options-to-plist): Add timeind
3474 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3476 * org-publish.el (org-publish-remove-all-timestamps): New function.
3477 (org-publish-all): Remove all timestamp files if `org-publish-all'
3478 is called with a prefix argument.
3480 * org-list.el (org-indent-item): Fix typo.
3481 (org-item-indent-positions): Normalize ordered bullet.
3483 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3485 * org-macs.el (org-set-local): Make a local variable, do not make
3486 the variable buffer-local!
3488 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3490 * org-exp.el (org-infile-export-plist): Read BIND lines.
3491 (org-install-letbind): New function.
3492 (org-export-as-org, org-export-preprocess-string): Call
3493 `org-install-letbind'.
3495 * org-list.el (org-list-demote-modify-bullet): New option.
3496 (org-first-list-item-p): Save point.
3497 (org-fix-bullet-type): New optional argument FORCE-BULLET.
3498 (org-indent-item): Honor `org-list-demote-modify-bullet'.
3499 (org-item-indent-positions): Return bullet types along with
3502 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3504 * org.el (org-show-entry): Hide drawers.
3506 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3508 * org-footnote.el (org-footnote-auto-adjust): New option.
3509 (org-footnote-auto-adjust-maybe): New function.
3510 (org-footnote-new, org-footnote-delete): Call
3511 `org-footnote-auto-adjust-maybe'.
3513 * org.el (org-startup-options): Add new footnote-related
3516 * org-publish.el (org-publish-timestamp-filename): Additional
3517 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3518 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3519 TRUE-PUB-DIR. Pass them through to
3520 `org-publish-timestamp-filename'.
3521 (org-publish-update-timestamp): Additional arguments PUB-DIR and
3522 PUB-FUNC, which are included in the hash.
3523 (org-publish-file): Delay timestamp test until the publishing
3526 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3528 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3529 setting the deadline.
3531 * org.el (org-read-date-final-answer): New variable.
3532 (org-read-date): Store the final answer string, including the date
3533 from the calendar, for reuse by agenda bulk commands.
3535 * org-publish.el (org-publish-attachment): Fix publishing of
3538 * org-latex.el (org-export-latex-quotation-marks): Fix export of
3539 quotation makrs in parenthesis.
3540 (org-remove-initial-hash): New function.
3541 (org-export-latex-preprocess): Fix bug with infinite loop if
3542 environment is not properly closed.
3544 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3547 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3548 highlight also when indented.
3550 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3552 * org-footnote.el (org-footnote-renumber-fn:N): New command.
3553 (org-footnote-action): Offer renumbering.
3555 * org.el (org-cycle): Honor the `integrate' value of
3556 org-cycle-include-plain-lists'.
3558 * org-list.el (org-cycle-include-plain-lists): New allowed value
3559 `internal'. Improve the docstring.
3561 * org.el (org-set-autofill-regexps): Improve the paragraph-start
3562 regexp to work better with LaTeX commands.
3564 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3566 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3569 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3571 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3574 * org.el (org-map-entries): No longer force
3575 `org-tags-match-list-sublevels' to t during a todo-only tags
3578 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3580 * org-latex.el (org-export-latex-low-levels): Allow user-defined
3582 (org-export-latex-subcontent): Handle user-defined environment.
3584 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3585 the View dispatcher.
3587 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3590 * org-latex.el (org-export-as-pdf): Protect match data during call
3591 to shell-quote-argument.
3593 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3594 (org-agenda-view-mode-dispatch): New function.
3596 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3598 * org-agenda.el (org-agenda-mode): Reset list of marks.
3599 (org-agenda-mode-map): Define new keys for refile and bulk action.
3600 (org-agenda-menu): Add menu itesm for refile and bulk action.
3601 (org-agenda-refile): New function.
3602 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3603 (org-agenda-marked-entries): New variable.
3604 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3605 (org-agenda-remove-all-bulk-action-marks)
3606 (org-agenda-bulk-action): New functions/commands.
3608 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3610 * org-exp.el (org-get-file-contents): Protect org-like lines in
3612 (org-export-format-source-code-or-example): Remove newlines.
3614 * org-latex.el (org-export-latex-links): Check for no-description
3617 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3618 argument separator back to comma.
3619 (org-export-normalize-links): Mark links without description.
3621 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3623 * org-exp.el (org-infile-export-plist): Fix bug in macro
3626 * org-agenda.el (org-agenda-clock-out): Update line after clocking
3628 (org-agenda-highlight-todo): Fix bug with highlighting.
3630 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3632 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3633 new alignment strings.
3635 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3637 (org-table-align): Check for forced align type.
3639 * org.el (org-self-insert-command): Add yas/expand to command
3642 * org-clock.el (org-clock-in-hook): New hook.
3643 (org-clock-in): Run `org-clock-in-hook.
3644 (org-clock-out-hook): New hook.
3645 (org-clock-out): Run `org-clock-out-hook.
3646 (org-clock-cancel-hook): New hook.
3647 (org-clock-cancel): Run `org-clock-cancel-hook.
3648 (org-clock-goto-hook): New hook.
3649 (org-clock-goto): Run `org-clock-goto-hook.
3651 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3653 * org.el (org-store-link): Better default description for link to
3656 * org-exp.el (org-export-generic): Autoload the generic exporter
3658 (org-export): Implement the `g' key for the generic exporter.
3660 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3662 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3665 * org-exp.el (org-infile-export-plist): Get macros also from
3668 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3670 * org-colview.el (org-columns-capture-view): Protect vertical bars
3672 (org-columns-capture-view): Exclude comment and archived trees.
3674 * org-colview-xemacs.el (org-columns-capture-view): Protect
3675 vertical bars in column values.
3676 (org-columns-capture-view): Exclude comment and archived trees.
3678 * org.el (org-quote-vert): New function.
3680 * org-latex.el (org-export-latex-verbatim-wrap): New option.
3682 * org-exp.el (org-export-format-source-code-or-example): Use
3683 `org-export-latex-verbatim-wrap'.
3685 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3688 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
3690 * org-exp-blocks.el: New file.
3692 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3694 * org-remember.el (org-remember-templates): Allow the headline
3695 element to be a function.
3696 (org-remember-apply-template): If the headline is a function, call
3697 it to get the true function.
3699 * org-clock.el (org-clock-menu): New function.
3700 (org-clock-update-mode-line): Update help string.
3701 (org-clock-modify-effort-estimate): New function.
3702 (org-clock-mark-default-task): New function.
3704 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3706 (org-org-menu): Add new clocking stuff.
3707 (org-clock-is-active): New function.
3709 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3711 * org.el (org-open-non-existing-files): Improve docstring.
3713 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3715 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3717 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3719 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3721 * org-list.el (org-get-checkbox-statistics-face): Use the new
3724 * org-faces.el (org-checkbox-statistics-todo)
3725 (org-checkbox-statistics-done): New faces.
3727 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3729 * org-latex.el (org-export-latex-use-verb): New variable.
3730 (org-export-latex-emph-format): Prefer \texttt over \verb when
3731 org-export-latex-use-verb is set.
3733 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3735 * org-remember.el (org-remember-handler): Abort remember if the
3738 * org-exp.el (org-export-format-source-code-or-example): Run
3739 `org-src-mode-hook'.
3741 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3743 * org.el (org-indent-line-function): Fix indentation of +#end lines.
3745 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
3747 * org-gnus.el (org-gnus-store-link): Require message.el in
3748 org-gnus-store-link.
3750 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3752 * org-src.el: New file, split out of org.el.
3754 * org-macs.el (org-replace-match-keep-properties): New function.
3756 * org-exp.el (org-export-mark-blockquote-verse-center): Better
3757 preprocessing of center and quote and verse blocks.
3759 * org-list.el (org-list-end): Respect the stored "original"
3760 indentation when determining the end of the list.
3762 * org-exp.el (org-export-replace-src-segments-and-examples):
3763 Remember indentation correctly.
3765 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3767 * org-clock.el (org-clock-update-mode-line): Apply face
3768 org-mode-line-clock.
3770 * org-faces.el (org-mode-line-clock): New face.
3772 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
3774 * org-gnus.el (org-gnus-store-link): Fix bug where
3775 `org-gnus-store-link' used wrong subject when called in an article
3776 buffer. Patch provided by fengli AT gmail DOT com.
3778 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3780 * org-exp.el (org-export-format-source-code-or-example): Remember
3781 the original indentation of source code snippets and examples.
3783 * org-latex.el (org-export-as-latex): Relocate the table of
3786 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3788 * org-agenda.el (org-run-agenda-series): Scope global options also
3789 when creating the agenda buffer.
3791 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3793 * org.el (org-adapt-indentation): Improve documentation.
3794 (org-insert-property-drawer): Respect org-adapt-indentation when
3795 inserting the drawer.
3796 (org-remove-flyspell-overlays-in): New function.
3797 (org-do-emphasis-faces, org-activate-plain-links)
3798 (org-activate-code, org-fontify-meta-lines-and-blocks)
3799 (org-activate-angle-links, org-activate-footnote-links)
3800 (org-activate-bracket-links, org-activate-dates)
3801 (org-activate-target-links, org-activate-tags): Remove flyspell
3804 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3806 * org.el (org-edit-src-save): New function.
3808 * org-clock.el (org-clock-out-switch-to-state): New option.
3809 (org-clock-out): Honor `org-clock-out-switch-to-state'.
3811 * org-compat.el (org-compatible-face): Improve macro.
3813 * org.el (org-global-properties-fixed): Add default for
3814 CLOCK_MODELINE_TOTAL.
3816 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3818 (org-clock-sum-current-item): Optional argument TSTART, pass it to
3820 (org-clock-get-sum-start): New function.
3822 * org.el (org-startup-options): New keywords blockhide and
3824 (org-mode): Add new invisibility spec.
3825 (org-set-startup-visibility): Hide block on startup if so
3827 (org-hide-block-startup): New option.
3828 (org-block-regexp): New constant.
3829 (org-hide-block-overlays): New variable.
3830 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3831 (org-show-block-all, org-hide-block-toggle-maybe)
3832 (org-hide-block-toggle): New functions.
3833 (org-edit-src-exit): Do not quote lines starting with # and no +
3835 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3838 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3840 * org.el (org-buffer-property-keys): Add Effort property for
3843 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3845 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3846 when retrieving total clocked time in the subtree.
3848 * org.el (org-quoting-blocks): New variable.
3850 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3852 * org-table.el (org-table-store-formulas)
3853 (org-table-get-stored-formulas, org-table-fix-formulas)
3854 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3855 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3857 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3858 indented #+TBLFM line.
3860 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3861 indented #+TBLFM line.
3863 * org-colview.el (org-dblock-write:columnview): Allow indented
3866 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3867 indented #+TBLFM line.
3869 * org-clock.el (org-dblock-write:clocktable): Allow indented
3872 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3874 * org-exp.el (org-export-format-source-code-or-example): Make
3875 editing indented blocks work correctly.
3877 * org.el (org-edit-src-nindent): New variable.
3878 (org-edit-src-code, org-edit-fixed-width-region)
3879 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3880 editing indented blocks work correctly.
3882 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3884 * org-exp.el (org-export-replace-src-segments-and-examples): Find
3886 (org-export-format-source-code-or-example): Fix indentation of
3888 (org-export-remove-indentation): New function.
3889 (org-export-select-backend-specific-text): Allow backend-specific
3890 code to be indented.
3891 (org-export-mark-blockquote-verse-center): Allow markers to be
3894 * org.el (org-fontify-meta-lines): New function.
3895 (org-set-font-lock-defaults): Call the new fontification
3898 * org-faces.el (org-meta-line): New face
3899 (org-block): New face.
3901 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3903 * org.el (org-treat-insert-todo-heading-as-state-change)
3904 (org-treat-S-cursor-todo-selection-as-state-change): New
3906 (org-insert-todo-heading): Honor
3907 `org-treat-insert-todo-heading-as-state-change'.
3908 (org-shiftright, org-shiftleft): Honor
3909 `org-treat-S-cursor-todo-selection-as-state-change'.
3910 (org-inhibit-logging): New variable.
3912 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3914 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3915 range for marker position checking.
3917 * org-latex.el (org-export-latex-first-lines): Fix bug when
3920 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3922 * org-exp.el (org-export-push-to-kill-ring): Protect using
3923 x-set-selection, because that does not always work.
3925 * org-agenda.el (org-agenda-list): Apply the new face
3926 `org-agenda-date-today'.
3928 * org-faces.el (org-agenda-date-today): New face.
3930 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3932 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3933 creating appointments.
3935 * org-latex.el (org-export-latex-low-levels): Fix customization
3938 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3941 * org-agenda.el (org-agenda-priority): Disable priority commands.
3943 * org.el (org-enable-priority-commands): New option.
3945 * org-colview-xemacs.el (org-columns-compute)
3946 (org-columns-number-to-string): Fix problems with empty fields.
3948 * org-colview.el (org-columns-compute)
3949 (org-columns-number-to-string): Fix problems with empty fields.
3951 * org-exp.el (org-export-push-to-kill-ring): New function.
3952 (org-export-copy-to-kill-ring): New option.
3954 * org-latex.el (org-export-as-latex): Call
3955 `org-export-push-to-kill-ring'.
3957 * org-exp.el (org-export-show-temporary-export-buffer): New
3960 * org-latex.el (org-export-as-latex): Use
3961 `org-export-show-temporary-export-buffer'.
3963 * org-exp.el (org-export-show-temporary-export-buffer): New
3965 (org-export-push-to-kill-ring): New function.
3967 * org-colview.el (org-columns-compile-map): New variable.
3968 (org-columns-new, org-columns-compute)
3969 (org-columns-number-to-string, org-columns-uncompile-format)
3970 (org-columns-compile-format): Implement new operators.
3972 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3974 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3976 * org-list.el (org-update-checkbox-count): Make property
3979 * org.el (org-hierarchical-todo-statistics): New option.
3980 (org-update-parent-todo-statistics): Modify to handle recursive
3983 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3985 * org-publish.el (org-publish): Make this function behave
3986 correctly in interactive use when called with a prefix argument.
3988 * org.el (org-todo-statistics-hook): New hook.
3989 (org-update-parent-todo-statistics): Use new hook.
3990 (org-log-into-drawer): New function.
3991 (org-add-log-setup): Use the new `org-log-into-drawer' function to
3992 determine if we should be logging into a drawer.
3993 (org-log-into-drawer): Update docstring.
3994 (org-default-properties): Add LOG_INTO_DRAWER as a property.
3996 * org-list.el (org-checkbox-statistics-hook): New hook.
3997 (org-update-checkbox-count-maybe): Use new hook.
3999 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4001 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
4002 better bufer-generating mechanism.
4003 (org-edit-src-find-buffer): New function.
4005 * org-icalendar.el (org-print-icalendar-entries): Don't check for
4006 archive tag, this is already done by `org-agenda-skip'.
4007 data while constructing lost of tags.
4009 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4011 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
4012 as argument separator in macros.
4014 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4016 * org.el (org-after-sorting-entries-or-items-hook): New hook.
4017 (org-sort-entries-or-items): Run the new hook.
4018 (org-after-refile-insert-hook): New hook.
4019 (org-refile): Run `org-after-refile-insert-hook'.
4021 * org-agenda.el (org-agenda-get-progress): Never take time of day
4022 from headline when displaying progress.
4024 * org-latex.el (org-export-latex-complex-heading-re): New variable.
4025 (org-export-as-latex): Force the correct regexp in the
4026 preprocessor buffer.
4027 (org-export-latex-set-initial-vars): Set
4028 `org-export-latex-complex-heading-re'.
4030 * org-agenda.el (org-agenda-start-with-log-mode): New option.
4031 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
4033 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4035 * org-latex.el (org-export-latex-tables-centered): New option.
4036 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
4038 * org-exp.el (org-export-as-org): New command.
4039 (org-export-as-org): New command.
4041 * org-publish.el (org-publish-org-to-org): New function.
4043 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4045 * org.el (org-yank): Just call `org-yank-generic'.
4046 (org-yank-generic): New function, containing the formaer
4047 functionality of `org-yank'.
4049 * org-latex.el (org-export-latex-not-done-keywords)
4050 (org-export-latex-done-keywords): New variables.
4051 (org-export-latex-todo-keyword-markup): New option.
4052 (org-export-latex-set-initial-vars): Remember the TODO keywords.
4053 (org-export-latex-keywords-maybe): Apply the TODO markup.
4055 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4057 * org-exp.el (org-infile-export-plist): Add more default macros.
4058 (org-export-preprocess-apply-macros): Process macro arguments.
4060 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4062 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
4064 (org-print-icalendar-entries): Respect the new value of
4065 `org-icalendar-include-todo'.
4067 * org.el (org-link-try-special-completion)
4068 (org-file-complete-link): New functions.
4069 (org-insert-link): Add special completion support for some link
4072 * org-bbdb.el (org-bbdb-complete-link): New function.
4074 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4076 * org-list.el (org-update-checkbox-count): Allow recursive
4078 (org-hierarchical-checkbox-statistics): New option.
4080 * org.el (org-cycle): Remove erraneous space character.
4082 * org-icalendar.el (org-icalendar-timezone): Initialize from
4085 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4087 * org.el (org-autoload): Fix autoloading of ascii export
4089 (org-modules): Add org-special-blocks.
4091 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4093 * org-icalendar.el (org-start-icalendar-file): Use the new option.
4094 (org-ical-timezone): New option.
4096 * org-exp.el (org-export-get-coderef-format): Use the description
4099 * org.el (org-sort-entries-or-items): Improve docstring, and make
4100 better implementation for time sorting.
4102 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4104 * org.el (org-edit-src-persistent-message): New option.
4105 (org-edit-src-code, org-edit-fixed-width-region): Use the new
4108 * org-clock.el (org-clock-insert-selection-line): Fix prefious
4111 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
4112 separate buffer instead of indirect buffer to edit source code.
4113 (org-edit-src-exit): Make this function work with the new setup.
4115 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
4116 are properly fontified before shown in the selection menu.
4118 * org.el (org-fontify-like-in-org-mode): New function.
4120 * org-latex.el (org-export-latex-links): Use the property list to
4121 retrieve the default image attributes.
4123 * org-exp.el (org-export-plist-vars): Add a new option.
4125 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4127 * org-exp.el (org-export, org-export-visible): Support ASCII
4129 (org-export-normalize-links): Do not protect the description if it
4130 is explicitly given.
4132 * org-list.el (org-reset-checkbox-state-subtree): Move here from
4134 (org-reset-checkbox-state-subtree): Call
4135 `org-reset-checkbox-state-subtree'.
4137 * org-remember.el (org-select-remember-template): For the
4138 selection of a valid template.
4140 * org-latex.el (org-export-region-as-latex): Supply the
4141 force-no-subtree argument.
4142 (org-export-as-latex): Provide better limits when exporting the
4143 first line. When exporting to string, we still want the first
4145 (org-export-latex-first-lines): New argument END, to force the end
4147 (org-export-region-as-latex): Use the property list.
4148 (org-export-as-latex):
4150 * org-colview-xemacs.el (org-columns-remove-overlays)
4151 (org-columns): Fix call to `local-variable-p'.
4153 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4155 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
4156 (org-export-latex-preprocess): Run the new hook.
4158 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
4159 (org-export-preprocess-string): Run the new hook.
4161 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4163 * org-macs.el (org-check-external-command): New defsubst.
4165 * org.el (org-mode-map): New key for reload.
4166 (org-format-latex): Better error message when external programs
4169 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
4171 * org.el (org-sort-entries-or-items): Explicit sorting function
4172 for priorities, needed for XEmacs compatibility.
4174 * org-remember.el (org-remember-apply-template): Improve auto-save
4177 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4179 * org-latex.el (org-export-latex-preprocess): Also protect
4180 environments ending in a star.
4182 * org-list.el (org-at-item-p): Fix regular expression.
4184 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4186 * org.el (org-end-of-subtree): Improve speed.
4188 * org-agenda.el (org-agenda-get-timestamps)
4189 (org-agenda-get-progress, org-agenda-get-deadlines)
4190 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
4191 in particular, wait as long as possible to collect the tags.
4192 (org-stuck-projects): Improve docstring.
4194 * org.el (org-store-link): No errors when getting custom id before
4196 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4198 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4200 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4202 * org-protocol.el: Remove dependency on url.el.
4203 (org-protocol-unhex-compound, org-protocol-open-source): Remove
4204 dependency on url.el.
4206 * org-latex.el (org-export-as-pdf): Use
4207 `org-latex-to-pdf-process'.
4209 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4211 * org-latex.el (org-latex-to-pdf-process): New option.
4213 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4215 (org-agenda-get-timestamps): Honor
4216 `org-agenda-skip-additional-timestamps-same-entry'.
4218 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4219 (org-clock-goto): Find recent task only if
4220 `org-clock-goto-may-find-recent-task' allows it.
4222 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4223 drawers, and drawers that are missing the :END: line.
4225 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4227 * org-clock.el (org-clock-goto): Go to recently clocked task if no
4230 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4232 * org.el (org-update-parent-todo-statistics): Check for
4233 STATISTICS_FROM property.
4235 * org-list.el (org-update-checkbox-count): Check for
4236 STATISTICS_FROM property.
4238 * org.el (org-tab-first-hook)
4239 (org-tab-after-check-for-table-hook)
4240 (org-tab-after-check-for-cycling-hook): New hooks.
4241 (org-cycle-internal-global, org-cycle-internal-local): New
4242 functions, split out from `org-cycle'.
4243 (org-cycle): Call the new hooks.
4245 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4247 * org-exp.el (org-export-preprocess-string): Reset the list of
4248 preferred targets for each run of the preprocessor.
4250 * org.el (org-refile-target-verify-function): Improve
4252 (org-get-refile-targets): Respect point being moved by the
4253 verification function.
4255 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4257 (org-export-latex-keywords): Use new option.
4259 * org.el (org-rear-nonsticky-at): New defsubst.
4260 (org-activate-plain-links, org-activate-angle-links)
4261 (org-activate-footnote-links, org-activate-bracket-links)
4262 (org-activate-dates, org-activate-target-links)
4263 (org-activate-tags): Place the rear-nonsticky properties at the
4266 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4268 * org-protocol.el (server-edit): Declare `server-edit'.
4269 (org-protocol-unhex-string, org-protocol-unhex-compound): New
4271 (org-protocol-check-filename-for-protocol): Call `server-edit'.
4273 * org.el (org-default-properties): New default properteis for
4276 * org-exp.el (org-export-add-subtree-options): Add new properties
4279 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4281 * org-id.el (org-id-get-with-outline-path-completion): Turn off
4282 org-refile-target-verify-function for the duration of the command.
4284 * org.el (org-link-to-org-use-id): New possible value
4285 `create-if-interactive-and-no-custom-id'.
4286 (org-store-link): Use custom IDs.
4287 (org-link-search): Find custom ID properties from #link.
4288 (org-default-properties): Add CUSTOM_ID for property completion.
4289 (org-refile-target-verify-function): New option.
4290 (org-goto): Turn off org-refile-target-verify-function
4291 for the duration of the command.
4293 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4295 * org-exp.el (org-export-preferred-target-alist): New variable.
4296 (org-export-define-heading-targets): Find the new CUSTOM_ID
4298 (org-export-target-internal-links): Target the custom ids when
4301 * org-latex.el (org-export-latex-preprocess): Better regexp for
4302 matching latex macros with arguments.
4304 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4306 * org-remember.el (org-remember-handler): Allow filing to non-org
4309 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
4311 * org-table.el (org-table-fix-formulas): Do not change references
4313 (org-table-get-remote-range): Convert standard coordinates to RC
4316 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4318 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4320 * org-compat.el (org-sha1-string): Function removed.
4322 * org.el (org-refile-allow-creating-parent-nodes): New option.
4323 (org-refile-get-location): New argument NEW-NODES.
4324 (org-refile): Call `org-refile-get-location' with the new
4326 (org-refile-get-location): Arrange for adding a new child.
4327 (org-refile-new-child): New function.
4329 * org-clock.el: Fix a number of docstrings.
4330 (org-clock-find-position): New argument
4331 FIND-UNCLOSED to make the function find an unclosed clock in the
4333 (org-clock-in): Call `org-clock-find-position' with the new
4334 argument if we might be resuming a clock.
4336 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4338 * org-latex.el (org-export-latex-display-custom-times): New variable.
4339 (org-export-latex-timestamp-markup): New option.
4340 (org-export-latex-set-initial-vars): Remember the local value of
4341 `org-display-custom-times'.
4342 (org-export-latex-content): Process time stamps.
4343 (org-export-latex-time-stamps): New function.
4345 * org-macs.el (org-maybe-intangible): Add intangible property
4346 again to invisible text.
4348 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4350 * org-exp.el (org-default-export-plist): Handle undefined
4353 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4355 * org.el (org-sort-entries-or-items): Match TODO keywrds
4356 case-sensitively, when sorting.
4357 (org-priority): Do not match TODO keywords with wrong case.
4359 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4361 * org.el (org-todo): Honor the NOBLOCKING property.
4363 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4364 NOBLOCKING property.
4366 * org.el (org-scan-tags): Fix bug in tag scanner.
4368 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4370 * org.el (org-modules): Mark obsolete packages.
4372 * org-html.el: New file, split out from org-exp.el.
4374 * org-icalendar.el: New file, split out from org-exp.el.
4376 * org-xoxo.el: New file, split out from org-exp.el.
4378 * org-ascii.el: New file, split out from org-exp.el.
4380 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4382 * org-compat.el (org-find-library-name): New function.
4384 * org.el (org-pre-cycle-hook): New hook.
4385 (org-cycle): Call the new hook in appropriate places.
4386 (org-reload): Only reload files that have been loaded before.
4388 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4390 * org.el (org-set-font-lock-defaults): Enforxe space or line end
4392 (org-todo): When changing TODO state, do matching
4394 (org-map-continue-from): New variable.
4395 (org-scan-tags): Respect values in `org-map-continue-from'.
4396 (org-reload): Make XEmacs compatible.
4398 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4400 * org-protocol.el (org-protocol-flatten-greedy): New function.
4401 (org-protocol-flatten): New function.
4403 * org.el (org-open-link-from-string): Pass reference buffer to
4404 `org-open-at-point'.
4405 (org-open-at-point): New optional argument `reference-buffer'.
4407 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4409 * org.el (org-scan-tags): Make tag scan find headline in first
4411 (org-get-refile-targets): Add the naked file name.
4412 (org-refile): Store as top-level entry when only file name was
4415 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4417 * org.el (org-block-todo-from-children-or-siblings-or-parent):
4418 Rename from org-block-todo-from-children-or-siblings, and
4419 enhanced to look for the parent's status as well.
4421 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4422 (org-agenda-get-progress): Add first notes line to log entry if so
4425 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4427 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4428 (org-agenda-cleanup-fancy-diary): Call the new hook.
4430 * org-remember.el (org-remember-apply-template): Take the default
4431 for the annotation from the :annotation property.
4433 * org-mac-message.el (org-mac-message-get-link): Remove the
4435 (org-mac-message-get-link): Return the result.
4437 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4439 * org.el (org-refile-get-location): Add file name only if not
4440 already included in outline path.
4442 * org-faces.el (org-n-level-faces): Fix customization type from
4445 * org-exp.el (org-export-headline-levels): Fix customization type
4446 from number to integer.
4448 * org-agenda.el (org-agenda-confirm-kill)
4449 (org-agenda-custom-commands-local-options)
4450 (org-timeline-show-empty-dates, org-agenda-ndays)
4451 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4452 customization type from number to integer.
4454 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4456 * org-protocol.el: Declare some functions.
4458 * org-agenda.el (org-agenda-compare-effort): Honor
4459 `org-sort-agenda-noeffort-is-high'.
4460 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4461 (org-agenda-compare-effort): Implement the "?" operator for
4462 finding entries without effort setting.
4464 * org.el (org-extract-attributes-from-string): New function.
4466 * org-exp.el (org-export-splice-attributes): New function.
4468 2009-08-06 Bastien Guerry <bzg@altern.org>
4469 Daniel M German <dmg@uvic.org>
4470 Sebastian Rose <sebastian_rose@gmx.de>
4471 Ross Patterson <me@rpatterson.net>
4473 * org-protocol.el: New file.
4475 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
4477 * org-docbook.el: New file.
4479 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4481 * org-mouse.el: XEmacs compatibility fixes.
4483 * org.el (org-modules): Add org-inlinetasks.el
4484 (org-cycle): Implement limiting level on cycling.
4485 (org-move-subtree-down): Fix bug with swapping subtrees at end of
4488 * org-inlinetask.el: New file.
4490 * org.el (org-emphasis-regexp-components): Allow braces in
4491 emphasis pre and post match.
4493 * org-footnote.el (org-footnote-normalize): When only dorting, do
4494 not insert inline notes at the end.
4496 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4498 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4500 * org.el (org-reftex-citation): New command.
4502 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4504 * org-agenda.el (org-agenda-cmp-user-defined): New option.
4505 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4507 (org-entries-lessp): Apply the new sorting option.
4509 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4510 blocker code, when an older sibling has children.
4512 * org-mac-message.el (org-mac-message-get-link): Improve getting
4513 links from multiple selected messages.
4515 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4517 * org-remember.el (org-remember-finalize): Do not set buffer file
4519 (org-remember-handler): Mark buffer as unmodified.
4520 (org-remember-handler): Delete backup file and show message about
4521 remaining backup files.
4522 (org-remember-auto-remove-backup-files): New option.
4524 * org.el (org-store-link): Use buffer name as link description in
4526 (org-ido-switchb): Fix argument bug for completion.
4528 * org-remember.el (org-remember-apply-template): Set local
4529 variable `auto-save-visited-file-name' instead of global one.
4531 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4533 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4534 (org-agenda-get-todos): Mark file tags as inherited.
4535 (org-agenda-list): Always search diary lines for a time.
4537 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4539 * org-feed.el: New file.
4541 * org-exp.el (org-export-as-html): Close local lists depending on
4542 indentation, also when starting a table.
4544 * org-remember.el (org-remember-backup-directory)
4545 (org-remember-backup-name): New internal variable.
4547 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4549 * org-clock.el (org-clock-out-if-current): Make buffer detection
4550 work in indirect buffers as well.
4552 * org.el (org-emphasis-regexp-components): Add the exxclamation
4553 mark to the post-emphasis characters.
4555 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4557 * org.el (org-read-date-minibiffer-septup-hook): New hook.
4558 (org-read-date): Run the new hook.
4560 * org-mac-message.el (org-mac-flagged-mail): New group.
4561 (org-mac-mail-account): New variable.
4562 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4565 * org-remember.el (org-remember-backup-directory): New variable.
4566 (org-remember-apply-template): Write file to backup directory.
4568 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4570 * org-mouse.el (org-mouse-todo-menu): New function.
4571 (org-mouse-todo-keywords): Function removed.
4572 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4574 * org-table.el (org-table-beginning-of-field)
4575 (org-table-end-of-field): New commands
4576 (org-table-previous-field, org-table-beginning-of-field): Better
4578 (orgtbl-setup): Include `M-a' and `M-e'.
4580 * org.el (org-backward-sentence, org-forward-sentence): New
4583 * org-colview.el (org-colview-initial-truncate-line-value): New
4585 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4586 (org-columns): Remember the value of `truncate-lines'.
4588 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4590 (org-columns-remove-overlays): Restore the value of
4592 (org-columns): Remember the value of `truncate-lines'.
4594 * org.el (org-columns-skip-arrchived-trees): New option.
4596 * org-agenda.el (org-agenda-export-html-style): Define color for
4597 org-agenda-done face.
4598 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4599 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4601 * org.el (org-scan-tags): Use the new face.
4603 * org-faces.el (org-agenda-done): New face.
4605 * org.el (org-scan-tags): Test the value org
4606 `org-tags-match-list-sublevels'.
4607 (org-tags-match-list-sublevels): New allowed value: indented.
4609 * org-latex.el (org-export-latex-make-header): Apply macros
4612 * org-exp.el (org-export-apply-macros-in-string): New function.
4614 * org-latex.el (org-export-latex-list-parameters): Fix bug
4615 with the definition of a checked box.
4617 * org-clock.el (org-clock-find-position): Fix drawer indentations.
4619 * org-latex.el (org-export-latex-low-levels): More options
4620 for how to process lower levels in LaTeX.
4621 (org-export-latex-subcontent): Better treatment for lists as a
4622 means of publishing lower levels.
4624 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4626 * org.el (org-set-font-lock-defaults): Use new checkbox face.
4628 * org-faces.el (org-checkbox): New face.
4630 * org-exp.el (org-export-html-preprocess): Only create LaTeX
4631 fragement images if there is an export file.
4633 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4635 * org-agenda.el (org-stuck-projects): Document that the subtree of
4636 projects that are not stuck will now be searched for stuck
4638 (org-agenda-skip-entry-when-regexp-matches)
4639 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4640 (org-agenda-list-stuck-projects): Use
4641 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4643 * org-latex.el (org-export-latex-preprocess): Improve
4646 * org-exp.el (org-export-as-html): Implement centering as a div
4647 rather than a paragraph. Do a better job with line-end in verse
4650 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4652 * org.el (org-open-at-point): Fix tags searches by mouse click.
4654 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4656 * org-latex.el (org-export-latex-preprocess): Implement the
4659 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
4660 from `org-export-mark-blockquote-and-verse'.
4661 (org-export-as-html): Implement the centering markup.
4663 * org-latex.el (org-export-latex-tables): Fix vertical
4666 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4668 * org.el (org-read-date-history): New variable.
4669 (org-read-date): Use new history variable.
4670 (org-toggle-heading): Fix bug when used before first headline.
4671 (org-store-log-note): Remove drawer if empty while note is
4673 (org-remove-empty-drawer-at): New function.
4674 (org-check-after-date): New command.
4675 (org-sparse-tree): New sparse tree command "a".
4677 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4679 2009-08-06 Bastien Guerry <bzg@altern.org>
4681 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4682 column and a space, not only a column.
4684 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4686 * org-latex.el (org-export-latex-emphasis-alist): Better
4687 defaults for verbose emphasis.
4688 (org-export-latex-emph-format): New function.
4689 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4691 * org-agenda.el (org-agenda-menu): Add new commands to menu.
4692 (org-agenda-do-date-later, org-agenda-do-date-earlier)
4693 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4694 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4697 * org.el (org-timestamp-change): Move end-time along with start
4700 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4702 * org-exp.el (org-export-target-internal-links)
4703 (org-export-as-html): Protect links specified as #name.
4705 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4707 * org.el (org-clone-subtree-with-time-shift): New command.
4709 * org-latex.el (org-export-latex-special-chars)
4710 (org-export-latex-treat-sub-super-char): Fix subscript export.
4712 * org-exp.el (org-create-multibrace-regexp): Do not add
4713 backslashes to the class.
4715 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4717 * org-colview.el (org-columns-map): Better functions for moving up
4718 and down a row, even if `truncate-line' is nil.
4720 * org.el (org-insert-todo-heading): Make sure the keyword is
4721 inserted at the correct position.
4723 * org-publish.el (org-publish-project-alist)
4724 (org-publish-projects, org-publish-org-index): Change default anme
4725 for the index of file names to "sitemap.org".
4727 * org-latex.el (org-export-latex-tables): Use
4728 `org-split-string', for Emacs 21 compatibility.
4730 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4732 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4734 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4736 * org-exp.el (org-export-page-description)
4737 (org-export-page-keywords): New variables.
4738 (org-export-plist-vars): Add entries for :keywords and
4740 (org-infile-export-plist): Parse for new keywords.
4741 (org-get-current-options): Add new keywords
4742 (org-export-as-html): Publish description and keywords.
4744 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4746 (org-agenda-add-entry-text): Honor
4747 `org-agenda-add-entry-text-descriptive-links'.
4749 * org-latex.el (org-export-latex-preprocess): Make all
4750 external preprocess functions use a PARAMETER arg.
4752 * org-exp.el (org-export-preprocess-string)
4753 (org-export-select-backend-specific-text)
4754 (org-export-format-source-code-or-example)
4755 (org-format-org-table-html): Support docbook export.
4756 (org-export-preprocess-string): Make all external preprocess
4757 functions use a PARAMETER arg.
4759 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4761 * org-exp.el (org-export-html-style-include-scripts): New option.
4762 (org-export-plist-vars): Add new option
4763 `org-export-html-style-include-scripts'.
4764 (org-export-as-html): Honor new option
4765 `org-export-html-style-include-scripts'.
4766 (org-export-html-scripts, org-export-html-style-default): Fix
4767 xml issues with the Safari browser.
4769 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4771 * org-publish.el (org-publish-attachment): Only copy file when the
4774 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4776 * org-clock.el (org-clocktable-steps): Use inactive time stamps
4777 for clocktable steps.
4779 * org.el (org-additional-option-like-keywords): Add two more
4782 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4784 * org-exp.el (org-export-format-source-code-or-example): Mark
4785 temporary buffer unmodified, so that it will be killed even if
4786 mode like message mode has decided to assign a file name.
4788 * org.el (org-scan-tags): Improve tag inheritance.
4789 (org-scan-tags, org-make-tags-matcher): Make tag comparison
4791 (org-scan-tags): Use the internal tags list instead of creating it
4793 (org-trust-scanner-tags, org-scanner-tags): New variables.
4794 (org-scan-tags): Set `org-scanner-tags'.
4795 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4796 (org-map-entries): Document the possible speedup using scanner
4799 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4801 * org.el (org-add-planning-info): Fix bug with looking for keyword
4804 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4805 option for tags filter preset.
4806 (org-prepare-agenda): Store filter preset as a property on the
4808 (org-finalize-agenda): Call the filter, if there is a preset.
4809 (org-agenda-filter-by-tag): Filter again after clearing the
4810 filter, when there still is a preset.
4811 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4812 Include the preset filter.
4813 (org-agenda-redo): Apply the filter again, also the preset filter.
4815 * org-exp.el (org-export-as-html): Use IDs in the correct way.
4817 * org.el (org-uuidgen-p): New funtion.
4819 * org-agenda.el (org-agenda-fontify-priorities): New default value
4821 (org-agenda-fontify-priorities): Rename from
4822 org-fontify-priorities.
4824 * org.el (org-set-font-lock-defaults): Call
4825 `org-font-lock-add-priority-faces'.
4826 (org-font-lock-add-priority-faces): New function.
4828 * org-faces.el (org-set-tag-faces): New option.
4829 (org-priority-faces): New variable.
4831 * org-exp.el (org-export-as-html): Add a "content" div around the
4832 entire content of the body tag.
4833 (org-export-html-get-bibliography): New function.
4834 (org-export-html-validation-link): New variable.
4835 (org-export-as-html): Add validation link to exported page.
4837 * org.el (org-match-sparse-tree): Rename from
4838 `org-tags-sparse-tree'.
4839 (org-tags-sparse-tree): New alias.
4841 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4843 * org.el (org-get-valid-level): Catch the case where the level
4846 * org-clock.el (org-clock-find-position): Better indentation of
4849 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4851 * org-agenda.el (org-agenda-quit): Delete window only when the
4852 frame-setup was not `current-window'.
4854 * org.el (org-tag-persistent-alist): New option.
4855 (org-startup-options): Add keyword `noptag'.
4856 (org-fast-todo-selection): Handle :newline correctly.
4857 (org-set-tags): Handle :newline correctly.
4858 (org-fast-tag-selection): Handle :newline correctly.
4860 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4862 * org-exp.el (org-export-as-ascii): Reverse link buffer before
4864 (org-export-ascii-push-links): Fix bug with pussing links into the
4867 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4869 * org-archive.el (org-archive-subtree): Do not add 1 to level if
4870 pasting at top level.
4872 * org-bbdb.el: Improve documentation.
4874 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4876 * org-list.el (org-insert-item): Only consider insert empty lines
4877 is `org-empty-line-terminates-plain-lists' is not nil.
4879 * org.el (org-blank-before-new-entry): Mention the dependence on
4880 `org-empty-line-terminates-plain-lists' in the docstring.
4882 * org-publish.el (org-publish-get-project-from-filename): New
4883 optional argument UP. Only find the top project if UP is set.
4884 (org-publish-current-project): Find the top encloding project.
4886 * org-agenda.el (org-agenda-before-write-hook)
4887 (org-agenda-add-entry-text-maxlines): New options.
4888 (org-write-agenda): Run the new hook in the temporary buffer.
4889 (org-agenda-add-entry-text): New function.
4890 (org-write-agenda): Implement PDF export, using ps2pdf.
4892 * org.el (org-global-properties-fixed, org-global-properties):
4893 Improve documentation string.
4895 * org-exp.el (org-export-ascii-links-to-notes): New option.
4896 (org-export-as-ascii): Handle links better.
4897 (org-export-ascii-wrap, org-export-ascii-push-links): New
4900 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4902 * org-agenda.el (org-agenda): Make prefix arg optional.
4903 (org-agenda-search-headline-for-time): New option.
4904 (org-format-agenda-item): Honor
4905 `org-agenda-search-headline-for-time'.
4907 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4910 * org.el (org-self-insert-cluster-for-undo): New option.
4911 (org-self-insert-command): Cluster undo for 20 characters.
4912 (org-self-insert-command-undo-counter): New variable.
4914 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4916 * org-exp.el (org-export-as-html): Fix problem with closing colone
4919 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4921 * org-latex.el (org-export-as-latex)
4922 (org-export-latex-first-lines): Avoid modification flag when
4923 adding or removing text properties.
4924 (org-export-latex-fontify): Catch error when org-emph-alist has
4925 entries that are not defined for LaTeX export.
4927 * org-export-latex.el: renamed to org-latex.el.
4929 * org-latex.el: renamed from org-export-latex.el.
4931 * org.el (orgstruct++-mode): New function.
4932 (turn-on-orgstruct++): Call `orgstruct++-mode'.
4933 (org-context-p): Allow detecting item context after the first line
4935 (orgstruct-make-binding): Detect if item-body context should be
4937 (orgstruct-is-++): New variable.
4938 (org-add-planning-info): Catch the case when there is no planning
4939 info yet and the call does not want to add anything, only maybe
4940 tries to remove something.
4941 (org-special-ctrl-a/e): All value to be a cons cell with separate
4942 settings for `C-a' and `C-e'.
4943 (org-beginning-of-line, org-end-of-line): Honor separate values
4944 for `C-a' and `C-e'.
4946 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4948 * org.el (org-reload): New command.
4950 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
4952 * org-gnus.el (org-gnus-store-link): Fix bug where
4953 org-gnus-store-link used wrong subject when called in an article
4954 buffer. Patch provided by fengli AT gmail DOT com.
4956 2009-03-13 D. Goel <deego3@gmail.com>
4958 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
4959 replace ls by (values-list ls).
4961 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
4963 * org-remember.el (org-remember-apply-template): Turn off ido for
4966 * org.el (org-priority): Also find invisible headings, for remote
4968 (org-completing-read-no-ido): New function.
4969 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
4971 * org-colview.el (org-columns-edit-value): No special treatment of
4974 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
4976 * org.el (org-block-todo-from-children-or-siblings): Use
4977 `org-up-heading-all' so that this will work correctly with hidden
4978 property drawers and entries.
4979 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4980 falling back to normal, default command.
4981 (org-get-location): Temporarily turn off special behavior.
4983 2009-02-13 Glenn Morris <rgm@gnu.org>
4985 * org-rmail.el (rmail-show-message): Restore argument list to the
4986 declaration now that this functions behaves in Emacs 23 as in 22.
4988 2009-02-12 Glenn Morris <rgm@gnu.org>
4990 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
4992 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
4994 * org-footnote.el (org-footnote-action): Fix doc typo.
4996 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
4998 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
4999 text before first headline.
5000 (org-export-remove-or-extract-drawers): Fix regular expression for
5003 * org.el (org-format-latex): Stop LaTeX fragment processing in
5006 2009-02-05 Glenn Morris <rgm@gnu.org>
5008 * org-rmail.el (rmail-show-message): Update declaration.
5009 (rmail-buffer, rmail-view-buffer): Declare.
5010 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
5012 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
5014 * org.el (org-return-follows-link): Revert setting
5015 `org-return-follows-link' to t by default.
5017 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
5019 * org.el (org-cycle-global-at-bob): Fix typo.
5021 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
5023 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
5025 * org.el (org-mode): Make dependence stuff work more reliably.
5026 (org-update-parent-todo-statistics): Fix bug with updating
5028 (org-yank-adjusted-subtrees, org-return-follows-link)
5029 (org-use-fast-todo-selection, org-tags-column): New default
5030 setting for variables.
5032 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
5033 ~ as verbatim delimiters, to avoid table bug.
5034 (org-export-latex-classes): Remove the a4paper option from the
5037 * org-exp.el (org-export-html-format-image): New argument
5038 PAR-OPEN, to fix XHTM validation bug.
5039 (org-export-as-html): Pass par-open to
5040 `org-export-html-format-image'.
5041 (org-export-html-footnotes-section): Use a more consistent id for
5044 * org-agenda.el (org-agenda-sorting-strategy)
5045 (org-agenda-tags-column): New default setting for variables, based
5046 on a poll what typical uses use.
5047 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
5048 setting the blocked tag.
5050 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
5052 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
5053 only checking for blocks.
5055 * org-exp.el (org-export-html-footnotes-section): Make the div id
5058 * org-export-latex.el (org-export-latex-classes): Remove
5059 paper size option from LaTeX classes.
5061 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
5063 * org.el (org-enforce-todo-checkbox-dependencies): New option.
5064 (org-block-todo-from-checkboxes): New function.
5065 (org-todo): Make tripple prefix arg circumvent blocking.
5067 2009-01-30 Glenn Morris <rgm@gnu.org>
5069 * org-list.el (org-empty-line-terminates-plain-lists)
5070 (org-toggle-checkbox): Doc fixes.
5072 * org-table.el (org-table-clean-before-export): Fix declaration.
5074 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
5076 * org-timer.el (org-timer): Provide the timer feature.
5078 * org.el (org-require-autoloaded-modules): Add a few more files to
5079 the list of autoloaded modules.
5081 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5083 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5084 drawers that are unprotected.
5085 (org-export-html-format-image): Make sure inlined LaTeX fragment
5086 images remain inlined.
5088 * org.el (org-toggle-ordered-property): New function.
5089 (org-mode-map): Add a key for `org-toggle-ordered-property'.
5090 (org-org-menu): Add menu entries for TODO dependencies.
5092 * org.el (org-default-properties): Add ORDERED to the default
5093 properties, to get completion support for it.
5095 * org-list.el (org-update-checkbox-count): Update more than one cookie.
5097 * org.el (org-update-parent-todo-statistics): Update more than one
5100 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
5102 * org-agenda.el (org-agenda-get-todos): Start search from correct
5105 * org.el (org-fast-todo-selection): Make sure TODO selection does
5106 not change buffer position.
5108 * org-list.el (org-toggle-checkbox): Implement adding or removing
5109 checkboxes from line or region when called with a prefix
5112 * org-rmail.el (org-rmail-store-link): Protect the call to
5113 `rmail-narrow-to-non-pruned-header'.
5115 * org-clock.el (org-clock-special-range): Fix week display in
5118 * org-exp.el (org-get-current-options): Fix bug when in indirect
5121 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5122 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5123 (org-agenda-dim-blocked-tasks): New function.
5125 * org.el (org-enforce-todo-dependencies): New option.
5126 (org-block-todo-from-children-or-siblings): New function.
5128 * org-faces.el (org-agenda-dimmed-todo-face): New face.
5130 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
5132 * org.el (org-todo): Return correct state type even if the blocker
5134 (org-modifier-cursor-error): Rename from
5135 `org-shiftcursor-error'.
5136 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5137 (org-shiftmetadown): Call `org-modifier-cursor-error'.
5139 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5140 to get real errors from the blocker hook.
5142 * org.el (org-shiftselect-error, org-call-for-shift-select): New
5144 (org-set-visibility-according-to-property): Turn off the setting
5145 of `org-show-entry-below', to avoid overruling a FOLDED visibility
5148 * org.el (org-support-shift-select): New option.
5149 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5150 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5151 selection outside contexts.
5153 * org-list.el (org-at-item-bullet-p): New function.
5155 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5158 * org-footnote.el (org-footnote-normalize): Remove unnecessary
5160 (org-insert-footnote-reference-near-definition): Remove
5161 unnecessary let form.
5163 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
5165 * org-export-latex.el (org-export-as-latex): Call
5166 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
5167 (org-export-latex-first-lines): New parameter OPT-PLIST.
5169 * org.el (org-yank): Tell `delete-selection-mode' about
5172 * org-faces.el (org-clock-overlay): Fix face definition.
5174 * org-export-latex.el (org-export-latex-first-lines): Pass
5175 timestamp and footnote parameters to the preprocessor.
5177 * org-exp.el (org-export-remove-timestamps): Do not remove time
5178 stamps inside tables.
5180 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5182 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5184 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5187 * org-table.el (org-table-insert-hline): Fix typo in fuction call
5190 * org-exp.el (org-export-as-html): Remove the initial space from
5193 * org.el (org-scan-tags): Call
5194 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5196 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5197 customization groups.
5198 (org-agenda-tags-todo-honor-ignore-options): New option.
5199 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5201 (org-agenda-get-todos): Use
5202 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5204 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5206 * org-exp.el (org-export-format-source-code-or-example): Escape
5207 HTML characters also in examples that anre not treated with
5208 htmlize. Also, just switch to EXAMPLE processing if we do not
5209 have a good version of htmlize.
5211 * org-rmail.el: Fix copyright notice.
5213 * org.el (org-activate-footnote-links): Improve footnote link
5216 * org-footnote.el (org-footnote-normalize): Fix finding the end of
5217 a footnote definition at the end of the file.
5219 * org-table.el (org-table-get-specials): Add an imagined hline at
5220 the end of the table. This can be useful for references that want
5221 to go to the end of the table. Also fix bug when computing last
5222 row constants, in tables that do not start right at the right
5224 (org-table-eval-formula): Match and replace remove references.
5225 (org-table-formula-substitute-names): Make sure that names inside
5226 a "remote" call are left alone, the will be replaced later when
5227 the remote call is handled.
5228 (org-table-convert-refs-to-rc): Do not convert things that might
5229 look like a reference, but are really part of an ID or namei n a
5231 (org-table-get-remote-range): New function.
5233 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5235 * org-faces.el (org-clock-overlay): Fix bug in face definition.
5237 * org-clock.el (org-clock-put-overlay): Use new face instead of
5238 `secondary-selection'.
5240 * org-faces.el (org-clock-overlay): New face.
5242 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5244 * org-exp.el (org-get-current-options): Include the option for
5245 publishing time stamps.
5247 * org.el (org-toggle-heading): Rename from
5248 `org-toggel-region-headings'.
5249 No longer needs a region defined, but will use it if there is one.
5250 (org-ctrl-c-star): Simplify, relying more on the internal
5251 workings of `org-toggle-heading'.
5252 (org-toggle-item): Rename from `org-toggle-region-items'.
5253 No longer needs a region defined, but will use it if there is one.
5254 (org-ctrl-c-minus): Simplify, relying more on the inernal
5255 workings of `org-toggle-item'.
5257 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5258 environment detection. Also, do real changes only in unprotected
5261 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5263 * org-export-latex.el (org-export-latex-quotation-marks): Use
5264 `org-if-unprotected-1'.
5265 (org-export-latex-set-initial-vars): Check for class definition in
5268 * org-macs.el (org-if-unprotected-1): New macro.
5270 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5272 * org-compat.el (org-count-lines): New function.
5274 * org-exp.el (org-export-format-source-code-or-example): Handle
5275 switches related to text areas.
5277 * org.el (org-activate-footnote-links): Don't allow match inside a
5280 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5282 * org-export-latex.el (org-export-latex-links): Keep a relative
5283 path relative also after export.
5285 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5287 * org.el (org-make-tags-matcher): Never use IDO for completing the
5288 tags matcher match string.
5289 (org-completing-read): Also remove the special biding for "?".
5291 * org-attach.el (org-attach-allow-inheritance): New option.
5292 (org-attach-inherited): New variable.
5293 (org-attach-dir): Handle properties related to the attachment
5295 (org-attach-check-absolute-path): New function.
5296 (org-attach-set-directory, org-attach-set-inherit): New commands.
5297 (org-attach): Accommodate the new commands in the dispatcher.
5299 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5301 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5302 `window-full-width-p'.
5304 * org-exp.el (org-export-as-html): Only check for images files
5305 that really can be inlined.
5307 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5308 list of extensions to be a parameter.
5310 * org-exp.el (org-export-html-inline-image-extensions): New
5313 * org-agenda.el (org-prepare-agenda): Use
5314 `org-agenda-block-separator'.
5315 (org-agenda-block-separator): New option.
5317 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5319 * org-export-latex.el (org-export-latex-tables): Call
5320 `org-table-clean-before-export' with the new optional argument.
5322 * org-exp.el (org-table-clean-before-export): New optional
5323 parameter MAYBE-QUOTED, allows for quoted characters like \# in
5326 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5328 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5331 * org-colview.el (org-colview-construct-allowed-dates): Better
5332 error catching when a date/time property does not have allowed
5335 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5336 Better error catching when a date/time property does not have
5337 allowed values defined.
5339 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5341 * org.el (org-map-entries): Restore point and restriction after
5344 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5346 * org.el (org-time=, org-time<, org-time<=, org-time>)
5347 (org-time>=, org-time<>): Make sure both values are dates.
5349 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5351 * org-archive.el (org-extract-archive-heading): Allow %s for file
5352 name also in achive location heading.
5354 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5356 * org-archive.el (org-add-archive-files): Uniquify the list before
5359 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5361 * org-compat.el (org-fit-window-to-buffer): Use
5362 `window-full-width-p'.
5364 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5365 space after the colon in short examples.
5367 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5368 enforce a space after the colon. However, we also allow lines
5369 that are *only* a colon.
5370 (org-export-as-html): Enforce the space after the colon in short
5372 (org-export-preprocess-string): Do the colon example protection
5374 (org-export-remove-timestamps): Do not check for protection at the
5377 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5379 * org.el (org-format-latex-options): Add new matcher for single
5380 letters between dollars.
5381 (org-get-header): Function removed.
5382 (org-heading-components): New function.
5384 * org-exp.el (org-export-define-heading-targets): Record ID's also
5385 as alternative targets.
5386 (org-export-as-html): Interpret "id:" links to other files by
5387 preserving the relative path.
5389 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5392 * org-exp.el (org-export-normalize-links): Protect the main link,
5393 to avoid special character processing.
5395 * org-export-latex.el (org-export-latex-special-keyword-regexp):
5397 (org-export-latex-special-string-regexps): Variable removed.
5398 (org-export-latex-keywords): Use the new regexp.
5400 * org-exp.el (org-export-handle-include-files): Fetch switches and
5401 put them into the BEGIN statement.
5403 * org-timer.el (org-timer-mode-line-string): New variable.
5405 * org-clock.el (org-clock-mode-line-map): Rename from
5406 `org-clock-mode-map'.
5407 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
5408 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
5409 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
5410 (org-clock-remove-overlays): Rename from
5411 `org-remove-clock-overlays'.
5413 * org-timer.el (org-timer-pause-or-continue): Implement stopping
5414 and mode line display.
5415 (org-timer-stop): New command.
5416 (org-timer-seconds): Return correct time when timer is paused.
5417 (org-timer-mode-line-timer): New variable.
5418 (org-timer-set-mode-line, org-timer-update-mode-line): New
5421 * org.el (org-insert-heading): Handle new value `auto' for
5422 `org-blank-before-new-entry'.
5423 (org-org-menu): Add new items for timer functions.
5425 * org-list.el (org-insert-item): Handle new value `auto' for
5426 `org-blank-before-new-entry'.
5428 * org.el (org-blank-before-new-entry): New value `auto', made
5431 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5433 * org-exp.el (org-export-normalize-links): If the link is also
5434 used as the description, protect the description.
5436 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5438 * org.el (org-closest-date): Fix bug with yearly repeats, in
5439 combination with preference of the past as it is used for deadline
5440 and scheduling search.
5442 * org-exp.el (org-html-handle-time-stamps): No longer check for
5443 the `org-export-with-timestamps' option, because the preprocesser
5444 has taken care of this already.
5446 * org.el (org-entry-properties): Catch the case when this is
5447 called in a non-org-mode file.
5449 * org-export-latex.el (org-export-latex-remove-from-headlines):
5450 Variable made obsolete, also LaTeX export now uses the standard
5452 (org-export-as-latex): Add the timestamps parameter to the
5453 preprocessor parameter list.
5454 (org-export-latex-content): Export the remaining keywords without
5455 considering to remove them.
5456 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5457 Use bold font instead of tt font for the keywords.
5458 (org-export-latex-fontify-headline): Format headlines, assuming
5459 that all keywords still present should be published.
5460 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5461 publish what ever remains of the time stamps.
5462 (org-export-latex-list-parameters): New option.
5463 (org-export-latex-lists): Pass additional parameters to the list
5466 * org-exp.el (org-export-preprocess-string): Remove clock lines
5467 and timestamps already in the preprocesor.
5468 (org-export-remove-timestamps, org-export-remove-clock-lines): New
5470 (org-export-as-ascii, org-export-as-html): Add the timestamps
5471 parameter to the preprocessor parameter list.
5473 * org-list.el (org-list-parse-list): Parse for checkboxes.
5474 (org-list-to-generic): Introduce and handle new parameters :cbon
5476 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5477 optional parameter PARAMS.
5479 * org-export-latex.el (org-export-latex-special-chars): Fix
5480 problems with interpreting dollar signs.
5481 (org-inside-latex-math-p): New function.
5482 (org-export-latex-preprocess): Protect all the math fragments.
5484 * org.el (org-latex-regexps): Allow a dash after a dollar.
5486 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5489 * org-agenda.el (org-run-agenda-series): Have series options set
5490 when finalizing the agenda.
5492 * org-exp.el (org-export-format-source-code-or-example): Protect
5493 the converted examples.
5495 * org.el (org-set-regexps-and-options): Fix the regexp
5496 `org-complex-heading-regexp'.
5498 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5500 * org.el (org-edit-src-get-label-format): New function.
5501 (org-coderef-label-format): New option.
5502 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5503 a label format specification and make sure it is used in the edit
5505 (org-edit-src-get-label-format): New function.
5506 (org-store-link): Handle new coderef formats.
5507 (org-link-search): Handle new coderef formats.
5509 * org-footnote.el (org-footnote-create-definition)
5510 (org-footnote-goto-local-insertion-point): Make footnote insertion
5511 work correctly when the "Footnotes" headline is the last line in
5514 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5517 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5519 * org-w3m.el (org-w3m): New customization group.
5520 (org-w3m-deactivate-mark): New option.
5521 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5524 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5526 * org.el (org-set-font-lock-defaults): Trigger footnote
5528 (org-activate-footnote-links): New function.
5529 (org-activate-links): New entry `footnote'.
5531 * org-faces.el (org-footnote): New face.
5533 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5535 * org-macs.el (org-re): Handle the [:word:] class.
5537 * org-exp.el (org-export-preprocess-string): Call
5538 `org-export-protect-colon-examples'.
5539 (org-export-protect-colon-examples): Rename from
5540 `org-export-protect-examples', and scope limited to lines starting
5543 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5545 * org-exp.el (org-export-preprocess-string): Move the preprocess
5546 hook to after turning on Org-mode.
5547 (org-export-preprocess-after-include-files-hook)
5548 (org-export-preprocess-after-tree-selection-hook)
5549 (org-export-preprocess-before-backend-specifics-hook)
5550 (org-export-preprocess-final-hook): New hooks.
5551 (org-export-preprocess-string): Run the new hooks.
5553 * org.el (org-ctrl-c-minus): Fix indentation for new items.
5555 * org-footnote.el: New file.
5557 * org.el (org-footnote): Require footnote code.
5558 (org-startup-options): Add new footnote options.
5559 (org-mode-map): New keybindig for footnotes.
5560 (org-ctrl-c-ctrl-c): Add function at footnotes.
5561 (org-org-menu): New menu entries for footnotes.
5563 * org-export-latex.el (org-export-as-latex): Pass footnote
5564 variable to preprocessor.
5565 (org-export-latex-preprocess): Treat multiple references to a
5568 * org-exp.el (org-export-preprocess-string): Call
5569 `org-footnote-normalize'.
5570 (org-export-as-ascii, org-export-as-html): Pass footnote variable
5572 (org-export-as-html): Treat multiple references to a footnote.
5574 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5576 * org-export-latex.el (org-export-latex-links): Handle coderef
5579 * org.el (org-bracket-link-analytic-regexp++): New variable.
5580 (org-make-link-regexps): Initialize
5581 `org-bracket-link-analytic-regexp++'.
5582 (org-store-link): Implement special case in edit-src buffer.
5583 (org-insert-link): No use of ide to insert stored links.
5584 (org-link-search): Implement special case for coderefs.
5586 * org-exp.el (org-export-html-scripts): New constant.
5587 (org-export-html-style-default): Add a new style for highlighted
5589 (org-export-code-refs): New variable.
5590 (org-export-preprocess-string): Initialize `org-export-code-refs'.
5591 Call `org-export-replace-src-segments-and-examples'
5592 No longer call `org-export-protect-examples'.
5593 (org-export-target-internal-links): Take care of coderef targets.
5594 (org-export-last-code-line-counter-value): New variable.
5595 (org-export-replace-src-segments-and-examples): Rename from
5596 `org-export-replace-src-segments', and modified.
5597 (org-export-format-source-code-or-example): Rename from
5598 `org-export-format-source-code'.
5599 (org-export-number-lines): New function.
5600 (org-export-as-ascii, org-export-as-html): Handle coderef links.
5602 2009-01-23 Glenn Morris <rgm@gnu.org>
5604 * org-rmail.el (rmail-narrow-to-non-pruned-header):
5605 Remove declaration of deleted function.
5607 2009-01-16 Glenn Morris <rgm@gnu.org>
5609 * org-mouse.el (org-mouse-show-context-menu): Use
5610 mouse-menu-major-mode-map, if defined, rather than the obsolete
5611 mouse-major-mode-menu.
5613 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
5615 * org-remember.el (org-remember-handler): Safer way to get a new
5616 buffer accessing the target file.
5618 * org.el (org-refile-get-location): Handle case of current buffer
5619 not having a file associated with it.
5621 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
5623 * org-table.el (org-table-get-formula): Only ask to overwrite
5624 field formula if there really is one.
5626 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
5628 * org-export-latex.el (org-export-latex-make-header): Double the
5629 commenting % in the time stamp format.
5630 (org-export-latex-special-chars): Handle case where there is no
5633 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5635 * org.el (org-get-refile-targets, org-refile-get-location): Use
5636 expanded file name to improve comparison.
5638 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5640 * org.el (org-scan-tags): Rescan for tags, to get the correct
5641 upcase/downcase stuff. This slows things down for now, but it
5643 (org-mode): Make sure the tag-faces regexp is initialized.
5645 * org-export-latex.el (org-export-latex-links): Fix bug with
5648 * org-table.el (org-table-get-specials): Set
5649 `org-table-current-last-data-line'.
5650 (org-table-current-last-data-line): New variable.
5651 (org-table-insert-column, org-table-delete-column)
5652 (org-table-move-column, org-table-fix-formulas): Call
5653 `org-table-fix-formulas' a second time to fix the $LR references.
5654 (org-table-get-specials): Add the $LR references to the tables.
5655 (org-table-get-formula): Do not offer last-row names as LHS of
5658 * org.el (org-store-link): Capture link description from
5659 `org-id-store-link'.
5661 * org-exp.el (org-export-html-format-image): Add the / to the end
5663 (org-export-format-source-code): Surround example by empty lines,
5664 to make sure it will not be inside a paragraph.
5666 * org.el (org-ido-switchb): New function.
5668 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5670 * org-agenda.el (org-agenda-show): New prefix argument
5673 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5676 2008-12-20 Glenn Morris <rgm@gnu.org>
5678 * org.el (org-org-menu): Fix some more menu entries.
5680 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
5682 * org-table.el (org-table-get-specials): Revert introduction of @0
5683 as reference of the last table row, because of conflicts.
5685 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
5686 argument, get the current tags directly.
5687 (org-agenda-set-tags): Leave getting current tags to
5688 `org-agenda-change-all-lines'.
5690 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
5692 * org.el (org-org-menu): Do not quote the set-tags command.
5694 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
5696 * Fix typos in comments and docstrings throughout Org-mode.
5698 * org.el (org-get-outline-path): Fix bug if level is not given.
5700 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
5702 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5704 * org.el (org-refile): Avoid refiling to within the region to be
5707 * org-export-latex.el (org-export-latex-special-chars): Replace
5708 special characters also in tables.
5710 * org-agenda.el (org-agenda-change-all-lines): New argument
5712 (org-agenda-set-tags): Get the new tags and pass them to
5713 `org-format-agenda-item'.
5715 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5717 * org-export-latex.el (org-export-latex-classes): Add longable as
5718 a default package to all classes.
5719 (org-export-latex-tables): Handle the longtable attribute and the
5722 * org-table.el (orgtbl-to-generic): Handle tables that start with
5725 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5726 \verb for colde-like snippets.
5727 (org-export-as-latex): Fix issues with region export.
5729 * org.el (org-up-heading-safe): Speed up function by using a
5730 direct regexp search.
5731 (org-olpa): New variable.
5732 (org-get-outline-path): Speed-up path constructions in cases where
5733 this is possible because the entire hierarchy is scanned anyway.
5734 (org-refile-get-location): Don't compare the truenames of files,
5736 (org-goto-max-level): New option.
5737 (org-goto): Use `org-goto-max-level'.
5739 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
5741 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5742 Strip angle brackets from message-ids in the former and don't do
5744 (org-gnus-follow-link): Open summary reliable, even if the last
5745 messages were deleted, and handle empty groups, too.
5747 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5749 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5750 instead of \texttt for the =...= and ~===~ emphasis environments.
5751 (org-export-as-latex): Remove any old :org-license-to-kill text
5753 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5754 (org-export-latex-make-header): Add some hard space after the
5756 (org-export-latex-first-lines): Accept RBEG argument. Mark
5757 exported text so that it will be excuded in further steps.
5759 * org-table.el (org-table-get-specials): Make @0 reference the
5760 last line in a table.
5761 (org-table-recalculate): Improve docstring.
5763 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5765 * org.el (org-log-done): Fix docstring.
5767 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5769 * org-exp.el (org-export-html-format-image): Fix bugs.
5771 * org-export-latex.el (org-export-latex-tables)
5772 (org-export-latex-links): Implement attribute, label, and caption
5775 * org-exp.el (org-export-html-style-default): Add style
5776 definitions for the figure div.
5777 (org-export-preprocess-string, org-export-as-html): Implement
5778 attribute, label, and caption handling.
5779 (org-export-attach-captions-and-attributes): New function.
5780 (org-export-html-format-image): New function.
5781 (org-format-org-table-html): Implement attribute, label, and
5784 * org.el (org-find-text-property-in-string): New function.
5785 (org-extract-attributes): Use the property org-attr instead of
5786 org-attrobutes, because this property is now set with the #+ATTR
5789 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5791 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5792 the case that FROM is nil.
5794 * org.el (org-before-first-heading-p): New function.
5796 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5798 * org-exp.el (org-export-as-html): Do not add a space before
5799 enforces line breaks.
5800 (org-export-as-html): Close paragraph before blockquote and verse
5803 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5805 * org-id.el (org-id-locations-file): Wrap file name with
5806 `convert-standard-filename'.
5807 (org-id-files): New variable.
5808 (org-id-use-hash): New option.
5809 (org-id-update-id-locations): Also search in all files current
5810 listed in `org-id-files'. Convert the resulting alist to a hash
5811 if the user customation says so.
5812 (org-id-locations-save): Handle he case if `org-id-locations' is a
5814 (org-id-locations-load): Convert the alist to a hash.
5815 (org-id-add-location): Handle the hast case.
5816 (kill-emacs-hook): Make sure id locations are saved when Emacs is
5818 (org-id-hash-to-alist, org-id-alist-to-hash)
5819 (org-id-paste-tracker): New functions.
5821 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5823 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5824 bindings of calendar variables.
5826 * org-table.el (org-table-find-row-type): Rename from
5827 `org-find-row-type'.
5828 (org-table-rewrite-old-row-references): Rename from
5829 `org-rewrite-old-row-references'.
5830 (org-table-shift-refpart): Rename from `org-shift-refpart'.
5831 (org-table-cleanup-narrow-column-properties): Rename from
5832 `org-cleanup-narrow-column-properties'.
5834 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5836 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5837 for better error messages.
5838 (org-table-get-descriptor-line): Supply the new arguments to
5839 `org-find-row-type'.
5840 (org-table-error-on-row-ref-crossing-hline): New option.
5842 * org.el (org-target-link-regexp): Make buffer-local.
5843 (org-move-subtree-down): Fix bug with trees at beginning of
5846 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5848 * org-faces.el (org-set-tag-faces): New function.
5849 (org-tags-special-faces-re): New variable.
5851 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5853 * org-faces.el (org-tag-faces): New option.
5854 (org-tag): Mention `org-tag-faces' in the docstring.
5856 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5858 * org-exp.el (org-export-html-style-default): Implement new
5861 * org-jsinfo.el (org-infojs-template): Implement new quoting.
5863 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5864 command to the `w3m-minor-mode-map'.
5866 * org-archive.el (org-archive-to-archive-sibling): Protect
5867 `this-command' to avoid appending kills during archiving.
5869 * org-exp.el (org-export-with-priority): New variable.
5870 (org-export-add-options-to-plist): Use `org-export-plist-vars'
5871 instead of internal list of strings and properties.
5872 (org-print-icalendar-entries): Retrieve the location property with
5875 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5877 * org-exp.el (org-export-with-todo-keywords): New option.
5878 (org-export-plist-vars): Include also the keys for the #+OPTIONS
5880 (org-default-export-plist, org-export-add-options-to-plist)
5881 (org-export-as-ascii, org-export-as-html): Use the new structure
5882 of `org-export-plist-vars'.
5884 * org.el (org-map-entries): Return all values.
5886 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5888 * org.el (org-matcher-time): Recognize more special values.
5890 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5892 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5894 * org.el (org-tags-exclude-from-inheritance): New option.
5895 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5896 `org-tags-exclude-from-inheritance'.
5898 * org-agenda.el (org-agenda-show-inherited-tags): New option.
5899 (org-format-agenda-item): Add inherited tags to the agenda line
5900 string, and make sure that properties are kept when downcasing the
5902 (org-agenda-add-inherited-tags): New function.
5903 (org-downcase-keep-props): New function.
5905 * org.el (org-scan-tags): Mark inherited tags with a text
5907 (org-get-tags-at): Mark inherited tags with a text property.
5908 (org-add-prop-inherited): New function.
5910 * org-agenda.el (org-agenda-add-inherited-tags): New function.
5911 (org-agenda-show-inherited-tags): New option.
5913 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5915 * org.el (org-modules): Add org-w3m to the default modules.
5917 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5919 (orgtabl-create-or-convert-from-region): New command.
5921 * org-exp.el (org-export-as-ascii): Remove the handling of
5923 (org-export-ascii-preprocess): Handle targets already in this
5926 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5928 * org-timer.el (org-timer-start-time): Define this variable.
5929 (org-timer-item): Make argument optional.
5931 * org-list.el (org-insert-item): Automatically insert a timer item
5932 if the current list is a timer list.
5934 * org-timer.el: New file.
5936 * org-publish.el (org-publish-org-index): Only exclude the index
5937 file in the main directory from being added to the site-map.
5938 (org-publish-get-project-from-filename): If the current project is
5939 a component, start publishing from the parent project.
5941 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5943 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5945 * org-publish.el (org-publish-org-index): Improve removal of
5948 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5950 * org-agenda.el (org-get-closed): Re-apply changes
5951 accidentially overwritten by last commit to Emacs.
5953 * org.el (org-outline-path-complete-in-steps): New option.
5954 (org-refile-get-location): Honor
5955 `org-outline-path-complete-in-steps'.
5956 (org-agenda-change-all-lines, org-tags-sparse-tree)
5957 (org-time-string-to-absolute, org-small-year-to-year)
5958 (org-link-escape): Re-apply changes accidentially overwritten
5959 by last commit to Emacs.
5961 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5963 * org-clock.el (org-dblock-write:clocktable): Make sure the
5964 clocktable sees the first line.
5965 (org-clock-in): Warn if the clock cannot be resumed.
5967 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5969 * org.el (org-open-at-point): Fix mixup about interactive and
5970 non-interactive elisp links.
5972 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5974 * org-exp.el (org-export-preprocess-string): Allow one comment
5975 line before the first headline to always be included. This is
5976 to not miss a commented target.
5978 * org-mouse.el (org-mouse-insert-item): Call
5979 `org-indent-to-column' instead of `indent-to', for XEmacs
5982 * org.el (org-refile-targets): Fix customize definition so
5983 that it works also in XEmacs.
5984 (org-fixup-indentation): Call `org-indent-to-column' instead
5985 of `indent-to', for XEmacs compatibility.
5987 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5989 * org-mew.el (org-mew-store-link): Get the correct case folder
5990 for refiled messages.
5992 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5994 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5995 line break indicators.
5997 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5998 ido-completion propts.
6000 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6002 * org-remember.el (org-remember-apply-template): Use
6003 `org-substring-no-properties'.
6005 * org-compat.el (org-substring-no-properties): New function.
6007 * org-remember.el (org-remember-apply-template): Use
6008 `org-substring-no-properties' for compatibility.
6010 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
6012 (org-fix-bullet-type): respect
6013 `org-list-two-spaces-after-bullet-regexp'.
6015 * org-clock.el (org-clock-load): Clean up the code.
6017 * org.el (org-adaptive-fill-function): Allow two spaces after
6018 "1." as a list bullet.
6020 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6022 * org-clock.el (org-clock-save, org-clock-load): Check for
6023 live buffers, existing files, and buffer file names to ensure
6024 consistent information.
6025 (org-clock-persist): Make `clock' a special value of this
6026 variable, and improve docstring.
6028 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6029 (org-get-string-indentation): Adapt indentation when the bullet
6032 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6034 * org-remember.el (org-remember-finalize): Make interactive.
6035 (org-remember-kill): New command.
6036 (org-remember-finish-immediately): Call `org-remember-finalize'
6038 (org-remember-finalize): Make `org-remember-finalize' an interactive
6041 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6043 * org-remember.el (org-remember-apply-template): No ido completion
6044 for free prompts in remember templates.
6045 (org-remember-before-finalize-hook): New hook.
6046 (org-remember-mode): New minor mode.
6047 (org-remember-apply-template): Turn on `org-remember-mode'.
6049 * org-remember.el (org-remember-apply-template): Fix the way how
6050 the list of allowed properties is retrieved from the target file.
6052 * org.el (org-insert-link): Improve file link matching.
6054 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6056 * org-colview.el (org-columns-display-here): New argument
6057 DATELINE, to trigger using the new face.
6058 (org-agenda-colview-summarize): Call `org-columns-display-here'
6059 with the new argument.
6061 * org-faces.el (org-agenda-column-dateline): New face.
6063 * org-publish.el (org-publish-org-index): Use index-title at page
6064 title, not as section.
6066 * org-exp.el (org-export-html-format-desc): Respect the
6067 org-protect property.
6068 (org-export-as-html): Protect image specifiers that are in the
6069 description part of a link.
6071 * org.el (org-sort-entries-or-items, org-completing-read)
6072 (org-refile-get-location, org-olpath-completing-read, org-todo)
6073 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6074 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6075 (org-set-property, org-delete-property)
6076 (org-delete-property-globally): Use `org-ido-completing-read'.
6078 * org-remember.el (org-remember-apply-template): Use
6079 `org-ido-completing-read'.
6081 * org-publish.el (org-publish): Use `org-ido-completing-read'.
6083 * org-colview.el (org-columns-edit-value, org-columns-new)
6084 (org-insert-columns-dblock): Use `org-ido-completing-read'.
6086 * org-colview-xemacs.el (org-columns-edit-value)
6087 (org-columns-new, org-insert-columns-dblock): Use
6088 `org-ido-completing-read'.
6090 * org-attach.el (org-attach-delete-one, org-attach-open): Use
6091 `org-ido-completing-read'.
6093 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6094 `org-ido-completing-read'.
6096 * org.el (org-time-today): New function.
6097 (org-matcher-time): Use `org-time-today'. Add special treatment
6098 for "<tomorrow>" and "<yesterday>".
6099 (org-ido-completing-read): New function.
6100 (org-completion-use-ido): New option.
6102 * org-exp.el (org-export-format-source-code): Fix bug in require
6104 (org-export-target-internal-links): Fix bug in search for text
6107 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6109 * org-export-latex.el (org-export-latex-subcontent): Interprete
6110 target aliases as additonal labels.
6112 * org-exp.el (org-export-target-aliases): New variable.
6113 (org-export-preprocess-string)
6114 (org-export-handle-invisible-targets): Fill the alias alist.
6115 (org-export-as-html): Remove the from the anchor, and also
6117 (org-html-level-start): Insert the target aliases as additonal
6120 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6123 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6125 * org.el (org-open-at-mouse): Ensure correct link abbreviations
6126 when following a link with the mouse from the agenda.
6128 * org-exp.el (org-export-as-html): Avoid lone </div> when no
6129 headlines are created.
6131 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6133 * org.el (org-link-translation-function): New option.
6134 (org-open-at-point): Call `org-link-translation-function' if
6136 (org-translate-link): New function.
6137 (org-translate-link-from-planner): New function.
6138 (org-open-at-point): Allow interactive commands in elisp links.
6140 * org-exp.el (org-icalendar-cleanup-string): Restore the old
6141 iCalendar quoting. The new one seems to caus problems with
6144 * org.el (org-yank): Set `this-command' to `yank', so that
6145 `yank-pop' will work.
6147 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6149 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6150 compliance as far as quoting is concerned.
6152 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6153 hexified version of the tag.
6155 * org-vm.el (org-vm-follow-link): Require `vm-search'.
6157 * org.el (org-up-heading-safe, org-forward-same-level): Always
6158 call `org-back-to-heading' instead of `outline-back-to-heading'.
6159 (org-back-to-heading): New wrapper around outline-back-to-heading,
6160 with a useful error message telling where the error happened.
6162 * org-list.el (org-update-checkbox-count): Always call
6163 `org-back-to-heading' instead of `outline-back-to-heading'.
6165 * org-exp.el (org-export-as-html): Make sure that each <img> tag
6166 has an `alt' attribute, to ensure XHTML validation.
6168 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6170 * org-publish.el (org-publish-attachment): Allow publishing to
6171 overwrite attachment files.
6173 * org-agenda.el (org-agenda-timerange-leaders): New option.
6174 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6176 * org.el (org-edit-src-exit): Untabify ASCII image before
6179 2008-11-19 Glenn Morris <rgm@gnu.org>
6181 * org.el, org-mouse.el (org-agenda-change-all-lines):
6184 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
6186 * org.el ("speedbar"): Only show context if the file really is an
6189 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
6191 * org.el (org-time-string-to-absolute, org-small-year-to-year)
6192 (org-tags-sparse-tree): Fix typos in docstrings.
6194 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
6196 * org-publish.el (org-publish-attachment): Allow copy-file to
6199 2008-11-13 Glenn Morris <rgm@gnu.org>
6201 * org-agenda.el (org-get-closed): Fix alias.
6203 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
6205 * org.el (org-link-escape): Fix typo in docstring.
6207 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6209 * org.el (org-yank): Make any prefix force normal yanking.
6210 Suppress folding if text would be swallowed into a folded
6212 (org-yank-folded-subtrees, org-yank): Docstring updates.
6214 * org-agenda.el (org-agenda-compare-effort): Treat no effort
6217 * org-exp.el (org-export-language-setup): Add Catalan and
6218 Esperanto language entries.
6220 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6222 * org.el (org-refile): Allow refiling of entire regions.
6224 * org-clock.el (org-clock-time%): New function.
6226 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6227 retrieve property values.
6229 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6231 * org-agenda.el (org-agenda-list): Handle the value `only' of
6232 org-agenda-show-log'.
6233 (org-agenda-log-mode): Interpret a double prefix arg.
6235 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6237 * org-exp.el (org-export-html-footnotes-section): New variable.
6238 (org-export-as-html): Use `org-export-html-footnotes-section' to
6239 insert the footnotes.
6240 (org-export-language-setup): Add "Footnotes" to language words.
6242 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6244 * org.el (org-yank): Fix bug when not inserting a subtree.
6246 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6248 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6249 instead of `vm-beginning-of-message'.
6251 * org.el (org-make-link-regexps): Make sure that links to gnus can
6254 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6256 * org-attach.el (org-attach-dir): Remove duplicate ID creation
6259 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6262 * org.el (org-link-abbrev-alist): Improve customization type.
6264 * org-attach.el (org-attach-expand-link, org-attach-expand): New
6267 * org-agenda.el (org-agenda-get-progress): Rename from
6268 `org-get-closed'. Implement searching for state changes as well.
6269 (org-agenda-log-mode-items): New option.
6270 (org-agenda-log-mode): New option prefix argument, interpreted as
6271 request to show all possible progress info.
6272 (org-agenda-get-day-entries): Call `org-get-progress' instead of
6274 (org-agenda-set-mode-name): Handle the more complex log mode
6276 (org-get-closed): New alias, pointing to `org-get-progress'.
6278 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6280 * org.el (org-file-apps-defaults-gnu)
6281 (org-file-apps-defaults-macosx)
6282 (org-file-apps-defaults-windowsnt): Add an entry defining the
6284 (org-file-apps): Allow `system' as key and value.
6285 (org-open-at-point): Explain the effect of a double prefix arg.
6286 (org-open-file): If the argument `in-emacs' is (16),
6287 i.e. corresponding to a double prefix argument, try to open the
6290 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6292 * org.el (org-insert-link): Abbreviate absolute files names in
6293 links. Also, fix a bug in which the double C-u prefix would not
6296 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6298 * org.el (org-insert-heading): If buffer does not end with a
6299 newline, add one if necessary to insert headline correctly.
6301 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6302 paragraphs, not inside.
6304 * org.el (org-todo): Quote
6305 `org-agenda-headline-snapshot-before-repeat'.
6307 * org-exp.el (org-export-as-html): Fully process link descriptions.
6308 (org-export-html-format-desc): New function.
6309 (org-export-as-html): Collect footnotes into the correct basket.
6310 (org-html-protect): No longer protect quotations marks here, this
6313 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6316 * org-compat.el (org-fit-window-to-buffer): New function (not
6317 really, a preliminary and incomplete version was present earlier,
6320 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6321 `org-fit-window-to-buffer'.
6323 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6325 * org-agenda.el (org-agenda-get-restriction-and-command)
6326 (org-fit-agenda-window, org-agenda-convert-date): Use
6327 `org-fit-window-to-buffer'.
6329 * org-exp.el (org-export-as-html): Process href links through
6330 `org-export-html-format-href'.
6331 (org-export-html-format-href): New function.
6333 * org-agenda.el (org-agenda-todo): Update only the current
6334 headline if this is a repeated TODO, marked done for today.
6335 (org-agenda-change-all-lines): New argument JUST-THIS, to change
6336 only the current line.
6338 * org.el (org-todo): Take a snapshot of the headline if the
6339 repeater might change it.
6341 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6343 * org-publish.el (org-publish-find-title): Remove buffers visited
6344 only for extracting the title.
6346 * org-exp.el (org-export-html-style)
6347 (org-export-html-style-default): Mark style definitions as
6350 * org-publish.el (org-publish-validate-link): Function
6353 2008-11-12 Charles Sebold <csebold@gmail.com>
6355 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6357 (org-plot-quote-timestamp-field): New function.
6358 (org-plot-quote-tsv-field): Call timestamp field function when
6359 necessary rather than just quoting as a string.
6360 (org-plot/gnuplot-to-data): Pass in timefmt property.
6361 (org-plot/gnuplot-script): Supports timefmt property.
6362 (org-plot/gnuplot): Checks for timestamp column before checking
6363 for text index column.
6365 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6367 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6369 * org-publish.el (org-publish-org-index): Create a section in the
6371 (org-publish-org-index): Stop linking to directories.
6373 * org.el (org-emphasis-alist): Use span instead of <u> to
6376 * org-exp.el (org-export-as-html): Make sure <p> is closed before
6379 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
6381 * org-jsinfo.el (org-infojs-template): Remove language attribute
6384 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6386 * org-agenda.el (org-agenda-remove-marked-text): New function.
6387 (org-agenda-mark-filtered-text)
6388 (org-agenda-unmark-filtered-text): New functions.
6389 (org-write-agenda): Remove fltered text.
6391 * org.el (org-make-tags-matcher): Give access to TODO "property"
6392 without speed penalty.
6394 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6396 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6398 (org-store-link-props): Make sure adding to the plist works
6401 * org-gnus.el (org-gnus-no-new-news): New function.
6402 (org-gnus-follow-link): Allow the article ID to be a message-id,
6403 in addition to allowing article numbers. Message IDs make much
6405 (org-gnus-store-link): Use message-id to create link.
6407 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6409 * org.el (org-emphasize): Reverse the selection array.
6410 (org-emphasis-alist): Set <code> tags for the verbatim
6413 * org-remember.el (org-remember-handler): Fix bug with
6414 prefix-related changing of the note storage target.
6416 * org-exp.el (org-print-icalendar-entries): Make the exported
6417 priorities compatible with RFC 2445.
6419 * org-clock.el (org-clock-save): Insert time stamp without
6420 dependence on time-stamp.el.
6422 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6424 * org.el ("saveplace"): If saveplace puts point into an invisible
6425 location, make it visible.
6426 (org-make-tags-matcher): Allow inactive time stamps in time
6428 (org-yank-adjusted-subtrees): New option.
6429 (org-yank): Incorporate adjusting trees.
6430 (org-paste-subtree): New argument FOR-YANK which will cause
6431 insertion at point without backing up over white lines, and leave
6432 point at the end of the inserted text. Also if the cursor is
6433 at the beginning of a headline, use the same level or the inserted
6436 * org-publish.el (org-publish-get-base-files-1): Deal correctly
6437 with broken symlinks.
6439 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6441 * org-exp.el (org-export-select-tags, org-get-current-options):
6444 2008-11-06 Glenn Morris <rgm@gnu.org>
6446 * org-publish.el (org-publish-attachment): Use copy-file rather than
6449 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
6451 * org.el (org-columns-modify-value-for-display-function):
6452 * org-table.el (org-table-convert-region): Fix typos in docstrings.
6454 2008-10-28 Glenn Morris <rgm@gnu.org>
6456 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
6458 * org-list.el (outline-next-heading, outline-back-to-heading):
6461 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6463 * org-agenda.el (org-format-agenda-item)
6464 (org-agenda-filter-make-matcher): Make sure tags are stored and
6467 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6469 * org.el (org-insert-todo-heading): Fix bug with force-heading
6472 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6474 * org-exp.el (org-export-as-ascii): Handle the case that we are
6475 bulishing from an indirect buffer.
6477 * org-table.el (org-table-copy-down): Fix bug with time stamp
6480 * org-mouse.el (org-mouse-features): New option.
6481 (org-mode-hook): Turn on features depending on
6482 `org-mouse-features'.
6484 * org.el (org-insert-heading-respect-content): Force heading
6486 (org-insert-heading): keep the folding state of the heading before
6489 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6491 * org-archive.el (org-archive-to-archive-sibling): Handle top
6492 level headlines better.
6494 2008-10-26 Bastien Guerry <bzg@altern.org>
6496 * org-export-latex.el (org-export-latex-classes): Add
6497 \usepackage{graphicx} to the default list of packages.
6499 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6501 * org-agenda.el (org-agenda-filter): Rename from
6502 `org-agenda-filter-tags'.
6504 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6506 * org.el (org-entry-properties): Add CATEGORY property, iven if it
6507 is not defined as a property in this entry.
6508 (org-add-log-note): Mask prefix argument when immediately storing
6511 * org-agenda.el (org-agenda-filter-effort-default-operator): New
6514 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
6516 * org.el (org-add-log-setup): Bugfix; code to find insertion point
6517 after drawers was skipping ahead one line too many, so notes were
6518 inserted after the first note instead of before it.
6520 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6522 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6524 (org-prepare-agenda): Reset the filter tags.
6525 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6526 Show filter tags in mode line.
6528 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6531 * org-export-latex.el (org-latex-entities-regexp): New constant.
6532 (org-export-as-pdf): Use two calls to `shell-command'.
6534 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6536 * org-export-latex.el (org-export-latex-treat-sub-super-char):
6537 Honor the {} value of the subsuperscript setting. Make sure that
6538 longer subsuperscripts are typeset in a roman font.
6540 * org.el (org-clock-update-time-maybe): Compute negative clock
6541 intervals correctly.
6543 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6545 * org.el (org-add-log-setup): Respect
6546 `org-log-state-notes-insert-after-drawers'.
6547 (org-log-state-notes-insert-after-drawers): New option.
6548 (org-todo-trigger-tag-changes): New function.
6549 (org-todo): Call `org-todo-trigger-tag-changes'.
6551 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
6553 * org.el (org-add-log-setup): Only skip drawers if the are
6554 immediately after the scheduling keywords.
6556 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6558 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6559 call it with the current todo state to get the state to switch to
6561 (org-clock-in): Use org-indent-line-function to indent clock lines.
6562 (org-clock-find-position): Fix indentation of empty clock drawers.
6564 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6566 * org-publish.el (org-publish-org-to): Handle case when
6567 org-export-to-pdf does return a file name, not a buffer.
6568 (org-publish-org-to-pdf): New function.
6570 * org-export-latex.el (org-export-as-pdf)
6571 (org-export-as-pdf-and-open): New commands.
6573 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6576 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6577 things in protexted regions.
6579 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6581 * org-export-latex.el (org-export-latex-preprocess): Improve
6582 quoting of LaTeX environments.
6584 2008-10-19 Eli Zaretskii <eliz@gnu.org>
6586 * org.el (org-default-notes-file):
6587 * org-publish.el (org-publish-timestamp-directory):
6588 * org-id.el (org-id-locations-file): Run file names that begin
6589 with a period thru `convert-standard-filename'.
6591 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6593 * org-plot.el: Switch coding system to unix.
6595 2008-10-12 John Wiegley <johnw@newartisans.com>
6597 * org-attach.el: New file.
6599 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
6601 * org.el (org-edit-fixed-width-region): Exclude final newline from
6604 * org-export-latex.el (org-export-latex-subcontent): Add labels to
6605 sections, to make internal links work.
6606 (org-export-latex-fontify-headline): Do not remove all text
6607 properties, to make sure that target properties survive this
6610 * org-exp.el (org-export-preprocess-string): Change sequence of
6611 modifications, to make sure links are prepared before the LaTeX
6612 conversions do happen.
6614 * org-attach.el (org-attach-delete-all): Rename from
6615 `org-attch-delete'. Add a security query before deleting the
6616 entire directory. New optional argument FORCE can overrule the
6618 (org-attach-delete-one): New command.
6620 * org-attach.el (org-attach-file-list): Fix bug with directory.
6622 * org.el (org-apps-regexp-alist): New function.
6623 (org-file-apps): Add auto-mode to the default value.
6624 (org-open-file): Use the new structure of org-file-apps.
6626 * org-attach.el (org-attach): Support the new keys.
6627 (org-attach-method): New option.
6629 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6632 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6633 of the list value o `org-use-tag-inheritance'.
6635 * org-attach.el (org-attach-auto-tag): New option.
6636 (org-attach-tag, org-attach-untag): New functions.
6637 (org-attach-attach, org-attach-new, org-attach-sync): Call
6639 (org-attach-delete): Call `org-attach-untag'.
6641 * org-table.el (orgtbl-self-insert-command): Make this work for
6644 * org.el (org-add-log-setup): Limit searc for drawers to entry
6645 text, not to subtree.
6647 * org-clock.el (org-clock-heading-for-remember): New variable.
6648 (org-clock-in): Set `org-clock-heading-for-remember'.
6650 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
6652 * org-remember.el (org-remember-apply-template): Add new
6653 expansions: %k, %K for currently clocked task and a link to the
6654 currently clocked task, and %< to file notes in the currently
6657 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6659 * org-export-latex.el (org-export-latex-make-header): Also insert
6660 the content of the property :latex-header-extra.
6662 * org-exp.el (org-infile-export-plist): Put the content of
6663 #+LATEX_HEADER: into the property :latex-header-extra.
6665 * org-colview.el (org-columns-get-format-and-top-level): Remove
6666 resetting the marker.
6668 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6669 Remove resetting the marker.
6671 * org.el (org-entry-property-inherited-from): Improve docstring.
6672 (org-entry-get-with-inheritance): Reset marker before starting the
6675 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6677 * org.el (org-entry-get-multivalued-property)
6678 (org-entry-protect-space, org-entry-restore-space): New
6680 (org-file-apps-defaults-macosx): Let postscript files be opened by
6682 (org-time-stamp-inactive): Call `org-time-stamp'.
6683 (org-time-stamp): New argument `inactive'. Also edit inacive
6684 stamps. Convert time stamp type.
6685 (org-open-file): Interpret the `default' value for the `command'
6688 * org-id.el (org-id-int-to-b36-one-digit)
6689 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6690 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
6693 * org-id.el (org-id-reverse-string): New function.
6694 (org-id-new): Use `org-id-reverse-string' to make sure the
6695 beginning chars of the ID are mutating fast. This allows to use a
6696 directory structure to spread things better.
6697 (org-id-prefix): Change default to nil.
6699 * org-list.el (org-move-item-down, org-move-item-up): Remember and
6700 restore the column of the cursor position.
6702 * org-remember.el (org-remember-apply-template): Remove properties
6705 * org-wl.el (org-wl-open): Remove useless call to
6706 `wl-thread-open-all'.
6708 * org-remember.el (org-remember-handler): Fix bug with `bottom'
6711 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6712 `org-bbdb-anniversaries'.
6714 * org.el (org-get-next-sibling, org-forward-same-level): New
6715 functions, similar to the outline versions, but invisible headings
6718 2008-10-12 Bastien Guerry <bzg@altern.org>
6720 * org.el (org-auto-repeat-maybe): Insert a space between
6721 the timestamp's type and the timestamp itself.
6723 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6725 * org-table.el (org-table-sum): Do not format the result with %g,
6726 it does rounding when there are too many digits.
6728 * org.el (org-map-entries): Protect the keyword-selecting variables.
6730 2008-10-12 Bastien Guerry <bzg@altern.org>
6732 * org-agenda.el (org-agenda-to-appt): Make sure the function check
6733 against all agenda files.
6735 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6736 Bastien Guerry <bzg@altern.org>
6738 * org-list.el: New file, aggregating list functions from org.el
6739 and org-export-latex.el.
6741 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6743 * org.el (org-edit-src-region-extra): New option.
6745 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6748 2008-10-12 Bastien Guerry <bzg@altern.org>
6750 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6752 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
6754 * org-plot.el (org-plot/gnuplot): Make tables starting with a
6755 hline work correctly.
6756 (org-plot/gnuplot-script): Put commas at the end of each script
6759 * org.el (org-get-refile-targets): Replace links with their
6761 (org-imenu-get-tree): Replace links with their descriptions.
6763 * org-remember.el (org-remember-apply-template): Add a new
6764 expansion for adding properties to remember items.
6766 * org.el (org-add-log-setup): Skip over drawers (properties,
6767 clocks etc) when adding notes.
6769 * org-agenda.el (org-agenda-get-closed): show durations of clocked
6770 items as well as the start and end times.
6772 * org-compat.el (org-get-x-clipboard-compat): Add a compat
6773 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6775 * org-remember.el (org-get-x-clipboard): Use the compat
6776 function to get clipboard values when x-selection-value is
6777 unavailable. Use substring-no-properties instead of
6778 set-text-properties to remove text properties from the clipboard
6781 * lisp/org-clock.el (org-update-mode-line): Support limiting the
6782 modeline clock string, and display the full todo value in the
6783 tooltip. Set a local keymap so mouse-3 on the clock string goes to
6784 the currently clocked task.
6785 (org-clock-string-limit): Add a custom value for the maximum
6786 length of the clock string in the modeline.
6787 (org-clock-mode-map): Add a keymap for the modeline string.
6789 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6791 * org-compat.el (org-propertize): New function.
6793 2008-10-12 Bastien Guerry <bzg@altern.org>
6795 * org-export-latex.el (org-export-latex-tables): protect exported
6796 tables from further special chars conversion.
6797 (org-export-latex-preprocess): Preserve LaTeX environments.
6798 (org-list-parse-list): Parse descriptive lists.
6799 (org-list-to-generic, org-list-to-latex, org-list-to-html)
6800 (org-list-to-texinfo): Export descriptive lists.
6801 (org-quote-chars): Remove.
6802 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6803 (org-export-latex-list-beginning-re): Rename to
6804 `org-list-beginning-re'
6805 (org-list-item-begin): Rename to `org-list-item-beginning'.
6807 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
6809 * org-plot.el: New file.
6811 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6813 * org.el (org-refile): Allow refiling to the last entry in the
6815 (org-get-tags-at): Fix bug when inheritance is turned off.
6817 * org.el (org-indent-line-function): No longer check for src
6818 regions, this is too much overhead.
6820 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6823 * org.el (org-scan-tags): Make sure that tags matching is not case
6824 sensitive. TODO keyword matching is case sensitive, however, to
6825 avoid confusion with similar words that are not meant to be
6828 * org.el (org-get-local-tags-at): New function.
6829 (org-get-local-tags): New function.
6831 * org-exp.el (org-export-get-categories): New function.
6833 * org-agenda.el (org-sorting-choice)
6834 (org-agenda-sorting-strategy, org-agenda-get-todos)
6835 (org-agenda-get-timestamps, org-agenda-get-deadlines)
6836 (org-agenda-get-scheduled, org-agenda-get-blocks)
6837 (org-entries-lessp): Implement sorting by TODO state.
6838 (org-cmp-todo-state): New defsubst.
6840 * org-colview.el (org-colview-construct-allowed-dates): New
6842 (org-columns-next-allowed-value): Use
6843 `org-colview-construct-allowed-dates'.
6845 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6847 (org-columns-next-allowed-value): Use
6848 `org-colview-construct-allowed-dates'.
6850 * org.el (org-protect-slash): New function.
6851 (org-get-refile-targets): Use `org-protect-slash'.
6853 * org-agenda.el (org-global-tags-completion-table): New variable.
6855 * org-exp.el (org-export-handle-export-tags): New function.
6856 (org-export-preprocess-string): Call
6857 `org-export-handle-export-tags'.
6859 * org-publish.el (org-publish-expand-components): Function removed.
6860 (org-publish-expand-projects): Allow components to have components.
6862 * org.el (org-indent-line-function): Do not indent in regions that
6863 are external source code.
6864 (org-yank-and-fold-if-subtree): New function.
6866 * org-agenda.el (org-agenda-todayp): New function.
6867 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6868 `org-agenda-todayp'.
6870 * org.el (org-insert-heading-respect-content)
6871 (org-insert-todo-heading-respect-content): New commands.
6872 (org-insert-heading-respect-content): New option.
6873 (org-insert-heading): Respect `org-insert-heading-respect-content'.
6875 * org-clock.el (org-clock-find-position): Make sure the note after
6876 the clock line gets moved into the new clock drawer.
6878 * org-id.el (org-id-new): New option.
6880 * org-table.el (org-table-copy-down): Avoid overflow during
6881 increment. Use prefix argument 0 to temporarily disable the
6884 * org-exp.el (org-export-as-html): Do not turn on the major mode
6885 if the buffer will be killed anyway.
6886 (org-get-current-options): Exclude the #+TEXT field.
6887 (org-export-as-html): Make sure text before the first headline is
6890 * org-publish.el (org-publish-org-to): Tell the exporter that this
6891 buffer will be killed, so it is not necessary to do major mode
6894 * org-archive.el (org-archive-to-archive-sibling): Show empty
6895 lines after folding the archive sibling.
6897 * org.el (org-log-note-extra): New variable.
6899 2008-10-12 Bastien Guerry <bzg@altern.org>
6901 * org.el (org-additional-option-like-keywords): Add keywords for
6902 the _QUOTE, _VERSE and _SRC environments.
6904 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6905 exporting _QUOTE and _VERSE environments.
6907 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6909 * org-agenda.el (org-agenda-filter-by-tag): New command.
6911 * org-exp.el (org-get-current-options): Remove angular brackets
6912 from the date entry.
6914 * org.el (org-edit-fixed-width-region): New function.
6915 (org-edit-fixed-width-region): Also try
6916 `org-edit-fixed-width-region'.
6917 (org-edit-fixed-width-region-mode): New option.
6918 (org-activate-code): Only interprete lines starting with colon
6919 plus a space as example lines.
6921 * org-remember.el (org-remember-templates): Add nil instead of
6922 empty strings to fix the length of remember templates.
6924 * org-table.el (org-calc-default-modes): Fix the time format for
6925 calc, from 12 hour to 24 hour clock.
6927 * org-agenda.el (org-agenda-get-deadlines)
6928 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6929 entries that are pre-warnings of deadlines or reminders.
6931 * org.el (org-sort-entries-or-items): Make numeric and alpha
6932 comparisons ignore any TODO keyword and priority cookie.
6934 * org-remember.el (org-remember-handler): Reinterpretation of the
6937 * org-agenda.el (org-agenda-get-scheduled): Use new
6938 `org-scheduled' face.
6940 * org-faces.el (org-scheduled): New face.
6942 * org-wl.el (org-wl-open): Remove incorrect declaration.
6944 * org-gnus.el (org-gnus-store-link): Support for :to information
6947 * org-exp.el (org-export-as-html): Fix typo in creator
6949 (org-export-protect-examples): New parameter indent. Insert extra
6950 spaces only when this parameter is specified.
6951 (org-export-preprocess-string): Call `org-export-protect-examples'
6952 with an indentation parameter when exporting to ASCII.
6954 * org-remember.el (org-remember-templates)
6955 (org-remember-apply-template): Allow the file component to be a
6958 * org.el (org-goto-local-search-headings): Rename from
6959 `org-goto-local-search-forward-headings'. Added the possibility
6960 to search backwards.
6962 * org-export-latex.el (org-export-latex): New customization
6965 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6967 * org-exp.el (org-html-do-expand): Allow {} to terminate
6970 * org.el (org-buffer-list): Select buffers based on major mode,
6973 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6976 * org-colview.el (org-columns-display-here): Use
6977 `org-columns-modify-value-for-display-function'.
6979 * org-colview-xemacs.el (org-columns-display-here): Use
6980 `org-columns-modify-value-for-display-function'.
6982 * org.el (org-columns-modify-value-for-display-function): New option.
6984 * org-publish.el (org-publish-file): Make sure the directory match
6985 for the publishing directory works correctly.
6987 * org-agenda.el (org-agenda-execute-calendar-command)
6988 (org-agenda-diary-entry): Additional optional argument.
6990 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6992 * org-exp.el (org-export-as-html): Add attributes also in mailto
6995 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6997 2008-08-11 Glenn Morris <rgm@gnu.org>
6999 * org-mac-message.el (do-applescript): Fix declaration.
7001 2008-08-10 Glenn Morris <rgm@gnu.org>
7003 * org-exp.el (org-export-as-html): Let-bind `i'.
7005 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
7006 (org-extract-attributes): Let-bind `key', `value'.
7007 (org-make-tags-matcher): Let-bind `time-p'.
7009 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
7011 * org-install.el: New file.
7013 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
7015 * org-exp.el (org-export-html-style)
7016 (org-export-html-style-extra): Declare as safe-local-variable.
7018 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
7020 * org-publish.el (org-publish-file): Use the true name of the
7023 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
7026 * org-exp.el (org-export-plist-vars)
7027 (org-export-add-options-to-plist): Handle creator setting flag.
7028 (org-export-as-html): Handle attributes also for ftp and mailto
7031 * org-agenda.el (org-agenda-diary-entry)
7032 (org-agenda-execute-calendar-command): Cater for the second
7033 argument of `calendar-cursor-to-date'.
7035 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
7037 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7038 sure that calls from `org-export-region-as-html' do not do the
7039 special check for a subtree.
7041 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7043 * org.el (org-open-file): Use
7044 `org-open-directory-means-index-dot-org'.
7045 (org-open-directory-means-index-dot-org): New option.
7047 * org.el (org-make-link-string): Remove link attributes from
7049 (org-open-at-point): Remove link attributes before using the path.
7051 * org-exp.el (org-export-as-html): Handle link attributes.
7053 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7055 * org-table.el (org-table-to-lisp): New function.
7057 * org.el (org-narrow-to-subtree): Do not include the final newline
7058 into the narrowed region.
7060 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
7061 bug with user-define skipping condition.
7063 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
7065 * org-exp.el (org-export-html-style-default): Automatic overflow
7066 handling for pre fields.
7067 (org-export-as-ascii, org-export-as-html): Change default format
7070 * org-table.el (org-table-export): Offer completion for translator
7071 functions, and do not require a heading above the table.
7073 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7074 Cater for the case of a list starting in the first line of the
7077 * org-publish.el (org-publish-find-title): Bug fix.
7078 (org-publish-org-index): Implement new :index-style option.
7080 * org-publish.el (org-publish-timestamp-filename): Use
7081 SHA1-encoded file names in the timestamp directory.
7083 * org-publish.el (org-publish-needed-p): Be verbose about files
7084 published and files skipped.
7086 * org-exp.el (org-export-preprocess-string): Swap link
7087 normalization and internal link targeting.
7089 * org-publish.el (org-publish-needed-p): Create timestamp
7090 directory when it does not exist.
7092 * org-clock.el (org-clock-out-when-done): Doc fix.
7094 * org.el (org-agenda-skip-unavailable-files): Doc fix.
7096 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7097 Ignore case when searching for the COMMENT cookie at export time.
7099 * org-exp.el (org-get-file-contents)
7100 (org-get-and-remove-property): New functions.
7101 (org-export-handle-include-files): Handle the new prefix options.
7102 (org-export-as-html): Fix the verse environment.
7104 * org.el (org-time=, org-time<, org-time<=, org-time>)
7105 (org-time>=, org-time<>, org-2ft): New functions.
7106 (org-op-to-function): Also provide for the time testing functions.
7108 * org-exp.el (org-export-html-style-default): New constant.
7110 * org-exp.el (org-export-html-style-extra): New variable.
7111 (org-export-splice-style): New function.
7113 * org-exp.el (org-export-plist-vars, org-export-as-html):
7114 Implement `org-export-creator-info'.
7115 (org-export-creator-info): New option.
7117 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7118 (org-property-drawer-re, org-clock-drawer-re): New constants.
7120 * org-exp.el (org-icalendar-use-deadline)
7121 (org-icalendar-use-scheduled): New options.
7122 (org-icalendar-include-todo): Default changed to t.
7123 (org-print-icalendar-entries): Implement better utilization of
7124 scheduling and deadline time stamps.
7125 (org-export-target-internal-links, org-export-as-html): Allow file
7126 lines without the "file:" prefix if the file path is an absolute
7127 path or starts with ".".
7129 * org-clock.el (org-clocktable-shift): Also understand yesterday,
7131 (org-clock-special-range): Also understand yesterday, lastweek etc.
7133 * org.el (org-agenda-skip-archived-trees): Docstring now
7134 discourages using this.
7135 (org-scan-tags): Check for org-agenda-archives-mode.
7136 (org-map-entries): Make sure org-agenda-archives-mode is nil.
7137 (org-agenda-files): Functionality of second arg changed.
7139 * org-agenda.el (org-agenda-archives-mode): New variable
7140 (org-write-agenda, org-prepare-agenda, org-agenda-list)
7141 (org-search-view, org-todo-list, org-tags-view)
7142 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7144 (org-agenda-quit): Reset the archives mode.
7145 (org-agenda-archives-mode): New command.
7146 (org-agenda-set-mode-name): Include archives info.
7148 * org.el (org-paste-subtree): Make sure the yanked headline is
7149 visible if it was yanked at a visible point.
7150 (org-move-item-up): Fix the bug with moving white space at the end
7152 (org-show-empty-lines-in-parent): New function.
7154 2008-07-19 Juri Linkov <juri@jurta.org>
7156 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7157 new keymap `narrow-map' instead of binding "\C-xns".
7159 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
7161 * org.el (org-agenda-skip-unavailable-files):
7162 * org-clock.el (org-clock-out-when-done): Doc fixes.
7164 2008-06-18 Glenn Morris <rgm@gnu.org>
7166 * org.el (org-map-entries): Let-bind `file'.
7168 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7170 * org-colview.el (org-columns-next-allowed-value): Bug fix.
7172 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7174 * org-agenda.el (org-agenda-get-closed): Get the end time into the
7175 agenda prefix as well.
7177 * org-publish.el (org-publish-org-index): Make a properly indented
7180 * org.el (org-calendar-agenda-action-key): New option.
7181 (org-get-cursor-date): New function.
7182 (org-mark-entry-for-agenda-action): New command.
7183 (org-overriding-default-time): New variable.
7184 (org-read-date): Respect `org-overriding-default-time'.
7186 * org-remember.el (org-remember-apply-template): Respect the
7187 overriding default time.
7189 * org-agenda.el (org-agenda-action-marker): New variable.
7190 (org-agenda-action): New command.
7191 (org-agenda-do-action): New function.
7193 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7195 * org.el (org-schedule, org-deadline): Protect scheduled and
7196 deadline tasks against changes that accidently remove the
7197 repeater. Also show a message with the new date when done.
7199 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7201 * org.el (org-beginning-of-line): Cater for the case when there
7202 are tags but no headline text.
7203 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7206 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7208 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7209 the return value is nil instead of "nil" when there is no match.
7211 * org-exp.el (org-insert-centered): Use fill-column instead of
7213 (org-export-as-ascii): Use string-width to measure the width of
7216 * org.el (org-diary-to-ical-string): No longer kill buffer
7217 FROMBUF, this is now done by the caller.
7219 * org-exp.el (org-print-icalendar-entries): Move the call to
7220 `org-diary-to-ical-string' out of the loop, and kill the buffer
7223 * org-remember.el (org-remember-visit-immediately): Position
7224 cursor after moving to the note.
7225 (org-remember-apply-template): Use a text property to record the
7227 (org-remember-handler): Align tags after pasting the note.
7229 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7231 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7233 * org-agenda.el (org-agenda-open-link): If there is an
7234 org-bbdb-name property in the current line, jump to that bbdb
7237 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7238 text property, so that the agenda knows where this entry comes
7241 * org-agenda.el (org-agenda-clock-in): Fix bug in the
7242 interaction between clocking-in from the agenda, and automatic
7243 task state switching.
7245 * org-macs.el (org-with-point-at): Bug fix in macro definition.
7247 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7248 zmacs-region stays after this command in XEmacs.
7250 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7252 * org.el (org-scan-tags): Allow new values for ACTION parameter.
7254 * org-remember.el (org-remember-templates): Fix bug in
7255 customization type definition.
7257 * org.el (org-map-entries): New function.
7259 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7261 * org-agenda.el (org-agenda-skip-comment-trees): New option.
7262 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7264 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7266 * org-remember.el (org-jump-to-target-location): New variable.
7267 (org-remember-apply-template): Set
7268 `org-remember-apply-template' if requested by template.
7269 (org-remember-handler): Start an idle timer to jump to
7272 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7274 * org.el (org-set-regexps-and-options): Fix bug with parsing of
7276 (org-get-tags-at): Add the content of `org-file-tags'.
7278 * org-exp.el (org-export-handle-comments): Fix bug with several
7279 comment lines after each other.
7280 (org-number-to-roman, org-number-to-counter): New functions.
7281 (org-export-section-number-format): New option.
7283 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7285 * org-exp.el (org-export-protect-examples): Catch the case of a
7286 missing end_example line.
7288 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7289 `org-file-tags' to nil.
7291 * org-colview.el (org-columns-next-allowed-value): Handle next
7292 argument NTH to directly select a value.
7294 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7295 argument NTH to directly select a value.
7297 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7299 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7301 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7303 * org.el (org-columns-ellipses): New option.
7305 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7307 * org-colview.el (org-columns-add-ellipses): New function.
7308 (org-columns-compact-links): New function.
7309 (org-columns-cleanup-item): Call `org-columns-compact-links'.
7310 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7312 (org-columns-edit-value): Fix bug with editing values from
7314 (org-columns-redo): Also redo the agenda itself.
7316 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7318 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7321 * org-colview.el (org-agenda-columns-cleanup-item): New function.
7323 * org-exp.el (org-export-ascii-preprocess): Rename from
7324 `org-export-ascii-clean-string'.
7325 (org-export-kill-licensed-text)
7326 (org-export-define-heading-targets)
7327 (org-export-handle-invisible-targets)
7328 (org-export-target-internal-links)
7329 (org-export-remove-or-extract-drawers)
7330 (org-export-remove-archived-trees)
7331 (org-export-protect-quoted-subtrees)
7332 (org-export-protect-verbatim, org-export-protect-examples)
7333 (org-export-select-backend-specific-text)
7334 (org-export-mark-blockquote-and-verse)
7335 (org-export-remove-comment-blocks-and-subtrees)
7336 (org-export-handle-comments, org-export-mark-radio-links)
7337 (org-export-remove-special-table-lines)
7338 (org-export-normalize-links)
7339 (org-export-concatenate-multiline-links)
7340 (org-export-concatenate-multiline-emphasis): New functions,
7341 obtained from spliting the export preprocessor.
7343 * org-table.el (org-table-recalculate): Improve error message if
7344 the row number is invalid.
7346 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7348 * org-archive.el (org-archive-save-context-info): Fix bugs in
7349 customization setup and docstring.
7351 * org-exp.el (org-export-html-style): Change the size of in the
7352 <pre> element to 90%.
7354 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7356 * org.el (org-find-src-example-start): Function removed.
7357 (org-edit-src-find-region-and-lang): New function.
7359 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7361 * org.el (org-edit-src-exit): New function.
7362 (org-exit-edit-mode): New minor mode.
7364 * org-exp.el (org-export-preprocess-string): Fix bug with removing
7365 comment-like lines from protected examples.
7367 * org.el (org-edit-src-example, org-find-src-example-start)
7368 (org-protect-source-example, org-edit-special): New functions.
7370 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7372 * org-publish.el (org-publish-project-alist): Fix typo in
7374 (org-publish-project-alist): Handle :index-title property.
7376 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7378 * org-export-latex.el (org-export-as-latex): Make sure region
7379 bounds are correct. Parse subtree properties relating to export.
7381 * org-exp.el (org-export-add-options-to-plist): New function.
7382 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7384 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7386 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7389 * org-exp.el (org-export-get-title-from-subtree)
7390 (org-export-as-ascii, org-export-as-html): Make sure the original
7391 region-beginning and region-end are used, even after moving point.
7392 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7395 * org-remember.el (org-remember-last-stored-marker): New variable.
7396 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7397 (org-remember-handler): Also use marker to remember
7398 last-stored position.
7400 * org.el (org-goto-marker-or-bmk): New function.
7402 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7404 * org.el (org-file-properties): Rename from `org-local-properties'.
7405 (org-scan-tags): Take file tags into account.
7406 (org-tags-match-list-sublevels): Default changed to t.
7408 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
7410 * org.el (org-update-parent-todo-statistics): New function.
7412 * org-exp.el (org-icalendar-store-UID): New option.
7413 (org-icalendar-force-UID): Option removed.
7414 (org-print-icalendar-entries): IMplement UIDs.
7416 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7418 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7420 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7422 * org-faces.el (org-column): Document how this face is being used
7423 and why sometimes the background faces shine through.
7425 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7427 * org-publish.el (org-publish-attachment): Create publishing
7428 directory if it does not yet exist.
7430 * org-table.el (org-calc-default-modes): Change default number
7431 format to (float 8).
7433 * org.el (org-olpath-completing-read): New function.
7434 (org-time-clocksum-format): New option.
7435 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7437 * org-clock.el (org-clock-display, org-clock-out)
7438 (org-update-mode-line): Use `org-time-clocksum-format'.
7440 * org-colview-xemacs.el (org-columns-number-to-string): Use
7441 `org-time-clocksum-format'.
7443 * org-colview.el (org-columns-number-to-string): Use
7444 `org-time-clocksum-format'.
7446 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7448 * org-id.el: New file, move from contrib to core.
7450 * org-exp.el (org-icalendar-force-UID): New option.
7452 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7454 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7455 shifted by one day if there is a date range without an end time.
7457 * org.el (org-try-structure-completion): New function.
7459 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7461 * org.el (org-set-font-lock-defaults): Improve fontification of
7463 (org-insert-item): Handle description lists.
7464 (org-adaptive-fill-function): Improve auto indentation in
7467 * org-exp.el (org-export-as-html, org-export-preprocess-string):
7468 Implement VERSE environment.
7469 (org-export-preprocess-string): Implement the COMMENT
7472 * org-export-latex.el (org-export-latex-preprocess): Implement
7475 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7477 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7480 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7482 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7484 * org.el (org-quote-csv-field): New functions.
7486 * org-table.el (org-table-export-default-format): Remove :splice
7487 from default format, we get the same effect by not specifying
7489 (org-table-export): Improve setup, distinguish better between
7490 interactive and non-interactive use, allow specifying the format
7491 on the fly, better protection against wrong file names.
7492 (orgtbl-to-generic): Fix documentation. Do not require :tstart
7493 and :tend when :splice is omitted.
7495 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7497 * org-clock.el (org-clock-select-task): Make sure the selection
7498 letters are 1-9 and A-Z, no special characters.
7500 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7502 * org-exp.el (org-export-htmlize): New group.
7503 (org-export-htmlize-output-type)
7504 (org-export-htmlize-css-font-prefix): New options.
7505 (org-export-htmlize-region-for-paste): New function.
7506 (org-export-htmlize-generate-css): New command.
7508 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7510 * org.el (org-set-visibility-according-to-property): New function.
7511 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7512 and compute the regular expressions, and update font-lock.
7513 (org-property-re): Allow a dash in property names.
7515 * org-archive.el (org-extract-archive-file): Insert the file name
7516 without the path into the format, to allow the location format to
7517 contain a subdirectory.
7519 * org-agenda.el (org-agenda-post-command-hook): If point is at end
7520 of buffer, and the `org-agenda-type' property undefined, use the
7521 value from the character before.
7523 * org.el (org-add-planning-info): Don't let indentation for
7524 would-be timestamp become extra whitespace at the end of headline.
7526 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7528 * org.el (org-remove-double-quotes, org-file-contents): New
7531 * org-exp.el (org-infile-export-plist): Also parse the
7532 contents of #+SETUPFILE files, recursively.
7534 * org.el (org-set-regexps-and-options): Also parse the
7535 contents of #+SETUPFILE files, recursively.
7537 * org-exp.el (org-export-handle-include-files): New function.
7538 (org-export-preprocess-string): Call
7539 `org-export-handle-include-files'.
7541 * org.el (org-delete-property-globally)
7542 (org-delete-property, org-set-property): Ignore case during
7544 (org-set-property): Use `org-completing-read' instead of
7547 * org.el (org-complete-expand-structure-template): New,
7548 experimental function.
7549 (org-structure-template-alist): New, experimental option.
7550 (org-complete): Call `org-complete-expand-structure-template'.
7552 2008-06-17 Bastien Guerry <bzg@altern.org>
7554 * org-export-latex.el (org-export-latex-preprocess):
7555 Add support for blockquotes.
7557 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7559 * org.el (org-read-date-analyze): Catch the case where only a
7562 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7564 * org.el (org-set-font-lock-defaults): Make the description
7567 * org-exp.el (org-export-as-html, org-close-li): Implement
7570 2008-06-17 Jason Riedy <jason@acm.org>
7572 * org-table.el (*orgtbl-default-fmt*): New variable.
7573 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7574 when there is no other fmt available.
7576 (orgtbl-to-generic): Allow an explicitly nil :tstart or
7577 :tend to suppress the appropriate string.
7579 (orgtbl-to-orgtbl): New function for translating to another orgtbl
7582 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7584 * org.el (org-read-date-analyze): "." as an alias for "+0" in
7587 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7590 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7593 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7595 * org-clock.el (org-clock-find-position): Don't include notes
7598 * org-archive.el (org-archive-subtree): No longer remove an
7599 extra line after cutting the subtree. `org-cut-subtree' already
7602 * org-remember.el (org-remember-handler): Only kill the target
7603 buffer if it does not contain the running clock.
7605 * org.el (org-markers-to-move): New variable.
7606 (org-save-markers-in-region, org-check-and-save-marker)
7607 (org-reinstall-markers-in-region): New function.
7608 (org-move-subtree-down, org-copy-subtree): Remember relative
7609 marker positions before cutting.
7610 (org-move-subtree-down, org-paste-subtree): Restore relative
7611 marker positions after pasting.
7613 * org-remember.el (org-remember-clock-out-on-exit): New option.
7614 (org-remember-finalize): Clock out only if the setting in
7615 `org-remember-clock-out-on-exit' requires it.
7616 (org-remember-handler): Do the cleanup in the buffer, to make sure
7617 that the clock marker remains in tact.
7619 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7621 * org-clock.el (org-clock-goto): Widen buffer if necessary.
7622 (org-clock-in): Make sure that also tasks outside the narrowed
7623 region will be clocked in correctly.
7624 (org-clock-insert-selection-line): Widen the buffer so that we can
7625 find the correct task heading.
7627 * org.el (org-base-buffer): New function.
7629 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7630 and ";" are escaped.
7631 (org-print-icalendar-entries): Also apply
7632 `org-icalendar-cleanup-string' to the headline, not only to the
7635 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7637 * org-exp.el (org-export-preprocess-hook): New hook.
7638 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
7640 * org.el (org-font-lock-hook): New variable.
7641 (org-font-lock-hook): New function.
7642 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7646 ;; add-log-time-zone-rule: t
7649 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
7651 This file is part of GNU Emacs.
7653 GNU Emacs is free software: you can redistribute it and/or modify
7654 it under the terms of the GNU General Public License as published by
7655 the Free Software Foundation, either version 3 of the License, or
7656 (at your option) any later version.
7658 GNU Emacs is distributed in the hope that it will be useful,
7659 but WITHOUT ANY WARRANTY; without even the implied warranty of
7660 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7661 GNU General Public License for more details.
7663 You should have received a copy of the GNU General Public License
7664 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7666 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c