1 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
3 * org.el (org-insert-link): Find the link buffer on visible
5 (org-export-latex-default-packages-alist): hyperref must be loaded
7 (org-open-file): More care with the new matching for file links.
9 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
11 * org-latex.el (org-export-latex-preprocess): Do not yet protect
12 defined entities - these will be taken care of later.
13 (org-export-latex-special-chars): Post-process entity replacement.
14 (org-export-latex-fontify-headline): Do not yet protect defined
15 entities - these will be taken care of later.
16 (org-export-latex-tables, org-export-latex-links): Format the
19 * org-entities.el (org-entities-user): Fix typo.
21 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords
23 * org-entities.el (org-entities-user): Improve docstring.
25 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
27 * org-entities.el (org-macs): Require org-macs, to be sure that we
28 have `declare-function' defined.
30 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
32 * org-latex.el (org-export-latex-classes): Update docstring.
34 * org.el (org-format-latex-header): Add cookies to the header.
35 (org-splice-latex-header): Implement placement according to
38 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
40 * org-publish.el (org-publish-aux-preprocess): Control case
43 2010-04-10 Bastien Guerry <bzg@altern.org>
45 * org.el (org-splice-latex-header): Fix typo.
47 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
49 * org-latex.el (org-export-latex-make-header): Use
50 `org-splice-latex-header' to build the header.
51 (org-export-latex-classes): Update docstring.
53 * org.el (org-splice-latex-header): New function.
54 (org-create-formula-image): Use `org-splice-latex-header' to build
57 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
59 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
61 * org.el (org-export-latex-packages-alist)
62 (org-export-latex-default-packages-alist): Fix docstring to
63 reflect the expected structure.
65 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
66 (org-export-docbook-finalize-table): Make use of label for tables.
68 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
70 * org-attach.el (org-attach-commit): Split on newlines.
72 * org.el (org-export-latex-default-packages-alist): Use list
73 instead of cons for the entries.
75 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
77 * org-entities.el (org-entity-get-representation): Catch the case
78 that there is not entry in the list.
80 * org-mobile.el (org-mobile-use-encryption)
81 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
83 (org-mobile-check-setup): CHeck the encryption setup.
84 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
85 (org-mobile-create-sumo-agenda): Use encryption code.
86 (org-mobile-encrypt-and-move): New function.
87 (org-mobile-encrypt-file, org-mobile-decrypt-file): New
89 (org-mobile-move-capture): Decrypt the capture file.
91 * org.el (org-entities): Require the new file.
92 (org-export-latex-default-packages-alist): New variable.
93 (org-complete): Use new entity code for completion.
94 (org-create-formula-image): Use the new packages variable.
96 * org-latex.el (org-export-latex-classes): Remove the standard
97 packages from the class headers.
98 (org-export-latex-make-header): Use the new package variable.
99 (org-export-latex-special-chars): Better regexp for entities, to
100 support entity name that contain numbers.
101 (org-export-latex-treat-backslash-char): Use the new entity code.
103 * org-html.el (org-html-do-expand): Use the new entity code.
105 * org-exp.el (org-export): Add the new export commands.
106 (org-html-entities): Constant removed.
107 (org-export-visible): Add the new export commands.
109 * org-entities.el: New file.
111 * org-docbook.el (org-docbook-do-expand): Use new entity code.
113 * org-ascii.el (org-export-ascii-entities): New variable.
114 (org-export-as-latin1, org-export-as-latin1-to-buffer)
115 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
116 (org-export-as-encoding): New function.
117 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
118 (org-ascii-replace-entities): New function.
120 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
122 * org-html.el (org-html-level-start): Catch the case that target
125 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
127 * org.el (org-appearance): Change Customize group variable name
128 from org-font-lock to org-appearance, and change tag from "Org
129 Font Lock" to "Org Appearance"
130 (org-odd-levels-only): Change Customize group variable name
131 (org-level-color-stars-only): Change Customize group variable name
132 (org-hide-leading-stars): Change Customize group variable name
133 (org-hidden-keywords): Change Customize group variable name
134 (org-fontify-done-headline): Change Customize group variable name
135 (org-fontify-emphasized-text): Change Customize group variable name
136 (org-fontify-whole-heading-line): Change Customize group variable name
137 (org-highlight-latex-fragments-and-specials): Change Customize
139 (org-hide-emphasis-markers): Change Customize group variable name
140 (org-emphasis-alist): Change Customize group variable name
141 (org-emphasis-regexp-components): Change Customize group variable
143 (org-modules): Remove mention of org-R
145 * org-faces.el (org-faces): Change Customize group variable name
147 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
149 * org-agenda.el (org-diary-last-run-time): New variable.
150 (org-diary): prepare agenda buffers only if last call was some
153 * org-html.el (org-export-html-preprocess): Replace \ref macros
155 (org-format-org-table-html): Add the label as an anchor.
157 * org-docbook.el (org-export-docbook-format-image): Do some
158 formatting on captions.
160 * org-latex.el (org-export-latex-tables, org-export-latex-links):
161 Do some formatting on captions.
163 * org-html.el (org-export-html-format-image)
164 (org-format-org-table-html): Do some formatting on captions.
166 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
168 * org.el (org-hidden-keywords): New customizable variable. This is
169 a list of symbols specifying which of the special keywords #+DATE,
170 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
171 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
172 implementing new faces and hiding behaviour.
174 * org-faces.el (org-document-title): New face for #+TITLE lines
175 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines
176 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL keywords
178 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
180 * org-publish.el (org-publish-sanitize-plist): New function to
181 rename "index" properties to "sitemap". Do this renaming
183 (org-publish-with-aux-preprocess-maybe): New macro.
184 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
186 (org-publish-aux-preprocess)
187 (org-publish-index-generate-theindex.inc): New function.
189 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
191 * org-table.el (org-table-align): Interpret <N> at fixed width,
192 not as maximum width.
194 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
196 * org-exp.el (org-export-author-info, org-export-email-info): Fix
199 * org-beamer.el (org-beamer-select-environment): Renamed from
200 `org-beamer-set-environment-tag'. Improve docstring.
202 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
203 problem with odd levels.
205 * org-ascii.el (org-export-as-ascii): Export email only if the
208 * org-docbook.el (org-export-as-docbook): Export email only if the
211 * org-html.el (org-export-as-html): Export email only if the
214 * org-exp.el (org-export-email-info): New option.
215 (org-export-plist-vars): Add entry for `org-export-email'.
217 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
219 * org-table.el (org-table-goto-line): Fix typo.
221 2010-04-10 Mikael Fornius <mfo@abc.se>
223 * org.el (org-agenda-files): Typo.
224 (org-read-agenda-file-list): Add optional argument to help
225 `org-store-new-agenda-file-list' to remember un-expanded file
226 names. Expand file names relative to `org-directory'.
227 (org-store-new-agenda-file-list): Keep un-expanded file names when
228 saving, if available.
229 (org-agenda-files): Update documentation.
231 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
233 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
234 a buffer with no file name attached.
236 * org.el (org-log-refile): New option.
237 (org-log-note-headings): Add a heading for refiling.
238 (org-startup-options): Add keywords for logging of the refile
240 (org-refile): Add logging action.
241 (org-add-log-note): Allow for refiling action.
243 * org-agenda.el (org-agenda-bulk-action): Make sure
244 `org-log-refile' is not `note' during a bulk action.
246 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
248 * org.el (org-map-dblocks): Use save-excursion to remember the
251 * org-attach.el (org-attach-commit): Remove dependence on xargs.
252 (org-attach-delete-one): Commit after deleting a file.
254 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
255 borders for strike-through emphasis.
257 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
258 handling of odd levels.
260 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
262 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
263 Handle `past' and `future' values.
265 * org.el (org-read-agenda-file-list): Interpret file names
266 relative to org-directory and allow environment variables and
269 * org-latex.el (org-export-latex-special-chars): Allow a
270 parenthesis before an exponent or subscript.
272 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
274 * org-src.el (org-edit-src-exit): When returning from code edit
275 buffer, if code block is hidden, leave point at start of
278 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
280 * org.el (org-insert-heading): Do not remove all spaces if the
283 * org-indent.el (org-indent): Fix group name.
285 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
287 * org-table.el (org-table-goto-column): Fix forcing a non-existing
289 (org-table-get, org-table-put, org-table-goto-line)
290 (org-table-current-line): New functions.
292 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
294 * org.el (org-open-file): Allow regular expressions in
295 org-file-apps to capture link parameters using groups. In a
296 command string to be executed, the parameters can be referenced
297 using %1, %2, etc. Lisp forms can access them using
298 (match-string n link).
299 (org-apps-regexp-alist): Adopt the created regexp, as this is now
300 matched against a file: link instead of the file name.
302 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
304 * org-crypt.el (org-reveal-start-hook): Add a decryption function
306 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
309 * org.el (org-point-at-end-of-empty-headline)
310 (org-level-increment, org-get-previous-line-level): New function.
311 (org-cycle-level): Rewritten to be independent of when this
313 (org-in-regexps-block-p): New function.
314 (org-reveal-start-hook): New hook.
315 (org-reveal): Run new hook.
317 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
319 * org-latex.el (org-export-latex-keywords): Start a new paragraph
320 after time keywords, do not add "\newline".
322 * org-html.el (org-export-as-html): Avoid double # in href.
324 * org.el (org-refile-get-location): Catch an invalid target
327 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
329 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
330 Make sure the behavior regarding to extracting time is
333 2010-04-10 Stephen Eglen <stephen@gnu.org>
335 * org-agenda.el (org-agenda-insert-diary-extract-time): New
337 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
338 variable rather than `org-agenda-search-headline-for-time'.
340 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
342 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
344 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
346 * org.el (org-adaptive-fill-regexp-backup): New variable.
347 (org-set-autofill-regexps): Store a backup of
348 `adaptive-fill-regexp'.
349 (org-adaptive-fill-function): Fix filling of comments and ordered
350 lists. If there is no other match, till try adaptive fill.
352 2010-04-10 John Wiegley <jwiegley@gmail.com>
354 * org-agenda.el (org-agenda-include-deadlines): Added new
355 customization variable to determine whether unscheduled tasks
356 should appear in the agenda solely because of their deadline.
357 Default to true, which was the previous behavior (it just wasn't
359 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
360 the agenda to show/hide deadline tasks.
361 (org-agenda-menu): Added menu option for show/hide deadlines.
362 (org-agenda-list): Make the agenda list sensitive to the value of
363 `org-agenda-include-deadlines'.
364 (org-agenda-toggle-deadlines): New function to toggle the value of
365 `org-agenda-include-deadlines' and repaint the modeline
367 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
368 modeline if deadline tasks are being displayed.
370 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
372 * org-table.el (org-table-eval-formula): Replace $# and @# by
373 current column and row number.
375 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
377 * org.el (org-set-property, org-delete-property): Go back to
378 prompting for the property.
380 * org-latex.el (org-export-latex-make-header): Fully process
382 (org-export-latex-fontify-headline): Allow several arguments, not
384 (org-export-latex-fix-inputenc): Catch the error when
385 `latexenc-coding-system-to-inputenc' is not defined.
387 * org-agenda.el (org-agenda-skip-if-todo): New function.
388 (org-agenda-skip-if): Add conditions for TODO keywords.
389 (org-agenda-skip-if): Document the new todo conditions.
391 2010-04-10 Mikael Fornius <mfo@abc.se>
393 * org.el (org-at-property-p): Check if we are inside a property
394 drawer not just any drawer.
395 (org-set-property, org-delete-property): When cursor is on a
396 property key value pair do not prompt for property name instead
398 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
399 on the first line of a property drawer.
400 (org-property-end-re): Spell check.
402 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
404 * org-exp.el (org-export-attach-captions-and-attributes): Add the
405 properties to the entire table, in case the first line is
408 * org-archive.el (org-archive-reversed-order): New option.
409 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
410 option `org-archive-reversed-order'.
412 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
414 * org-agenda.el (org-agenda-entry-types): New variable.
415 (org-agenda-list): Use `org-agenda-entry-types'.
416 (org-agenda-custom-commands-local-options): Support for setting
417 `org-agenda-entry-types' as an option.
418 (org-diary): Shift some documentation from here to the variable
419 `org-agenda-entry-types'.
421 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
423 * org-latex.el (org-export-latex-make-header): Apply macros in
426 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
427 (org-clock-select-task, org-clock-notify-once-if-expired)
428 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
429 (org-clock-out-if-current, org-clock-save): Use the new functions.
431 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
433 * org-docbook.el (org-export-as-docbook): Remove unnecessary
435 (org-export-as-docbook): Remove unnecessary newline.
436 (org-export-as-docbook): Fix problem with double footnote
437 reference in one place.
439 * org-exp.el (org-export-format-source-code-or-example): Remove
442 * org.el (org-deadline, org-schedule): Allow rescheduling entries
445 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
446 function calls that look like references.
448 * org.el (org-open-at-point): Get link abbreviations from
451 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
453 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
456 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
458 * org.el (org-link-unescape): Solve issue with lower-case escapes.
460 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
462 * org-latex.el (org-export-latex-classes): Add
463 \usepackage{latexsym} to all classes.
465 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
467 * org-html.el (org-export-as-html): Do not allow protected lines
468 into the table of contents.
470 * org-latex.el (org-export-latex-special-chars): Find subsequent
471 occurrences of special characters.
472 (org-export-latex-tables): Do not convert table-like stuff that is
475 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
477 * org-list.el (org-toggle-checkbox): No errors when updating
478 checkbox count fails because there is no heading.
480 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
482 * org-clock.el (org-clock-report-include-clocking-task): New
484 (org-clock-sum): Add the current clocking task.
486 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
488 * org.el (org-cycle): Print a message when in a table.el table.
489 (org-edit-special): Recognize the table.el context.
490 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
492 * org-src.el (org-at-table.el-p): Declare.
493 (org-edit-src-code): Handle a special case for table.el editing.
494 (org-edit-src-find-region-and-lang): Recognize the table.el
497 * org-latex.el (org-export-latex-tables): Convert table.el
499 (org-export-latex-convert-table.el-table): New function.
501 * org-html.el (org-html-expand): Fix table.el export.
503 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
506 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
507 table for the id locations.
509 * org.el (org-read-date-analyze): Match American-style dates, like
510 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
511 current year when reading ISO and American dates.
513 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
515 * org.el (org-face-from-face-or-color): New function.
516 (org-get-todo-face, org-font-lock-add-priority-faces)
517 (org-get-tag-face): Use `org-face-from-face-or-color'.
519 * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
520 simple colors as values.
521 (org-faces-easy-properties): New option.
523 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
524 restricted, as an agenda mode.
525 (org-agenda-fontify-priorities): Allow simple colors as values.
527 2010-04-10 Bastien Guerry <bzg@altern.org>
529 * org-timer.el (org-timer-current-timer): Renamed from
530 `org-timer-last-timer'.
531 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
532 (org-timer-cancel-timer, org-timer-show-remaining-time)
533 (org-timer-set-timer): Update to use only one timer.
535 * org.el (org-set-property): Remove useless space in the prompt.
537 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
539 * org-html.el (org-export-html-style-default): Add a default style
542 * org-exp.el (org-export-format-source-code-or-example): Fix
545 2010-04-10 Bastien Guerry <bzg@altern.org>
547 * org-clock.el (org-clock-current-task): New variable to store
548 last clocked in task.
549 (org-clock-set-current, org-clock-delete-current): New functions.
551 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
553 * org-remember.el (org-remember-apply-template): Extend comment.
554 (org-remember-handler): Implement clock sibling filing.
556 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
558 * org-publish.el (org-publish-all, org-publish-current-file)
559 (org-publish-current-project): When called with prefix argument
560 FORCE, also rebuild the validation file list.
562 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
565 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
567 * org-html.el (org-export-as-html-and-open): Kill product buffer
568 if the user wants that.
570 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
571 if the user wants that.
573 * org-exp.el (org-export-kill-product-buffer-when-displayed): New
576 * org-agenda.el (org-batch-agenda-csv): Use the time property
577 instead of the `time-of-day' property.
579 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
581 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
582 (org-timer-pause-hook, org-timer-set-hook)
583 (org-timer-cancel-hook): New hooks.
584 (org-timer-start): Run `org-timer-start-hook'.
585 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
586 (org-timer-stop): Run `org-timer-stop-hook'.
587 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
589 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
591 * org.el (org-reveal): Double prefix arg shows the subtree of the
594 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
596 * org-agenda.el (org-search-view): Fix bug with searching full
597 words in headlines in search view.
598 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
599 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
600 scheduled (if the user configures it so.
602 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
604 * org.el (org-hide-archived-subtrees): Don't jump to end of
605 subtree if the match was not in a headline.
606 (org-inside-latex-macro-p): Allow more complex arguments.
607 (org-emphasize): Protect against use at end of buffer.
609 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
611 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
614 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
616 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
618 (org-agenda-todo-ignore-scheduled)
619 (org-agenda-todo-ignore-deadlines): More control with different
621 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
622 Honor the new option settings.
624 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
626 * org.el (org-get-location): Make sure the selection buffer is
627 shown in the current frame.
629 * org-ascii.el (org-export-ascii-table-widen-columns): New
631 (org-export-ascii-preprocess): Realign tables to remove narrowing
632 if `org-export-ascii-table-widen-columns' is set.
634 * org-table.el (org-table-do-narrow): New variable.
635 (org-table-align): Narrow only if `org-table-do-narrow' is t.
637 * org.el (org-deadline, org-schedule): Allow updating if the
638 relevant time stamp does not have a repeater, i.e. do not require
639 that no time stamp has a repeater.
641 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
642 new white space before the tags.
644 * org-latex.el (org-export-as-latex): Do nit require the buffer to
645 be visiting a file when only exporting to a buffer or string.
646 (org-export-latex-fix-inputenc): Only save the buffer is there is
647 a file name attached to it.
649 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
651 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
653 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
655 * org.el (org-fontify-meta-lines-and-blocks): Honor
656 `org-fontify-quote-and-verse-blocks'.
658 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
660 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
662 * org.el (org-open-at-point): Also check for text property
663 org-linked-text before offering collected links.
665 2010-04-10 Stephen Eglen <stephen@gnu.org>
667 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
668 Optionally extract time specification from text and add to the
671 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
673 * org-exp.el (org-html-entities): Fix typo.
675 * org-latex.el (org-export-latex-make-header): Use \providecommand
676 to make sure the \alert macro is defined.
678 * org.el (org-format-latex-signal-error)
679 (org-create-formula-image): Use `org-format-latex-signal-error'.
681 2010-04-10 Stephen Eglen <stephen@gnu.org>
683 * org.el (org-store-link): For dired buffers, use
684 default-directory as link name if dired-get-filename returns
687 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
689 * org-exp.el (org-export-concatenate-multiline-links): The for
690 protectedness at beginning of match.
692 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
693 AUTO as a coding system, instead default to utf8.
695 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
697 * org.el (org-block-todo-from-children-or-siblings-or-parent)
698 (org-block-todo-from-checkboxes): Respect the local variable
699 value when deciding if blocking should be active.
701 * org-latex.el (org-export-latex-make-header): Define the align
702 macro if it is not yet defined.
704 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
705 `org-insert-heading' with the INVISIBLE-OK argument.
707 * org-mac-message.el (org-mac-message-insert-flagged): Call
708 `org-insert-heading' with the INVISIBLE-OK argument.
710 * org.el (org-insert-heading): New argument INVISIBLE-OK.
712 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
715 * org-html.el (org-html-level-start): Use the
716 `html-container-class' text property to set an additional class
717 for an outline container.
719 * org-exp.el (org-export-remember-html-container-classes): New
721 (org-export-preprocess-string): Call
722 `org-export-remember-html-container-classes'.
724 * org.el (org-cycle): Mention level cycling in the docstring.
725 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
727 * org-remember.el (org-remember-apply-template): Do file insertion
730 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
732 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
733 problem with mis-aligned graphs when showing habits.
735 2010-04-10 Mikael Fornius <mfo@abc.se>
737 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
738 when assigning. Begin using numerical characters when all in name
739 is used up. This is to spare alphanumeric characters for better
740 match with other keywords.
742 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
744 * org-exp.el (org-export-preprocess-hook): Improve documentation.
746 * org-latex.el (org-export-latex-preprocess): More consistent
747 conversion and protection of the words LaTeX and TeX.
748 (org-export-latex-fontify-headline, org-export-latex-preprocess):
749 Allow angle brackets in commands, for beamer.
751 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
753 * org-clock.el (org-clock-in): Improve the look of the clock line
756 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
758 * org-latex.el (org-export-latex-classes): Use AUTO as the place
759 holder string for the coding system. And improve the
761 (org-export-latex-fix-inputenc): Only modify the coding system if
762 it is given by the placeholder AUTO.
764 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
766 * org-clock.el (org-task-overrun-text): New option.
767 (org-task-overrun, org-clock-update-period): New variables.
768 (org-clock-get-clock-string, org-clock-update-mode-line): Mark
770 (org-clock-notify-once-if-expired): Check if clock is overrun.
772 * org-faces.el: New face `org-mode-line-clock-overrun'.
774 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
776 * org.el (org-narrow-to-subtree): Position the end of the narrowed
777 region before the line with the next heading, to prevent the user
778 from prepending text to the next headline.
780 2010-04-10 Stephen Eglen <stephen@gnu.org>
782 * org-agenda.el (org-get-time-of-day): Use
783 org-agenda-time-leading-zero to allow leading zero (rather than
786 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
788 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
789 org-datetree.el is loaded.
791 * org-datetree.el: autoload `org-datetree-find-day-create'
793 * org-latex.el (org-export-latex-hyperref-format): New option.
794 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
796 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
798 * org-ctags.el (org-ctags-enable): Change order of functions.
799 (org-ctags-create-tags): Add wildcard to file name expansion.
801 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
803 * org.el (org-entry-properties): Fix some important bugs.
805 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
807 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
808 the table is not explicitly given.
810 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
812 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
814 (org-clock-out-if-current): Work with the new list value of
815 `org-clock-out-when-done'.
816 (org-clock-out, org-clock-out-if-current): Avoid circular logic
817 between clocking out and state changes.
819 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
821 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
822 accident protect a character that is before a backslash.
824 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
826 * org-agenda.el (org-diary-class): Use
827 `org-order-calendar-date-args'.
829 * org.el (org-order-calendar-date-args): New function.
831 * org-exp.el (org-export-target-internal-links): Check for
832 protectedness after the first bracket.
834 * org.el (org-entry-properties): Don't match wrong-case TODO
837 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
838 Document that ARG is passed through to remove the date.
839 (org-agenda-bulk-action): Accept prefix arg and pass it on. Do
840 not read a date when the user has given a `C-u' prefix.
842 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
844 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
847 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
849 * org-latex.el (org-export-latex-fix-inputenc): New function.
850 (org-export-latex-inputenc-alist): New option.
852 * org-exp.el (org-export): New key SPC to publish enclosing
855 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
857 * org-indent.el (org-indent-add-properties): Catch case when there
858 is no headline in the buffer.
860 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
862 * org-exp.el (org-html-entities): Add checkmark symbol.
864 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
865 verbatim code for ASCII export.
867 * org.el (org-update-statistics-cookies): Also see checkboxes in
870 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
872 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
875 * org-beamer.el (org-beamer-amend-header): Change the location
876 where `org-beamer-header-extra' is inserted.
878 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
879 just for computing this regexp.
881 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
883 * org-beamer.el (org-beamer-frame-default-options): New option.
884 (org-beamer-sectioning): Use default options if the user does not
886 (org-beamer-fix-toc): Put a frame around the table of contents.
888 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
889 sure case-folding works well when processing comment stuff.
891 * org-latex.el (org-export-latex-after-save-hook): New hook.
892 (org-export-as-latex): Run the new hook.
894 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
896 * org-beamer.el (org-beamer-environments-default): Add the note
898 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
899 lines and collect and combine the content.
900 (org-beamer-after-initial-vars): Check for note tags and make sure
901 they will be seen like a property.
903 * org.el (org-offer-links-in-entry): Fix bug when there is a
906 * org-exp.el (org-export): Make sure the mark is activated, also
907 when `transient-mark-mode' is off.
909 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
910 (org-agenda-search-view-search-words-only): Obsolete variable, is
911 now an alias for `org-agenda-search-view-always-boolean'.
912 (org-agenda-search-view-force-full-words): New option.
913 (org-search-view): Improve docstring, and implement a better logic
914 for Boolean and phrase searches.
915 (org-agenda-last-search-view-search-was-boolean): New variable.
916 (org-agenda-manipulate-query): Consider the type of the last
917 search when modifying the search string.
919 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
921 * org-latex.el (org-export-as-latex): Do the first letbind in the
924 * org-agenda.el (org-get-entries-from-diary): Add the new face to
927 * org-faces.el (org-agenda-diary): New face.
929 * org.el (org-make-link-regexps): Allow regexp-special characters
931 (org-open-file): When in-emacs is `system', also force system
932 opening, like when the value was `(16)'.
933 (org-update-statistics-cookies): Handle entries without children.
936 (org-export-preprocess-before-normalizing-links-hook): New hook.
937 (org-export-preprocess-string): Run the new hook.
939 * org.el (org-offer-links-in-entry): Make RET open all links.
941 * org-html.el (org-export-as-html): Remove any leftover display
942 properties in the html file.
944 * org-wl.el (org-wl-store-link): Work-around for format bug with
947 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
948 invisibility while adding the graphs.
950 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
952 * org-remember.el (org-select-remember-template): Use C letter to
953 customize remember templates.
955 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
956 Move cursor to next visible line.
958 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
960 * org-beamer.el (org-beamer-sectioning): Leave columns environment
961 by specifying 0 or 1 for column width.
962 (org-beamer-column-widths): Make 0 stand for 0.0.
964 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
966 * org-exp.el (org-export-mark-radio-links): Don't match inside
969 * org.el (org-format-latex-header-extra): New variable.
970 (org-format-latex): Set org-format-latex-header-extra from
972 (org-format-latex): Add org-format-latex-header-extra to the
973 variables on which image creation depends.
974 (org-create-formula-image): Add the header stuff from in-buffer
976 (org-read-date-analyze): Base the analysis for future preference
977 on NOW, not on the default date.
979 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
980 for TODO keyword in inline tasks.
982 * org.el (org-log-note-headings): New headings for removing
983 deadline or scheduling date.
984 (org-deadline, org-schedule): Arrange for logging when removing a
986 (org-add-log-note): Handle deadline and scheduling removal.
988 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
990 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
992 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
994 * org-agenda.el (org-diary-class): New function.
996 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
998 * org-latex.el (org-export-latex-preprocess): Do process the text
1001 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1003 * org.el (org-entry-properties): Add TIMESTAMP properties back
1006 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1008 * org.el (org-all-time-keywords): New variable.
1009 (org-set-regexps-and-options): Set `org-all-time-keywords'.
1010 (org-entry-blocked-p): New function.
1011 (org-special-properties): Add BLOCKED as a new special property.
1012 (org-entry-properties): New optional argument SPECIFIC, only parse
1013 for this property when it is specified.
1014 (org-entry-get): Pass a SPECIFIC argument to
1015 `org-entry-properties'.
1017 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
1019 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1021 * org-latex.el (org-export-latex-tables): No forced line end if
1022 there is no caption.
1024 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1026 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
1029 * org-latex.el (org-export-latex-tables): Only add a caption when
1030 macro in in longtable environments if one has been defined.
1032 * org-html.el (org-export-as-html): Only take title from buffer if
1033 not exporting body-only.
1035 * org-latex.el (org-export-latex-preprocess): Better version of
1036 the regular expression for protecting LaTeX macros.
1037 (org-export-latex-preprocess): Start searching for macros to
1038 protect from beginning of buffer.
1040 * org-exp.el (org-export-target-internal-links): Check for
1041 protectedness earlier in the string.
1043 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
1046 * org-id.el (org-id-store-link): Match TODO keywords case
1049 * org.el (org-heading-components, org-get-outline-path)
1050 (org-display-outline-path): Match TODO keywords case sensitively.
1052 * org-latex.el (org-export-as-latex): Ignore read-only
1055 * org-exp.el (org-export-preprocess-string): Remove any
1056 `read-only' properties.
1058 * org-agenda.el (org-agenda-inactive-leader): New option.
1059 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
1060 (org-tags-view): Prompt for matcher if MATCH is an empty string.
1061 (org-todo-list): Prompt for matcher if ARG is an empty string.
1063 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1065 * org.el (org-open-link-functions): New hook.
1066 (org-open-at-point): Run `org-open-link-functions'.
1068 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1070 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
1073 * org.el (org-inhibit-startup-visibility-stuff): New variable.
1074 (org-mode): Don't do startup visibility if inhibited.
1075 (org-outline-overlay-data, org-set-outline-overlay-data): New
1077 (org-save-outline-visibility): New macro.
1078 (org-log-note-headings): Document that one should not change the
1079 `state' note format.
1081 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1083 * org.el (org-make-link-regexps): Capture link path into a group.
1085 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1087 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
1090 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1092 * org.el (org-startup-with-beamer-mode): New option.
1093 (org-property-changed-functions)
1094 (org-property-allowed-value-functions): New hooks.
1095 (org-entry-put, org-property-get-allowed-values): Run the new
1097 (org-property-next-allowed-value): Run the new hooks.
1099 * org-exp.el (org-export-select-backend-specific-text): Add the
1100 special beamer tags.
1103 (org-export-preprocess-before-selecting-backend-code-hook): New
1106 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
1107 (org-export-as-latex): Run
1108 `org-export-latex-after-initial-vars-hook'.
1109 (org-export-latex-format-toc-function)
1110 (org-export-latex-make-header): Call
1111 `org-export-latex-format-toc-function'.
1113 * org.el (org-fill-template): Make template searches case sensitive.
1115 * org-exp.el (org-export): Use "1" as a sign to export only the
1118 * org-colview-xemacs.el (org-columns-edit-value): Use
1119 org-unrestricted property.
1121 * org-colview.el (org-columns-edit-value): Use
1122 org-unrestricted property.
1124 * org.el (org-compute-property-at-point): Set org-unrestricted
1125 text property if the list contains ":ETC".
1126 (org-insert-property-drawer): Use
1127 org-unrestricted property.
1130 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
1131 (org-export-preprocess-string): Run
1132 `org-export-preprocess-before-selecting-backend-code-hook'.
1134 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
1136 * org-latex.el (org-export-region-as-latex): Run
1137 `org-export-first-hook'.
1139 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
1141 * org-docbook.el (org-export-as-docbook): Run
1142 `org-export-first-hook'.
1144 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
1146 * org-exp.el (org-export-first-hook): New hook.
1148 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1150 * org-list.el (org-previous-item): Exit at the beginning of the
1153 * org-id.el (org-id-locations-save): Only write the id locations
1156 * org-archive.el (org-archive-all-done): Make this work in a file
1157 with org-odd-levels-only set.
1159 * org.el (org-get-refile-targets): Catch the case when a buffer
1162 * org-latex.el (org-export-as-latex): Cleanup forced line ends
1163 where they are not needed.
1164 (org-export-latex-subcontent): Remove unnecessary newlines.
1166 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1168 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
1169 (org-export-latex-fontify): Fix regexp bug that takes special
1170 care of protecting the right boundary characters in emphasis
1172 (org-export-latex-preprocess): Allow multiple arguments to latex
1175 * org.el (org-make-link-regexps): Use John Gruber's regexp for
1178 * org-macs.el (org-re): Interpret :punct: in regexps.
1180 * org-exp.el (org-export-replace-src-segments-and-examples): Also
1181 take the final newline after the END line.
1183 * org.el (org-clean-visibility-after-subtree-move): Only fix
1184 entries that are not entirely invisible already.
1185 (org-insert-link): Respect org-link-file-path-type for
1186 "docview:" links in addition to "file:" links.
1188 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1190 * org-exp.el (org-export-format-source-code-or-example): Avoid
1191 additional extra white lines in LaTeX.
1193 * org-list.el (org-list-parse-list): Leave empty lines after the
1194 list, don't consider them as part of the list.
1196 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
1199 * org-clock.el (org-clock-select-task): Convert integer to
1200 character for XEmacs.
1202 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1204 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
1207 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
1209 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
1211 (org-set-tags): Use it.
1213 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1215 * org-list.el (org-empty-line-terminates-plain-lists): Update
1218 * org.el (org-format-latex): Fix link creation for processed latex
1221 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1223 * org-footnote.el (org-footnote-normalize): Protect replacement
1226 * org.el (org-inside-latex-macro-p): Save match data.
1228 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
1230 * org-docview.el: New file.
1232 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1234 * org-latex.el (org-export-latex-class-options): New variable.
1235 (org-export-latex-set-initial-vars): Use the class options.
1237 * org.el (org-forward-same-level): Stop at headings that start
1238 with an invisible character.
1239 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
1241 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1243 * org-footnote.el (org-footnote-normalize): Don't take optional
1244 arguments in LaTeX macros as footnotes.
1246 * org.el (org-inside-latex-macro-p): New function.
1248 * org-latex.el (org-latex-to-pdf-process): Change customization
1249 group to `org-export-pdf'.
1251 * org-agenda.el (org-agenda-get-blocks): Look at time string also
1252 on days after the first one.
1254 * org.el (org-insert-heading): Also check for item before assuming
1255 before-first-heading condition.
1257 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1258 (org-export-pdf-logfiles): New option.
1259 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1260 (org-export-pdf-logfiles): Fix customization type.
1262 * org.el (org-insert-link): Improve error message when there is no
1263 default link to select with RET.
1265 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1268 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1270 * org-latex.el (org-export-latex-parse-global)
1271 (org-export-latex-parse-content)
1272 (org-export-latex-parse-subcontent): Use
1273 `org-re-search-forward-unprotected'.
1274 (org-export-as-pdf): Remove log files produced by XeTeX.
1276 * org-macs.el (org-re-search-forward-unprotected): New function.
1278 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
1280 * org-colview.el (org-agenda-colview-summarize): Sort out some
1281 confusion between properties and titles, which resulted in
1282 agenda summaries not working if a title was set for a column.
1284 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1286 * org-mobile.el (org-mobile-agendas): New option.
1287 (org-mobile-sumo-agenda-command): Select the right agendas.
1289 * org-latex.el (org-export-latex-format-image): Preserve the
1290 original-indentation property.
1292 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1294 * org-clock.el (org-clock-insert-selection-line): Catch error when
1295 an old tasks no longer exists.
1297 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1298 (org-export-as-pdf): Don't remove the old PDF file before making
1301 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1302 (org-mouse-context-menu): Use `org-looking-back'.
1304 * org.el (org-cycle-level): Use `org-looking-back'.
1306 * org-list.el (org-cycle-item-indentation): Use
1309 * org-compat.el (org-looking-back): New function.
1311 * org.el (org-insert-heading): Catch before-first-headline when
1312 inserting a headline.
1314 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1316 * org-latex.el (org-export-latex-format-image): Indent figure
1317 environment, so that it does not interrupt plain list.
1319 * org.el (org-open-at-point): Allow long link descriptions.
1321 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1323 * org-html.el (org-export-as-html): Remove empty lines at the
1324 beginning of the exported text.
1326 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
1328 * org.el (org): Remove from hypermedia group.
1330 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1334 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
1336 * org-freemind.el (org-freemind-from-org-mode-node)
1337 (org-freemind-from-org-mode, )
1338 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
1339 Pass arg to called-interactively-p.
1341 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1343 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
1344 Fix typos in docstrings.
1346 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
1348 * org.el (org-get-outline-path, org-speed-command-help):
1349 Fix typos in error messages.
1351 2009-12-14 Juri Linkov <juri@jurta.org>
1353 * org-html.el (org-export-html-style-include-default):
1354 Put `safe-local-variable booleanp' on
1355 `org-export-html-style-include-default' instead of mistakenly
1356 duplicate `org-export-html-style'.
1358 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
1360 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1361 agenda after adding new entry.
1363 * org-datetree.el (org-datetree-find-day-create): Fix regular
1366 * org.el (org-display-outline-path): Use a format specifier for
1367 message, to avoid problems with heading containing `%'.
1369 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1370 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1371 (org-agenda-fix-displayed-tags): New function.
1372 (org-agenda-do-context-action): Just call
1373 `org-display-outline-path', without piping the result through
1376 * org-latex.el (org-export-latex-preprocess): Protect secondary
1377 footnote references.
1379 * org-indent.el (org-indent-initialize): Avoid empty strings as
1382 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1383 hat checking for the mark does not throw an error.
1384 (org-agenda-diary-entry-in-org-file): Catch the case that there is
1385 not `day' text property in the cursor line.
1387 * org.el (org-sort-entries-or-items): Make sure that the final
1388 entry has a newline before doing the sorting.
1390 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1391 property at the beginning of the line.
1393 * org.el (org-make-link-string): Don't allow a description with
1396 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1397 (org-agenda-insert-diary-as-top-level): New function.
1398 (org-agenda-add-entry-to-org-agenda-diary-file): Call
1399 `org-agenda-insert-diary-as-top-level'.
1401 * org.el (org-occur-in-agenda-files): Make sure none of the
1402 buffers is narrowed.
1403 (org-activate-plain-links): Add the face property here.
1404 (org-set-font-lock-defaults): Do not add the face to plain links,
1405 the activator function does this.
1407 * org-habit.el (org-is-habit-p): Add doc string.
1409 * org-archive.el (org-archive-subtree-default-with-confirmation):
1412 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1413 after match optional (happens at the end of a line...).
1415 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1418 * org-faces.el (org-copy-face): Set lisp indentation.
1419 (org-quote, org-verse): New faces.
1421 * org-agenda.el (org-agenda-remove-date): Remove variable.
1423 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1425 * org-html.el (org-export-as-html): Move the home/up link into
1428 * org.el (org-export-latex-packages-alist): Option definition
1429 moved here from org-latex.el.
1431 * org-html.el (org-export-html-home/up-format): Add an ID to the
1434 * org-wl.el (org-wl-store-link): Handle the case that
1435 `wl-use-petname' is set.
1437 * org.el (org-set-effort): Improve prompt.
1438 (org-get-outline-path): Widen to get full path.
1439 (org-compact-display-after-subtree-move): Function removed.
1441 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
1443 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1444 hash keys to cache and re-use images generated by the
1445 org-exp-blocks interface to ditaa and dot.
1447 * org.el (org-format-latex): Latex images are now saved to files
1448 named by the sha1 hash of the latex source text avoiding
1449 regeneration of identical images.
1451 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1453 * org-latex.el (org-export-as-latex): Add the :drawers property.
1455 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1457 * org.el (org-speed-commands-user): Allow documentation headlines.
1458 (org-speed-commands-default): Organize the value of this constant
1459 with descriptive headlines.
1460 (org-print-speed-command): Output the headlines.
1462 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1464 * org-agenda.el (org-agenda-show-outline-path): New option.
1465 (org-agenda-do-context-action): New function.
1466 (org-agenda-next-line, org-agenda-previous-line): Use
1467 `org-agenda-do-context-action'.
1469 * org.el (org-use-speed-commands): Allow function value.
1470 (org-speed-commands-default): Make headline motion safe, so that
1471 these commands always end on a headline.
1472 (org-speed-commands-default): New key `v' for `org-agenda'.
1473 (org-speed-move-safe): New function.
1474 (org-self-insert-command): Use the function value of
1475 `org-use-speed-commands'.
1476 (org-get-outline-path): Improve docstring.
1477 (org-format-outline-path): New function.
1478 (org-display-outline-path): New function.
1480 2009-11-15 John Wiegley <jwiegley@gmail.com>
1482 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1483 a string, use that to find the LOGBOOK drawer.
1485 2009-11-15 Glenn Morris <rgm@gnu.org>
1487 * org-agenda.el (org-datetree-find-date-create)
1488 (org-habit-get-priority):
1489 * org.el (org-format-agenda-item): Fix declarations.
1491 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1493 * org.el (org-clone-subtree-with-time-shift): Make it work at the
1496 * org-mobile.el (org-mobile-write-checksums): Specify coding
1498 (org-mobile-timestamp-buffer): Keep local variable/mode line at
1499 beginning of buffer.
1501 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1503 * org.el (org-block-todo-from-children-or-siblings-or-parent)
1504 (org-block-todo-from-checkboxes): Do not block changes to a nil
1507 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1509 * org-habit.el (org-habit-parse-todo): Indicate which habit is
1510 wrongly set up in the error messages.
1512 * org-colview.el (org-columns-display-here): Don't try to
1513 calculate values if the underlying property is not set.
1514 (org-columns-string-to-number): Convert age strings back into
1516 (org-agenda-colview-summarize): Handle extended summary types
1519 * org-colview-xemacs.el (org-columns-display-here): Don't try to
1520 calculate values if the underlying property is not set.
1521 (org-columns-string-to-number): Convert age strings back into
1523 (org-agenda-colview-summarize): Handle extended summary types
1526 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1528 * org-exp.el (org-export-format-drawer-function): New variable.
1529 (org-export-format-drawer): New function.
1530 (org-export-preprocess-string): Pass the backend as a parameter to
1531 `org-export-remove-or-extract-drawers'.
1532 (org-export-remove-or-extract-drawers): New parameter BACKEND.
1534 * org-protocol.el (org-protocol-char-to-string): New defsubst.
1536 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1538 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1539 message when no block is selected.
1541 * org-latex.el (org-export-latex-links): Check for protectedness
1542 in the last matched character, not after the match.
1544 * org-datetree.el (org-datetree-find-date-create): Respect
1545 restriction when KEEP-RESTRICTION is set.
1546 (org-datetree-file-entry-under): New function.
1547 (org-datetree-cleanup): New command.
1549 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1551 * org-src.el (org-edit-src-code): New optional argument context
1552 allows calling functions to avoid altering the saved window
1554 (org-edit-src-exit): Do not restore window configuration when this
1555 function is used in the context of saving the edit buffer.
1557 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1559 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1560 instances to switching to with-current-buffer, because these seem
1561 to cause problems - no idea why.
1563 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1564 Require diary-lib for (diary-date-display-form).
1566 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1568 * org.el (org-log-reschedule, org-log-redeadline): New options.
1569 (org-log-note-headings): Add templates for rescheduling and
1571 (org-startup-options): Add in-buffer settings for logging changing
1572 schedule and deadline time stamps.
1573 (org-deadline, org-schedule): Check for existing date and arrange
1574 for logging if the user requests it.
1575 (org-add-log-note): Prepare proper note buffers for rescheduling
1576 and deadline changes.
1578 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1580 * org-agenda.el (org-agenda-diary-entry-in-org-file)
1581 (org-agenda-add-entry-to-org-agenda-diary-file)
1582 (org-agenda-insert-diary-make-new-entry): New functions.
1583 (org-agenda-diary-entry): Call
1584 `org-agenda-diary-entry-in-org-file' when appropriate.
1586 * org.el (org-calendar-insert-diary-entry-key): New option.
1587 (org-agenda-diary-file): New option.
1588 ("calendar"): Install our insertion function in the calendar.
1590 * org-remember.el (org-datetree): Require.
1591 (org-remember-templates): Add new positioning option.
1592 (org-remember-reference-date): New variable.
1593 (org-remember-apply-template): Store the reference date in a local
1595 (org-remember-handler): Implement date tree positioning of entries.
1597 * org-datetree.el: New file.
1599 * org-latex.el (org-export-latex-preprocess): Protect targets in
1602 * org-html.el (org-export-as-html): Protect targets in verbatim
1605 * org-docbook.el (org-export-as-docbook): Protect targets in
1608 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1610 * org-clock.el (org-show-notification): Handle messages that
1611 contain a percent character.
1613 * org-remember.el (org-remember-apply-template): Turn of partial
1616 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1617 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1619 * org.el (org-indent-mode): Define variable already in org.el.
1620 (org-unfontify-region): Remove line-prefix and wrap-prefix
1621 properties only if org-indent-mode is active.
1623 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1625 * org-icalendar.el (org-print-icalendar-entries): Save match data
1626 around call to verify function.
1627 (org-print-icalendar-entries): Add a call to the verification
1630 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1631 save-restrivtion' form.
1633 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1635 * org-exp.el (org-export-format-source-code-or-example): restrict
1636 scope of preserve-indentp to the let binding.
1637 (org-src): require org-src, since org-src-preserve-indentation is used.
1639 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1641 * org-timer.el (org-timer-set-timer): Set variables
1642 org-timer-timer[123] correctly.
1645 * org-mobile.el (org-mobile-files-alist): Make it work when
1646 `agenda-archives' is included in
1647 `org-agenda-text-search-extra-files'.
1648 (org-mobile-push): Restore agenda after mobile push.
1650 2009-11-13 John Wiegley <jwiegley@gmail.com>
1652 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1653 way the amount of idle time is presented in the minibuffer.
1655 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1657 * org-icalendar.el (org-print-icalendar-entries): Use
1658 org-icalendar-verify-function only if non-nil.
1660 * org.el (org-refile): Refile to clock only if the prefix arg is
1662 (org-sparse-tree): Fix docstring to be in line with prompt.
1663 (org-update-parent-todo-statistics): Call
1664 `org-after-todo-statistics-hook' on each level.
1666 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1668 * org-remember.el (org-remember-apply-template): Make sure the
1671 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1673 * org.el (org-tab-ind-state): New variable.
1674 (org-cycle-level): New function.
1675 (org-cycle-level-after-item/entry-creation): New option.
1676 (org-flag-subtree): New function.
1677 (org-hide-archived-subtrees): Call `org-flag-subtree'.
1678 (org-set-effort): Indexed access.
1680 * org-list.el (org-cycle-item-indentation): New function.
1682 * org.el (org-refile): Make prefix argument 2 refile to current
1684 (org-priority): Interpret action `remove' as call to remove the
1687 * org-remember.el (org-remember-apply-template): Don't depend on
1688 buffer name being like file name.
1690 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1692 * org-clock.el (org-clock-play-sound): Expand file in
1693 org-clock-sound, to allow ~ for home.
1695 * org-remember.el (org-remember-handler): Set
1696 text-before-node-creation even if this already looks like a node,
1697 because the string might be needed on non-org-mode target files.
1699 * org-agenda.el (org-agenda-open-link): Make this work in agenda
1701 (org-agenda-switch-to): Follow a link at point if
1702 org-return-follows-link' is set and there is nothing else to do in
1705 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1707 * org-colview-xemacs.el: Add in changes from org-colview.el
1709 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1711 * org-exp-blocks.el: Modify split separator regexp to avoid empty
1714 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1716 * org-colview.el (org-columns-new): Make this work with the new
1718 (org-columns-store-format): Make this work with the new operators.
1720 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1722 * org-src.el (org-src-preserve-indentation): Document that this
1723 variable is also used during export.
1725 * org-exp.el (org-export-format-source-code-or-example): Preserve
1726 indentation if a block has a -i option, or if
1727 `org-src-preserve-indentation' is set.
1729 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1730 indentation if a block has a -i option, or if
1731 `org-src-preserve-indentation' is set.
1733 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1735 * org.el (org-mode-map): Define the new archiving keys.
1736 (org-speed-commands-default): Define an archiving key in the speed
1738 (org-org-menu): Improve the menu structure concerning archiving.
1740 * org-archive.el (org-archive-subtree-default-with-confirmation):
1743 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1744 (org-agenda-menu): Add the new archiving commands to the menu.
1745 (org-agenda-archive-default)
1746 (org-agenda-archive-default-with-confirmation): New commands.
1747 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1748 call `org-agenda-archive-with'.
1749 (org-agenda-archive-with): New function.
1751 * org-table.el (org-table-convert-region): Inert spaces around "|"
1752 to avoid line beginnings like "|-1" which will be mistaken as
1755 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1757 * org.el (org-offer-links-in-entry): Return nil if there are no
1758 links, t if a link has been selected.
1759 (org-open-at-point): Open attachment directory when called in the
1760 headline and there are no links in the entry body.
1761 (org-speed-commands-default): Add "o" for open-at-point as a speed
1764 * org-attach.el (org-attach-reveal): Optional prefix arg
1765 IF-EXISTS, which avoids creating the attachment directory if it
1768 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1771 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1773 * org.el ("abbrev"): Work with abbrev tables only after they have
1776 * org-list.el (org-list-send-list): Fix bug related to match
1779 * org-latex.el (org-export-latex-fontify): Apply verbatim
1781 (org-export-latex-make-header): Insert \obeylines if line breaks
1782 should be preserved.
1784 * org-exp.el (org-export-protect-verbatim): Add an
1785 `org-verbatim-emph' property to such text.
1787 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1789 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1790 (org-print-icalendar-entries): Skip entries where the timestamp is
1791 not a deadline and not scheduled, if the user requests that.
1793 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1794 before an opening quote.
1796 * org-archive.el (org-archive-subtree): Keep archive after
1797 archiving something.
1799 * org-id.el (org-id-update-id-locations): Add archive files if
1800 that is required by `org-id-extra-files'.
1802 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1804 * org-src.el (org-src-window-setup): New option.
1805 (org-src-switch-to-buffer): New function.
1806 (org-edit-src-exit): Add optional argument CONTEXT and use it to
1807 restore window configuration.
1808 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1809 Call `org-src-switch-to-buffer'.
1811 * org.el (org-default-properties): Add STYLE property.
1812 (org-files-list): Use the function call to get the files.
1813 (org-additional-option-like-keywords): Add SETUPFILE to completion
1816 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1818 * org-table.el (org-table-convert-region): Correctly interpret
1819 quoting in csv import.
1821 * org.el (org-icompleting-read): Make iswitchb completion work
1822 with lists and tables.
1824 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1825 while pushing the mobile agenda.
1827 2009-11-13 John Wiegley <jwiegley@gmail.com>
1830 (org-clock-auto-clock-resolution): Now takes three values: nil, t
1831 and `when-no-clock-is-running'.
1832 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1833 whether or not to resolve Org buffers on clock in.
1835 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1837 * org-colview.el (org-format-time-period): Function to format
1838 times in fractional days for display.
1839 (org-columns-display-here): Add support for showing a calculated
1840 value in place of the property.
1841 (org-columns): Set `org-columns-time' to the current time so time
1842 difference calculations will work.
1843 (org-columns-time): Use to store the current time when column view
1844 is displayed, so all time differences will use the same reference
1846 (org-columns-compile-map): There is now an extra position in each
1847 entry specifying the function to use to calculate the displayed
1848 value for the non-calculated properties in the column,
1849 (org-columns-compute-all): Set `org-columns-time' to the current
1850 time so time difference calculations will work.
1851 (org-columns-compute): Handle column operators where the values
1852 used are calculated from the underlying property.
1853 (org-columns-number-to-string): Handle the 'age' column format
1854 (org-columns-string-to-number): Correct the function name (was
1855 org-column...). Add support for the 'age' column format.
1856 (org-columns-compile-format): Support the additional parameter in
1857 org-columns-compile-map.
1859 2009-11-13 Bastien Guerry <bzg@altern.org>
1861 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1864 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1866 * org-clock.el (org-clock-has-been-used): New variable.
1867 (org-clock-in): Set `org-clock-has-been-used'.
1868 (org-clock-save): Save only if clock data has been used or created
1869 during this session.
1871 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1873 * org-clock.el (org-clock-persist): New value, to store only the
1875 (org-clock-save): Don't save the clock if only the history should
1877 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1878 when restoring a saved clock.
1880 2009-11-13 John Wiegley <jwiegley@gmail.com>
1882 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1883 `org-time-clock-use-fractional'.
1885 * org.el (org-time-clocksum-use-fractional)
1886 (org-time-clocksum-fractional-format): Two new customizable
1887 variables which allow the user to select fractional times (1.25
1888 instead of 1:25) in the `org-clock-display' report.
1890 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1892 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1895 * org.el (org-tag-alist): Fix customization type.
1897 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1899 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1900 Make sure the regexp search can fail without throwing an error.
1901 (org-mobile-apply): Save the inbox buffer after removing
1902 successfully applied changes.
1904 2009-11-13 John Wiegley <jwiegley@gmail.com>
1906 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1907 time is reported after the user comes back (but before they
1910 * org.el (org-get-repeat): Change so that this function can be
1911 called with either `org-scheduled-string' or
1912 `org-deadline-string'.
1914 * org-clock.el (org-clock-auto-clock-resolution): Renamed
1915 `org-clock-disable-clock-resolution', since negatives don't sound
1916 good in customization variables.
1917 (org-clock-in): Don't use the auto-resolution logic if the user is
1918 clocking into a different task while an active clock is running.
1919 This then allows the default behavior of clocking out of the open
1920 task and then into the new task.
1922 * org.el (org-modules): Made this variable more consistent, since
1923 it was referring to Org, OrgMode and Org-mode, whereas the docs
1924 for the variable always refer to Org-mode.
1926 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1928 * org.el (org-repeat-re): The changed org-repeat-re no longer
1929 matched simple +2d type repeaters. Fix it so it does.
1931 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1933 * org-latex.el (org-export-latex-preprocess): Protect the vspace
1934 macro in the VERSE environment.
1936 2009-11-13 John Wiegley <jwiegley@gmail.com>
1938 * org-habit.el (org-habit-get-priority): A new function that
1939 determines the relative priority of a habit, based on how long
1940 past its scheduled date it is, and how near the deadline is.
1942 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1943 using `org-habit-get-priority'.
1945 * org-habit.el (org-habit-build-graph): Start displaying colors
1946 from the first scheduled date, if that date is earlier than the
1947 first completion date.
1949 * org-habit.el: Changed all "color" variables to faces, and made
1950 them appropriate for light and dark backgrounds.
1952 * org-habit.el (org-habit-duration-to-days): Made this function
1954 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1956 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1957 habits, since they don't use DEADLINE anymore.
1959 * org.el (org-repeat-re, org-display-custom-time)
1960 (org-timestamp-change): Extended to support the new ".+N/N"
1961 syntax, used for habits.
1963 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1966 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1967 modeline when habits are being displayed (if that module is being
1970 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1972 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1973 idle time using the xscreensaver extension.
1974 (org-user-idle-seconds): Use X11 idle time if available.
1976 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1978 * org-agenda.el (org-agenda-next-line): New command.
1979 (org-agenda-previous-line): New commands.
1980 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1982 (org-agenda-follow-mode): Do the follow immediately if the mode is
1984 (previous-line, next-line): Replace keys with the corresponding
1986 (org-agenda-mode-map): Bind backspace and delete to the scrolling
1989 * org.el (org-icompleting-read): Turn off partial completion mode
1990 for the duration of this completion round.
1992 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1993 macros in author lines and similar stuff.
1995 * org.el (org-file-tags): Fix docstring.
1996 (org-get-buffer-tags): Add the #+FILETAGS tags.
1997 ("ecb"): Maks ecb show context after jumping into an Org file.
1999 2009-11-13 John Wiegley <johnw@newartisans.com>
2001 * org-agenda.el (org-finalize-agenda): Draw habit consistency
2002 graphs after everything else in the buffer has been setup.
2004 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2006 * org-mobile.el (org-mobile-apply): Count success and failure.
2008 * org.el (org-indent-line-function): Fix regexp replace problem.
2010 2009-11-13 John Wiegley <johnw@newartisans.com>
2012 * org-clock.el (org-clock-disable-clock-resolution): New
2013 customization variable that disable automatic clock resolution on
2015 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
2016 not automatically resolve anything. This is does not affect
2017 idle-time resolution, however, if `org-clock-idle-time' is set.
2019 2009-11-13 John Wiegley <johnw@newartisans.com>
2021 * org-habit.el: New file, which implements code to build a "habit
2024 * org-agenda.el (org-agenda-get-deadlines)
2025 (org-agenda-get-scheduled): Display consistency graphs when
2026 outputting habits into the agenda. The graphs are always relative
2027 to the current time.
2028 (org-format-agenda-item): Added new parameter `habitp', which
2029 indicates whether we are formatting a habit or not. Do not
2030 display "extra" leading information if habitp is true.
2032 * org.el (org-repeat-re): Improved regexp to include .+ and ++
2033 leaders for repeat strings.
2034 (org-get-repeat): Now takes a string parameter `tagline', so the
2035 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
2037 2009-11-13 John Wiegley <johnw@newartisans.com>
2039 * org-agenda.el (org-agenda-auto-exclude-function): New
2040 customization variable for allowing the user to create an "auto
2041 exclusion" filter for doing context-aware auto tag filtering.
2042 (org-agenda-filter-by-tag): Changes to support the use of
2043 `org-agenda-auto-exclude-function'. See the new manual addition,.
2045 2009-11-13 John Wiegley <johnw@newartisans.com>
2047 * org.el (org-files-list): Don't attempt to return a file name for
2048 Org buffers which have no associated file.
2050 * org-agenda.el (org-agenda-do-action): Fixed a typo.
2052 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2054 * org-mobile.el (org-mobile-locate-entry): Interpret files
2055 relative to org-directory.
2056 (org-mobile-inbox-for-pull): Document the best location for this
2058 (org-mobile-check-setup): Verify `org-directory'.
2059 (org-mobile-create-index-file): Sort the files to be listed in
2062 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2064 * org.el (org-fast-tag-selection): Add a way to display a
2065 description for a tag group. This is done by adding a string to
2066 either the startgroup or endgroup cell.
2068 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2070 * org-clock.el (org-clock-resolve, org-resolve-clocks)
2071 (org-emacs-idle-seconds): Use `org-float-time' instead of
2074 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2076 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
2079 * org.el (org-pre-cycle-hook): Document that `empty' can also be
2080 the value of ARG when doing local cycling.
2082 2009-11-13 John Wiegley <johnw@newartisans.com>
2084 * org-clock.el (org-clock-resolve-clock): If keeping or
2085 subtracting time results in a clock out at a time in the past, and
2086 if the resolution occurred due to idleness or invoking `M-x
2087 org-resolve-clocks', remember that past moment in time. On the
2088 next clock in, the user will be prompted to see if they want to
2089 back-date their new clock to then.
2090 (org-clock-resolve): Do not jump the user to the location of a
2091 dangling clock if the resolution is occurring due to an idle
2092 timeout. In that case there is typically only one dangling clock,
2093 the active one, and there is no value gained by shuffling their
2094 windows around to show it to them. Being prompted to resolve an
2095 idle clock should be as inobtrusive as possible.
2096 (org-resolve-clocks-if-idle): New function that resolves only the
2097 currently active clock if the user has exceeded the time returned
2098 by `org-user-idle-seconds', based on the value of
2099 `org-clock-idle-time'.
2100 (org-clock-in): If, after resolving clocks,
2101 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
2103 * org-clock.el (org-clock-resolve-clock): New function that
2104 resolves a clock to a specific time, closing or resuming as need
2105 be, and possibly even starting a new clock.
2106 (org-clock-resolve): New function used by `org-resolve-clocks'
2107 that sets up for the call to `org-clock-resolve-clock'. It
2108 determines the time to resolve to based on a single-character
2109 selection from the user to either keep time, subtract away time or
2111 (org-resolve-clocks): New user command which resolves dangling
2112 clocks -- that is, open but not active -- anywhere in the file
2113 list returned by `org-files-list'.
2114 (org-clock-in): Automatically resolve dangling clocks whenever a
2116 (org-clock-cancel): If the user cancels the solely clock in a
2117 LOGBOOK, remove the empty drawer.
2119 * org-clock.el (org-clock-idle-time): New user customizable option
2120 for detecting whether the user has left a clock idle. Note: it is
2121 only used in this commit to test whether it's worthwhile to check
2122 OS X to get the Mac user's current idle time. If the Emacs idle
2123 time is less than the value, the user hasn't been away long enough
2124 to be worth checking (a more expensive test than just getting
2126 (org-user-idle-seconds, org-mac-idle-seconds)
2127 (org-emacs-idle-seconds): This three functions, in conjunction
2128 with the user customization variable `org-clock-idle-time', return
2129 the number of seconds (as a floating point) that the user has been
2130 away from their Emacs (or, if running on OS X, their computer).
2132 * org-clock.el (org-find-open-clocks): New function that returns a
2133 list of all open clocks in the given FILE. Note that each clock
2134 it returns is a cons cell of the format (MARKER . START-TIME).
2135 This "clock" value is used by several of the new clock module
2137 (org-is-active-clock): New inline function which tests whether the
2138 given clock value is the same as the currently active clock.
2139 Returns non-nil if this is the case.
2140 (org-with-clock-position): New macro that evaluates FORMS with
2141 point in the buffer and at the position of the given clock.
2142 Changes to the current clock are global.
2143 (org-with-clock): New macro that evaluates FORMS with point in the
2144 buffer and at the position of the given clock. However, changes
2145 to the current clock are local and have no effect on the user's
2146 active clock. This allows, for example, far any clock to be
2147 cancelled without cancelling the active clock.
2148 (org-clock-clock-in): New inline function that switches the active
2149 clock to the given clock. If either the argument RESUME, or the
2150 global `org-clock-in-resume', are non-nil, it will resume a clock
2151 that was previously left open.
2152 (org-clock-clock-out): New inline function that clocks out the
2153 given clock value without affecting the currently active clock.
2154 (org-clock-clock-cancel): New inline function that cancels the
2155 given clock value without affecting the currently active clock.
2157 * org-clock.el (org-clock-in): Before creating
2158 `org-clock-mode-line-timer', check to make sure an older timer is
2159 not currently running.
2160 (org-clock-out): Accept new third parameter `at-time', which
2161 permits a clock to be clocked out at a specific time. Note that
2162 no attempt is made to verify that the clock out time is later than
2165 * org.el (org-files-list): New utility function for returning a
2166 list of all open org-mode buffers, plus all files used to build
2167 the agenda buffer. Note that not all the files will necessarily
2168 be visited by a buffer at time of call.
2169 (org-entry-beginning-position): Like the function
2170 `line-beginning-position', this inline function returns the
2171 beginning position of the current heading/entry.
2172 (org-entry-end-position): Like the function `line-end-position',
2173 this inline function returns the end position of the current
2176 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2178 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
2181 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2183 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
2185 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2187 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
2188 entries that have no tags.
2189 (org-agenda-search-view): New customize group.
2190 (org-agenda-search-view-search-words-only): New option.
2191 (org-search-view): Implement substring search.
2193 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2195 * org.el (org-outline-level): Add doc string.
2197 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2199 * org-inlinetask.el (org-inlinetask-export): Re-introduce
2201 (org-inlinetask-export-handler): Only export inline task if the
2202 user option calls for it.
2204 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2206 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
2209 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2211 * org-latex.el (org-export-latex-tables): Don't format in
2214 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2216 * org-src.el (org-edit-src-code)
2217 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
2220 * org-agenda.el (org-prefix-category-max-length): New variable.
2221 (org-format-agenda-item): Use `org-prefix-category-max-length'.
2222 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
2224 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2226 * org-mobile.el (org-mobile-create-index-file): Improve the
2227 listing of tags and todo keywords.
2229 * org-latex.el (org-export-latex-format-image): New function.
2230 (org-export-latex-links): Use `org-export-latex-format-image'.
2232 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2234 * org-inlinetask.el (org-inlinetask-get-current-indentation)
2235 (org-inlinetask-remove-terminator): New functions.
2236 (org-inlinetask-export-handler): Terminate the description list.
2238 * org-exp.el (org-export-select-backend-specific-text): Remove the
2241 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2242 tasks without content.
2244 * org-clock.el: Make sure the clock-in target position does not
2245 move to a different node by widening the buffer.
2247 * org-html.el (org-export-html-format-image): Wrap image into
2248 figure div only when there is a caption.
2250 * org-archive.el (org-archive-mark-done): Change default value to
2253 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2255 * org.el (org-context): Call `bobp', not `eobp'.
2257 * org-clock.el (org-clock-cancel): Remove quotes from marker
2260 * org.el (org-read-date-prefer-future): New allowed value `time'.
2261 (org-read-date-analyze): Shift day to tomorrow depending on time
2262 entered and value of `org-read-date-prefer-future'.
2264 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * org.el (org-version, org-get-refile-targets, org-refile)
2267 (org-store-log-note, org-diary-to-ical-string)
2268 (org-speedbar-set-agenda-restriction):
2269 * org-publish.el (org-publish-find-title):
2270 * org-plot.el (org-plot/gnuplot):
2271 * org-mouse.el (org-mouse-do-remotely):
2272 * org-mobile.el (org-mobile-move-capture):
2273 * org-mac-message.el (org-mac-message-insert-flagged):
2274 * org-latex.el (org-replace-region-by-latex):
2275 * org-docbook.el (org-replace-region-by-docbook):
2276 * org-clock.el (org-clock-out, org-clock-cancel):
2277 * org-bibtex.el (org-execute-file-search-in-bibtex):
2278 Use with-current-buffer.
2280 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2282 * org.el (org-directory, org-map-entries):
2283 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
2285 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2287 * org.el (org-set-tags-to): New command.
2289 * org-latex.el (org-export-latex-set-initial-vars): Also check in
2292 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2295 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2297 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2299 * org-inlinetask.el (org-inlinetask-export): Option removed.
2300 (org-inlinetask-export-handler): Better export.
2302 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2303 (org-export-as-xoxo): Run the new hook.
2305 * org-html.el (org-export-html-final-hook): New hook.
2306 (org-export-as-html): Run the new hook.
2308 * org-docbook.el (org-export-docbook-final-hook): New hook.
2309 (org-export-as-docbook): Run the new hook.
2311 * org-ascii.el (org-export-ascii-final-hook): New hook.
2312 (org-export-as-ascii): Run the new hook.
2314 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2315 space character as the character before the ^/_.
2316 (org-export-latex-final-hook): New hook.
2317 (org-export-as-latex): Run `org-export-latex-final-hook'.
2319 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2321 * org-macs.el (org-if-unprotected-at): Fix docstring.
2323 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2324 text in the prefix (if category is a link).
2326 * org-latex.el (org-export-latex-preprocess): Deal properly with
2327 empty lines in verse environments.
2329 * org.el (org-format-latex-header): Inline fullpage.sty.
2331 * org-footnote.el (org-footnote-create-definition): Reveal context
2332 to add a new footnote definition.
2334 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2335 org-table-recalculate when cursor is in TBLFM line.
2337 * org-list.el (org-renumber-ordered-list): Fix cursor position
2338 when bullet length has changed.
2340 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2342 * org.el (org-format-latex): Mention `org-format-latex-options' in
2345 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2347 * org.el (org-agenda-get): New function.
2349 * org-agenda.el (org-agenda-post-command-hook): No longer move
2350 point away from end of line.
2351 (org-agenda-add-entry-text, org-agenda-collect-markers)
2352 (org-finalize-agenda, org-agenda-mark-clocking-task)
2353 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2354 (org-agenda-entry-text-show, org-agenda-highlight-todo)
2355 (org-agenda-compare-effort, org-agenda-filter-apply)
2356 (org-agenda-later, org-agenda-change-time-span)
2357 (org-agenda-post-command-hook, org-agenda-show-priority)
2358 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2359 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2360 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2361 (org-agenda-open-link, org-agenda-copy-local-variable)
2362 (org-agenda-switch-to, org-agenda-check-no-diary)
2363 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2364 (org-agenda-add-note, org-agenda-change-all-lines)
2365 (org-agenda-priority, org-agenda-set-tags)
2366 (org-agenda-set-property, org-agenda-set-effort)
2367 (org-agenda-toggle-archive-tag, org-agenda-date-later)
2368 (org-agenda-show-new-time, org-agenda-date-prompt)
2369 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2370 (org-agenda-clock-in, org-agenda-bulk-mark)
2371 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2374 * org-colview.el (org-columns-display-here)
2375 (org-columns-edit-allowed, org-agenda-columns): Use
2378 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2380 * org.el (org-special-ctrl-a/e): Improve documentation and
2382 (org-end-of-line): Don't jump to after the ellipsis.
2383 (org-mode-map): Bind <home> and <end> as well.
2385 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2387 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2388 space after #+ as comments.
2389 (org-open-at-point): Run `org-follow-link-hook' always.
2391 * org-latex.el (org-export-latex-emph-format): Use better commands
2392 to insert special characters in verbatim snippets.
2394 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2396 * org-faces.el (org-copy-face): New function. Use it to create
2397 various faces formerly created by using `copy-face'.
2399 * org-agenda.el (org-prepare-agenda): Don't officially mark this
2401 (org-agenda-quit): Kill the frame containing the agenda window if
2402 that frame was created for the agenda.
2404 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2406 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2407 stamp in the agenda.
2409 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2411 * org-agenda.el (org-prepare-agenda): Reset
2412 `org-drawers-for-agenda'.
2413 (org-prepare-agenda): Uniquify list of drawers.
2415 * org.el (org-complex-heading-regexp-format): New variable.
2416 (org-set-regexps-and-options): Define
2417 `org-complex-heading-regexp-format'.
2418 (org-drawers-for-agenda): New variable.
2419 (org-map-entries): Bind `org-drawers-for-agenda'.
2420 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2422 * org-remember.el (org-go-to-remember-target)
2423 (org-remember-handler): Use `org-complex-heading-regexp-format'.
2425 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2427 * org-agenda.el (org-agenda-highlight-todo): Fix text property
2430 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2431 always with `invisible-ok'.
2432 (org-store-link): No error when there is nothing to link to in the
2435 * org-list.el (org-update-checkbox-count): Insert changed cookie
2436 before the old, to avoid problems with invisibility at the end of
2438 (org-update-checkbox-count): Insert changed cookie before the old,
2439 to avoid problems with invisibility at the end of the line.
2441 * org.el (org-sort-entries-or-items): Include the final newline.
2442 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2443 lines for fontification.
2444 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2445 (org-prepare-dblock): Store the current indentation of the BEGIN
2447 (org-update-dblock): Apply the indentation of the begin line to
2448 the rest of the block.
2449 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2450 (org-startup-folded): New allowed value `showeverything'.
2451 (org-startup-options): Add STARTUP keyword `showeverything'.
2452 (org-set-startup-visibility): Respect value `showeverything' in
2455 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2457 * org.el (org-closest-date): Fix issue with past preference.
2459 * org-archive.el (org-archive-set-tag)
2460 (org-archive-subtree-default): New commands.
2462 * org-clock.el (org-clock-clocktable-default-properties): New
2464 (org-clock-report): Use
2465 `org-clock-clocktable-default-properties'.
2467 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2469 * org.el (org-iswitchb-completing-read): Fix typo.
2471 * org-crypt.el: New file.
2473 * org.el: Add an entry for org-crypt.
2475 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2477 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2479 (org-batch-store-agenda-views): New function.
2480 (org-agenda-title-append): Define variable.
2481 (org-write-agenda): New export to Org files.
2482 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2483 (org-agenda): Allow to keep the restricted file list if a special
2484 variable is bound to t.
2485 (org-agenda): Define a special agenda view for working on flagged
2487 (org-agenda-get-restriction-and-command): List the new agenda
2489 (org-agenda-show-the-flagging-note): New command.
2490 (org-agenda-mode-map): New key `?' for looking at the flagging
2493 * org.el (org-autoload): Autoload org-mobile.el.
2494 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2496 * org-mobile.el: New file.
2498 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2500 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2502 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2504 (org-table-get-remote-range): Match indented #+TBLNAME
2507 * org.el (org-convert-to-odd-levels)
2508 (org-convert-to-oddeven-levels): Work also correctly if the file
2511 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2513 * org.el (org-store-link): When in agenda buffer, link to
2515 (org-add-planning-info): Remove spaces at eol.
2517 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2520 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2522 * org-latex.el (org-export-latex-first-lines): Fix problem with
2523 LaTeX export of first line and selected subtree.
2525 * org.el (org-shifttab): Interpret arg differently when using only
2528 2009-10-01 Bastien Guerry <bzg@altern.org>
2530 * org.el (org-check-agenda-file): Use a more explicit message
2532 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2534 * org-exp.el (org-export-remove-special-table-lines): Don't remove
2537 2009-10-01 Bastien Guerry <bzg@altern.org>
2539 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2540 prompt in the temporary window.
2542 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2543 prefix for marked entries in the agenda view.
2545 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
2547 * org.el (outline-end-of-subtree): Bugfix: advise this function in
2548 a way that prevents any trailing character from being displayed.
2550 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2552 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2555 * org-exp.el (org-export-remove-special-table-lines): Remove bad
2558 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2560 * org-latex.el (org-export-latex-preprocess): Do not protect in
2563 * org-src.el (org-edit-src-save): Save window setup while saving.
2564 (org-edit-src-code): Use new buffer name construction scheme.
2566 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2568 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2570 (org-agenda-entry-text-cleanup-hook): New hook.
2571 (org-agenda-get-some-entry-text): Remove matches of
2572 `org-agenda-entry-text-exclude-regexps' and run the hook
2573 `org-agenda-entry-text-cleanup-hook'.
2575 * org.el (org-offer-links-in-entry): New argument ZERO to
2576 implement a link with index zero.
2577 (org-cycle-show-empty-lines): Not keep empty line under header
2579 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2580 to nil for special completion.
2581 (org-store-link): Don't error before the first heading.
2583 * org-agenda.el (org-agenda-open-link): Pass the prefix to
2584 `org-offer-links-in-entry'.
2586 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2588 * org-agenda.el (org-agenda-quit): Provide the window argument for
2589 `window-dedicated-p', Emacs 22 needs it.
2590 (org-format-agenda-item): If the category is a link, arrange for
2591 invisible text to replaced with spaces.
2592 (org-compile-prefix-format): Add the extra space.
2593 (org-prefix-category-length): New variable.
2595 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2596 references from TOC lines.
2598 * org.el (org-selected-window): New variable.
2600 * org-table.el (org-table-edit-formulas): Remember the selected
2602 (org-table-fedit-finish, org-table-fedit-abort): Select the window
2603 that was originally selected.
2605 * org-exp.el (org-export-preprocess-apply-macros): Scan the
2606 expansion of a macro for more macro definitions.
2608 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2609 invisibility overlay starts on the newline.
2611 2009-10-01 Glenn Morris <rgm@gnu.org>
2613 * org-agenda.el (calendar-check-holidays):
2614 * org-exp.el (org-agenda-skip):
2615 * org-list.el (outline-back-to-heading):
2616 * org-wl.el (wl-summary-goto-folder-subr):
2617 * org.el (iswitchb-mode, remember, remember-buffer-desc)
2618 (remember-finalize, remember-save-after-remembering, remember-register)
2619 (remember-buffer, remember-handler-functions)
2620 (remember-annotation-functions): Remove unused declarations.
2622 * org.el (iswitchb-read-buffer): Fix declaration.
2624 2009-09-30 Glenn Morris <rgm@gnu.org>
2626 * org-compat.el (w32-focus-frame):
2627 * org-exp-blocks.el (R):
2628 * org-exp.el (htmlize-buffer):
2629 * org-protocol.el (server-edit):
2630 * org-table.el (org-format-org-table-html):
2631 * org.el (org-indent-mode): Fix declarations.
2633 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
2634 free variable `fun'.
2636 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
2638 * org-agenda.el (org-agenda-restore-windows-after-quit):
2639 Fix typo in docstring.
2641 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
2643 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
2644 (org-shiftselect-error, org-ctrl-c-ctrl-c):
2645 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
2646 * org-attach.el (org-attach-check-absolute-path):
2647 * org-docbook.el (org-export-as-docbook):
2648 * org-html.el (org-export-as-html):
2649 * org-id.el (org-id-update-id-locations):
2650 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
2651 Fix typos in error messages.
2653 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2655 * org-ascii.el: Require CL for the `loop' macro.
2657 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
2659 * org-gnus.el (require): Wrap (require gnus-sum) into
2662 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
2664 * org-protocol.el (org-protocol-store-link)
2665 (org-protocol-remember, org-protocol-open-source): Remove autoload
2668 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
2669 referencing the start of the line.
2671 * org-gnus.el: Remove unnecessary declare-function forms.
2672 (gnus-sum): Always require gnus-sum.
2674 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2676 * org-protocol.el (org-protocol-store-link)
2677 (org-protocol-remember, org-protocol-open-source): Add autoloads.
2679 * org-compat.el (org-float-time): New function.
2681 * org.el (org-clock-update-time-maybe)
2682 (org-sort-entries-or-items, org-do-sort)
2683 (org-evaluate-time-range, org-time-string-to-seconds)
2684 (org-closed-in-range): Use `org-float-time'.
2686 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2687 (org-timer-seconds): Use `org-float-time'.
2689 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2690 (org-clock-sum, org-dblock-write:clocktable)
2691 (org-clocktable-steps): Use `org-float-time'.
2693 * org-agenda.el (org-agenda-last-marker-time)
2694 (org-agenda-new-marker, org-diary): Use `org-float-time'.
2696 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2699 * org-exp.el (org-get-file-contents): Only protect lines that
2702 * org-html.el (require): Require cl for compilation.
2704 * org.el: Avoid using `default-major-mode'.
2706 * org-plot.el (require): Require CL only at compile time.
2708 * org-exp.el (require): Require CL only at compile time.
2710 * org-agenda.el (org-agenda-quit): When the agenda window is
2711 dedicated, remove other windows before exiting, so that the frame
2712 really will be killed.
2714 * org-exp.el (org-export-handle-include-files): Reset START and
2715 END for each loop cycle.
2717 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2719 * org.el (org-eval-in-calendar): Use
2720 `org-select-frame-set-input-focus'.
2722 * org-compat.el (org-select-frame-set-input-focus): New function.
2724 * org.el (org-update-statistics-cookies): New function.
2725 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2727 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2729 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2730 after the local variables are set.
2732 * org-latex.el (org-export-latex-protect-amp): New function.
2733 (org-export-latex-links): Protect link ampersands in tables.
2735 * org-exp.el (org-export-select-backend-specific-text): Match in
2736 two steps, to avoid regexp problems.
2738 * org.el (org-offer-links-in-entry): Improve working with many and
2741 * org-agenda.el (org-agenda-show-1): Make more consistent with
2743 (org-agenda-cycle-show): Make more consistent with normal cycling.
2745 * org-gnus.el (org-gnus-store-link): Restore the linking to a
2748 2009-09-02 Bastien Guerry <bzg@altern.org>
2750 * org-latex.el (org-export-latex-first-lines): Bugfix.
2752 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2754 * org-clock.el (org-clock-modify-effort-estimate): Emit message
2757 * org.el (org-set-effort): New function.
2758 (org-mode-map): New key for effort setting command.
2760 * org-agenda.el (org-agenda): Keep window setup when calling
2761 agenda from within agenda window.
2762 (org-agenda-mode-map): New keys for effort setting commands.
2763 (org-agenda-menu): Add effort setting commands to menu.
2764 (org-agenda-set-property, org-agenda-set-effort): New functions.
2766 * org-latex.el (org-export-latex-tables): Fix
2767 `org-table-last-alignment' and `org-table-last-column-widths' if
2768 the first column has been removed.
2770 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2772 * org.el (org-remove-timestamp-with-keyword): Only remove in
2773 entry, not in subtree.
2775 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2778 * org.el (org-open-at-point): When on headline, offer all strings
2781 * org-remember.el (org-remember-templates): Documentation fix.
2783 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2784 `org-get-last-sibling' instead of the outline versions of these
2786 (org-get-last-sibling): New function.
2787 (org-refile): Use `org-get-next-sibling' instead of the outline
2788 version of this function.
2789 (org-clean-visibility-after-subtree-move): Use
2790 `org-get-next-sibling' and `org-get-last-sibling' instead of the
2791 outline versions of these functions.
2793 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2795 * org-agenda.el (org-prepare-agenda): When creating a new frame
2796 for the agenda, make the window dedicated.
2798 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2800 * org-table.el (org-table-align): Change the order of reinsertion
2801 and deletion, to avoid problems with overlays following the table.
2803 * org.el (org-parse-time-string): Better error message.
2804 (org-show-subtree): Use org-end-of-subtree.
2806 * org-macs.el (org-goto-line): New defsubst.
2808 * org.el (org-open-file, org-change-tag-in-region)
2809 (org-fast-tag-show-exit): Don't use `goto-line'.
2811 * org-table.el (org-table-align, org-table-insert-column)
2812 (org-table-delete-column, org-table-move-column)
2813 (org-table-sort-lines, org-table-copy-region)
2814 (org-table-paste-rectangle, org-table-wrap-region)
2815 (org-table-get-specials, org-table-rotate-recalc-marks)
2816 (org-table-get-range, org-table-recalculate)
2817 (org-table-edit-formulas, org-table-fedit-convert-buffer)
2818 (org-table-show-reference, org-table-highlight-rectangle): Don't
2821 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2822 (org-edit-src-exit): Don't use `goto-line'.
2824 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2826 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2827 Don't use `goto-line'.
2829 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2831 * org-colview.el (org-columns, org-columns-redo)
2832 (org-agenda-columns): Don't use `goto-line'.
2834 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2837 * org-agenda.el (org-agenda-mode): Force visual line motion off.
2838 (org-agenda-add-entry-text-maxlines): Improve docstring.
2839 (org-agenda-start-with-entry-text-mode): New option.
2840 (org-agenda-entry-text-maxlines): New option.
2841 (org-agenda-entry-text-mode): New variable.
2842 (org-agenda-mode): Set initial value of
2843 `org-agenda-entry-text-mode'.
2844 (org-agenda-mode-map): Add the `E' key.
2845 (org-agenda-menu): Add entry text mode to the menu.
2846 (org-agenda-get-some-entry-text): Fix line count bug.
2847 (org-finalize-agenda): Apply entry text mode if appropriate.
2848 (org-agenda-entry-text-show-here): New function.
2849 (org-agenda-entry-text-show): New function.
2850 (org-agenda-entry-text-hide): New function.
2851 (org-agenda-view-mode-dispatch): Add entry text mode to the view
2853 (org-agenda-entry-text-mode): New command.
2854 (org-agenda-set-mode-name): Add entry text mode to the mode line
2856 (org-agenda-undo, org-agenda-get-restriction-and-command)
2857 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2860 2009-09-02 Bernt Hansen <bernt@norang.ca>
2862 * org-clock.el (org-notify): Bugfix.
2864 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2866 * org-agenda.el (org-agenda-open-link): Handle multiple links and
2867 check for after-string.
2869 * org-gnus.el (org-gnus-store-link): Simplify.
2871 * org.el (org-latex-regexps): Don't add extra empty lines for
2874 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2876 * org-agenda.el (org-agenda-get-some-entry-text): New function.
2877 (org-agenda-add-entry-text): Use
2878 `org-agenda-get-some-entry-text'.
2880 * org.el (org-cycle-separator-lines): Update docstring.
2881 (org-cycle-show-empty-lines): Handle negative values for
2882 `org-cycle-show-empty-lines'.
2884 * org-exp.el (org-export-protect-sub-super): New function.
2885 (org-export-normalize-links): Protect the url of plain links from
2886 supscript and superscript processing.
2888 * org-remember.el (org-remember-escaped-%): New function.
2889 (org-remember-apply-template): Use `org-remember-escaped-%' to
2890 detect escaped % signs.
2892 2009-09-02 Bastien Guerry <bzg@altern.org>
2894 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2895 sound when showing the notification.
2897 * org-clock.el (org-notify): New function.
2898 (org-clock-notify-once-if-expired): Use `org-notify'.
2900 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2901 and `gnus-article-mode' separately.
2902 (gnus-summary-article-header): Fix the declare-function.
2904 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2906 * org-exp.el (org-export-format-source-code-or-example): Translate
2909 * org-src.el (org-src-lang-modes): New variable
2910 (org-edit-src-code): Translate language.
2912 * org-exp.el (org-export-format-source-code-or-example): Deal wit
2913 the new structure of the `org-export-latex-listings-langs'
2916 * org-latex.el (org-export-latex-listings-langs): Change structure
2917 of the variable from plist to alist.
2919 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2921 * org.el (org-in-commented-line): New function.
2923 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2925 * org.el (org-hide-block-toggle): Make folded blocks searchable.
2927 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
2929 * org.el (org-flag-drawer): More useful error.
2931 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2933 * org-remember.el (org-remember-apply-template): Use
2934 org-icompleting-read.
2936 * org-publish.el (org-publish): Use org-icompleting-read.
2938 * org-colview.el (org-columns-edit-value, org-columns-new)
2939 (org-insert-columns-dblock): Use org-icompleting-read.
2941 * org-colview-xemacs.el (org-columns-edit-value)
2942 (org-columns-new, org-insert-columns-dblock): Use
2943 org-icompleting-read.
2945 * org-attach.el (org-attach-delete-one, org-attach-open): Use
2946 org-icompleting-read.
2948 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2950 * org.el (org-hierarchical-todo-statistics): Improve docstring.
2951 (org-version): Return the version text.
2952 (org-org-menu): Add a menu entry for the new bug reporter.
2953 (org-submit-bug-report): New command.
2955 * org-list.el (org-hierarchical-checkbox-statistics): Improve
2958 * org.el (org-emphasis-regexp-components): Add "`" to set of
2959 pre-emphasis characters.
2961 * org-latex.el (org-export-latex-classes): Always include the soul
2963 (org-export-latex-emphasis-alist): Use \st for strikethough.
2965 * org-exp-blocks.el (org-export-blocks-preprocess): Use
2966 `indent-code-rigidly' to indent.
2968 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2969 properties only if MATCH really is a string.
2971 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2973 * org-latex.el (org-export-latex-packages-alist): Fix
2976 * org.el (org-create-formula-image): Also use
2977 `org-export-latex-packages-alist'.
2979 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2980 (org-export-as-html): Format footnotes correctly.
2982 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2984 * org.el (org-fast-tag-selection): Avoid text properties on tags
2987 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2988 text properties on the match element.
2990 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2992 * org.el (org-set-regexps-and-options): Make sure the list of done
2993 keywords is not invalid.
2995 * org-exp.el (org-export-interpolate-newlines): New function.
2997 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2999 * org.el (org-format-latex): Avoid nested overlays.
3001 * org-latex.el (org-export-latex-listings-langs): Add a few more
3004 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
3005 ignore newlines and space before the first macro argument.
3007 * org-latex.el (org-export-latex-tables): Remove save-excursion
3008 around `org-table-align'.
3010 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3012 * org.el (org-export-html-special-string-regexps): Definition
3015 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
3018 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3020 * org-latex.el (org-export-latex-listings)
3021 (org-export-latex-listings-langs): New options.
3023 * org-exp.el (org-export-format-source-code-or-example): Use
3024 listing package if requested by the user.
3026 2009-09-02 Bastien Guerry <bzg@altern.org>
3028 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
3029 command before actually switching to a buffer.
3031 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3033 * org-exp.el (org-get-file-contents): Only quote org lines when
3034 the markup is src or example.
3036 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
3038 (org-agenda-get-day-entries): Remember deadline results and pass
3039 them on into the function getting the scheduling information.
3040 (org-agenda-get-scheduled): Accept deadline results as parameters
3041 and maybe skip some entries.
3042 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
3044 * org.el (org-insert-heading): When respecting content, do not
3045 convert current line to headline.
3047 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
3048 cheeeeeck the hd marker
3049 (org-clock-in): Also set the hd marker.
3050 (org-clock-out): Also set the hd marker.
3051 (org-clock-cancel): Reset markers.
3053 * org.el (org-clock-hd-marker): New marker.
3055 * org-faces.el (org-agenda-clocking): New face.
3057 * org-agenda.el (org-agenda-mark-clocking-task): New function.
3058 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
3060 * org.el (org-modules): Add org-track.el.
3062 * org-agenda.el (org-agenda-bulk-marked-p): New function.
3063 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
3064 `org-agenda-bulk-marked-p'.
3065 (org-agenda-bulk-toggle): New command.
3067 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3069 * org.el (org-move-subtree-down): Hide subtree if it was folded,
3072 * org-remember.el (org-remember-finalize): Avoid buffer-modified
3075 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3077 * org-html.el (org-export-as-html):
3078 * org-docbook.el (org-export-as-docbook):
3079 Use (default-value 'major-mode) instead of default-major-mode.
3081 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
3083 * org-docbook.el: Add arch-tag.
3085 * org-exp-blocks.el: Add arch-tag.
3087 * org-id.el: Add arch-tag.
3089 * org-indent.el: Add arch-tag.
3091 * org-inlinetask.el: Add arch-tag.
3093 * org-protocol.el: Add arch-tag.
3095 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3097 * org.el (org-create-formula-image): Remove the -E option for
3100 * org-exp.el (org-default-export-plist): Respect #+BIND.
3101 (org-export-confirm-letbind): New function.
3103 * org.el (org-paste-subtree): Test the kill ring entry if it is
3105 (org-copy-subtree): Use `org-forward-same-level'.
3106 (org-forward-same-level): Respect the `invisibe-ok' arg for
3109 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3111 * org.el (org-table-map-tables): Make sure cursor is back at table
3112 beginning after funcall.
3114 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
3115 handled before children, and do not error if an entry is not
3116 found, probably because it hase been remove when the parent was
3117 archived or refiled.
3119 * org.el (org-ido-completing-read): Accept straight lists for
3120 completion as well as alists.
3122 * org-timer.el (org-timer-cancel-timers): Rename from
3123 `org-timer-cancel-timers'.
3125 * org.el (org-cycle-internal-local): Fix problem with finding next
3128 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3130 * org-list.el (org-list-send-list): Call
3131 `org-list-goto-true-beginning' instead of
3132 `org-list-find-true-beginning', which does not exist.
3134 * org-timer.el (org-timer-reset-timers): Use `mapc'.
3135 (org-timer-set-timer): Do not assign to heading.
3137 * org-id.el (org-id-open): Quote function name.
3139 * org-macs.el (org-unmodified): Turn off recording undo
3140 information while running inside the macro.
3142 * org-table.el (org-table-export): Also work in file-less
3145 * org.el (org-startup-indented): New option.
3146 (org-startup-options): Add new options indent and noindent.
3147 (org-unfontify-region): Remove line-prefix and wrap-prefix
3149 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
3151 (org-promote, org-demote): Run the new hooks.
3153 * org-table.el (org-table-align): Replace leading \n as well.
3155 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
3156 and `line-wrap' text properties.
3158 * org-compat.el (org-kill-new): New function.
3160 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
3161 `line-wrap' text properties.
3163 * org-indent.el: New file.
3165 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3167 * org.el (org-provide-todo-statistics): Tweak docstring.
3169 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
3171 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3173 * org-exp.el (org-export-as-org): Insert the "-source" string
3174 before the extension.
3176 * org.el (org-read-date): Make sure the calendar is in the current
3178 (org-set-emph-re): Remove the ? from the post-match.
3179 (org-emphasis-regexp-components): Add backslash to the
3181 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
3182 optional so that also lines at the end of the buffers will still
3183 be matched as headlines.
3185 * org-table.el (org-table-error-on-row-ref-crossing-hline):
3186 Variable made obsolete.
3187 (org-table-relative-ref-may-cross-hline): New option.
3188 (org-table-find-row-type): Honow the new option
3189 `org-table-relative-ref-may-cross-hline'.
3191 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3193 * org-table.el (org-table-cut-region, org-table-copy-region): Work
3194 on single field if no active region.
3196 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3198 * org-latex.el (org-export-latex-make-header): Only insert title
3201 * org.el (org-make-options-regexp): Allow empty values.
3203 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3205 * org.el (org-cycle-internal-local): Improved version of finding
3207 (org-cycle-hide-drawers): Only hide drawers if this is really
3209 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
3210 org-version of this function in Org-mode. We use advice to
3211 implement this change, so that future changes to this function in
3212 outline.el wil be handled properly.
3213 (org-forward-same-level, org-backward-same-level): New commands.
3215 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3217 * org.el (org-remove-empty-overlays-at)
3218 (org-clean-visibility-after-subtree-move): New functons.
3219 (org-move-subtree-down): Simplify cleanup of display.
3221 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3223 * org-mac-message.el (org-mac-message-get-links): Improve
3224 docstring. Make argument SELECT-OR-FLAGGED optional, default to
3225 "s". Fix the return value.
3226 (org-mac-message-insert-flagged): Simplify.
3228 * org.el (org-refile-get-location): Tamper with refile history o
3229 that history contains compete matches instead of the entered
3232 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3234 * org.el (org-store-link): Never store a link to an inline task.
3236 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
3237 inline tasks when positioning footnotes.
3239 * org.el (org-refile): Remove the END line when archiving an
3240 inline task that does have an END line.
3242 * org-archive.el (org-archive-subtree): Remove the END line when
3243 archiving an inline task that does have an END line.
3245 * org-macs.el (org-with-limited-levels): New macro.
3246 (org-get-limited-outline-regexp): New function.
3248 * org-exp.el (org-export-format-source-code-or-example): Fix bug
3249 that did not enumerate first line.
3250 (org-export-mark-radio-links): Skip matches in links.
3252 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3254 * org.el (org-activate-plain-links): Make single-match.
3255 (org-adapt-indentation): Fix docstring.
3257 * org-macs.el (org-unmodified): Turn of modification hooks while
3260 2009-08-06 Bastien Guerry <bzg@altern.org>
3262 * org.el (org-adapt-indentation): Slightly improve the docstring.
3263 (org-occur): Sends an error when the user inputs an empty string.
3264 (org-priority): Bugfix: the tag alignement should happen within
3267 2009-08-06 Bastien Guerry <bzg@altern.org>
3269 * org.el (org-make-link-regexps): Don't exclude parentheses from
3271 (org-cycle-internal-local): When locally cycling, switch directly
3272 from CHILDREN to FOLDED if there is no subtree
3273 (org-cycle): Update the docstring to document the new behavior of
3274 `org-cycle-internal-local'.
3276 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
3278 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3279 an abbreviated format for days.
3281 2009-08-06 Bastien Guerry <bzg@altern.org>
3283 * org-protocol.el (org-protocol-default-template-key): New
3286 * org.el (org-refile): Bugfix: save-excursion before reading the
3287 refile target, otherwise cursor moves might confuse `org-refile'.
3289 * org.el (org-toggle-heading): Bugfix: correctly convert list
3290 items before the first headline.
3292 * org.el (org-provide-todo-statistics): Allow a list of TODO
3293 keywords to compute statistics against headlines containing a
3294 keyword from this list.
3295 (org-update-parent-todo-statistics): Possibly use the new allowed
3296 value of `org-provide-todo-statistics'.
3298 2009-08-06 Bastien Guerry <bzg@altern.org>
3300 * org-timer.el: Add autoload cookie.
3302 * org.el (org-occur-link-in-agenda-files): New function.
3304 * org-timer.el (org-timer-last-timer): New variable.
3306 * org-agenda.el (org-agenda-mode-map): New key for
3307 org-timer-set-timer called from the agenda.
3309 * org.el (org-mode-map): New key for org-timer-set-timer.
3311 * org-timer.el (org-timer-reset-timers)
3312 (org-timer-show-remaining-time, org-timer-set-timer): New
3315 * org-clock.el (org-show-notification): Update the docstring.
3317 * org.el (org-provide-todo-statistics): Allow new value
3318 'all-headlines for this option, which includes entries with no
3319 TODO keywords in the todo statistics.
3320 (org-update-parent-todo-statistics): Possibly use the new
3321 'all-headline value from `org-provide-todo-statistics'.
3323 2009-08-06 Bastien Guerry <bzg@altern.org>
3325 * org-clock.el (org-dblock-write:clocktable): Add a new option
3326 :timestamp which allows display of timestamps in clock reports.
3328 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3329 list to a subtree, preserving the structure of the list.
3330 (org-set-emph-re): Make the last element optional in the regexp.
3331 This regexp now matches an emphasized string at the end of a line.
3333 * org-list.el (org-list-goto-true-beginning)
3334 (org-list-make-subtree, org-list-make-subtrees): New functions.
3336 * org.el (org-eval-in-calendar): Select the right frame.
3337 (org-save-frame-excursion): Remove this macro.
3339 2009-08-06 Bastien Guerry <bzg@altern.org>
3341 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3342 trying to find the beginning of a list.
3344 * org-exp.el (org-get-file-contents): Use a new argument: markup.
3345 When present, tell org-get-file-contents not to protect org-like
3348 * org-id.el (org-id-uuid-program): New option to set the name of
3349 the uuidgen program.
3350 (org-id-method): Use `org-id-uuid-program'.
3351 (org-id-new): Use `org-id-uuid-program'.
3353 2009-08-06 Bastien Guerry <bzg@altern.org>
3355 * org-exp.el (org-export-number-lines): Allow whitespace in code
3356 references. Allow the -r switch to remove the references in the
3357 source code even when the lines are not numbered: the labels can
3360 * org.el (org-fontify-whole-heading-line): New option.
3361 (org-set-font-lock-defaults): Use the new option.
3363 * org-clock.el (org-show-notification-handler): New option.
3364 (org-show-notification): Use the new option.
3366 2009-08-06 Bastien Guerry <bzg@altern.org>
3368 * org.el (org-eval-in-calendar): Fix a bug about calendar
3369 navigation when `calendar-setup' value is 'calendar-only.
3371 2009-08-06 Bastien Guerry <bzg@altern.org>
3373 * org.el (orgstruct++-mode): Fix typo in docstring.
3374 (org-insert-link): Clean up: (or (...)) => (...)
3375 (org-insert-link): Use TAB for stored links completion.
3377 2009-08-06 Bastien Guerry <bzg@altern.org>
3379 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3380 building the list of targets.
3382 * org-remember.el (org-remember-delete-empty-lines-at-end): New
3384 (org-remember-handler): Use the new option.
3386 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
3388 * org.el (org-tags-sort-function): New option for sorting tags.
3389 (org-set-tags): Use the new option to sort tags.
3391 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3392 premature deletion of the data when using org-plot in a script.
3394 2009-08-06 Bastien Guerry <bzg@altern.org>
3396 * org-clock.el (org-clock-in-prepare-hook): New hook.
3397 (org-clock-in): Use this new hook.
3399 2009-08-06 Bastien Guerry <bzg@altern.org>
3401 * org.el (org-special-ctrl-a/e): Explicitely bind the value
3402 'reversed for this option to the "true line boundary first"
3404 (org-tags-match-list-sublevels): Document the 'indented value for
3407 * org-latex.el (org-export-latex-first-lines): Fix problem with
3408 publishing the region.
3410 * org-exp.el (org-export-format-source-code-or-example): Fix
3411 bad line numbering when exporting examples in HTML.
3413 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
3415 * org-colview.el (org-format-time-period): Formats a time in
3416 fractional days as days, hours, mins, seconds.
3417 (org-columns-display-here): Add special handling for SINCE and
3418 SINCE_IA to format for display.
3420 * org.el (org-time-since): Add a function to get the time since an
3422 (org-entry-properties): Add two new special properties: SINCE and
3423 SINCE_IA. These give the time since any active or inactive
3424 timestamp in an entry.
3425 (org-special-properties): Add SINCE, SINCE_IA.
3426 (org-tags-sort-function): Add custom declaration for tags
3428 (org-set-tags): Sort tags if org-tags-sort-function is set.
3430 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3432 * org-clock.el (org-clock-goto): Find hidden headlines as well.
3434 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3436 * org-plot.el (org-plot/add-options-to-plist): Add timeind
3439 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3441 * org-publish.el (org-publish-remove-all-timestamps): New function.
3442 (org-publish-all): Remove all timestamp files if `org-publish-all'
3443 is called with a prefix argument.
3445 * org-list.el (org-indent-item): Fix typo.
3446 (org-item-indent-positions): Normalize ordered bullet.
3448 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3450 * org-macs.el (org-set-local): Make a local variable, do not make
3451 the variable buffer-local!
3453 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3455 * org-exp.el (org-infile-export-plist): Read BIND lines.
3456 (org-install-letbind): New function.
3457 (org-export-as-org, org-export-preprocess-string): Call
3458 `org-install-letbind'.
3460 * org-list.el (org-list-demote-modify-bullet): New option.
3461 (org-first-list-item-p): Save point.
3462 (org-fix-bullet-type): New optional argument FORCE-BULLET.
3463 (org-indent-item): Honor `org-list-demote-modify-bullet'.
3464 (org-item-indent-positions): Return bullet types along with
3467 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3469 * org.el (org-show-entry): Hide drawers.
3471 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3473 * org-footnote.el (org-footnote-auto-adjust): New option.
3474 (org-footnote-auto-adjust-maybe): New function.
3475 (org-footnote-new, org-footnote-delete): Call
3476 `org-footnote-auto-adjust-maybe'.
3478 * org.el (org-startup-options): Add new footnote-related
3481 * org-publish.el (org-publish-timestamp-filename): Additional
3482 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3483 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3484 TRUE-PUB-DIR. Pass them through to
3485 `org-publish-timestamp-filename'.
3486 (org-publish-update-timestamp): Additional arguments PUB-DIR and
3487 PUB-FUNC, which are included in the hash.
3488 (org-publish-file): Delay timestamp test until the publishing
3491 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3493 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3494 setting the deadline.
3496 * org.el (org-read-date-final-answer): New variable.
3497 (org-read-date): Store the final answer string, including the date
3498 from the calendar, for reuse by agenda bulk commands.
3500 * org-publish.el (org-publish-attachment): Fix publishing of
3503 * org-latex.el (org-export-latex-quotation-marks): Fix export of
3504 quotation makrs in parenthesis.
3505 (org-remove-initial-hash): New function.
3506 (org-export-latex-preprocess): Fix bug with infinite loop if
3507 environment is not properly closed.
3509 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3512 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3513 highlight also when indented.
3515 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3517 * org-footnote.el (org-footnote-renumber-fn:N): New command.
3518 (org-footnote-action): Offer renumbering.
3520 * org.el (org-cycle): Honor the `integrate' value of
3521 org-cycle-include-plain-lists'.
3523 * org-list.el (org-cycle-include-plain-lists): New allowed value
3524 `internal'. Improve the docstring.
3526 * org.el (org-set-autofill-regexps): Improve the paragraph-start
3527 regexp to work better with LaTeX commands.
3529 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3531 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3534 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3536 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3539 * org.el (org-map-entries): No longer force
3540 `org-tags-match-list-sublevels' to t during a todo-only tags
3543 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3545 * org-latex.el (org-export-latex-low-levels): Allow user-defined
3547 (org-export-latex-subcontent): Handle user-defined environment.
3549 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3550 the View dispatcher.
3552 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3555 * org-latex.el (org-export-as-pdf): Protect match data during call
3556 to shell-quote-argument.
3558 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3559 (org-agenda-view-mode-dispatch): New function.
3561 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3563 * org-agenda.el (org-agenda-mode): Reset list of marks.
3564 (org-agenda-mode-map): Define new keys for refile and bulk action.
3565 (org-agenda-menu): Add menu itesm for refile and bulk action.
3566 (org-agenda-refile): New function.
3567 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3568 (org-agenda-marked-entries): New variable.
3569 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3570 (org-agenda-remove-all-bulk-action-marks)
3571 (org-agenda-bulk-action): New functions/commands.
3573 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3575 * org-exp.el (org-get-file-contents): Protect org-like lines in
3577 (org-export-format-source-code-or-example): Remove newlines.
3579 * org-latex.el (org-export-latex-links): Check for no-description
3582 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3583 argument separator back to comma.
3584 (org-export-normalize-links): Mark links without description.
3586 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3588 * org-exp.el (org-infile-export-plist): Fix bug in macro
3591 * org-agenda.el (org-agenda-clock-out): Update line after clocking
3593 (org-agenda-highlight-todo): Fix bug with highlighting.
3595 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3597 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3598 new alignment strings.
3600 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3602 (org-table-align): Check for forced align type.
3604 * org.el (org-self-insert-command): Add yas/expand to command
3607 * org-clock.el (org-clock-in-hook): New hook.
3608 (org-clock-in): Run `org-clock-in-hook.
3609 (org-clock-out-hook): New hook.
3610 (org-clock-out): Run `org-clock-out-hook.
3611 (org-clock-cancel-hook): New hook.
3612 (org-clock-cancel): Run `org-clock-cancel-hook.
3613 (org-clock-goto-hook): New hook.
3614 (org-clock-goto): Run `org-clock-goto-hook.
3616 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3618 * org.el (org-store-link): Better default description for link to
3621 * org-exp.el (org-export-generic): Autoload the generic exporter
3623 (org-export): Implement the `g' key for the generic exporter.
3625 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3627 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3630 * org-exp.el (org-infile-export-plist): Get macros also from
3633 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3635 * org-colview.el (org-columns-capture-view): Protect vertical bars
3637 (org-columns-capture-view): Exclude comment and archived trees.
3639 * org-colview-xemacs.el (org-columns-capture-view): Protect
3640 vertical bars in column values.
3641 (org-columns-capture-view): Exclude comment and archived trees.
3643 * org.el (org-quote-vert): New function.
3645 * org-latex.el (org-export-latex-verbatim-wrap): New option.
3647 * org-exp.el (org-export-format-source-code-or-example): Use
3648 `org-export-latex-verbatim-wrap'.
3650 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3653 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
3655 * org-exp-blocks.el: New file.
3657 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3659 * org-remember.el (org-remember-templates): Allow the headline
3660 element to be a function.
3661 (org-remember-apply-template): If the headline is a function, call
3662 it to get the true function.
3664 * org-clock.el (org-clock-menu): New function.
3665 (org-clock-update-mode-line): Update help string.
3666 (org-clock-modify-effort-estimate): New function.
3667 (org-clock-mark-default-task): New function.
3669 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3671 (org-org-menu): Add new clocking stuff.
3672 (org-clock-is-active): New function.
3674 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3676 * org.el (org-open-non-existing-files): Improve docstring.
3678 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3680 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3682 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3684 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3686 * org-list.el (org-get-checkbox-statistics-face): Use the new
3689 * org-faces.el (org-checkbox-statistics-todo)
3690 (org-checkbox-statistics-done): New faces.
3692 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3694 * org-latex.el (org-export-latex-use-verb): New variable.
3695 (org-export-latex-emph-format): Prefer \texttt over \verb when
3696 org-export-latex-use-verb is set.
3698 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3700 * org-remember.el (org-remember-handler): Abort remember if the
3703 * org-exp.el (org-export-format-source-code-or-example): Run
3704 `org-src-mode-hook'.
3706 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3708 * org.el (org-indent-line-function): Fix indentation of +#end lines.
3710 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
3712 * org-gnus.el (org-gnus-store-link): Require message.el in
3713 org-gnus-store-link.
3715 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3717 * org-src.el: New file, split out of org.el.
3719 * org-macs.el (org-replace-match-keep-properties): New function.
3721 * org-exp.el (org-export-mark-blockquote-verse-center): Better
3722 preprocessing of center and quote and verse blocks.
3724 * org-list.el (org-list-end): Respect the stored "original"
3725 indentation when determining the end of the list.
3727 * org-exp.el (org-export-replace-src-segments-and-examples):
3728 Remember indentation correctly.
3730 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3732 * org-clock.el (org-clock-update-mode-line): Apply face
3733 org-mode-line-clock.
3735 * org-faces.el (org-mode-line-clock): New face.
3737 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
3739 * org-gnus.el (org-gnus-store-link): Fix bug where
3740 `org-gnus-store-link' used wrong subject when called in an article
3741 buffer. Patch provided by fengli AT gmail DOT com.
3743 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3745 * org-exp.el (org-export-format-source-code-or-example): Remember
3746 the original indentation of source code snippets and examples.
3748 * org-latex.el (org-export-as-latex): Relocate the table of
3751 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3753 * org-agenda.el (org-run-agenda-series): Scope global options also
3754 when creating the agenda buffer.
3756 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3758 * org.el (org-adapt-indentation): Improve documentation.
3759 (org-insert-property-drawer): Respect org-adapt-indentation when
3760 inserting the drawer.
3761 (org-remove-flyspell-overlays-in): New function.
3762 (org-do-emphasis-faces, org-activate-plain-links)
3763 (org-activate-code, org-fontify-meta-lines-and-blocks)
3764 (org-activate-angle-links, org-activate-footnote-links)
3765 (org-activate-bracket-links, org-activate-dates)
3766 (org-activate-target-links, org-activate-tags): Remove flyspell
3769 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3771 * org.el (org-edit-src-save): New function.
3773 * org-clock.el (org-clock-out-switch-to-state): New option.
3774 (org-clock-out): Honor `org-clock-out-switch-to-state'.
3776 * org-compat.el (org-compatible-face): Improve macro.
3778 * org.el (org-global-properties-fixed): Add default for
3779 CLOCK_MODELINE_TOTAL.
3781 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3783 (org-clock-sum-current-item): Optional argument TSTART, pass it to
3785 (org-clock-get-sum-start): New function.
3787 * org.el (org-startup-options): New keywords blockhide and
3789 (org-mode): Add new invisibility spec.
3790 (org-set-startup-visibility): Hide block on startup if so
3792 (org-hide-block-startup): New option.
3793 (org-block-regexp): New constant.
3794 (org-hide-block-overlays): New variable.
3795 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3796 (org-show-block-all, org-hide-block-toggle-maybe)
3797 (org-hide-block-toggle): New functions.
3798 (org-edit-src-exit): Do not quote lines starting with # and no +
3800 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3803 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3805 * org.el (org-buffer-property-keys): Add Effort property for
3808 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3810 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3811 when retrieving total clocked time in the subtree.
3813 * org.el (org-quoting-blocks): New variable.
3815 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3817 * org-table.el (org-table-store-formulas)
3818 (org-table-get-stored-formulas, org-table-fix-formulas)
3819 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3820 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3822 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3823 indented #+TBLFM line.
3825 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3826 indented #+TBLFM line.
3828 * org-colview.el (org-dblock-write:columnview): Allow indented
3831 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3832 indented #+TBLFM line.
3834 * org-clock.el (org-dblock-write:clocktable): Allow indented
3837 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3839 * org-exp.el (org-export-format-source-code-or-example): Make
3840 editing indented blocks work correctly.
3842 * org.el (org-edit-src-nindent): New variable.
3843 (org-edit-src-code, org-edit-fixed-width-region)
3844 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3845 editing indented blocks work correctly.
3847 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3849 * org-exp.el (org-export-replace-src-segments-and-examples): Find
3851 (org-export-format-source-code-or-example): Fix indentation of
3853 (org-export-remove-indentation): New function.
3854 (org-export-select-backend-specific-text): Allow backend-specific
3855 code to be indented.
3856 (org-export-mark-blockquote-verse-center): Allow markers to be
3859 * org.el (org-fontify-meta-lines): New function.
3860 (org-set-font-lock-defaults): Call the new fontification
3863 * org-faces.el (org-meta-line): New face
3864 (org-block): New face.
3866 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3868 * org.el (org-treat-insert-todo-heading-as-state-change)
3869 (org-treat-S-cursor-todo-selection-as-state-change): New
3871 (org-insert-todo-heading): Honor
3872 `org-treat-insert-todo-heading-as-state-change'.
3873 (org-shiftright, org-shiftleft): Honor
3874 `org-treat-S-cursor-todo-selection-as-state-change'.
3875 (org-inhibit-logging): New variable.
3877 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3879 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3880 range for marker position checking.
3882 * org-latex.el (org-export-latex-first-lines): Fix bug when
3885 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3887 * org-exp.el (org-export-push-to-kill-ring): Protect using
3888 x-set-selection, because that does not always work.
3890 * org-agenda.el (org-agenda-list): Apply the new face
3891 `org-agenda-date-today'.
3893 * org-faces.el (org-agenda-date-today): New face.
3895 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3897 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3898 creating appointments.
3900 * org-latex.el (org-export-latex-low-levels): Fix customization
3903 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3906 * org-agenda.el (org-agenda-priority): Disable priority commands.
3908 * org.el (org-enable-priority-commands): New option.
3910 * org-colview-xemacs.el (org-columns-compute)
3911 (org-columns-number-to-string): Fix problems with empty fields.
3913 * org-colview.el (org-columns-compute)
3914 (org-columns-number-to-string): Fix problems with empty fields.
3916 * org-exp.el (org-export-push-to-kill-ring): New function.
3917 (org-export-copy-to-kill-ring): New option.
3919 * org-latex.el (org-export-as-latex): Call
3920 `org-export-push-to-kill-ring'.
3922 * org-exp.el (org-export-show-temporary-export-buffer): New
3925 * org-latex.el (org-export-as-latex): Use
3926 `org-export-show-temporary-export-buffer'.
3928 * org-exp.el (org-export-show-temporary-export-buffer): New
3930 (org-export-push-to-kill-ring): New function.
3932 * org-colview.el (org-columns-compile-map): New variable.
3933 (org-columns-new, org-columns-compute)
3934 (org-columns-number-to-string, org-columns-uncompile-format)
3935 (org-columns-compile-format): Implement new operators.
3937 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3939 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3941 * org-list.el (org-update-checkbox-count): Make property
3944 * org.el (org-hierarchical-todo-statistics): New option.
3945 (org-update-parent-todo-statistics): Modify to handle recursive
3948 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3950 * org-publish.el (org-publish): Make this function behave
3951 correctly in interactive use when called with a prefix argument.
3953 * org.el (org-todo-statistics-hook): New hook.
3954 (org-update-parent-todo-statistics): Use new hook.
3955 (org-log-into-drawer): New function.
3956 (org-add-log-setup): Use the new `org-log-into-drawer' function to
3957 determine if we should be logging into a drawer.
3958 (org-log-into-drawer): Update docstring.
3959 (org-default-properties): Add LOG_INTO_DRAWER as a property.
3961 * org-list.el (org-checkbox-statistics-hook): New hook.
3962 (org-update-checkbox-count-maybe): Use new hook.
3964 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3966 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3967 better bufer-generating mechanism.
3968 (org-edit-src-find-buffer): New function.
3970 * org-icalendar.el (org-print-icalendar-entries): Don't check for
3971 archive tag, this is already done by `org-agenda-skip'.
3972 data while constructing lost of tags.
3974 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3976 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3977 as argument separator in macros.
3979 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3981 * org.el (org-after-sorting-entries-or-items-hook): New hook.
3982 (org-sort-entries-or-items): Run the new hook.
3983 (org-after-refile-insert-hook): New hook.
3984 (org-refile): Run `org-after-refile-insert-hook'.
3986 * org-agenda.el (org-agenda-get-progress): Never take time of day
3987 from headline when displaying progress.
3989 * org-latex.el (org-export-latex-complex-heading-re): New variable.
3990 (org-export-as-latex): Force the correct regexp in the
3991 preprocessor buffer.
3992 (org-export-latex-set-initial-vars): Set
3993 `org-export-latex-complex-heading-re'.
3995 * org-agenda.el (org-agenda-start-with-log-mode): New option.
3996 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3998 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4000 * org-latex.el (org-export-latex-tables-centered): New option.
4001 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
4003 * org-exp.el (org-export-as-org): New command.
4004 (org-export-as-org): New command.
4006 * org-publish.el (org-publish-org-to-org): New function.
4008 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4010 * org.el (org-yank): Just call `org-yank-generic'.
4011 (org-yank-generic): New function, containing the formaer
4012 functionality of `org-yank'.
4014 * org-latex.el (org-export-latex-not-done-keywords)
4015 (org-export-latex-done-keywords): New variables.
4016 (org-export-latex-todo-keyword-markup): New option.
4017 (org-export-latex-set-initial-vars): Remember the TODO keywords.
4018 (org-export-latex-keywords-maybe): Apply the TODO markup.
4020 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4022 * org-exp.el (org-infile-export-plist): Add more default macros.
4023 (org-export-preprocess-apply-macros): Process macro arguments.
4025 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4027 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
4029 (org-print-icalendar-entries): Respect the new value of
4030 `org-icalendar-include-todo'.
4032 * org.el (org-link-try-special-completion)
4033 (org-file-complete-link): New functions.
4034 (org-insert-link): Add special completion support for some link
4037 * org-bbdb.el (org-bbdb-complete-link): New function.
4039 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4041 * org-list.el (org-update-checkbox-count): Allow recursive
4043 (org-hierarchical-checkbox-statistics): New option.
4045 * org.el (org-cycle): Remove erraneous space character.
4047 * org-icalendar.el (org-icalendar-timezone): Initialize from
4050 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4052 * org.el (org-autoload): Fix autoloading of ascii export
4054 (org-modules): Add org-special-blocks.
4056 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4058 * org-icalendar.el (org-start-icalendar-file): Use the new option.
4059 (org-ical-timezone): New option.
4061 * org-exp.el (org-export-get-coderef-format): Use the description
4064 * org.el (org-sort-entries-or-items): Improve docstring, and make
4065 better implementation for time sorting.
4067 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4069 * org.el (org-edit-src-persistent-message): New option.
4070 (org-edit-src-code, org-edit-fixed-width-region): Use the new
4073 * org-clock.el (org-clock-insert-selection-line): Fix prefious
4076 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
4077 separate buffer instead of indirect buffer to edit source code.
4078 (org-edit-src-exit): Make this function work with the new setup.
4080 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
4081 are properly fontified before shown in the selection menu.
4083 * org.el (org-fontify-like-in-org-mode): New function.
4085 * org-latex.el (org-export-latex-links): Use the property list to
4086 retrieve the default image attributes.
4088 * org-exp.el (org-export-plist-vars): Add a new option.
4090 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4092 * org-exp.el (org-export, org-export-visible): Support ASCII
4094 (org-export-normalize-links): Do not protect the description if it
4095 is explicitly given.
4097 * org-list.el (org-reset-checkbox-state-subtree): Move here from
4099 (org-reset-checkbox-state-subtree): Call
4100 `org-reset-checkbox-state-subtree'.
4102 * org-remember.el (org-select-remember-template): For the
4103 selection of a valid template.
4105 * org-latex.el (org-export-region-as-latex): Supply the
4106 force-no-subtree argument.
4107 (org-export-as-latex): Provide better limits when exporting the
4108 first line. When exporting to string, we still want the first
4110 (org-export-latex-first-lines): New argument END, to force the end
4112 (org-export-region-as-latex): Use the property list.
4113 (org-export-as-latex):
4115 * org-colview-xemacs.el (org-columns-remove-overlays)
4116 (org-columns): Fix call to `local-variable-p'.
4118 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4120 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
4121 (org-export-latex-preprocess): Run the new hook.
4123 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
4124 (org-export-preprocess-string): Run the new hook.
4126 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4128 * org-macs.el (org-check-external-command): New defsubst.
4130 * org.el (org-mode-map): New key for reload.
4131 (org-format-latex): Better error message when external programs
4134 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
4136 * org.el (org-sort-entries-or-items): Explicit sorting function
4137 for priorities, needed for XEmacs compatibility.
4139 * org-remember.el (org-remember-apply-template): Improve auto-save
4142 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4144 * org-latex.el (org-export-latex-preprocess): Also protect
4145 environments ending in a star.
4147 * org-list.el (org-at-item-p): Fix regular expression.
4149 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4151 * org.el (org-end-of-subtree): Improve speed.
4153 * org-agenda.el (org-agenda-get-timestamps)
4154 (org-agenda-get-progress, org-agenda-get-deadlines)
4155 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
4156 in particular, wait as long as possible to collect the tags.
4157 (org-stuck-projects): Improve docstring.
4159 * org.el (org-store-link): No errors when getting custom id before
4161 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4163 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4165 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4167 * org-protocol.el: Remove dependency on url.el.
4168 (org-protocol-unhex-compound, org-protocol-open-source): Remove
4169 dependency on url.el.
4171 * org-latex.el (org-export-as-pdf): Use
4172 `org-latex-to-pdf-process'.
4174 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4176 * org-latex.el (org-latex-to-pdf-process): New option.
4178 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4180 (org-agenda-get-timestamps): Honor
4181 `org-agenda-skip-additional-timestamps-same-entry'.
4183 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4184 (org-clock-goto): Find recent task only if
4185 `org-clock-goto-may-find-recent-task' allows it.
4187 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4188 drawers, and drawers that are missing the :END: line.
4190 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4192 * org-clock.el (org-clock-goto): Go to recently clocked task if no
4195 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4197 * org.el (org-update-parent-todo-statistics): Check for
4198 STATISTICS_FROM property.
4200 * org-list.el (org-update-checkbox-count): Check for
4201 STATISTICS_FROM property.
4203 * org.el (org-tab-first-hook)
4204 (org-tab-after-check-for-table-hook)
4205 (org-tab-after-check-for-cycling-hook): New hooks.
4206 (org-cycle-internal-global, org-cycle-internal-local): New
4207 functions, split out from `org-cycle'.
4208 (org-cycle): Call the new hooks.
4210 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4212 * org-exp.el (org-export-preprocess-string): Reset the list of
4213 preferred targets for each run of the preprocessor.
4215 * org.el (org-refile-target-verify-function): Improve
4217 (org-get-refile-targets): Respect point being moved by the
4218 verification function.
4220 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4222 (org-export-latex-keywords): Use new option.
4224 * org.el (org-rear-nonsticky-at): New defsubst.
4225 (org-activate-plain-links, org-activate-angle-links)
4226 (org-activate-footnote-links, org-activate-bracket-links)
4227 (org-activate-dates, org-activate-target-links)
4228 (org-activate-tags): Place the rear-nonsticky properties at the
4231 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4233 * org-protocol.el (server-edit): Declare `server-edit'.
4234 (org-protocol-unhex-string, org-protocol-unhex-compound): New
4236 (org-protocol-check-filename-for-protocol): Call `server-edit'.
4238 * org.el (org-default-properties): New default properteis for
4241 * org-exp.el (org-export-add-subtree-options): Add new properties
4244 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4246 * org-id.el (org-id-get-with-outline-path-completion): Turn off
4247 org-refile-target-verify-function for the duration of the command.
4249 * org.el (org-link-to-org-use-id): New possible value
4250 `create-if-interactive-and-no-custom-id'.
4251 (org-store-link): Use custom IDs.
4252 (org-link-search): Find custom ID properties from #link.
4253 (org-default-properties): Add CUSTOM_ID for property completion.
4254 (org-refile-target-verify-function): New option.
4255 (org-goto): Turn off org-refile-target-verify-function
4256 for the duration of the command.
4258 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4260 * org-exp.el (org-export-preferred-target-alist): New variable.
4261 (org-export-define-heading-targets): Find the new CUSTOM_ID
4263 (org-export-target-internal-links): Target the custom ids when
4266 * org-latex.el (org-export-latex-preprocess): Better regexp for
4267 matching latex macros with arguments.
4269 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4271 * org-remember.el (org-remember-handler): Allow filing to non-org
4274 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
4276 * org-table.el (org-table-fix-formulas): Do not change references
4278 (org-table-get-remote-range): Convert standard coordinates to RC
4281 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4283 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4285 * org-compat.el (org-sha1-string): Function removed.
4287 * org.el (org-refile-allow-creating-parent-nodes): New option.
4288 (org-refile-get-location): New argument NEW-NODES.
4289 (org-refile): Call `org-refile-get-location' with the new
4291 (org-refile-get-location): Arrange for adding a new child.
4292 (org-refile-new-child): New function.
4294 * org-clock.el: Fix a number of docstrings.
4295 (org-clock-find-position): New argument
4296 FIND-UNCLOSED to make the function find an unclosed clock in the
4298 (org-clock-in): Call `org-clock-find-position' with the new
4299 argument if we might be resuming a clock.
4301 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4303 * org-latex.el (org-export-latex-display-custom-times): New variable.
4304 (org-export-latex-timestamp-markup): New option.
4305 (org-export-latex-set-initial-vars): Remember the local value of
4306 `org-display-custom-times'.
4307 (org-export-latex-content): Process time stamps.
4308 (org-export-latex-time-stamps): New function.
4310 * org-macs.el (org-maybe-intangible): Add intangible property
4311 again to invisible text.
4313 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4315 * org-exp.el (org-default-export-plist): Handle undefined
4318 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4320 * org.el (org-sort-entries-or-items): Match TODO keywrds
4321 case-sensitively, when sorting.
4322 (org-priority): Do not match TODO keywords with wrong case.
4324 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4326 * org.el (org-todo): Honor the NOBLOCKING property.
4328 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4329 NOBLOCKING property.
4331 * org.el (org-scan-tags): Fix bug in tag scanner.
4333 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4335 * org.el (org-modules): Mark obsolete packages.
4337 * org-html.el: New file, split out from org-exp.el.
4339 * org-icalendar.el: New file, split out from org-exp.el.
4341 * org-xoxo.el: New file, split out from org-exp.el.
4343 * org-ascii.el: New file, split out from org-exp.el.
4345 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4347 * org-compat.el (org-find-library-name): New function.
4349 * org.el (org-pre-cycle-hook): New hook.
4350 (org-cycle): Call the new hook in appropriate places.
4351 (org-reload): Only reload files that have been loaded before.
4353 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4355 * org.el (org-set-font-lock-defaults): Enforxe space or line end
4357 (org-todo): When changing TODO state, do matching
4359 (org-map-continue-from): New variable.
4360 (org-scan-tags): Respect values in `org-map-continue-from'.
4361 (org-reload): Make XEmacs compatible.
4363 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4365 * org-protocol.el (org-protocol-flatten-greedy): New function.
4366 (org-protocol-flatten): New function.
4368 * org.el (org-open-link-from-string): Pass reference buffer to
4369 `org-open-at-point'.
4370 (org-open-at-point): New optional argument `reference-buffer'.
4372 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4374 * org.el (org-scan-tags): Make tag scan find headline in first
4376 (org-get-refile-targets): Add the naked file name.
4377 (org-refile): Store as top-level entry when only file name was
4380 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4382 * org.el (org-block-todo-from-children-or-siblings-or-parent):
4383 Rename from org-block-todo-from-children-or-siblings, and
4384 enhanced to look for the parent's status as well.
4386 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4387 (org-agenda-get-progress): Add first notes line to log entry if so
4390 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4392 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4393 (org-agenda-cleanup-fancy-diary): Call the new hook.
4395 * org-remember.el (org-remember-apply-template): Take the default
4396 for the annotation from the :annotation property.
4398 * org-mac-message.el (org-mac-message-get-link): Remove the
4400 (org-mac-message-get-link): Return the result.
4402 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4404 * org.el (org-refile-get-location): Add file name only if not
4405 already included in outline path.
4407 * org-faces.el (org-n-level-faces): Fix customization type from
4410 * org-exp.el (org-export-headline-levels): Fix customization type
4411 from number to integer.
4413 * org-agenda.el (org-agenda-confirm-kill)
4414 (org-agenda-custom-commands-local-options)
4415 (org-timeline-show-empty-dates, org-agenda-ndays)
4416 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4417 customization type from number to integer.
4419 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4421 * org-protocol.el: Declare some functions.
4423 * org-agenda.el (org-agenda-compare-effort): Honor
4424 `org-sort-agenda-noeffort-is-high'.
4425 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4426 (org-agenda-compare-effort): Implement the "?" operator for
4427 finding entries without effort setting.
4429 * org.el (org-extract-attributes-from-string): New function.
4431 * org-exp.el (org-export-splice-attributes): New function.
4433 2009-08-06 Bastien Guerry <bzg@altern.org>
4434 Daniel M German <dmg@uvic.org>
4435 Sebastian Rose <sebastian_rose@gmx.de>
4436 Ross Patterson <me@rpatterson.net>
4438 * org-protocol.el: New file.
4440 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
4442 * org-docbook.el: New file.
4444 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4446 * org-mouse.el: XEmacs compatibility fixes.
4448 * org.el (org-modules): Add org-inlinetasks.el
4449 (org-cycle): Implement limiting level on cycling.
4450 (org-move-subtree-down): Fix bug with swapping subtrees at end of
4453 * org-inlinetask.el: New file.
4455 * org.el (org-emphasis-regexp-components): Allow braces in
4456 emphasis pre and post match.
4458 * org-footnote.el (org-footnote-normalize): When only dorting, do
4459 not insert inline notes at the end.
4461 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4463 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4465 * org.el (org-reftex-citation): New command.
4467 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4469 * org-agenda.el (org-agenda-cmp-user-defined): New option.
4470 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4472 (org-entries-lessp): Apply the new sorting option.
4474 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4475 blocker code, when an older sibling has children.
4477 * org-mac-message.el (org-mac-message-get-link): Improve getting
4478 links from multiple selected messages.
4480 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4482 * org-remember.el (org-remember-finalize): Do not set buffer file
4484 (org-remember-handler): Mark buffer as unmodified.
4485 (org-remember-handler): Delete backup file and show message about
4486 remaining backup files.
4487 (org-remember-auto-remove-backup-files): New option.
4489 * org.el (org-store-link): Use buffer name as link description in
4491 (org-ido-switchb): Fix argument bug for completion.
4493 * org-remember.el (org-remember-apply-template): Set local
4494 variable `auto-save-visited-file-name' instead of global one.
4496 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4498 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4499 (org-agenda-get-todos): Mark file tags as inherited.
4500 (org-agenda-list): Always search diary lines for a time.
4502 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4504 * org-feed.el: New file.
4506 * org-exp.el (org-export-as-html): Close local lists depending on
4507 indentation, also when starting a table.
4509 * org-remember.el (org-remember-backup-directory)
4510 (org-remember-backup-name): New internal variable.
4512 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4514 * org-clock.el (org-clock-out-if-current): Make buffer detection
4515 work in indirect buffers as well.
4517 * org.el (org-emphasis-regexp-components): Add the exxclamation
4518 mark to the post-emphasis characters.
4520 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4522 * org.el (org-read-date-minibiffer-septup-hook): New hook.
4523 (org-read-date): Run the new hook.
4525 * org-mac-message.el (org-mac-flagged-mail): New group.
4526 (org-mac-mail-account): New variable.
4527 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4530 * org-remember.el (org-remember-backup-directory): New variable.
4531 (org-remember-apply-template): Write file to backup directory.
4533 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4535 * org-mouse.el (org-mouse-todo-menu): New function.
4536 (org-mouse-todo-keywords): Function removed.
4537 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4539 * org-table.el (org-table-beginning-of-field)
4540 (org-table-end-of-field): New commands
4541 (org-table-previous-field, org-table-beginning-of-field): Better
4543 (orgtbl-setup): Include `M-a' and `M-e'.
4545 * org.el (org-backward-sentence, org-forward-sentence): New
4548 * org-colview.el (org-colview-initial-truncate-line-value): New
4550 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4551 (org-columns): Remember the value of `truncate-lines'.
4553 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4555 (org-columns-remove-overlays): Restore the value of
4557 (org-columns): Remember the value of `truncate-lines'.
4559 * org.el (org-columns-skip-arrchived-trees): New option.
4561 * org-agenda.el (org-agenda-export-html-style): Define color for
4562 org-agenda-done face.
4563 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4564 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4566 * org.el (org-scan-tags): Use the new face.
4568 * org-faces.el (org-agenda-done): New face.
4570 * org.el (org-scan-tags): Test the value org
4571 `org-tags-match-list-sublevels'.
4572 (org-tags-match-list-sublevels): New allowed value: indented.
4574 * org-latex.el (org-export-latex-make-header): Apply macros
4577 * org-exp.el (org-export-apply-macros-in-string): New function.
4579 * org-latex.el (org-export-latex-list-parameters): Fix bug
4580 with the definition of a checked box.
4582 * org-clock.el (org-clock-find-position): Fix drawer indentations.
4584 * org-latex.el (org-export-latex-low-levels): More options
4585 for how to process lower levels in LaTeX.
4586 (org-export-latex-subcontent): Better treatment for lists as a
4587 means of publishing lower levels.
4589 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4591 * org.el (org-set-font-lock-defaults): Use new checkbox face.
4593 * org-faces.el (org-checkbox): New face.
4595 * org-exp.el (org-export-html-preprocess): Only create LaTeX
4596 fragement images if there is an export file.
4598 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4600 * org-agenda.el (org-stuck-projects): Document that the subtree of
4601 projects that are not stuck will now be searched for stuck
4603 (org-agenda-skip-entry-when-regexp-matches)
4604 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4605 (org-agenda-list-stuck-projects): Use
4606 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4608 * org-latex.el (org-export-latex-preprocess): Improve
4611 * org-exp.el (org-export-as-html): Implement centering as a div
4612 rather than a paragraph. Do a better job with line-end in verse
4615 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4617 * org.el (org-open-at-point): Fix tags searches by mouse click.
4619 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4621 * org-latex.el (org-export-latex-preprocess): Implement the
4624 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
4625 from `org-export-mark-blockquote-and-verse'.
4626 (org-export-as-html): Implement the centering markup.
4628 * org-latex.el (org-export-latex-tables): Fix vertical
4631 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4633 * org.el (org-read-date-history): New variable.
4634 (org-read-date): Use new history variable.
4635 (org-toggle-heading): Fix bug when used before first headline.
4636 (org-store-log-note): Remove drawer if empty while note is
4638 (org-remove-empty-drawer-at): New function.
4639 (org-check-after-date): New command.
4640 (org-sparse-tree): New sparse tree command "a".
4642 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4644 2009-08-06 Bastien Guerry <bzg@altern.org>
4646 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4647 column and a space, not only a column.
4649 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4651 * org-latex.el (org-export-latex-emphasis-alist): Better
4652 defaults for verbose emphasis.
4653 (org-export-latex-emph-format): New function.
4654 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4656 * org-agenda.el (org-agenda-menu): Add new commands to menu.
4657 (org-agenda-do-date-later, org-agenda-do-date-earlier)
4658 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4659 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4662 * org.el (org-timestamp-change): Move end-time along with start
4665 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4667 * org-exp.el (org-export-target-internal-links)
4668 (org-export-as-html): Protect links specified as #name.
4670 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4672 * org.el (org-clone-subtree-with-time-shift): New command.
4674 * org-latex.el (org-export-latex-special-chars)
4675 (org-export-latex-treat-sub-super-char): Fix subscript export.
4677 * org-exp.el (org-create-multibrace-regexp): Do not add
4678 backslashes to the class.
4680 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4682 * org-colview.el (org-columns-map): Better functions for moving up
4683 and down a row, even if `truncate-line' is nil.
4685 * org.el (org-insert-todo-heading): Make sure the keyword is
4686 inserted at the correct position.
4688 * org-publish.el (org-publish-project-alist)
4689 (org-publish-projects, org-publish-org-index): Change default anme
4690 for the index of file names to "sitemap.org".
4692 * org-latex.el (org-export-latex-tables): Use
4693 `org-split-string', for Emacs 21 compatibility.
4695 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4697 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4699 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4701 * org-exp.el (org-export-page-description)
4702 (org-export-page-keywords): New variables.
4703 (org-export-plist-vars): Add entries for :keywords and
4705 (org-infile-export-plist): Parse for new keywords.
4706 (org-get-current-options): Add new keywords
4707 (org-export-as-html): Publish description and keywords.
4709 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4711 (org-agenda-add-entry-text): Honor
4712 `org-agenda-add-entry-text-descriptive-links'.
4714 * org-latex.el (org-export-latex-preprocess): Make all
4715 external preprocess functions use a PARAMETER arg.
4717 * org-exp.el (org-export-preprocess-string)
4718 (org-export-select-backend-specific-text)
4719 (org-export-format-source-code-or-example)
4720 (org-format-org-table-html): Support docbook export.
4721 (org-export-preprocess-string): Make all external preprocess
4722 functions use a PARAMETER arg.
4724 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4726 * org-exp.el (org-export-html-style-include-scripts): New option.
4727 (org-export-plist-vars): Add new option
4728 `org-export-html-style-include-scripts'.
4729 (org-export-as-html): Honor new option
4730 `org-export-html-style-include-scripts'.
4731 (org-export-html-scripts, org-export-html-style-default): Fix
4732 xml issues with the Safari browser.
4734 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4736 * org-publish.el (org-publish-attachment): Only copy file when the
4739 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4741 * org-clock.el (org-clocktable-steps): Use inactive time stamps
4742 for clocktable steps.
4744 * org.el (org-additional-option-like-keywords): Add two more
4747 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4749 * org-exp.el (org-export-format-source-code-or-example): Mark
4750 temporary buffer unmodified, so that it will be killed even if
4751 mode like message mode has decided to assign a file name.
4753 * org.el (org-scan-tags): Improve tag inheritance.
4754 (org-scan-tags, org-make-tags-matcher): Make tag comparison
4756 (org-scan-tags): Use the internal tags list instead of creating it
4758 (org-trust-scanner-tags, org-scanner-tags): New variables.
4759 (org-scan-tags): Set `org-scanner-tags'.
4760 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4761 (org-map-entries): Document the possible speedup using scanner
4764 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4766 * org.el (org-add-planning-info): Fix bug with looking for keyword
4769 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4770 option for tags filter preset.
4771 (org-prepare-agenda): Store filter preset as a property on the
4773 (org-finalize-agenda): Call the filter, if there is a preset.
4774 (org-agenda-filter-by-tag): Filter again after clearing the
4775 filter, when there still is a preset.
4776 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4777 Include the preset filter.
4778 (org-agenda-redo): Apply the filter again, also the preset filter.
4780 * org-exp.el (org-export-as-html): Use IDs in the correct way.
4782 * org.el (org-uuidgen-p): New funtion.
4784 * org-agenda.el (org-agenda-fontify-priorities): New default value
4786 (org-agenda-fontify-priorities): Rename from
4787 org-fontify-priorities.
4789 * org.el (org-set-font-lock-defaults): Call
4790 `org-font-lock-add-priority-faces'.
4791 (org-font-lock-add-priority-faces): New function.
4793 * org-faces.el (org-set-tag-faces): New option.
4794 (org-priority-faces): New variable.
4796 * org-exp.el (org-export-as-html): Add a "content" div around the
4797 entire content of the body tag.
4798 (org-export-html-get-bibliography): New function.
4799 (org-export-html-validation-link): New variable.
4800 (org-export-as-html): Add validation link to exported page.
4802 * org.el (org-match-sparse-tree): Rename from
4803 `org-tags-sparse-tree'.
4804 (org-tags-sparse-tree): New alias.
4806 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4808 * org.el (org-get-valid-level): Catch the case where the level
4811 * org-clock.el (org-clock-find-position): Better indentation of
4814 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4816 * org-agenda.el (org-agenda-quit): Delete window only when the
4817 frame-setup was not `current-window'.
4819 * org.el (org-tag-persistent-alist): New option.
4820 (org-startup-options): Add keyword `noptag'.
4821 (org-fast-todo-selection): Handle :newline correctly.
4822 (org-set-tags): Handle :newline correctly.
4823 (org-fast-tag-selection): Handle :newline correctly.
4825 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4827 * org-exp.el (org-export-as-ascii): Reverse link buffer before
4829 (org-export-ascii-push-links): Fix bug with pussing links into the
4832 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4834 * org-archive.el (org-archive-subtree): Do not add 1 to level if
4835 pasting at top level.
4837 * org-bbdb.el: Improve documentation.
4839 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4841 * org-list.el (org-insert-item): Only consider insert empty lines
4842 is `org-empty-line-terminates-plain-lists' is not nil.
4844 * org.el (org-blank-before-new-entry): Mention the dependence on
4845 `org-empty-line-terminates-plain-lists' in the docstring.
4847 * org-publish.el (org-publish-get-project-from-filename): New
4848 optional argument UP. Only find the top project if UP is set.
4849 (org-publish-current-project): Find the top encloding project.
4851 * org-agenda.el (org-agenda-before-write-hook)
4852 (org-agenda-add-entry-text-maxlines): New options.
4853 (org-write-agenda): Run the new hook in the temporary buffer.
4854 (org-agenda-add-entry-text): New function.
4855 (org-write-agenda): Implement PDF export, using ps2pdf.
4857 * org.el (org-global-properties-fixed, org-global-properties):
4858 Improve documentation string.
4860 * org-exp.el (org-export-ascii-links-to-notes): New option.
4861 (org-export-as-ascii): Handle links better.
4862 (org-export-ascii-wrap, org-export-ascii-push-links): New
4865 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4867 * org-agenda.el (org-agenda): Make prefix arg optional.
4868 (org-agenda-search-headline-for-time): New option.
4869 (org-format-agenda-item): Honor
4870 `org-agenda-search-headline-for-time'.
4872 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4875 * org.el (org-self-insert-cluster-for-undo): New option.
4876 (org-self-insert-command): Cluster undo for 20 characters.
4877 (org-self-insert-command-undo-counter): New variable.
4879 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4881 * org-exp.el (org-export-as-html): Fix problem with closing colone
4884 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4886 * org-latex.el (org-export-as-latex)
4887 (org-export-latex-first-lines): Avoid modification flag when
4888 adding or removing text properties.
4889 (org-export-latex-fontify): Catch error when org-emph-alist has
4890 entries that are not defined for LaTeX export.
4892 * org-export-latex.el: renamed to org-latex.el.
4894 * org-latex.el: renamed from org-export-latex.el.
4896 * org.el (orgstruct++-mode): New function.
4897 (turn-on-orgstruct++): Call `orgstruct++-mode'.
4898 (org-context-p): Allow detecting item context after the first line
4900 (orgstruct-make-binding): Detect if item-body context should be
4902 (orgstruct-is-++): New variable.
4903 (org-add-planning-info): Catch the case when there is no planning
4904 info yet and the call does not want to add anything, only maybe
4905 tries to remove something.
4906 (org-special-ctrl-a/e): All value to be a cons cell with separate
4907 settings for `C-a' and `C-e'.
4908 (org-beginning-of-line, org-end-of-line): Honor separate values
4909 for `C-a' and `C-e'.
4911 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4913 * org.el (org-reload): New command.
4915 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
4917 * org-gnus.el (org-gnus-store-link): Fix bug where
4918 org-gnus-store-link used wrong subject when called in an article
4919 buffer. Patch provided by fengli AT gmail DOT com.
4921 2009-03-13 D. Goel <deego3@gmail.com>
4923 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
4924 replace ls by (values-list ls).
4926 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
4928 * org-remember.el (org-remember-apply-template): Turn off ido for
4931 * org.el (org-priority): Also find invisible headings, for remote
4933 (org-completing-read-no-ido): New function.
4934 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
4936 * org-colview.el (org-columns-edit-value): No special treatment of
4939 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
4941 * org.el (org-block-todo-from-children-or-siblings): Use
4942 `org-up-heading-all' so that this will work correctly with hidden
4943 property drawers and entries.
4944 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4945 falling back to normal, default command.
4946 (org-get-location): Temporarily turn off special behavior.
4948 2009-02-13 Glenn Morris <rgm@gnu.org>
4950 * org-rmail.el (rmail-show-message): Restore argument list to the
4951 declaration now that this functions behaves in Emacs 23 as in 22.
4953 2009-02-12 Glenn Morris <rgm@gnu.org>
4955 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
4957 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
4959 * org-footnote.el (org-footnote-action): Fix doc typo.
4961 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
4963 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
4964 text before first headline.
4965 (org-export-remove-or-extract-drawers): Fix regular expression for
4968 * org.el (org-format-latex): Stop LaTeX fragment processing in
4971 2009-02-05 Glenn Morris <rgm@gnu.org>
4973 * org-rmail.el (rmail-show-message): Update declaration.
4974 (rmail-buffer, rmail-view-buffer): Declare.
4975 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
4977 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
4979 * org.el (org-return-follows-link): Revert setting
4980 `org-return-follows-link' to t by default.
4982 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
4984 * org.el (org-cycle-global-at-bob): Fix typo.
4986 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
4988 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
4990 * org.el (org-mode): Make dependence stuff work more reliably.
4991 (org-update-parent-todo-statistics): Fix bug with updating
4993 (org-yank-adjusted-subtrees, org-return-follows-link)
4994 (org-use-fast-todo-selection, org-tags-column): New default
4995 setting for variables.
4997 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4998 ~ as verbatim delimiters, to avoid table bug.
4999 (org-export-latex-classes): Remove the a4paper option from the
5002 * org-exp.el (org-export-html-format-image): New argument
5003 PAR-OPEN, to fix XHTM validation bug.
5004 (org-export-as-html): Pass par-open to
5005 `org-export-html-format-image'.
5006 (org-export-html-footnotes-section): Use a more consistent id for
5009 * org-agenda.el (org-agenda-sorting-strategy)
5010 (org-agenda-tags-column): New default setting for variables, based
5011 on a poll what typical uses use.
5012 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
5013 setting the blocked tag.
5015 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
5017 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
5018 only checking for blocks.
5020 * org-exp.el (org-export-html-footnotes-section): Make the div id
5023 * org-export-latex.el (org-export-latex-classes): Remove
5024 paper size option from LaTeX classes.
5026 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
5028 * org.el (org-enforce-todo-checkbox-dependencies): New option.
5029 (org-block-todo-from-checkboxes): New function.
5030 (org-todo): Make tripple prefix arg circumvent blocking.
5032 2009-01-30 Glenn Morris <rgm@gnu.org>
5034 * org-list.el (org-empty-line-terminates-plain-lists)
5035 (org-toggle-checkbox): Doc fixes.
5037 * org-table.el (org-table-clean-before-export): Fix declaration.
5039 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
5041 * org-timer.el (org-timer): Provide the timer feature.
5043 * org.el (org-require-autoloaded-modules): Add a few more files to
5044 the list of autoloaded modules.
5046 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5048 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5049 drawers that are unprotected.
5050 (org-export-html-format-image): Make sure inlined LaTeX fragment
5051 images remain inlined.
5053 * org.el (org-toggle-ordered-property): New function.
5054 (org-mode-map): Add a key for `org-toggle-ordered-property'.
5055 (org-org-menu): Add menu entries for TODO dependencies.
5057 * org.el (org-default-properties): Add ORDERED to the default
5058 properties, to get completion support for it.
5060 * org-list.el (org-update-checkbox-count): Update more than one cookie.
5062 * org.el (org-update-parent-todo-statistics): Update more than one
5065 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
5067 * org-agenda.el (org-agenda-get-todos): Start search from correct
5070 * org.el (org-fast-todo-selection): Make sure TODO selection does
5071 not change buffer position.
5073 * org-list.el (org-toggle-checkbox): Implement adding or removing
5074 checkboxes from line or region when called with a prefix
5077 * org-rmail.el (org-rmail-store-link): Protect the call to
5078 `rmail-narrow-to-non-pruned-header'.
5080 * org-clock.el (org-clock-special-range): Fix week display in
5083 * org-exp.el (org-get-current-options): Fix bug when in indirect
5086 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5087 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5088 (org-agenda-dim-blocked-tasks): New function.
5090 * org.el (org-enforce-todo-dependencies): New option.
5091 (org-block-todo-from-children-or-siblings): New function.
5093 * org-faces.el (org-agenda-dimmed-todo-face): New face.
5095 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
5097 * org.el (org-todo): Return correct state type even if the blocker
5099 (org-modifier-cursor-error): Rename from
5100 `org-shiftcursor-error'.
5101 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5102 (org-shiftmetadown): Call `org-modifier-cursor-error'.
5104 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5105 to get real errors from the blocker hook.
5107 * org.el (org-shiftselect-error, org-call-for-shift-select): New
5109 (org-set-visibility-according-to-property): Turn off the setting
5110 of `org-show-entry-below', to avoid overruling a FOLDED visibility
5113 * org.el (org-support-shift-select): New option.
5114 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5115 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5116 selection outside contexts.
5118 * org-list.el (org-at-item-bullet-p): New function.
5120 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5123 * org-footnote.el (org-footnote-normalize): Remove unnecessary
5125 (org-insert-footnote-reference-near-definition): Remove
5126 unnecessary let form.
5128 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
5130 * org-export-latex.el (org-export-as-latex): Call
5131 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
5132 (org-export-latex-first-lines): New parameter OPT-PLIST.
5134 * org.el (org-yank): Tell `delete-selection-mode' about
5137 * org-faces.el (org-clock-overlay): Fix face definition.
5139 * org-export-latex.el (org-export-latex-first-lines): Pass
5140 timestamp and footnote parameters to the preprocessor.
5142 * org-exp.el (org-export-remove-timestamps): Do not remove time
5143 stamps inside tables.
5145 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5147 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5149 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5152 * org-table.el (org-table-insert-hline): Fix typo in fuction call
5155 * org-exp.el (org-export-as-html): Remove the initial space from
5158 * org.el (org-scan-tags): Call
5159 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5161 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5162 customization groups.
5163 (org-agenda-tags-todo-honor-ignore-options): New option.
5164 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5166 (org-agenda-get-todos): Use
5167 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5169 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5171 * org-exp.el (org-export-format-source-code-or-example): Escape
5172 HTML characters also in examples that anre not treated with
5173 htmlize. Also, just switch to EXAMPLE processing if we do not
5174 have a good version of htmlize.
5176 * org-rmail.el: Fix copyright notice.
5178 * org.el (org-activate-footnote-links): Improve footnote link
5181 * org-footnote.el (org-footnote-normalize): Fix finding the end of
5182 a footnote definition at the end of the file.
5184 * org-table.el (org-table-get-specials): Add an imagined hline at
5185 the end of the table. This can be useful for references that want
5186 to go to the end of the table. Also fix bug when computing last
5187 row constants, in tables that do not start right at the right
5189 (org-table-eval-formula): Match and replace remove references.
5190 (org-table-formula-substitute-names): Make sure that names inside
5191 a "remote" call are left alone, the will be replaced later when
5192 the remote call is handled.
5193 (org-table-convert-refs-to-rc): Do not convert things that might
5194 look like a reference, but are really part of an ID or namei n a
5196 (org-table-get-remote-range): New function.
5198 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5200 * org-faces.el (org-clock-overlay): Fix bug in face definition.
5202 * org-clock.el (org-clock-put-overlay): Use new face instead of
5203 `secondary-selection'.
5205 * org-faces.el (org-clock-overlay): New face.
5207 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5209 * org-exp.el (org-get-current-options): Include the option for
5210 publishing time stamps.
5212 * org.el (org-toggle-heading): Rename from
5213 `org-toggel-region-headings'.
5214 No longer needs a region defined, but will use it if there is one.
5215 (org-ctrl-c-star): Simplify, relying more on the internal
5216 workings of `org-toggle-heading'.
5217 (org-toggle-item): Rename from `org-toggle-region-items'.
5218 No longer needs a region defined, but will use it if there is one.
5219 (org-ctrl-c-minus): Simplify, relying more on the inernal
5220 workings of `org-toggle-item'.
5222 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5223 environment detection. Also, do real changes only in unprotected
5226 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5228 * org-export-latex.el (org-export-latex-quotation-marks): Use
5229 `org-if-unprotected-1'.
5230 (org-export-latex-set-initial-vars): Check for class definition in
5233 * org-macs.el (org-if-unprotected-1): New macro.
5235 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5237 * org-compat.el (org-count-lines): New function.
5239 * org-exp.el (org-export-format-source-code-or-example): Handle
5240 switches related to text areas.
5242 * org.el (org-activate-footnote-links): Don't allow match inside a
5245 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5247 * org-export-latex.el (org-export-latex-links): Keep a relative
5248 path relative also after export.
5250 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5252 * org.el (org-make-tags-matcher): Never use IDO for completing the
5253 tags matcher match string.
5254 (org-completing-read): Also remove the special biding for "?".
5256 * org-attach.el (org-attach-allow-inheritance): New option.
5257 (org-attach-inherited): New variable.
5258 (org-attach-dir): Handle properties related to the attachment
5260 (org-attach-check-absolute-path): New function.
5261 (org-attach-set-directory, org-attach-set-inherit): New commands.
5262 (org-attach): Accommodate the new commands in the dispatcher.
5264 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5266 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5267 `window-full-width-p'.
5269 * org-exp.el (org-export-as-html): Only check for images files
5270 that really can be inlined.
5272 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5273 list of extensions to be a parameter.
5275 * org-exp.el (org-export-html-inline-image-extensions): New
5278 * org-agenda.el (org-prepare-agenda): Use
5279 `org-agenda-block-separator'.
5280 (org-agenda-block-separator): New option.
5282 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5284 * org-export-latex.el (org-export-latex-tables): Call
5285 `org-table-clean-before-export' with the new optional argument.
5287 * org-exp.el (org-table-clean-before-export): New optional
5288 parameter MAYBE-QUOTED, allows for quoted characters like \# in
5291 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5293 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5296 * org-colview.el (org-colview-construct-allowed-dates): Better
5297 error catching when a date/time property does not have allowed
5300 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5301 Better error catching when a date/time property does not have
5302 allowed values defined.
5304 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5306 * org.el (org-map-entries): Restore point and restriction after
5309 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5311 * org.el (org-time=, org-time<, org-time<=, org-time>)
5312 (org-time>=, org-time<>): Make sure both values are dates.
5314 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5316 * org-archive.el (org-extract-archive-heading): Allow %s for file
5317 name also in achive location heading.
5319 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5321 * org-archive.el (org-add-archive-files): Uniquify the list before
5324 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5326 * org-compat.el (org-fit-window-to-buffer): Use
5327 `window-full-width-p'.
5329 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5330 space after the colon in short examples.
5332 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5333 enforce a space after the colon. However, we also allow lines
5334 that are *only* a colon.
5335 (org-export-as-html): Enforce the space after the colon in short
5337 (org-export-preprocess-string): Do the colon example protection
5339 (org-export-remove-timestamps): Do not check for protection at the
5342 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5344 * org.el (org-format-latex-options): Add new matcher for single
5345 letters between dollars.
5346 (org-get-header): Function removed.
5347 (org-heading-components): New function.
5349 * org-exp.el (org-export-define-heading-targets): Record ID's also
5350 as alternative targets.
5351 (org-export-as-html): Interpret "id:" links to other files by
5352 preserving the relative path.
5354 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5357 * org-exp.el (org-export-normalize-links): Protect the main link,
5358 to avoid special character processing.
5360 * org-export-latex.el (org-export-latex-special-keyword-regexp):
5362 (org-export-latex-special-string-regexps): Variable removed.
5363 (org-export-latex-keywords): Use the new regexp.
5365 * org-exp.el (org-export-handle-include-files): Fetch switches and
5366 put them into the BEGIN statement.
5368 * org-timer.el (org-timer-mode-line-string): New variable.
5370 * org-clock.el (org-clock-mode-line-map): Rename from
5371 `org-clock-mode-map'.
5372 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
5373 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
5374 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
5375 (org-clock-remove-overlays): Rename from
5376 `org-remove-clock-overlays'.
5378 * org-timer.el (org-timer-pause-or-continue): Implement stopping
5379 and mode line display.
5380 (org-timer-stop): New command.
5381 (org-timer-seconds): Return correct time when timer is paused.
5382 (org-timer-mode-line-timer): New variable.
5383 (org-timer-set-mode-line, org-timer-update-mode-line): New
5386 * org.el (org-insert-heading): Handle new value `auto' for
5387 `org-blank-before-new-entry'.
5388 (org-org-menu): Add new items for timer functions.
5390 * org-list.el (org-insert-item): Handle new value `auto' for
5391 `org-blank-before-new-entry'.
5393 * org.el (org-blank-before-new-entry): New value `auto', made
5396 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5398 * org-exp.el (org-export-normalize-links): If the link is also
5399 used as the description, protect the description.
5401 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5403 * org.el (org-closest-date): Fix bug with yearly repeats, in
5404 combination with preference of the past as it is used for deadline
5405 and scheduling search.
5407 * org-exp.el (org-html-handle-time-stamps): No longer check for
5408 the `org-export-with-timestamps' option, because the preprocesser
5409 has taken care of this already.
5411 * org.el (org-entry-properties): Catch the case when this is
5412 called in a non-org-mode file.
5414 * org-export-latex.el (org-export-latex-remove-from-headlines):
5415 Variable made obsolete, also LaTeX export now uses the standard
5417 (org-export-as-latex): Add the timestamps parameter to the
5418 preprocessor parameter list.
5419 (org-export-latex-content): Export the remaining keywords without
5420 considering to remove them.
5421 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5422 Use bold font instead of tt font for the keywords.
5423 (org-export-latex-fontify-headline): Format headlines, assuming
5424 that all keywords still present should be published.
5425 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5426 publish what ever remains of the time stamps.
5427 (org-export-latex-list-parameters): New option.
5428 (org-export-latex-lists): Pass additional parameters to the list
5431 * org-exp.el (org-export-preprocess-string): Remove clock lines
5432 and timestamps already in the preprocesor.
5433 (org-export-remove-timestamps, org-export-remove-clock-lines): New
5435 (org-export-as-ascii, org-export-as-html): Add the timestamps
5436 parameter to the preprocessor parameter list.
5438 * org-list.el (org-list-parse-list): Parse for checkboxes.
5439 (org-list-to-generic): Introduce and handle new parameters :cbon
5441 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5442 optional parameter PARAMS.
5444 * org-export-latex.el (org-export-latex-special-chars): Fix
5445 problems with interpreting dollar signs.
5446 (org-inside-latex-math-p): New function.
5447 (org-export-latex-preprocess): Protect all the math fragments.
5449 * org.el (org-latex-regexps): Allow a dash after a dollar.
5451 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5454 * org-agenda.el (org-run-agenda-series): Have series options set
5455 when finalizing the agenda.
5457 * org-exp.el (org-export-format-source-code-or-example): Protect
5458 the converted examples.
5460 * org.el (org-set-regexps-and-options): Fix the regexp
5461 `org-complex-heading-regexp'.
5463 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5465 * org.el (org-edit-src-get-label-format): New function.
5466 (org-coderef-label-format): New option.
5467 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5468 a label format specification and make sure it is used in the edit
5470 (org-edit-src-get-label-format): New function.
5471 (org-store-link): Handle new coderef formats.
5472 (org-link-search): Handle new coderef formats.
5474 * org-footnote.el (org-footnote-create-definition)
5475 (org-footnote-goto-local-insertion-point): Make footnote insertion
5476 work correctly when the "Footnotes" headline is the last line in
5479 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5482 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5484 * org-w3m.el (org-w3m): New customization group.
5485 (org-w3m-deactivate-mark): New option.
5486 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5489 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5491 * org.el (org-set-font-lock-defaults): Trigger footnote
5493 (org-activate-footnote-links): New function.
5494 (org-activate-links): New entry `footnote'.
5496 * org-faces.el (org-footnote): New face.
5498 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5500 * org-macs.el (org-re): Handle the [:word:] class.
5502 * org-exp.el (org-export-preprocess-string): Call
5503 `org-export-protect-colon-examples'.
5504 (org-export-protect-colon-examples): Rename from
5505 `org-export-protect-examples', and scope limited to lines starting
5508 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5510 * org-exp.el (org-export-preprocess-string): Move the preprocess
5511 hook to after turning on Org-mode.
5512 (org-export-preprocess-after-include-files-hook)
5513 (org-export-preprocess-after-tree-selection-hook)
5514 (org-export-preprocess-before-backend-specifics-hook)
5515 (org-export-preprocess-final-hook): New hooks.
5516 (org-export-preprocess-string): Run the new hooks.
5518 * org.el (org-ctrl-c-minus): Fix indentation for new items.
5520 * org-footnote.el: New file.
5522 * org.el (org-footnote): Require footnote code.
5523 (org-startup-options): Add new footnote options.
5524 (org-mode-map): New keybindig for footnotes.
5525 (org-ctrl-c-ctrl-c): Add function at footnotes.
5526 (org-org-menu): New menu entries for footnotes.
5528 * org-export-latex.el (org-export-as-latex): Pass footnote
5529 variable to preprocessor.
5530 (org-export-latex-preprocess): Treat multiple references to a
5533 * org-exp.el (org-export-preprocess-string): Call
5534 `org-footnote-normalize'.
5535 (org-export-as-ascii, org-export-as-html): Pass footnote variable
5537 (org-export-as-html): Treat multiple references to a footnote.
5539 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5541 * org-export-latex.el (org-export-latex-links): Handle coderef
5544 * org.el (org-bracket-link-analytic-regexp++): New variable.
5545 (org-make-link-regexps): Initialize
5546 `org-bracket-link-analytic-regexp++'.
5547 (org-store-link): Implement special case in edit-src buffer.
5548 (org-insert-link): No use of ide to insert stored links.
5549 (org-link-search): Implement special case for coderefs.
5551 * org-exp.el (org-export-html-scripts): New constant.
5552 (org-export-html-style-default): Add a new style for highlighted
5554 (org-export-code-refs): New variable.
5555 (org-export-preprocess-string): Initialize `org-export-code-refs'.
5556 Call `org-export-replace-src-segments-and-examples'
5557 No longer call `org-export-protect-examples'.
5558 (org-export-target-internal-links): Take care of coderef targets.
5559 (org-export-last-code-line-counter-value): New variable.
5560 (org-export-replace-src-segments-and-examples): Rename from
5561 `org-export-replace-src-segments', and modified.
5562 (org-export-format-source-code-or-example): Rename from
5563 `org-export-format-source-code'.
5564 (org-export-number-lines): New function.
5565 (org-export-as-ascii, org-export-as-html): Handle coderef links.
5567 2009-01-23 Glenn Morris <rgm@gnu.org>
5569 * org-rmail.el (rmail-narrow-to-non-pruned-header):
5570 Remove declaration of deleted function.
5572 2009-01-16 Glenn Morris <rgm@gnu.org>
5574 * org-mouse.el (org-mouse-show-context-menu): Use
5575 mouse-menu-major-mode-map, if defined, rather than the obsolete
5576 mouse-major-mode-menu.
5578 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
5580 * org-remember.el (org-remember-handler): Safer way to get a new
5581 buffer accessing the target file.
5583 * org.el (org-refile-get-location): Handle case of current buffer
5584 not having a file associated with it.
5586 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
5588 * org-table.el (org-table-get-formula): Only ask to overwrite
5589 field formula if there really is one.
5591 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
5593 * org-export-latex.el (org-export-latex-make-header): Double the
5594 commenting % in the time stamp format.
5595 (org-export-latex-special-chars): Handle case where there is no
5598 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5600 * org.el (org-get-refile-targets, org-refile-get-location): Use
5601 expanded file name to improve comparison.
5603 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5605 * org.el (org-scan-tags): Rescan for tags, to get the correct
5606 upcase/downcase stuff. This slows things down for now, but it
5608 (org-mode): Make sure the tag-faces regexp is initialized.
5610 * org-export-latex.el (org-export-latex-links): Fix bug with
5613 * org-table.el (org-table-get-specials): Set
5614 `org-table-current-last-data-line'.
5615 (org-table-current-last-data-line): New variable.
5616 (org-table-insert-column, org-table-delete-column)
5617 (org-table-move-column, org-table-fix-formulas): Call
5618 `org-table-fix-formulas' a second time to fix the $LR references.
5619 (org-table-get-specials): Add the $LR references to the tables.
5620 (org-table-get-formula): Do not offer last-row names as LHS of
5623 * org.el (org-store-link): Capture link description from
5624 `org-id-store-link'.
5626 * org-exp.el (org-export-html-format-image): Add the / to the end
5628 (org-export-format-source-code): Surround example by empty lines,
5629 to make sure it will not be inside a paragraph.
5631 * org.el (org-ido-switchb): New function.
5633 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5635 * org-agenda.el (org-agenda-show): New prefix argument
5638 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5641 2008-12-20 Glenn Morris <rgm@gnu.org>
5643 * org.el (org-org-menu): Fix some more menu entries.
5645 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
5647 * org-table.el (org-table-get-specials): Revert introduction of @0
5648 as reference of the last table row, because of conflicts.
5650 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
5651 argument, get the current tags directly.
5652 (org-agenda-set-tags): Leave getting current tags to
5653 `org-agenda-change-all-lines'.
5655 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
5657 * org.el (org-org-menu): Do not quote the set-tags command.
5659 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
5661 * Fix typos in comments and docstrings throughout Org-mode.
5663 * org.el (org-get-outline-path): Fix bug if level is not given.
5665 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
5667 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5669 * org.el (org-refile): Avoid refiling to within the region to be
5672 * org-export-latex.el (org-export-latex-special-chars): Replace
5673 special characters also in tables.
5675 * org-agenda.el (org-agenda-change-all-lines): New argument
5677 (org-agenda-set-tags): Get the new tags and pass them to
5678 `org-format-agenda-item'.
5680 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5682 * org-export-latex.el (org-export-latex-classes): Add longable as
5683 a default package to all classes.
5684 (org-export-latex-tables): Handle the longtable attribute and the
5687 * org-table.el (orgtbl-to-generic): Handle tables that start with
5690 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5691 \verb for colde-like snippets.
5692 (org-export-as-latex): Fix issues with region export.
5694 * org.el (org-up-heading-safe): Speed up function by using a
5695 direct regexp search.
5696 (org-olpa): New variable.
5697 (org-get-outline-path): Speed-up path constructions in cases where
5698 this is possible because the entire hierarchy is scanned anyway.
5699 (org-refile-get-location): Don't compare the truenames of files,
5701 (org-goto-max-level): New option.
5702 (org-goto): Use `org-goto-max-level'.
5704 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
5706 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5707 Strip angle brackets from message-ids in the former and don't do
5709 (org-gnus-follow-link): Open summary reliable, even if the last
5710 messages were deleted, and handle empty groups, too.
5712 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5714 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5715 instead of \texttt for the =...= and ~===~ emphasis environments.
5716 (org-export-as-latex): Remove any old :org-license-to-kill text
5718 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5719 (org-export-latex-make-header): Add some hard space after the
5721 (org-export-latex-first-lines): Accept RBEG argument. Mark
5722 exported text so that it will be excuded in further steps.
5724 * org-table.el (org-table-get-specials): Make @0 reference the
5725 last line in a table.
5726 (org-table-recalculate): Improve docstring.
5728 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5730 * org.el (org-log-done): Fix docstring.
5732 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5734 * org-exp.el (org-export-html-format-image): Fix bugs.
5736 * org-export-latex.el (org-export-latex-tables)
5737 (org-export-latex-links): Implement attribute, label, and caption
5740 * org-exp.el (org-export-html-style-default): Add style
5741 definitions for the figure div.
5742 (org-export-preprocess-string, org-export-as-html): Implement
5743 attribute, label, and caption handling.
5744 (org-export-attach-captions-and-attributes): New function.
5745 (org-export-html-format-image): New function.
5746 (org-format-org-table-html): Implement attribute, label, and
5749 * org.el (org-find-text-property-in-string): New function.
5750 (org-extract-attributes): Use the property org-attr instead of
5751 org-attrobutes, because this property is now set with the #+ATTR
5754 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5756 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5757 the case that FROM is nil.
5759 * org.el (org-before-first-heading-p): New function.
5761 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5763 * org-exp.el (org-export-as-html): Do not add a space before
5764 enforces line breaks.
5765 (org-export-as-html): Close paragraph before blockquote and verse
5768 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5770 * org-id.el (org-id-locations-file): Wrap file name with
5771 `convert-standard-filename'.
5772 (org-id-files): New variable.
5773 (org-id-use-hash): New option.
5774 (org-id-update-id-locations): Also search in all files current
5775 listed in `org-id-files'. Convert the resulting alist to a hash
5776 if the user customation says so.
5777 (org-id-locations-save): Handle he case if `org-id-locations' is a
5779 (org-id-locations-load): Convert the alist to a hash.
5780 (org-id-add-location): Handle the hast case.
5781 (kill-emacs-hook): Make sure id locations are saved when Emacs is
5783 (org-id-hash-to-alist, org-id-alist-to-hash)
5784 (org-id-paste-tracker): New functions.
5786 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5788 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5789 bindings of calendar variables.
5791 * org-table.el (org-table-find-row-type): Rename from
5792 `org-find-row-type'.
5793 (org-table-rewrite-old-row-references): Rename from
5794 `org-rewrite-old-row-references'.
5795 (org-table-shift-refpart): Rename from `org-shift-refpart'.
5796 (org-table-cleanup-narrow-column-properties): Rename from
5797 `org-cleanup-narrow-column-properties'.
5799 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5801 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5802 for better error messages.
5803 (org-table-get-descriptor-line): Supply the new arguments to
5804 `org-find-row-type'.
5805 (org-table-error-on-row-ref-crossing-hline): New option.
5807 * org.el (org-target-link-regexp): Make buffer-local.
5808 (org-move-subtree-down): Fix bug with trees at beginning of
5811 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5813 * org-faces.el (org-set-tag-faces): New function.
5814 (org-tags-special-faces-re): New variable.
5816 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5818 * org-faces.el (org-tag-faces): New option.
5819 (org-tag): Mention `org-tag-faces' in the docstring.
5821 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5823 * org-exp.el (org-export-html-style-default): Implement new
5826 * org-jsinfo.el (org-infojs-template): Implement new quoting.
5828 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5829 command to the `w3m-minor-mode-map'.
5831 * org-archive.el (org-archive-to-archive-sibling): Protect
5832 `this-command' to avoid appending kills during archiving.
5834 * org-exp.el (org-export-with-priority): New variable.
5835 (org-export-add-options-to-plist): Use `org-export-plist-vars'
5836 instead of internal list of strings and properties.
5837 (org-print-icalendar-entries): Retrieve the location property with
5840 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5842 * org-exp.el (org-export-with-todo-keywords): New option.
5843 (org-export-plist-vars): Include also the keys for the #+OPTIONS
5845 (org-default-export-plist, org-export-add-options-to-plist)
5846 (org-export-as-ascii, org-export-as-html): Use the new structure
5847 of `org-export-plist-vars'.
5849 * org.el (org-map-entries): Return all values.
5851 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5853 * org.el (org-matcher-time): Recognize more special values.
5855 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5857 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5859 * org.el (org-tags-exclude-from-inheritance): New option.
5860 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5861 `org-tags-exclude-from-inheritance'.
5863 * org-agenda.el (org-agenda-show-inherited-tags): New option.
5864 (org-format-agenda-item): Add inherited tags to the agenda line
5865 string, and make sure that properties are kept when downcasing the
5867 (org-agenda-add-inherited-tags): New function.
5868 (org-downcase-keep-props): New function.
5870 * org.el (org-scan-tags): Mark inherited tags with a text
5872 (org-get-tags-at): Mark inherited tags with a text property.
5873 (org-add-prop-inherited): New function.
5875 * org-agenda.el (org-agenda-add-inherited-tags): New function.
5876 (org-agenda-show-inherited-tags): New option.
5878 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5880 * org.el (org-modules): Add org-w3m to the default modules.
5882 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5884 (orgtabl-create-or-convert-from-region): New command.
5886 * org-exp.el (org-export-as-ascii): Remove the handling of
5888 (org-export-ascii-preprocess): Handle targets already in this
5891 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5893 * org-timer.el (org-timer-start-time): Define this variable.
5894 (org-timer-item): Make argument optional.
5896 * org-list.el (org-insert-item): Automatically insert a timer item
5897 if the current list is a timer list.
5899 * org-timer.el: New file.
5901 * org-publish.el (org-publish-org-index): Only exclude the index
5902 file in the main directory from being added to the site-map.
5903 (org-publish-get-project-from-filename): If the current project is
5904 a component, start publishing from the parent project.
5906 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5908 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5910 * org-publish.el (org-publish-org-index): Improve removal of
5913 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5915 * org-agenda.el (org-get-closed): Re-apply changes
5916 accidentially overwritten by last commit to Emacs.
5918 * org.el (org-outline-path-complete-in-steps): New option.
5919 (org-refile-get-location): Honor
5920 `org-outline-path-complete-in-steps'.
5921 (org-agenda-change-all-lines, org-tags-sparse-tree)
5922 (org-time-string-to-absolute, org-small-year-to-year)
5923 (org-link-escape): Re-apply changes accidentially overwritten
5924 by last commit to Emacs.
5926 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5928 * org-clock.el (org-dblock-write:clocktable): Make sure the
5929 clocktable sees the first line.
5930 (org-clock-in): Warn if the clock cannot be resumed.
5932 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5934 * org.el (org-open-at-point): Fix mixup about interactive and
5935 non-interactive elisp links.
5937 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5939 * org-exp.el (org-export-preprocess-string): Allow one comment
5940 line before the first headline to always be included. This is
5941 to not miss a commented target.
5943 * org-mouse.el (org-mouse-insert-item): Call
5944 `org-indent-to-column' instead of `indent-to', for XEmacs
5947 * org.el (org-refile-targets): Fix customize definition so
5948 that it works also in XEmacs.
5949 (org-fixup-indentation): Call `org-indent-to-column' instead
5950 of `indent-to', for XEmacs compatibility.
5952 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5954 * org-mew.el (org-mew-store-link): Get the correct case folder
5955 for refiled messages.
5957 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5959 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5960 line break indicators.
5962 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5963 ido-completion propts.
5965 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5967 * org-remember.el (org-remember-apply-template): Use
5968 `org-substring-no-properties'.
5970 * org-compat.el (org-substring-no-properties): New function.
5972 * org-remember.el (org-remember-apply-template): Use
5973 `org-substring-no-properties' for compatibility.
5975 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5977 (org-fix-bullet-type): respect
5978 `org-list-two-spaces-after-bullet-regexp'.
5980 * org-clock.el (org-clock-load): Clean up the code.
5982 * org.el (org-adaptive-fill-function): Allow two spaces after
5983 "1." as a list bullet.
5985 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5987 * org-clock.el (org-clock-save, org-clock-load): Check for
5988 live buffers, existing files, and buffer file names to ensure
5989 consistent information.
5990 (org-clock-persist): Make `clock' a special value of this
5991 variable, and improve docstring.
5993 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5994 (org-get-string-indentation): Adapt indentation when the bullet
5997 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5999 * org-remember.el (org-remember-finalize): Make interactive.
6000 (org-remember-kill): New command.
6001 (org-remember-finish-immediately): Call `org-remember-finalize'
6003 (org-remember-finalize): Make `org-remember-finalize' an interactive
6006 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6008 * org-remember.el (org-remember-apply-template): No ido completion
6009 for free prompts in remember templates.
6010 (org-remember-before-finalize-hook): New hook.
6011 (org-remember-mode): New minor mode.
6012 (org-remember-apply-template): Turn on `org-remember-mode'.
6014 * org-remember.el (org-remember-apply-template): Fix the way how
6015 the list of allowed properties is retrieved from the target file.
6017 * org.el (org-insert-link): Improve file link matching.
6019 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6021 * org-colview.el (org-columns-display-here): New argument
6022 DATELINE, to trigger using the new face.
6023 (org-agenda-colview-summarize): Call `org-columns-display-here'
6024 with the new argument.
6026 * org-faces.el (org-agenda-column-dateline): New face.
6028 * org-publish.el (org-publish-org-index): Use index-title at page
6029 title, not as section.
6031 * org-exp.el (org-export-html-format-desc): Respect the
6032 org-protect property.
6033 (org-export-as-html): Protect image specifiers that are in the
6034 description part of a link.
6036 * org.el (org-sort-entries-or-items, org-completing-read)
6037 (org-refile-get-location, org-olpath-completing-read, org-todo)
6038 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6039 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6040 (org-set-property, org-delete-property)
6041 (org-delete-property-globally): Use `org-ido-completing-read'.
6043 * org-remember.el (org-remember-apply-template): Use
6044 `org-ido-completing-read'.
6046 * org-publish.el (org-publish): Use `org-ido-completing-read'.
6048 * org-colview.el (org-columns-edit-value, org-columns-new)
6049 (org-insert-columns-dblock): Use `org-ido-completing-read'.
6051 * org-colview-xemacs.el (org-columns-edit-value)
6052 (org-columns-new, org-insert-columns-dblock): Use
6053 `org-ido-completing-read'.
6055 * org-attach.el (org-attach-delete-one, org-attach-open): Use
6056 `org-ido-completing-read'.
6058 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6059 `org-ido-completing-read'.
6061 * org.el (org-time-today): New function.
6062 (org-matcher-time): Use `org-time-today'. Add special treatment
6063 for "<tomorrow>" and "<yesterday>".
6064 (org-ido-completing-read): New function.
6065 (org-completion-use-ido): New option.
6067 * org-exp.el (org-export-format-source-code): Fix bug in require
6069 (org-export-target-internal-links): Fix bug in search for text
6072 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6074 * org-export-latex.el (org-export-latex-subcontent): Interprete
6075 target aliases as additonal labels.
6077 * org-exp.el (org-export-target-aliases): New variable.
6078 (org-export-preprocess-string)
6079 (org-export-handle-invisible-targets): Fill the alias alist.
6080 (org-export-as-html): Remove the from the anchor, and also
6082 (org-html-level-start): Insert the target aliases as additonal
6085 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6088 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6090 * org.el (org-open-at-mouse): Ensure correct link abbreviations
6091 when following a link with the mouse from the agenda.
6093 * org-exp.el (org-export-as-html): Avoid lone </div> when no
6094 headlines are created.
6096 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6098 * org.el (org-link-translation-function): New option.
6099 (org-open-at-point): Call `org-link-translation-function' if
6101 (org-translate-link): New function.
6102 (org-translate-link-from-planner): New function.
6103 (org-open-at-point): Allow interactive commands in elisp links.
6105 * org-exp.el (org-icalendar-cleanup-string): Restore the old
6106 iCalendar quoting. The new one seems to caus problems with
6109 * org.el (org-yank): Set `this-command' to `yank', so that
6110 `yank-pop' will work.
6112 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6114 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6115 compliance as far as quoting is concerned.
6117 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6118 hexified version of the tag.
6120 * org-vm.el (org-vm-follow-link): Require `vm-search'.
6122 * org.el (org-up-heading-safe, org-forward-same-level): Always
6123 call `org-back-to-heading' instead of `outline-back-to-heading'.
6124 (org-back-to-heading): New wrapper around outline-back-to-heading,
6125 with a useful error message telling where the error happened.
6127 * org-list.el (org-update-checkbox-count): Always call
6128 `org-back-to-heading' instead of `outline-back-to-heading'.
6130 * org-exp.el (org-export-as-html): Make sure that each <img> tag
6131 has an `alt' attribute, to ensure XHTML validation.
6133 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6135 * org-publish.el (org-publish-attachment): Allow publishing to
6136 overwrite attachment files.
6138 * org-agenda.el (org-agenda-timerange-leaders): New option.
6139 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6141 * org.el (org-edit-src-exit): Untabify ASCII image before
6144 2008-11-19 Glenn Morris <rgm@gnu.org>
6146 * org.el, org-mouse.el (org-agenda-change-all-lines):
6149 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
6151 * org.el ("speedbar"): Only show context if the file really is an
6154 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
6156 * org.el (org-time-string-to-absolute, org-small-year-to-year)
6157 (org-tags-sparse-tree): Fix typos in docstrings.
6159 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
6161 * org-publish.el (org-publish-attachment): Allow copy-file to
6164 2008-11-13 Glenn Morris <rgm@gnu.org>
6166 * org-agenda.el (org-get-closed): Fix alias.
6168 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
6170 * org.el (org-link-escape): Fix typo in docstring.
6172 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6174 * org.el (org-yank): Make any prefix force normal yanking.
6175 Suppress folding if text would be swallowed into a folded
6177 (org-yank-folded-subtrees, org-yank): Docstring updates.
6179 * org-agenda.el (org-agenda-compare-effort): Treat no effort
6182 * org-exp.el (org-export-language-setup): Add Catalan and
6183 Esperanto language entries.
6185 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6187 * org.el (org-refile): Allow refiling of entire regions.
6189 * org-clock.el (org-clock-time%): New function.
6191 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6192 retrieve property values.
6194 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6196 * org-agenda.el (org-agenda-list): Handle the value `only' of
6197 org-agenda-show-log'.
6198 (org-agenda-log-mode): Interpret a double prefix arg.
6200 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6202 * org-exp.el (org-export-html-footnotes-section): New variable.
6203 (org-export-as-html): Use `org-export-html-footnotes-section' to
6204 insert the footnotes.
6205 (org-export-language-setup): Add "Footnotes" to language words.
6207 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6209 * org.el (org-yank): Fix bug when not inserting a subtree.
6211 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6213 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6214 instead of `vm-beginning-of-message'.
6216 * org.el (org-make-link-regexps): Make sure that links to gnus can
6219 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6221 * org-attach.el (org-attach-dir): Remove duplicate ID creation
6224 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6227 * org.el (org-link-abbrev-alist): Improve customization type.
6229 * org-attach.el (org-attach-expand-link, org-attach-expand): New
6232 * org-agenda.el (org-agenda-get-progress): Rename from
6233 `org-get-closed'. Implement searching for state changes as well.
6234 (org-agenda-log-mode-items): New option.
6235 (org-agenda-log-mode): New option prefix argument, interpreted as
6236 request to show all possible progress info.
6237 (org-agenda-get-day-entries): Call `org-get-progress' instead of
6239 (org-agenda-set-mode-name): Handle the more complex log mode
6241 (org-get-closed): New alias, pointing to `org-get-progress'.
6243 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6245 * org.el (org-file-apps-defaults-gnu)
6246 (org-file-apps-defaults-macosx)
6247 (org-file-apps-defaults-windowsnt): Add an entry defining the
6249 (org-file-apps): Allow `system' as key and value.
6250 (org-open-at-point): Explain the effect of a double prefix arg.
6251 (org-open-file): If the argument `in-emacs' is (16),
6252 i.e. corresponding to a double prefix argument, try to open the
6255 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6257 * org.el (org-insert-link): Abbreviate absolute files names in
6258 links. Also, fix a bug in which the double C-u prefix would not
6261 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6263 * org.el (org-insert-heading): If buffer does not end with a
6264 newline, add one if necessary to insert headline correctly.
6266 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6267 paragraphs, not inside.
6269 * org.el (org-todo): Quote
6270 `org-agenda-headline-snapshot-before-repeat'.
6272 * org-exp.el (org-export-as-html): Fully process link descriptions.
6273 (org-export-html-format-desc): New function.
6274 (org-export-as-html): Collect footnotes into the correct basket.
6275 (org-html-protect): No longer protect quotations marks here, this
6278 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6281 * org-compat.el (org-fit-window-to-buffer): New function (not
6282 really, a preliminary and incomplete version was present earlier,
6285 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6286 `org-fit-window-to-buffer'.
6288 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6290 * org-agenda.el (org-agenda-get-restriction-and-command)
6291 (org-fit-agenda-window, org-agenda-convert-date): Use
6292 `org-fit-window-to-buffer'.
6294 * org-exp.el (org-export-as-html): Process href links through
6295 `org-export-html-format-href'.
6296 (org-export-html-format-href): New function.
6298 * org-agenda.el (org-agenda-todo): Update only the current
6299 headline if this is a repeated TODO, marked done for today.
6300 (org-agenda-change-all-lines): New argument JUST-THIS, to change
6301 only the current line.
6303 * org.el (org-todo): Take a snapshot of the headline if the
6304 repeater might change it.
6306 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6308 * org-publish.el (org-publish-find-title): Remove buffers visited
6309 only for extracting the title.
6311 * org-exp.el (org-export-html-style)
6312 (org-export-html-style-default): Mark style definitions as
6315 * org-publish.el (org-publish-validate-link): Function
6318 2008-11-12 Charles Sebold <csebold@gmail.com>
6320 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6322 (org-plot-quote-timestamp-field): New function.
6323 (org-plot-quote-tsv-field): Call timestamp field function when
6324 necessary rather than just quoting as a string.
6325 (org-plot/gnuplot-to-data): Pass in timefmt property.
6326 (org-plot/gnuplot-script): Supports timefmt property.
6327 (org-plot/gnuplot): Checks for timestamp column before checking
6328 for text index column.
6330 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6332 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6334 * org-publish.el (org-publish-org-index): Create a section in the
6336 (org-publish-org-index): Stop linking to directories.
6338 * org.el (org-emphasis-alist): Use span instead of <u> to
6341 * org-exp.el (org-export-as-html): Make sure <p> is closed before
6344 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
6346 * org-jsinfo.el (org-infojs-template): Remove language attribute
6349 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6351 * org-agenda.el (org-agenda-remove-marked-text): New function.
6352 (org-agenda-mark-filtered-text)
6353 (org-agenda-unmark-filtered-text): New functions.
6354 (org-write-agenda): Remove fltered text.
6356 * org.el (org-make-tags-matcher): Give access to TODO "property"
6357 without speed penalty.
6359 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6361 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6363 (org-store-link-props): Make sure adding to the plist works
6366 * org-gnus.el (org-gnus-no-new-news): New function.
6367 (org-gnus-follow-link): Allow the article ID to be a message-id,
6368 in addition to allowing article numbers. Message IDs make much
6370 (org-gnus-store-link): Use message-id to create link.
6372 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6374 * org.el (org-emphasize): Reverse the selection array.
6375 (org-emphasis-alist): Set <code> tags for the verbatim
6378 * org-remember.el (org-remember-handler): Fix bug with
6379 prefix-related changing of the note storage target.
6381 * org-exp.el (org-print-icalendar-entries): Make the exported
6382 priorities compatible with RFC 2445.
6384 * org-clock.el (org-clock-save): Insert time stamp without
6385 dependence on time-stamp.el.
6387 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6389 * org.el ("saveplace"): If saveplace puts point into an invisible
6390 location, make it visible.
6391 (org-make-tags-matcher): Allow inactive time stamps in time
6393 (org-yank-adjusted-subtrees): New option.
6394 (org-yank): Incorporate adjusting trees.
6395 (org-paste-subtree): New argument FOR-YANK which will cause
6396 insertion at point without backing up over white lines, and leave
6397 point at the end of the inserted text. Also if the cursor is
6398 at the beginning of a headline, use the same level or the inserted
6401 * org-publish.el (org-publish-get-base-files-1): Deal correctly
6402 with broken symlinks.
6404 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6406 * org-exp.el (org-export-select-tags, org-get-current-options):
6409 2008-11-06 Glenn Morris <rgm@gnu.org>
6411 * org-publish.el (org-publish-attachment): Use copy-file rather than
6414 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
6416 * org.el (org-columns-modify-value-for-display-function):
6417 * org-table.el (org-table-convert-region): Fix typos in docstrings.
6419 2008-10-28 Glenn Morris <rgm@gnu.org>
6421 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
6423 * org-list.el (outline-next-heading, outline-back-to-heading):
6426 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6428 * org-agenda.el (org-format-agenda-item)
6429 (org-agenda-filter-make-matcher): Make sure tags are stored and
6432 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6434 * org.el (org-insert-todo-heading): Fix bug with force-heading
6437 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6439 * org-exp.el (org-export-as-ascii): Handle the case that we are
6440 bulishing from an indirect buffer.
6442 * org-table.el (org-table-copy-down): Fix bug with time stamp
6445 * org-mouse.el (org-mouse-features): New option.
6446 (org-mode-hook): Turn on features depending on
6447 `org-mouse-features'.
6449 * org.el (org-insert-heading-respect-content): Force heading
6451 (org-insert-heading): keep the folding state of the heading before
6454 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6456 * org-archive.el (org-archive-to-archive-sibling): Handle top
6457 level headlines better.
6459 2008-10-26 Bastien Guerry <bzg@altern.org>
6461 * org-export-latex.el (org-export-latex-classes): Add
6462 \usepackage{graphicx} to the default list of packages.
6464 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6466 * org-agenda.el (org-agenda-filter): Rename from
6467 `org-agenda-filter-tags'.
6469 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6471 * org.el (org-entry-properties): Add CATEGORY property, iven if it
6472 is not defined as a property in this entry.
6473 (org-add-log-note): Mask prefix argument when immediately storing
6476 * org-agenda.el (org-agenda-filter-effort-default-operator): New
6479 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
6481 * org.el (org-add-log-setup): Bugfix; code to find insertion point
6482 after drawers was skipping ahead one line too many, so notes were
6483 inserted after the first note instead of before it.
6485 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6487 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6489 (org-prepare-agenda): Reset the filter tags.
6490 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6491 Show filter tags in mode line.
6493 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6496 * org-export-latex.el (org-latex-entities-regexp): New constant.
6497 (org-export-as-pdf): Use two calls to `shell-command'.
6499 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6501 * org-export-latex.el (org-export-latex-treat-sub-super-char):
6502 Honor the {} value of the subsuperscript setting. Make sure that
6503 longer subsuperscripts are typeset in a roman font.
6505 * org.el (org-clock-update-time-maybe): Compute negative clock
6506 intervals correctly.
6508 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6510 * org.el (org-add-log-setup): Respect
6511 `org-log-state-notes-insert-after-drawers'.
6512 (org-log-state-notes-insert-after-drawers): New option.
6513 (org-todo-trigger-tag-changes): New function.
6514 (org-todo): Call `org-todo-trigger-tag-changes'.
6516 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
6518 * org.el (org-add-log-setup): Only skip drawers if the are
6519 immediately after the scheduling keywords.
6521 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6523 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6524 call it with the current todo state to get the state to switch to
6526 (org-clock-in): Use org-indent-line-function to indent clock lines.
6527 (org-clock-find-position): Fix indentation of empty clock drawers.
6529 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6531 * org-publish.el (org-publish-org-to): Handle case when
6532 org-export-to-pdf does return a file name, not a buffer.
6533 (org-publish-org-to-pdf): New function.
6535 * org-export-latex.el (org-export-as-pdf)
6536 (org-export-as-pdf-and-open): New commands.
6538 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6541 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6542 things in protexted regions.
6544 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6546 * org-export-latex.el (org-export-latex-preprocess): Improve
6547 quoting of LaTeX environments.
6549 2008-10-19 Eli Zaretskii <eliz@gnu.org>
6551 * org.el (org-default-notes-file):
6552 * org-publish.el (org-publish-timestamp-directory):
6553 * org-id.el (org-id-locations-file): Run file names that begin
6554 with a period thru `convert-standard-filename'.
6556 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6558 * org-plot.el: Switch coding system to unix.
6560 2008-10-12 John Wiegley <johnw@newartisans.com>
6562 * org-attach.el: New file.
6564 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
6566 * org.el (org-edit-fixed-width-region): Exclude final newline from
6569 * org-export-latex.el (org-export-latex-subcontent): Add labels to
6570 sections, to make internal links work.
6571 (org-export-latex-fontify-headline): Do not remove all text
6572 properties, to make sure that target properties survive this
6575 * org-exp.el (org-export-preprocess-string): Change sequence of
6576 modifications, to make sure links are prepared before the LaTeX
6577 conversions do happen.
6579 * org-attach.el (org-attach-delete-all): Rename from
6580 `org-attch-delete'. Add a security query before deleting the
6581 entire directory. New optional argument FORCE can overrule the
6583 (org-attach-delete-one): New command.
6585 * org-attach.el (org-attach-file-list): Fix bug with directory.
6587 * org.el (org-apps-regexp-alist): New function.
6588 (org-file-apps): Add auto-mode to the default value.
6589 (org-open-file): Use the new structure of org-file-apps.
6591 * org-attach.el (org-attach): Support the new keys.
6592 (org-attach-method): New option.
6594 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6597 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6598 of the list value o `org-use-tag-inheritance'.
6600 * org-attach.el (org-attach-auto-tag): New option.
6601 (org-attach-tag, org-attach-untag): New functions.
6602 (org-attach-attach, org-attach-new, org-attach-sync): Call
6604 (org-attach-delete): Call `org-attach-untag'.
6606 * org-table.el (orgtbl-self-insert-command): Make this work for
6609 * org.el (org-add-log-setup): Limit searc for drawers to entry
6610 text, not to subtree.
6612 * org-clock.el (org-clock-heading-for-remember): New variable.
6613 (org-clock-in): Set `org-clock-heading-for-remember'.
6615 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
6617 * org-remember.el (org-remember-apply-template): Add new
6618 expansions: %k, %K for currently clocked task and a link to the
6619 currently clocked task, and %< to file notes in the currently
6622 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6624 * org-export-latex.el (org-export-latex-make-header): Also insert
6625 the content of the property :latex-header-extra.
6627 * org-exp.el (org-infile-export-plist): Put the content of
6628 #+LATEX_HEADER: into the property :latex-header-extra.
6630 * org-colview.el (org-columns-get-format-and-top-level): Remove
6631 resetting the marker.
6633 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6634 Remove resetting the marker.
6636 * org.el (org-entry-property-inherited-from): Improve docstring.
6637 (org-entry-get-with-inheritance): Reset marker before starting the
6640 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6642 * org.el (org-entry-get-multivalued-property)
6643 (org-entry-protect-space, org-entry-restore-space): New
6645 (org-file-apps-defaults-macosx): Let postscript files be opened by
6647 (org-time-stamp-inactive): Call `org-time-stamp'.
6648 (org-time-stamp): New argument `inactive'. Also edit inacive
6649 stamps. Convert time stamp type.
6650 (org-open-file): Interpret the `default' value for the `command'
6653 * org-id.el (org-id-int-to-b36-one-digit)
6654 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6655 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
6658 * org-id.el (org-id-reverse-string): New function.
6659 (org-id-new): Use `org-id-reverse-string' to make sure the
6660 beginning chars of the ID are mutating fast. This allows to use a
6661 directory structure to spread things better.
6662 (org-id-prefix): Change default to nil.
6664 * org-list.el (org-move-item-down, org-move-item-up): Remember and
6665 restore the column of the cursor position.
6667 * org-remember.el (org-remember-apply-template): Remove properties
6670 * org-wl.el (org-wl-open): Remove useless call to
6671 `wl-thread-open-all'.
6673 * org-remember.el (org-remember-handler): Fix bug with `bottom'
6676 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6677 `org-bbdb-anniversaries'.
6679 * org.el (org-get-next-sibling, org-forward-same-level): New
6680 functions, similar to the outline versions, but invisible headings
6683 2008-10-12 Bastien Guerry <bzg@altern.org>
6685 * org.el (org-auto-repeat-maybe): Insert a space between
6686 the timestamp's type and the timestamp itself.
6688 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6690 * org-table.el (org-table-sum): Do not format the result with %g,
6691 it does rounding when there are too many digits.
6693 * org.el (org-map-entries): Protect the keyword-selecting variables.
6695 2008-10-12 Bastien Guerry <bzg@altern.org>
6697 * org-agenda.el (org-agenda-to-appt): Make sure the function check
6698 against all agenda files.
6700 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6701 Bastien Guerry <bzg@altern.org>
6703 * org-list.el: New file, aggregating list functions from org.el
6704 and org-export-latex.el.
6706 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6708 * org.el (org-edit-src-region-extra): New option.
6710 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6713 2008-10-12 Bastien Guerry <bzg@altern.org>
6715 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6717 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
6719 * org-plot.el (org-plot/gnuplot): Make tables starting with a
6720 hline work correctly.
6721 (org-plot/gnuplot-script): Put commas at the end of each script
6724 * org.el (org-get-refile-targets): Replace links with their
6726 (org-imenu-get-tree): Replace links with their descriptions.
6728 * org-remember.el (org-remember-apply-template): Add a new
6729 expansion for adding properties to remember items.
6731 * org.el (org-add-log-setup): Skip over drawers (properties,
6732 clocks etc) when adding notes.
6734 * org-agenda.el (org-agenda-get-closed): show durations of clocked
6735 items as well as the start and end times.
6737 * org-compat.el (org-get-x-clipboard-compat): Add a compat
6738 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6740 * org-remember.el (org-get-x-clipboard): Use the compat
6741 function to get clipboard values when x-selection-value is
6742 unavailable. Use substring-no-properties instead of
6743 set-text-properties to remove text properties from the clipboard
6746 * lisp/org-clock.el (org-update-mode-line): Support limiting the
6747 modeline clock string, and display the full todo value in the
6748 tooltip. Set a local keymap so mouse-3 on the clock string goes to
6749 the currently clocked task.
6750 (org-clock-string-limit): Add a custom value for the maximum
6751 length of the clock string in the modeline.
6752 (org-clock-mode-map): Add a keymap for the modeline string.
6754 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6756 * org-compat.el (org-propertize): New function.
6758 2008-10-12 Bastien Guerry <bzg@altern.org>
6760 * org-export-latex.el (org-export-latex-tables): protect exported
6761 tables from further special chars conversion.
6762 (org-export-latex-preprocess): Preserve LaTeX environments.
6763 (org-list-parse-list): Parse descriptive lists.
6764 (org-list-to-generic, org-list-to-latex, org-list-to-html)
6765 (org-list-to-texinfo): Export descriptive lists.
6766 (org-quote-chars): Remove.
6767 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6768 (org-export-latex-list-beginning-re): Rename to
6769 `org-list-beginning-re'
6770 (org-list-item-begin): Rename to `org-list-item-beginning'.
6772 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
6774 * org-plot.el: New file.
6776 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6778 * org.el (org-refile): Allow refiling to the last entry in the
6780 (org-get-tags-at): Fix bug when inheritance is turned off.
6782 * org.el (org-indent-line-function): No longer check for src
6783 regions, this is too much overhead.
6785 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6788 * org.el (org-scan-tags): Make sure that tags matching is not case
6789 sensitive. TODO keyword matching is case sensitive, however, to
6790 avoid confusion with similar words that are not meant to be
6793 * org.el (org-get-local-tags-at): New function.
6794 (org-get-local-tags): New function.
6796 * org-exp.el (org-export-get-categories): New function.
6798 * org-agenda.el (org-sorting-choice)
6799 (org-agenda-sorting-strategy, org-agenda-get-todos)
6800 (org-agenda-get-timestamps, org-agenda-get-deadlines)
6801 (org-agenda-get-scheduled, org-agenda-get-blocks)
6802 (org-entries-lessp): Implement sorting by TODO state.
6803 (org-cmp-todo-state): New defsubst.
6805 * org-colview.el (org-colview-construct-allowed-dates): New
6807 (org-columns-next-allowed-value): Use
6808 `org-colview-construct-allowed-dates'.
6810 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6812 (org-columns-next-allowed-value): Use
6813 `org-colview-construct-allowed-dates'.
6815 * org.el (org-protect-slash): New function.
6816 (org-get-refile-targets): Use `org-protect-slash'.
6818 * org-agenda.el (org-global-tags-completion-table): New variable.
6820 * org-exp.el (org-export-handle-export-tags): New function.
6821 (org-export-preprocess-string): Call
6822 `org-export-handle-export-tags'.
6824 * org-publish.el (org-publish-expand-components): Function removed.
6825 (org-publish-expand-projects): Allow components to have components.
6827 * org.el (org-indent-line-function): Do not indent in regions that
6828 are external source code.
6829 (org-yank-and-fold-if-subtree): New function.
6831 * org-agenda.el (org-agenda-todayp): New function.
6832 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6833 `org-agenda-todayp'.
6835 * org.el (org-insert-heading-respect-content)
6836 (org-insert-todo-heading-respect-content): New commands.
6837 (org-insert-heading-respect-content): New option.
6838 (org-insert-heading): Respect `org-insert-heading-respect-content'.
6840 * org-clock.el (org-clock-find-position): Make sure the note after
6841 the clock line gets moved into the new clock drawer.
6843 * org-id.el (org-id-new): New option.
6845 * org-table.el (org-table-copy-down): Avoid overflow during
6846 increment. Use prefix argument 0 to temporarily disable the
6849 * org-exp.el (org-export-as-html): Do not turn on the major mode
6850 if the buffer will be killed anyway.
6851 (org-get-current-options): Exclude the #+TEXT field.
6852 (org-export-as-html): Make sure text before the first headline is
6855 * org-publish.el (org-publish-org-to): Tell the exporter that this
6856 buffer will be killed, so it is not necessary to do major mode
6859 * org-archive.el (org-archive-to-archive-sibling): Show empty
6860 lines after folding the archive sibling.
6862 * org.el (org-log-note-extra): New variable.
6864 2008-10-12 Bastien Guerry <bzg@altern.org>
6866 * org.el (org-additional-option-like-keywords): Add keywords for
6867 the _QUOTE, _VERSE and _SRC environments.
6869 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6870 exporting _QUOTE and _VERSE environments.
6872 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6874 * org-agenda.el (org-agenda-filter-by-tag): New command.
6876 * org-exp.el (org-get-current-options): Remove angular brackets
6877 from the date entry.
6879 * org.el (org-edit-fixed-width-region): New function.
6880 (org-edit-fixed-width-region): Also try
6881 `org-edit-fixed-width-region'.
6882 (org-edit-fixed-width-region-mode): New option.
6883 (org-activate-code): Only interprete lines starting with colon
6884 plus a space as example lines.
6886 * org-remember.el (org-remember-templates): Add nil instead of
6887 empty strings to fix the length of remember templates.
6889 * org-table.el (org-calc-default-modes): Fix the time format for
6890 calc, from 12 hour to 24 hour clock.
6892 * org-agenda.el (org-agenda-get-deadlines)
6893 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6894 entries that are pre-warnings of deadlines or reminders.
6896 * org.el (org-sort-entries-or-items): Make numeric and alpha
6897 comparisons ignore any TODO keyword and priority cookie.
6899 * org-remember.el (org-remember-handler): Reinterpretation of the
6902 * org-agenda.el (org-agenda-get-scheduled): Use new
6903 `org-scheduled' face.
6905 * org-faces.el (org-scheduled): New face.
6907 * org-wl.el (org-wl-open): Remove incorrect declaration.
6909 * org-gnus.el (org-gnus-store-link): Support for :to information
6912 * org-exp.el (org-export-as-html): Fix typo in creator
6914 (org-export-protect-examples): New parameter indent. Insert extra
6915 spaces only when this parameter is specified.
6916 (org-export-preprocess-string): Call `org-export-protect-examples'
6917 with an indentation parameter when exporting to ASCII.
6919 * org-remember.el (org-remember-templates)
6920 (org-remember-apply-template): Allow the file component to be a
6923 * org.el (org-goto-local-search-headings): Rename from
6924 `org-goto-local-search-forward-headings'. Added the possibility
6925 to search backwards.
6927 * org-export-latex.el (org-export-latex): New customization
6930 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6932 * org-exp.el (org-html-do-expand): Allow {} to terminate
6935 * org.el (org-buffer-list): Select buffers based on major mode,
6938 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6941 * org-colview.el (org-columns-display-here): Use
6942 `org-columns-modify-value-for-display-function'.
6944 * org-colview-xemacs.el (org-columns-display-here): Use
6945 `org-columns-modify-value-for-display-function'.
6947 * org.el (org-columns-modify-value-for-display-function): New option.
6949 * org-publish.el (org-publish-file): Make sure the directory match
6950 for the publishing directory works correctly.
6952 * org-agenda.el (org-agenda-execute-calendar-command)
6953 (org-agenda-diary-entry): Additional optional argument.
6955 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6957 * org-exp.el (org-export-as-html): Add attributes also in mailto
6960 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6962 2008-08-11 Glenn Morris <rgm@gnu.org>
6964 * org-mac-message.el (do-applescript): Fix declaration.
6966 2008-08-10 Glenn Morris <rgm@gnu.org>
6968 * org-exp.el (org-export-as-html): Let-bind `i'.
6970 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
6971 (org-extract-attributes): Let-bind `key', `value'.
6972 (org-make-tags-matcher): Let-bind `time-p'.
6974 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
6976 * org-install.el: New file.
6978 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
6980 * org-exp.el (org-export-html-style)
6981 (org-export-html-style-extra): Declare as safe-local-variable.
6983 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
6985 * org-publish.el (org-publish-file): Use the true name of the
6988 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
6991 * org-exp.el (org-export-plist-vars)
6992 (org-export-add-options-to-plist): Handle creator setting flag.
6993 (org-export-as-html): Handle attributes also for ftp and mailto
6996 * org-agenda.el (org-agenda-diary-entry)
6997 (org-agenda-execute-calendar-command): Cater for the second
6998 argument of `calendar-cursor-to-date'.
7000 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
7002 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7003 sure that calls from `org-export-region-as-html' do not do the
7004 special check for a subtree.
7006 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7008 * org.el (org-open-file): Use
7009 `org-open-directory-means-index-dot-org'.
7010 (org-open-directory-means-index-dot-org): New option.
7012 * org.el (org-make-link-string): Remove link attributes from
7014 (org-open-at-point): Remove link attributes before using the path.
7016 * org-exp.el (org-export-as-html): Handle link attributes.
7018 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7020 * org-table.el (org-table-to-lisp): New function.
7022 * org.el (org-narrow-to-subtree): Do not include the final newline
7023 into the narrowed region.
7025 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
7026 bug with user-define skipping condition.
7028 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
7030 * org-exp.el (org-export-html-style-default): Automatic overflow
7031 handling for pre fields.
7032 (org-export-as-ascii, org-export-as-html): Change default format
7035 * org-table.el (org-table-export): Offer completion for translator
7036 functions, and do not require a heading above the table.
7038 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7039 Cater for the case of a list starting in the first line of the
7042 * org-publish.el (org-publish-find-title): Bug fix.
7043 (org-publish-org-index): Implement new :index-style option.
7045 * org-publish.el (org-publish-timestamp-filename): Use
7046 SHA1-encoded file names in the timestamp directory.
7048 * org-publish.el (org-publish-needed-p): Be verbose about files
7049 published and files skipped.
7051 * org-exp.el (org-export-preprocess-string): Swap link
7052 normalization and internal link targeting.
7054 * org-publish.el (org-publish-needed-p): Create timestamp
7055 directory when it does not exist.
7057 * org-clock.el (org-clock-out-when-done): Doc fix.
7059 * org.el (org-agenda-skip-unavailable-files): Doc fix.
7061 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7062 Ignore case when searching for the COMMENT cookie at export time.
7064 * org-exp.el (org-get-file-contents)
7065 (org-get-and-remove-property): New functions.
7066 (org-export-handle-include-files): Handle the new prefix options.
7067 (org-export-as-html): Fix the verse environment.
7069 * org.el (org-time=, org-time<, org-time<=, org-time>)
7070 (org-time>=, org-time<>, org-2ft): New functions.
7071 (org-op-to-function): Also provide for the time testing functions.
7073 * org-exp.el (org-export-html-style-default): New constant.
7075 * org-exp.el (org-export-html-style-extra): New variable.
7076 (org-export-splice-style): New function.
7078 * org-exp.el (org-export-plist-vars, org-export-as-html):
7079 Implement `org-export-creator-info'.
7080 (org-export-creator-info): New option.
7082 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7083 (org-property-drawer-re, org-clock-drawer-re): New constants.
7085 * org-exp.el (org-icalendar-use-deadline)
7086 (org-icalendar-use-scheduled): New options.
7087 (org-icalendar-include-todo): Default changed to t.
7088 (org-print-icalendar-entries): Implement better utilization of
7089 scheduling and deadline time stamps.
7090 (org-export-target-internal-links, org-export-as-html): Allow file
7091 lines without the "file:" prefix if the file path is an absolute
7092 path or starts with ".".
7094 * org-clock.el (org-clocktable-shift): Also understand yesterday,
7096 (org-clock-special-range): Also understand yesterday, lastweek etc.
7098 * org.el (org-agenda-skip-archived-trees): Docstring now
7099 discourages using this.
7100 (org-scan-tags): Check for org-agenda-archives-mode.
7101 (org-map-entries): Make sure org-agenda-archives-mode is nil.
7102 (org-agenda-files): Functionality of second arg changed.
7104 * org-agenda.el (org-agenda-archives-mode): New variable
7105 (org-write-agenda, org-prepare-agenda, org-agenda-list)
7106 (org-search-view, org-todo-list, org-tags-view)
7107 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7109 (org-agenda-quit): Reset the archives mode.
7110 (org-agenda-archives-mode): New command.
7111 (org-agenda-set-mode-name): Include archives info.
7113 * org.el (org-paste-subtree): Make sure the yanked headline is
7114 visible if it was yanked at a visible point.
7115 (org-move-item-up): Fix the bug with moving white space at the end
7117 (org-show-empty-lines-in-parent): New function.
7119 2008-07-19 Juri Linkov <juri@jurta.org>
7121 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7122 new keymap `narrow-map' instead of binding "\C-xns".
7124 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
7126 * org.el (org-agenda-skip-unavailable-files):
7127 * org-clock.el (org-clock-out-when-done): Doc fixes.
7129 2008-06-18 Glenn Morris <rgm@gnu.org>
7131 * org.el (org-map-entries): Let-bind `file'.
7133 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7135 * org-colview.el (org-columns-next-allowed-value): Bug fix.
7137 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7139 * org-agenda.el (org-agenda-get-closed): Get the end time into the
7140 agenda prefix as well.
7142 * org-publish.el (org-publish-org-index): Make a properly indented
7145 * org.el (org-calendar-agenda-action-key): New option.
7146 (org-get-cursor-date): New function.
7147 (org-mark-entry-for-agenda-action): New command.
7148 (org-overriding-default-time): New variable.
7149 (org-read-date): Respect `org-overriding-default-time'.
7151 * org-remember.el (org-remember-apply-template): Respect the
7152 overriding default time.
7154 * org-agenda.el (org-agenda-action-marker): New variable.
7155 (org-agenda-action): New command.
7156 (org-agenda-do-action): New function.
7158 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7160 * org.el (org-schedule, org-deadline): Protect scheduled and
7161 deadline tasks against changes that accidently remove the
7162 repeater. Also show a message with the new date when done.
7164 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7166 * org.el (org-beginning-of-line): Cater for the case when there
7167 are tags but no headline text.
7168 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7171 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7173 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7174 the return value is nil instead of "nil" when there is no match.
7176 * org-exp.el (org-insert-centered): Use fill-column instead of
7178 (org-export-as-ascii): Use string-width to measure the width of
7181 * org.el (org-diary-to-ical-string): No longer kill buffer
7182 FROMBUF, this is now done by the caller.
7184 * org-exp.el (org-print-icalendar-entries): Move the call to
7185 `org-diary-to-ical-string' out of the loop, and kill the buffer
7188 * org-remember.el (org-remember-visit-immediately): Position
7189 cursor after moving to the note.
7190 (org-remember-apply-template): Use a text property to record the
7192 (org-remember-handler): Align tags after pasting the note.
7194 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7196 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7198 * org-agenda.el (org-agenda-open-link): If there is an
7199 org-bbdb-name property in the current line, jump to that bbdb
7202 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7203 text property, so that the agenda knows where this entry comes
7206 * org-agenda.el (org-agenda-clock-in): Fix bug in the
7207 interaction between clocking-in from the agenda, and automatic
7208 task state switching.
7210 * org-macs.el (org-with-point-at): Bug fix in macro definition.
7212 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7213 zmacs-region stays after this command in XEmacs.
7215 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7217 * org.el (org-scan-tags): Allow new values for ACTION parameter.
7219 * org-remember.el (org-remember-templates): Fix bug in
7220 customization type definition.
7222 * org.el (org-map-entries): New function.
7224 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7226 * org-agenda.el (org-agenda-skip-comment-trees): New option.
7227 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7229 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7231 * org-remember.el (org-jump-to-target-location): New variable.
7232 (org-remember-apply-template): Set
7233 `org-remember-apply-template' if requested by template.
7234 (org-remember-handler): Start an idle timer to jump to
7237 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7239 * org.el (org-set-regexps-and-options): Fix bug with parsing of
7241 (org-get-tags-at): Add the content of `org-file-tags'.
7243 * org-exp.el (org-export-handle-comments): Fix bug with several
7244 comment lines after each other.
7245 (org-number-to-roman, org-number-to-counter): New functions.
7246 (org-export-section-number-format): New option.
7248 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7250 * org-exp.el (org-export-protect-examples): Catch the case of a
7251 missing end_example line.
7253 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7254 `org-file-tags' to nil.
7256 * org-colview.el (org-columns-next-allowed-value): Handle next
7257 argument NTH to directly select a value.
7259 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7260 argument NTH to directly select a value.
7262 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7264 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7266 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7268 * org.el (org-columns-ellipses): New option.
7270 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7272 * org-colview.el (org-columns-add-ellipses): New function.
7273 (org-columns-compact-links): New function.
7274 (org-columns-cleanup-item): Call `org-columns-compact-links'.
7275 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7277 (org-columns-edit-value): Fix bug with editing values from
7279 (org-columns-redo): Also redo the agenda itself.
7281 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7283 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7286 * org-colview.el (org-agenda-columns-cleanup-item): New function.
7288 * org-exp.el (org-export-ascii-preprocess): Rename from
7289 `org-export-ascii-clean-string'.
7290 (org-export-kill-licensed-text)
7291 (org-export-define-heading-targets)
7292 (org-export-handle-invisible-targets)
7293 (org-export-target-internal-links)
7294 (org-export-remove-or-extract-drawers)
7295 (org-export-remove-archived-trees)
7296 (org-export-protect-quoted-subtrees)
7297 (org-export-protect-verbatim, org-export-protect-examples)
7298 (org-export-select-backend-specific-text)
7299 (org-export-mark-blockquote-and-verse)
7300 (org-export-remove-comment-blocks-and-subtrees)
7301 (org-export-handle-comments, org-export-mark-radio-links)
7302 (org-export-remove-special-table-lines)
7303 (org-export-normalize-links)
7304 (org-export-concatenate-multiline-links)
7305 (org-export-concatenate-multiline-emphasis): New functions,
7306 obtained from spliting the export preprocessor.
7308 * org-table.el (org-table-recalculate): Improve error message if
7309 the row number is invalid.
7311 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7313 * org-archive.el (org-archive-save-context-info): Fix bugs in
7314 customization setup and docstring.
7316 * org-exp.el (org-export-html-style): Change the size of in the
7317 <pre> element to 90%.
7319 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7321 * org.el (org-find-src-example-start): Function removed.
7322 (org-edit-src-find-region-and-lang): New function.
7324 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7326 * org.el (org-edit-src-exit): New function.
7327 (org-exit-edit-mode): New minor mode.
7329 * org-exp.el (org-export-preprocess-string): Fix bug with removing
7330 comment-like lines from protected examples.
7332 * org.el (org-edit-src-example, org-find-src-example-start)
7333 (org-protect-source-example, org-edit-special): New functions.
7335 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7337 * org-publish.el (org-publish-project-alist): Fix typo in
7339 (org-publish-project-alist): Handle :index-title property.
7341 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7343 * org-export-latex.el (org-export-as-latex): Make sure region
7344 bounds are correct. Parse subtree properties relating to export.
7346 * org-exp.el (org-export-add-options-to-plist): New function.
7347 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7349 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7351 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7354 * org-exp.el (org-export-get-title-from-subtree)
7355 (org-export-as-ascii, org-export-as-html): Make sure the original
7356 region-beginning and region-end are used, even after moving point.
7357 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7360 * org-remember.el (org-remember-last-stored-marker): New variable.
7361 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7362 (org-remember-handler): Also use marker to remember
7363 last-stored position.
7365 * org.el (org-goto-marker-or-bmk): New function.
7367 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7369 * org.el (org-file-properties): Rename from `org-local-properties'.
7370 (org-scan-tags): Take file tags into account.
7371 (org-tags-match-list-sublevels): Default changed to t.
7373 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
7375 * org.el (org-update-parent-todo-statistics): New function.
7377 * org-exp.el (org-icalendar-store-UID): New option.
7378 (org-icalendar-force-UID): Option removed.
7379 (org-print-icalendar-entries): IMplement UIDs.
7381 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7383 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7385 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7387 * org-faces.el (org-column): Document how this face is being used
7388 and why sometimes the background faces shine through.
7390 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7392 * org-publish.el (org-publish-attachment): Create publishing
7393 directory if it does not yet exist.
7395 * org-table.el (org-calc-default-modes): Change default number
7396 format to (float 8).
7398 * org.el (org-olpath-completing-read): New function.
7399 (org-time-clocksum-format): New option.
7400 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7402 * org-clock.el (org-clock-display, org-clock-out)
7403 (org-update-mode-line): Use `org-time-clocksum-format'.
7405 * org-colview-xemacs.el (org-columns-number-to-string): Use
7406 `org-time-clocksum-format'.
7408 * org-colview.el (org-columns-number-to-string): Use
7409 `org-time-clocksum-format'.
7411 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7413 * org-id.el: New file, move from contrib to core.
7415 * org-exp.el (org-icalendar-force-UID): New option.
7417 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7419 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7420 shifted by one day if there is a date range without an end time.
7422 * org.el (org-try-structure-completion): New function.
7424 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7426 * org.el (org-set-font-lock-defaults): Improve fontification of
7428 (org-insert-item): Handle description lists.
7429 (org-adaptive-fill-function): Improve auto indentation in
7432 * org-exp.el (org-export-as-html, org-export-preprocess-string):
7433 Implement VERSE environment.
7434 (org-export-preprocess-string): Implement the COMMENT
7437 * org-export-latex.el (org-export-latex-preprocess): Implement
7440 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7442 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7445 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7447 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7449 * org.el (org-quote-csv-field): New functions.
7451 * org-table.el (org-table-export-default-format): Remove :splice
7452 from default format, we get the same effect by not specifying
7454 (org-table-export): Improve setup, distinguish better between
7455 interactive and non-interactive use, allow specifying the format
7456 on the fly, better protection against wrong file names.
7457 (orgtbl-to-generic): Fix documentation. Do not require :tstart
7458 and :tend when :splice is omitted.
7460 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7462 * org-clock.el (org-clock-select-task): Make sure the selection
7463 letters are 1-9 and A-Z, no special characters.
7465 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7467 * org-exp.el (org-export-htmlize): New group.
7468 (org-export-htmlize-output-type)
7469 (org-export-htmlize-css-font-prefix): New options.
7470 (org-export-htmlize-region-for-paste): New function.
7471 (org-export-htmlize-generate-css): New command.
7473 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7475 * org.el (org-set-visibility-according-to-property): New function.
7476 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7477 and compute the regular expressions, and update font-lock.
7478 (org-property-re): Allow a dash in property names.
7480 * org-archive.el (org-extract-archive-file): Insert the file name
7481 without the path into the format, to allow the location format to
7482 contain a subdirectory.
7484 * org-agenda.el (org-agenda-post-command-hook): If point is at end
7485 of buffer, and the `org-agenda-type' property undefined, use the
7486 value from the character before.
7488 * org.el (org-add-planning-info): Don't let indentation for
7489 would-be timestamp become extra whitespace at the end of headline.
7491 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7493 * org.el (org-remove-double-quotes, org-file-contents): New
7496 * org-exp.el (org-infile-export-plist): Also parse the
7497 contents of #+SETUPFILE files, recursively.
7499 * org.el (org-set-regexps-and-options): Also parse the
7500 contents of #+SETUPFILE files, recursively.
7502 * org-exp.el (org-export-handle-include-files): New function.
7503 (org-export-preprocess-string): Call
7504 `org-export-handle-include-files'.
7506 * org.el (org-delete-property-globally)
7507 (org-delete-property, org-set-property): Ignore case during
7509 (org-set-property): Use `org-completing-read' instead of
7512 * org.el (org-complete-expand-structure-template): New,
7513 experimental function.
7514 (org-structure-template-alist): New, experimental option.
7515 (org-complete): Call `org-complete-expand-structure-template'.
7517 2008-06-17 Bastien Guerry <bzg@altern.org>
7519 * org-export-latex.el (org-export-latex-preprocess):
7520 Add support for blockquotes.
7522 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7524 * org.el (org-read-date-analyze): Catch the case where only a
7527 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7529 * org.el (org-set-font-lock-defaults): Make the description
7532 * org-exp.el (org-export-as-html, org-close-li): Implement
7535 2008-06-17 Jason Riedy <jason@acm.org>
7537 * org-table.el (*orgtbl-default-fmt*): New variable.
7538 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7539 when there is no other fmt available.
7541 (orgtbl-to-generic): Allow an explicitly nil :tstart or
7542 :tend to suppress the appropriate string.
7544 (orgtbl-to-orgtbl): New function for translating to another orgtbl
7547 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7549 * org.el (org-read-date-analyze): "." as an alias for "+0" in
7552 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7555 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7558 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7560 * org-clock.el (org-clock-find-position): Don't include notes
7563 * org-archive.el (org-archive-subtree): No longer remove an
7564 extra line after cutting the subtree. `org-cut-subtree' already
7567 * org-remember.el (org-remember-handler): Only kill the target
7568 buffer if it does not contain the running clock.
7570 * org.el (org-markers-to-move): New variable.
7571 (org-save-markers-in-region, org-check-and-save-marker)
7572 (org-reinstall-markers-in-region): New function.
7573 (org-move-subtree-down, org-copy-subtree): Remember relative
7574 marker positions before cutting.
7575 (org-move-subtree-down, org-paste-subtree): Restore relative
7576 marker positions after pasting.
7578 * org-remember.el (org-remember-clock-out-on-exit): New option.
7579 (org-remember-finalize): Clock out only if the setting in
7580 `org-remember-clock-out-on-exit' requires it.
7581 (org-remember-handler): Do the cleanup in the buffer, to make sure
7582 that the clock marker remains in tact.
7584 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7586 * org-clock.el (org-clock-goto): Widen buffer if necessary.
7587 (org-clock-in): Make sure that also tasks outside the narrowed
7588 region will be clocked in correctly.
7589 (org-clock-insert-selection-line): Widen the buffer so that we can
7590 find the correct task heading.
7592 * org.el (org-base-buffer): New function.
7594 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7595 and ";" are escaped.
7596 (org-print-icalendar-entries): Also apply
7597 `org-icalendar-cleanup-string' to the headline, not only to the
7600 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7602 * org-exp.el (org-export-preprocess-hook): New hook.
7603 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
7605 * org.el (org-font-lock-hook): New variable.
7606 (org-font-lock-hook): New function.
7607 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7611 ;; add-log-time-zone-rule: t
7614 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
7616 This file is part of GNU Emacs.
7618 GNU Emacs is free software: you can redistribute it and/or modify
7619 it under the terms of the GNU General Public License as published by
7620 the Free Software Foundation, either version 3 of the License, or
7621 (at your option) any later version.
7623 GNU Emacs is distributed in the hope that it will be useful,
7624 but WITHOUT ANY WARRANTY; without even the implied warranty of
7625 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7626 GNU General Public License for more details.
7628 You should have received a copy of the GNU General Public License
7629 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7631 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c