1 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
3 * Version 23.2 released.
5 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7 * org-table.el (orgtbl-setup):
8 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
10 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12 * org-table.el (orgtbl-mode): Use define-minor-mode.
14 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
16 * org.el (org-insert-link): Find the link buffer on visible frames.
17 (org-export-latex-default-packages-alist): Hyperref must be loaded
19 (org-open-file): More care with the new matching for file links.
21 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
23 * org-latex.el (org-export-latex-preprocess): Do not yet protect
24 defined entities - these will be taken care of later.
25 (org-export-latex-special-chars): Post-process entity replacement.
26 (org-export-latex-fontify-headline): Do not yet protect defined
27 entities - these will be taken care of later.
28 (org-export-latex-tables, org-export-latex-links): Format the
31 * org-entities.el (org-entities-user): Fix typo.
33 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords
35 * org-entities.el (org-entities-user): Improve docstring.
37 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
39 * org-entities.el (org-macs): Require org-macs, to be sure that we
40 have `declare-function' defined.
42 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
44 * org-latex.el (org-export-latex-classes): Update docstring.
46 * org.el (org-format-latex-header): Add cookies to the header.
47 (org-splice-latex-header): Implement placement according to cookies.
49 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
51 * org-publish.el (org-publish-aux-preprocess): Control case
54 2010-04-10 Bastien Guerry <bzg@altern.org>
56 * org.el (org-splice-latex-header): Fix typo.
58 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
60 * org-latex.el (org-export-latex-make-header):
61 Use `org-splice-latex-header' to build the header.
62 (org-export-latex-classes): Update docstring.
64 * org.el (org-splice-latex-header): New function.
65 (org-create-formula-image): Use `org-splice-latex-header' to build
68 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
70 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
72 * org.el (org-export-latex-packages-alist)
73 (org-export-latex-default-packages-alist): Fix docstring to
74 reflect the expected structure.
76 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
77 (org-export-docbook-finalize-table): Make use of label for tables.
79 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
81 * org-attach.el (org-attach-commit): Split on newlines.
83 * org.el (org-export-latex-default-packages-alist): Use list
84 instead of cons for the entries.
86 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
88 * org-entities.el (org-entity-get-representation): Catch the case
89 that there is not entry in the list.
91 * org-mobile.el (org-mobile-use-encryption)
92 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
94 (org-mobile-check-setup): CHeck the encryption setup.
95 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
96 (org-mobile-create-sumo-agenda): Use encryption code.
97 (org-mobile-encrypt-and-move): New function.
98 (org-mobile-encrypt-file, org-mobile-decrypt-file): New
100 (org-mobile-move-capture): Decrypt the capture file.
102 * org.el (org-entities): Require the new file.
103 (org-export-latex-default-packages-alist): New variable.
104 (org-complete): Use new entity code for completion.
105 (org-create-formula-image): Use the new packages variable.
107 * org-latex.el (org-export-latex-classes): Remove the standard
108 packages from the class headers.
109 (org-export-latex-make-header): Use the new package variable.
110 (org-export-latex-special-chars): Better regexp for entities, to
111 support entity name that contain numbers.
112 (org-export-latex-treat-backslash-char): Use the new entity code.
114 * org-html.el (org-html-do-expand): Use the new entity code.
116 * org-exp.el (org-export): Add the new export commands.
117 (org-html-entities): Constant removed.
118 (org-export-visible): Add the new export commands.
120 * org-docbook.el (org-docbook-do-expand): Use new entity code.
122 * org-ascii.el (org-export-ascii-entities): New variable.
123 (org-export-as-latin1, org-export-as-latin1-to-buffer)
124 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
125 (org-export-as-encoding): New function.
126 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
127 (org-ascii-replace-entities): New function.
129 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
130 Ulf Stegemann <ulf@zeitform.de>
132 * org-entities.el: New file.
134 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
136 * org-html.el (org-html-level-start): Catch the case that target
139 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
141 * org.el (org-appearance): Change Customize group variable name
142 from org-font-lock to org-appearance, and change tag from "Org
143 Font Lock" to "Org Appearance"
144 (org-odd-levels-only): Change Customize group variable name
145 (org-level-color-stars-only): Change Customize group variable name
146 (org-hide-leading-stars): Change Customize group variable name
147 (org-hidden-keywords): Change Customize group variable name
148 (org-fontify-done-headline): Change Customize group variable name
149 (org-fontify-emphasized-text): Change Customize group variable name
150 (org-fontify-whole-heading-line): Change Customize group variable name
151 (org-highlight-latex-fragments-and-specials): Change Customize
153 (org-hide-emphasis-markers): Change Customize group variable name
154 (org-emphasis-alist): Change Customize group variable name
155 (org-emphasis-regexp-components): Change Customize group variable
157 (org-modules): Remove mention of org-R
159 * org-faces.el (org-faces): Change Customize group variable name
161 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
163 * org-agenda.el (org-diary-last-run-time): New variable.
164 (org-diary): prepare agenda buffers only if last call was some
167 * org-html.el (org-export-html-preprocess): Replace \ref macros
169 (org-format-org-table-html): Add the label as an anchor.
171 * org-docbook.el (org-export-docbook-format-image): Do some
172 formatting on captions.
174 * org-latex.el (org-export-latex-tables, org-export-latex-links):
175 Do some formatting on captions.
177 * org-html.el (org-export-html-format-image)
178 (org-format-org-table-html): Do some formatting on captions.
180 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
182 * org.el (org-hidden-keywords): New customizable variable. This is
183 a list of symbols specifying which of the special keywords #+DATE,
184 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
185 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
186 implementing new faces and hiding behaviour.
188 * org-faces.el (org-document-title): New face for #+TITLE lines
189 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines
190 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL keywords
192 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
194 * org-publish.el (org-publish-sanitize-plist): New function to
195 rename "index" properties to "sitemap". Do this renaming
197 (org-publish-with-aux-preprocess-maybe): New macro.
198 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
200 (org-publish-aux-preprocess)
201 (org-publish-index-generate-theindex.inc): New function.
203 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
205 * org-table.el (org-table-align): Interpret <N> at fixed width,
206 not as maximum width.
208 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
210 * org-exp.el (org-export-author-info, org-export-email-info): Fix
213 * org-beamer.el (org-beamer-select-environment): Renamed from
214 `org-beamer-set-environment-tag'. Improve docstring.
216 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
217 problem with odd levels.
219 * org-ascii.el (org-export-as-ascii): Export email only if the
222 * org-docbook.el (org-export-as-docbook): Export email only if the
225 * org-html.el (org-export-as-html): Export email only if the
228 * org-exp.el (org-export-email-info): New option.
229 (org-export-plist-vars): Add entry for `org-export-email'.
231 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
233 * org-table.el (org-table-goto-line): Fix typo.
235 2010-04-10 Mikael Fornius <mfo@abc.se>
237 * org.el (org-agenda-files): Typo.
238 (org-read-agenda-file-list): Add optional argument to help
239 `org-store-new-agenda-file-list' to remember un-expanded file
240 names. Expand file names relative to `org-directory'.
241 (org-store-new-agenda-file-list): Keep un-expanded file names when
242 saving, if available.
243 (org-agenda-files): Update documentation.
245 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
247 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
248 a buffer with no file name attached.
250 * org.el (org-log-refile): New option.
251 (org-log-note-headings): Add a heading for refiling.
252 (org-startup-options): Add keywords for logging of the refile
254 (org-refile): Add logging action.
255 (org-add-log-note): Allow for refiling action.
257 * org-agenda.el (org-agenda-bulk-action): Make sure
258 `org-log-refile' is not `note' during a bulk action.
260 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
262 * org.el (org-map-dblocks): Use save-excursion to remember the
265 * org-attach.el (org-attach-commit): Remove dependence on xargs.
266 (org-attach-delete-one): Commit after deleting a file.
268 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
269 borders for strike-through emphasis.
271 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
272 handling of odd levels.
274 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
276 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
277 Handle `past' and `future' values.
279 * org.el (org-read-agenda-file-list): Interpret file names
280 relative to org-directory and allow environment variables and
283 * org-latex.el (org-export-latex-special-chars): Allow a
284 parenthesis before an exponent or subscript.
286 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
288 * org-src.el (org-edit-src-exit): When returning from code edit
289 buffer, if code block is hidden, leave point at start of
292 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
294 * org.el (org-insert-heading): Do not remove all spaces if the
297 * org-indent.el (org-indent): Fix group name.
299 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
301 * org-table.el (org-table-goto-column): Fix forcing a non-existing
303 (org-table-get, org-table-put, org-table-goto-line)
304 (org-table-current-line): New functions.
306 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
308 * org.el (org-open-file): Allow regular expressions in
309 org-file-apps to capture link parameters using groups. In a
310 command string to be executed, the parameters can be referenced
311 using %1, %2, etc. Lisp forms can access them using
312 (match-string n link).
313 (org-apps-regexp-alist): Adopt the created regexp, as this is now
314 matched against a file: link instead of the file name.
316 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
318 * org-crypt.el (org-reveal-start-hook): Add a decryption function
320 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
323 * org.el (org-point-at-end-of-empty-headline)
324 (org-level-increment, org-get-previous-line-level): New function.
325 (org-cycle-level): Rewritten to be independent of when this
327 (org-in-regexps-block-p): New function.
328 (org-reveal-start-hook): New hook.
329 (org-reveal): Run new hook.
331 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
333 * org-latex.el (org-export-latex-keywords): Start a new paragraph
334 after time keywords, do not add "\newline".
336 * org-html.el (org-export-as-html): Avoid double # in href.
338 * org.el (org-refile-get-location): Catch an invalid target
341 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
343 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
344 Make sure the behavior regarding to extracting time is
347 2010-04-10 Stephen Eglen <stephen@gnu.org>
349 * org-agenda.el (org-agenda-insert-diary-extract-time): New
351 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
352 variable rather than `org-agenda-search-headline-for-time'.
354 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
356 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
358 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
360 * org.el (org-adaptive-fill-regexp-backup): New variable.
361 (org-set-autofill-regexps): Store a backup of
362 `adaptive-fill-regexp'.
363 (org-adaptive-fill-function): Fix filling of comments and ordered
364 lists. If there is no other match, till try adaptive fill.
366 2010-04-10 John Wiegley <jwiegley@gmail.com>
368 * org-agenda.el (org-agenda-include-deadlines): Added new
369 customization variable to determine whether unscheduled tasks
370 should appear in the agenda solely because of their deadline.
371 Default to true, which was the previous behavior (it just wasn't
373 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
374 the agenda to show/hide deadline tasks.
375 (org-agenda-menu): Added menu option for show/hide deadlines.
376 (org-agenda-list): Make the agenda list sensitive to the value of
377 `org-agenda-include-deadlines'.
378 (org-agenda-toggle-deadlines): New function to toggle the value of
379 `org-agenda-include-deadlines' and repaint the modeline
381 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
382 modeline if deadline tasks are being displayed.
384 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
386 * org-table.el (org-table-eval-formula): Replace $# and @# by
387 current column and row number.
389 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
391 * org.el (org-set-property, org-delete-property): Go back to
392 prompting for the property.
394 * org-latex.el (org-export-latex-make-header): Fully process
396 (org-export-latex-fontify-headline): Allow several arguments, not
398 (org-export-latex-fix-inputenc): Catch the error when
399 `latexenc-coding-system-to-inputenc' is not defined.
401 * org-agenda.el (org-agenda-skip-if-todo): New function.
402 (org-agenda-skip-if): Add conditions for TODO keywords.
403 (org-agenda-skip-if): Document the new todo conditions.
405 2010-04-10 Mikael Fornius <mfo@abc.se>
407 * org.el (org-at-property-p): Check if we are inside a property
408 drawer not just any drawer.
409 (org-set-property, org-delete-property): When cursor is on a
410 property key value pair do not prompt for property name instead
412 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
413 on the first line of a property drawer.
414 (org-property-end-re): Spell check.
416 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
418 * org-exp.el (org-export-attach-captions-and-attributes): Add the
419 properties to the entire table, in case the first line is
422 * org-archive.el (org-archive-reversed-order): New option.
423 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
424 option `org-archive-reversed-order'.
426 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
428 * org-agenda.el (org-agenda-entry-types): New variable.
429 (org-agenda-list): Use `org-agenda-entry-types'.
430 (org-agenda-custom-commands-local-options): Support for setting
431 `org-agenda-entry-types' as an option.
432 (org-diary): Shift some documentation from here to the variable
433 `org-agenda-entry-types'.
435 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
437 * org-latex.el (org-export-latex-make-header): Apply macros in
440 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
441 (org-clock-select-task, org-clock-notify-once-if-expired)
442 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
443 (org-clock-out-if-current, org-clock-save): Use the new functions.
445 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
447 * org-docbook.el (org-export-as-docbook): Remove unnecessary
449 (org-export-as-docbook): Remove unnecessary newline.
450 (org-export-as-docbook): Fix problem with double footnote
451 reference in one place.
453 * org-exp.el (org-export-format-source-code-or-example): Remove
456 * org.el (org-deadline, org-schedule): Allow rescheduling entries
459 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
460 function calls that look like references.
462 * org.el (org-open-at-point): Get link abbreviations from
465 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
467 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
470 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
472 * org.el (org-link-unescape): Solve issue with lower-case escapes.
474 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
476 * org-latex.el (org-export-latex-classes): Add
477 \usepackage{latexsym} to all classes.
479 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
481 * org-html.el (org-export-as-html): Do not allow protected lines
482 into the table of contents.
484 * org-latex.el (org-export-latex-special-chars): Find subsequent
485 occurrences of special characters.
486 (org-export-latex-tables): Do not convert table-like stuff that is
489 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
491 * org-list.el (org-toggle-checkbox): No errors when updating
492 checkbox count fails because there is no heading.
494 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
496 * org-clock.el (org-clock-report-include-clocking-task): New
498 (org-clock-sum): Add the current clocking task.
500 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
502 * org.el (org-cycle): Print a message when in a table.el table.
503 (org-edit-special): Recognize the table.el context.
504 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
506 * org-src.el (org-at-table.el-p): Declare.
507 (org-edit-src-code): Handle a special case for table.el editing.
508 (org-edit-src-find-region-and-lang): Recognize the table.el
511 * org-latex.el (org-export-latex-tables): Convert table.el
513 (org-export-latex-convert-table.el-table): New function.
515 * org-html.el (org-html-expand): Fix table.el export.
517 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
520 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
521 table for the id locations.
523 * org.el (org-read-date-analyze): Match American-style dates, like
524 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
525 current year when reading ISO and American dates.
527 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
529 * org.el (org-face-from-face-or-color): New function.
530 (org-get-todo-face, org-font-lock-add-priority-faces)
531 (org-get-tag-face): Use `org-face-from-face-or-color'.
533 * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
534 simple colors as values.
535 (org-faces-easy-properties): New option.
537 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
538 restricted, as an agenda mode.
539 (org-agenda-fontify-priorities): Allow simple colors as values.
541 2010-04-10 Bastien Guerry <bzg@altern.org>
543 * org-timer.el (org-timer-current-timer): Renamed from
544 `org-timer-last-timer'.
545 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
546 (org-timer-cancel-timer, org-timer-show-remaining-time)
547 (org-timer-set-timer): Update to use only one timer.
549 * org.el (org-set-property): Remove useless space in the prompt.
551 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
553 * org-html.el (org-export-html-style-default): Add a default style
556 * org-exp.el (org-export-format-source-code-or-example): Fix
559 2010-04-10 Bastien Guerry <bzg@altern.org>
561 * org-clock.el (org-clock-current-task): New variable to store
562 last clocked in task.
563 (org-clock-set-current, org-clock-delete-current): New functions.
565 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
567 * org-remember.el (org-remember-apply-template): Extend comment.
568 (org-remember-handler): Implement clock sibling filing.
570 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
572 * org-publish.el (org-publish-all, org-publish-current-file)
573 (org-publish-current-project): When called with prefix argument
574 FORCE, also rebuild the validation file list.
576 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
579 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
581 * org-html.el (org-export-as-html-and-open): Kill product buffer
582 if the user wants that.
584 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
585 if the user wants that.
587 * org-exp.el (org-export-kill-product-buffer-when-displayed): New
590 * org-agenda.el (org-batch-agenda-csv): Use the time property
591 instead of the `time-of-day' property.
593 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
595 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
596 (org-timer-pause-hook, org-timer-set-hook)
597 (org-timer-cancel-hook): New hooks.
598 (org-timer-start): Run `org-timer-start-hook'.
599 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
600 (org-timer-stop): Run `org-timer-stop-hook'.
601 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
603 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
605 * org.el (org-reveal): Double prefix arg shows the subtree of the
608 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
610 * org-agenda.el (org-search-view): Fix bug with searching full
611 words in headlines in search view.
612 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
613 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
614 scheduled (if the user configures it so.
616 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
618 * org.el (org-hide-archived-subtrees): Don't jump to end of
619 subtree if the match was not in a headline.
620 (org-inside-latex-macro-p): Allow more complex arguments.
621 (org-emphasize): Protect against use at end of buffer.
623 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
625 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
628 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
630 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
632 (org-agenda-todo-ignore-scheduled)
633 (org-agenda-todo-ignore-deadlines): More control with different
635 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
636 Honor the new option settings.
638 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
640 * org.el (org-get-location): Make sure the selection buffer is
641 shown in the current frame.
643 * org-ascii.el (org-export-ascii-table-widen-columns): New
645 (org-export-ascii-preprocess): Realign tables to remove narrowing
646 if `org-export-ascii-table-widen-columns' is set.
648 * org-table.el (org-table-do-narrow): New variable.
649 (org-table-align): Narrow only if `org-table-do-narrow' is t.
651 * org.el (org-deadline, org-schedule): Allow updating if the
652 relevant time stamp does not have a repeater, i.e. do not require
653 that no time stamp has a repeater.
655 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
656 new white space before the tags.
658 * org-latex.el (org-export-as-latex): Do nit require the buffer to
659 be visiting a file when only exporting to a buffer or string.
660 (org-export-latex-fix-inputenc): Only save the buffer is there is
661 a file name attached to it.
663 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
665 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
667 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
669 * org.el (org-fontify-meta-lines-and-blocks): Honor
670 `org-fontify-quote-and-verse-blocks'.
672 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
674 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
676 * org.el (org-open-at-point): Also check for text property
677 org-linked-text before offering collected links.
679 2010-04-10 Stephen Eglen <stephen@gnu.org>
681 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
682 Optionally extract time specification from text and add to the
685 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
687 * org-exp.el (org-html-entities): Fix typo.
689 * org-latex.el (org-export-latex-make-header): Use \providecommand
690 to make sure the \alert macro is defined.
692 * org.el (org-format-latex-signal-error)
693 (org-create-formula-image): Use `org-format-latex-signal-error'.
695 2010-04-10 Stephen Eglen <stephen@gnu.org>
697 * org.el (org-store-link): For dired buffers, use
698 default-directory as link name if dired-get-filename returns
701 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
703 * org-exp.el (org-export-concatenate-multiline-links): The for
704 protectedness at beginning of match.
706 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
707 AUTO as a coding system, instead default to utf8.
709 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
711 * org.el (org-block-todo-from-children-or-siblings-or-parent)
712 (org-block-todo-from-checkboxes): Respect the local variable
713 value when deciding if blocking should be active.
715 * org-latex.el (org-export-latex-make-header): Define the align
716 macro if it is not yet defined.
718 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
719 `org-insert-heading' with the INVISIBLE-OK argument.
721 * org-mac-message.el (org-mac-message-insert-flagged): Call
722 `org-insert-heading' with the INVISIBLE-OK argument.
724 * org.el (org-insert-heading): New argument INVISIBLE-OK.
726 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
729 * org-html.el (org-html-level-start): Use the
730 `html-container-class' text property to set an additional class
731 for an outline container.
733 * org-exp.el (org-export-remember-html-container-classes): New
735 (org-export-preprocess-string): Call
736 `org-export-remember-html-container-classes'.
738 * org.el (org-cycle): Mention level cycling in the docstring.
739 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
741 * org-remember.el (org-remember-apply-template): Do file insertion
744 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
746 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
747 problem with mis-aligned graphs when showing habits.
749 2010-04-10 Mikael Fornius <mfo@abc.se>
751 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
752 when assigning. Begin using numerical characters when all in name
753 is used up. This is to spare alphanumeric characters for better
754 match with other keywords.
756 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
758 * org-exp.el (org-export-preprocess-hook): Improve documentation.
760 * org-latex.el (org-export-latex-preprocess): More consistent
761 conversion and protection of the words LaTeX and TeX.
762 (org-export-latex-fontify-headline, org-export-latex-preprocess):
763 Allow angle brackets in commands, for beamer.
765 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
767 * org-clock.el (org-clock-in): Improve the look of the clock line
770 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
772 * org-latex.el (org-export-latex-classes): Use AUTO as the place
773 holder string for the coding system. And improve the
775 (org-export-latex-fix-inputenc): Only modify the coding system if
776 it is given by the placeholder AUTO.
778 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
780 * org-clock.el (org-task-overrun-text): New option.
781 (org-task-overrun, org-clock-update-period): New variables.
782 (org-clock-get-clock-string, org-clock-update-mode-line): Mark
784 (org-clock-notify-once-if-expired): Check if clock is overrun.
786 * org-faces.el: New face `org-mode-line-clock-overrun'.
788 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
790 * org.el (org-narrow-to-subtree): Position the end of the narrowed
791 region before the line with the next heading, to prevent the user
792 from prepending text to the next headline.
794 2010-04-10 Stephen Eglen <stephen@gnu.org>
796 * org-agenda.el (org-get-time-of-day): Use
797 org-agenda-time-leading-zero to allow leading zero (rather than
800 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
802 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
803 org-datetree.el is loaded.
805 * org-datetree.el: autoload `org-datetree-find-day-create'
807 * org-latex.el (org-export-latex-hyperref-format): New option.
808 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
810 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
812 * org-ctags.el (org-ctags-enable): Change order of functions.
813 (org-ctags-create-tags): Add wildcard to file name expansion.
815 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
817 * org.el (org-entry-properties): Fix some important bugs.
819 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
821 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
822 the table is not explicitly given.
824 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
826 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
828 (org-clock-out-if-current): Work with the new list value of
829 `org-clock-out-when-done'.
830 (org-clock-out, org-clock-out-if-current): Avoid circular logic
831 between clocking out and state changes.
833 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
835 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
836 accident protect a character that is before a backslash.
838 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
840 * org-ctags.el: New file.
842 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
844 * org-agenda.el (org-diary-class): Use
845 `org-order-calendar-date-args'.
847 * org.el (org-order-calendar-date-args): New function.
849 * org-exp.el (org-export-target-internal-links): Check for
850 protectedness after the first bracket.
852 * org.el (org-entry-properties): Don't match wrong-case TODO
855 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
856 Document that ARG is passed through to remove the date.
857 (org-agenda-bulk-action): Accept prefix arg and pass it on. Do
858 not read a date when the user has given a `C-u' prefix.
860 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
862 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
865 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
867 * org-latex.el (org-export-latex-fix-inputenc): New function.
868 (org-export-latex-inputenc-alist): New option.
870 * org-exp.el (org-export): New key SPC to publish enclosing
873 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
875 * org-indent.el (org-indent-add-properties): Catch case when there
876 is no headline in the buffer.
878 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
880 * org-exp.el (org-html-entities): Add checkmark symbol.
882 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
883 verbatim code for ASCII export.
885 * org.el (org-update-statistics-cookies): Also see checkboxes in
888 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
890 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
893 * org-beamer.el (org-beamer-amend-header): Change the location
894 where `org-beamer-header-extra' is inserted.
896 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
897 just for computing this regexp.
899 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
901 * org-beamer.el (org-beamer-frame-default-options): New option.
902 (org-beamer-sectioning): Use default options if the user does not
904 (org-beamer-fix-toc): Put a frame around the table of contents.
906 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
907 sure case-folding works well when processing comment stuff.
909 * org-latex.el (org-export-latex-after-save-hook): New hook.
910 (org-export-as-latex): Run the new hook.
912 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
914 * org-beamer.el (org-beamer-environments-default): Add the note
916 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
917 lines and collect and combine the content.
918 (org-beamer-after-initial-vars): Check for note tags and make sure
919 they will be seen like a property.
921 * org.el (org-offer-links-in-entry): Fix bug when there is a
924 * org-exp.el (org-export): Make sure the mark is activated, also
925 when `transient-mark-mode' is off.
927 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
928 (org-agenda-search-view-search-words-only): Obsolete variable, is
929 now an alias for `org-agenda-search-view-always-boolean'.
930 (org-agenda-search-view-force-full-words): New option.
931 (org-search-view): Improve docstring, and implement a better logic
932 for Boolean and phrase searches.
933 (org-agenda-last-search-view-search-was-boolean): New variable.
934 (org-agenda-manipulate-query): Consider the type of the last
935 search when modifying the search string.
937 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
939 * org-latex.el (org-export-as-latex): Do the first letbind in the
942 * org-agenda.el (org-get-entries-from-diary): Add the new face to
945 * org-faces.el (org-agenda-diary): New face.
947 * org.el (org-make-link-regexps): Allow regexp-special characters
949 (org-open-file): When in-emacs is `system', also force system
950 opening, like when the value was `(16)'.
951 (org-update-statistics-cookies): Handle entries without children.
954 (org-export-preprocess-before-normalizing-links-hook): New hook.
955 (org-export-preprocess-string): Run the new hook.
957 * org.el (org-offer-links-in-entry): Make RET open all links.
959 * org-html.el (org-export-as-html): Remove any leftover display
960 properties in the html file.
962 * org-wl.el (org-wl-store-link): Work-around for format bug with
965 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
966 invisibility while adding the graphs.
968 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
970 * org-remember.el (org-select-remember-template): Use C letter to
971 customize remember templates.
973 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
974 Move cursor to next visible line.
976 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
978 * org-beamer.el (org-beamer-sectioning): Leave columns environment
979 by specifying 0 or 1 for column width.
980 (org-beamer-column-widths): Make 0 stand for 0.0.
982 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
984 * org-exp.el (org-export-mark-radio-links): Don't match inside
987 * org.el (org-format-latex-header-extra): New variable.
988 (org-format-latex): Set org-format-latex-header-extra from
990 (org-format-latex): Add org-format-latex-header-extra to the
991 variables on which image creation depends.
992 (org-create-formula-image): Add the header stuff from in-buffer
994 (org-read-date-analyze): Base the analysis for future preference
995 on NOW, not on the default date.
997 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
998 for TODO keyword in inline tasks.
1000 * org.el (org-log-note-headings): New headings for removing
1001 deadline or scheduling date.
1002 (org-deadline, org-schedule): Arrange for logging when removing a
1004 (org-add-log-note): Handle deadline and scheduling removal.
1006 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1008 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
1010 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1012 * org-agenda.el (org-diary-class): New function.
1014 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1016 * org-latex.el (org-export-latex-preprocess): Do process the text
1019 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1021 * org.el (org-entry-properties): Add TIMESTAMP properties back
1024 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1026 * org.el (org-all-time-keywords): New variable.
1027 (org-set-regexps-and-options): Set `org-all-time-keywords'.
1028 (org-entry-blocked-p): New function.
1029 (org-special-properties): Add BLOCKED as a new special property.
1030 (org-entry-properties): New optional argument SPECIFIC, only parse
1031 for this property when it is specified.
1032 (org-entry-get): Pass a SPECIFIC argument to
1033 `org-entry-properties'.
1035 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
1037 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1039 * org-latex.el (org-export-latex-tables): No forced line end if
1040 there is no caption.
1042 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1044 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
1047 * org-latex.el (org-export-latex-tables): Only add a caption when
1048 macro in in longtable environments if one has been defined.
1050 * org-html.el (org-export-as-html): Only take title from buffer if
1051 not exporting body-only.
1053 * org-latex.el (org-export-latex-preprocess): Better version of
1054 the regular expression for protecting LaTeX macros.
1055 (org-export-latex-preprocess): Start searching for macros to
1056 protect from beginning of buffer.
1058 * org-exp.el (org-export-target-internal-links): Check for
1059 protectedness earlier in the string.
1061 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
1064 * org-id.el (org-id-store-link): Match TODO keywords case
1067 * org.el (org-heading-components, org-get-outline-path)
1068 (org-display-outline-path): Match TODO keywords case sensitively.
1070 * org-latex.el (org-export-as-latex): Ignore read-only
1073 * org-exp.el (org-export-preprocess-string): Remove any
1074 `read-only' properties.
1076 * org-agenda.el (org-agenda-inactive-leader): New option.
1077 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
1078 (org-tags-view): Prompt for matcher if MATCH is an empty string.
1079 (org-todo-list): Prompt for matcher if ARG is an empty string.
1081 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1083 * org.el (org-open-link-functions): New hook.
1084 (org-open-at-point): Run `org-open-link-functions'.
1086 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1088 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
1091 * org.el (org-inhibit-startup-visibility-stuff): New variable.
1092 (org-mode): Don't do startup visibility if inhibited.
1093 (org-outline-overlay-data, org-set-outline-overlay-data): New
1095 (org-save-outline-visibility): New macro.
1096 (org-log-note-headings): Document that one should not change the
1097 `state' note format.
1099 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1101 * org.el (org-make-link-regexps): Capture link path into a group.
1103 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1105 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
1108 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1110 * org.el (org-startup-with-beamer-mode): New option.
1111 (org-property-changed-functions)
1112 (org-property-allowed-value-functions): New hooks.
1113 (org-entry-put, org-property-get-allowed-values): Run the new
1115 (org-property-next-allowed-value): Run the new hooks.
1117 * org-exp.el (org-export-select-backend-specific-text): Add the
1118 special beamer tags.
1120 * org-beamer.el: New file.
1122 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
1123 (org-export-as-latex): Run
1124 `org-export-latex-after-initial-vars-hook'.
1125 (org-export-latex-format-toc-function)
1126 (org-export-latex-make-header): Call
1127 `org-export-latex-format-toc-function'.
1129 * org.el (org-fill-template): Make template searches case sensitive.
1131 * org-exp.el (org-export): Use "1" as a sign to export only the
1134 * org-colview-xemacs.el (org-columns-edit-value): Use
1135 org-unrestricted property.
1137 * org-colview.el (org-columns-edit-value): Use
1138 org-unrestricted property.
1140 * org.el (org-compute-property-at-point): Set org-unrestricted
1141 text property if the list contains ":ETC".
1142 (org-insert-property-drawer): Use
1143 org-unrestricted property.
1146 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
1147 (org-export-preprocess-string): Run
1148 `org-export-preprocess-before-selecting-backend-code-hook'.
1150 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
1152 * org-latex.el (org-export-region-as-latex): Run
1153 `org-export-first-hook'.
1155 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
1157 * org-docbook.el (org-export-as-docbook): Run
1158 `org-export-first-hook'.
1160 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
1162 * org-exp.el (org-export-first-hook): New hook.
1164 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1166 * org-list.el (org-previous-item): Exit at the beginning of the
1169 * org-id.el (org-id-locations-save): Only write the id locations
1172 * org-archive.el (org-archive-all-done): Make this work in a file
1173 with org-odd-levels-only set.
1175 * org.el (org-get-refile-targets): Catch the case when a buffer
1178 * org-latex.el (org-export-as-latex): Cleanup forced line ends
1179 where they are not needed.
1180 (org-export-latex-subcontent): Remove unnecessary newlines.
1182 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1184 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
1185 (org-export-latex-fontify): Fix regexp bug that takes special
1186 care of protecting the right boundary characters in emphasis
1188 (org-export-latex-preprocess): Allow multiple arguments to latex
1191 * org.el (org-make-link-regexps): Use John Gruber's regexp for
1194 * org-macs.el (org-re): Interpret :punct: in regexps.
1196 * org-exp.el (org-export-replace-src-segments-and-examples): Also
1197 take the final newline after the END line.
1199 * org.el (org-clean-visibility-after-subtree-move): Only fix
1200 entries that are not entirely invisible already.
1201 (org-insert-link): Respect org-link-file-path-type for
1202 "docview:" links in addition to "file:" links.
1204 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1206 * org-exp.el (org-export-format-source-code-or-example): Avoid
1207 additional extra white lines in LaTeX.
1209 * org-list.el (org-list-parse-list): Leave empty lines after the
1210 list, don't consider them as part of the list.
1212 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
1215 * org-clock.el (org-clock-select-task): Convert integer to
1216 character for XEmacs.
1218 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1220 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
1223 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
1225 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
1227 (org-set-tags): Use it.
1229 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1231 * org-list.el (org-empty-line-terminates-plain-lists): Update
1234 * org.el (org-format-latex): Fix link creation for processed latex
1237 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1239 * org-footnote.el (org-footnote-normalize): Protect replacement
1242 * org.el (org-inside-latex-macro-p): Save match data.
1244 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
1246 * org-docview.el: New file.
1248 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1250 * org-latex.el (org-export-latex-class-options): New variable.
1251 (org-export-latex-set-initial-vars): Use the class options.
1253 * org.el (org-forward-same-level): Stop at headings that start
1254 with an invisible character.
1255 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
1257 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1259 * org-footnote.el (org-footnote-normalize): Don't take optional
1260 arguments in LaTeX macros as footnotes.
1262 * org.el (org-inside-latex-macro-p): New function.
1264 * org-latex.el (org-latex-to-pdf-process): Change customization
1265 group to `org-export-pdf'.
1267 * org-agenda.el (org-agenda-get-blocks): Look at time string also
1268 on days after the first one.
1270 * org.el (org-insert-heading): Also check for item before assuming
1271 before-first-heading condition.
1273 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1274 (org-export-pdf-logfiles): New option.
1275 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1276 (org-export-pdf-logfiles): Fix customization type.
1278 * org.el (org-insert-link): Improve error message when there is no
1279 default link to select with RET.
1281 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1284 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1286 * org-latex.el (org-export-latex-parse-global)
1287 (org-export-latex-parse-content)
1288 (org-export-latex-parse-subcontent): Use
1289 `org-re-search-forward-unprotected'.
1290 (org-export-as-pdf): Remove log files produced by XeTeX.
1292 * org-macs.el (org-re-search-forward-unprotected): New function.
1294 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
1296 * org-colview.el (org-agenda-colview-summarize): Sort out some
1297 confusion between properties and titles, which resulted in
1298 agenda summaries not working if a title was set for a column.
1300 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1302 * org-mobile.el (org-mobile-agendas): New option.
1303 (org-mobile-sumo-agenda-command): Select the right agendas.
1305 * org-latex.el (org-export-latex-format-image): Preserve the
1306 original-indentation property.
1308 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1310 * org-clock.el (org-clock-insert-selection-line): Catch error when
1311 an old tasks no longer exists.
1313 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1314 (org-export-as-pdf): Don't remove the old PDF file before making
1317 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1318 (org-mouse-context-menu): Use `org-looking-back'.
1320 * org.el (org-cycle-level): Use `org-looking-back'.
1322 * org-list.el (org-cycle-item-indentation): Use
1325 * org-compat.el (org-looking-back): New function.
1327 * org.el (org-insert-heading): Catch before-first-headline when
1328 inserting a headline.
1330 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1332 * org-latex.el (org-export-latex-format-image): Indent figure
1333 environment, so that it does not interrupt plain list.
1335 * org.el (org-open-at-point): Allow long link descriptions.
1337 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1339 * org-html.el (org-export-as-html): Remove empty lines at the
1340 beginning of the exported text.
1342 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
1344 * org.el (org): Remove from hypermedia group.
1346 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1350 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
1352 * org-freemind.el (org-freemind-from-org-mode-node)
1353 (org-freemind-from-org-mode, )
1354 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
1355 Pass arg to called-interactively-p.
1357 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1359 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
1360 Fix typos in docstrings.
1362 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
1364 * org.el (org-get-outline-path, org-speed-command-help):
1365 Fix typos in error messages.
1367 2009-12-14 Juri Linkov <juri@jurta.org>
1369 * org-html.el (org-export-html-style-include-default):
1370 Put `safe-local-variable booleanp' on
1371 `org-export-html-style-include-default' instead of mistakenly
1372 duplicate `org-export-html-style'.
1374 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
1376 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1377 agenda after adding new entry.
1379 * org-datetree.el (org-datetree-find-day-create): Fix regular
1382 * org.el (org-display-outline-path): Use a format specifier for
1383 message, to avoid problems with heading containing `%'.
1385 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1386 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1387 (org-agenda-fix-displayed-tags): New function.
1388 (org-agenda-do-context-action): Just call
1389 `org-display-outline-path', without piping the result through
1392 * org-latex.el (org-export-latex-preprocess): Protect secondary
1393 footnote references.
1395 * org-indent.el (org-indent-initialize): Avoid empty strings as
1398 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1399 hat checking for the mark does not throw an error.
1400 (org-agenda-diary-entry-in-org-file): Catch the case that there is
1401 not `day' text property in the cursor line.
1403 * org.el (org-sort-entries-or-items): Make sure that the final
1404 entry has a newline before doing the sorting.
1406 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1407 property at the beginning of the line.
1409 * org.el (org-make-link-string): Don't allow a description with
1412 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1413 (org-agenda-insert-diary-as-top-level): New function.
1414 (org-agenda-add-entry-to-org-agenda-diary-file): Call
1415 `org-agenda-insert-diary-as-top-level'.
1417 * org.el (org-occur-in-agenda-files): Make sure none of the
1418 buffers is narrowed.
1419 (org-activate-plain-links): Add the face property here.
1420 (org-set-font-lock-defaults): Do not add the face to plain links,
1421 the activator function does this.
1423 * org-habit.el (org-is-habit-p): Add doc string.
1425 * org-archive.el (org-archive-subtree-default-with-confirmation):
1428 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1429 after match optional (happens at the end of a line...).
1431 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1434 * org-faces.el (org-copy-face): Set lisp indentation.
1435 (org-quote, org-verse): New faces.
1437 * org-agenda.el (org-agenda-remove-date): Remove variable.
1439 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1441 * org-html.el (org-export-as-html): Move the home/up link into
1444 * org.el (org-export-latex-packages-alist): Option definition
1445 moved here from org-latex.el.
1447 * org-html.el (org-export-html-home/up-format): Add an ID to the
1450 * org-wl.el (org-wl-store-link): Handle the case that
1451 `wl-use-petname' is set.
1453 * org.el (org-set-effort): Improve prompt.
1454 (org-get-outline-path): Widen to get full path.
1455 (org-compact-display-after-subtree-move): Function removed.
1457 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
1459 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1460 hash keys to cache and re-use images generated by the
1461 org-exp-blocks interface to ditaa and dot.
1463 * org.el (org-format-latex): Latex images are now saved to files
1464 named by the sha1 hash of the latex source text avoiding
1465 regeneration of identical images.
1467 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1469 * org-latex.el (org-export-as-latex): Add the :drawers property.
1471 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1473 * org.el (org-speed-commands-user): Allow documentation headlines.
1474 (org-speed-commands-default): Organize the value of this constant
1475 with descriptive headlines.
1476 (org-print-speed-command): Output the headlines.
1478 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1480 * org-agenda.el (org-agenda-show-outline-path): New option.
1481 (org-agenda-do-context-action): New function.
1482 (org-agenda-next-line, org-agenda-previous-line): Use
1483 `org-agenda-do-context-action'.
1485 * org.el (org-use-speed-commands): Allow function value.
1486 (org-speed-commands-default): Make headline motion safe, so that
1487 these commands always end on a headline.
1488 (org-speed-commands-default): New key `v' for `org-agenda'.
1489 (org-speed-move-safe): New function.
1490 (org-self-insert-command): Use the function value of
1491 `org-use-speed-commands'.
1492 (org-get-outline-path): Improve docstring.
1493 (org-format-outline-path): New function.
1494 (org-display-outline-path): New function.
1496 2009-11-15 John Wiegley <jwiegley@gmail.com>
1498 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1499 a string, use that to find the LOGBOOK drawer.
1501 2009-11-15 Glenn Morris <rgm@gnu.org>
1503 * org-agenda.el (org-datetree-find-date-create)
1504 (org-habit-get-priority):
1505 * org.el (org-format-agenda-item): Fix declarations.
1507 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1509 * org.el (org-clone-subtree-with-time-shift): Make it work at the
1512 * org-mobile.el (org-mobile-write-checksums): Specify coding
1514 (org-mobile-timestamp-buffer): Keep local variable/mode line at
1515 beginning of buffer.
1517 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1519 * org.el (org-block-todo-from-children-or-siblings-or-parent)
1520 (org-block-todo-from-checkboxes): Do not block changes to a nil
1523 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1525 * org-habit.el (org-habit-parse-todo): Indicate which habit is
1526 wrongly set up in the error messages.
1528 * org-colview.el (org-columns-display-here): Don't try to
1529 calculate values if the underlying property is not set.
1530 (org-columns-string-to-number): Convert age strings back into
1532 (org-agenda-colview-summarize): Handle extended summary types
1535 * org-colview-xemacs.el (org-columns-display-here): Don't try to
1536 calculate values if the underlying property is not set.
1537 (org-columns-string-to-number): Convert age strings back into
1539 (org-agenda-colview-summarize): Handle extended summary types
1542 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1544 * org-exp.el (org-export-format-drawer-function): New variable.
1545 (org-export-format-drawer): New function.
1546 (org-export-preprocess-string): Pass the backend as a parameter to
1547 `org-export-remove-or-extract-drawers'.
1548 (org-export-remove-or-extract-drawers): New parameter BACKEND.
1550 * org-protocol.el (org-protocol-char-to-string): New defsubst.
1552 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1554 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1555 message when no block is selected.
1557 * org-latex.el (org-export-latex-links): Check for protectedness
1558 in the last matched character, not after the match.
1560 * org-datetree.el (org-datetree-find-date-create): Respect
1561 restriction when KEEP-RESTRICTION is set.
1562 (org-datetree-file-entry-under): New function.
1563 (org-datetree-cleanup): New command.
1565 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1567 * org-src.el (org-edit-src-code): New optional argument context
1568 allows calling functions to avoid altering the saved window
1570 (org-edit-src-exit): Do not restore window configuration when this
1571 function is used in the context of saving the edit buffer.
1573 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1575 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1576 instances to switching to with-current-buffer, because these seem
1577 to cause problems - no idea why.
1579 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1580 Require diary-lib for (diary-date-display-form).
1582 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1584 * org.el (org-log-reschedule, org-log-redeadline): New options.
1585 (org-log-note-headings): Add templates for rescheduling and
1587 (org-startup-options): Add in-buffer settings for logging changing
1588 schedule and deadline time stamps.
1589 (org-deadline, org-schedule): Check for existing date and arrange
1590 for logging if the user requests it.
1591 (org-add-log-note): Prepare proper note buffers for rescheduling
1592 and deadline changes.
1594 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1596 * org-agenda.el (org-agenda-diary-entry-in-org-file)
1597 (org-agenda-add-entry-to-org-agenda-diary-file)
1598 (org-agenda-insert-diary-make-new-entry): New functions.
1599 (org-agenda-diary-entry): Call
1600 `org-agenda-diary-entry-in-org-file' when appropriate.
1602 * org.el (org-calendar-insert-diary-entry-key): New option.
1603 (org-agenda-diary-file): New option.
1604 ("calendar"): Install our insertion function in the calendar.
1606 * org-remember.el (org-datetree): Require.
1607 (org-remember-templates): Add new positioning option.
1608 (org-remember-reference-date): New variable.
1609 (org-remember-apply-template): Store the reference date in a local
1611 (org-remember-handler): Implement date tree positioning of entries.
1613 * org-datetree.el: New file.
1615 * org-latex.el (org-export-latex-preprocess): Protect targets in
1618 * org-html.el (org-export-as-html): Protect targets in verbatim
1621 * org-docbook.el (org-export-as-docbook): Protect targets in
1624 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1626 * org-clock.el (org-show-notification): Handle messages that
1627 contain a percent character.
1629 * org-remember.el (org-remember-apply-template): Turn of partial
1632 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1633 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1635 * org.el (org-indent-mode): Define variable already in org.el.
1636 (org-unfontify-region): Remove line-prefix and wrap-prefix
1637 properties only if org-indent-mode is active.
1639 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1641 * org-icalendar.el (org-print-icalendar-entries): Save match data
1642 around call to verify function.
1643 (org-print-icalendar-entries): Add a call to the verification
1646 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1647 save-restrivtion' form.
1649 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1651 * org-exp.el (org-export-format-source-code-or-example): restrict
1652 scope of preserve-indentp to the let binding.
1653 (org-src): require org-src, since org-src-preserve-indentation is used.
1655 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1657 * org-timer.el (org-timer-set-timer): Set variables
1658 org-timer-timer[123] correctly.
1661 * org-mobile.el (org-mobile-files-alist): Make it work when
1662 `agenda-archives' is included in
1663 `org-agenda-text-search-extra-files'.
1664 (org-mobile-push): Restore agenda after mobile push.
1666 2009-11-13 John Wiegley <jwiegley@gmail.com>
1668 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1669 way the amount of idle time is presented in the minibuffer.
1671 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1673 * org-icalendar.el (org-print-icalendar-entries): Use
1674 org-icalendar-verify-function only if non-nil.
1676 * org.el (org-refile): Refile to clock only if the prefix arg is
1678 (org-sparse-tree): Fix docstring to be in line with prompt.
1679 (org-update-parent-todo-statistics): Call
1680 `org-after-todo-statistics-hook' on each level.
1682 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1684 * org-remember.el (org-remember-apply-template): Make sure the
1687 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1689 * org.el (org-tab-ind-state): New variable.
1690 (org-cycle-level): New function.
1691 (org-cycle-level-after-item/entry-creation): New option.
1692 (org-flag-subtree): New function.
1693 (org-hide-archived-subtrees): Call `org-flag-subtree'.
1694 (org-set-effort): Indexed access.
1696 * org-list.el (org-cycle-item-indentation): New function.
1698 * org.el (org-refile): Make prefix argument 2 refile to current
1700 (org-priority): Interpret action `remove' as call to remove the
1703 * org-remember.el (org-remember-apply-template): Don't depend on
1704 buffer name being like file name.
1706 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1708 * org-clock.el (org-clock-play-sound): Expand file in
1709 org-clock-sound, to allow ~ for home.
1711 * org-remember.el (org-remember-handler): Set
1712 text-before-node-creation even if this already looks like a node,
1713 because the string might be needed on non-org-mode target files.
1715 * org-agenda.el (org-agenda-open-link): Make this work in agenda
1717 (org-agenda-switch-to): Follow a link at point if
1718 org-return-follows-link' is set and there is nothing else to do in
1721 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1723 * org-colview-xemacs.el: Add in changes from org-colview.el
1725 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
1727 * org-exp-blocks.el: Modify split separator regexp to avoid empty
1730 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1732 * org-colview.el (org-columns-new): Make this work with the new
1734 (org-columns-store-format): Make this work with the new operators.
1736 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1738 * org-src.el (org-src-preserve-indentation): Document that this
1739 variable is also used during export.
1741 * org-exp.el (org-export-format-source-code-or-example): Preserve
1742 indentation if a block has a -i option, or if
1743 `org-src-preserve-indentation' is set.
1745 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1746 indentation if a block has a -i option, or if
1747 `org-src-preserve-indentation' is set.
1749 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1751 * org.el (org-mode-map): Define the new archiving keys.
1752 (org-speed-commands-default): Define an archiving key in the speed
1754 (org-org-menu): Improve the menu structure concerning archiving.
1756 * org-archive.el (org-archive-subtree-default-with-confirmation):
1759 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1760 (org-agenda-menu): Add the new archiving commands to the menu.
1761 (org-agenda-archive-default)
1762 (org-agenda-archive-default-with-confirmation): New commands.
1763 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1764 call `org-agenda-archive-with'.
1765 (org-agenda-archive-with): New function.
1767 * org-table.el (org-table-convert-region): Inert spaces around "|"
1768 to avoid line beginnings like "|-1" which will be mistaken as
1771 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1773 * org.el (org-offer-links-in-entry): Return nil if there are no
1774 links, t if a link has been selected.
1775 (org-open-at-point): Open attachment directory when called in the
1776 headline and there are no links in the entry body.
1777 (org-speed-commands-default): Add "o" for open-at-point as a speed
1780 * org-attach.el (org-attach-reveal): Optional prefix arg
1781 IF-EXISTS, which avoids creating the attachment directory if it
1784 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1787 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1789 * org.el ("abbrev"): Work with abbrev tables only after they have
1792 * org-list.el (org-list-send-list): Fix bug related to match
1795 * org-latex.el (org-export-latex-fontify): Apply verbatim
1797 (org-export-latex-make-header): Insert \obeylines if line breaks
1798 should be preserved.
1800 * org-exp.el (org-export-protect-verbatim): Add an
1801 `org-verbatim-emph' property to such text.
1803 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1805 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1806 (org-print-icalendar-entries): Skip entries where the timestamp is
1807 not a deadline and not scheduled, if the user requests that.
1809 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1810 before an opening quote.
1812 * org-archive.el (org-archive-subtree): Keep archive after
1813 archiving something.
1815 * org-id.el (org-id-update-id-locations): Add archive files if
1816 that is required by `org-id-extra-files'.
1818 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1820 * org-src.el (org-src-window-setup): New option.
1821 (org-src-switch-to-buffer): New function.
1822 (org-edit-src-exit): Add optional argument CONTEXT and use it to
1823 restore window configuration.
1824 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1825 Call `org-src-switch-to-buffer'.
1827 * org.el (org-default-properties): Add STYLE property.
1828 (org-files-list): Use the function call to get the files.
1829 (org-additional-option-like-keywords): Add SETUPFILE to completion
1832 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1834 * org-table.el (org-table-convert-region): Correctly interpret
1835 quoting in csv import.
1837 * org.el (org-icompleting-read): Make iswitchb completion work
1838 with lists and tables.
1840 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1841 while pushing the mobile agenda.
1843 2009-11-13 John Wiegley <jwiegley@gmail.com>
1846 (org-clock-auto-clock-resolution): Now takes three values: nil, t
1847 and `when-no-clock-is-running'.
1848 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1849 whether or not to resolve Org buffers on clock in.
1851 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1853 * org-colview.el (org-format-time-period): Function to format
1854 times in fractional days for display.
1855 (org-columns-display-here): Add support for showing a calculated
1856 value in place of the property.
1857 (org-columns): Set `org-columns-time' to the current time so time
1858 difference calculations will work.
1859 (org-columns-time): Use to store the current time when column view
1860 is displayed, so all time differences will use the same reference
1862 (org-columns-compile-map): There is now an extra position in each
1863 entry specifying the function to use to calculate the displayed
1864 value for the non-calculated properties in the column,
1865 (org-columns-compute-all): Set `org-columns-time' to the current
1866 time so time difference calculations will work.
1867 (org-columns-compute): Handle column operators where the values
1868 used are calculated from the underlying property.
1869 (org-columns-number-to-string): Handle the 'age' column format
1870 (org-columns-string-to-number): Correct the function name (was
1871 org-column...). Add support for the 'age' column format.
1872 (org-columns-compile-format): Support the additional parameter in
1873 org-columns-compile-map.
1875 2009-11-13 Bastien Guerry <bzg@altern.org>
1877 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1880 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1882 * org-clock.el (org-clock-has-been-used): New variable.
1883 (org-clock-in): Set `org-clock-has-been-used'.
1884 (org-clock-save): Save only if clock data has been used or created
1885 during this session.
1887 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1889 * org-clock.el (org-clock-persist): New value, to store only the
1891 (org-clock-save): Don't save the clock if only the history should
1893 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1894 when restoring a saved clock.
1896 2009-11-13 John Wiegley <jwiegley@gmail.com>
1898 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1899 `org-time-clock-use-fractional'.
1901 * org.el (org-time-clocksum-use-fractional)
1902 (org-time-clocksum-fractional-format): Two new customizable
1903 variables which allow the user to select fractional times (1.25
1904 instead of 1:25) in the `org-clock-display' report.
1906 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1908 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1911 * org.el (org-tag-alist): Fix customization type.
1913 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1915 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1916 Make sure the regexp search can fail without throwing an error.
1917 (org-mobile-apply): Save the inbox buffer after removing
1918 successfully applied changes.
1920 2009-11-13 John Wiegley <jwiegley@gmail.com>
1922 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1923 time is reported after the user comes back (but before they
1926 * org.el (org-get-repeat): Change so that this function can be
1927 called with either `org-scheduled-string' or
1928 `org-deadline-string'.
1930 * org-clock.el (org-clock-auto-clock-resolution): Renamed
1931 `org-clock-disable-clock-resolution', since negatives don't sound
1932 good in customization variables.
1933 (org-clock-in): Don't use the auto-resolution logic if the user is
1934 clocking into a different task while an active clock is running.
1935 This then allows the default behavior of clocking out of the open
1936 task and then into the new task.
1938 * org.el (org-modules): Made this variable more consistent, since
1939 it was referring to Org, OrgMode and Org-mode, whereas the docs
1940 for the variable always refer to Org-mode.
1942 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1944 * org.el (org-repeat-re): The changed org-repeat-re no longer
1945 matched simple +2d type repeaters. Fix it so it does.
1947 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1949 * org-latex.el (org-export-latex-preprocess): Protect the vspace
1950 macro in the VERSE environment.
1952 2009-11-13 John Wiegley <jwiegley@gmail.com>
1954 * org-habit.el (org-habit-get-priority): A new function that
1955 determines the relative priority of a habit, based on how long
1956 past its scheduled date it is, and how near the deadline is.
1958 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1959 using `org-habit-get-priority'.
1961 * org-habit.el (org-habit-build-graph): Start displaying colors
1962 from the first scheduled date, if that date is earlier than the
1963 first completion date.
1965 * org-habit.el: Changed all "color" variables to faces, and made
1966 them appropriate for light and dark backgrounds.
1968 * org-habit.el (org-habit-duration-to-days): Made this function
1970 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1972 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1973 habits, since they don't use DEADLINE anymore.
1975 * org.el (org-repeat-re, org-display-custom-time)
1976 (org-timestamp-change): Extended to support the new ".+N/N"
1977 syntax, used for habits.
1979 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1982 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1983 modeline when habits are being displayed (if that module is being
1986 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
1988 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1989 idle time using the xscreensaver extension.
1990 (org-user-idle-seconds): Use X11 idle time if available.
1992 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1994 * org-agenda.el (org-agenda-next-line): New command.
1995 (org-agenda-previous-line): New commands.
1996 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1998 (org-agenda-follow-mode): Do the follow immediately if the mode is
2000 (previous-line, next-line): Replace keys with the corresponding
2002 (org-agenda-mode-map): Bind backspace and delete to the scrolling
2005 * org.el (org-icompleting-read): Turn off partial completion mode
2006 for the duration of this completion round.
2008 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
2009 macros in author lines and similar stuff.
2011 * org.el (org-file-tags): Fix docstring.
2012 (org-get-buffer-tags): Add the #+FILETAGS tags.
2013 ("ecb"): Maks ecb show context after jumping into an Org file.
2015 2009-11-13 John Wiegley <johnw@newartisans.com>
2017 * org-agenda.el (org-finalize-agenda): Draw habit consistency
2018 graphs after everything else in the buffer has been setup.
2020 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2022 * org-mobile.el (org-mobile-apply): Count success and failure.
2024 * org.el (org-indent-line-function): Fix regexp replace problem.
2026 2009-11-13 John Wiegley <johnw@newartisans.com>
2028 * org-clock.el (org-clock-disable-clock-resolution): New
2029 customization variable that disable automatic clock resolution on
2031 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
2032 not automatically resolve anything. This is does not affect
2033 idle-time resolution, however, if `org-clock-idle-time' is set.
2035 2009-11-13 John Wiegley <johnw@newartisans.com>
2037 * org-habit.el: New file, which implements code to build a "habit
2040 * org-agenda.el (org-agenda-get-deadlines)
2041 (org-agenda-get-scheduled): Display consistency graphs when
2042 outputting habits into the agenda. The graphs are always relative
2043 to the current time.
2044 (org-format-agenda-item): Added new parameter `habitp', which
2045 indicates whether we are formatting a habit or not. Do not
2046 display "extra" leading information if habitp is true.
2048 * org.el (org-repeat-re): Improved regexp to include .+ and ++
2049 leaders for repeat strings.
2050 (org-get-repeat): Now takes a string parameter `tagline', so the
2051 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
2053 2009-11-13 John Wiegley <johnw@newartisans.com>
2055 * org-agenda.el (org-agenda-auto-exclude-function): New
2056 customization variable for allowing the user to create an "auto
2057 exclusion" filter for doing context-aware auto tag filtering.
2058 (org-agenda-filter-by-tag): Changes to support the use of
2059 `org-agenda-auto-exclude-function'. See the new manual addition,.
2061 2009-11-13 John Wiegley <johnw@newartisans.com>
2063 * org.el (org-files-list): Don't attempt to return a file name for
2064 Org buffers which have no associated file.
2066 * org-agenda.el (org-agenda-do-action): Fixed a typo.
2068 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2070 * org-mobile.el (org-mobile-locate-entry): Interpret files
2071 relative to org-directory.
2072 (org-mobile-inbox-for-pull): Document the best location for this
2074 (org-mobile-check-setup): Verify `org-directory'.
2075 (org-mobile-create-index-file): Sort the files to be listed in
2078 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2080 * org.el (org-fast-tag-selection): Add a way to display a
2081 description for a tag group. This is done by adding a string to
2082 either the startgroup or endgroup cell.
2084 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2086 * org-clock.el (org-clock-resolve, org-resolve-clocks)
2087 (org-emacs-idle-seconds): Use `org-float-time' instead of
2090 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2092 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
2095 * org.el (org-pre-cycle-hook): Document that `empty' can also be
2096 the value of ARG when doing local cycling.
2098 2009-11-13 John Wiegley <johnw@newartisans.com>
2100 * org-clock.el (org-clock-resolve-clock): If keeping or
2101 subtracting time results in a clock out at a time in the past, and
2102 if the resolution occurred due to idleness or invoking `M-x
2103 org-resolve-clocks', remember that past moment in time. On the
2104 next clock in, the user will be prompted to see if they want to
2105 back-date their new clock to then.
2106 (org-clock-resolve): Do not jump the user to the location of a
2107 dangling clock if the resolution is occurring due to an idle
2108 timeout. In that case there is typically only one dangling clock,
2109 the active one, and there is no value gained by shuffling their
2110 windows around to show it to them. Being prompted to resolve an
2111 idle clock should be as inobtrusive as possible.
2112 (org-resolve-clocks-if-idle): New function that resolves only the
2113 currently active clock if the user has exceeded the time returned
2114 by `org-user-idle-seconds', based on the value of
2115 `org-clock-idle-time'.
2116 (org-clock-in): If, after resolving clocks,
2117 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
2119 * org-clock.el (org-clock-resolve-clock): New function that
2120 resolves a clock to a specific time, closing or resuming as need
2121 be, and possibly even starting a new clock.
2122 (org-clock-resolve): New function used by `org-resolve-clocks'
2123 that sets up for the call to `org-clock-resolve-clock'. It
2124 determines the time to resolve to based on a single-character
2125 selection from the user to either keep time, subtract away time or
2127 (org-resolve-clocks): New user command which resolves dangling
2128 clocks -- that is, open but not active -- anywhere in the file
2129 list returned by `org-files-list'.
2130 (org-clock-in): Automatically resolve dangling clocks whenever a
2132 (org-clock-cancel): If the user cancels the solely clock in a
2133 LOGBOOK, remove the empty drawer.
2135 * org-clock.el (org-clock-idle-time): New user customizable option
2136 for detecting whether the user has left a clock idle. Note: it is
2137 only used in this commit to test whether it's worthwhile to check
2138 OS X to get the Mac user's current idle time. If the Emacs idle
2139 time is less than the value, the user hasn't been away long enough
2140 to be worth checking (a more expensive test than just getting
2142 (org-user-idle-seconds, org-mac-idle-seconds)
2143 (org-emacs-idle-seconds): This three functions, in conjunction
2144 with the user customization variable `org-clock-idle-time', return
2145 the number of seconds (as a floating point) that the user has been
2146 away from their Emacs (or, if running on OS X, their computer).
2148 * org-clock.el (org-find-open-clocks): New function that returns a
2149 list of all open clocks in the given FILE. Note that each clock
2150 it returns is a cons cell of the format (MARKER . START-TIME).
2151 This "clock" value is used by several of the new clock module
2153 (org-is-active-clock): New inline function which tests whether the
2154 given clock value is the same as the currently active clock.
2155 Returns non-nil if this is the case.
2156 (org-with-clock-position): New macro that evaluates FORMS with
2157 point in the buffer and at the position of the given clock.
2158 Changes to the current clock are global.
2159 (org-with-clock): New macro that evaluates FORMS with point in the
2160 buffer and at the position of the given clock. However, changes
2161 to the current clock are local and have no effect on the user's
2162 active clock. This allows, for example, far any clock to be
2163 cancelled without cancelling the active clock.
2164 (org-clock-clock-in): New inline function that switches the active
2165 clock to the given clock. If either the argument RESUME, or the
2166 global `org-clock-in-resume', are non-nil, it will resume a clock
2167 that was previously left open.
2168 (org-clock-clock-out): New inline function that clocks out the
2169 given clock value without affecting the currently active clock.
2170 (org-clock-clock-cancel): New inline function that cancels the
2171 given clock value without affecting the currently active clock.
2173 * org-clock.el (org-clock-in): Before creating
2174 `org-clock-mode-line-timer', check to make sure an older timer is
2175 not currently running.
2176 (org-clock-out): Accept new third parameter `at-time', which
2177 permits a clock to be clocked out at a specific time. Note that
2178 no attempt is made to verify that the clock out time is later than
2181 * org.el (org-files-list): New utility function for returning a
2182 list of all open org-mode buffers, plus all files used to build
2183 the agenda buffer. Note that not all the files will necessarily
2184 be visited by a buffer at time of call.
2185 (org-entry-beginning-position): Like the function
2186 `line-beginning-position', this inline function returns the
2187 beginning position of the current heading/entry.
2188 (org-entry-end-position): Like the function `line-end-position',
2189 this inline function returns the end position of the current
2192 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2194 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
2197 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2199 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
2201 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2203 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
2204 entries that have no tags.
2205 (org-agenda-search-view): New customize group.
2206 (org-agenda-search-view-search-words-only): New option.
2207 (org-search-view): Implement substring search.
2209 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2211 * org.el (org-outline-level): Add doc string.
2213 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2215 * org-inlinetask.el (org-inlinetask-export): Re-introduce
2217 (org-inlinetask-export-handler): Only export inline task if the
2218 user option calls for it.
2220 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2222 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
2225 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2227 * org-latex.el (org-export-latex-tables): Don't format in
2230 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2232 * org-src.el (org-edit-src-code)
2233 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
2236 * org-agenda.el (org-prefix-category-max-length): New variable.
2237 (org-format-agenda-item): Use `org-prefix-category-max-length'.
2238 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
2240 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2242 * org-mobile.el (org-mobile-create-index-file): Improve the
2243 listing of tags and todo keywords.
2245 * org-latex.el (org-export-latex-format-image): New function.
2246 (org-export-latex-links): Use `org-export-latex-format-image'.
2248 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2250 * org-inlinetask.el (org-inlinetask-get-current-indentation)
2251 (org-inlinetask-remove-terminator): New functions.
2252 (org-inlinetask-export-handler): Terminate the description list.
2254 * org-exp.el (org-export-select-backend-specific-text): Remove the
2257 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2258 tasks without content.
2260 * org-clock.el: Make sure the clock-in target position does not
2261 move to a different node by widening the buffer.
2263 * org-html.el (org-export-html-format-image): Wrap image into
2264 figure div only when there is a caption.
2266 * org-archive.el (org-archive-mark-done): Change default value to
2269 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2271 * org.el (org-context): Call `bobp', not `eobp'.
2273 * org-clock.el (org-clock-cancel): Remove quotes from marker
2276 * org.el (org-read-date-prefer-future): New allowed value `time'.
2277 (org-read-date-analyze): Shift day to tomorrow depending on time
2278 entered and value of `org-read-date-prefer-future'.
2280 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2282 * org.el (org-version, org-get-refile-targets, org-refile)
2283 (org-store-log-note, org-diary-to-ical-string)
2284 (org-speedbar-set-agenda-restriction):
2285 * org-publish.el (org-publish-find-title):
2286 * org-plot.el (org-plot/gnuplot):
2287 * org-mouse.el (org-mouse-do-remotely):
2288 * org-mobile.el (org-mobile-move-capture):
2289 * org-mac-message.el (org-mac-message-insert-flagged):
2290 * org-latex.el (org-replace-region-by-latex):
2291 * org-docbook.el (org-replace-region-by-docbook):
2292 * org-clock.el (org-clock-out, org-clock-cancel):
2293 * org-bibtex.el (org-execute-file-search-in-bibtex):
2294 Use with-current-buffer.
2296 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2298 * org.el (org-directory, org-map-entries):
2299 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
2301 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2303 * org.el (org-set-tags-to): New command.
2305 * org-latex.el (org-export-latex-set-initial-vars): Also check in
2308 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2311 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2313 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2315 * org-inlinetask.el (org-inlinetask-export): Option removed.
2316 (org-inlinetask-export-handler): Better export.
2318 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2319 (org-export-as-xoxo): Run the new hook.
2321 * org-html.el (org-export-html-final-hook): New hook.
2322 (org-export-as-html): Run the new hook.
2324 * org-docbook.el (org-export-docbook-final-hook): New hook.
2325 (org-export-as-docbook): Run the new hook.
2327 * org-ascii.el (org-export-ascii-final-hook): New hook.
2328 (org-export-as-ascii): Run the new hook.
2330 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2331 space character as the character before the ^/_.
2332 (org-export-latex-final-hook): New hook.
2333 (org-export-as-latex): Run `org-export-latex-final-hook'.
2335 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2337 * org-macs.el (org-if-unprotected-at): Fix docstring.
2339 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2340 text in the prefix (if category is a link).
2342 * org-latex.el (org-export-latex-preprocess): Deal properly with
2343 empty lines in verse environments.
2345 * org.el (org-format-latex-header): Inline fullpage.sty.
2347 * org-footnote.el (org-footnote-create-definition): Reveal context
2348 to add a new footnote definition.
2350 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2351 org-table-recalculate when cursor is in TBLFM line.
2353 * org-list.el (org-renumber-ordered-list): Fix cursor position
2354 when bullet length has changed.
2356 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2358 * org.el (org-format-latex): Mention `org-format-latex-options' in
2361 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2363 * org.el (org-agenda-get): New function.
2365 * org-agenda.el (org-agenda-post-command-hook): No longer move
2366 point away from end of line.
2367 (org-agenda-add-entry-text, org-agenda-collect-markers)
2368 (org-finalize-agenda, org-agenda-mark-clocking-task)
2369 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2370 (org-agenda-entry-text-show, org-agenda-highlight-todo)
2371 (org-agenda-compare-effort, org-agenda-filter-apply)
2372 (org-agenda-later, org-agenda-change-time-span)
2373 (org-agenda-post-command-hook, org-agenda-show-priority)
2374 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2375 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2376 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2377 (org-agenda-open-link, org-agenda-copy-local-variable)
2378 (org-agenda-switch-to, org-agenda-check-no-diary)
2379 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2380 (org-agenda-add-note, org-agenda-change-all-lines)
2381 (org-agenda-priority, org-agenda-set-tags)
2382 (org-agenda-set-property, org-agenda-set-effort)
2383 (org-agenda-toggle-archive-tag, org-agenda-date-later)
2384 (org-agenda-show-new-time, org-agenda-date-prompt)
2385 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2386 (org-agenda-clock-in, org-agenda-bulk-mark)
2387 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2390 * org-colview.el (org-columns-display-here)
2391 (org-columns-edit-allowed, org-agenda-columns): Use
2394 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2396 * org.el (org-special-ctrl-a/e): Improve documentation and
2398 (org-end-of-line): Don't jump to after the ellipsis.
2399 (org-mode-map): Bind <home> and <end> as well.
2401 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2403 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2404 space after #+ as comments.
2405 (org-open-at-point): Run `org-follow-link-hook' always.
2407 * org-latex.el (org-export-latex-emph-format): Use better commands
2408 to insert special characters in verbatim snippets.
2410 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2412 * org-faces.el (org-copy-face): New function. Use it to create
2413 various faces formerly created by using `copy-face'.
2415 * org-agenda.el (org-prepare-agenda): Don't officially mark this
2417 (org-agenda-quit): Kill the frame containing the agenda window if
2418 that frame was created for the agenda.
2420 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2422 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2423 stamp in the agenda.
2425 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2427 * org-agenda.el (org-prepare-agenda): Reset
2428 `org-drawers-for-agenda'.
2429 (org-prepare-agenda): Uniquify list of drawers.
2431 * org.el (org-complex-heading-regexp-format): New variable.
2432 (org-set-regexps-and-options): Define
2433 `org-complex-heading-regexp-format'.
2434 (org-drawers-for-agenda): New variable.
2435 (org-map-entries): Bind `org-drawers-for-agenda'.
2436 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2438 * org-remember.el (org-go-to-remember-target)
2439 (org-remember-handler): Use `org-complex-heading-regexp-format'.
2441 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2443 * org-agenda.el (org-agenda-highlight-todo): Fix text property
2446 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2447 always with `invisible-ok'.
2448 (org-store-link): No error when there is nothing to link to in the
2451 * org-list.el (org-update-checkbox-count): Insert changed cookie
2452 before the old, to avoid problems with invisibility at the end of
2454 (org-update-checkbox-count): Insert changed cookie before the old,
2455 to avoid problems with invisibility at the end of the line.
2457 * org.el (org-sort-entries-or-items): Include the final newline.
2458 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2459 lines for fontification.
2460 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2461 (org-prepare-dblock): Store the current indentation of the BEGIN
2463 (org-update-dblock): Apply the indentation of the begin line to
2464 the rest of the block.
2465 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2466 (org-startup-folded): New allowed value `showeverything'.
2467 (org-startup-options): Add STARTUP keyword `showeverything'.
2468 (org-set-startup-visibility): Respect value `showeverything' in
2471 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2473 * org.el (org-closest-date): Fix issue with past preference.
2475 * org-archive.el (org-archive-set-tag)
2476 (org-archive-subtree-default): New commands.
2478 * org-clock.el (org-clock-clocktable-default-properties): New
2480 (org-clock-report): Use
2481 `org-clock-clocktable-default-properties'.
2483 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2485 * org.el (org-iswitchb-completing-read): Fix typo.
2487 * org-crypt.el: New file.
2489 * org.el: Add an entry for org-crypt.
2491 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2493 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2495 (org-batch-store-agenda-views): New function.
2496 (org-agenda-title-append): Define variable.
2497 (org-write-agenda): New export to Org files.
2498 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2499 (org-agenda): Allow to keep the restricted file list if a special
2500 variable is bound to t.
2501 (org-agenda): Define a special agenda view for working on flagged
2503 (org-agenda-get-restriction-and-command): List the new agenda
2505 (org-agenda-show-the-flagging-note): New command.
2506 (org-agenda-mode-map): New key `?' for looking at the flagging
2509 * org.el (org-autoload): Autoload org-mobile.el.
2510 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2512 * org-mobile.el: New file.
2514 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2516 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2518 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2520 (org-table-get-remote-range): Match indented #+TBLNAME
2523 * org.el (org-convert-to-odd-levels)
2524 (org-convert-to-oddeven-levels): Work also correctly if the file
2527 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2529 * org.el (org-store-link): When in agenda buffer, link to
2531 (org-add-planning-info): Remove spaces at eol.
2533 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2536 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2538 * org-latex.el (org-export-latex-first-lines): Fix problem with
2539 LaTeX export of first line and selected subtree.
2541 * org.el (org-shifttab): Interpret arg differently when using only
2544 2009-10-01 Bastien Guerry <bzg@altern.org>
2546 * org.el (org-check-agenda-file): Use a more explicit message
2548 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2550 * org-exp.el (org-export-remove-special-table-lines): Don't remove
2553 2009-10-01 Bastien Guerry <bzg@altern.org>
2555 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2556 prompt in the temporary window.
2558 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2559 prefix for marked entries in the agenda view.
2561 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
2563 * org.el (outline-end-of-subtree): Bugfix: advise this function in
2564 a way that prevents any trailing character from being displayed.
2566 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2568 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2571 * org-exp.el (org-export-remove-special-table-lines): Remove bad
2574 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2576 * org-latex.el (org-export-latex-preprocess): Do not protect in
2579 * org-src.el (org-edit-src-save): Save window setup while saving.
2580 (org-edit-src-code): Use new buffer name construction scheme.
2582 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2584 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2586 (org-agenda-entry-text-cleanup-hook): New hook.
2587 (org-agenda-get-some-entry-text): Remove matches of
2588 `org-agenda-entry-text-exclude-regexps' and run the hook
2589 `org-agenda-entry-text-cleanup-hook'.
2591 * org.el (org-offer-links-in-entry): New argument ZERO to
2592 implement a link with index zero.
2593 (org-cycle-show-empty-lines): Not keep empty line under header
2595 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2596 to nil for special completion.
2597 (org-store-link): Don't error before the first heading.
2599 * org-agenda.el (org-agenda-open-link): Pass the prefix to
2600 `org-offer-links-in-entry'.
2602 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
2604 * org-agenda.el (org-agenda-quit): Provide the window argument for
2605 `window-dedicated-p', Emacs 22 needs it.
2606 (org-format-agenda-item): If the category is a link, arrange for
2607 invisible text to replaced with spaces.
2608 (org-compile-prefix-format): Add the extra space.
2609 (org-prefix-category-length): New variable.
2611 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2612 references from TOC lines.
2614 * org.el (org-selected-window): New variable.
2616 * org-table.el (org-table-edit-formulas): Remember the selected
2618 (org-table-fedit-finish, org-table-fedit-abort): Select the window
2619 that was originally selected.
2621 * org-exp.el (org-export-preprocess-apply-macros): Scan the
2622 expansion of a macro for more macro definitions.
2624 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2625 invisibility overlay starts on the newline.
2627 2009-10-01 Glenn Morris <rgm@gnu.org>
2629 * org-agenda.el (calendar-check-holidays):
2630 * org-exp.el (org-agenda-skip):
2631 * org-list.el (outline-back-to-heading):
2632 * org-wl.el (wl-summary-goto-folder-subr):
2633 * org.el (iswitchb-mode, remember, remember-buffer-desc)
2634 (remember-finalize, remember-save-after-remembering, remember-register)
2635 (remember-buffer, remember-handler-functions)
2636 (remember-annotation-functions): Remove unused declarations.
2638 * org.el (iswitchb-read-buffer): Fix declaration.
2640 2009-09-30 Glenn Morris <rgm@gnu.org>
2642 * org-compat.el (w32-focus-frame):
2643 * org-exp-blocks.el (R):
2644 * org-exp.el (htmlize-buffer):
2645 * org-protocol.el (server-edit):
2646 * org-table.el (org-format-org-table-html):
2647 * org.el (org-indent-mode): Fix declarations.
2649 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
2650 free variable `fun'.
2652 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
2654 * org-agenda.el (org-agenda-restore-windows-after-quit):
2655 Fix typo in docstring.
2657 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
2659 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
2660 (org-shiftselect-error, org-ctrl-c-ctrl-c):
2661 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
2662 * org-attach.el (org-attach-check-absolute-path):
2663 * org-docbook.el (org-export-as-docbook):
2664 * org-html.el (org-export-as-html):
2665 * org-id.el (org-id-update-id-locations):
2666 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
2667 Fix typos in error messages.
2669 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2671 * org-ascii.el: Require CL for the `loop' macro.
2673 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
2675 * org-gnus.el (require): Wrap (require gnus-sum) into
2678 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
2680 * org-protocol.el (org-protocol-store-link)
2681 (org-protocol-remember, org-protocol-open-source): Remove autoload
2684 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
2685 referencing the start of the line.
2687 * org-gnus.el: Remove unnecessary declare-function forms.
2688 (gnus-sum): Always require gnus-sum.
2690 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2692 * org-protocol.el (org-protocol-store-link)
2693 (org-protocol-remember, org-protocol-open-source): Add autoloads.
2695 * org-compat.el (org-float-time): New function.
2697 * org.el (org-clock-update-time-maybe)
2698 (org-sort-entries-or-items, org-do-sort)
2699 (org-evaluate-time-range, org-time-string-to-seconds)
2700 (org-closed-in-range): Use `org-float-time'.
2702 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2703 (org-timer-seconds): Use `org-float-time'.
2705 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2706 (org-clock-sum, org-dblock-write:clocktable)
2707 (org-clocktable-steps): Use `org-float-time'.
2709 * org-agenda.el (org-agenda-last-marker-time)
2710 (org-agenda-new-marker, org-diary): Use `org-float-time'.
2712 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2715 * org-exp.el (org-get-file-contents): Only protect lines that
2718 * org-html.el (require): Require cl for compilation.
2720 * org.el: Avoid using `default-major-mode'.
2722 * org-plot.el (require): Require CL only at compile time.
2724 * org-exp.el (require): Require CL only at compile time.
2726 * org-agenda.el (org-agenda-quit): When the agenda window is
2727 dedicated, remove other windows before exiting, so that the frame
2728 really will be killed.
2730 * org-exp.el (org-export-handle-include-files): Reset START and
2731 END for each loop cycle.
2733 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2735 * org.el (org-eval-in-calendar): Use
2736 `org-select-frame-set-input-focus'.
2738 * org-compat.el (org-select-frame-set-input-focus): New function.
2740 * org.el (org-update-statistics-cookies): New function.
2741 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2743 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2745 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2746 after the local variables are set.
2748 * org-latex.el (org-export-latex-protect-amp): New function.
2749 (org-export-latex-links): Protect link ampersands in tables.
2751 * org-exp.el (org-export-select-backend-specific-text): Match in
2752 two steps, to avoid regexp problems.
2754 * org.el (org-offer-links-in-entry): Improve working with many and
2757 * org-agenda.el (org-agenda-show-1): Make more consistent with
2759 (org-agenda-cycle-show): Make more consistent with normal cycling.
2761 * org-gnus.el (org-gnus-store-link): Restore the linking to a
2764 2009-09-02 Bastien Guerry <bzg@altern.org>
2766 * org-latex.el (org-export-latex-first-lines): Bugfix.
2768 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2770 * org-clock.el (org-clock-modify-effort-estimate): Emit message
2773 * org.el (org-set-effort): New function.
2774 (org-mode-map): New key for effort setting command.
2776 * org-agenda.el (org-agenda): Keep window setup when calling
2777 agenda from within agenda window.
2778 (org-agenda-mode-map): New keys for effort setting commands.
2779 (org-agenda-menu): Add effort setting commands to menu.
2780 (org-agenda-set-property, org-agenda-set-effort): New functions.
2782 * org-latex.el (org-export-latex-tables): Fix
2783 `org-table-last-alignment' and `org-table-last-column-widths' if
2784 the first column has been removed.
2786 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2788 * org.el (org-remove-timestamp-with-keyword): Only remove in
2789 entry, not in subtree.
2791 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2794 * org.el (org-open-at-point): When on headline, offer all strings
2797 * org-remember.el (org-remember-templates): Documentation fix.
2799 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2800 `org-get-last-sibling' instead of the outline versions of these
2802 (org-get-last-sibling): New function.
2803 (org-refile): Use `org-get-next-sibling' instead of the outline
2804 version of this function.
2805 (org-clean-visibility-after-subtree-move): Use
2806 `org-get-next-sibling' and `org-get-last-sibling' instead of the
2807 outline versions of these functions.
2809 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2811 * org-agenda.el (org-prepare-agenda): When creating a new frame
2812 for the agenda, make the window dedicated.
2814 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2816 * org-table.el (org-table-align): Change the order of reinsertion
2817 and deletion, to avoid problems with overlays following the table.
2819 * org.el (org-parse-time-string): Better error message.
2820 (org-show-subtree): Use org-end-of-subtree.
2822 * org-macs.el (org-goto-line): New defsubst.
2824 * org.el (org-open-file, org-change-tag-in-region)
2825 (org-fast-tag-show-exit): Don't use `goto-line'.
2827 * org-table.el (org-table-align, org-table-insert-column)
2828 (org-table-delete-column, org-table-move-column)
2829 (org-table-sort-lines, org-table-copy-region)
2830 (org-table-paste-rectangle, org-table-wrap-region)
2831 (org-table-get-specials, org-table-rotate-recalc-marks)
2832 (org-table-get-range, org-table-recalculate)
2833 (org-table-edit-formulas, org-table-fedit-convert-buffer)
2834 (org-table-show-reference, org-table-highlight-rectangle): Don't
2837 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2838 (org-edit-src-exit): Don't use `goto-line'.
2840 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2842 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2843 Don't use `goto-line'.
2845 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2847 * org-colview.el (org-columns, org-columns-redo)
2848 (org-agenda-columns): Don't use `goto-line'.
2850 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2853 * org-agenda.el (org-agenda-mode): Force visual line motion off.
2854 (org-agenda-add-entry-text-maxlines): Improve docstring.
2855 (org-agenda-start-with-entry-text-mode): New option.
2856 (org-agenda-entry-text-maxlines): New option.
2857 (org-agenda-entry-text-mode): New variable.
2858 (org-agenda-mode): Set initial value of
2859 `org-agenda-entry-text-mode'.
2860 (org-agenda-mode-map): Add the `E' key.
2861 (org-agenda-menu): Add entry text mode to the menu.
2862 (org-agenda-get-some-entry-text): Fix line count bug.
2863 (org-finalize-agenda): Apply entry text mode if appropriate.
2864 (org-agenda-entry-text-show-here): New function.
2865 (org-agenda-entry-text-show): New function.
2866 (org-agenda-entry-text-hide): New function.
2867 (org-agenda-view-mode-dispatch): Add entry text mode to the view
2869 (org-agenda-entry-text-mode): New command.
2870 (org-agenda-set-mode-name): Add entry text mode to the mode line
2872 (org-agenda-undo, org-agenda-get-restriction-and-command)
2873 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2876 2009-09-02 Bernt Hansen <bernt@norang.ca>
2878 * org-clock.el (org-notify): Bugfix.
2880 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2882 * org-agenda.el (org-agenda-open-link): Handle multiple links and
2883 check for after-string.
2885 * org-gnus.el (org-gnus-store-link): Simplify.
2887 * org.el (org-latex-regexps): Don't add extra empty lines for
2890 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2892 * org-agenda.el (org-agenda-get-some-entry-text): New function.
2893 (org-agenda-add-entry-text): Use
2894 `org-agenda-get-some-entry-text'.
2896 * org.el (org-cycle-separator-lines): Update docstring.
2897 (org-cycle-show-empty-lines): Handle negative values for
2898 `org-cycle-show-empty-lines'.
2900 * org-exp.el (org-export-protect-sub-super): New function.
2901 (org-export-normalize-links): Protect the url of plain links from
2902 supscript and superscript processing.
2904 * org-remember.el (org-remember-escaped-%): New function.
2905 (org-remember-apply-template): Use `org-remember-escaped-%' to
2906 detect escaped % signs.
2908 2009-09-02 Bastien Guerry <bzg@altern.org>
2910 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2911 sound when showing the notification.
2913 * org-clock.el (org-notify): New function.
2914 (org-clock-notify-once-if-expired): Use `org-notify'.
2916 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2917 and `gnus-article-mode' separately.
2918 (gnus-summary-article-header): Fix the declare-function.
2920 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2922 * org-exp.el (org-export-format-source-code-or-example): Translate
2925 * org-src.el (org-src-lang-modes): New variable
2926 (org-edit-src-code): Translate language.
2928 * org-exp.el (org-export-format-source-code-or-example): Deal wit
2929 the new structure of the `org-export-latex-listings-langs'
2932 * org-latex.el (org-export-latex-listings-langs): Change structure
2933 of the variable from plist to alist.
2935 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2937 * org.el (org-in-commented-line): New function.
2939 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2941 * org.el (org-hide-block-toggle): Make folded blocks searchable.
2943 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
2945 * org.el (org-flag-drawer): More useful error.
2947 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2949 * org-remember.el (org-remember-apply-template): Use
2950 org-icompleting-read.
2952 * org-publish.el (org-publish): Use org-icompleting-read.
2954 * org-colview.el (org-columns-edit-value, org-columns-new)
2955 (org-insert-columns-dblock): Use org-icompleting-read.
2957 * org-colview-xemacs.el (org-columns-edit-value)
2958 (org-columns-new, org-insert-columns-dblock): Use
2959 org-icompleting-read.
2961 * org-attach.el (org-attach-delete-one, org-attach-open): Use
2962 org-icompleting-read.
2964 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2966 * org.el (org-hierarchical-todo-statistics): Improve docstring.
2967 (org-version): Return the version text.
2968 (org-org-menu): Add a menu entry for the new bug reporter.
2969 (org-submit-bug-report): New command.
2971 * org-list.el (org-hierarchical-checkbox-statistics): Improve
2974 * org.el (org-emphasis-regexp-components): Add "`" to set of
2975 pre-emphasis characters.
2977 * org-latex.el (org-export-latex-classes): Always include the soul
2979 (org-export-latex-emphasis-alist): Use \st for strikethough.
2981 * org-exp-blocks.el (org-export-blocks-preprocess): Use
2982 `indent-code-rigidly' to indent.
2984 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2985 properties only if MATCH really is a string.
2987 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2989 * org-latex.el (org-export-latex-packages-alist): Fix
2992 * org.el (org-create-formula-image): Also use
2993 `org-export-latex-packages-alist'.
2995 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2996 (org-export-as-html): Format footnotes correctly.
2998 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3000 * org.el (org-fast-tag-selection): Avoid text properties on tags
3003 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
3004 text properties on the match element.
3006 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3008 * org.el (org-set-regexps-and-options): Make sure the list of done
3009 keywords is not invalid.
3011 * org-exp.el (org-export-interpolate-newlines): New function.
3013 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3015 * org.el (org-format-latex): Avoid nested overlays.
3017 * org-latex.el (org-export-latex-listings-langs): Add a few more
3020 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
3021 ignore newlines and space before the first macro argument.
3023 * org-latex.el (org-export-latex-tables): Remove save-excursion
3024 around `org-table-align'.
3026 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3028 * org.el (org-export-html-special-string-regexps): Definition
3031 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
3034 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3036 * org-latex.el (org-export-latex-listings)
3037 (org-export-latex-listings-langs): New options.
3039 * org-exp.el (org-export-format-source-code-or-example): Use
3040 listing package if requested by the user.
3042 2009-09-02 Bastien Guerry <bzg@altern.org>
3044 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
3045 command before actually switching to a buffer.
3047 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3049 * org-exp.el (org-get-file-contents): Only quote org lines when
3050 the markup is src or example.
3052 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
3054 (org-agenda-get-day-entries): Remember deadline results and pass
3055 them on into the function getting the scheduling information.
3056 (org-agenda-get-scheduled): Accept deadline results as parameters
3057 and maybe skip some entries.
3058 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
3060 * org.el (org-insert-heading): When respecting content, do not
3061 convert current line to headline.
3063 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
3064 cheeeeeck the hd marker
3065 (org-clock-in): Also set the hd marker.
3066 (org-clock-out): Also set the hd marker.
3067 (org-clock-cancel): Reset markers.
3069 * org.el (org-clock-hd-marker): New marker.
3071 * org-faces.el (org-agenda-clocking): New face.
3073 * org-agenda.el (org-agenda-mark-clocking-task): New function.
3074 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
3076 * org.el (org-modules): Add org-track.el.
3078 * org-agenda.el (org-agenda-bulk-marked-p): New function.
3079 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
3080 `org-agenda-bulk-marked-p'.
3081 (org-agenda-bulk-toggle): New command.
3083 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3085 * org.el (org-move-subtree-down): Hide subtree if it was folded,
3088 * org-remember.el (org-remember-finalize): Avoid buffer-modified
3091 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * org-html.el (org-export-as-html):
3094 * org-docbook.el (org-export-as-docbook):
3095 Use (default-value 'major-mode) instead of default-major-mode.
3097 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
3099 * org-docbook.el: Add arch-tag.
3101 * org-exp-blocks.el: Add arch-tag.
3103 * org-id.el: Add arch-tag.
3105 * org-indent.el: Add arch-tag.
3107 * org-inlinetask.el: Add arch-tag.
3109 * org-protocol.el: Add arch-tag.
3111 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3113 * org.el (org-create-formula-image): Remove the -E option for
3116 * org-exp.el (org-default-export-plist): Respect #+BIND.
3117 (org-export-confirm-letbind): New function.
3119 * org.el (org-paste-subtree): Test the kill ring entry if it is
3121 (org-copy-subtree): Use `org-forward-same-level'.
3122 (org-forward-same-level): Respect the `invisibe-ok' arg for
3125 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3127 * org.el (org-table-map-tables): Make sure cursor is back at table
3128 beginning after funcall.
3130 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
3131 handled before children, and do not error if an entry is not
3132 found, probably because it hase been remove when the parent was
3133 archived or refiled.
3135 * org.el (org-ido-completing-read): Accept straight lists for
3136 completion as well as alists.
3138 * org-timer.el (org-timer-cancel-timers): Rename from
3139 `org-timer-cancel-timers'.
3141 * org.el (org-cycle-internal-local): Fix problem with finding next
3144 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3146 * org-list.el (org-list-send-list): Call
3147 `org-list-goto-true-beginning' instead of
3148 `org-list-find-true-beginning', which does not exist.
3150 * org-timer.el (org-timer-reset-timers): Use `mapc'.
3151 (org-timer-set-timer): Do not assign to heading.
3153 * org-id.el (org-id-open): Quote function name.
3155 * org-macs.el (org-unmodified): Turn off recording undo
3156 information while running inside the macro.
3158 * org-table.el (org-table-export): Also work in file-less
3161 * org.el (org-startup-indented): New option.
3162 (org-startup-options): Add new options indent and noindent.
3163 (org-unfontify-region): Remove line-prefix and wrap-prefix
3165 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
3167 (org-promote, org-demote): Run the new hooks.
3169 * org-table.el (org-table-align): Replace leading \n as well.
3171 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
3172 and `line-wrap' text properties.
3174 * org-compat.el (org-kill-new): New function.
3176 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
3177 `line-wrap' text properties.
3179 * org-indent.el: New file.
3181 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3183 * org.el (org-provide-todo-statistics): Tweak docstring.
3185 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
3187 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3189 * org-exp.el (org-export-as-org): Insert the "-source" string
3190 before the extension.
3192 * org.el (org-read-date): Make sure the calendar is in the current
3194 (org-set-emph-re): Remove the ? from the post-match.
3195 (org-emphasis-regexp-components): Add backslash to the
3197 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
3198 optional so that also lines at the end of the buffers will still
3199 be matched as headlines.
3201 * org-table.el (org-table-error-on-row-ref-crossing-hline):
3202 Variable made obsolete.
3203 (org-table-relative-ref-may-cross-hline): New option.
3204 (org-table-find-row-type): Honow the new option
3205 `org-table-relative-ref-may-cross-hline'.
3207 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3209 * org-table.el (org-table-cut-region, org-table-copy-region): Work
3210 on single field if no active region.
3212 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3214 * org-latex.el (org-export-latex-make-header): Only insert title
3217 * org.el (org-make-options-regexp): Allow empty values.
3219 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3221 * org.el (org-cycle-internal-local): Improved version of finding
3223 (org-cycle-hide-drawers): Only hide drawers if this is really
3225 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
3226 org-version of this function in Org-mode. We use advice to
3227 implement this change, so that future changes to this function in
3228 outline.el wil be handled properly.
3229 (org-forward-same-level, org-backward-same-level): New commands.
3231 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3233 * org.el (org-remove-empty-overlays-at)
3234 (org-clean-visibility-after-subtree-move): New functons.
3235 (org-move-subtree-down): Simplify cleanup of display.
3237 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3239 * org-mac-message.el (org-mac-message-get-links): Improve
3240 docstring. Make argument SELECT-OR-FLAGGED optional, default to
3241 "s". Fix the return value.
3242 (org-mac-message-insert-flagged): Simplify.
3244 * org.el (org-refile-get-location): Tamper with refile history o
3245 that history contains compete matches instead of the entered
3248 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3250 * org.el (org-store-link): Never store a link to an inline task.
3252 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
3253 inline tasks when positioning footnotes.
3255 * org.el (org-refile): Remove the END line when archiving an
3256 inline task that does have an END line.
3258 * org-archive.el (org-archive-subtree): Remove the END line when
3259 archiving an inline task that does have an END line.
3261 * org-macs.el (org-with-limited-levels): New macro.
3262 (org-get-limited-outline-regexp): New function.
3264 * org-exp.el (org-export-format-source-code-or-example): Fix bug
3265 that did not enumerate first line.
3266 (org-export-mark-radio-links): Skip matches in links.
3268 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3270 * org.el (org-activate-plain-links): Make single-match.
3271 (org-adapt-indentation): Fix docstring.
3273 * org-macs.el (org-unmodified): Turn of modification hooks while
3276 2009-08-06 Bastien Guerry <bzg@altern.org>
3278 * org.el (org-adapt-indentation): Slightly improve the docstring.
3279 (org-occur): Sends an error when the user inputs an empty string.
3280 (org-priority): Bugfix: the tag alignement should happen within
3283 2009-08-06 Bastien Guerry <bzg@altern.org>
3285 * org.el (org-make-link-regexps): Don't exclude parentheses from
3287 (org-cycle-internal-local): When locally cycling, switch directly
3288 from CHILDREN to FOLDED if there is no subtree
3289 (org-cycle): Update the docstring to document the new behavior of
3290 `org-cycle-internal-local'.
3292 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
3294 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3295 an abbreviated format for days.
3297 2009-08-06 Bastien Guerry <bzg@altern.org>
3299 * org-protocol.el (org-protocol-default-template-key): New
3302 * org.el (org-refile): Bugfix: save-excursion before reading the
3303 refile target, otherwise cursor moves might confuse `org-refile'.
3305 * org.el (org-toggle-heading): Bugfix: correctly convert list
3306 items before the first headline.
3308 * org.el (org-provide-todo-statistics): Allow a list of TODO
3309 keywords to compute statistics against headlines containing a
3310 keyword from this list.
3311 (org-update-parent-todo-statistics): Possibly use the new allowed
3312 value of `org-provide-todo-statistics'.
3314 2009-08-06 Bastien Guerry <bzg@altern.org>
3316 * org-timer.el: Add autoload cookie.
3318 * org.el (org-occur-link-in-agenda-files): New function.
3320 * org-timer.el (org-timer-last-timer): New variable.
3322 * org-agenda.el (org-agenda-mode-map): New key for
3323 org-timer-set-timer called from the agenda.
3325 * org.el (org-mode-map): New key for org-timer-set-timer.
3327 * org-timer.el (org-timer-reset-timers)
3328 (org-timer-show-remaining-time, org-timer-set-timer): New
3331 * org-clock.el (org-show-notification): Update the docstring.
3333 * org.el (org-provide-todo-statistics): Allow new value
3334 'all-headlines for this option, which includes entries with no
3335 TODO keywords in the todo statistics.
3336 (org-update-parent-todo-statistics): Possibly use the new
3337 'all-headline value from `org-provide-todo-statistics'.
3339 2009-08-06 Bastien Guerry <bzg@altern.org>
3341 * org-clock.el (org-dblock-write:clocktable): Add a new option
3342 :timestamp which allows display of timestamps in clock reports.
3344 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3345 list to a subtree, preserving the structure of the list.
3346 (org-set-emph-re): Make the last element optional in the regexp.
3347 This regexp now matches an emphasized string at the end of a line.
3349 * org-list.el (org-list-goto-true-beginning)
3350 (org-list-make-subtree, org-list-make-subtrees): New functions.
3352 * org.el (org-eval-in-calendar): Select the right frame.
3353 (org-save-frame-excursion): Remove this macro.
3355 2009-08-06 Bastien Guerry <bzg@altern.org>
3357 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3358 trying to find the beginning of a list.
3360 * org-exp.el (org-get-file-contents): Use a new argument: markup.
3361 When present, tell org-get-file-contents not to protect org-like
3364 * org-id.el (org-id-uuid-program): New option to set the name of
3365 the uuidgen program.
3366 (org-id-method): Use `org-id-uuid-program'.
3367 (org-id-new): Use `org-id-uuid-program'.
3369 2009-08-06 Bastien Guerry <bzg@altern.org>
3371 * org-exp.el (org-export-number-lines): Allow whitespace in code
3372 references. Allow the -r switch to remove the references in the
3373 source code even when the lines are not numbered: the labels can
3376 * org.el (org-fontify-whole-heading-line): New option.
3377 (org-set-font-lock-defaults): Use the new option.
3379 * org-clock.el (org-show-notification-handler): New option.
3380 (org-show-notification): Use the new option.
3382 2009-08-06 Bastien Guerry <bzg@altern.org>
3384 * org.el (org-eval-in-calendar): Fix a bug about calendar
3385 navigation when `calendar-setup' value is 'calendar-only.
3387 2009-08-06 Bastien Guerry <bzg@altern.org>
3389 * org.el (orgstruct++-mode): Fix typo in docstring.
3390 (org-insert-link): Clean up: (or (...)) => (...)
3391 (org-insert-link): Use TAB for stored links completion.
3393 2009-08-06 Bastien Guerry <bzg@altern.org>
3395 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3396 building the list of targets.
3398 * org-remember.el (org-remember-delete-empty-lines-at-end): New
3400 (org-remember-handler): Use the new option.
3402 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
3404 * org.el (org-tags-sort-function): New option for sorting tags.
3405 (org-set-tags): Use the new option to sort tags.
3407 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3408 premature deletion of the data when using org-plot in a script.
3410 2009-08-06 Bastien Guerry <bzg@altern.org>
3412 * org-clock.el (org-clock-in-prepare-hook): New hook.
3413 (org-clock-in): Use this new hook.
3415 2009-08-06 Bastien Guerry <bzg@altern.org>
3417 * org.el (org-special-ctrl-a/e): Explicitely bind the value
3418 'reversed for this option to the "true line boundary first"
3420 (org-tags-match-list-sublevels): Document the 'indented value for
3423 * org-latex.el (org-export-latex-first-lines): Fix problem with
3424 publishing the region.
3426 * org-exp.el (org-export-format-source-code-or-example): Fix
3427 bad line numbering when exporting examples in HTML.
3429 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
3431 * org-colview.el (org-format-time-period): Formats a time in
3432 fractional days as days, hours, mins, seconds.
3433 (org-columns-display-here): Add special handling for SINCE and
3434 SINCE_IA to format for display.
3436 * org.el (org-time-since): Add a function to get the time since an
3438 (org-entry-properties): Add two new special properties: SINCE and
3439 SINCE_IA. These give the time since any active or inactive
3440 timestamp in an entry.
3441 (org-special-properties): Add SINCE, SINCE_IA.
3442 (org-tags-sort-function): Add custom declaration for tags
3444 (org-set-tags): Sort tags if org-tags-sort-function is set.
3446 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3448 * org-clock.el (org-clock-goto): Find hidden headlines as well.
3450 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3452 * org-plot.el (org-plot/add-options-to-plist): Add timeind
3455 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3457 * org-publish.el (org-publish-remove-all-timestamps): New function.
3458 (org-publish-all): Remove all timestamp files if `org-publish-all'
3459 is called with a prefix argument.
3461 * org-list.el (org-indent-item): Fix typo.
3462 (org-item-indent-positions): Normalize ordered bullet.
3464 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3466 * org-macs.el (org-set-local): Make a local variable, do not make
3467 the variable buffer-local!
3469 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3471 * org-exp.el (org-infile-export-plist): Read BIND lines.
3472 (org-install-letbind): New function.
3473 (org-export-as-org, org-export-preprocess-string): Call
3474 `org-install-letbind'.
3476 * org-list.el (org-list-demote-modify-bullet): New option.
3477 (org-first-list-item-p): Save point.
3478 (org-fix-bullet-type): New optional argument FORCE-BULLET.
3479 (org-indent-item): Honor `org-list-demote-modify-bullet'.
3480 (org-item-indent-positions): Return bullet types along with
3483 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3485 * org.el (org-show-entry): Hide drawers.
3487 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3489 * org-footnote.el (org-footnote-auto-adjust): New option.
3490 (org-footnote-auto-adjust-maybe): New function.
3491 (org-footnote-new, org-footnote-delete): Call
3492 `org-footnote-auto-adjust-maybe'.
3494 * org.el (org-startup-options): Add new footnote-related
3497 * org-publish.el (org-publish-timestamp-filename): Additional
3498 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3499 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3500 TRUE-PUB-DIR. Pass them through to
3501 `org-publish-timestamp-filename'.
3502 (org-publish-update-timestamp): Additional arguments PUB-DIR and
3503 PUB-FUNC, which are included in the hash.
3504 (org-publish-file): Delay timestamp test until the publishing
3507 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3509 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3510 setting the deadline.
3512 * org.el (org-read-date-final-answer): New variable.
3513 (org-read-date): Store the final answer string, including the date
3514 from the calendar, for reuse by agenda bulk commands.
3516 * org-publish.el (org-publish-attachment): Fix publishing of
3519 * org-latex.el (org-export-latex-quotation-marks): Fix export of
3520 quotation makrs in parenthesis.
3521 (org-remove-initial-hash): New function.
3522 (org-export-latex-preprocess): Fix bug with infinite loop if
3523 environment is not properly closed.
3525 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3528 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3529 highlight also when indented.
3531 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3533 * org-footnote.el (org-footnote-renumber-fn:N): New command.
3534 (org-footnote-action): Offer renumbering.
3536 * org.el (org-cycle): Honor the `integrate' value of
3537 org-cycle-include-plain-lists'.
3539 * org-list.el (org-cycle-include-plain-lists): New allowed value
3540 `internal'. Improve the docstring.
3542 * org.el (org-set-autofill-regexps): Improve the paragraph-start
3543 regexp to work better with LaTeX commands.
3545 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3547 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3550 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3552 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3555 * org.el (org-map-entries): No longer force
3556 `org-tags-match-list-sublevels' to t during a todo-only tags
3559 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3561 * org-latex.el (org-export-latex-low-levels): Allow user-defined
3563 (org-export-latex-subcontent): Handle user-defined environment.
3565 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3566 the View dispatcher.
3568 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3571 * org-latex.el (org-export-as-pdf): Protect match data during call
3572 to shell-quote-argument.
3574 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3575 (org-agenda-view-mode-dispatch): New function.
3577 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3579 * org-agenda.el (org-agenda-mode): Reset list of marks.
3580 (org-agenda-mode-map): Define new keys for refile and bulk action.
3581 (org-agenda-menu): Add menu itesm for refile and bulk action.
3582 (org-agenda-refile): New function.
3583 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3584 (org-agenda-marked-entries): New variable.
3585 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3586 (org-agenda-remove-all-bulk-action-marks)
3587 (org-agenda-bulk-action): New functions/commands.
3589 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3591 * org-exp.el (org-get-file-contents): Protect org-like lines in
3593 (org-export-format-source-code-or-example): Remove newlines.
3595 * org-latex.el (org-export-latex-links): Check for no-description
3598 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3599 argument separator back to comma.
3600 (org-export-normalize-links): Mark links without description.
3602 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3604 * org-exp.el (org-infile-export-plist): Fix bug in macro
3607 * org-agenda.el (org-agenda-clock-out): Update line after clocking
3609 (org-agenda-highlight-todo): Fix bug with highlighting.
3611 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3613 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3614 new alignment strings.
3616 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3618 (org-table-align): Check for forced align type.
3620 * org.el (org-self-insert-command): Add yas/expand to command
3623 * org-clock.el (org-clock-in-hook): New hook.
3624 (org-clock-in): Run `org-clock-in-hook.
3625 (org-clock-out-hook): New hook.
3626 (org-clock-out): Run `org-clock-out-hook.
3627 (org-clock-cancel-hook): New hook.
3628 (org-clock-cancel): Run `org-clock-cancel-hook.
3629 (org-clock-goto-hook): New hook.
3630 (org-clock-goto): Run `org-clock-goto-hook.
3632 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3634 * org.el (org-store-link): Better default description for link to
3637 * org-exp.el (org-export-generic): Autoload the generic exporter
3639 (org-export): Implement the `g' key for the generic exporter.
3641 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3643 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3646 * org-exp.el (org-infile-export-plist): Get macros also from
3649 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3651 * org-colview.el (org-columns-capture-view): Protect vertical bars
3653 (org-columns-capture-view): Exclude comment and archived trees.
3655 * org-colview-xemacs.el (org-columns-capture-view): Protect
3656 vertical bars in column values.
3657 (org-columns-capture-view): Exclude comment and archived trees.
3659 * org.el (org-quote-vert): New function.
3661 * org-latex.el (org-export-latex-verbatim-wrap): New option.
3663 * org-exp.el (org-export-format-source-code-or-example): Use
3664 `org-export-latex-verbatim-wrap'.
3666 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3669 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
3671 * org-exp-blocks.el: New file.
3673 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3675 * org-remember.el (org-remember-templates): Allow the headline
3676 element to be a function.
3677 (org-remember-apply-template): If the headline is a function, call
3678 it to get the true function.
3680 * org-clock.el (org-clock-menu): New function.
3681 (org-clock-update-mode-line): Update help string.
3682 (org-clock-modify-effort-estimate): New function.
3683 (org-clock-mark-default-task): New function.
3685 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3687 (org-org-menu): Add new clocking stuff.
3688 (org-clock-is-active): New function.
3690 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3692 * org.el (org-open-non-existing-files): Improve docstring.
3694 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3696 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3698 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3700 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3702 * org-list.el (org-get-checkbox-statistics-face): Use the new
3705 * org-faces.el (org-checkbox-statistics-todo)
3706 (org-checkbox-statistics-done): New faces.
3708 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3710 * org-latex.el (org-export-latex-use-verb): New variable.
3711 (org-export-latex-emph-format): Prefer \texttt over \verb when
3712 org-export-latex-use-verb is set.
3714 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3716 * org-remember.el (org-remember-handler): Abort remember if the
3719 * org-exp.el (org-export-format-source-code-or-example): Run
3720 `org-src-mode-hook'.
3722 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3724 * org.el (org-indent-line-function): Fix indentation of +#end lines.
3726 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
3728 * org-gnus.el (org-gnus-store-link): Require message.el in
3729 org-gnus-store-link.
3731 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3733 * org-src.el: New file, split out of org.el.
3735 * org-macs.el (org-replace-match-keep-properties): New function.
3737 * org-exp.el (org-export-mark-blockquote-verse-center): Better
3738 preprocessing of center and quote and verse blocks.
3740 * org-list.el (org-list-end): Respect the stored "original"
3741 indentation when determining the end of the list.
3743 * org-exp.el (org-export-replace-src-segments-and-examples):
3744 Remember indentation correctly.
3746 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3748 * org-clock.el (org-clock-update-mode-line): Apply face
3749 org-mode-line-clock.
3751 * org-faces.el (org-mode-line-clock): New face.
3753 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
3755 * org-gnus.el (org-gnus-store-link): Fix bug where
3756 `org-gnus-store-link' used wrong subject when called in an article
3757 buffer. Patch provided by fengli AT gmail DOT com.
3759 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3761 * org-exp.el (org-export-format-source-code-or-example): Remember
3762 the original indentation of source code snippets and examples.
3764 * org-latex.el (org-export-as-latex): Relocate the table of
3767 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3769 * org-agenda.el (org-run-agenda-series): Scope global options also
3770 when creating the agenda buffer.
3772 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3774 * org.el (org-adapt-indentation): Improve documentation.
3775 (org-insert-property-drawer): Respect org-adapt-indentation when
3776 inserting the drawer.
3777 (org-remove-flyspell-overlays-in): New function.
3778 (org-do-emphasis-faces, org-activate-plain-links)
3779 (org-activate-code, org-fontify-meta-lines-and-blocks)
3780 (org-activate-angle-links, org-activate-footnote-links)
3781 (org-activate-bracket-links, org-activate-dates)
3782 (org-activate-target-links, org-activate-tags): Remove flyspell
3785 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3787 * org.el (org-edit-src-save): New function.
3789 * org-clock.el (org-clock-out-switch-to-state): New option.
3790 (org-clock-out): Honor `org-clock-out-switch-to-state'.
3792 * org-compat.el (org-compatible-face): Improve macro.
3794 * org.el (org-global-properties-fixed): Add default for
3795 CLOCK_MODELINE_TOTAL.
3797 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3799 (org-clock-sum-current-item): Optional argument TSTART, pass it to
3801 (org-clock-get-sum-start): New function.
3803 * org.el (org-startup-options): New keywords blockhide and
3805 (org-mode): Add new invisibility spec.
3806 (org-set-startup-visibility): Hide block on startup if so
3808 (org-hide-block-startup): New option.
3809 (org-block-regexp): New constant.
3810 (org-hide-block-overlays): New variable.
3811 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3812 (org-show-block-all, org-hide-block-toggle-maybe)
3813 (org-hide-block-toggle): New functions.
3814 (org-edit-src-exit): Do not quote lines starting with # and no +
3816 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3819 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3821 * org.el (org-buffer-property-keys): Add Effort property for
3824 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3826 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3827 when retrieving total clocked time in the subtree.
3829 * org.el (org-quoting-blocks): New variable.
3831 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3833 * org-table.el (org-table-store-formulas)
3834 (org-table-get-stored-formulas, org-table-fix-formulas)
3835 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3836 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3838 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3839 indented #+TBLFM line.
3841 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3842 indented #+TBLFM line.
3844 * org-colview.el (org-dblock-write:columnview): Allow indented
3847 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3848 indented #+TBLFM line.
3850 * org-clock.el (org-dblock-write:clocktable): Allow indented
3853 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3855 * org-exp.el (org-export-format-source-code-or-example): Make
3856 editing indented blocks work correctly.
3858 * org.el (org-edit-src-nindent): New variable.
3859 (org-edit-src-code, org-edit-fixed-width-region)
3860 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3861 editing indented blocks work correctly.
3863 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3865 * org-exp.el (org-export-replace-src-segments-and-examples): Find
3867 (org-export-format-source-code-or-example): Fix indentation of
3869 (org-export-remove-indentation): New function.
3870 (org-export-select-backend-specific-text): Allow backend-specific
3871 code to be indented.
3872 (org-export-mark-blockquote-verse-center): Allow markers to be
3875 * org.el (org-fontify-meta-lines): New function.
3876 (org-set-font-lock-defaults): Call the new fontification
3879 * org-faces.el (org-meta-line): New face
3880 (org-block): New face.
3882 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3884 * org.el (org-treat-insert-todo-heading-as-state-change)
3885 (org-treat-S-cursor-todo-selection-as-state-change): New
3887 (org-insert-todo-heading): Honor
3888 `org-treat-insert-todo-heading-as-state-change'.
3889 (org-shiftright, org-shiftleft): Honor
3890 `org-treat-S-cursor-todo-selection-as-state-change'.
3891 (org-inhibit-logging): New variable.
3893 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3895 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3896 range for marker position checking.
3898 * org-latex.el (org-export-latex-first-lines): Fix bug when
3901 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3903 * org-exp.el (org-export-push-to-kill-ring): Protect using
3904 x-set-selection, because that does not always work.
3906 * org-agenda.el (org-agenda-list): Apply the new face
3907 `org-agenda-date-today'.
3909 * org-faces.el (org-agenda-date-today): New face.
3911 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3913 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3914 creating appointments.
3916 * org-latex.el (org-export-latex-low-levels): Fix customization
3919 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3922 * org-agenda.el (org-agenda-priority): Disable priority commands.
3924 * org.el (org-enable-priority-commands): New option.
3926 * org-colview-xemacs.el (org-columns-compute)
3927 (org-columns-number-to-string): Fix problems with empty fields.
3929 * org-colview.el (org-columns-compute)
3930 (org-columns-number-to-string): Fix problems with empty fields.
3932 * org-exp.el (org-export-push-to-kill-ring): New function.
3933 (org-export-copy-to-kill-ring): New option.
3935 * org-latex.el (org-export-as-latex): Call
3936 `org-export-push-to-kill-ring'.
3938 * org-exp.el (org-export-show-temporary-export-buffer): New
3941 * org-latex.el (org-export-as-latex): Use
3942 `org-export-show-temporary-export-buffer'.
3944 * org-exp.el (org-export-show-temporary-export-buffer): New
3946 (org-export-push-to-kill-ring): New function.
3948 * org-colview.el (org-columns-compile-map): New variable.
3949 (org-columns-new, org-columns-compute)
3950 (org-columns-number-to-string, org-columns-uncompile-format)
3951 (org-columns-compile-format): Implement new operators.
3953 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3955 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3957 * org-list.el (org-update-checkbox-count): Make property
3960 * org.el (org-hierarchical-todo-statistics): New option.
3961 (org-update-parent-todo-statistics): Modify to handle recursive
3964 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3966 * org-publish.el (org-publish): Make this function behave
3967 correctly in interactive use when called with a prefix argument.
3969 * org.el (org-todo-statistics-hook): New hook.
3970 (org-update-parent-todo-statistics): Use new hook.
3971 (org-log-into-drawer): New function.
3972 (org-add-log-setup): Use the new `org-log-into-drawer' function to
3973 determine if we should be logging into a drawer.
3974 (org-log-into-drawer): Update docstring.
3975 (org-default-properties): Add LOG_INTO_DRAWER as a property.
3977 * org-list.el (org-checkbox-statistics-hook): New hook.
3978 (org-update-checkbox-count-maybe): Use new hook.
3980 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3982 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3983 better bufer-generating mechanism.
3984 (org-edit-src-find-buffer): New function.
3986 * org-icalendar.el (org-print-icalendar-entries): Don't check for
3987 archive tag, this is already done by `org-agenda-skip'.
3988 data while constructing lost of tags.
3990 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3992 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3993 as argument separator in macros.
3995 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3997 * org.el (org-after-sorting-entries-or-items-hook): New hook.
3998 (org-sort-entries-or-items): Run the new hook.
3999 (org-after-refile-insert-hook): New hook.
4000 (org-refile): Run `org-after-refile-insert-hook'.
4002 * org-agenda.el (org-agenda-get-progress): Never take time of day
4003 from headline when displaying progress.
4005 * org-latex.el (org-export-latex-complex-heading-re): New variable.
4006 (org-export-as-latex): Force the correct regexp in the
4007 preprocessor buffer.
4008 (org-export-latex-set-initial-vars): Set
4009 `org-export-latex-complex-heading-re'.
4011 * org-agenda.el (org-agenda-start-with-log-mode): New option.
4012 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
4014 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4016 * org-latex.el (org-export-latex-tables-centered): New option.
4017 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
4019 * org-exp.el (org-export-as-org): New command.
4020 (org-export-as-org): New command.
4022 * org-publish.el (org-publish-org-to-org): New function.
4024 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4026 * org.el (org-yank): Just call `org-yank-generic'.
4027 (org-yank-generic): New function, containing the formaer
4028 functionality of `org-yank'.
4030 * org-latex.el (org-export-latex-not-done-keywords)
4031 (org-export-latex-done-keywords): New variables.
4032 (org-export-latex-todo-keyword-markup): New option.
4033 (org-export-latex-set-initial-vars): Remember the TODO keywords.
4034 (org-export-latex-keywords-maybe): Apply the TODO markup.
4036 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4038 * org-exp.el (org-infile-export-plist): Add more default macros.
4039 (org-export-preprocess-apply-macros): Process macro arguments.
4041 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4043 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
4045 (org-print-icalendar-entries): Respect the new value of
4046 `org-icalendar-include-todo'.
4048 * org.el (org-link-try-special-completion)
4049 (org-file-complete-link): New functions.
4050 (org-insert-link): Add special completion support for some link
4053 * org-bbdb.el (org-bbdb-complete-link): New function.
4055 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4057 * org-list.el (org-update-checkbox-count): Allow recursive
4059 (org-hierarchical-checkbox-statistics): New option.
4061 * org.el (org-cycle): Remove erraneous space character.
4063 * org-icalendar.el (org-icalendar-timezone): Initialize from
4066 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4068 * org.el (org-autoload): Fix autoloading of ascii export
4070 (org-modules): Add org-special-blocks.
4072 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4074 * org-icalendar.el (org-start-icalendar-file): Use the new option.
4075 (org-ical-timezone): New option.
4077 * org-exp.el (org-export-get-coderef-format): Use the description
4080 * org.el (org-sort-entries-or-items): Improve docstring, and make
4081 better implementation for time sorting.
4083 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4085 * org.el (org-edit-src-persistent-message): New option.
4086 (org-edit-src-code, org-edit-fixed-width-region): Use the new
4089 * org-clock.el (org-clock-insert-selection-line): Fix prefious
4092 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
4093 separate buffer instead of indirect buffer to edit source code.
4094 (org-edit-src-exit): Make this function work with the new setup.
4096 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
4097 are properly fontified before shown in the selection menu.
4099 * org.el (org-fontify-like-in-org-mode): New function.
4101 * org-latex.el (org-export-latex-links): Use the property list to
4102 retrieve the default image attributes.
4104 * org-exp.el (org-export-plist-vars): Add a new option.
4106 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4108 * org-exp.el (org-export, org-export-visible): Support ASCII
4110 (org-export-normalize-links): Do not protect the description if it
4111 is explicitly given.
4113 * org-list.el (org-reset-checkbox-state-subtree): Move here from
4115 (org-reset-checkbox-state-subtree): Call
4116 `org-reset-checkbox-state-subtree'.
4118 * org-remember.el (org-select-remember-template): For the
4119 selection of a valid template.
4121 * org-latex.el (org-export-region-as-latex): Supply the
4122 force-no-subtree argument.
4123 (org-export-as-latex): Provide better limits when exporting the
4124 first line. When exporting to string, we still want the first
4126 (org-export-latex-first-lines): New argument END, to force the end
4128 (org-export-region-as-latex): Use the property list.
4129 (org-export-as-latex):
4131 * org-colview-xemacs.el (org-columns-remove-overlays)
4132 (org-columns): Fix call to `local-variable-p'.
4134 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4136 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
4137 (org-export-latex-preprocess): Run the new hook.
4139 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
4140 (org-export-preprocess-string): Run the new hook.
4142 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4144 * org-macs.el (org-check-external-command): New defsubst.
4146 * org.el (org-mode-map): New key for reload.
4147 (org-format-latex): Better error message when external programs
4150 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
4152 * org.el (org-sort-entries-or-items): Explicit sorting function
4153 for priorities, needed for XEmacs compatibility.
4155 * org-remember.el (org-remember-apply-template): Improve auto-save
4158 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4160 * org-latex.el (org-export-latex-preprocess): Also protect
4161 environments ending in a star.
4163 * org-list.el (org-at-item-p): Fix regular expression.
4165 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4167 * org.el (org-end-of-subtree): Improve speed.
4169 * org-agenda.el (org-agenda-get-timestamps)
4170 (org-agenda-get-progress, org-agenda-get-deadlines)
4171 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
4172 in particular, wait as long as possible to collect the tags.
4173 (org-stuck-projects): Improve docstring.
4175 * org.el (org-store-link): No errors when getting custom id before
4177 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4179 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4181 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4183 * org-protocol.el: Remove dependency on url.el.
4184 (org-protocol-unhex-compound, org-protocol-open-source): Remove
4185 dependency on url.el.
4187 * org-latex.el (org-export-as-pdf): Use
4188 `org-latex-to-pdf-process'.
4190 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4192 * org-latex.el (org-latex-to-pdf-process): New option.
4194 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4196 (org-agenda-get-timestamps): Honor
4197 `org-agenda-skip-additional-timestamps-same-entry'.
4199 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4200 (org-clock-goto): Find recent task only if
4201 `org-clock-goto-may-find-recent-task' allows it.
4203 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4204 drawers, and drawers that are missing the :END: line.
4206 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4208 * org-clock.el (org-clock-goto): Go to recently clocked task if no
4211 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4213 * org.el (org-update-parent-todo-statistics): Check for
4214 STATISTICS_FROM property.
4216 * org-list.el (org-update-checkbox-count): Check for
4217 STATISTICS_FROM property.
4219 * org.el (org-tab-first-hook)
4220 (org-tab-after-check-for-table-hook)
4221 (org-tab-after-check-for-cycling-hook): New hooks.
4222 (org-cycle-internal-global, org-cycle-internal-local): New
4223 functions, split out from `org-cycle'.
4224 (org-cycle): Call the new hooks.
4226 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4228 * org-exp.el (org-export-preprocess-string): Reset the list of
4229 preferred targets for each run of the preprocessor.
4231 * org.el (org-refile-target-verify-function): Improve
4233 (org-get-refile-targets): Respect point being moved by the
4234 verification function.
4236 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4238 (org-export-latex-keywords): Use new option.
4240 * org.el (org-rear-nonsticky-at): New defsubst.
4241 (org-activate-plain-links, org-activate-angle-links)
4242 (org-activate-footnote-links, org-activate-bracket-links)
4243 (org-activate-dates, org-activate-target-links)
4244 (org-activate-tags): Place the rear-nonsticky properties at the
4247 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4249 * org-protocol.el (server-edit): Declare `server-edit'.
4250 (org-protocol-unhex-string, org-protocol-unhex-compound): New
4252 (org-protocol-check-filename-for-protocol): Call `server-edit'.
4254 * org.el (org-default-properties): New default properteis for
4257 * org-exp.el (org-export-add-subtree-options): Add new properties
4260 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4262 * org-id.el (org-id-get-with-outline-path-completion): Turn off
4263 org-refile-target-verify-function for the duration of the command.
4265 * org.el (org-link-to-org-use-id): New possible value
4266 `create-if-interactive-and-no-custom-id'.
4267 (org-store-link): Use custom IDs.
4268 (org-link-search): Find custom ID properties from #link.
4269 (org-default-properties): Add CUSTOM_ID for property completion.
4270 (org-refile-target-verify-function): New option.
4271 (org-goto): Turn off org-refile-target-verify-function
4272 for the duration of the command.
4274 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4276 * org-exp.el (org-export-preferred-target-alist): New variable.
4277 (org-export-define-heading-targets): Find the new CUSTOM_ID
4279 (org-export-target-internal-links): Target the custom ids when
4282 * org-latex.el (org-export-latex-preprocess): Better regexp for
4283 matching latex macros with arguments.
4285 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4287 * org-remember.el (org-remember-handler): Allow filing to non-org
4290 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
4292 * org-table.el (org-table-fix-formulas): Do not change references
4294 (org-table-get-remote-range): Convert standard coordinates to RC
4297 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4299 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4301 * org-compat.el (org-sha1-string): Function removed.
4303 * org.el (org-refile-allow-creating-parent-nodes): New option.
4304 (org-refile-get-location): New argument NEW-NODES.
4305 (org-refile): Call `org-refile-get-location' with the new
4307 (org-refile-get-location): Arrange for adding a new child.
4308 (org-refile-new-child): New function.
4310 * org-clock.el: Fix a number of docstrings.
4311 (org-clock-find-position): New argument
4312 FIND-UNCLOSED to make the function find an unclosed clock in the
4314 (org-clock-in): Call `org-clock-find-position' with the new
4315 argument if we might be resuming a clock.
4317 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4319 * org-latex.el (org-export-latex-display-custom-times): New variable.
4320 (org-export-latex-timestamp-markup): New option.
4321 (org-export-latex-set-initial-vars): Remember the local value of
4322 `org-display-custom-times'.
4323 (org-export-latex-content): Process time stamps.
4324 (org-export-latex-time-stamps): New function.
4326 * org-macs.el (org-maybe-intangible): Add intangible property
4327 again to invisible text.
4329 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4331 * org-exp.el (org-default-export-plist): Handle undefined
4334 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4336 * org.el (org-sort-entries-or-items): Match TODO keywrds
4337 case-sensitively, when sorting.
4338 (org-priority): Do not match TODO keywords with wrong case.
4340 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4342 * org.el (org-todo): Honor the NOBLOCKING property.
4344 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4345 NOBLOCKING property.
4347 * org.el (org-scan-tags): Fix bug in tag scanner.
4349 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4351 * org.el (org-modules): Mark obsolete packages.
4353 * org-html.el: New file, split out from org-exp.el.
4355 * org-icalendar.el: New file, split out from org-exp.el.
4357 * org-xoxo.el: New file, split out from org-exp.el.
4359 * org-ascii.el: New file, split out from org-exp.el.
4361 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4363 * org-compat.el (org-find-library-name): New function.
4365 * org.el (org-pre-cycle-hook): New hook.
4366 (org-cycle): Call the new hook in appropriate places.
4367 (org-reload): Only reload files that have been loaded before.
4369 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4371 * org.el (org-set-font-lock-defaults): Enforxe space or line end
4373 (org-todo): When changing TODO state, do matching
4375 (org-map-continue-from): New variable.
4376 (org-scan-tags): Respect values in `org-map-continue-from'.
4377 (org-reload): Make XEmacs compatible.
4379 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4381 * org-protocol.el (org-protocol-flatten-greedy): New function.
4382 (org-protocol-flatten): New function.
4384 * org.el (org-open-link-from-string): Pass reference buffer to
4385 `org-open-at-point'.
4386 (org-open-at-point): New optional argument `reference-buffer'.
4388 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4390 * org.el (org-scan-tags): Make tag scan find headline in first
4392 (org-get-refile-targets): Add the naked file name.
4393 (org-refile): Store as top-level entry when only file name was
4396 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4398 * org.el (org-block-todo-from-children-or-siblings-or-parent):
4399 Rename from org-block-todo-from-children-or-siblings, and
4400 enhanced to look for the parent's status as well.
4402 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4403 (org-agenda-get-progress): Add first notes line to log entry if so
4406 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4408 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4409 (org-agenda-cleanup-fancy-diary): Call the new hook.
4411 * org-remember.el (org-remember-apply-template): Take the default
4412 for the annotation from the :annotation property.
4414 * org-mac-message.el (org-mac-message-get-link): Remove the
4416 (org-mac-message-get-link): Return the result.
4418 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4420 * org.el (org-refile-get-location): Add file name only if not
4421 already included in outline path.
4423 * org-faces.el (org-n-level-faces): Fix customization type from
4426 * org-exp.el (org-export-headline-levels): Fix customization type
4427 from number to integer.
4429 * org-agenda.el (org-agenda-confirm-kill)
4430 (org-agenda-custom-commands-local-options)
4431 (org-timeline-show-empty-dates, org-agenda-ndays)
4432 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4433 customization type from number to integer.
4435 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4437 * org-protocol.el: Declare some functions.
4439 * org-agenda.el (org-agenda-compare-effort): Honor
4440 `org-sort-agenda-noeffort-is-high'.
4441 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4442 (org-agenda-compare-effort): Implement the "?" operator for
4443 finding entries without effort setting.
4445 * org.el (org-extract-attributes-from-string): New function.
4447 * org-exp.el (org-export-splice-attributes): New function.
4449 2009-08-06 Bastien Guerry <bzg@altern.org>
4450 Daniel M German <dmg@uvic.org>
4451 Sebastian Rose <sebastian_rose@gmx.de>
4452 Ross Patterson <me@rpatterson.net>
4454 * org-protocol.el: New file.
4456 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
4458 * org-docbook.el: New file.
4460 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4462 * org-mouse.el: XEmacs compatibility fixes.
4464 * org.el (org-modules): Add org-inlinetasks.el
4465 (org-cycle): Implement limiting level on cycling.
4466 (org-move-subtree-down): Fix bug with swapping subtrees at end of
4469 * org-inlinetask.el: New file.
4471 * org.el (org-emphasis-regexp-components): Allow braces in
4472 emphasis pre and post match.
4474 * org-footnote.el (org-footnote-normalize): When only dorting, do
4475 not insert inline notes at the end.
4477 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4479 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4481 * org.el (org-reftex-citation): New command.
4483 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4485 * org-agenda.el (org-agenda-cmp-user-defined): New option.
4486 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4488 (org-entries-lessp): Apply the new sorting option.
4490 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4491 blocker code, when an older sibling has children.
4493 * org-mac-message.el (org-mac-message-get-link): Improve getting
4494 links from multiple selected messages.
4496 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4498 * org-remember.el (org-remember-finalize): Do not set buffer file
4500 (org-remember-handler): Mark buffer as unmodified.
4501 (org-remember-handler): Delete backup file and show message about
4502 remaining backup files.
4503 (org-remember-auto-remove-backup-files): New option.
4505 * org.el (org-store-link): Use buffer name as link description in
4507 (org-ido-switchb): Fix argument bug for completion.
4509 * org-remember.el (org-remember-apply-template): Set local
4510 variable `auto-save-visited-file-name' instead of global one.
4512 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4514 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4515 (org-agenda-get-todos): Mark file tags as inherited.
4516 (org-agenda-list): Always search diary lines for a time.
4518 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4520 * org-feed.el: New file.
4522 * org-exp.el (org-export-as-html): Close local lists depending on
4523 indentation, also when starting a table.
4525 * org-remember.el (org-remember-backup-directory)
4526 (org-remember-backup-name): New internal variable.
4528 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4530 * org-clock.el (org-clock-out-if-current): Make buffer detection
4531 work in indirect buffers as well.
4533 * org.el (org-emphasis-regexp-components): Add the exxclamation
4534 mark to the post-emphasis characters.
4536 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4538 * org.el (org-read-date-minibiffer-septup-hook): New hook.
4539 (org-read-date): Run the new hook.
4541 * org-mac-message.el (org-mac-flagged-mail): New group.
4542 (org-mac-mail-account): New variable.
4543 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4546 * org-remember.el (org-remember-backup-directory): New variable.
4547 (org-remember-apply-template): Write file to backup directory.
4549 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4551 * org-mouse.el (org-mouse-todo-menu): New function.
4552 (org-mouse-todo-keywords): Function removed.
4553 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4555 * org-table.el (org-table-beginning-of-field)
4556 (org-table-end-of-field): New commands
4557 (org-table-previous-field, org-table-beginning-of-field): Better
4559 (orgtbl-setup): Include `M-a' and `M-e'.
4561 * org.el (org-backward-sentence, org-forward-sentence): New
4564 * org-colview.el (org-colview-initial-truncate-line-value): New
4566 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4567 (org-columns): Remember the value of `truncate-lines'.
4569 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4571 (org-columns-remove-overlays): Restore the value of
4573 (org-columns): Remember the value of `truncate-lines'.
4575 * org.el (org-columns-skip-arrchived-trees): New option.
4577 * org-agenda.el (org-agenda-export-html-style): Define color for
4578 org-agenda-done face.
4579 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4580 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4582 * org.el (org-scan-tags): Use the new face.
4584 * org-faces.el (org-agenda-done): New face.
4586 * org.el (org-scan-tags): Test the value org
4587 `org-tags-match-list-sublevels'.
4588 (org-tags-match-list-sublevels): New allowed value: indented.
4590 * org-latex.el (org-export-latex-make-header): Apply macros
4593 * org-exp.el (org-export-apply-macros-in-string): New function.
4595 * org-latex.el (org-export-latex-list-parameters): Fix bug
4596 with the definition of a checked box.
4598 * org-clock.el (org-clock-find-position): Fix drawer indentations.
4600 * org-latex.el (org-export-latex-low-levels): More options
4601 for how to process lower levels in LaTeX.
4602 (org-export-latex-subcontent): Better treatment for lists as a
4603 means of publishing lower levels.
4605 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4607 * org.el (org-set-font-lock-defaults): Use new checkbox face.
4609 * org-faces.el (org-checkbox): New face.
4611 * org-exp.el (org-export-html-preprocess): Only create LaTeX
4612 fragement images if there is an export file.
4614 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4616 * org-agenda.el (org-stuck-projects): Document that the subtree of
4617 projects that are not stuck will now be searched for stuck
4619 (org-agenda-skip-entry-when-regexp-matches)
4620 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4621 (org-agenda-list-stuck-projects): Use
4622 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4624 * org-latex.el (org-export-latex-preprocess): Improve
4627 * org-exp.el (org-export-as-html): Implement centering as a div
4628 rather than a paragraph. Do a better job with line-end in verse
4631 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4633 * org.el (org-open-at-point): Fix tags searches by mouse click.
4635 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4637 * org-latex.el (org-export-latex-preprocess): Implement the
4640 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
4641 from `org-export-mark-blockquote-and-verse'.
4642 (org-export-as-html): Implement the centering markup.
4644 * org-latex.el (org-export-latex-tables): Fix vertical
4647 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4649 * org.el (org-read-date-history): New variable.
4650 (org-read-date): Use new history variable.
4651 (org-toggle-heading): Fix bug when used before first headline.
4652 (org-store-log-note): Remove drawer if empty while note is
4654 (org-remove-empty-drawer-at): New function.
4655 (org-check-after-date): New command.
4656 (org-sparse-tree): New sparse tree command "a".
4658 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4660 2009-08-06 Bastien Guerry <bzg@altern.org>
4662 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4663 column and a space, not only a column.
4665 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4667 * org-latex.el (org-export-latex-emphasis-alist): Better
4668 defaults for verbose emphasis.
4669 (org-export-latex-emph-format): New function.
4670 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4672 * org-agenda.el (org-agenda-menu): Add new commands to menu.
4673 (org-agenda-do-date-later, org-agenda-do-date-earlier)
4674 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4675 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4678 * org.el (org-timestamp-change): Move end-time along with start
4681 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4683 * org-exp.el (org-export-target-internal-links)
4684 (org-export-as-html): Protect links specified as #name.
4686 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4688 * org.el (org-clone-subtree-with-time-shift): New command.
4690 * org-latex.el (org-export-latex-special-chars)
4691 (org-export-latex-treat-sub-super-char): Fix subscript export.
4693 * org-exp.el (org-create-multibrace-regexp): Do not add
4694 backslashes to the class.
4696 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4698 * org-colview.el (org-columns-map): Better functions for moving up
4699 and down a row, even if `truncate-line' is nil.
4701 * org.el (org-insert-todo-heading): Make sure the keyword is
4702 inserted at the correct position.
4704 * org-publish.el (org-publish-project-alist)
4705 (org-publish-projects, org-publish-org-index): Change default anme
4706 for the index of file names to "sitemap.org".
4708 * org-latex.el (org-export-latex-tables): Use
4709 `org-split-string', for Emacs 21 compatibility.
4711 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4713 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4715 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4717 * org-exp.el (org-export-page-description)
4718 (org-export-page-keywords): New variables.
4719 (org-export-plist-vars): Add entries for :keywords and
4721 (org-infile-export-plist): Parse for new keywords.
4722 (org-get-current-options): Add new keywords
4723 (org-export-as-html): Publish description and keywords.
4725 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4727 (org-agenda-add-entry-text): Honor
4728 `org-agenda-add-entry-text-descriptive-links'.
4730 * org-latex.el (org-export-latex-preprocess): Make all
4731 external preprocess functions use a PARAMETER arg.
4733 * org-exp.el (org-export-preprocess-string)
4734 (org-export-select-backend-specific-text)
4735 (org-export-format-source-code-or-example)
4736 (org-format-org-table-html): Support docbook export.
4737 (org-export-preprocess-string): Make all external preprocess
4738 functions use a PARAMETER arg.
4740 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4742 * org-exp.el (org-export-html-style-include-scripts): New option.
4743 (org-export-plist-vars): Add new option
4744 `org-export-html-style-include-scripts'.
4745 (org-export-as-html): Honor new option
4746 `org-export-html-style-include-scripts'.
4747 (org-export-html-scripts, org-export-html-style-default): Fix
4748 xml issues with the Safari browser.
4750 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4752 * org-publish.el (org-publish-attachment): Only copy file when the
4755 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4757 * org-clock.el (org-clocktable-steps): Use inactive time stamps
4758 for clocktable steps.
4760 * org.el (org-additional-option-like-keywords): Add two more
4763 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4765 * org-exp.el (org-export-format-source-code-or-example): Mark
4766 temporary buffer unmodified, so that it will be killed even if
4767 mode like message mode has decided to assign a file name.
4769 * org.el (org-scan-tags): Improve tag inheritance.
4770 (org-scan-tags, org-make-tags-matcher): Make tag comparison
4772 (org-scan-tags): Use the internal tags list instead of creating it
4774 (org-trust-scanner-tags, org-scanner-tags): New variables.
4775 (org-scan-tags): Set `org-scanner-tags'.
4776 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4777 (org-map-entries): Document the possible speedup using scanner
4780 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4782 * org.el (org-add-planning-info): Fix bug with looking for keyword
4785 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4786 option for tags filter preset.
4787 (org-prepare-agenda): Store filter preset as a property on the
4789 (org-finalize-agenda): Call the filter, if there is a preset.
4790 (org-agenda-filter-by-tag): Filter again after clearing the
4791 filter, when there still is a preset.
4792 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4793 Include the preset filter.
4794 (org-agenda-redo): Apply the filter again, also the preset filter.
4796 * org-exp.el (org-export-as-html): Use IDs in the correct way.
4798 * org.el (org-uuidgen-p): New funtion.
4800 * org-agenda.el (org-agenda-fontify-priorities): New default value
4802 (org-agenda-fontify-priorities): Rename from
4803 org-fontify-priorities.
4805 * org.el (org-set-font-lock-defaults): Call
4806 `org-font-lock-add-priority-faces'.
4807 (org-font-lock-add-priority-faces): New function.
4809 * org-faces.el (org-set-tag-faces): New option.
4810 (org-priority-faces): New variable.
4812 * org-exp.el (org-export-as-html): Add a "content" div around the
4813 entire content of the body tag.
4814 (org-export-html-get-bibliography): New function.
4815 (org-export-html-validation-link): New variable.
4816 (org-export-as-html): Add validation link to exported page.
4818 * org.el (org-match-sparse-tree): Rename from
4819 `org-tags-sparse-tree'.
4820 (org-tags-sparse-tree): New alias.
4822 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4824 * org.el (org-get-valid-level): Catch the case where the level
4827 * org-clock.el (org-clock-find-position): Better indentation of
4830 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4832 * org-agenda.el (org-agenda-quit): Delete window only when the
4833 frame-setup was not `current-window'.
4835 * org.el (org-tag-persistent-alist): New option.
4836 (org-startup-options): Add keyword `noptag'.
4837 (org-fast-todo-selection): Handle :newline correctly.
4838 (org-set-tags): Handle :newline correctly.
4839 (org-fast-tag-selection): Handle :newline correctly.
4841 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4843 * org-exp.el (org-export-as-ascii): Reverse link buffer before
4845 (org-export-ascii-push-links): Fix bug with pussing links into the
4848 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4850 * org-archive.el (org-archive-subtree): Do not add 1 to level if
4851 pasting at top level.
4853 * org-bbdb.el: Improve documentation.
4855 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4857 * org-list.el (org-insert-item): Only consider insert empty lines
4858 is `org-empty-line-terminates-plain-lists' is not nil.
4860 * org.el (org-blank-before-new-entry): Mention the dependence on
4861 `org-empty-line-terminates-plain-lists' in the docstring.
4863 * org-publish.el (org-publish-get-project-from-filename): New
4864 optional argument UP. Only find the top project if UP is set.
4865 (org-publish-current-project): Find the top encloding project.
4867 * org-agenda.el (org-agenda-before-write-hook)
4868 (org-agenda-add-entry-text-maxlines): New options.
4869 (org-write-agenda): Run the new hook in the temporary buffer.
4870 (org-agenda-add-entry-text): New function.
4871 (org-write-agenda): Implement PDF export, using ps2pdf.
4873 * org.el (org-global-properties-fixed, org-global-properties):
4874 Improve documentation string.
4876 * org-exp.el (org-export-ascii-links-to-notes): New option.
4877 (org-export-as-ascii): Handle links better.
4878 (org-export-ascii-wrap, org-export-ascii-push-links): New
4881 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4883 * org-agenda.el (org-agenda): Make prefix arg optional.
4884 (org-agenda-search-headline-for-time): New option.
4885 (org-format-agenda-item): Honor
4886 `org-agenda-search-headline-for-time'.
4888 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4891 * org.el (org-self-insert-cluster-for-undo): New option.
4892 (org-self-insert-command): Cluster undo for 20 characters.
4893 (org-self-insert-command-undo-counter): New variable.
4895 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4897 * org-exp.el (org-export-as-html): Fix problem with closing colone
4900 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4902 * org-latex.el (org-export-as-latex)
4903 (org-export-latex-first-lines): Avoid modification flag when
4904 adding or removing text properties.
4905 (org-export-latex-fontify): Catch error when org-emph-alist has
4906 entries that are not defined for LaTeX export.
4908 * org-export-latex.el: renamed to org-latex.el.
4910 * org-latex.el: renamed from org-export-latex.el.
4912 * org.el (orgstruct++-mode): New function.
4913 (turn-on-orgstruct++): Call `orgstruct++-mode'.
4914 (org-context-p): Allow detecting item context after the first line
4916 (orgstruct-make-binding): Detect if item-body context should be
4918 (orgstruct-is-++): New variable.
4919 (org-add-planning-info): Catch the case when there is no planning
4920 info yet and the call does not want to add anything, only maybe
4921 tries to remove something.
4922 (org-special-ctrl-a/e): All value to be a cons cell with separate
4923 settings for `C-a' and `C-e'.
4924 (org-beginning-of-line, org-end-of-line): Honor separate values
4925 for `C-a' and `C-e'.
4927 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4929 * org.el (org-reload): New command.
4931 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
4933 * org-gnus.el (org-gnus-store-link): Fix bug where
4934 org-gnus-store-link used wrong subject when called in an article
4935 buffer. Patch provided by fengli AT gmail DOT com.
4937 2009-03-13 D. Goel <deego3@gmail.com>
4939 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
4940 replace ls by (values-list ls).
4942 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
4944 * org-remember.el (org-remember-apply-template): Turn off ido for
4947 * org.el (org-priority): Also find invisible headings, for remote
4949 (org-completing-read-no-ido): New function.
4950 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
4952 * org-colview.el (org-columns-edit-value): No special treatment of
4955 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
4957 * org.el (org-block-todo-from-children-or-siblings): Use
4958 `org-up-heading-all' so that this will work correctly with hidden
4959 property drawers and entries.
4960 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4961 falling back to normal, default command.
4962 (org-get-location): Temporarily turn off special behavior.
4964 2009-02-13 Glenn Morris <rgm@gnu.org>
4966 * org-rmail.el (rmail-show-message): Restore argument list to the
4967 declaration now that this functions behaves in Emacs 23 as in 22.
4969 2009-02-12 Glenn Morris <rgm@gnu.org>
4971 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
4973 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
4975 * org-footnote.el (org-footnote-action): Fix doc typo.
4977 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
4979 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
4980 text before first headline.
4981 (org-export-remove-or-extract-drawers): Fix regular expression for
4984 * org.el (org-format-latex): Stop LaTeX fragment processing in
4987 2009-02-05 Glenn Morris <rgm@gnu.org>
4989 * org-rmail.el (rmail-show-message): Update declaration.
4990 (rmail-buffer, rmail-view-buffer): Declare.
4991 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
4993 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
4995 * org.el (org-return-follows-link): Revert setting
4996 `org-return-follows-link' to t by default.
4998 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
5000 * org.el (org-cycle-global-at-bob): Fix typo.
5002 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
5004 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
5006 * org.el (org-mode): Make dependence stuff work more reliably.
5007 (org-update-parent-todo-statistics): Fix bug with updating
5009 (org-yank-adjusted-subtrees, org-return-follows-link)
5010 (org-use-fast-todo-selection, org-tags-column): New default
5011 setting for variables.
5013 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
5014 ~ as verbatim delimiters, to avoid table bug.
5015 (org-export-latex-classes): Remove the a4paper option from the
5018 * org-exp.el (org-export-html-format-image): New argument
5019 PAR-OPEN, to fix XHTM validation bug.
5020 (org-export-as-html): Pass par-open to
5021 `org-export-html-format-image'.
5022 (org-export-html-footnotes-section): Use a more consistent id for
5025 * org-agenda.el (org-agenda-sorting-strategy)
5026 (org-agenda-tags-column): New default setting for variables, based
5027 on a poll what typical uses use.
5028 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
5029 setting the blocked tag.
5031 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
5033 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
5034 only checking for blocks.
5036 * org-exp.el (org-export-html-footnotes-section): Make the div id
5039 * org-export-latex.el (org-export-latex-classes): Remove
5040 paper size option from LaTeX classes.
5042 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
5044 * org.el (org-enforce-todo-checkbox-dependencies): New option.
5045 (org-block-todo-from-checkboxes): New function.
5046 (org-todo): Make tripple prefix arg circumvent blocking.
5048 2009-01-30 Glenn Morris <rgm@gnu.org>
5050 * org-list.el (org-empty-line-terminates-plain-lists)
5051 (org-toggle-checkbox): Doc fixes.
5053 * org-table.el (org-table-clean-before-export): Fix declaration.
5055 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
5057 * org-timer.el (org-timer): Provide the timer feature.
5059 * org.el (org-require-autoloaded-modules): Add a few more files to
5060 the list of autoloaded modules.
5062 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5064 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5065 drawers that are unprotected.
5066 (org-export-html-format-image): Make sure inlined LaTeX fragment
5067 images remain inlined.
5069 * org.el (org-toggle-ordered-property): New function.
5070 (org-mode-map): Add a key for `org-toggle-ordered-property'.
5071 (org-org-menu): Add menu entries for TODO dependencies.
5073 * org.el (org-default-properties): Add ORDERED to the default
5074 properties, to get completion support for it.
5076 * org-list.el (org-update-checkbox-count): Update more than one cookie.
5078 * org.el (org-update-parent-todo-statistics): Update more than one
5081 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
5083 * org-agenda.el (org-agenda-get-todos): Start search from correct
5086 * org.el (org-fast-todo-selection): Make sure TODO selection does
5087 not change buffer position.
5089 * org-list.el (org-toggle-checkbox): Implement adding or removing
5090 checkboxes from line or region when called with a prefix
5093 * org-rmail.el (org-rmail-store-link): Protect the call to
5094 `rmail-narrow-to-non-pruned-header'.
5096 * org-clock.el (org-clock-special-range): Fix week display in
5099 * org-exp.el (org-get-current-options): Fix bug when in indirect
5102 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5103 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5104 (org-agenda-dim-blocked-tasks): New function.
5106 * org.el (org-enforce-todo-dependencies): New option.
5107 (org-block-todo-from-children-or-siblings): New function.
5109 * org-faces.el (org-agenda-dimmed-todo-face): New face.
5111 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
5113 * org.el (org-todo): Return correct state type even if the blocker
5115 (org-modifier-cursor-error): Rename from
5116 `org-shiftcursor-error'.
5117 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5118 (org-shiftmetadown): Call `org-modifier-cursor-error'.
5120 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5121 to get real errors from the blocker hook.
5123 * org.el (org-shiftselect-error, org-call-for-shift-select): New
5125 (org-set-visibility-according-to-property): Turn off the setting
5126 of `org-show-entry-below', to avoid overruling a FOLDED visibility
5129 * org.el (org-support-shift-select): New option.
5130 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5131 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5132 selection outside contexts.
5134 * org-list.el (org-at-item-bullet-p): New function.
5136 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5139 * org-footnote.el (org-footnote-normalize): Remove unnecessary
5141 (org-insert-footnote-reference-near-definition): Remove
5142 unnecessary let form.
5144 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
5146 * org-export-latex.el (org-export-as-latex): Call
5147 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
5148 (org-export-latex-first-lines): New parameter OPT-PLIST.
5150 * org.el (org-yank): Tell `delete-selection-mode' about
5153 * org-faces.el (org-clock-overlay): Fix face definition.
5155 * org-export-latex.el (org-export-latex-first-lines): Pass
5156 timestamp and footnote parameters to the preprocessor.
5158 * org-exp.el (org-export-remove-timestamps): Do not remove time
5159 stamps inside tables.
5161 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5163 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5165 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5168 * org-table.el (org-table-insert-hline): Fix typo in fuction call
5171 * org-exp.el (org-export-as-html): Remove the initial space from
5174 * org.el (org-scan-tags): Call
5175 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5177 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5178 customization groups.
5179 (org-agenda-tags-todo-honor-ignore-options): New option.
5180 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5182 (org-agenda-get-todos): Use
5183 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5185 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5187 * org-exp.el (org-export-format-source-code-or-example): Escape
5188 HTML characters also in examples that anre not treated with
5189 htmlize. Also, just switch to EXAMPLE processing if we do not
5190 have a good version of htmlize.
5192 * org-rmail.el: Fix copyright notice.
5194 * org.el (org-activate-footnote-links): Improve footnote link
5197 * org-footnote.el (org-footnote-normalize): Fix finding the end of
5198 a footnote definition at the end of the file.
5200 * org-table.el (org-table-get-specials): Add an imagined hline at
5201 the end of the table. This can be useful for references that want
5202 to go to the end of the table. Also fix bug when computing last
5203 row constants, in tables that do not start right at the right
5205 (org-table-eval-formula): Match and replace remove references.
5206 (org-table-formula-substitute-names): Make sure that names inside
5207 a "remote" call are left alone, the will be replaced later when
5208 the remote call is handled.
5209 (org-table-convert-refs-to-rc): Do not convert things that might
5210 look like a reference, but are really part of an ID or namei n a
5212 (org-table-get-remote-range): New function.
5214 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5216 * org-faces.el (org-clock-overlay): Fix bug in face definition.
5218 * org-clock.el (org-clock-put-overlay): Use new face instead of
5219 `secondary-selection'.
5221 * org-faces.el (org-clock-overlay): New face.
5223 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5225 * org-exp.el (org-get-current-options): Include the option for
5226 publishing time stamps.
5228 * org.el (org-toggle-heading): Rename from
5229 `org-toggel-region-headings'.
5230 No longer needs a region defined, but will use it if there is one.
5231 (org-ctrl-c-star): Simplify, relying more on the internal
5232 workings of `org-toggle-heading'.
5233 (org-toggle-item): Rename from `org-toggle-region-items'.
5234 No longer needs a region defined, but will use it if there is one.
5235 (org-ctrl-c-minus): Simplify, relying more on the inernal
5236 workings of `org-toggle-item'.
5238 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5239 environment detection. Also, do real changes only in unprotected
5242 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5244 * org-export-latex.el (org-export-latex-quotation-marks): Use
5245 `org-if-unprotected-1'.
5246 (org-export-latex-set-initial-vars): Check for class definition in
5249 * org-macs.el (org-if-unprotected-1): New macro.
5251 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5253 * org-compat.el (org-count-lines): New function.
5255 * org-exp.el (org-export-format-source-code-or-example): Handle
5256 switches related to text areas.
5258 * org.el (org-activate-footnote-links): Don't allow match inside a
5261 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5263 * org-export-latex.el (org-export-latex-links): Keep a relative
5264 path relative also after export.
5266 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5268 * org.el (org-make-tags-matcher): Never use IDO for completing the
5269 tags matcher match string.
5270 (org-completing-read): Also remove the special biding for "?".
5272 * org-attach.el (org-attach-allow-inheritance): New option.
5273 (org-attach-inherited): New variable.
5274 (org-attach-dir): Handle properties related to the attachment
5276 (org-attach-check-absolute-path): New function.
5277 (org-attach-set-directory, org-attach-set-inherit): New commands.
5278 (org-attach): Accommodate the new commands in the dispatcher.
5280 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5282 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5283 `window-full-width-p'.
5285 * org-exp.el (org-export-as-html): Only check for images files
5286 that really can be inlined.
5288 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5289 list of extensions to be a parameter.
5291 * org-exp.el (org-export-html-inline-image-extensions): New
5294 * org-agenda.el (org-prepare-agenda): Use
5295 `org-agenda-block-separator'.
5296 (org-agenda-block-separator): New option.
5298 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5300 * org-export-latex.el (org-export-latex-tables): Call
5301 `org-table-clean-before-export' with the new optional argument.
5303 * org-exp.el (org-table-clean-before-export): New optional
5304 parameter MAYBE-QUOTED, allows for quoted characters like \# in
5307 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5309 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5312 * org-colview.el (org-colview-construct-allowed-dates): Better
5313 error catching when a date/time property does not have allowed
5316 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5317 Better error catching when a date/time property does not have
5318 allowed values defined.
5320 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5322 * org.el (org-map-entries): Restore point and restriction after
5325 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5327 * org.el (org-time=, org-time<, org-time<=, org-time>)
5328 (org-time>=, org-time<>): Make sure both values are dates.
5330 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5332 * org-archive.el (org-extract-archive-heading): Allow %s for file
5333 name also in achive location heading.
5335 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5337 * org-archive.el (org-add-archive-files): Uniquify the list before
5340 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5342 * org-compat.el (org-fit-window-to-buffer): Use
5343 `window-full-width-p'.
5345 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5346 space after the colon in short examples.
5348 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5349 enforce a space after the colon. However, we also allow lines
5350 that are *only* a colon.
5351 (org-export-as-html): Enforce the space after the colon in short
5353 (org-export-preprocess-string): Do the colon example protection
5355 (org-export-remove-timestamps): Do not check for protection at the
5358 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5360 * org.el (org-format-latex-options): Add new matcher for single
5361 letters between dollars.
5362 (org-get-header): Function removed.
5363 (org-heading-components): New function.
5365 * org-exp.el (org-export-define-heading-targets): Record ID's also
5366 as alternative targets.
5367 (org-export-as-html): Interpret "id:" links to other files by
5368 preserving the relative path.
5370 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5373 * org-exp.el (org-export-normalize-links): Protect the main link,
5374 to avoid special character processing.
5376 * org-export-latex.el (org-export-latex-special-keyword-regexp):
5378 (org-export-latex-special-string-regexps): Variable removed.
5379 (org-export-latex-keywords): Use the new regexp.
5381 * org-exp.el (org-export-handle-include-files): Fetch switches and
5382 put them into the BEGIN statement.
5384 * org-timer.el (org-timer-mode-line-string): New variable.
5386 * org-clock.el (org-clock-mode-line-map): Rename from
5387 `org-clock-mode-map'.
5388 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
5389 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
5390 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
5391 (org-clock-remove-overlays): Rename from
5392 `org-remove-clock-overlays'.
5394 * org-timer.el (org-timer-pause-or-continue): Implement stopping
5395 and mode line display.
5396 (org-timer-stop): New command.
5397 (org-timer-seconds): Return correct time when timer is paused.
5398 (org-timer-mode-line-timer): New variable.
5399 (org-timer-set-mode-line, org-timer-update-mode-line): New
5402 * org.el (org-insert-heading): Handle new value `auto' for
5403 `org-blank-before-new-entry'.
5404 (org-org-menu): Add new items for timer functions.
5406 * org-list.el (org-insert-item): Handle new value `auto' for
5407 `org-blank-before-new-entry'.
5409 * org.el (org-blank-before-new-entry): New value `auto', made
5412 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5414 * org-exp.el (org-export-normalize-links): If the link is also
5415 used as the description, protect the description.
5417 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5419 * org.el (org-closest-date): Fix bug with yearly repeats, in
5420 combination with preference of the past as it is used for deadline
5421 and scheduling search.
5423 * org-exp.el (org-html-handle-time-stamps): No longer check for
5424 the `org-export-with-timestamps' option, because the preprocesser
5425 has taken care of this already.
5427 * org.el (org-entry-properties): Catch the case when this is
5428 called in a non-org-mode file.
5430 * org-export-latex.el (org-export-latex-remove-from-headlines):
5431 Variable made obsolete, also LaTeX export now uses the standard
5433 (org-export-as-latex): Add the timestamps parameter to the
5434 preprocessor parameter list.
5435 (org-export-latex-content): Export the remaining keywords without
5436 considering to remove them.
5437 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5438 Use bold font instead of tt font for the keywords.
5439 (org-export-latex-fontify-headline): Format headlines, assuming
5440 that all keywords still present should be published.
5441 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5442 publish what ever remains of the time stamps.
5443 (org-export-latex-list-parameters): New option.
5444 (org-export-latex-lists): Pass additional parameters to the list
5447 * org-exp.el (org-export-preprocess-string): Remove clock lines
5448 and timestamps already in the preprocesor.
5449 (org-export-remove-timestamps, org-export-remove-clock-lines): New
5451 (org-export-as-ascii, org-export-as-html): Add the timestamps
5452 parameter to the preprocessor parameter list.
5454 * org-list.el (org-list-parse-list): Parse for checkboxes.
5455 (org-list-to-generic): Introduce and handle new parameters :cbon
5457 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5458 optional parameter PARAMS.
5460 * org-export-latex.el (org-export-latex-special-chars): Fix
5461 problems with interpreting dollar signs.
5462 (org-inside-latex-math-p): New function.
5463 (org-export-latex-preprocess): Protect all the math fragments.
5465 * org.el (org-latex-regexps): Allow a dash after a dollar.
5467 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5470 * org-agenda.el (org-run-agenda-series): Have series options set
5471 when finalizing the agenda.
5473 * org-exp.el (org-export-format-source-code-or-example): Protect
5474 the converted examples.
5476 * org.el (org-set-regexps-and-options): Fix the regexp
5477 `org-complex-heading-regexp'.
5479 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5481 * org.el (org-edit-src-get-label-format): New function.
5482 (org-coderef-label-format): New option.
5483 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5484 a label format specification and make sure it is used in the edit
5486 (org-edit-src-get-label-format): New function.
5487 (org-store-link): Handle new coderef formats.
5488 (org-link-search): Handle new coderef formats.
5490 * org-footnote.el (org-footnote-create-definition)
5491 (org-footnote-goto-local-insertion-point): Make footnote insertion
5492 work correctly when the "Footnotes" headline is the last line in
5495 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5498 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5500 * org-w3m.el (org-w3m): New customization group.
5501 (org-w3m-deactivate-mark): New option.
5502 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5505 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5507 * org.el (org-set-font-lock-defaults): Trigger footnote
5509 (org-activate-footnote-links): New function.
5510 (org-activate-links): New entry `footnote'.
5512 * org-faces.el (org-footnote): New face.
5514 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5516 * org-macs.el (org-re): Handle the [:word:] class.
5518 * org-exp.el (org-export-preprocess-string): Call
5519 `org-export-protect-colon-examples'.
5520 (org-export-protect-colon-examples): Rename from
5521 `org-export-protect-examples', and scope limited to lines starting
5524 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5526 * org-exp.el (org-export-preprocess-string): Move the preprocess
5527 hook to after turning on Org-mode.
5528 (org-export-preprocess-after-include-files-hook)
5529 (org-export-preprocess-after-tree-selection-hook)
5530 (org-export-preprocess-before-backend-specifics-hook)
5531 (org-export-preprocess-final-hook): New hooks.
5532 (org-export-preprocess-string): Run the new hooks.
5534 * org.el (org-ctrl-c-minus): Fix indentation for new items.
5536 * org-footnote.el: New file.
5538 * org.el (org-footnote): Require footnote code.
5539 (org-startup-options): Add new footnote options.
5540 (org-mode-map): New keybindig for footnotes.
5541 (org-ctrl-c-ctrl-c): Add function at footnotes.
5542 (org-org-menu): New menu entries for footnotes.
5544 * org-export-latex.el (org-export-as-latex): Pass footnote
5545 variable to preprocessor.
5546 (org-export-latex-preprocess): Treat multiple references to a
5549 * org-exp.el (org-export-preprocess-string): Call
5550 `org-footnote-normalize'.
5551 (org-export-as-ascii, org-export-as-html): Pass footnote variable
5553 (org-export-as-html): Treat multiple references to a footnote.
5555 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
5557 * org-export-latex.el (org-export-latex-links): Handle coderef
5560 * org.el (org-bracket-link-analytic-regexp++): New variable.
5561 (org-make-link-regexps): Initialize
5562 `org-bracket-link-analytic-regexp++'.
5563 (org-store-link): Implement special case in edit-src buffer.
5564 (org-insert-link): No use of ide to insert stored links.
5565 (org-link-search): Implement special case for coderefs.
5567 * org-exp.el (org-export-html-scripts): New constant.
5568 (org-export-html-style-default): Add a new style for highlighted
5570 (org-export-code-refs): New variable.
5571 (org-export-preprocess-string): Initialize `org-export-code-refs'.
5572 Call `org-export-replace-src-segments-and-examples'
5573 No longer call `org-export-protect-examples'.
5574 (org-export-target-internal-links): Take care of coderef targets.
5575 (org-export-last-code-line-counter-value): New variable.
5576 (org-export-replace-src-segments-and-examples): Rename from
5577 `org-export-replace-src-segments', and modified.
5578 (org-export-format-source-code-or-example): Rename from
5579 `org-export-format-source-code'.
5580 (org-export-number-lines): New function.
5581 (org-export-as-ascii, org-export-as-html): Handle coderef links.
5583 2009-01-23 Glenn Morris <rgm@gnu.org>
5585 * org-rmail.el (rmail-narrow-to-non-pruned-header):
5586 Remove declaration of deleted function.
5588 2009-01-16 Glenn Morris <rgm@gnu.org>
5590 * org-mouse.el (org-mouse-show-context-menu): Use
5591 mouse-menu-major-mode-map, if defined, rather than the obsolete
5592 mouse-major-mode-menu.
5594 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
5596 * org-remember.el (org-remember-handler): Safer way to get a new
5597 buffer accessing the target file.
5599 * org.el (org-refile-get-location): Handle case of current buffer
5600 not having a file associated with it.
5602 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
5604 * org-table.el (org-table-get-formula): Only ask to overwrite
5605 field formula if there really is one.
5607 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
5609 * org-export-latex.el (org-export-latex-make-header): Double the
5610 commenting % in the time stamp format.
5611 (org-export-latex-special-chars): Handle case where there is no
5614 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5616 * org.el (org-get-refile-targets, org-refile-get-location): Use
5617 expanded file name to improve comparison.
5619 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5621 * org.el (org-scan-tags): Rescan for tags, to get the correct
5622 upcase/downcase stuff. This slows things down for now, but it
5624 (org-mode): Make sure the tag-faces regexp is initialized.
5626 * org-export-latex.el (org-export-latex-links): Fix bug with
5629 * org-table.el (org-table-get-specials): Set
5630 `org-table-current-last-data-line'.
5631 (org-table-current-last-data-line): New variable.
5632 (org-table-insert-column, org-table-delete-column)
5633 (org-table-move-column, org-table-fix-formulas): Call
5634 `org-table-fix-formulas' a second time to fix the $LR references.
5635 (org-table-get-specials): Add the $LR references to the tables.
5636 (org-table-get-formula): Do not offer last-row names as LHS of
5639 * org.el (org-store-link): Capture link description from
5640 `org-id-store-link'.
5642 * org-exp.el (org-export-html-format-image): Add the / to the end
5644 (org-export-format-source-code): Surround example by empty lines,
5645 to make sure it will not be inside a paragraph.
5647 * org.el (org-ido-switchb): New function.
5649 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5651 * org-agenda.el (org-agenda-show): New prefix argument
5654 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5657 2008-12-20 Glenn Morris <rgm@gnu.org>
5659 * org.el (org-org-menu): Fix some more menu entries.
5661 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
5663 * org-table.el (org-table-get-specials): Revert introduction of @0
5664 as reference of the last table row, because of conflicts.
5666 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
5667 argument, get the current tags directly.
5668 (org-agenda-set-tags): Leave getting current tags to
5669 `org-agenda-change-all-lines'.
5671 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
5673 * org.el (org-org-menu): Do not quote the set-tags command.
5675 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
5677 * Fix typos in comments and docstrings throughout Org-mode.
5679 * org.el (org-get-outline-path): Fix bug if level is not given.
5681 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
5683 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5685 * org.el (org-refile): Avoid refiling to within the region to be
5688 * org-export-latex.el (org-export-latex-special-chars): Replace
5689 special characters also in tables.
5691 * org-agenda.el (org-agenda-change-all-lines): New argument
5693 (org-agenda-set-tags): Get the new tags and pass them to
5694 `org-format-agenda-item'.
5696 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5698 * org-export-latex.el (org-export-latex-classes): Add longable as
5699 a default package to all classes.
5700 (org-export-latex-tables): Handle the longtable attribute and the
5703 * org-table.el (orgtbl-to-generic): Handle tables that start with
5706 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5707 \verb for colde-like snippets.
5708 (org-export-as-latex): Fix issues with region export.
5710 * org.el (org-up-heading-safe): Speed up function by using a
5711 direct regexp search.
5712 (org-olpa): New variable.
5713 (org-get-outline-path): Speed-up path constructions in cases where
5714 this is possible because the entire hierarchy is scanned anyway.
5715 (org-refile-get-location): Don't compare the truenames of files,
5717 (org-goto-max-level): New option.
5718 (org-goto): Use `org-goto-max-level'.
5720 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
5722 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5723 Strip angle brackets from message-ids in the former and don't do
5725 (org-gnus-follow-link): Open summary reliable, even if the last
5726 messages were deleted, and handle empty groups, too.
5728 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5730 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5731 instead of \texttt for the =...= and ~===~ emphasis environments.
5732 (org-export-as-latex): Remove any old :org-license-to-kill text
5734 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5735 (org-export-latex-make-header): Add some hard space after the
5737 (org-export-latex-first-lines): Accept RBEG argument. Mark
5738 exported text so that it will be excuded in further steps.
5740 * org-table.el (org-table-get-specials): Make @0 reference the
5741 last line in a table.
5742 (org-table-recalculate): Improve docstring.
5744 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5746 * org.el (org-log-done): Fix docstring.
5748 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5750 * org-exp.el (org-export-html-format-image): Fix bugs.
5752 * org-export-latex.el (org-export-latex-tables)
5753 (org-export-latex-links): Implement attribute, label, and caption
5756 * org-exp.el (org-export-html-style-default): Add style
5757 definitions for the figure div.
5758 (org-export-preprocess-string, org-export-as-html): Implement
5759 attribute, label, and caption handling.
5760 (org-export-attach-captions-and-attributes): New function.
5761 (org-export-html-format-image): New function.
5762 (org-format-org-table-html): Implement attribute, label, and
5765 * org.el (org-find-text-property-in-string): New function.
5766 (org-extract-attributes): Use the property org-attr instead of
5767 org-attrobutes, because this property is now set with the #+ATTR
5770 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5772 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5773 the case that FROM is nil.
5775 * org.el (org-before-first-heading-p): New function.
5777 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5779 * org-exp.el (org-export-as-html): Do not add a space before
5780 enforces line breaks.
5781 (org-export-as-html): Close paragraph before blockquote and verse
5784 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5786 * org-id.el (org-id-locations-file): Wrap file name with
5787 `convert-standard-filename'.
5788 (org-id-files): New variable.
5789 (org-id-use-hash): New option.
5790 (org-id-update-id-locations): Also search in all files current
5791 listed in `org-id-files'. Convert the resulting alist to a hash
5792 if the user customation says so.
5793 (org-id-locations-save): Handle he case if `org-id-locations' is a
5795 (org-id-locations-load): Convert the alist to a hash.
5796 (org-id-add-location): Handle the hast case.
5797 (kill-emacs-hook): Make sure id locations are saved when Emacs is
5799 (org-id-hash-to-alist, org-id-alist-to-hash)
5800 (org-id-paste-tracker): New functions.
5802 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5804 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5805 bindings of calendar variables.
5807 * org-table.el (org-table-find-row-type): Rename from
5808 `org-find-row-type'.
5809 (org-table-rewrite-old-row-references): Rename from
5810 `org-rewrite-old-row-references'.
5811 (org-table-shift-refpart): Rename from `org-shift-refpart'.
5812 (org-table-cleanup-narrow-column-properties): Rename from
5813 `org-cleanup-narrow-column-properties'.
5815 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5817 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5818 for better error messages.
5819 (org-table-get-descriptor-line): Supply the new arguments to
5820 `org-find-row-type'.
5821 (org-table-error-on-row-ref-crossing-hline): New option.
5823 * org.el (org-target-link-regexp): Make buffer-local.
5824 (org-move-subtree-down): Fix bug with trees at beginning of
5827 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5829 * org-faces.el (org-set-tag-faces): New function.
5830 (org-tags-special-faces-re): New variable.
5832 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5834 * org-faces.el (org-tag-faces): New option.
5835 (org-tag): Mention `org-tag-faces' in the docstring.
5837 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5839 * org-exp.el (org-export-html-style-default): Implement new
5842 * org-jsinfo.el (org-infojs-template): Implement new quoting.
5844 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5845 command to the `w3m-minor-mode-map'.
5847 * org-archive.el (org-archive-to-archive-sibling): Protect
5848 `this-command' to avoid appending kills during archiving.
5850 * org-exp.el (org-export-with-priority): New variable.
5851 (org-export-add-options-to-plist): Use `org-export-plist-vars'
5852 instead of internal list of strings and properties.
5853 (org-print-icalendar-entries): Retrieve the location property with
5856 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5858 * org-exp.el (org-export-with-todo-keywords): New option.
5859 (org-export-plist-vars): Include also the keys for the #+OPTIONS
5861 (org-default-export-plist, org-export-add-options-to-plist)
5862 (org-export-as-ascii, org-export-as-html): Use the new structure
5863 of `org-export-plist-vars'.
5865 * org.el (org-map-entries): Return all values.
5867 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5869 * org.el (org-matcher-time): Recognize more special values.
5871 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5873 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5875 * org.el (org-tags-exclude-from-inheritance): New option.
5876 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5877 `org-tags-exclude-from-inheritance'.
5879 * org-agenda.el (org-agenda-show-inherited-tags): New option.
5880 (org-format-agenda-item): Add inherited tags to the agenda line
5881 string, and make sure that properties are kept when downcasing the
5883 (org-agenda-add-inherited-tags): New function.
5884 (org-downcase-keep-props): New function.
5886 * org.el (org-scan-tags): Mark inherited tags with a text
5888 (org-get-tags-at): Mark inherited tags with a text property.
5889 (org-add-prop-inherited): New function.
5891 * org-agenda.el (org-agenda-add-inherited-tags): New function.
5892 (org-agenda-show-inherited-tags): New option.
5894 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5896 * org.el (org-modules): Add org-w3m to the default modules.
5898 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5900 (orgtabl-create-or-convert-from-region): New command.
5902 * org-exp.el (org-export-as-ascii): Remove the handling of
5904 (org-export-ascii-preprocess): Handle targets already in this
5907 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5909 * org-timer.el (org-timer-start-time): Define this variable.
5910 (org-timer-item): Make argument optional.
5912 * org-list.el (org-insert-item): Automatically insert a timer item
5913 if the current list is a timer list.
5915 * org-timer.el: New file.
5917 * org-publish.el (org-publish-org-index): Only exclude the index
5918 file in the main directory from being added to the site-map.
5919 (org-publish-get-project-from-filename): If the current project is
5920 a component, start publishing from the parent project.
5922 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5924 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5926 * org-publish.el (org-publish-org-index): Improve removal of
5929 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5931 * org-agenda.el (org-get-closed): Re-apply changes
5932 accidentially overwritten by last commit to Emacs.
5934 * org.el (org-outline-path-complete-in-steps): New option.
5935 (org-refile-get-location): Honor
5936 `org-outline-path-complete-in-steps'.
5937 (org-agenda-change-all-lines, org-tags-sparse-tree)
5938 (org-time-string-to-absolute, org-small-year-to-year)
5939 (org-link-escape): Re-apply changes accidentially overwritten
5940 by last commit to Emacs.
5942 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5944 * org-clock.el (org-dblock-write:clocktable): Make sure the
5945 clocktable sees the first line.
5946 (org-clock-in): Warn if the clock cannot be resumed.
5948 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5950 * org.el (org-open-at-point): Fix mixup about interactive and
5951 non-interactive elisp links.
5953 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5955 * org-exp.el (org-export-preprocess-string): Allow one comment
5956 line before the first headline to always be included. This is
5957 to not miss a commented target.
5959 * org-mouse.el (org-mouse-insert-item): Call
5960 `org-indent-to-column' instead of `indent-to', for XEmacs
5963 * org.el (org-refile-targets): Fix customize definition so
5964 that it works also in XEmacs.
5965 (org-fixup-indentation): Call `org-indent-to-column' instead
5966 of `indent-to', for XEmacs compatibility.
5968 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5970 * org-mew.el (org-mew-store-link): Get the correct case folder
5971 for refiled messages.
5973 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5975 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5976 line break indicators.
5978 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5979 ido-completion propts.
5981 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5983 * org-remember.el (org-remember-apply-template): Use
5984 `org-substring-no-properties'.
5986 * org-compat.el (org-substring-no-properties): New function.
5988 * org-remember.el (org-remember-apply-template): Use
5989 `org-substring-no-properties' for compatibility.
5991 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5993 (org-fix-bullet-type): respect
5994 `org-list-two-spaces-after-bullet-regexp'.
5996 * org-clock.el (org-clock-load): Clean up the code.
5998 * org.el (org-adaptive-fill-function): Allow two spaces after
5999 "1." as a list bullet.
6001 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6003 * org-clock.el (org-clock-save, org-clock-load): Check for
6004 live buffers, existing files, and buffer file names to ensure
6005 consistent information.
6006 (org-clock-persist): Make `clock' a special value of this
6007 variable, and improve docstring.
6009 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6010 (org-get-string-indentation): Adapt indentation when the bullet
6013 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6015 * org-remember.el (org-remember-finalize): Make interactive.
6016 (org-remember-kill): New command.
6017 (org-remember-finish-immediately): Call `org-remember-finalize'
6019 (org-remember-finalize): Make `org-remember-finalize' an interactive
6022 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6024 * org-remember.el (org-remember-apply-template): No ido completion
6025 for free prompts in remember templates.
6026 (org-remember-before-finalize-hook): New hook.
6027 (org-remember-mode): New minor mode.
6028 (org-remember-apply-template): Turn on `org-remember-mode'.
6030 * org-remember.el (org-remember-apply-template): Fix the way how
6031 the list of allowed properties is retrieved from the target file.
6033 * org.el (org-insert-link): Improve file link matching.
6035 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6037 * org-colview.el (org-columns-display-here): New argument
6038 DATELINE, to trigger using the new face.
6039 (org-agenda-colview-summarize): Call `org-columns-display-here'
6040 with the new argument.
6042 * org-faces.el (org-agenda-column-dateline): New face.
6044 * org-publish.el (org-publish-org-index): Use index-title at page
6045 title, not as section.
6047 * org-exp.el (org-export-html-format-desc): Respect the
6048 org-protect property.
6049 (org-export-as-html): Protect image specifiers that are in the
6050 description part of a link.
6052 * org.el (org-sort-entries-or-items, org-completing-read)
6053 (org-refile-get-location, org-olpath-completing-read, org-todo)
6054 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6055 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6056 (org-set-property, org-delete-property)
6057 (org-delete-property-globally): Use `org-ido-completing-read'.
6059 * org-remember.el (org-remember-apply-template): Use
6060 `org-ido-completing-read'.
6062 * org-publish.el (org-publish): Use `org-ido-completing-read'.
6064 * org-colview.el (org-columns-edit-value, org-columns-new)
6065 (org-insert-columns-dblock): Use `org-ido-completing-read'.
6067 * org-colview-xemacs.el (org-columns-edit-value)
6068 (org-columns-new, org-insert-columns-dblock): Use
6069 `org-ido-completing-read'.
6071 * org-attach.el (org-attach-delete-one, org-attach-open): Use
6072 `org-ido-completing-read'.
6074 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6075 `org-ido-completing-read'.
6077 * org.el (org-time-today): New function.
6078 (org-matcher-time): Use `org-time-today'. Add special treatment
6079 for "<tomorrow>" and "<yesterday>".
6080 (org-ido-completing-read): New function.
6081 (org-completion-use-ido): New option.
6083 * org-exp.el (org-export-format-source-code): Fix bug in require
6085 (org-export-target-internal-links): Fix bug in search for text
6088 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6090 * org-export-latex.el (org-export-latex-subcontent): Interprete
6091 target aliases as additonal labels.
6093 * org-exp.el (org-export-target-aliases): New variable.
6094 (org-export-preprocess-string)
6095 (org-export-handle-invisible-targets): Fill the alias alist.
6096 (org-export-as-html): Remove the from the anchor, and also
6098 (org-html-level-start): Insert the target aliases as additonal
6101 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6104 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6106 * org.el (org-open-at-mouse): Ensure correct link abbreviations
6107 when following a link with the mouse from the agenda.
6109 * org-exp.el (org-export-as-html): Avoid lone </div> when no
6110 headlines are created.
6112 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6114 * org.el (org-link-translation-function): New option.
6115 (org-open-at-point): Call `org-link-translation-function' if
6117 (org-translate-link): New function.
6118 (org-translate-link-from-planner): New function.
6119 (org-open-at-point): Allow interactive commands in elisp links.
6121 * org-exp.el (org-icalendar-cleanup-string): Restore the old
6122 iCalendar quoting. The new one seems to caus problems with
6125 * org.el (org-yank): Set `this-command' to `yank', so that
6126 `yank-pop' will work.
6128 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6130 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6131 compliance as far as quoting is concerned.
6133 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6134 hexified version of the tag.
6136 * org-vm.el (org-vm-follow-link): Require `vm-search'.
6138 * org.el (org-up-heading-safe, org-forward-same-level): Always
6139 call `org-back-to-heading' instead of `outline-back-to-heading'.
6140 (org-back-to-heading): New wrapper around outline-back-to-heading,
6141 with a useful error message telling where the error happened.
6143 * org-list.el (org-update-checkbox-count): Always call
6144 `org-back-to-heading' instead of `outline-back-to-heading'.
6146 * org-exp.el (org-export-as-html): Make sure that each <img> tag
6147 has an `alt' attribute, to ensure XHTML validation.
6149 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
6151 * org-publish.el (org-publish-attachment): Allow publishing to
6152 overwrite attachment files.
6154 * org-agenda.el (org-agenda-timerange-leaders): New option.
6155 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6157 * org.el (org-edit-src-exit): Untabify ASCII image before
6160 2008-11-19 Glenn Morris <rgm@gnu.org>
6162 * org.el, org-mouse.el (org-agenda-change-all-lines):
6165 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
6167 * org.el ("speedbar"): Only show context if the file really is an
6170 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
6172 * org.el (org-time-string-to-absolute, org-small-year-to-year)
6173 (org-tags-sparse-tree): Fix typos in docstrings.
6175 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
6177 * org-publish.el (org-publish-attachment): Allow copy-file to
6180 2008-11-13 Glenn Morris <rgm@gnu.org>
6182 * org-agenda.el (org-get-closed): Fix alias.
6184 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
6186 * org.el (org-link-escape): Fix typo in docstring.
6188 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6190 * org.el (org-yank): Make any prefix force normal yanking.
6191 Suppress folding if text would be swallowed into a folded
6193 (org-yank-folded-subtrees, org-yank): Docstring updates.
6195 * org-agenda.el (org-agenda-compare-effort): Treat no effort
6198 * org-exp.el (org-export-language-setup): Add Catalan and
6199 Esperanto language entries.
6201 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6203 * org.el (org-refile): Allow refiling of entire regions.
6205 * org-clock.el (org-clock-time%): New function.
6207 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6208 retrieve property values.
6210 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6212 * org-agenda.el (org-agenda-list): Handle the value `only' of
6213 org-agenda-show-log'.
6214 (org-agenda-log-mode): Interpret a double prefix arg.
6216 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6218 * org-exp.el (org-export-html-footnotes-section): New variable.
6219 (org-export-as-html): Use `org-export-html-footnotes-section' to
6220 insert the footnotes.
6221 (org-export-language-setup): Add "Footnotes" to language words.
6223 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6225 * org.el (org-yank): Fix bug when not inserting a subtree.
6227 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6229 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6230 instead of `vm-beginning-of-message'.
6232 * org.el (org-make-link-regexps): Make sure that links to gnus can
6235 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
6237 * org-attach.el (org-attach-dir): Remove duplicate ID creation
6240 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6243 * org.el (org-link-abbrev-alist): Improve customization type.
6245 * org-attach.el (org-attach-expand-link, org-attach-expand): New
6248 * org-agenda.el (org-agenda-get-progress): Rename from
6249 `org-get-closed'. Implement searching for state changes as well.
6250 (org-agenda-log-mode-items): New option.
6251 (org-agenda-log-mode): New option prefix argument, interpreted as
6252 request to show all possible progress info.
6253 (org-agenda-get-day-entries): Call `org-get-progress' instead of
6255 (org-agenda-set-mode-name): Handle the more complex log mode
6257 (org-get-closed): New alias, pointing to `org-get-progress'.
6259 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6261 * org.el (org-file-apps-defaults-gnu)
6262 (org-file-apps-defaults-macosx)
6263 (org-file-apps-defaults-windowsnt): Add an entry defining the
6265 (org-file-apps): Allow `system' as key and value.
6266 (org-open-at-point): Explain the effect of a double prefix arg.
6267 (org-open-file): If the argument `in-emacs' is (16),
6268 i.e. corresponding to a double prefix argument, try to open the
6271 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6273 * org.el (org-insert-link): Abbreviate absolute files names in
6274 links. Also, fix a bug in which the double C-u prefix would not
6277 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6279 * org.el (org-insert-heading): If buffer does not end with a
6280 newline, add one if necessary to insert headline correctly.
6282 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6283 paragraphs, not inside.
6285 * org.el (org-todo): Quote
6286 `org-agenda-headline-snapshot-before-repeat'.
6288 * org-exp.el (org-export-as-html): Fully process link descriptions.
6289 (org-export-html-format-desc): New function.
6290 (org-export-as-html): Collect footnotes into the correct basket.
6291 (org-html-protect): No longer protect quotations marks here, this
6294 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6297 * org-compat.el (org-fit-window-to-buffer): New function (not
6298 really, a preliminary and incomplete version was present earlier,
6301 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6302 `org-fit-window-to-buffer'.
6304 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6306 * org-agenda.el (org-agenda-get-restriction-and-command)
6307 (org-fit-agenda-window, org-agenda-convert-date): Use
6308 `org-fit-window-to-buffer'.
6310 * org-exp.el (org-export-as-html): Process href links through
6311 `org-export-html-format-href'.
6312 (org-export-html-format-href): New function.
6314 * org-agenda.el (org-agenda-todo): Update only the current
6315 headline if this is a repeated TODO, marked done for today.
6316 (org-agenda-change-all-lines): New argument JUST-THIS, to change
6317 only the current line.
6319 * org.el (org-todo): Take a snapshot of the headline if the
6320 repeater might change it.
6322 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6324 * org-publish.el (org-publish-find-title): Remove buffers visited
6325 only for extracting the title.
6327 * org-exp.el (org-export-html-style)
6328 (org-export-html-style-default): Mark style definitions as
6331 * org-publish.el (org-publish-validate-link): Function
6334 2008-11-12 Charles Sebold <csebold@gmail.com>
6336 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6338 (org-plot-quote-timestamp-field): New function.
6339 (org-plot-quote-tsv-field): Call timestamp field function when
6340 necessary rather than just quoting as a string.
6341 (org-plot/gnuplot-to-data): Pass in timefmt property.
6342 (org-plot/gnuplot-script): Supports timefmt property.
6343 (org-plot/gnuplot): Checks for timestamp column before checking
6344 for text index column.
6346 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6348 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6350 * org-publish.el (org-publish-org-index): Create a section in the
6352 (org-publish-org-index): Stop linking to directories.
6354 * org.el (org-emphasis-alist): Use span instead of <u> to
6357 * org-exp.el (org-export-as-html): Make sure <p> is closed before
6360 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
6362 * org-jsinfo.el (org-infojs-template): Remove language attribute
6365 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6367 * org-agenda.el (org-agenda-remove-marked-text): New function.
6368 (org-agenda-mark-filtered-text)
6369 (org-agenda-unmark-filtered-text): New functions.
6370 (org-write-agenda): Remove fltered text.
6372 * org.el (org-make-tags-matcher): Give access to TODO "property"
6373 without speed penalty.
6375 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6377 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6379 (org-store-link-props): Make sure adding to the plist works
6382 * org-gnus.el (org-gnus-no-new-news): New function.
6383 (org-gnus-follow-link): Allow the article ID to be a message-id,
6384 in addition to allowing article numbers. Message IDs make much
6386 (org-gnus-store-link): Use message-id to create link.
6388 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6390 * org.el (org-emphasize): Reverse the selection array.
6391 (org-emphasis-alist): Set <code> tags for the verbatim
6394 * org-remember.el (org-remember-handler): Fix bug with
6395 prefix-related changing of the note storage target.
6397 * org-exp.el (org-print-icalendar-entries): Make the exported
6398 priorities compatible with RFC 2445.
6400 * org-clock.el (org-clock-save): Insert time stamp without
6401 dependence on time-stamp.el.
6403 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6405 * org.el ("saveplace"): If saveplace puts point into an invisible
6406 location, make it visible.
6407 (org-make-tags-matcher): Allow inactive time stamps in time
6409 (org-yank-adjusted-subtrees): New option.
6410 (org-yank): Incorporate adjusting trees.
6411 (org-paste-subtree): New argument FOR-YANK which will cause
6412 insertion at point without backing up over white lines, and leave
6413 point at the end of the inserted text. Also if the cursor is
6414 at the beginning of a headline, use the same level or the inserted
6417 * org-publish.el (org-publish-get-base-files-1): Deal correctly
6418 with broken symlinks.
6420 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
6422 * org-exp.el (org-export-select-tags, org-get-current-options):
6425 2008-11-06 Glenn Morris <rgm@gnu.org>
6427 * org-publish.el (org-publish-attachment): Use copy-file rather than
6430 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
6432 * org.el (org-columns-modify-value-for-display-function):
6433 * org-table.el (org-table-convert-region): Fix typos in docstrings.
6435 2008-10-28 Glenn Morris <rgm@gnu.org>
6437 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
6439 * org-list.el (outline-next-heading, outline-back-to-heading):
6442 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6444 * org-agenda.el (org-format-agenda-item)
6445 (org-agenda-filter-make-matcher): Make sure tags are stored and
6448 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6450 * org.el (org-insert-todo-heading): Fix bug with force-heading
6453 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6455 * org-exp.el (org-export-as-ascii): Handle the case that we are
6456 bulishing from an indirect buffer.
6458 * org-table.el (org-table-copy-down): Fix bug with time stamp
6461 * org-mouse.el (org-mouse-features): New option.
6462 (org-mode-hook): Turn on features depending on
6463 `org-mouse-features'.
6465 * org.el (org-insert-heading-respect-content): Force heading
6467 (org-insert-heading): keep the folding state of the heading before
6470 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6472 * org-archive.el (org-archive-to-archive-sibling): Handle top
6473 level headlines better.
6475 2008-10-26 Bastien Guerry <bzg@altern.org>
6477 * org-export-latex.el (org-export-latex-classes): Add
6478 \usepackage{graphicx} to the default list of packages.
6480 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6482 * org-agenda.el (org-agenda-filter): Rename from
6483 `org-agenda-filter-tags'.
6485 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6487 * org.el (org-entry-properties): Add CATEGORY property, iven if it
6488 is not defined as a property in this entry.
6489 (org-add-log-note): Mask prefix argument when immediately storing
6492 * org-agenda.el (org-agenda-filter-effort-default-operator): New
6495 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
6497 * org.el (org-add-log-setup): Bugfix; code to find insertion point
6498 after drawers was skipping ahead one line too many, so notes were
6499 inserted after the first note instead of before it.
6501 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6503 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6505 (org-prepare-agenda): Reset the filter tags.
6506 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6507 Show filter tags in mode line.
6509 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6512 * org-export-latex.el (org-latex-entities-regexp): New constant.
6513 (org-export-as-pdf): Use two calls to `shell-command'.
6515 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6517 * org-export-latex.el (org-export-latex-treat-sub-super-char):
6518 Honor the {} value of the subsuperscript setting. Make sure that
6519 longer subsuperscripts are typeset in a roman font.
6521 * org.el (org-clock-update-time-maybe): Compute negative clock
6522 intervals correctly.
6524 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6526 * org.el (org-add-log-setup): Respect
6527 `org-log-state-notes-insert-after-drawers'.
6528 (org-log-state-notes-insert-after-drawers): New option.
6529 (org-todo-trigger-tag-changes): New function.
6530 (org-todo): Call `org-todo-trigger-tag-changes'.
6532 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
6534 * org.el (org-add-log-setup): Only skip drawers if the are
6535 immediately after the scheduling keywords.
6537 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6539 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6540 call it with the current todo state to get the state to switch to
6542 (org-clock-in): Use org-indent-line-function to indent clock lines.
6543 (org-clock-find-position): Fix indentation of empty clock drawers.
6545 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6547 * org-publish.el (org-publish-org-to): Handle case when
6548 org-export-to-pdf does return a file name, not a buffer.
6549 (org-publish-org-to-pdf): New function.
6551 * org-export-latex.el (org-export-as-pdf)
6552 (org-export-as-pdf-and-open): New commands.
6554 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6557 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6558 things in protexted regions.
6560 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6562 * org-export-latex.el (org-export-latex-preprocess): Improve
6563 quoting of LaTeX environments.
6565 2008-10-19 Eli Zaretskii <eliz@gnu.org>
6567 * org.el (org-default-notes-file):
6568 * org-publish.el (org-publish-timestamp-directory):
6569 * org-id.el (org-id-locations-file): Run file names that begin
6570 with a period thru `convert-standard-filename'.
6572 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6574 * org-plot.el: Switch coding system to unix.
6576 2008-10-12 John Wiegley <johnw@newartisans.com>
6578 * org-attach.el: New file.
6580 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
6582 * org.el (org-edit-fixed-width-region): Exclude final newline from
6585 * org-export-latex.el (org-export-latex-subcontent): Add labels to
6586 sections, to make internal links work.
6587 (org-export-latex-fontify-headline): Do not remove all text
6588 properties, to make sure that target properties survive this
6591 * org-exp.el (org-export-preprocess-string): Change sequence of
6592 modifications, to make sure links are prepared before the LaTeX
6593 conversions do happen.
6595 * org-attach.el (org-attach-delete-all): Rename from
6596 `org-attch-delete'. Add a security query before deleting the
6597 entire directory. New optional argument FORCE can overrule the
6599 (org-attach-delete-one): New command.
6601 * org-attach.el (org-attach-file-list): Fix bug with directory.
6603 * org.el (org-apps-regexp-alist): New function.
6604 (org-file-apps): Add auto-mode to the default value.
6605 (org-open-file): Use the new structure of org-file-apps.
6607 * org-attach.el (org-attach): Support the new keys.
6608 (org-attach-method): New option.
6610 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6613 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6614 of the list value o `org-use-tag-inheritance'.
6616 * org-attach.el (org-attach-auto-tag): New option.
6617 (org-attach-tag, org-attach-untag): New functions.
6618 (org-attach-attach, org-attach-new, org-attach-sync): Call
6620 (org-attach-delete): Call `org-attach-untag'.
6622 * org-table.el (orgtbl-self-insert-command): Make this work for
6625 * org.el (org-add-log-setup): Limit searc for drawers to entry
6626 text, not to subtree.
6628 * org-clock.el (org-clock-heading-for-remember): New variable.
6629 (org-clock-in): Set `org-clock-heading-for-remember'.
6631 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
6633 * org-remember.el (org-remember-apply-template): Add new
6634 expansions: %k, %K for currently clocked task and a link to the
6635 currently clocked task, and %< to file notes in the currently
6638 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6640 * org-export-latex.el (org-export-latex-make-header): Also insert
6641 the content of the property :latex-header-extra.
6643 * org-exp.el (org-infile-export-plist): Put the content of
6644 #+LATEX_HEADER: into the property :latex-header-extra.
6646 * org-colview.el (org-columns-get-format-and-top-level): Remove
6647 resetting the marker.
6649 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6650 Remove resetting the marker.
6652 * org.el (org-entry-property-inherited-from): Improve docstring.
6653 (org-entry-get-with-inheritance): Reset marker before starting the
6656 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6658 * org.el (org-entry-get-multivalued-property)
6659 (org-entry-protect-space, org-entry-restore-space): New
6661 (org-file-apps-defaults-macosx): Let postscript files be opened by
6663 (org-time-stamp-inactive): Call `org-time-stamp'.
6664 (org-time-stamp): New argument `inactive'. Also edit inacive
6665 stamps. Convert time stamp type.
6666 (org-open-file): Interpret the `default' value for the `command'
6669 * org-id.el (org-id-int-to-b36-one-digit)
6670 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6671 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
6674 * org-id.el (org-id-reverse-string): New function.
6675 (org-id-new): Use `org-id-reverse-string' to make sure the
6676 beginning chars of the ID are mutating fast. This allows to use a
6677 directory structure to spread things better.
6678 (org-id-prefix): Change default to nil.
6680 * org-list.el (org-move-item-down, org-move-item-up): Remember and
6681 restore the column of the cursor position.
6683 * org-remember.el (org-remember-apply-template): Remove properties
6686 * org-wl.el (org-wl-open): Remove useless call to
6687 `wl-thread-open-all'.
6689 * org-remember.el (org-remember-handler): Fix bug with `bottom'
6692 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6693 `org-bbdb-anniversaries'.
6695 * org.el (org-get-next-sibling, org-forward-same-level): New
6696 functions, similar to the outline versions, but invisible headings
6699 2008-10-12 Bastien Guerry <bzg@altern.org>
6701 * org.el (org-auto-repeat-maybe): Insert a space between
6702 the timestamp's type and the timestamp itself.
6704 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6706 * org-table.el (org-table-sum): Do not format the result with %g,
6707 it does rounding when there are too many digits.
6709 * org.el (org-map-entries): Protect the keyword-selecting variables.
6711 2008-10-12 Bastien Guerry <bzg@altern.org>
6713 * org-agenda.el (org-agenda-to-appt): Make sure the function check
6714 against all agenda files.
6716 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6717 Bastien Guerry <bzg@altern.org>
6719 * org-list.el: New file, aggregating list functions from org.el
6720 and org-export-latex.el.
6722 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6724 * org.el (org-edit-src-region-extra): New option.
6726 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6729 2008-10-12 Bastien Guerry <bzg@altern.org>
6731 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6733 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
6735 * org-plot.el (org-plot/gnuplot): Make tables starting with a
6736 hline work correctly.
6737 (org-plot/gnuplot-script): Put commas at the end of each script
6740 * org.el (org-get-refile-targets): Replace links with their
6742 (org-imenu-get-tree): Replace links with their descriptions.
6744 * org-remember.el (org-remember-apply-template): Add a new
6745 expansion for adding properties to remember items.
6747 * org.el (org-add-log-setup): Skip over drawers (properties,
6748 clocks etc) when adding notes.
6750 * org-agenda.el (org-agenda-get-closed): show durations of clocked
6751 items as well as the start and end times.
6753 * org-compat.el (org-get-x-clipboard-compat): Add a compat
6754 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6756 * org-remember.el (org-get-x-clipboard): Use the compat
6757 function to get clipboard values when x-selection-value is
6758 unavailable. Use substring-no-properties instead of
6759 set-text-properties to remove text properties from the clipboard
6762 * lisp/org-clock.el (org-update-mode-line): Support limiting the
6763 modeline clock string, and display the full todo value in the
6764 tooltip. Set a local keymap so mouse-3 on the clock string goes to
6765 the currently clocked task.
6766 (org-clock-string-limit): Add a custom value for the maximum
6767 length of the clock string in the modeline.
6768 (org-clock-mode-map): Add a keymap for the modeline string.
6770 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6772 * org-compat.el (org-propertize): New function.
6774 2008-10-12 Bastien Guerry <bzg@altern.org>
6776 * org-export-latex.el (org-export-latex-tables): protect exported
6777 tables from further special chars conversion.
6778 (org-export-latex-preprocess): Preserve LaTeX environments.
6779 (org-list-parse-list): Parse descriptive lists.
6780 (org-list-to-generic, org-list-to-latex, org-list-to-html)
6781 (org-list-to-texinfo): Export descriptive lists.
6782 (org-quote-chars): Remove.
6783 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6784 (org-export-latex-list-beginning-re): Rename to
6785 `org-list-beginning-re'
6786 (org-list-item-begin): Rename to `org-list-item-beginning'.
6788 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
6790 * org-plot.el: New file.
6792 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6794 * org.el (org-refile): Allow refiling to the last entry in the
6796 (org-get-tags-at): Fix bug when inheritance is turned off.
6798 * org.el (org-indent-line-function): No longer check for src
6799 regions, this is too much overhead.
6801 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6804 * org.el (org-scan-tags): Make sure that tags matching is not case
6805 sensitive. TODO keyword matching is case sensitive, however, to
6806 avoid confusion with similar words that are not meant to be
6809 * org.el (org-get-local-tags-at): New function.
6810 (org-get-local-tags): New function.
6812 * org-exp.el (org-export-get-categories): New function.
6814 * org-agenda.el (org-sorting-choice)
6815 (org-agenda-sorting-strategy, org-agenda-get-todos)
6816 (org-agenda-get-timestamps, org-agenda-get-deadlines)
6817 (org-agenda-get-scheduled, org-agenda-get-blocks)
6818 (org-entries-lessp): Implement sorting by TODO state.
6819 (org-cmp-todo-state): New defsubst.
6821 * org-colview.el (org-colview-construct-allowed-dates): New
6823 (org-columns-next-allowed-value): Use
6824 `org-colview-construct-allowed-dates'.
6826 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6828 (org-columns-next-allowed-value): Use
6829 `org-colview-construct-allowed-dates'.
6831 * org.el (org-protect-slash): New function.
6832 (org-get-refile-targets): Use `org-protect-slash'.
6834 * org-agenda.el (org-global-tags-completion-table): New variable.
6836 * org-exp.el (org-export-handle-export-tags): New function.
6837 (org-export-preprocess-string): Call
6838 `org-export-handle-export-tags'.
6840 * org-publish.el (org-publish-expand-components): Function removed.
6841 (org-publish-expand-projects): Allow components to have components.
6843 * org.el (org-indent-line-function): Do not indent in regions that
6844 are external source code.
6845 (org-yank-and-fold-if-subtree): New function.
6847 * org-agenda.el (org-agenda-todayp): New function.
6848 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6849 `org-agenda-todayp'.
6851 * org.el (org-insert-heading-respect-content)
6852 (org-insert-todo-heading-respect-content): New commands.
6853 (org-insert-heading-respect-content): New option.
6854 (org-insert-heading): Respect `org-insert-heading-respect-content'.
6856 * org-clock.el (org-clock-find-position): Make sure the note after
6857 the clock line gets moved into the new clock drawer.
6859 * org-id.el (org-id-new): New option.
6861 * org-table.el (org-table-copy-down): Avoid overflow during
6862 increment. Use prefix argument 0 to temporarily disable the
6865 * org-exp.el (org-export-as-html): Do not turn on the major mode
6866 if the buffer will be killed anyway.
6867 (org-get-current-options): Exclude the #+TEXT field.
6868 (org-export-as-html): Make sure text before the first headline is
6871 * org-publish.el (org-publish-org-to): Tell the exporter that this
6872 buffer will be killed, so it is not necessary to do major mode
6875 * org-archive.el (org-archive-to-archive-sibling): Show empty
6876 lines after folding the archive sibling.
6878 * org.el (org-log-note-extra): New variable.
6880 2008-10-12 Bastien Guerry <bzg@altern.org>
6882 * org.el (org-additional-option-like-keywords): Add keywords for
6883 the _QUOTE, _VERSE and _SRC environments.
6885 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6886 exporting _QUOTE and _VERSE environments.
6888 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
6890 * org-agenda.el (org-agenda-filter-by-tag): New command.
6892 * org-exp.el (org-get-current-options): Remove angular brackets
6893 from the date entry.
6895 * org.el (org-edit-fixed-width-region): New function.
6896 (org-edit-fixed-width-region): Also try
6897 `org-edit-fixed-width-region'.
6898 (org-edit-fixed-width-region-mode): New option.
6899 (org-activate-code): Only interprete lines starting with colon
6900 plus a space as example lines.
6902 * org-remember.el (org-remember-templates): Add nil instead of
6903 empty strings to fix the length of remember templates.
6905 * org-table.el (org-calc-default-modes): Fix the time format for
6906 calc, from 12 hour to 24 hour clock.
6908 * org-agenda.el (org-agenda-get-deadlines)
6909 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6910 entries that are pre-warnings of deadlines or reminders.
6912 * org.el (org-sort-entries-or-items): Make numeric and alpha
6913 comparisons ignore any TODO keyword and priority cookie.
6915 * org-remember.el (org-remember-handler): Reinterpretation of the
6918 * org-agenda.el (org-agenda-get-scheduled): Use new
6919 `org-scheduled' face.
6921 * org-faces.el (org-scheduled): New face.
6923 * org-wl.el (org-wl-open): Remove incorrect declaration.
6925 * org-gnus.el (org-gnus-store-link): Support for :to information
6928 * org-exp.el (org-export-as-html): Fix typo in creator
6930 (org-export-protect-examples): New parameter indent. Insert extra
6931 spaces only when this parameter is specified.
6932 (org-export-preprocess-string): Call `org-export-protect-examples'
6933 with an indentation parameter when exporting to ASCII.
6935 * org-remember.el (org-remember-templates)
6936 (org-remember-apply-template): Allow the file component to be a
6939 * org.el (org-goto-local-search-headings): Rename from
6940 `org-goto-local-search-forward-headings'. Added the possibility
6941 to search backwards.
6943 * org-export-latex.el (org-export-latex): New customization
6946 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6948 * org-exp.el (org-html-do-expand): Allow {} to terminate
6951 * org.el (org-buffer-list): Select buffers based on major mode,
6954 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6957 * org-colview.el (org-columns-display-here): Use
6958 `org-columns-modify-value-for-display-function'.
6960 * org-colview-xemacs.el (org-columns-display-here): Use
6961 `org-columns-modify-value-for-display-function'.
6963 * org.el (org-columns-modify-value-for-display-function): New option.
6965 * org-publish.el (org-publish-file): Make sure the directory match
6966 for the publishing directory works correctly.
6968 * org-agenda.el (org-agenda-execute-calendar-command)
6969 (org-agenda-diary-entry): Additional optional argument.
6971 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6973 * org-exp.el (org-export-as-html): Add attributes also in mailto
6976 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6978 2008-08-11 Glenn Morris <rgm@gnu.org>
6980 * org-mac-message.el (do-applescript): Fix declaration.
6982 2008-08-10 Glenn Morris <rgm@gnu.org>
6984 * org-exp.el (org-export-as-html): Let-bind `i'.
6986 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
6987 (org-extract-attributes): Let-bind `key', `value'.
6988 (org-make-tags-matcher): Let-bind `time-p'.
6990 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
6992 * org-install.el: New file.
6994 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
6996 * org-exp.el (org-export-html-style)
6997 (org-export-html-style-extra): Declare as safe-local-variable.
6999 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
7001 * org-publish.el (org-publish-file): Use the true name of the
7004 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
7007 * org-exp.el (org-export-plist-vars)
7008 (org-export-add-options-to-plist): Handle creator setting flag.
7009 (org-export-as-html): Handle attributes also for ftp and mailto
7012 * org-agenda.el (org-agenda-diary-entry)
7013 (org-agenda-execute-calendar-command): Cater for the second
7014 argument of `calendar-cursor-to-date'.
7016 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
7018 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7019 sure that calls from `org-export-region-as-html' do not do the
7020 special check for a subtree.
7022 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7024 * org.el (org-open-file): Use
7025 `org-open-directory-means-index-dot-org'.
7026 (org-open-directory-means-index-dot-org): New option.
7028 * org.el (org-make-link-string): Remove link attributes from
7030 (org-open-at-point): Remove link attributes before using the path.
7032 * org-exp.el (org-export-as-html): Handle link attributes.
7034 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7036 * org-table.el (org-table-to-lisp): New function.
7038 * org.el (org-narrow-to-subtree): Do not include the final newline
7039 into the narrowed region.
7041 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
7042 bug with user-define skipping condition.
7044 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
7046 * org-exp.el (org-export-html-style-default): Automatic overflow
7047 handling for pre fields.
7048 (org-export-as-ascii, org-export-as-html): Change default format
7051 * org-table.el (org-table-export): Offer completion for translator
7052 functions, and do not require a heading above the table.
7054 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7055 Cater for the case of a list starting in the first line of the
7058 * org-publish.el (org-publish-find-title): Bug fix.
7059 (org-publish-org-index): Implement new :index-style option.
7061 * org-publish.el (org-publish-timestamp-filename): Use
7062 SHA1-encoded file names in the timestamp directory.
7064 * org-publish.el (org-publish-needed-p): Be verbose about files
7065 published and files skipped.
7067 * org-exp.el (org-export-preprocess-string): Swap link
7068 normalization and internal link targeting.
7070 * org-publish.el (org-publish-needed-p): Create timestamp
7071 directory when it does not exist.
7073 * org-clock.el (org-clock-out-when-done): Doc fix.
7075 * org.el (org-agenda-skip-unavailable-files): Doc fix.
7077 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7078 Ignore case when searching for the COMMENT cookie at export time.
7080 * org-exp.el (org-get-file-contents)
7081 (org-get-and-remove-property): New functions.
7082 (org-export-handle-include-files): Handle the new prefix options.
7083 (org-export-as-html): Fix the verse environment.
7085 * org.el (org-time=, org-time<, org-time<=, org-time>)
7086 (org-time>=, org-time<>, org-2ft): New functions.
7087 (org-op-to-function): Also provide for the time testing functions.
7089 * org-exp.el (org-export-html-style-default): New constant.
7091 * org-exp.el (org-export-html-style-extra): New variable.
7092 (org-export-splice-style): New function.
7094 * org-exp.el (org-export-plist-vars, org-export-as-html):
7095 Implement `org-export-creator-info'.
7096 (org-export-creator-info): New option.
7098 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7099 (org-property-drawer-re, org-clock-drawer-re): New constants.
7101 * org-exp.el (org-icalendar-use-deadline)
7102 (org-icalendar-use-scheduled): New options.
7103 (org-icalendar-include-todo): Default changed to t.
7104 (org-print-icalendar-entries): Implement better utilization of
7105 scheduling and deadline time stamps.
7106 (org-export-target-internal-links, org-export-as-html): Allow file
7107 lines without the "file:" prefix if the file path is an absolute
7108 path or starts with ".".
7110 * org-clock.el (org-clocktable-shift): Also understand yesterday,
7112 (org-clock-special-range): Also understand yesterday, lastweek etc.
7114 * org.el (org-agenda-skip-archived-trees): Docstring now
7115 discourages using this.
7116 (org-scan-tags): Check for org-agenda-archives-mode.
7117 (org-map-entries): Make sure org-agenda-archives-mode is nil.
7118 (org-agenda-files): Functionality of second arg changed.
7120 * org-agenda.el (org-agenda-archives-mode): New variable
7121 (org-write-agenda, org-prepare-agenda, org-agenda-list)
7122 (org-search-view, org-todo-list, org-tags-view)
7123 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7125 (org-agenda-quit): Reset the archives mode.
7126 (org-agenda-archives-mode): New command.
7127 (org-agenda-set-mode-name): Include archives info.
7129 * org.el (org-paste-subtree): Make sure the yanked headline is
7130 visible if it was yanked at a visible point.
7131 (org-move-item-up): Fix the bug with moving white space at the end
7133 (org-show-empty-lines-in-parent): New function.
7135 2008-07-19 Juri Linkov <juri@jurta.org>
7137 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7138 new keymap `narrow-map' instead of binding "\C-xns".
7140 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
7142 * org.el (org-agenda-skip-unavailable-files):
7143 * org-clock.el (org-clock-out-when-done): Doc fixes.
7145 2008-06-18 Glenn Morris <rgm@gnu.org>
7147 * org.el (org-map-entries): Let-bind `file'.
7149 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7151 * org-colview.el (org-columns-next-allowed-value): Bug fix.
7153 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7155 * org-agenda.el (org-agenda-get-closed): Get the end time into the
7156 agenda prefix as well.
7158 * org-publish.el (org-publish-org-index): Make a properly indented
7161 * org.el (org-calendar-agenda-action-key): New option.
7162 (org-get-cursor-date): New function.
7163 (org-mark-entry-for-agenda-action): New command.
7164 (org-overriding-default-time): New variable.
7165 (org-read-date): Respect `org-overriding-default-time'.
7167 * org-remember.el (org-remember-apply-template): Respect the
7168 overriding default time.
7170 * org-agenda.el (org-agenda-action-marker): New variable.
7171 (org-agenda-action): New command.
7172 (org-agenda-do-action): New function.
7174 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7176 * org.el (org-schedule, org-deadline): Protect scheduled and
7177 deadline tasks against changes that accidently remove the
7178 repeater. Also show a message with the new date when done.
7180 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7182 * org.el (org-beginning-of-line): Cater for the case when there
7183 are tags but no headline text.
7184 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7187 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7189 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7190 the return value is nil instead of "nil" when there is no match.
7192 * org-exp.el (org-insert-centered): Use fill-column instead of
7194 (org-export-as-ascii): Use string-width to measure the width of
7197 * org.el (org-diary-to-ical-string): No longer kill buffer
7198 FROMBUF, this is now done by the caller.
7200 * org-exp.el (org-print-icalendar-entries): Move the call to
7201 `org-diary-to-ical-string' out of the loop, and kill the buffer
7204 * org-remember.el (org-remember-visit-immediately): Position
7205 cursor after moving to the note.
7206 (org-remember-apply-template): Use a text property to record the
7208 (org-remember-handler): Align tags after pasting the note.
7210 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7212 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7214 * org-agenda.el (org-agenda-open-link): If there is an
7215 org-bbdb-name property in the current line, jump to that bbdb
7218 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7219 text property, so that the agenda knows where this entry comes
7222 * org-agenda.el (org-agenda-clock-in): Fix bug in the
7223 interaction between clocking-in from the agenda, and automatic
7224 task state switching.
7226 * org-macs.el (org-with-point-at): Bug fix in macro definition.
7228 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7229 zmacs-region stays after this command in XEmacs.
7231 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7233 * org.el (org-scan-tags): Allow new values for ACTION parameter.
7235 * org-remember.el (org-remember-templates): Fix bug in
7236 customization type definition.
7238 * org.el (org-map-entries): New function.
7240 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7242 * org-agenda.el (org-agenda-skip-comment-trees): New option.
7243 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7245 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7247 * org-remember.el (org-jump-to-target-location): New variable.
7248 (org-remember-apply-template): Set
7249 `org-remember-apply-template' if requested by template.
7250 (org-remember-handler): Start an idle timer to jump to
7253 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7255 * org.el (org-set-regexps-and-options): Fix bug with parsing of
7257 (org-get-tags-at): Add the content of `org-file-tags'.
7259 * org-exp.el (org-export-handle-comments): Fix bug with several
7260 comment lines after each other.
7261 (org-number-to-roman, org-number-to-counter): New functions.
7262 (org-export-section-number-format): New option.
7264 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7266 * org-exp.el (org-export-protect-examples): Catch the case of a
7267 missing end_example line.
7269 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7270 `org-file-tags' to nil.
7272 * org-colview.el (org-columns-next-allowed-value): Handle next
7273 argument NTH to directly select a value.
7275 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7276 argument NTH to directly select a value.
7278 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7280 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7282 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7284 * org.el (org-columns-ellipses): New option.
7286 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7288 * org-colview.el (org-columns-add-ellipses): New function.
7289 (org-columns-compact-links): New function.
7290 (org-columns-cleanup-item): Call `org-columns-compact-links'.
7291 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7293 (org-columns-edit-value): Fix bug with editing values from
7295 (org-columns-redo): Also redo the agenda itself.
7297 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7299 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7302 * org-colview.el (org-agenda-columns-cleanup-item): New function.
7304 * org-exp.el (org-export-ascii-preprocess): Rename from
7305 `org-export-ascii-clean-string'.
7306 (org-export-kill-licensed-text)
7307 (org-export-define-heading-targets)
7308 (org-export-handle-invisible-targets)
7309 (org-export-target-internal-links)
7310 (org-export-remove-or-extract-drawers)
7311 (org-export-remove-archived-trees)
7312 (org-export-protect-quoted-subtrees)
7313 (org-export-protect-verbatim, org-export-protect-examples)
7314 (org-export-select-backend-specific-text)
7315 (org-export-mark-blockquote-and-verse)
7316 (org-export-remove-comment-blocks-and-subtrees)
7317 (org-export-handle-comments, org-export-mark-radio-links)
7318 (org-export-remove-special-table-lines)
7319 (org-export-normalize-links)
7320 (org-export-concatenate-multiline-links)
7321 (org-export-concatenate-multiline-emphasis): New functions,
7322 obtained from spliting the export preprocessor.
7324 * org-table.el (org-table-recalculate): Improve error message if
7325 the row number is invalid.
7327 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7329 * org-archive.el (org-archive-save-context-info): Fix bugs in
7330 customization setup and docstring.
7332 * org-exp.el (org-export-html-style): Change the size of in the
7333 <pre> element to 90%.
7335 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7337 * org.el (org-find-src-example-start): Function removed.
7338 (org-edit-src-find-region-and-lang): New function.
7340 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7342 * org.el (org-edit-src-exit): New function.
7343 (org-exit-edit-mode): New minor mode.
7345 * org-exp.el (org-export-preprocess-string): Fix bug with removing
7346 comment-like lines from protected examples.
7348 * org.el (org-edit-src-example, org-find-src-example-start)
7349 (org-protect-source-example, org-edit-special): New functions.
7351 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7353 * org-publish.el (org-publish-project-alist): Fix typo in
7355 (org-publish-project-alist): Handle :index-title property.
7357 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7359 * org-export-latex.el (org-export-as-latex): Make sure region
7360 bounds are correct. Parse subtree properties relating to export.
7362 * org-exp.el (org-export-add-options-to-plist): New function.
7363 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7365 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7367 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7370 * org-exp.el (org-export-get-title-from-subtree)
7371 (org-export-as-ascii, org-export-as-html): Make sure the original
7372 region-beginning and region-end are used, even after moving point.
7373 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7376 * org-remember.el (org-remember-last-stored-marker): New variable.
7377 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7378 (org-remember-handler): Also use marker to remember
7379 last-stored position.
7381 * org.el (org-goto-marker-or-bmk): New function.
7383 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7385 * org.el (org-file-properties): Rename from `org-local-properties'.
7386 (org-scan-tags): Take file tags into account.
7387 (org-tags-match-list-sublevels): Default changed to t.
7389 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
7391 * org.el (org-update-parent-todo-statistics): New function.
7393 * org-exp.el (org-icalendar-store-UID): New option.
7394 (org-icalendar-force-UID): Option removed.
7395 (org-print-icalendar-entries): IMplement UIDs.
7397 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7399 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7401 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7403 * org-faces.el (org-column): Document how this face is being used
7404 and why sometimes the background faces shine through.
7406 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7408 * org-publish.el (org-publish-attachment): Create publishing
7409 directory if it does not yet exist.
7411 * org-table.el (org-calc-default-modes): Change default number
7412 format to (float 8).
7414 * org.el (org-olpath-completing-read): New function.
7415 (org-time-clocksum-format): New option.
7416 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7418 * org-clock.el (org-clock-display, org-clock-out)
7419 (org-update-mode-line): Use `org-time-clocksum-format'.
7421 * org-colview-xemacs.el (org-columns-number-to-string): Use
7422 `org-time-clocksum-format'.
7424 * org-colview.el (org-columns-number-to-string): Use
7425 `org-time-clocksum-format'.
7427 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7429 * org-id.el: New file, move from contrib to core.
7431 * org-exp.el (org-icalendar-force-UID): New option.
7433 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7435 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7436 shifted by one day if there is a date range without an end time.
7438 * org.el (org-try-structure-completion): New function.
7440 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7442 * org.el (org-set-font-lock-defaults): Improve fontification of
7444 (org-insert-item): Handle description lists.
7445 (org-adaptive-fill-function): Improve auto indentation in
7448 * org-exp.el (org-export-as-html, org-export-preprocess-string):
7449 Implement VERSE environment.
7450 (org-export-preprocess-string): Implement the COMMENT
7453 * org-export-latex.el (org-export-latex-preprocess): Implement
7456 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7458 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7461 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7463 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7465 * org.el (org-quote-csv-field): New functions.
7467 * org-table.el (org-table-export-default-format): Remove :splice
7468 from default format, we get the same effect by not specifying
7470 (org-table-export): Improve setup, distinguish better between
7471 interactive and non-interactive use, allow specifying the format
7472 on the fly, better protection against wrong file names.
7473 (orgtbl-to-generic): Fix documentation. Do not require :tstart
7474 and :tend when :splice is omitted.
7476 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7478 * org-clock.el (org-clock-select-task): Make sure the selection
7479 letters are 1-9 and A-Z, no special characters.
7481 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7483 * org-exp.el (org-export-htmlize): New group.
7484 (org-export-htmlize-output-type)
7485 (org-export-htmlize-css-font-prefix): New options.
7486 (org-export-htmlize-region-for-paste): New function.
7487 (org-export-htmlize-generate-css): New command.
7489 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7491 * org.el (org-set-visibility-according-to-property): New function.
7492 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7493 and compute the regular expressions, and update font-lock.
7494 (org-property-re): Allow a dash in property names.
7496 * org-archive.el (org-extract-archive-file): Insert the file name
7497 without the path into the format, to allow the location format to
7498 contain a subdirectory.
7500 * org-agenda.el (org-agenda-post-command-hook): If point is at end
7501 of buffer, and the `org-agenda-type' property undefined, use the
7502 value from the character before.
7504 * org.el (org-add-planning-info): Don't let indentation for
7505 would-be timestamp become extra whitespace at the end of headline.
7507 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7509 * org.el (org-remove-double-quotes, org-file-contents): New
7512 * org-exp.el (org-infile-export-plist): Also parse the
7513 contents of #+SETUPFILE files, recursively.
7515 * org.el (org-set-regexps-and-options): Also parse the
7516 contents of #+SETUPFILE files, recursively.
7518 * org-exp.el (org-export-handle-include-files): New function.
7519 (org-export-preprocess-string): Call
7520 `org-export-handle-include-files'.
7522 * org.el (org-delete-property-globally)
7523 (org-delete-property, org-set-property): Ignore case during
7525 (org-set-property): Use `org-completing-read' instead of
7528 * org.el (org-complete-expand-structure-template): New,
7529 experimental function.
7530 (org-structure-template-alist): New, experimental option.
7531 (org-complete): Call `org-complete-expand-structure-template'.
7533 2008-06-17 Bastien Guerry <bzg@altern.org>
7535 * org-export-latex.el (org-export-latex-preprocess):
7536 Add support for blockquotes.
7538 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7540 * org.el (org-read-date-analyze): Catch the case where only a
7543 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7545 * org.el (org-set-font-lock-defaults): Make the description
7548 * org-exp.el (org-export-as-html, org-close-li): Implement
7551 2008-06-17 Jason Riedy <jason@acm.org>
7553 * org-table.el (*orgtbl-default-fmt*): New variable.
7554 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7555 when there is no other fmt available.
7557 (orgtbl-to-generic): Allow an explicitly nil :tstart or
7558 :tend to suppress the appropriate string.
7560 (orgtbl-to-orgtbl): New function for translating to another orgtbl
7563 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7565 * org.el (org-read-date-analyze): "." as an alias for "+0" in
7568 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7571 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7574 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7576 * org-clock.el (org-clock-find-position): Don't include notes
7579 * org-archive.el (org-archive-subtree): No longer remove an
7580 extra line after cutting the subtree. `org-cut-subtree' already
7583 * org-remember.el (org-remember-handler): Only kill the target
7584 buffer if it does not contain the running clock.
7586 * org.el (org-markers-to-move): New variable.
7587 (org-save-markers-in-region, org-check-and-save-marker)
7588 (org-reinstall-markers-in-region): New function.
7589 (org-move-subtree-down, org-copy-subtree): Remember relative
7590 marker positions before cutting.
7591 (org-move-subtree-down, org-paste-subtree): Restore relative
7592 marker positions after pasting.
7594 * org-remember.el (org-remember-clock-out-on-exit): New option.
7595 (org-remember-finalize): Clock out only if the setting in
7596 `org-remember-clock-out-on-exit' requires it.
7597 (org-remember-handler): Do the cleanup in the buffer, to make sure
7598 that the clock marker remains in tact.
7600 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7602 * org-clock.el (org-clock-goto): Widen buffer if necessary.
7603 (org-clock-in): Make sure that also tasks outside the narrowed
7604 region will be clocked in correctly.
7605 (org-clock-insert-selection-line): Widen the buffer so that we can
7606 find the correct task heading.
7608 * org.el (org-base-buffer): New function.
7610 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7611 and ";" are escaped.
7612 (org-print-icalendar-entries): Also apply
7613 `org-icalendar-cleanup-string' to the headline, not only to the
7616 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
7618 * org-exp.el (org-export-preprocess-hook): New hook.
7619 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
7621 * org.el (org-font-lock-hook): New variable.
7622 (org-font-lock-hook): New function.
7623 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7627 ;; add-log-time-zone-rule: t
7630 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
7632 This file is part of GNU Emacs.
7634 GNU Emacs is free software: you can redistribute it and/or modify
7635 it under the terms of the GNU General Public License as published by
7636 the Free Software Foundation, either version 3 of the License, or
7637 (at your option) any later version.
7639 GNU Emacs is distributed in the hope that it will be useful,
7640 but WITHOUT ANY WARRANTY; without even the implied warranty of
7641 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7642 GNU General Public License for more details.
7644 You should have received a copy of the GNU General Public License
7645 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7647 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c