1 2014-10-12 Christopher Schmidt <ch@ristopher.com>
3 * org.el (orgstruct-make-binding): Do not use loop in interpreted code.
5 2014-10-12 Mike McLean <mike.mclean@pobox.com> (tiny change)
7 * org-agenda.el (org-agenda-time-grid): Change docstring.
9 2014-10-12 Nicolas Goaziou <mail@nicolasgoaziou.fr>
11 * ox.el (org-export-async-start): Allow to use symbols as function.
13 2014-10-03 Achim Gratz <Stromeko@Stromeko.DE>
15 * ob-sh.el (org-babel-sh-initiate-session): After initiating a
16 session, initialize the marker `comint-last-output-start' since it
17 is going to be used by the ANSI color filter without further
18 checks in Emacs 23 and throws an error.
20 * ob-lilypond.el: Change prefix from `ly-' to
21 `org-babel-lilypond-' throughout.
23 * org-footnote.el: Forward declare `org-element-context',
24 `org-element-property' and `org-element-type'.
26 * org.el: Add forward declarations for a number of functions that
27 the compiler otherwise warns about as potentially undefined at
30 * ob-core.el: Add comment to forward declaration of
31 'org-src-preserve-indentations'.
33 * ob-exp.el: Require org-src to import
34 'org-src-preserve-indentations'.
36 * ob-haskell.el, ob-python.el: Remove superfluous forward
37 declaration of 'org-src-preserve-indentations', since it gets
38 imported by other requires.
40 * ob-core.el (org-every): Forward declare 'org-every'.
42 * ob-C.el: Require cl during compilation so that lexical-let is
45 * org-entities.el: Remove superfluous require of org-macs.
46 Forward declare 'org-toggle-pretty-entities' and
47 'org-pretty-entities'.
49 * ox.el (org-export-get-parent): Move definition of
50 'org-export-get-parent' before first use. Leave comment at original
53 * org.el (org-uniquify): Move definition of 'org-uniquify' before
54 first use. Leave comment at original place of definition.
56 * ob-tangle.el (org-babel-tangle): When `file-name-directory'
57 returns nil, do not run make-directory. Remove superfluous when
58 clauses by using short-circuiting `and' instead.
60 2014-10-03 Alex Kosorukoff <alex@3form.com> (tiny change)
62 * org-capture.el (org-capture-fill-template): Set `mark-active' to
65 2014-10-03 Bastien Guerry <bzg@gnu.org>
67 * org-agenda.el (org-agenda-prepare): Reset preset filters when
70 * org-agenda.el (org-agenda-get-sexps): Don't add tags as text
73 * org-capture.el (org-capture-fill-template): Take
74 `org-extend-today-until' into account when setting the format time
77 * org.el (org-paste-subtree): Fix match subexpression.
79 * org.el (org-fix-ellipsis-at-bol): Delete.
80 (org-mode, org-show-context, org-isearch-end): Don't use
81 `org-fix-ellipsis-at-bol'.
83 * org-agenda.el (org-agenda-filter-apply): Fix setting of
84 `org-agenda-filtered-by-category'.
86 * org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
87 of `org-hidden-keywords'.
89 * org-agenda.el (org-cmp-ts): Fix agenda entry type checking.
91 * org-agenda.el (org-entries-lessp): Fix inactive timestamp
94 * org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
95 when agenda are sticky.
96 (org-agenda-tag-filter-while-redo): Delete.
97 (org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
99 (org-agenda-clockreport-mode, org-agenda-set-mode-name): Don't
100 consider tag filters.
102 * org.el (org-fix-ellipsis-at-bol)
103 (org-first-headline-recenter): Use `set-window-start' instead
106 * org-agenda.el (org-recenter-heading): Delete.
108 * org.el (org-insert-heading): With one universal prefix argument
109 or `org-insert-heading-respect-content' set to `t', always respect
110 the content, i.e. don't insert a list item and don't convert
111 normal lines into headings. Update docstring.
112 (org-insert-heading-respect-content): Remove unused arg.
113 (org-insert-todo-heading-respect-content): Don't use
114 `org-insert-todo-heading-respect-content', use the second argument
115 of `org-insert-todo-heading' instead.
117 * org-mobile.el (org-mobile-edit): Use only one arg.
119 * org.el (org-overview): Don't call `recenter'.
121 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
124 * org.el (org-property-re): Also match null properties by default.
125 (org-entry-delete): Also delete null properties.
126 (org-read-property-value): Allow the empty string as a new value.
127 (org-delete-property): Throw a message when there is not property
130 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Fix
133 * org.el (org-re-property): New parameter `allow-null' to match
134 property with a null value.
135 (org-entry-put): Correctly update a property with a null
138 * ox-md.el (org-md-headline): When exporting with a HTML table of
139 contents, add HTML anchors to Markdown headlines.
141 * org.el (org-insert-heading): Don't insert an item when called
142 with two universal prefix arguments.
144 * org-agenda.el (org-agenda-finalize): Remove duplicate check for
147 * org-agenda.el (org-agenda-prepare-window): New parameter
148 `filter-alist' to set the filters correctly when
149 `org-agenda-persistent-filter' is on.
150 (org-agenda-prepare): Use the new parameter for
151 `org-agenda-prepare-window'.
153 * org-compat.el (org-in-invisibility-spec-p): Tiny code cleanup.
154 (org-move-to-column): Only remove '(org-filtered) from
155 `buffer-invisibility-spec'.
157 * org-agenda.el (org-agenda-mode): Add buffer invisibility specs.
158 (org-agenda-filter-hide-line, org-agenda-remove-filter): Set
159 the 'invisible text property to 'org-filtered.
160 (org-agenda-show-new-time): Add the default face to avoid the
161 foreground of the last character on the line to leak into the
162 timestamp notification.
164 * org-agenda.el (org-get-time-of-day): Don't return time string
167 * org-timer.el (org-timer-value-string): Always return a positive
168 value. Add docstring.
170 * org-capture.el (org-capture-steal-local-variables): Don't steal
171 `mark-active', which should be nil in the target buffer.
173 * org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.
175 * org.el (org-move-subtree-down): Use `org-end-of-subtree' instead
176 of `outline-end-of-subtree'.
177 (outline-end-of-subtree): Remove advice.
179 * org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely): Use
180 `org-end-of-subtree' instead of `outline-end-of-subtree'.
182 * org-agenda.el (org-cmp-ts): Argument `type' is not optional.
185 * org-habit.el (org-habit-insert-consistency-graphs): Don't remove
186 filter overlays as we don't use overlays for filters anymore.
188 * org-agenda.el (org-agenda-local-vars): Add
189 `org-agenda-top-headline-filter'.
190 (org-agenda-filter-by-category): Fix syntax.
191 (org-agenda-filter-show-all-top-filter): New function.
192 (org-agenda-filter-by-top-headline)
193 (org-agenda-filter-remove-all): Use the new function.
194 (org-agenda-filter-top-headline-apply): Use a dedicated symbol
197 * org.el (org-entry-properties): Ensure the special property is
198 not commented out when matched.
200 * org-agenda.el (org-agenda-write): Code cleanup.
201 (org-agenda-mark-filtered-text)
202 (org-agenda-unmark-filtered-text)
203 (org-agenda-fix-tags-filter-overlays-at): Delete.
204 (org-agenda-remove-marked-text): Use the `property' argument
205 instead of hard-coding 'org-filtered.
206 (org-agenda-filter-remove-all): Use `org-agenda-finalize'.
207 (org-agenda-filter-hide-line): Rewrite using text properties
209 (org-agenda-remove-filter): New function.
210 (org-agenda-filter-show-all-tag)
211 (org-agenda-filter-show-all-cat)
212 (org-agenda-filter-show-all-re): Rewrite using
213 `org-agenda-remove-filter'.
215 * org-attach.el (org-attach-dir): When the property is "inherited"
216 from a variable outside of the file, do not use
217 `org-entry-property-inherited-from' to find the attachment
218 position, assume we need to go back to the current headline.
220 * ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
221 one-dimensional value.
223 * org.el (org-insert-heading): Fix bug when trying to insert a
224 heading when point is before the first headline and not at the
227 * org-table.el (org-table-eval-formula): Fix conversion of
228 inactive timestamps to active ones.
230 * org.el (org-set-regexps-and-options): Allow
231 `org-complex-heading-regexp-format' to match [/] and [%] cookies
232 when they are both before and after the heading.
234 * org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
235 (org-agenda-max-effort): Fix type strings.
237 * org-capture.el (org-capture-fill-template): Deactivate region
238 while trying to align tags on the current headline.
240 * org-agenda.el (org-agenda-finalize): Filter by top headline if
241 `org-agenda-top-headline-filter' is set.
243 2014-10-03 Bernt Hansen <bernt@norang.ca>
245 * org-macs.el: Remove restriction when locating markers.
247 2014-10-03 Dmitry Gorbik <dgorbik@me.com> (tiny change)
249 * org.el (org-fast-tag-selection): Fix window splitting.
251 2014-10-03 Eric Schulte <schulte.eric@gmail.com>
253 * ob-screen.el (org-babel-screen-test): Use unpredictable name for
256 * ob-screen.el (org-babel-screen-session-write-temp-file): Use
257 unpredictable temp file name, fixes bug#17416.
259 2014-10-03 Ian Kelling <ian@iankelling.org>
261 * ob-core.el (org-babel-insert-result): Test all list elements
262 against listp and (eq element 'hline) instead of checking just the
265 2014-10-03 Konstantin Kliakhandler <kosta@slumpy.org> (tiny change)
267 * org-agenda.el (org-agenda-redo): Reapply the filters correctly.
269 2014-10-03 Kyle Meyer <kyle@kyleam.com> (tiny change)
271 * ox.el (org-export-show-temporary-export-buffer): Fix typo.
273 2014-10-03 Matt Lundin <mdl@imapmail.org>
275 * ox-publish.el (org-publish-find-title, org-publish-find-date):
276 Make sure to call org-export-get-environment in copy of buffer if
277 emacs is already visiting. Otherwise, #+bind variables meant for
278 export can be set in live buffers.
280 * org.el (org-agenda-inhibit-startup): fix docstring to reflect
283 * ox-publish.el (org-publish-find-title, org-publish-find-date):
284 Fix unnecessary invocations of org-mode with org-inhibit-startup.
286 2014-10-03 Nick Dokos <ndokos@gmail.com>
288 * org-table.el (org-table-clean-before-export): The regexes match
289 spaces in addition to the special characters that might be used in
290 the first column as special marking characters. Remove the space
291 from the character class.
293 * ox-ascii.el (org-ascii-superscript): Change _ to ^ in the
296 2014-10-03 Nick Dokos <ndokos@redhat.com>
298 * org-table.el (org-table-show-reference): Call `set-window-start'
299 with the calculated values `min' and `max', not with
300 (point-min) and (point-max).
302 2014-10-03 Nicolas Goaziou <n.goaziou@gmail.com>
304 * ox-latex.el (org-latex-link): Improve test for unnumbered
307 * ox-ascii.el (org-ascii--fill-string): Allow filling even when
308 `org-export-preserve-breaks' is non-nil.
310 * org.el (org-N-empty-lines-before-current): Make sure to delete
311 only empty lines, not trailing whitespaces.
313 * ox-html.el (org-html-headline): Make sure even listified
314 headlines have proper anchors so internal links can refer to them.
317 * org-src.el (org-edit-src-code): Fix regexp.
318 (org-edit-src-exit): Do not remove auto-save timer. This is
319 handled by the timer itself.
321 * org.el (org-re-property): Fix regexp. Improve docstring.
323 * org-element.el (org-element-property-drawer-parser)
324 (org-element-node-property-parser): Ignore lines that are not node
326 (org-element-node-property-interpreter): Allow nil properties.
328 * org.el (org-re-property): Fix regexp to match properties with
331 * org-element.el (org-element-headline-interpreter): Take into
332 consideration `org-odd-levels-only' value. Small refactoring.
334 * ox-texinfo.el (org-texinfo--get-node): Return a node or anchor
336 (org-texinfo--sanitize-content): Fix regexp.
337 (org-texinfo-link): Fix various bugs in link export.
339 * ox-beamer.el (org-beamer-link):
340 * ox-html.el (org-html-link):
341 * ox-latex.el (org-latex-link):
342 * ox-odt.el (org-odt-link): When radio link has no valid
343 target (e.g., this is a subtree export and the radio target is not
344 in the exported subtree), simply return contents.
346 * org.el (org-called-with-limited-levels): Initialize variable.
348 * org-agenda.el (org-agenda-write): Write headings in proper
351 * org-element.el (org-element-table-interpreter): Enhance
354 * ox-md.el (org-md-link): Allow custom link type export function.
356 * ox-texinfo.el (org-texinfo-template): Fix language and encoding
359 * ox-md.el (org-md-separate-elements): Outside of lists, preserve
360 blank lines between paragraphs and plain lists.
362 * org-element.el (org-element-normalize-contents): Fix indentation
363 removal when there is an empty line within a verse block.
365 * ox-texinfo.el (org-texinfo--normalize-headlines): Properly add a
366 section to the contents.
368 * ox-texinfo.el (org-texinfo--normalize-headlines): Do not set pre
369 blanks since the value is now hard-coded.
370 (org-texinfo-headline): Force one blank line before contents, when non
372 (org-texinfo-src-block): Refactor code. Comply to predicate naming.
374 * ox-texinfo.el (org-texinfo--sanitize-node): Handle
375 " (not)allowed" case.
377 * ox-texinfo.el (org-texinfo-headline): Remove wrong code
380 * ox-texinfo.el (org-texinfo-headline): Remove `not-in-toc'
381 special case for tags.
383 * ox-texinfo.el (org-texinfo-headline): Remove LaTeXism (optional
384 arguments within square brackets).
386 * ox-texinfo.el (org-texinfo-info-process): Fix docstring.
387 (org-texinfo-compile): Do not check for impossible cases (e.g., if the
388 previous variable contains a function).
390 * ox-texinfo.el (org-texinfo-max-toc-depth): Fix docstring.
392 * ox-texinfo.el (org-texinfo--make-option-string,
393 org-texinfo--sanitize-headline,
394 org-texinfo--sanitize-headline-contents): Remove.
396 * ox-texinfo.el (org-texinfo--sanitize-node): "@", "{" and "}"
397 characters are allowed in a node name. So are "(" and ")" unless
398 "(" starts the name and there is ")" somewhere in the name. Also
399 trim and collapse whitespace characters. Renamed from
400 `org-texinfo--sanitize-menu'.
401 (org-texinfo--get-node): Do not sanitize node names over zealously.
402 Ensure returned node names are unique.
403 (org-texinfo-headline): Only add @node command where it makes sense.
405 * ox-texinfo.el (org-texinfo--sanitize-menu)
406 (org-texinfo--sanitize-content): Fix docstrings.
408 * ox-texinfo.el (org-texinfo--normalize-headlines): Make sure a
409 blank line always follows nodes.
411 * ox-texinfo.el (org-texinfo-make-menu): Change signature. Remove
412 some intermediate functions. Generate the full master menu when
414 (org-texinfo--build-menu): Use a simpler algorithm.
415 (org-texinfo--format-entries): Fix entries when both node and title
417 (org-texinfo--menu-entries): Renamed from `org-texinfo--generate-menu-list'.
418 (org-texinfo-headline): Move menu handling to next function.
419 (org-texinfo-section): Handle menu for current parent.
420 (org-texinfo--menu-headlines, org-texinfo--generate-detailed): Remove
422 (org-texinfo--normalize-headlines): New function.
424 * ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
426 * ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
427 text for sectioning command.
429 * ox-texinfo.el (org-texinfo--generate-menu-list): ":COPYING: nil"
430 is expected to be equivalent to no COPYING property at all.
432 * ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
434 * ox-texinfo.el (org-texinfo-plain-list): Fix format string.
437 * ox-texinfo.el (texinfo): Provide new export property.
438 (org-texinfo-template): Use dedicated title for hard copy, when
441 * ox-texinfo.el (org-texinfo-headline): Always obey to a non-nil
442 :APPENDIX: property. Small refactoring.
444 * ox-texinfo.el (org-texinfo-verse-block): Generate somewhat
445 meaningful Texinfo code instead of LaTeX.
447 * ox-texinfo.el (org-texinfo-table): Remove reference to
448 "verbatim" attribute. Handle table.el tables. Tiny refactoring.
449 (org-texinfo-table--org-table, org-texinfo-table--table.el-table):
451 (org-texinfo-table-column-widths): Indent code correctly. Ignore
452 special column, if any. Add a comment about the limitation on the
454 (org-texinfo-table-row): Small refactoring.
456 * ox-texinfo.el (texinfo): Do not provide a default value for
458 (org-texinfo-filename): Remove variable.
459 (org-texinfo-template): Correctly find value for @setfilename command.
460 If none is possible, do not provide the command at all.
462 * ox.el (org-export-to-file): Provide output file name in
463 communication channel, through :output-file property.
465 * ox-texinfo.el (org-texinfo-template): Do not hardcode "Manual"
468 * ox-texinfo.el (org-texinfo-classes): Change default value.
470 (org-texinfo-template): Insert header string from current class after
471 "@settitle" command. Always provide "\input texinfo" at the beginning
474 * ox-texinfo.el (org-texinfo-template): Remove spurious blank
475 lines in output. Refactor code.
477 * ox-texinfo.el (org-texinfo-template): Fix multi-line subtitles.
479 * ox-texinfo.el (org-texinfo-template): Make sure table of
480 contents are allowed before inserting them.
482 * ox-texinfo.el (org-texinfo-template): Check if copying data is
483 not nil before using it.
485 * ox-texinfo.el (org-texinfo-template): Fix multi-line subauthors.
486 Correctly add email, when provided. Check if author info is
489 * ox-texinfo.el (org-texinfo-node-description-column)
490 (org-texinfo-format-drawer-function): Fix docstrings.
492 * ox-texinfo.el (texinfo): Make sure comments are ignored.
493 (org-texinfo-comment, org-texinfo-comment-block): Remove functions.
495 * ox-texinfo.el (org-texinfo-template): Properly pad @direntry
498 * org-element.el (org-element-headline-parser): Add missing
499 `:post-blank' property in docstring.
501 * ox-latex.el (org-latex-table-scientific-notation): Set
503 (org-latex-listings-options): Fix docstring.
505 * ox.el (org-export-raw-special-block-p): New function.
507 * org-element.el (org-element-link-parser): Properly handle
508 multi-line links according to RFC 3986 when enclosed within square
511 * org-element.el (org-element-parse-secondary-string): Clone all
512 local variables from current buffer before parsing a secondary
513 string. Small refactoring.
514 (org-element-object-variables): Remove variable.
516 * ox-odt.el (org-odt--format-paragraph): Change signature to
518 (org-odt-footnote-reference, org-odt-paragraph): Apply signature
521 * org-clock.el (org-clocktable-indent-string): Use "\emsp" instead
522 of "\__", which is not supported anymore since Org 8.0.
524 * ox-odt.el (org-odt--paragraph-style): New function.
525 (org-odt--format-paragraph): Use new function to get proper style
528 * org-element.el (org-element--current-element): Fix regexp.
530 * org-element.el (org-element--current-element): Fix regexp
531 matching latex environments. Discrepancy with regexp used in
532 `org-element-latex-environment-parser' introduced matching errors.
534 * ox-ascii.el (org-ascii--table-cell-width): Correctly export
535 tables with width cookies.
537 * org.el (org-insert-heading): Fix error when inserting a headline
538 before first headline, with point not at bol. Remove source block
539 check for consistency with behavior after first headline. Tiny
542 * org.el (org-scan-tags): Fix typo in docstring.
544 * ox.el (org-export--get-inbuffer-options): Return the empty
545 string instead of nil when TITLE keywords has no value.
546 (org-export--get-buffer-attributes): Do not set :title property
548 (org-export--get-global-options): Do not ignore anymore nil values.
550 (org-export-as): Correctly set :title here.
552 * org-list.el (org-list-repair): Fix typo in docstring.
554 * ox-ascii.el (org-ascii--current-text-width): Tiny fix.
556 * ox-org.el (org-org-section): Tiny refactoring. Use appropriate
559 * ox-org.el (org-org-headline): Ignore footnote sections.
560 (org-org-section): New function.
562 * ox-beamer.el (org-beamer-select-environment): Ignore persistent
563 tags when displaying environments.
565 * ox-ascii.el (org-ascii-indented-line-width): Update docstring.
566 (org-ascii-paragraph): Do not apply indentation to the very first line
569 * ox-latex.el (org-latex-inlinetask): Skip body if contents are
572 * ox-html.el (org-html-standalone-image-p): Ensure paragraph
573 contains at least a link before return a non-nil value. Clarify
576 * ox.el (org-export-data): Always return a string, as specified
579 * ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
580 stack overflow in regexp matcher on very long lines.
582 * org-element.el (org-element-timestamp-parser): Fix docstring.
584 * ox-icalendar.el (org-icalendar-include-sexps,
585 org-icalendar-blocked-headline-p): Fix docstrings.
586 (org-icalendar-clear-blank-lines): Fix docstring and regexp.
588 * ox-icalendar.el (org-icalendar-entry): Use
589 `org-icalendar-with-timestamps'.
591 2014-10-03 Nicolas Richard <theonewiththeevillook@yahoo.fr>
593 * org.el (org-cycle-internal-local): Don't show a trailing
594 character when cycling a subtree that ends with a non-newline
595 character at the end of the buffer or the narrowed region.
597 2014-10-03 Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
599 * ox-ascii.el (org-ascii--box-string): Choose more universal
600 Unicode characters for boxquote corners.
602 2014-10-03 Marco Wahl <marcowahlsoft@gmail.com> (tiny change)
604 * org-agenda.el (org-agenda-bulk-mark)
605 (org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all): Fix
606 org-agenda-bulk-mark-all when time-grid is shown.
608 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
610 * org-compat.el (activate-mark): Set transient-mark-mode buffer-locally.
612 2014-06-22 Mario Lang <mlang@delysid.org>
614 * org-list.el (org-list-insert-item): The the -> the.
616 * org-bibtex.el (org-bibtex-fields): The the -> the.
618 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
620 * ob-core.el (org-babel-insert-result): Prefer point-min-marker
621 and point-max-marker.
622 * org-mouse.el (org-mouse-do-remotely): Prefer point-marker
623 to copy-marker of point.
625 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
627 * org-compat.el (org-font-lock-ensure): New function.
628 * ox-odt.el (org-odt-do-format-code):
629 * ox-html.el (org-html-fontify-code):
630 * org.el (org-fontify-like-in-org-mode):
631 * org-src.el (org-src-font-lock-fontify-block):
632 * org-clock.el (org-clock-get-clocktable): Use it.
633 * ox-org.el (org-org-publish-to-org): Use it. Avoid using find-file
636 2014-05-12 Eric Schulte <eric.schulte@gmx.com>
638 * ob-screen.el (org-babel-screen-session-write-temp-file)
639 (org-babel-screen-test):
640 Use unpredictable names for temporary files. (Bug#17416)
642 2014-04-22 Aaron Ecay <aaronecay@gmail.com>
644 * org-src.el (org-edit-src-exit): Place an undo boundary before
645 writing changes back to parent buffer.
647 2014-04-22 Achim Gratz <Stromeko@Stromeko.DE>
649 * ob-gnuplot.el (org-babel-gnuplot-process-vars):
650 `org-babel-gnuplot-table-to-data´ expects a table, so we need to
651 construct one when Babel hands us a vector.
653 * ob-ref.el (org-babel-ref-parse):
654 If `org-babel-current-src-block-location' is a marker, it can be from
655 another buffer, use marker-position instead in this case.
657 2014-04-22 Arun Persaud <apersaud@lbl.gov> (tiny change)
659 * org-src.el (org-edit-src-exit): Don't add indentation on empty lines.
661 2014-04-22 Bastien Guerry <bzg@gnu.org>
663 * org.el (org-insert-heading): Fix behavior when point is at the
664 beginning of a heading or a list item. Enhance docstring.
666 * ox-html.el (org-html-infojs-install-script): Don't install
667 infojs scripts when #+INFOJS_OPT: is empty.
669 * org.el (org-mode): Fix the use of `org-*-element' functions for
670 C-M-a and C-M-e but fix C-M-e.
672 * org-agenda.el (org-agenda-search-view): Fix tag.
674 * org.el (org-check-before-invisible-edit): Don't just cycle, show
675 the subtree, as cycling may leave the current heading folded.
676 (org-contextualize-validate-key): Fix wrong test.
678 * org-bibtex.el (org-bibtex-headline): Don't throw an error when
679 trying to add a keyword field to a BibTeX entry that is not known
680 by BibTeX or defined by the user.
681 (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
683 * ox-latex.el (org-latex-src-block): Fix wrong propagation of
684 labels and captions when using the listings environment.
686 * org.el (org-sort-entries): Fix the number of blank lines to
687 keep for the last entry to sort.
689 * org-clock.el (org-clock-put-overlay): Fix display when
690 `org-indent-mode' is on.
692 * org.el (org-sort-entries): Allow to sort by clocking time.
694 * org-agenda.el (org-agenda-finalize): Apply all filters
697 * org.el (org-update-dblock): Use `save-excursion' instead of
698 `save-window-excursion' so that blocks can edit other windows and
699 change the window layout.
701 * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
702 (org-agenda-dim-blocked-tasks): Make overlays intangible.
703 (org-agenda-show-new-time): Fix bug when deleting a timestamp
704 right after changing it.
705 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
706 (org-agenda-get-sexps, org-agenda-filter-by-regexp)
707 (org-agenda-filter-top-headline-apply): Fix indentation.
709 * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
710 to edit/move as in a table.
712 * org-agenda.el (org-agenda-show-new-time): Don't use
713 `move-beginning-of-line' as it is slower and not needed.
715 * org-compat.el (org-move-to-column): Temporarily set
716 `buffer-invisibility-spec' more accurately.
718 * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
719 underlining instead of \uline{...} as requiring the hyperref
720 package makes \uline{...} unusable on headline.
722 * org.el (org-latex-default-packages-alist): Add the "soul"
725 * org.el (org-refresh-properties): Don't add the property to
726 the whole subtree, only to the part between the beginning of
727 the headline and the end of the "content", before any other
728 headline. This fix a bug about properties displayed as
729 inherited in the agenda, where Org properties are checked
730 against text properties.
732 * ox-latex.el (org-latex--text-markup): Replace newlines by
733 whitespaces in \verb constructs.
735 * org-agenda.el (org-agenda-filter-hide-line): Hide from the
736 beginning of the line to the beginning of the next line.
737 (org-agenda-show-new-time): Use `move-beginning-of-line' and
739 (org-agenda-drag-line-forward): Adapt to the new definition of
740 hidden filtered lines.
742 * org-compat.el (org-move-to-column): Always ignore invisible
743 text in agenda buffer, and when there is both a bracket link
744 and '(org-link) as a member of `buffer-invisibility-spec'.
747 * org.el (org-align-tags-here): Add docstring and remove useless
748 arguments when calling `org-move-to-column'.
750 * org-table.el (org-table-copy-down)
751 (org-table-find-dataline, org-table-move-row)
752 (org-table-insert-hline, org-table-kill-row):
753 * org-agenda.el (org-agenda-next-item)
754 (org-agenda-previous-item, org-agenda-todo)
755 (org-agenda-priority, org-agenda-show-new-time)
756 (org-agenda-clock-in, org-agenda-clock-out): Remove useless
757 arguments when calling `org-move-to-column'.
759 * org.el (org-refile): Fix calling with a numeric prefix argument
760 of 3 to refile and keep.
762 * org-clock.el (org-clock-get-table-data): When :link is `t' in
763 the clocktable parameters, bracket links in the clocktable should
764 only contain their description, other C-c C-o will try to open the
765 bracket link at point instead of the headline.
767 * org-agenda.el (org-agenda-todo): Always restore the window state
768 after `org-agenda-change-all-lines' has been called.
769 (org-agenda-open-link): Don't throw an error when trying to open a
770 link when the point is on a place that is not associated with a
773 * ox-latex.el (org-latex-link): Escape `%' characters.
775 * org.el (org-entry-get-with-inheritance): Remove wrong quote.
776 (org-entry-get): Only try to combine file properties with local
777 properties when the property drawer contains such local property,
778 not when the property drawer exists.
780 * ox-latex.el (org-latex-link):
781 * ox-html.el (org-html-link):
782 * ox-beamer.el (org-beamer-link): Fix links to radio targets.
784 * ox-ascii.el (org-ascii-link): For links to a radio target, use
785 the link, not the target.
787 * org.el (org-do-emphasis-faces): Explicitly prevent nested
789 (org-insert-heading): Don't remove whitespaces following an empty
792 * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
795 * org.el (org-store-link): Ensure desc is not nil before matching
796 a regexp against it. Fall back on an empty string when no
797 description is available.
799 * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
800 `org-agenda-buffer-name'.
802 * org-capture.el (org-capture-finalize): Ensure to widen the
803 buffer when the target buffer is not initially narrowed.
805 * org-compat.el (org-move-to-column): Fix bug about ignoring
806 bracket links visibility status in tables with S-RET.
808 * org-src.el (org-edit-src-find-region-and-lang): Check if we are
809 in a table.el table last.
811 * org.el (org-delete-property): Don't suggest to delete the
812 CATEGORY property when the category is not explicitely set in the
813 property drawer. Also enforce matching when completing.
814 (org-insert-heading): Fix regression: with two universal prefixes,
815 insert heading at the end of the subtree.
816 (org-insert-todo-heading): Bugfix: only enforce the first TODO
817 state when arg is '(4).
819 * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
821 * org.el (org-contextualize-validate-key): Fix bug: perform the
822 check even when (buffer-file-name) returns `nil'.
824 * org-colview.el (org-columns-display-here): Let-bind `fm'.
826 * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
827 and `org-code' for ~text~.
828 (org-open-link-marker): Fix typo in docstring.
830 * org-colview.el (org-columns-display-here): Fix the column
831 view for numbers with a format specifier (e.g. {+; %5.1f}).
833 * org-src.el (org-edit-src-code): Throw a warning instead of
834 an error when loading the mode fails, otherwise the user is
835 left with unusable buffers.
837 * org-table.el (org-table-copy-down)
838 (org-table-find-dataline, org-table-move-row)
839 (org-table-insert-hline, org-table-kill-row):
840 Use `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
841 that abbreviated rows don't interfer with setting the cursor back
842 at the correct position.
844 * org.el (org-agenda-prepare-buffers): Use `save-excursion'
845 instead of `save-window-excursion'.
846 (org-file-contents): Return an empty string instead of the
848 (org-open-at-point): Fix bug when opening a plain link followed by
850 (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
852 (org-refile--get-location): New internal function using a wider
853 set of possible refile locations.
854 (org-refile-get-location): Use it.
855 (org-refile): Fix bug when refiling the last subtree of the
856 buffer: don't leave out the last character.
857 (org-sort-entries): Restore the point location when there is
860 * org-table.el (org-table-field-info): Throw a user error when not
863 * org-agenda.el (org-agenda-drag-line-forward):
864 Call `org-agenda-mark-clocking-task' when done.
865 (org-agenda-mark-clocking-task): Small refactoring.
867 * org-compat.el (org-set-transient-map): Alias pointing at
868 `set-transient-map' if defined, at `set-temporary-overlay-map'
871 * org-agenda.el (org-agenda-next-item)
872 (org-agenda-previous-item, org-agenda-toggle-archive-tag)
873 (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
874 (org-agenda-clock-out): Put the cursor back on the correct
875 column, when possible.
876 (org-agenda-todo): When `org-clock-out-when-done' is `t', also
877 remove the current clock overlay.
879 * org.el (org-format-latex-options): Fix docstring.
881 * ox.el (org-export--get-subtree-options): When using the headline
882 as a title for a subtree export, only take the true heading, no
883 TODO keyword, no priority cookie, no tag.
885 * org.el (customize-package-emacs-version-alist): Fix Org version
888 * org.el (org-demote): Ignore invisible text when aligning tags.
889 (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
890 invisible text when restoring the cursor to the correct column.
892 * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
893 properties before formatting the results.
895 * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
897 (org-agenda-reapply-filters): New function.
898 (org-agenda-drag-line-forward): Rewrite to fix a bug when used
900 (org-agenda-drag-line-backward): Rewrite using
901 `org-agenda-drag-line-forward'.
903 * ob-table.el (org-sbe): Rename from `sbe'.
905 * org.el (org-store-link): When a link has been stored, always
908 * ob-python.el (org-babel-python-var-to-python): Fix code typo.
910 * org-entities.el (org-entities-help): Prevent the display of
911 pretty entities, as this help buffer is meant to list literal
912 strings, not utf-8 representations.
914 2014-04-22 Benjamin Drieu <bdrieu@april.org>
916 * org.el (org-store-link): Fix selection of the function to store
919 2014-04-22 Ilya Shlyakhter <ilya_shl@alum.mit.edu>
921 * org.el (org-entry-get-with-inheritance): Temporarily let-bind
922 `org-file-properties', `org-global-properties' and
923 `org-global-properties-fixed' to nil before calling
924 `org-entry-get' on entries up the hierarchy from the queried
927 2014-04-22 Justin Gordon <justin.gordon@gmail.com>
929 * ox-md.el (org-md-separate-elements): Fix blank line insertion
932 * ox-md.el (org-md-inner-template): New function.
934 2014-04-22 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
936 * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
937 of unknown BibTeX entries.
939 2014-04-22 Markus Hauck <markus1189@gmail.com> (tiny change)
941 * org-agenda.el (org-agenda-get-scheduled):
942 If `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
943 'repeated-after-deadline, still show tasks without any deadline
945 2014-04-22 Michael Brand <michael.ch.brand@gmail.com>
947 * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
948 lines with `forward-line'.
950 2014-04-22 Michael Weylandt <michael.weylandt@gmail.com> (tiny change)
952 * ox-latex.el (org-latex-export-to-latex): Downcase the language
953 name when using minted highlighting for src block exports.
955 2014-04-22 Nick Dokos <ndokos@gmail.com>
957 * org-mobile.el (org-mobile-create-index-file): delete :grouptags
958 entries from tags list when creating the org-mobile index file.
960 2014-04-22 Nicolas Goaziou <n.goaziou@gmail.com>
962 * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
965 * org.el (org-sparse-tree): Fix code typo. Small refactoring.
967 * ox-latex.el (org-latex-link):
968 * ox-html.el (org-html-link): Do not expand absolute file names
969 and do not try to fix hierarchy part, as it is already taken care of
972 * ox-md.el (org-md-link): Ditto. Also fix absolute file names.
974 * ox-odt.el (org-odt-link):
975 * ox-man.el (org-man-link):
976 * ox-texinfo.el (org-texinfo-link):
977 * org-element.el (org-element-link-parser): Fix ill-defined "file"
978 type links. Expand absolute file names in the process.
980 * org.el (org-make-link-regexps): Use `regexp-opt' instead of
981 `mapconcat' and `regexp-quote'.
983 * ox-html.el (org-html-link):
984 * ox-latex.el (org-latex-link):
985 * ox-man.el (org-man-link):
986 * ox-odt.el (org-odt-link):
987 * ox-html.el (org-html-link):
988 * ox-latex.el (org-latex-link):
989 * ox-man.el (org-man-link):
990 * ox-odt.el (org-odt-link):
991 * ox-texinfo.el (org-texinfo-link): Append "//" after some link
994 * ox-md.el (org-md-link):
995 * org.el (org-make-link-regexps): Allow optional double slashes
996 after type. Small refactoring.
998 * org-element.el (org-element-headline-parser): Tiny refactoring.
1000 * org-element.el (org-element-headline-parser): Correctly parse
1001 blank lines after a headline.
1003 * org-element.el (org-element-table-cell-parser)
1004 (org-element-table-cell-successor): Recognize cell even when last
1005 vertical bar is missing.
1007 * ox-md.el (org-md-example-block): handle switches and references
1010 * org.el (org-latex-packages-alist)
1011 (org-latex-default-packages-alist): Update docstrings.
1013 * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
1014 uniquifying links in section.
1016 * ox-odt.el (org-odt-template): Ignore blank titles.
1018 * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
1021 * ox-ascii.el (org-ascii-link):
1022 * ox-beamer.el (org-beamer-link):
1023 * ox-html.el (org-html-link):
1024 * ox-latex.el (org-latex-link):
1025 * ox-md.el (org-md-link):
1026 * ox-odt.el (org-odt-link): Update radio target export according
1029 * org-element.el (org-element-all-successors)
1030 (org-element-object-restrictions): Prioritize `link' over other
1031 successors in order to find radio links starting with another
1032 syntax object (e.g., an entity). Also allow text markup within
1034 (org-element-link-parser): Add contents to radio targets.
1036 * org.el (org-make-target-link-regexp): Fix regexp so it can match
1037 targets starting with an Org object (e.g., an entity).
1038 (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
1039 within a radio target.
1041 * org.el (org-mode): Change "\" and "~" characters syntax from
1042 `punctuation' to `symbol' so they are on par with other characters
1043 used in Org syntax (e.g., "/", "*"...).
1045 * ox-beamer.el (org-beamer-publish-to-pdf):
1046 * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
1047 generated in the same directory as the ".org" file.
1049 * ox-latex.el (org-latex-headline): Hard-code "\underline" in
1050 sections because "\uline" ("ulem" package) returns an error and
1051 "\ul" ("soul" package) doesn't support chinese characters.
1053 * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
1054 between radio targets and radio links.
1056 * org-element.el (org-element-link-parser): "radio" links have
1057 their path downcased to avoid introducing case mismatch with their
1058 relative radio target. With this change it is also necessary to
1059 add contents to them, since `:path' property no longer matches
1060 real value of the link.
1061 (org-element-radio-target-parser): Downcase value as explained
1062 above. Store the initial value in a new `:raw-value' property.
1064 * org-element.el (org-element-context): Fix parsing of bold
1065 objects at the beginning of a headline.
1067 * org-element.el (org-element-context): Fix timestamps parsing.
1069 * ox-beamer.el (org-beamer-item): Insert the export snippet right
1070 after the first \item, not all of them.
1072 * org-element.el (org-element--list-struct): Fix regexp.
1074 * org-element.el (org-element-inlinetask-parser): Fix parsing when
1075 regular and degenerate inlinetasks are mixed in the section.
1077 * ox-md.el (org-md-link): Generate md links to other Org files
1078 instead of html links. Do not confuse caption and alt-text.
1079 Provide "img" as default alt-text.
1081 * org-element.el (org-element-normalize-contents): Do not ignore
1082 empty lines when an object follows.
1083 (org-element-interpret-data): Do not remove properties by
1084 side-effect when interpreting a string, as it also removes them
1085 from the parse tree, making the string unusable without its
1088 * ob-exp.el (org-babel-exp-process-buffer): Also check
1089 `org-src-preserve-indentation' to know when to preserve indentation.
1090 (org-babel-exp-code-template): Include switches in template.
1091 (org-babel-exp-code): Provide %switches placeholder.
1093 * ox-latex.el (org-latex-plain-list): Do not automatically
1094 enclose value for :options attribute within square brackets.
1095 Instead, append them verbatim next to the block name, as special
1098 * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
1100 (org-babel-exp-process-buffer): Make processing more robust when
1101 results are inserted before source block or when source block is
1102 followed by multiple blank lines.
1104 * ox.el (org-export-insert-default-template): Only insert
1105 keywords and options relatives to the selected back-end.
1106 Ignore those relatives to its parent in the case of a derived back-end.
1108 * ox-beamer.el: Remove unnecessary package definitions in default
1111 * ox-latex.el (org-latex-headline, org-latex-item): Fix items
1112 starting with a square bracket.
1114 * org.el (org-mode-restart): Fix turning off `org-indent-mode'
1116 (org-get-previous-line-level): Do not call `org-current-level'
1117 twice unless necessary. Also, avoid using `line-number-at-pos'
1118 when the information needed is to know if point is in the first
1119 line of the visible part of the buffer.
1121 * ob-core.el (org-babel-get-inline-src-block-matches): Do not
1122 compute line number if all is needed is to know if we're on the
1125 * ox-md.el (org-md-item): Do not return an error when exporting
1128 * ox-beamer.el (org-beamer-select-environment): Function doesn't
1129 work if fast tag selection is disabled, so make sure it is always
1130 on, independently on user's configuration.
1132 2014-04-22 Nikolai Weibull <now@disu.se> (tiny change)
1134 * org.el (org-mode): Add guard around set-face-foreground.
1136 2014-04-22 Rasmus <w530@pank.eu>
1138 * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
1140 2014-04-22 Rick Frankel <rick@rickster.com>
1142 * ox-html.el (org-html-link): Unescape org-escaped links an
1143 re-escape for html (browser).
1145 2014-04-22 Sacha Chua <sacha@sachachua.com>
1147 * org.el (org-refresh-properties): Don't throw an error when
1148 reaching the end of the buffer.
1150 2014-04-22 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1152 * org-bibtex.el (org-bibtex-read): Check string length before
1155 2014-04-22 Yasushi SHOJI <yashi@atmark-techno.com>
1157 * ox-ascii.el (org-ascii--current-text-width): Convert `length'
1159 (org-ascii--build-title, org-ascii--build-toc)
1160 (org-ascii--list-listings, org-ascii--list-tables)
1161 (org-ascii-template--document-title)
1162 (org-ascii-inner-template, org-ascii-format-inlinetask-default)
1163 (org-ascii-format-inlinetask-default, org-ascii-item
1164 (org-ascii--table-cell-width, org-ascii-table-cell)
1165 (org-ascii--current-text-width): Likewise.
1167 2014-02-25 Glenn Morris <rgm@gnu.org>
1169 * org-version.el (org-odt-data-dir):
1170 Remove incorrect, duplicate definition. (Bug#16734)
1172 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1175 * org-irc.el (org-irc-ellipsify-description): Rename from
1176 org-irc-elipsify-description. All uses changed.
1178 2013-01-07 Bastien Guerry <bzg@gnu.org>
1180 * org-clock.el (org-clock-cancel-hook)
1181 (org-clock-leftover-time): Fix typo in docstring.
1183 * ox-odt.el (org-odt--frame): Add a draw:name property to the
1185 (org-odt-format-label): Don't use short-caption at all.
1187 * org-rmail.el (org-rmail-follow-link): Don't raise an error when
1188 no article is matched.
1190 * org.el (org-set-tags): Ignore invisible text when restoring
1192 (org-refile-get-location): Check for a refile position when the
1193 position is not nil, otherwise allow to create the parent node if
1194 the user requests it.
1195 (org-refile-allow-creating-parent-nodes): Fix typo in
1197 (org-entry-get): Minor docstring enhancement.
1198 (org-set-startup-visibility): Bugfix.
1199 (org-shiftcontrolup, org-shiftcontroldown):
1200 When `org-support-shift-select' is not `nil', let-bind it to nil if
1201 point is on a clock log. Otherwise throw an error.
1203 * ob-lob.el (org-babel-lob-files): Fix custom type.
1204 (org-babel-lob-ingest): Small docstring fix.
1206 * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
1207 `later than any date' instead of `later than today'.
1209 * org.el (org-do-emphasis-faces): Handle false positives by
1210 restarting the re-search one char after the beginning of the
1211 match, not one char before its ending.
1212 (org-entry-put): Check that the value provided is a string. If it
1213 is nil, convert it to the empty string.
1215 * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
1216 instead of list as the defcustom type.
1218 * ox.el (org-export-with-creator):
1219 * org.el (org-loop-over-headlines-in-active-region)
1220 (org-mouse-1-follows-link, org-provide-todo-statistics):
1221 * org-agenda.el (org-agenda-custom-commands-local-options)
1222 (org-agenda-start-with-log-mode)
1223 (org-agenda-show-inherited-tags): Don't quote const values.
1225 * ox-texinfo.el (org-texinfo-def-table-markup):
1226 * org-inlinetask.el (org-inlinetask-show-first-star):
1227 * ob-maxima.el (org-babel-maxima-command): Add type.
1229 * org-table.el (org-table-fix-formulas): Handle multiple
1232 * ox.el (org-export-to-file): Fix typo in docstring.
1234 * org.el (org-self-insert-command)
1235 (orgtbl-self-insert-command): Change the value of the
1236 `delete-selection' property to allow other commands like
1237 `electric-pair-will-use-region' to be run before deletion.
1239 * org-attach.el (vc-git): Require.
1240 (org-attach-commit): Check whether git is installed.
1242 2013-01-07 Nicolas Goaziou <n.goaziou@gmail.com>
1244 * ox-icalendar.el (org-icalendar--combine-files): Make sure
1245 anniversaries do not end up in *Message* buffer instead of the ICS
1248 * ox-html.el: Clean up "FIXME" comments.
1250 * ox-publish.el (org-publish-resolve-external-fuzzy-link):
1253 * ox.el (org-export-smart-quotes-regexps): Fix smart quote
1254 detection when it is followed by an open parenthesis syntax class.
1256 * org-element.el (org-element-inline-babel-call-successor):
1257 Use original regexp to stay up-to-date with Babel changes.
1258 (org-element--affiliated-re): Fix affiliated keyword regexp.
1260 * ox-org.el (org-org-identity): Since back-end specific keywords
1261 are stripped from output, also remove attr_backend keywords.
1262 (org-babel-exp-process-buffer): Fix duplicate evaluation with
1264 (org-babel-exp-non-block-elements): Remove function.
1266 2013-01-07 Ted Wiles <thewiles@wharton.upenn.edu> (tiny change)
1268 * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
1271 2013-01-07 U-usuario <rbenit68@yahoo.es> (tiny change)
1273 * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
1276 2013-01-07 Vladimir Lomov <lomov.vl@gmail.com> (tiny change)
1278 * ox-html.el (org-html-style-default): New classes caption.t-above
1279 and caption.t-bottom.
1280 (org-html-table): Use new classes.
1282 2013-12-23 Chong Yidong <cyd@gnu.org>
1284 * org.el (orgstruct-make-binding): Call set-transient-map instead
1285 of old name set-temporary-overlay-map.
1287 2013-12-06 Achim Gratz <Stromeko@Stromeko.DE>
1289 * org-crypt.el: Declare `epg-context´.
1290 (org-encrypt-string): Correct indentation.
1292 * org.el (org-version): Replace `_version´ by `version1´.
1294 2013-12-06 Alexander Vorobiev <alexander.vorobiev@gmail.com> (tiny change)
1296 * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
1297 to get the clipboard data under Windows.
1299 2013-12-06 Bastien Guerry <bzg@gnu.org>
1301 * ox.el (org-export-with-sub-superscripts):
1302 * org.el (org-use-sub-superscripts): Fix version and enhance
1305 * ox.el (org-export-with-sub-superscripts):
1306 * org.el (org-use-sub-superscripts): Enhance docstrings.
1308 * org-macs.el (org-autoload): Delete.
1310 * org-docview.el ("docview"): Fix declarations and require
1313 * org-id.el (org-id-copy)
1314 (org-id-get-with-outline-path-completion)
1315 (org-id-get-with-outline-drilling, org-id-new):
1318 (org-colview-initial-truncate-line-value)
1319 (org-columns-open-link, org-string-to-number):
1321 (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
1322 * org-archive.el (org-get-local-archive-location):
1323 * org-agenda.el (org-agenda-todo-custom-ignore-p):
1326 * org.el (org-return-follows-link):
1327 * ob-python.el (org-babel-python-command): Don't use :set.
1329 * ox-odt.el (org-odt-content-template-file): Fix version.
1331 * ox-texinfo.el (org-texinfo-filename): Fix default value.
1332 (org-texinfo-format-headline-function): Use 'ignore as the
1334 (org-texinfo-format-drawer-function): Use a function as the
1335 default value. Update docstring.
1336 (org-texinfo-drawer): Always use
1337 `org-texinfo-format-drawer-function' as it is now a function
1339 (org-texinfo-headline):
1340 Compare `org-texinfo-format-headline-function' against 'ignore.
1341 (org-texinfo-inlinetask):
1342 Compare `org-texinfo-format-inlinetask-function' against 'ignore.
1344 * ox-odt.el (org-odt-format-drawer-function): Use a function as
1345 the default value. Update docstring.
1346 (org-odt-format-headline-function)
1347 (org-odt-format-inlinetask-function): Fix default value.
1348 (org-odt-drawer): Always use `org-odt-format-drawer-function'
1349 as it is now a function by default.
1350 (org-odt-format-headline--wrap):
1351 Compare `org-odt-format-headline-function' against 'ignore.
1353 * ox-latex.el (org-latex-format-drawer-function): Use a function
1354 as the default value. Update docstring.
1355 (org-latex-format-inlinetask-function): Fix default value.
1356 (org-latex-drawer): Always use
1357 `org-latex-format-drawer-function' as it is now a function by
1359 (org-latex-inlinetask):
1360 Compare `org-latex-format-inlinetask-function' against 'ignore.
1362 * ox-html.el (org-html-format-drawer-function): Use a function as
1363 the default value. Update docstring.
1364 (org-html-format-headline-function)
1365 (org-html-format-inlinetask-function): Fix default value.
1366 (org-html--format-toc-headline)
1367 (org-html-format-headline--wrap):
1368 Compare `org-html-format-headline-function' against 'ignore.
1369 (org-html-inlinetask):
1370 Compare `org-html-format-inlinetask-function' against 'ignore.
1372 * ox-ascii.el (org-ascii-format-drawer-function): Use a
1373 function as the default value. Update docstring.
1374 (org-ascii-drawer): Always use
1375 `org-ascii-format-drawer-function' as it is now a function by
1377 (org-ascii-format-inlinetask-default): New function.
1378 (org-ascii-format-inlinetask-function):
1379 Use `org-ascii-format-inlinetask-default' as the default.
1381 * org.el (org-mouse-1-follows-link): Use :set to set the default
1382 value. Update custom type.
1383 (org-log-note-headings): Fix order or list items in the custom
1385 (orgstruct-heading-prefix-regexp): Use an empty string as the
1386 default value. Use 'regexp as the custom type.
1387 (orgstruct-make-binding): Tiny docstring enhancement.
1388 Assume `orgstruct-heading-prefix-regexp' is a string.
1390 * org-agenda.el (org-agenda-search-view-max-outline-level):
1391 Set default value to 0. Update docstring.
1392 (org-agenda-deadline-leaders): Fix custom type.
1394 Assume `org-agenda-search-view-max-outline-level' is a number.
1396 * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
1398 * ob-python.el (org-babel-python-mode): Use :set to set the
1400 (org-babel-python-None-to): Fix custom type.
1402 * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
1403 (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
1406 * ob-latex.el (org-babel-latex-htlatex): Fix default value.
1407 (org-babel-latex-htlatex-packages): Fix custom type.
1408 (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
1411 * ox-odt.el (org-odt-display-outline-level): Fix version.
1413 * ox-odt.el (org-odt-inline-formula-rules)
1414 (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
1415 and package-version.
1417 * ox-html.el (org-html-format-drawer-function)
1418 (org-html-format-headline-function)
1419 (org-html-format-inlinetask-function)
1420 (org-html-creator-string): Add version and package-version.
1422 * ox-html.el (org-html-text-markup-alist): Fix version.
1424 * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1426 * ob-calc.el (org--var-syms): Rename from `var-syms'.
1428 * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
1431 * ob-table.el (sbe): Move debug declaration.
1433 * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1435 2013-12-06 Nicolas Goaziou <n.goaziou@gmail.com>
1437 * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
1438 object, look for something to do at a higher level instead of
1441 * ox-html.el (org-html-format-latex): Add an argument. Ensure
1442 latex header is the same as specified in the original buffer when
1443 exporting a LaTeX fragment or environment.
1444 (org-html-latex-environment, org-html-latex-fragment):
1445 Apply signature change.
1447 * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
1448 when publishing a non-existent file.
1450 * org-element.el (org-element-paragraph-separate): More accurate
1453 * org.el (org-entry-get): Widen buffer in order to retrieve
1454 properties, as `org-entry-properties' and
1455 `org-entry-get-with-inheritance' already do.
1457 * ox-html.el (org-html--format-toc-headline): Add missing headline
1458 number in TOC entries.
1460 * org.el (org-entry-properties): Ignore narrowing when retrieving
1461 current headline properties.
1463 2013-12-06 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
1465 * org-crypt.el (org-encrypt-string, org-encrypt-entry)
1466 (org-decrypt-entry): Fix warning.
1468 2013-11-17 Paul Eggert <eggert@cs.ucla.edu>
1471 * ob-python.el (org-babel-python-with-earmuffs):
1472 Rename from org-babel-python-with-earmufs. All uses changed.
1473 (org-babel-python-without-earmuffs):
1474 Rename from org-babel-python-without-earmufs. All uses changed.
1476 2013-11-12 Bastien Guerry <bzg@gnu.org>
1478 * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1480 2013-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1482 Address some byte-compiler warnings.
1483 * ob-calc.el (org--var-syms): Rename from `var-syms'.
1484 * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
1485 * ob-table.el (sbe): Move debug declaration.
1486 * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1487 * org.el (org-version): Avoid var name starting with _.
1488 (org-inhibit-startup, org-called-with-limited-levels)
1489 (org-link-search-inhibit-query, org-time-was-given)
1490 (org-end-time-was-given, org-def, org-defdecode, org-with-time):
1491 * org-colview.el (org-agenda-overriding-columns-format):
1492 * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
1493 (org-agenda-show-log-scoped):
1494 * ob-python.el (py-which-bufname, python-shell-buffer-name):
1495 * ob-haskell.el (org-export-copy-to-kill-ring):
1496 * ob-exp.el (org-link-search-inhibit-query):
1497 * ob-R.el (ess-eval-visibly-p):
1498 * ob-core.el (org-src-window-setup): Declare before use.
1499 (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
1500 * ox-odt.el (org-odt-hfy-face-to-css):
1501 * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
1502 * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
1504 * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
1505 (org-babel-tangle-single-block, org-babel-tangle-comment-links):
1506 * ob-table.el (sbe):
1507 * ob-sqlite.el (org-babel-sqlite-expand-vars):
1508 * ob-sql.el (org-babel-sql-expand-vars):
1509 * ob-shen.el (org-babel-execute:shen):
1510 * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
1511 * ob-scala.el (org-babel-scala-evaluate):
1512 * ob-ruby.el (org-babel-ruby-table-or-string)
1513 (org-babel-ruby-evaluate):
1514 * ob-python.el (org-babel-python-table-or-string)
1515 (org-babel-python-evaluate-external-process)
1516 (org-babel-python-evaluate-session):
1517 * ob-picolisp.el (org-babel-execute:picolisp):
1518 * ob-perl.el (org-babel-perl-evaluate):
1519 * ob-maxima.el (org-babel-execute:maxima):
1520 * ob-lisp.el (org-babel-execute:lisp):
1521 * ob-java.el (org-babel-execute:java):
1522 * ob-io.el (org-babel-io-evaluate):
1523 * ob-haskell.el (org-babel-execute:haskell):
1524 * ob-fortran.el (org-babel-execute:fortran):
1525 * ob-exp.el (org-babel-exp-code):
1526 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
1527 * ob-ditaa.el (org-babel-execute:ditaa):
1528 * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
1529 (org-babel-parse-header-arguments, org-babel-reassemble-table)
1530 (org-babel-goto-src-block-head, org-babel-mark-block)
1531 (org-babel-expand-noweb-references, org-babel-script-escape)
1532 (org-babel-process-file-name):
1533 * ob-clojure.el (org-babel-execute:clojure):
1534 * ob-calc.el (org-babel-execute:calc):
1535 * ob-awk.el (org-babel-execute:awk):
1536 * ob-R.el (org-babel-expand-body:R):
1537 * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
1539 2013-11-12 Glenn Morris <rgm@gnu.org>
1541 * ox-html.el (org-html-scripts): Add 2013 to copyright years.
1542 (org-html-infojs-template): Copyright holder to FSF.
1544 2013-11-12 Aaron Ecay <aaronecay@gmail.com>
1546 * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
1547 supported filetypes.
1548 (org-latex--inline-image): Implement SVG files inclusion.
1549 (org-latex-headline): Don’t insert alternate title if identical to
1552 * ob-python.el: Update the arglist passed to `declare-function'
1555 * ob-tangle.el (org-babel-tangle): Use `light' argument to
1556 `org-babel-get-src-block-info'.
1558 * ob-core.el (org-babel-execute-src-block): Return nil in case of
1559 `:results none'. Also run `org-babel-after-execute-hook' in this
1562 * org-id.el (org-id-locations-save): Bind print-(level,length) to
1563 nil in this function.
1565 * ob-R.el (org-babel-R-graphics-devices): New defvar.
1566 (org-babel-R-construct-graphics-device-call): Use it instead of a
1567 hard-coded list of graphics devices.
1569 * ob-core.el (org-babel-when-in-src-block): New macro.
1570 (org-babel-execute-src-block-maybe)
1571 (org-babel-expand-src-block-maybe)
1572 (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
1574 (org-babel-execute-src-block): Use `copy-tree' to prevent setf
1575 from modifying users variables withing let-bound `info' variable.
1577 * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
1579 (org-babel-exp-results): Implement 'inline-only for
1580 `org-export-babel-evaluate'.
1582 * org.el (org-edit-special): Use prefix arg.
1584 * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
1585 (org-babel-expand-body:picolisp): Remove optional arg.
1587 * ob-R.el (org-babel-R-initiate-session): Handle case where the
1588 session buffer exists, but does not have a live process.
1589 (org-babel-R-construct-graphics-device-call): Change file
1590 extension of tikz graphics files to .tikz.
1592 * org-src.el (org-edit-src-exit): Don't modify the undo list when
1595 * ox-latex.el (org-latex-plain-text): Properly escape "~" for
1597 (org-latex-image-default-option): Change default value to "".
1598 (org-latex-image-default-width, org-latex-image-default-height):
1600 (org-latex-inline-image-rules): Make .tikz files as exportable
1602 (org-latex--inline-image): Support tikz images. Also support
1603 separate :width and :height parameters for images.
1605 * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1608 2013-11-12 Abdó Roig-Maranges <abdo.roig@gmail.com>
1610 * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1611 the image already exists.
1613 * org-agenda.el (org-agenda-search-view-max-outline-level):
1614 New option to define the max level for the entries shown by the search
1615 view. A value of 1 means to show the top parent of the entries.
1617 * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1618 this function fail with no :foreground and :background attributes
1619 set, due to bad handling of "Transparent" color. Fix bug when
1620 colors are not `default'.
1621 (org-format-latex-options): Add `auto' to docstring.
1622 (org-format-latex): Get face colors at point and put them inside
1624 (org-create-formula-image-with-imagemagick): Fix bug when handling
1625 "Transparent" bg color.
1626 (org-dvipng-color-format): Same as `org-latex-color-format' for
1627 dvipng-style color specification.
1629 2013-11-12 Achim Gratz <Stromeko@Stromeko.DE>
1631 * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1632 evaluating the function pointed to by `org-confirm-babel-evaluate'
1633 when it is a functionp and its value as a variable otherwise.
1634 (org-babel-get-rownames, org-table.el)
1635 (org-table-transpose-table-at-point): Replace the inadvertent use
1636 of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1637 (org-babel-params-from-properties):
1638 Use `org-babel-current-src-block-location' for evaluating new-style
1639 header-argument properties. Remove superfluous save-match-data
1640 clauses. Comment which properties get evaluated where.
1641 (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1642 Replace `if' with empty else part by `when' for readability.
1643 (org-babel-params-from-properties): Inquire for language specific
1644 and default header properties. Language specific header
1645 properties take precedence over default header properties and
1646 old-style header property specifications.
1648 * org.el (org-re-property): Re-implement using full regex for
1649 `org-re-property'. Add optional argument LITERAL to flag when
1650 PROPERTY should to be regex-quoted. Move before definition of
1652 (org-re-property-keyword): Remove, functionality is subsumed by
1654 (org-property-re): Define using `org-re-property'.
1655 Improve definition so that this regex can be
1656 (org-entry-get, org-property-values): Adjust match number for
1657 PROPVAL. (org-entry-put): Use `org-re-property' instead of
1658 `org-re-property-keyword'.
1659 used in all situations. Extend docstring with explanation of
1661 (org-at-property-p): Implement using `org-element-at-point'.
1662 (org-entry-properties, org-buffer-property-keys, org-indent-line):
1663 Use `org-property-re' and adjust match group numbers accordingly.
1665 * org-compat.el (define-obsolete-variable-alias)
1666 (define-obsolete-function-alias): Actually remove the third (and
1667 any following) argument from the argument list before calling the
1668 advised function. Extend eval-and-compile clause and add advices
1669 for functions that have different parameter lists in XEmacs.
1670 Add variable definitions that XEmacs lacks .
1672 * ob-fortran.el (org-every): Declare.
1674 * org-element.el (org-element-node-property-parser):
1675 Use `org-property-re' and adjust match group numbers accordingly.
1676 Move `looking-at' out of the let clause to not rely on the
1677 unspecified evaluation order inside the let.
1679 * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1680 and org-compat as necessary.
1682 * ob-tangle.el (org-edit-special, org-store-link)
1683 (org-open-link-from-string): Declare functions.
1685 * org-macs.el (declare-function): Define macro to use autoload
1688 * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1689 'noerror on the require form.
1691 * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1692 argument list that XEmacs complains about by adding parenthesis.
1694 * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1695 can't be loaded, try octave instead before giving up.
1696 Emacs 24.3.50 and upwards replaces octave-inf with just plain octave.
1698 * org-id.el (org-id-update-id-locations): Autoload interactive
1701 * ob-core.el (org-babel-parse-inline-src-block-match):
1702 * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1703 properties priority over default header arguments.
1705 * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1706 first line could be the symbol `hline' rather than a list of table
1707 cells, so check for that as well.
1709 * org.el (org-table-clean-did-remove-column):
1710 * org-table.el (org-table-clean-did-remove-column): Move defvar,
1711 this dynamic variable is only used in org-table.
1713 * org-table.el (org-table-colgroup-info): Remove unused defvar for
1714 `org-table-colgroup-info'.
1715 (org-table-clean-before-export): Let-bind regular expression
1716 strings and remove unused matching group.
1717 Use `org-table-clean-did-remove-column' in cond statement rather than
1718 branching via if to avoid code duplication. Remove the code
1719 associated with the removed `org-table-colgroup-info'.
1720 (orgtbl-export): Remove unused internal function.
1722 * org-macro.el (org-macro-expand): Do not try to interpret the
1723 macro replacement text as a regex so that escaped backslashes and
1724 commas in macro arguments will be interpreted correctly.
1726 * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1727 only after evaluation so that output is not mixed into results
1729 (org-babel-perl-evaluate): Fix the handling of results for
1730 ":results output" to also parse tables. Use the same lambda
1731 construction as in ob-sh.el to avoid code duplication.
1733 * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1734 Suppress user confirmation of the emacs-lisp wrapper execution
1737 * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1738 for table results as expected by
1739 `org-babel-import-elisp-from-file´.
1741 * ob-core.el (org-babel-number-p): String match for any number
1742 moved first so that the match data for the length check does not
1744 (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1745 variable, if bound non-nil the confirmation dialog will not be
1746 initiated and denial of evaluation is assumed.
1747 (org-babel-check-confirm-evaluate): New macro to establish
1748 bindings based on INFO.
1749 (org-babel-check-evaluate): New defsubst that checks if the
1750 evaluation of a code block is disabled. Refactors the first part
1751 of the original function `org-babel-confirm-evaluate´.
1752 (org-babel-confirm-evaluate): New defsubst that checks if the user
1753 should be queried and returns the answer. Keeps the second part
1754 of the original function `org-babel-confirm-evaluate´.
1755 Re-implement using bindings for common subexpressions.
1756 (org-babel-execute-src-block): Do not ask for confirmation if the
1757 cached result is current.
1758 (org-babel-call-process-region-original): Change declaration into
1759 definition with nil initial value at the beginning of the file and
1760 drop the later definition. Add comment that the dynamic scoping
1761 of this variable is done for tramp.
1763 * org-table.el (org-table-eval-formula): The condition-case to
1764 check for must be "error", not "user-error".
1766 * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1767 through to `org-babel-perl-evaluate´.
1768 (org-babel-variable-assignments:perl): Add "my" to variable
1769 declaration so that it becomes compatible with "use strict;".
1770 Use new internal formatting function `org-babel-perl--var-to-perl´.
1771 (org-babel-perl--var-to-perl): New internal function, uses Perl
1772 non-interpolating quoting on the string that defines the variable
1773 to suppress spurious interpretation of it as Perl syntax.
1774 (org-babel-perl-wrapper-method): Use a block and declare all
1775 variables as "my", also use Perl quoting throughout. Redirect
1776 STDOUT to the temporary file so that simply "print" will put the
1777 results there. Check the return value and output in table form if
1778 it is an ARRAY ref, otherwise print it without a final newline.
1779 (org-babel-perl-preface): Content of this variable is prepended to
1780 body before invocation of perl. Rename input parameter body to
1781 ibody and let-bind body to concatentation of
1782 `org-babel-perl-preface' and ibody. Implement results
1783 interpretation so that tables are easier to produce.
1785 * ob-eval.el (org-babel-eval): Use simplified version of
1786 `org-babel--shell-command-on-region´, we are the only caller of
1788 (org-babel--shell-command-on-region):
1789 Replace `org-babel-shell-command-on-region´ with a much more simplified
1790 internal version, remove superfluous DOCSTRING and interactive
1791 clause, strip out all conditionals which were never used. Prevent
1792 deletion of temporary input file to aid debugging when the symbol
1793 `org-babel--debug-input´ is bound and has non-nil value.
1795 * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1796 arg is even documented in the manual.
1798 * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1801 * ob-core.el (org-babel-execute-src-block): Add binding for
1802 merged-params to avoid multiple evaluation of
1803 `org-babel-merge-params´. Rename cache? to cache-p, add binding
1804 for cache-current-p and use it. Do not run
1805 `org-babel-confirm-evaluate´ if source block has a cache and the
1806 cache value is current (there is no evaluation involved in this
1809 * org.el (org-current-time): Replace call to obsolete function
1810 `time-to-seconds´ with a call to compatibility function
1813 * org-compat.el (user-emacs-directory): If not bound, define as an
1814 alias to `user-init-directory´ so that XEmacs continues to be
1817 * org-macs.el: New macro to allow the 5-argument form of load to
1818 be used where possible without breaking compatibility with XEmacs.
1820 * org.el (org-version, org-reload):
1821 Use `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1822 to load directly. Guard against undefined variable load-suffixes,
1823 which doesn't exist in XEmacs.
1826 `org-define-obsolete-{function,variable}-alias´instead of
1827 `define-obsolate{function,variable}-alias´.
1829 * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1832 * ob-python.el (org-babel-python-hline-to)
1833 (org-babel-python-None-to): Specify customize group as 'org-babel
1834 and widget type as 'string.
1836 * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1837 formal parameter `result-params´.
1839 * org.el (org-reload): Major rewrite.
1841 * org.el (org-clock-get-last-clock-out-time): Declare function.
1843 2013-11-12 Alan Schmitt <alan.schmitt@polytechnique.org>
1845 * ob-ocaml.el (org-babel-prep-session:ocaml):
1846 Use `save-window-excursion' around the code starting the tuareg
1848 (org-babel-ocaml-command): New option to specify the name of the
1850 (org-babel-prep-session:ocaml): Directly call
1851 `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1853 (org-babel-execute:ocaml): Always append ";;" at the end of the
1854 expression before sending it to the toplevel. Do not remove the
1855 type information if "verbatim" is a results parameter of the code
1857 (org-babel-ocaml-parse-output): Make sure the complete type is
1858 taken into account when matching against known types.
1860 * org-faces.el (org-footnote): Fix docstring.
1862 2013-11-12 Andreas Leha <andreas@lehas.net>
1864 * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1865 copies the body of the block into a tikz file.
1867 2013-11-12 Arun Persaud <apersaud@lbl.gov>
1869 * org-agenda.el (org-agenda-prefix-format): Add documentation for
1871 (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1872 (org-agenda-format-item): Add breadcrumbs if requested.
1873 (org-compile-prefix-format): Add compiled information for
1874 breadcrumbs, add %b option.
1876 2013-11-12 Aurélien Aptel <aurelien.aptel@gmail.com> (tiny change)
1878 * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1879 string replacements for code and verbatim text when exporting to
1882 2013-11-12 Bastien Guerry <bzg@gnu.org>
1884 * org.el (org-align-tags-here): Fix bug: move to the correct
1886 (org-agenda-prepare-buffers): Restore the point position.
1887 (org-insert-link): Don't remove brackets when they belong to a
1888 timestamp in a headline.
1890 * org-capture.el (org-capture-refile): Don't finalize prematurely.
1891 (org-capture): Store :return-to-wconf earlier.
1892 (org-capture-place-template): Don't store :return-to-wconf when
1893 called from a capture template using `function', rely on the early
1894 :return-to-wconf value store from `org-capture'.
1896 * org-compat.el (org-move-to-column): New argument
1897 `ignore-invisible' to turn on `buffer-invisibility-spec'.
1899 * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1900 when inserting the new time as a text property.
1901 (org-agenda-filter-make-matcher): When filtering tags and hitting
1902 space, filter out entries with tags, only keep those without tags.
1903 (org-agenda-drag-line-forward, org-agenda-drag-line-backward):
1904 Fix bugs: don't drag lines without text and don't drag lines
1905 before/after hidden lines.
1907 * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1908 rel-width property as a string.
1909 (org-odt-template): Fall back on a string for :rel-width.
1911 * org.el (org-directory, org-default-notes-file)
1912 (org-reverse-note-order): Don't use the `org-remember'
1913 customization group.
1914 (org-require-autoloaded-modules): Don't require
1917 * org-capture.el: Update commentary section to reflect the fact
1918 that org-remember.el is not used anymore.
1920 * org.el (org-babel-load-file): Set `exported-file' correctly, in
1921 case the file as been tangled using a buffer-local value.
1923 * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1926 * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1927 ensure to show all headings and all blocks before fontifying.
1929 * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1931 * ox.el: Fix comment: remove reference to the obsolete variable
1932 `org-export-language-setup'.
1934 * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1937 * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1939 * org.el (org-refile): With a numeric prefix argument of `3',
1940 emulate (setq org-refile-keep t) and copy the subtree to the
1941 target location, don't delete it.
1942 (org-set-regexps-and-options-for-tags): Fix the setting of tag
1943 groups when relying on `org-tag-alist', not on tags directly set
1944 in the buffer with the #+TAGS option.
1946 * org-agenda.el (org-agenda-archive-with): Save window excursion.
1948 * org.el (org-forward-element, org-backward-element): Throw a
1949 message instead of an error when trying to move from a position
1950 where there is no element.
1951 (org-clock-is-active): Fix docstring.
1953 * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1954 plain list by checked status.
1956 * org.el (org-structure-template-alist): Fix custom type and
1958 (org-set-regexps-and-options-for-tags): Enhance docstring.
1959 (org-set-regexps-and-options): Make sure not to add
1960 `org-tag-alist' twice when setting this variable through et
1961 #+setupfile: directive.
1962 (org-tags-expand): Use `with-syntax-table'.
1964 * org-list.el (org-sort-list): Implement sorting by "checked"
1965 status for check lists.
1967 * org-table.el (org-table-sum): Fix rounding error when summing
1970 * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
1971 typo. Add declarations.
1973 * ox-html.el (org-html-link-use-abs-url): New option.
1974 (org-html-link): Use it to prepend relative links with the value
1975 of HTML_LINK_HOME, when defined.
1977 * org.el (org-refile): Fix refiling the active region within an
1978 list. Don't store the last refiled subtree in the kill ring.
1980 * org.el (org-mode-map): Remap `forward-paragraph' and
1981 `backward-paragraph' to `org-forward-element' and
1982 `org-backward-element'.
1984 * ox-html.el (org-html-begin-plain-list): New parameter
1985 `ordered-num' to tell whether the list is ordered numerically.
1986 (org-html-plain-list): Handle alphabetical ordered list.
1988 * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
1989 to nil during batch export.
1991 * org.el (org-copy-subtree): Fix typo in docstring.
1992 (org-scan-tags): Don't disable `case-fold-search' too early.
1994 * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
1996 * org-capture.el (org-capture-set-target-location): Don't throw an
1997 error when `org-time-was-given' is not bound.
1999 * org-clock.el (org-clock-modify-effort-estimate):
2002 * org.el (org-set-regexps-and-options-for-tags): Return a list
2003 with tag-related variables.
2004 (org-set-regexps-and-options): Append tags from a setup file to
2005 the local tags of the file.
2006 (org-agenda-prepare-buffers): Set tags from a setup file by
2007 calling `org-set-regexps-and-options' when necessary.
2008 (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
2009 and `org-scheduled-time-hour-regexp'.
2011 * org-table.el (org-table-TBLFM-begin-regexp): Rename from
2012 `org-TBLFM-begin-regexp'.
2013 (org-table-calc-current-TBLFM): Rename from
2014 `org-calc-current-TBLFM'.
2016 * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
2017 (org-refresh-properties): Put the text property on the whole
2018 subtree, not just on the headline.
2019 (org-get-outline-path): Remove statistical and checkboxes cookies.
2021 * org-agenda.el (org-agenda, org-search-view, org-tags-view)
2022 (org-agenda-get-day-entries, org-agenda-set-restriction-lock):
2023 Use (current-buffer) as the value of `org-agenda-restrict'. Fix a bug
2024 about narrowing to wrong region boundaries when
2025 `org-agenda-restrict' is non-nil.
2027 * org.el (org-agenda-text-search-extra-files): Fix typos in
2029 (org-insert-heading): Fix case when there the first heading starts
2030 at the beginning of the buffer.
2032 * ob-core.el (org-babel-expand-src-block):
2033 Use `org-called-interactively-p'.
2035 * org.el (org-agenda-prepare-buffers): Avoid duplicates in
2036 `org-tag-alist-for-agenda' correctly.
2037 (org-read-date-minibuffer-local-map): Check if we are at the
2038 beginning of the prompt, not if we are after a whitespace.
2039 Bind C-. to `calendar-goto-today'.
2041 * org-clock.el (org-clock-in): Don't forward by one character when
2042 setting the marker in the clock history.
2044 * org.el (org-read-date-minibuffer-local-map):
2045 Call `calendar-goto-today' only if there is a space before point in the
2047 (org-insert-heading): Reveal context when called interactively.
2048 Fix bug about wrong conversion of lines with :END: or #+end_ into
2050 (org-in-drawer-p): New function.
2051 (org-meta-return): Use `org-catch-invisible-edits' and the
2052 `org-in-drawer-p' to check whether we are within a drawer.
2054 * org-list.el (org-sort-list): Fix infloop.
2056 * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
2057 for a time shift if there is a time-stamp. Don't ask for a time
2058 shift when called with a universal prefix argument.
2060 * ob-core.el (org-babel-insert-result): Fix bug when inserting
2061 results as a list: ensure we split a string containing "\n".
2063 * ox-html.el: Fix copyright header.
2065 * org.el (org-store-link): Don't add a search string when storing
2066 a link from a radio target.
2067 (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
2068 the simple target (<<target>>).
2070 * org-table.el (org-table-get-remote-range): Fix typo.
2072 * org-datetree.el (org-datetree-find-month-create)
2073 (org-datetree-find-day-create): Add a docstring.
2074 (org-datetree-find-year-create): Only match headlines with a
2075 year or a year and one or more tags.
2077 * org-crypt.el (org-crypt-check-auto-save)
2078 (org-crypt-use-before-save-magic): Use `org-add-hook' when the
2079 hooks are local hooks.
2081 * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
2082 upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
2084 * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
2085 (org-babel-pop-to-session-maybe): Use true function's name,
2088 * org-agenda.el (org-agenda-drag-line-forward)
2089 (org-agenda-drag-line-backward): New commands.
2090 (org-agenda-mode-map): Bind the new commands to M-<down> and
2091 M-<up> respectively.
2093 * org.el (org-insert-heading): Fix insertion of items.
2095 * org-capture.el (org-capture-use-agenda-date): Fix docstring.
2097 * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
2098 (org-agenda-bulk-toggle-all): New command.
2099 (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
2100 and `org-agenda-bulk-toggle-all' to `M-*'.
2101 (org-agenda-menu): Add `org-agenda-bulk-toggle' and
2102 `org-agenda-bulk-toggle-all'.
2103 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
2104 next headline, not the next line.
2106 * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
2107 to nil while matching the first letter of a multi-letters
2110 * org.el (org-store-link): When a bracket link is found in a
2111 headline, use the link description or the link path.
2112 (org-flag-drawer, org-hide-block-toggle)
2113 (org-goto-left, org-goto-right, org-promote)
2114 (org-paste-subtree, org-narrow-to-block, org-sort-entries)
2115 (org-insert-link, org-offer-links-in-entry, org-open-file)
2116 (org-refile, org-refile-get-location)
2117 (org-refile-check-position, org-prepare-dblock, org-todo)
2118 (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
2119 (org-occur, org-priority, org-scan-tags)
2120 (org-get-tags-string, org-property-action, org-set-effort)
2121 (org-entry-put, org-insert-drawer)
2122 (org-compute-property-at-point)
2123 (org-property-next-allowed-value, org-evaluate-time-range)
2124 (org-closest-date, org-timestamp-change)
2125 (org-revert-all-org-buffers, org-cycle-agenda-files)
2126 (org-agenda-file-to-front, org-remove-file)
2127 (org-preview-latex-fragment, org-format-latex)
2128 (org-create-math-formula, org-create-formula-image)
2129 (org-speed-command-help, org-check-before-invisible-edit)
2130 (org-modifier-cursor-error, org-hidden-tree-error)
2131 (org-mark-subtree, org-kill-line, org-first-sibling-p)
2132 (org-up-element, org-down-element)
2133 (org-drag-element-backward, org-drag-element-forward)
2134 (org-unindent-buffer, org-speedbar-set-agenda-restriction):
2135 Use `user-error' instead of `error'.
2137 * ox-latex.el (latex): Don't force exporting with smart quotes.
2139 * ox.el (org-export-with-smart-quotes): Mention the need to use
2140 the relevant Babel package when setting this option to non-nil.
2142 * org-src.el (org-edit-src-turn-on-auto-save): New option.
2143 (org-edit-src-code): Use it.
2144 (org-edit-src-auto-save-idle-delay): Enhance docstring.
2146 * org-capture.el (org-mks): Make cursor invisible.
2148 * org.el (org-link-expand-abbrev): Save match data before before
2149 calling the replacement function.
2151 * org-list.el (org-sort-list): Don't move point when matching time
2154 * org.el (org-shifttab): Show the correct number of empty
2155 headlines when called with a numeric prefix argument.
2157 (org-uniquify): Use `copy-sequence'.
2158 (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
2159 error message when parse an element fails in the current buffer.
2161 * ox.el (org-export-with-planning): Enhance docstring.
2163 * org.el (org-closed-keep-when-no-todo): New option.
2164 (org-todo): Use the new option.
2165 (org-open-line): Rename from `org-ctrl-o'.
2166 (org-mode-map): Use `remap'.
2167 (org-cycle-emulate-tab, org-file-apps)
2168 (org-set-font-lock-defaults)
2169 (org-translate-link-from-planner, org-link-search)
2170 (org-refile-get-targets, org-read-date-get-relative):
2171 Minor code clean-up: fix dangling parentheses.
2173 * org-agenda.el (org-agenda-entry-text-mode): Also check against
2175 (org-timeline): Handle `org-agenda-show-log'.
2177 * org-clock.el (org-clock-select-task): Remove successive
2178 duplicates in the clock history to consider.
2180 * org.el (org-uniquify-alist): Improve docstring.
2181 (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
2182 tags to the tags completion table.
2183 (org-tags-expand): Prevent circular replacement of group tags.
2184 Tiny docstring formatting.
2185 (org-uniquify): Make a defsubst. Use `delete-dups' instead of
2187 (org-todo): Also remove the CLOSED planning information when
2188 removing the TODO keyword.
2189 (org-forward-heading-same-level): Fix bug when forwarding
2190 to a hidden subtree of the same level.
2191 (org-tags-expand): Use word delimiters when building the tag
2194 * org-clock.el (org-clock-insert-selection-line): Don't display
2197 * org.el (org-emphasis-regexp-components): Make a defvar.
2198 (org-emphasis-alist): New default value: don't set HTML tags.
2199 (org-emphasize, org-set-emph-re): Use the new value of
2200 `org-emphasis-alist'.
2202 * org-mobile.el (org-mobile-edit): Insert new headings at the end
2203 of the parent subtree. Use `org-at-heading-p' instead of the
2204 obsolete `org-on-heading-p'.
2206 * org.el (org-insert-heading): When called from a list item and
2207 `org-insert-heading-respect-content' is non-nil, insert a heading,
2209 (org-insert-heading-respect-content): Fix docstring.
2210 (org-insert-heading): When in a non-empty non-headline line,
2211 convert the current line into a headline.
2213 * org-table.el (org-table-copy-down): Don't move cursor when
2216 * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
2217 evaluate babel code blocks.
2219 * ox-html.el (html): Add more options.
2221 * ox-publish.el (org-publish-project-alist): Add :with-planning in
2224 * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
2226 * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
2228 * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
2231 * ox.el (org-export-options-alist, org-export--skip-p):
2232 Use `:with-planning' instead of `:with-plannings', to keep in sync
2233 with the corresponding option's name.
2235 * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
2237 * org-agenda.el (org-agenda-undo, org-agenda)
2238 (org-agenda-append-agenda)
2239 (org-agenda-get-restriction-and-command, org-agenda-write)
2240 (org-agenda-clock-cancel)
2241 (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
2242 (org-agenda-execute-calendar-command)
2243 (org-agenda-goto-calendar, org-agenda-convert-date)
2244 (org-agenda-bulk-mark, org-agenda-bulk-action)
2245 (org-agenda-show-the-flagging-note): Use `user-error' instead of
2248 * org-macs.el (org-with-remote-undo): Normalize argument names.
2250 * org.el (org-store-log-note): Fix `buffer-undo-list' when called
2251 after `org-agenda-todo'.
2252 (org-add-log-note): Minor formatting fix.
2254 * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
2256 * org-clock.el (org-clock-select-task): Throw a user error when
2257 the clock history is empty.
2259 * org-table.el (org-table-get-remote-range): Fix docstring: use
2260 #+NAME instead of #+TBLNAME.
2262 * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
2264 * ox-html.el (org-html-table-row-tags): Better example.
2266 * org-clock.el (org-clock-select-task): Fix window to buffer.
2268 (org-clock-insert-selection-line): Add the clock-out time.
2270 * ox-html.el (org-html-table-row-tags): Allow new dynamically
2271 bound value `row-number'.
2272 (org-html-table-row): Bind `row-number' to the number of the
2273 row (first row is 0).
2275 * org.el (org-minutes-to-clocksum-string): Round fractions of
2278 * ox-html.el (org-html-table-row-tags): Fix example in docstring.
2280 * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
2281 (org-agenda-goto-date): Fix bug when going to a date in month
2283 (org-agenda-goto-date): Put the cursor on the agenda line with the
2285 (scheduled/deadline items with hour spec) then redo an agenda*.
2287 * org-clock.el (org-clock-resolve): Enhance the content of the
2290 * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
2292 * ox-odt.el (org-odt-link): Fix bug: convert & to & in
2295 * ox-html.el (org-html-table-row): Dynamically bind
2296 `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
2297 `top-row-p', `bottom-row-p'.
2298 (org-html-table-row-tags): Update docstring: tell what variables
2299 are dynamically bound.
2301 * org-src.el (org-edit-src-code): Don't set
2302 `buffer-auto-save-file-name' unless `auto-save-default' is
2305 * ox.el (org-export-table-row-group): Fix typo in docstring.
2307 * org-table.el (orgtbl-apply-fmt): Enhance docstring.
2309 * org.el (org-file-contents): Make the message more prominent.
2311 * ox.el (org-export-replace-region-by): New function.
2313 * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
2314 * ox-md.el (org-md-convert-region-to-md),
2315 * ox-latex.el (org-latex-convert-region-to-latex),
2316 * ox-html.el (org-html-convert-region-to-html): New functions to
2317 replace the active region by its export into various backends.
2319 * org-faces.el (org-agenda-restriction-lock): Use less flashy
2323 (org-agenda-restriction-lock-highlight-subtree): New option.
2324 (org-agenda-top-headline-filter): Rename from
2325 `org-agenda-top-headline-filter'.
2326 (org-find-top-headline): Rename from `org-find-top-category'.
2328 (org-agenda-filtered-by-top-headline): Rename from
2329 `org-agenda-filtered-by-top-category'.
2330 (org-agenda-filter-by-top-headline): Rename from
2331 `org-agenda-filter-by-top-category'. Fix docstring.
2332 (org-agenda-filter-top-headline-apply): Rename from
2333 `org-agenda-filter-top-category-apply'. Fix docstring.
2334 (org-agenda-mode-map): Update binding.
2335 (org-agenda-get-todos): Set `todo-state' earlier so that we can
2336 skip false-positives in time.
2338 * org.el (org-get-todo-state): Add a docstring.
2339 (org-ctrl-o): New command to insert a new row in tables
2340 (like `M-S-<down>' does) and open a line elsewhere.
2341 (org-mode-map): Bind the new command to `C-o'.
2342 (org-set-regexps-and-options): Process tags from an external setup
2345 * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
2346 (org-agenda-finalize-entries): Conditionally apply limits so
2347 that we don't manipulate big lists uselessly.
2348 (org-agenda-limit-entries): Limit exclusively. E.g., when
2349 limiting to a maximum of "2 tags", don't limit among tagged
2350 entries only, but limit among all entries.
2351 (org-agenda-limit-interactively): New command.
2352 (org-agenda-mode-map): Bind the new command to "~".
2353 (org-agenda-redo): Small fix: don't use `eval'.
2355 * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
2356 list beginning should be stored using a marker so that updating
2357 [%0] to [%50] will not throw an error.
2358 (org-babel-load-file): Move `org-babel-load-file' from
2359 ob-tangle.el to here so that it is correctly autoloaded by Emacs
2360 before Org is required.
2362 * org-mac-message.el: Delete.
2364 * org.el (org-modules): org-mac-message.el is not a core package
2367 * org-table.el (orgtbl-to-generic): Fix bug when exporting the
2368 cells of radio tables with 'hline.
2370 * org.el (org-speed-commands-default): Use ?s for
2371 `org-narrow-to-subtree'.
2373 * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
2374 (org-agenda-start-day): Enhance docstring.
2376 * org-src.el (org-src-native-tab-command-maybe): Check that we are
2377 in a source code block.
2379 * org-mobile.el: Remove useless defvar.
2381 * org.el (org-indent-line): A line just below a line with a list
2382 item is now indented depending on the indentation of this list
2385 * org.el (org-options-keywords): Add #+TARGET.
2387 * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
2388 last clock if the clock buffer still exists.
2389 (org-clock-out, org-clock-cancel): Set markers to nil.
2391 * ox-org.el (org-org-publish-to-org):
2392 * ox-html.el (org-html-publish-to-html): Use the custom extension.
2394 * org.el (org-cycle-internal-local): Fix invalid search bound when
2395 `org-cycle-include-plain-lists' is set to 'integrate.
2397 * org.el (org-sparse-tree-default-date-type): Add an option for
2399 (org-sparse-tree): Allow to check against closed time-stamps.
2400 (org-re-timestamp): Handle closed time-stamps.
2401 (org-closed-in-range): Delete.
2403 * org-capture.el (org-capture-import-remember-templates):
2404 Take care of adding :jump-to-captured option if needed.
2406 * org.el (org-toggle-pretty-entities): Enhance messages.
2407 (org-raise-scripts): Handle scripts like "a_b^c".
2409 * org-capture.el (org-capture-templates): Document new option
2410 :jump-to-captured in the docstring. Offer the complete list of
2411 options when customizing.
2412 (org-capture-finalize): Handle :jump-to-captured.
2414 * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
2415 `org-tag-alist' to nil and don't append duplicate tags to
2416 `org-tag-alist-for-agenda'.
2417 (org-store-link): Storing multiple links in the active region now
2418 requires a triple prefix argument.
2419 (org-store-link, org-link-search): Fix handling of links to #+NAME
2420 and #+TARGET keywords.
2422 * org-compat.el (org-ignore-region): Tiny docstring fix.
2424 * org-capture.el (org-capture): Don't store multiple links over
2425 lines in the active region.
2427 * ox-odt.el (org-odt-special-block): Don't wrap annotations into
2428 <text:p>...</text:p> at all.
2429 (org-odt--fix-annotations): New function.
2430 (org-odt--export-wrap): Use the new function to fix annotations
2431 insertion in content.xml.
2433 * org.el (org-mode-flyspell-verify): Require 'org-element so that
2434 `org-element-affiliated-keywords' is defined.
2436 * ox-odt.el (org-odt-special-block): Don't insert annotations
2437 using style "Text_20_body".
2439 * org.el (org-toggle-tags-groups): Correctly highlight group tags.
2440 (org-tags-expand): Expand tags as words, with characters ?@
2441 and ?_ being considered words constituents.
2442 (org-set-regexps-and-options): Don't read setup files from
2444 (org-file-contents): When no-error is non-nil, throw a less
2447 * org-agenda.el (org-agenda-scheduled-leaders)
2448 (org-agenda-deadline-leaders): Re-align leaders to the left,
2449 back to a 11 characters width.
2451 * org.el (org-refile-cache-check-set): More informative message.
2453 * org-agenda.el (org-tags-view): Set the matcher after preparing
2454 the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
2455 (org-agenda-filter-make-matcher): New parameter `filter' and
2456 `type'. Handle group tags.
2457 (org-agenda-filter-expand-tags): New function.
2458 (org-agenda-filter-apply): Handle group tags.
2460 * org.el (org-blank-before-new-entry): Tiny docstring fix.
2461 (org-tag-alist-for-agenda): Add docstring.
2462 (org-tag-groups-alist-for-agenda): New global variable.
2463 (org-tag-groups-alist): New buffer-local variable.
2464 (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
2465 (org-group-tags): New option.
2466 (org-toggle-group-tags): New command.
2467 (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
2468 (org-set-regexps-and-options-for-tags): New function, factored
2469 out from `org-set-regexps-and-options'.
2470 (org-set-regexps-and-options): Don't handle tags, they are now
2471 handled separately by `org-set-regexps-and-options-for-tags'.
2472 (org-assign-fast-keys): Handle :grouptags.
2473 (org-mode): Use `org-set-regexps-and-options-for-tags' on top
2474 of `org-set-regexps-and-options'.
2475 (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
2476 (org-make-tags-matcher): Expand group tags in the matcher.
2477 (org-tags-expand): New function.
2478 (org-tags-completion-function): Tiny code clean up.
2479 (org-set-current-tags-overlay): Add a docstring.
2480 (org-fast-tag-selection): Highlight group tags.
2481 (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
2482 and `org-tag-groups-alist-for-agenda'. Don't uniquify
2483 `org-tag-alist-for-agenda' as we may need the grouping
2484 information for filtering in the agenda buffer.
2485 (org-uniquify-alist): New function.
2487 * org-pcomplete.el (pcomplete/org-mode/file-option/tags):
2490 * org-faces.el (mode-line): New face for group tags.
2492 * ob-core.el (org-babel-hash-show-time): Tiny docstring
2495 * org-element.el (org-element-paragraph-separate): Use new name
2496 `org-list-allow-alphabetical'.
2498 * org-list.el (org-list-allow-alphabetical): Rename from
2499 `org-alphabetical-lists'.
2500 (org-list-empty-line-terminates-plain-lists): Rename from
2501 `org-empty-line-terminates-plain-lists'.
2502 (org-checkbox-hierarchical-statistics): Rename from
2503 `org-hierarchical-checkbox-statistics'.
2505 * org.el (org-image-actual-width): Update docstring.
2506 (org-display-inline-images): Use the #+attr_html: :width syntax.
2507 (org-modules): Remove deleted libraries, add new ones.
2509 * ox-html.el (org-html-indent): Default to nil, as non-nil can
2510 break indentation of source code blocks.
2511 (org-html-link): Don't insert nil if there is no attributes.
2512 (org-html-link--inline-image): Use the correct syntax for image
2513 attributes. Allow :width :height and :alt as predefined
2514 attributes for inline images.
2515 (org-html-link, org-html-table): Use the standard syntax---
2516 e.g. "#+attr_html: :options ..."--- to get attributes.
2518 * ox.el (org-export-table-cell-alignment): Treat an empty cell as
2519 a number if it follows a number.
2521 * ox.el (org-export-as): Allow user functions in
2522 `org-export-before-parsing-hook' to modify the point.
2524 * org.el (org-entry-add-to-multivalued-property): Add the new
2525 value by appending it at the end of the line.
2527 * org-table.el (orgtbl-to-generic): New parameter `backend' to
2528 export cells content using a specific backend.
2529 (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
2530 and Texinfo before sending the table.
2532 * ox.el (org-export-define-backend)
2533 (org-export-define-derived-backend): Make defuns and update
2536 * ox-texinfo.el (texinfo):
2541 * ox-latex.el (latex):
2542 * ox-icalendar.el (icalendar):
2543 * ox-html.el (html):
2544 * ox-beamer.el (beamer):
2545 * ox-ascii.el (ascii): Use `org-export-define-backend' and
2546 `org-export-define-derived-backend' as defuns, not macros.
2548 * org.el (org-set-regexps-and-options):
2549 Use `org-table-set-constants'.
2551 * org-table.el (org-table-set-constants): New function.
2552 (orgtbl-ctrl-c-ctrl-c): Use it.
2555 (pcomplete/org-mode/block-option/clocktable): Add parameters.
2557 * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
2558 through ox-html.el now.
2560 * org-agenda.el (org-agenda-redo): Set filters after agenda has
2563 * org.el (org-store-link): When there is an active region, store
2564 each line as a separate link.
2565 (org-insert-all-links): Use a default description when links
2566 do not have one already.
2568 * org-agenda.el (org-agenda-redo): Fix code typo.
2570 * org.el (org-link-display-format): Fix docstring.
2572 * ox-publish.el (org-publish-org-to)
2573 (org-publish-org-sitemap, org-publish-find-title)
2574 (org-publish-find-date)
2575 (org-publish-cache-file-needs-publishing):
2576 Set `org-inhibit-startup' to t when visiting files for
2579 * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
2582 * org.el (org-set-font-lock-defaults): Set font-lock keywords
2583 correctly for plain links.
2585 * ox-texinfo.el (org-texinfo-logfiles-extensions)
2586 (org-texinfo-remove-logfiles): New options.
2587 (org-texinfo-compile): Use the new options to remove files
2588 after compiling a Texinfo file.
2590 * ox-texinfo.el (org-texinfo-coding-system): New option.
2591 (org-texinfo-template): Add @documentlanguage and
2593 (org-texinfo-headline): Add a space before tags.
2594 (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
2595 Use `org-texinfo-coding-system' as the coding system for
2597 (org-texinfo-publish-to-texinfo): New function.
2599 * ox-texinfo.el (org-texinfo-filename)
2600 (org-texinfo-info-process, org-texinfo-max-toc-depth)
2601 (org-texinfo--sanitize-menu): Docstrings tiny fixes.
2603 * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
2604 message when called interactively. Fix docstring position in the
2607 * ox-html.el (org-html--build-meta-info): Fix setting of
2608 http-equiv="Content-Type".
2610 * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2611 regexp and ?| for removing all filters.
2612 (org-agenda-filter-remove-all): New command.
2613 (org-agenda-filter-show-all-re): Rename from
2614 `org-agenda-filter-show-all-regexp'.
2615 (org-agenda-filter-by-regexp):
2616 Call `org-agenda-filter-show-all-re'.
2618 * org-list.el (org-insert-item): Don't ask for a definition term
2619 when insert an item in a description list.
2621 * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2622 This prevents bugs when calling e.g., `org-diary' after quitting
2624 (org-agenda-entry-types): Move earlier in the file.
2625 (org-agenda-custom-commands-local-options, org-diary)
2626 (org-agenda-get-day-entries): Don't hardcode the default agenda
2627 entry types, use `org-agenda-entry-types'.
2628 (org-agenda-custom-commands): Fix default setting so that the
2629 customize interface does not complain about a mismatch.
2631 * org.el (org-export-backends): Add new backends.
2633 * ox-html.el (org-html-indent): New option.
2634 (org-html-use-unicode-chars): New option.
2635 (org-html-pretty-output): Delete.
2636 (org-html-final-function): Use the new options.
2638 * ox-html.el (org-html-link): Fix handling of abbreviated links
2639 which include a file: protocol.
2640 (org-html--build-postamble): Default to today's date.
2641 (org-html--build-meta-info): When #+DATE contains a time stamp,
2642 parse it as a RFC 822 time string, otherwise simply insert the
2645 * ox.el (org-export--copy-to-kill-ring-p): New function.
2646 (org-export-copy-to-kill-ring): Use 'if-interactive as the
2648 (org-export-to-buffer, org-export-to-file):
2649 Use `org-export--copy-to-kill-ring-p' and fix docstrings.
2651 * ox-odt.el (org-odt-export-as-odf):
2652 Use `org-export--copy-to-kill-ring-p'.
2654 * org.el (org-set-font-lock-defaults): Fontify macros.
2656 * org-faces.el (org-macro): New face.
2658 * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2659 time shift when the entry at point has a time stamp and when the
2660 command is called with a universal prefix argument.
2661 (org-execute-file-search-functions): Docstring fix.
2663 * org-compat.el (org-defvaralias): Fix declare form.
2665 * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2666 (org-clock-special-range): New argument mstart.
2667 (org-dblock-write:clocktable, org-dblock-write:clocktable)
2668 (org-clocktable-write-default, org-clocktable-steps)
2669 (org-clock-get-table-data): Handle the :mstart parameter.
2671 * org.el (org-map-entries): Use `save-window-excursion'.
2673 * org-compat.el (org-defvaralias): New compatibility function.
2675 * org-list.el (org-cycle-include-plain-lists): Also add to the
2676 'org-cycle customization group.
2677 (org-list-allow-alphabetical)
2678 (org-checkbox-hierarchical-statistics)
2679 (org-list-empty-line-terminates-plain-lists)
2680 (org-list-description-max-indent): Rename and add aliases to old
2683 * org-element.el (org-element-context): Prevent an error when
2684 getting the context of a table rule.
2686 * org.el (org-deadline-time-hour-regexp)
2687 (org-scheduled-time-hour-regexp): New buffer local variables.
2688 (org-set-regexps-and-options): Set the new variables.
2690 * org-agenda.el (org-agenda-custom-commands-local-options):
2691 Add :deadline* and :scheduled* to the list of possible agenda entry
2693 (org-agenda): Implement a new agenda type agenda* with :scheduled*
2694 and :deadline* replacing :scheduled and :deadline respectively in
2695 agenda entry types. In such agenda, only scheduled and deadline
2696 items with a time specification [h]h:mm will be considered.
2697 (org-agenda-entry-types): Document the new agenda entry types
2698 :scheduled* and :deadline*.
2699 (org-agenda-list): New parameter `with-hour'. Use :scheduled* and
2701 (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2702 (org-agenda-get-deadlines, org-agenda-get-scheduled):
2703 New parameter `with-hour'. Use `org-deadline-time-hour-regexp' or
2704 `org-scheduled-time-hour-regexp' as the search string if needed.
2705 (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2706 as other scheduled and deadline items don't have a time spec and
2707 cannot be turned into appointments. Trim bracket links and use
2708 only the description as the appointment text.
2709 (org-agenda-get-restriction-and-command):
2710 Add default description for the agenda* view.
2711 (org-agenda-run-series): Handle agenda* views.
2713 * org-faces.el (org-agenda-filter-tags)
2714 (org-agenda-diary, org-agenda-calendar-event)
2715 (org-agenda-calendar-sexp): Minor code clean up.
2716 (org-agenda-filter-category): Docstring fix.
2717 (org-agenda-filter-category): New face.
2719 * org-agenda.el (org-agenda-local-vars):
2720 Add `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2721 (org-agenda-mode-map): Use "|" for
2722 `org-agenda-filtered-by-regexp'.
2723 (org-agenda-re-filter-overlays): New variable.
2724 (org-agenda-mark-filtered-text):
2725 Use `org-agenda-re-filter-overlays'.
2726 (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2727 (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2728 here instead of within `org-agenda-apply-filter'.
2729 (org-agenda-regexp-filter): New variable.
2730 (org-agenda-filter-by-regexp): New function to filter agenda
2732 (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2733 (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2734 `org-agenda-category-filter'. Maybe apply regexp filter.
2735 (org-agenda-filter-hide-line): Add docstring.
2736 Hide regexp-filtered lines.
2737 (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2739 (org-agenda-filter-show-all-regexp): New function.
2740 (org-agenda-set-mode-name): Add regexp-filter information.
2741 (org-agenda-custom-commands-local-options): Add regexp filter.
2742 (org-agenda-regexp-filter-preset): New variable.
2743 (org-agenda-prepare): Use the new variable.
2745 * ox-odt.el (org-odt-code, org-odt-verbatim):
2746 Use `org-odt--encode-plain-text'.
2748 * ox-html.el (org-html-link): Minor code clean-up.
2750 * org.el (org-insert-heading): DTRT when in a narrowed region.
2752 * org-compat.el (org-buffer-narrowed-p): New compatibility
2755 * ox-html.el (org-html-format-inline-image): Fix missing string in
2758 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2759 New allowed value `repeated-after-deadline' which will prevent the
2760 display of scheduled items when repeated after the current
2762 (org-agenda-get-scheduled): Handle the new value.
2764 * org.el (org-time-string-to-absolute): Tiny docstring fix.
2766 * ox-html.el (org-html-style-default): New classes `footpara' and
2767 `footdef' for the footnotes paragraphs and definitions.
2768 (org-html-format-footnote-definition): Wrap the footnote
2769 defintions into their own div.
2770 (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2772 (org-html-container-element, org-html-divs): Mention that
2773 org-info.js will not work when changing the defaults.
2775 * ox-md.el (md): Export underlined text as verbatim.
2777 * ox-html.el (org-html-style-default): New CSS .underline and
2778 #org-div-home-and-up.
2779 (org-html-text-markup-alist): Don't hardcode the style, use the
2780 new class .underline.
2781 (org-html-home/up-format): Don't hardcode the style, use
2782 #org-div-home-and-up.
2783 (org-html-center-block): Use the .center class.
2785 * ox-md.el (org-md-underline): New function.
2787 * org-agenda.el (org-sorting-choice): Fix default value.
2789 * ox-html.el (org-html-format-footnote-definition)
2790 (org-html-footnote-section): Don't wrap footnote definitions into
2792 (org-html-paragraph): Add HTML style and class parameter when the
2793 paragraph is in a footnote definition. Also allow to add an extra
2794 string after the paragraph. Further parameters can be added for
2795 paragraphs in other environments.
2796 (org-html-template): Always include the title as <h1
2797 class="title"></h1>, even when there is no title, as org-info.js
2800 * org-element.el (org-element-map): Fix tiny typo in docstring.
2802 * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2804 * ox-html.el (org-html-format-inline-image): Don't add superfluous
2805 <p></p> when there is an empty caption.
2807 * org-agenda.el (org-agenda-refile): Enhance docstring. Allow to
2808 clear the refile cache with C-0 or C-u C-u C-u.
2810 * ox-md.el (org-md-export-as-markdown): Tiny docstring fix. Fix a
2811 library keyword in the comment section.
2813 * org.el (org-toggle-item): Convert all normal lines as items when
2814 there is a region, and only convert the first line when called
2815 with a universal prefix argument. This is consistent with the
2816 behavior of `org-toggle-heading'.
2817 (org-toggle-heading): When the region contains only normal lines,
2818 a universal prefix arg will only convert the first line. This is
2819 more consistent with `org-toggle-item'.
2820 (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2821 (customize-package-emacs-version-alist):
2822 Update `customize-package-emacs-version-alist'.
2824 * ox-texinfo.el (org-export-texinfo)
2825 (org-texinfo-filename, org-texinfo-classes)
2826 (org-texinfo-format-headline-function)
2827 (org-texinfo-node-description-column)
2828 (org-texinfo-active-timestamp-format)
2829 (org-texinfo-link-with-unknown-path-format)
2830 (org-texinfo-tables-verbatim)
2831 (org-texinfo-table-scientific-notation)
2832 (org-texinfo-text-markup-alist)
2833 (org-texinfo-format-drawer-function)
2834 (org-texinfo-format-inlinetask-function)
2835 (org-texinfo-info-process):
2836 * ox-odt.el (org-odt-format-drawer-function)
2837 (org-odt-format-headline-function)
2838 (org-odt-format-inlinetask-function):
2839 * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2840 and :package-version keywords.
2842 * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2843 by default as it will change many clocktables out there. Let the
2844 user decides whether she wants to turn this on.
2846 * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2848 * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2851 * ox-html.el (org-html-style-default): More cosmetic tweaks.
2852 (org-html-head-include-default-style): Minor docstring update.
2854 * ox.el (org-export-snippet-translation-alist)
2855 (org-export-coding-system, org-export-in-background)
2856 (org-export-async-init-file, org-export-invisible-backends)
2857 (org-export-dispatch-use-expert-ui):
2858 * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2859 (org-texinfo-format-headline-function)
2860 (org-texinfo-node-description-column)
2861 (org-texinfo-active-timestamp-format)
2862 (org-texinfo-link-with-unknown-path-format)
2863 (org-texinfo-tables-verbatim)
2864 (org-texinfo-table-scientific-notation)
2865 (org-texinfo-text-markup-alist)
2866 (org-texinfo-format-drawer-function)
2867 (org-texinfo-format-inlinetask-function)
2868 (org-texinfo-info-process):
2869 * ox-man.el (org-man-tables-centered)
2870 (org-man-table-scientific-notation)
2871 (org-man-source-highlight, org-man-source-highlight-langs)
2872 (org-man-pdf-process, org-man-logfiles-extensions):
2873 * ox-html.el (org-html-allow-name-attribute-in-anchors)
2874 (org-html-coding-system, org-html-divs):
2875 * ox-ascii.el (org-ascii-text-width)
2876 (org-ascii-headline-spacing, org-ascii-indented-line-width)
2877 (org-ascii-paragraph-spacing, org-ascii-charset)
2878 (org-ascii-underline, org-ascii-bullets)
2879 (org-ascii-links-to-notes)
2880 (org-ascii-table-keep-all-vertical-lines)
2881 (org-ascii-table-widen-columns)
2882 (org-ascii-table-use-ascii-art)
2883 (org-ascii-format-drawer-function)
2884 (org-ascii-format-inlinetask-function):
2885 * org.el (org-modules, org-export-backends)
2886 (org-highlight-latex-and-related, orgstruct-setup-hook):
2887 * org-attach.el (org-attach-git-annex-cutoff):
2888 * org-archive.el (org-archive-file-header-format):
2889 * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2890 * ob-python.el (org-babel-python-hline-to)
2891 (org-babel-python-None-to):
2892 * ob-ditaa.el (org-ditaa-eps-jar-path):
2893 * ob-core.el (org-babel-results-keyword): Add :version and
2896 * ox-ascii.el: Use utf-8-emacs as the file coding system.
2898 * org-capture.el (org-capture-templates, org-capture-string)
2899 (org-capture-steal-local-variables)
2900 (org-capture-empty-lines-before)
2901 (org-capture-empty-lines-after)
2902 (org-capture-insert-template-here)
2903 (org-capture-import-remember-templates): Fix or add docstring.
2905 * ox-html.el (org-html-style-default): Cosmetic changes.
2906 (org-html-postamble, org-html-preamble)
2907 (org-html-preamble-format): Update docstring.
2909 * org-agenda.el (org-agenda-format-date-aligned)
2910 (org-agenda-time-of-day-to-ampm-maybe)
2911 (org-scheduled-past-days)
2912 (org-agenda-normalize-custom-commands)
2913 (org-agenda-run-series, org-store-agenda-views): Fix or add
2917 (org-latex-table-scientific-notation, org-latex-verse-block):
2918 Fix typos in docstrings.
2920 * ox-html.el (org-html-text-markup-alist)
2921 (org-html-pretty-output, org-html-link-org-files-as-html)
2922 (org-html-postamble, org-html-preamble)
2923 (org-html-format-inline-image, org-html-splice-attributes)
2924 (org-export-splice-style, org-html-htmlize-region-for-paste)
2925 (org-html-fix-class-name)
2926 (org-html-format-footnote-reference)
2927 (org-html-format-footnotes-section)
2928 (org-html-footnote-section, org-html--anchor)
2929 (org-html--todo, org-html--tags, org-html-format-headline)
2930 (org-html-toc, org-html-format-section, org-html-checkbox)
2931 (org-html-format-list-item, org-html-format-latex)
2932 (org-html-encode-plain-text)
2933 (org-html-table-first-row-data-cells)
2934 (org-html-table--table.el-table, org-html-final-function):
2935 Fix or add docstring.
2937 * org.el (org-insert-heading): If the current item has a checkbox,
2938 insert the new item with a checkbox.
2940 * org.el (org-insert-heading): Don't delete spaces in empty
2943 * ox-odt.el (org-odt-keyword): Fix typo.
2945 * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2947 * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2949 * org-faces.el (org-column): Update docstring.
2951 * org-colview.el: Update error message.
2953 * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2954 org-w3m.el, org-wl.el as these files are now part of contrib/.
2959 * org-wl.el: Delete (moved to Org's contrib/ directory.)
2961 * org-capture.el (org-mks): Move from org-mks.el.
2963 * org-mks.el: Delete.
2965 * ox-html.el (html): Update HTML options names.
2967 * org.el (org-show-context): Don't try to fix ellipsis when
2968 showing a subtree in agenda.
2970 * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
2971 known as HTML_STYLE_EXTRA.
2972 (org-html-head): Enhance docstring.
2973 (org-html-head-extra): Reintroduce. Was `org-html-style-extra'.
2974 (org-html--build-head): Rename from `org-html--build-head'.
2975 Add information from `org-html-head-extra'.
2976 (org-html-template): Use `org-html--build-head'.
2978 * ox-html.el (org-html-display-buffer-mode): Delete.
2979 (org-html-export-as-html): Use `set-auto-mode' instead of
2980 `org-html-display-buffer-mode'.
2982 * org-agenda.el (org-agenda-write): Overwrite file when called
2985 * org-mobile.el (org-mobile-edit): Workaround a
2986 `org-insert-heading-respect-content' bug which prevents correct
2987 insertion when point is invisible
2989 * org.el (org-previous-line-empty-p): New parameter to allow
2990 checking next line. Add a docstring.
2991 (org-insert-heading): Handle two universal prefix arguments as
2992 advertised in the docstring. Don't insert new lines when
2993 creating a heading after the first heading in the current
2995 (org-insert-heading-respect-content): New optional argument
2996 arg, passed to `org-insert-heading'.
2998 * org.el (org-mode): Remove syntax entries.
2999 Use `org-backward-element' and `org-forward-element' for
3000 `beginning-of-defun-function' and `end-of-defun-function': this
3001 allows using C-M-a and C-M-e before the first headline.
3003 * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
3005 * ox-org.el (org-org-htmlized-css-url): Rename from
3006 `org-html-htmlized-org-css-url' and moved here from ox-html.el.
3007 (org-org-publish-to-org): Handle :htmlized-source in
3008 publishing projects.
3010 * ox-html.el (org-html-style-default): Update docstring.
3011 (org-html-infojs-install-script, org-html--build-style):
3012 Update property names.
3013 (org-html-head-include-scripts)
3014 (org-html-head-include-default-style, org-html-head):
3015 Respectively rename from `org-html-style-include-scripts',
3016 `org-html-style-include-default' and `org-html-style', now
3018 (org-html-style-extra): Delete.
3020 * org-clock.el (org-clock-out): Fix bug: if a closing note needs
3021 to be stored in the drawer where clocks are stored, let's
3022 temporarily remove `org-clock-remove-empty-clock-drawer' from
3023 `org-clock-out-hook'.
3025 * ob-tangle.el (org-babel-tangle): Remove unused attempt of
3026 prompting the user of the tangle file name since :tangle is always
3027 set. Don't prompt for a tangle file name when called with two
3028 universal prefix arg outside of a src block.
3029 Use `org-babel-tangle-single-block'.
3030 (org-babel-tangle-single-block): New function.
3031 (org-babel-tangle-collect-blocks): Use the new function.
3033 * org-table.el (org-table-convert-region, org-table-export)
3034 (org-table-align, org-table-beginning-of-field)
3035 (org-table-copy-down, org-table-check-inside-data-field)
3036 (org-table-insert-column, org-table-find-dataline)
3037 (org-table-delete-column, org-table-move-column)
3038 (org-table-insert-row, org-table-insert-hline)
3039 (org-table-kill-row, org-table-paste-rectangle)
3040 (org-table-wrap-region, org-table-sum, org-table-get-formula)
3041 (org-table-get-formula, org-table-get-stored-formulas)
3042 (org-table-fix-formulas, org-table-maybe-eval-formula)
3043 (org-table-rotate-recalc-marks, org-table-eval-formula)
3044 (org-table-get-range, org-table-get-descriptor-line)
3045 (org-table-find-row-type, org-table-recalculate)
3046 (org-table-iterate, org-table-iterate-buffer-tables)
3047 (org-table-formula-handle-first/last-rc)
3048 (org-table-edit-formulas, org-table-fedit-shift-reference)
3049 (org-rematch-and-replace, org-table-shift-refpart)
3050 (org-table-fedit-finish, org-table-fedit-lisp-indent)
3051 (org-table-show-reference, org-table-show-reference)
3052 (org-table-show-reference, org-table-show-reference)
3053 (org-table-force-dataline, orgtbl-error, orgtbl-export)
3054 (orgtbl-send-replace-tbl, org-table-to-lisp)
3055 (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
3056 (orgtbl-toggle-comment, orgtbl-insert-radio-table)
3057 (orgtbl-to-unicode, org-table-get-remote-range)
3058 (org-table-get-remote-range, org-table-copy-dow)
3059 (org-table-check-inside-data-field, org-table-insert-colum)
3060 (org-table-find-dataline, org-table-delete-colum)
3061 (org-table-move-column, org-table-insert-ro)
3062 (org-table-insert-hline, org-table-kill-ro)
3063 (org-table-paste-rectangle, org-table-wrap-regio)
3064 (org-table-sum, org-table-get-formul)
3065 (org-table-get-stored-formulas, org-table-fix-formula)
3066 (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
3067 (org-table-eval-formul, org-table-get-range)
3068 (org-table-get-descriptor-lin, org-table-find-row-type)
3069 (org-table-recalculat, org-table-iterate)
3070 (org-table-iterate-buffer-table)
3071 (org-table-formula-handle-first/last-r)
3072 (org-table-edit-formulas, org-table-fedit-shift-referenc)
3073 (org-rematch-and-replace, org-table-shift-refpar)
3074 (org-table-fedit-finish, org-table-fedit-lisp-inden)
3075 (org-table-show-reference, org-table-force-datalin)
3076 (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
3077 (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
3078 (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
3079 (org-table-get-remote-range): Use `user-error' instead of
3080 `error' for user errors.
3082 * ob-core.el (org-babel-load-in-session): Throw a useful error
3083 when there is no code block at point.
3085 * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
3086 parameter to ARG. Allow two universal prefix arguments to tangle
3087 by the target file of the block at point.
3088 (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
3089 to restrict the collection of blocks to those who will be
3090 tangled in TARGET-FILE.
3092 * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
3093 by default (i.e., deactivate auto-saving.)
3094 (org-edit-src-code): Set `buffer-auto-save-file-name' for
3095 auto-saving with `auto-save-mode'.
3097 * org.el (org-deadline, org-schedule): When called with two
3098 universal prefix arguments, set the warning time or the delay
3099 relatively to the current timestamp, not to today's date.
3101 * org-agenda.el (org-agenda-filter-apply):
3102 Deactive `org-agenda-entry-text-mode' when filtering.
3103 (org-agenda-entry-text-mode): Don't allow in filtered views.
3104 Don't show the maximum number of lines when turning off.
3106 * ox-html.el (org-html-headline): Add comment.
3108 * org.el (org-mode): Set `paragraph-start'.
3110 * org-agenda.el (org-agenda-entry-text-leaders): New option.
3111 (org-agenda-entry-text-show-here): Use it.
3113 * ox-html.el (org-html-link--inline-image): Always retrieve
3114 attributes for inline images.
3115 (org-html-link): Fix trailing whitespace at the end of the opening
3117 (org-html-headline): For headlines whose first element is a
3118 headline and not a section, pretend there is an empty section (as
3119 "") for the correct HTML div to be inserted.
3121 * org-agenda.el (org-agenda-collect-markers)
3122 (org-create-marker-find-array): Move to ox-icalendar.el.
3123 (org-agenda-marker-table, org-check-agenda-marker-table):
3126 * ox-icalendar.el (org-icalendar-create-uid): New parameter
3127 H-MARKERS to only update some headlines, not the whole file.
3128 (org-icalendar--combine-files): When exporting to an .ics file
3129 only add UID to the headlines shown in the agenda buffer.
3130 (org-agenda-collect-markers, org-create-marker-find-array):
3133 * org-agenda.el (org-agenda-write): Ask before overwriting an
3136 * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
3137 Use `org-html-infojs-opts-table'.
3139 * ox-html.el (org-html-infojs-opts-table):
3140 (org-html-use-infojs, org-html-infojs-options)
3141 (org-html-infojs-template): Move from ox-jsinfo.el. Rename using
3142 the org-html- prefix.
3143 (org-html-infojs-install-script): Move from ox-jsinfo.el.
3145 * ox-jsinfo.el: Delete.
3147 * ox-html.el (org-html-section): Fix indentation.
3148 (org-html-inner-template): Add the document title here, within the
3149 "content" class, as the org-info.js needs it.
3150 (org-html-template): Don't include the document's title here.
3151 (org-html-format-inlinetask-function): Remove wrong example.
3153 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
3154 blocks in commented out headings.
3156 * ox-latex.el (org-latex-logfiles-extensions)
3157 (org-latex-remove-logfiles): Improve docstrings.
3159 * org-capture.el (org-capture): Cosmetic fix.
3161 * org-protocol.el (org-protocol-create-for-org)
3162 (org-protocol-create): Small docstrings enhancements.
3164 * org-protocol.el (org-protocol-capture): Small docstring fix.
3166 * org.el (org-speed-command-activate): Only forbid in src code
3170 (org-indent-add-properties): Bugfix: prevent negative value for
3171 `added-ind-per-lvl'.
3173 * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
3174 `isearch-mode-end-hook' so that any isearch fixes the problem with
3175 ellipsis on the first line.
3176 (org-fix-ellipsis-at-bol): New defsubst.
3177 (org-show-context, org-isearch-end): Use it.
3179 * org-agenda.el (org-agenda-deadline-leaders): New formatting
3180 string for past deadlines.
3181 (org-agenda-scheduled-leaders): Small change.
3182 (org-agenda-get-deadlines): Use the new formatting string.
3184 * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
3186 * org.el (org-speed-command-activate): Don't activate speed
3187 commands within blocks.
3189 * org.el (org-show-context): Remove useless catch. Make sure the
3190 top of the window is a visible headline.
3191 (org-activate-plain-links): Remove unused catch.
3193 * org-macs.el (org-get-alist-option): Return nil, not (nil), so
3194 that `org-show-context' DTRT.
3196 * org.el (org-imenu-get-tree): Fix bug when matching against empty
3198 (org-overview): Stay on current line.
3199 (org-map-entries): Fix docstring.
3201 * org-macs.el (org-unmodified): Update comment. Don't define
3202 `with-silent-modifications' for emacsen that don't have it.
3204 * org-compat.el (org-with-silent-modifications):
3205 New compatibility macro.
3207 * org.el (org-refresh-category-properties)
3208 (org-refresh-properties, org-entry-blocked-p)
3209 (org-agenda-prepare-buffers):
3211 * org-indent.el (org-indent-remove-properties)
3212 (org-indent-add-properties):
3214 * org-colview.el (org-columns-display-here)
3215 (org-columns-remove-overlays, org-columns-quit)
3216 (org-columns-edit-value, org-columns-compute-all)
3217 (org-columns-compute, org-agenda-colview-compute):
3219 * org-clock.el (org-clock-sum): Use the compatibility macro
3220 `org-with-silent-modifications' instead of
3221 `with-silent-modifications'.
3223 * org.el (org-sort-remove-invisible): Remove emphasis markers.
3225 * org.el (org-sort-remove-invisible): Use defsust. Do not only
3226 check against invisible links, truly returns the visible part of
3228 (org-sort-remove-invisible): Add a docstring.
3229 (org-sort-entries): Remove hidden links when comparing entries.
3231 * org-list.el (org-sort-list): Remove hidden links when comparing
3234 * ox-html.el (org-html-headline): Fix typo.
3235 (org-html-format-headline--wrap): Cosmetic change.
3237 * org.el (org-at-clock-log-p): Delete.
3239 * org-clock.el (org-at-clock-log-p): Move here.
3241 * ox-html.el (org-html-format-headline-function): Fix docstring.
3243 * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
3244 both mysql and postgresql.
3246 * org.el (org-agenda-prepare-buffers): Don't use
3247 `with-silent-modifications' too early.
3249 * org-macs.el: Add a comment on when to use `org-unmodified' and
3250 when to use `with-silent-modifications'.
3252 * org-colview.el (org-columns-display-here)
3253 (org-columns-remove-overlays, org-columns-quit)
3254 (org-columns-edit-value, org-columns-compute-all)
3255 (org-columns-compute, org-agenda-colview-compute):
3256 * org-clock.el (org-clock-sum):
3257 * org.el (org-refresh-category-properties)
3258 (org-refresh-properties, org-entry-blocked-p)
3259 (org-agenda-prepare-buffers): Use `with-silent-modifications'
3260 instead of `org-unmodified'.
3262 * ox-publish.el (org-publish-sitemap-date-format): Small docstring
3265 * ox-latex.el (org-latex-format-headline-default-function):
3267 (org-latex-format-headline-function): Use the new option as
3269 (org-latex-toc-command): Don't add vertical space after the table
3272 * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
3273 `org-with-buffer-modified-unmodified'.
3274 (org-agenda-prepare-buffers): Fix indentation.
3276 * org-macs.el (org-unmodified): Rename from
3277 `org-with-buffer-modified-unmodified'.
3278 (org-with-buffer-modified-unmodified): Delete.
3280 * ob-python.el (org-babel-python-command): Use a defcustom.
3281 (org-babel-python-mode): Use a defcustom and default to
3282 'python-mode when featured.
3284 * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
3287 * ox-org.el (org-org-publish-to-org): Autoload.
3290 * org-bibtex.el: Remove remember support.
3292 * org-clock.el (org-clock-heading-for-remember): Delete.
3293 (org-clock-in): Do not set the heading for remember.
3295 * org.el (org-move-subtree-down, org-forward-element)
3296 (org-backward-element):
3298 * org-table.el (org-table-previous-field)
3299 (org-table-move-column, org-table-move-row):
3301 * org-list.el (org-move-item-down, org-move-item-up)
3302 (org-cycle-item-indentation): Use `user-error' when moving or
3303 modifying the element at point is not possible.
3305 * ox-html.el (org-html-table-header-tags)
3306 (org-html-table-data-tags, org-html-table-row-tags)
3307 (org-html-table-align-individual-fields): Use the
3308 org-export-html group.
3309 (org-html-inline-src-block, org-html-link): Fix error messages.
3310 (org-html-begin-plain-list): Fix formatting, better FIXME
3313 * org.el (org-fill-paragraph): Fill using
3314 `org-mode-transpose-word-syntax-table'.
3316 * ox-org.el (org-org-publish-to-org): New defun.
3318 * ox-html.el (org-export-htmlize): Delete group.
3319 (org-html-htmlize-output-type)
3320 (org-html-htmlized-org-css-url)
3321 (org-html-htmlize-region-for-paste): Rename from
3322 org-export-htmlize-*.
3323 (org-html-htmlize-generate-css, org-html-fontify-code):
3324 Use the correct names.
3326 * org-compat.el (org-file-equal-p): New compatibility function.
3328 * ox.el (org-export-output-file-name): Use the new function.
3330 * org-clock.el (org-clock-set-current)
3331 (org-clock-delete-current): Delete.
3332 (org-clock-in, org-clock-out): Set and delete
3333 `org-clock-current-task'. Minor code clean-up.
3335 * org-clock.el (org-clock-in, org-clock-in-last):
3336 Tell `org-current-time' to always return a past time.
3338 * org.el (org-current-time): New argument `past' to force
3339 returning a past time when rounding.
3341 * org-agenda.el (org-agenda-unmark-clocking-task): New function.
3342 (org-agenda-mark-clocking-task): Use it.
3343 (org-agenda-clock-in): Let the cursor where it is.
3344 (org-agenda-clock-out): Ditto. Also remove the
3345 `org-agenda-clocking' overlay.
3347 * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
3348 so that it ends at the beginning of the next headline at the same
3351 * org.el (org-set-effort, org-property-next-allowed-value):
3352 When needed, update the current clock effort time.
3353 (org-next-link): New parameter `search-backward'. Fix bug when at
3354 a link with no 'org-link face, e.g., in a DONE headline. Throw a
3355 message instead of an error.
3356 (org-previous-link): Use `org-next-link'.
3358 * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
3359 when `org-prefix-has-breadcrumbs' is non-nil.
3361 * org.el (org-mode): Don't make characters from
3362 `org-emphasis-alist' word constituents.
3363 (org-mode-transpose-word-syntax-table): Rename from
3365 (org-transpose-words):
3366 Use `org-mode-transpose-word-syntax-table'.
3368 * ox.el (org-export--dispatch-ui)
3369 (org-export--dispatch-action): Use integers for control chars.
3371 * org-agenda.el (org-agenda-set-restriction-lock): Put the
3372 overlay until the end of the subtree, not the end of the
3375 * org.el (org-entry-delete, org-delete-property): New optional
3376 arg delete-empty-drawer, a string, to delete any empty drawer
3378 (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
3381 * org-src.el (org-src-mode-map, org-edit-src-code)
3382 (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
3383 for `org-edit-src-abort'.
3385 * org.el (org-mode): Use org-unmodified during startup
3386 initialization for functions that may be inhibited.
3388 * org-table.el (org-table-align): Only set the window start
3389 when table alignment is performed in the selected window.
3391 * org-src.el (org-edit-src-auto-save-idle-delay): New option.
3392 (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
3393 (org-edit-src-code-timer): New timer variable.
3394 (org-edit-src-code): Run the timer.
3395 (org-edit-fixed-width-region): Enhance message.
3396 (org-edit-src-exit): Cancel the timer.
3397 (org-edit-src-save): Prevent saving when editing fixed-width
3398 buffer, exiting will save already.
3399 (org-edit-src-exit): Inconditionally kill the src/example
3402 * org-pcomplete.el (pcomplete/org-mode/file-option):
3403 Require 'org-element. This fixes a bug about unbound variable
3404 `org-element-affiliated-keywords' when trying to complete a
3405 keyword before 'org-element was required.
3407 * org-list.el (org-list-bullet-string): Replace match when there
3408 is a match, otherwise just return the bullet.
3410 * org-src.el (org-src-mode-map): New binding C-c k to abort
3412 (org-edit-src-code): Mention the keybinding to abort editing
3413 and go back to the correct position.
3414 (org-edit-src-abort): New command to abort editing.
3416 * ox-html.el (org-html--build-meta-info): Add a newline before
3417 the title meta information.
3419 * org.el (org-return-follows-link): Mention that this does not
3420 affect the behavior of RET in tables.
3422 * ox-html.el (org-html--build-mathjax-config): Only include
3423 MathJax configuration if the resulting HTML contains LaTeX
3426 * org.el (org-syntax-table, org-transpose-words): Delete.
3427 (org-mode): Syntactically Define {} and <> as parentheses.
3428 (org-drag-line-forward, org-drag-line-backward):
3430 (org-shiftmetaup, org-shiftmetadown): Fall back on the new
3431 functions instead of throwing an error.
3432 (org-make-org-heading-search-string): Don't use statistic or [x/y]
3433 cookies when creating a link.
3435 * ox-html.el (org-html-table): Append #+attr_html attributes.
3437 * org.el (org-emphasis-alist, org-protecting-blocks):
3438 * org-src.el (org-edit-src-find-region-and-lang):
3439 * org-list.el (org-list-forbidden-blocks):
3440 * org-footnote.el (org-footnote-forbidden-blocks):
3441 Remove references to the deleted DocBook exporter.
3443 * org.el (org-end-of-line): Don't throw an error outside elements.
3445 * ox-html.el (org-html-link): Don't throw an error if the value
3446 of the :ID: property has not been generated by uuidgen.
3448 * org-pcomplete.el (pcomplete/org-mode/file-option/x):
3449 Resurrect. Use `org-default-options' to initialize completion
3450 fonctions for the most important keywords.
3452 * org-macs.el (org-default-options): Rename and adapt from
3453 `org-get-current-options'.
3455 * org.el (org-options-keywords): Add keywords.
3457 * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
3459 * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
3461 * ox-html.el (org-html-display-buffer-mode): New option.
3462 (org-html-export-as-html): Use it.
3464 * ob-core.el (org-babel-insert-result): Fix bug when inserting
3465 an empty string as the result.
3467 * org.el (org-timestamp-change): New optional parameter
3468 `suppress-tmp-delay' to suppress temporary delay like "--2d".
3469 (org-auto-repeat-maybe): Suppress temporary delays.
3471 * org-agenda.el (org-agenda-get-scheduled): When the delay is
3472 of the form "--2d" and there is a repeater, ignore the delay
3473 for further repeated occurrences.
3475 * org-agenda.el (org-agenda-get-deadlines)
3476 (org-agenda-get-scheduled): Minor refactoring.
3478 * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
3479 (org-edit-special): Don't allow to edit when buffer is read only.
3481 * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
3482 and `cache-dir' when `processing-type' is 'mathjax.
3483 (org-html-format-latex): Fix conversion in non-file buffers.
3485 * org.el (org-speed-commands-default): Bind `B' and `F' to
3486 `org-previous-block' and `org-next-block'.
3487 (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
3488 see today's diary as "?" is already bounded by Calendar.
3489 (org-read-date-minibuffer-local-map): Use "." to go to today's
3492 * ob-core.el (org-babel-next-src-block)
3493 (org-babel-previous-src-block): Rewrite using
3496 * org.el (org-next-block, org-previous-block): New navigation
3498 (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
3501 * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
3502 when writing to an .org file.
3504 * org.el (org-copy-subtree): New parameter `nosubtrees'.
3506 * org-agenda.el (org-agenda-write): Allow writing to an .org file.
3508 * org.el (org-paste-subtree): Fix typo in docstring.
3510 * org-agenda.el (org-agenda-get-todos)
3511 (org-agenda-get-timestamps): Use nil as `ts-date' for diary
3513 (org-agenda-get-todos): Skip diary sexps when trying to sort by
3515 (org-agenda-max-entries, org-agenda-max-todos)
3516 (org-agenda-max-tags, org-agenda-max-effort): New options.
3517 (org-timeline, org-agenda-list, org-search-view)
3518 (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
3519 what agenda type we are currently finalizing for.
3520 (org-agenda-finalize-entries): Limit the number of entries
3521 depending on the new options.
3522 (org-agenda-limit-entries): New function.
3524 * org.el (org-deadline): Allow a double universal prefix argument
3525 to insert/update a warning cookie.
3526 (org-deadline): Allow a double universal prefix argument to
3527 insert/update a delay cookie.
3529 * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
3530 New option. The structure of the possible values is copied
3531 from `org-agenda-skip-deadline-prewarning-if-scheduled'.
3532 (org-agenda-get-scheduled): Honor the two new option,
3533 `org-scheduled-delay-days' and
3534 `org-agenda-skip-deadline-prewarning-if-scheduled'. I.e. if a
3535 scheduled entry has a delay cookie like "-2d" (similar to the
3536 prewarning cookie for deadline), don't show the entry until
3539 * org.el (org-deadline-warning-days): Small docstring fix.
3540 (org-scheduled-delay-days): New option (see
3541 `org-deadline-warning-days'.)
3542 (org-get-wdays): Use the new option.
3544 * org-agenda.el (org-agenda-sorting-strategy): Document the
3545 new sorting strategies.
3546 (org-agenda-get-todos, org-agenda-get-timestamps)
3547 (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
3548 `ts-date' text property with scheduled, deadline or timetamp
3550 (org-cmp-ts): New function to compare timestamps.
3551 (org-em): Add a docstring.
3552 (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
3553 Implement the following sorting strategies: timestamp-up/down,
3554 scheduled-up/down, deadline-up/down, ts-up/down (for active
3555 timestamps) and tsia-up/down (for inactive timestamps.)
3557 * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
3559 * org.el (org-contextualize-validate-key): Check against two new
3560 context predicates [not-]in-buffer.
3562 * org-agenda.el (org-agenda-custom-commands-contexts):
3563 Document the new [not-]in-buffer context predicates.
3565 * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
3566 (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
3569 * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
3570 friends, rely on the extension of the output file.
3572 * org-archive.el (org-archive-file-header-format): New option.
3573 (org-archive-subtree): Use it.
3575 * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
3576 set the output type.
3578 * org.el (org-read-date-minibuffer-local-map): New variable.
3579 (org-read-date): Use it.
3580 (org-read-date-minibuffer-setup-hook): Mark as obsolete.
3581 (org-read-date): Bind `!' to `diary-view-entries' in order to
3582 check diary entries while setting an Org date.
3584 * org-agenda.el (org-diary): Only keep the descriptions of the
3585 links since Org links are not active in the diary buffer.
3587 * org-faces.el (org-priority): New face.
3589 * org.el (org-font-lock-add-priority-faces): Use the new face.
3591 * org-agenda.el (org-agenda-fontify-priorities): Use the
3592 org-priority face and add specific agenda face on top of it.
3594 * org-agenda.el (org-agenda-show-clocking-issues)
3595 (org-agenda-format-item): Let-bind
3596 `org-time-clocksum-use-effort-durations' to nil.
3598 * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
3599 universal prefix arguments on a list where all items are already
3600 in a transitory state. Refine the error when the checkbox cannot
3603 * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
3604 requiring any org library. Also use `load', not
3605 `org-load-noerror-mustsuffix'.
3606 (org-effort-durations): Move up to fix a compiler warning.
3607 (org-edit-special): Fix typo in docstring.
3608 (org-time-clocksum-format): Add a version tag and add to the
3610 (org-time-clocksum-use-fractional): Ditto.
3611 (org-time-clocksum-use-effort-durations): New option to allow
3612 using `org-effort-durations' when computing clocksum durations.
3613 (org-minutes-to-clocksum-string): Use the new option.
3615 * org-clock.el (org-clocktable-write-default): Let-bind
3616 `org-time-clocksum-use-effort-durations' to a new clocktable
3617 parameter ":effort-durations".
3619 * org-entities.el (org-entities): "neg" should be used in LaTeX
3620 math mode. Add the "neg" entity.
3622 * org-mobile.el (org-mobile-allpriorities): New option.
3623 (org-mobile-create-index-file): Use the new option.
3625 * org-latex.el (org-export-latex-inline-images): New option.
3627 * org.el (org-forward-heading-same-level): Before the first
3628 headline, go to the first headline.
3629 (org-backward-heading-same-level): Before the first headline,
3630 go to the beginning of the buffer, like
3631 `outline-previous-visible-heading' does.
3633 * org-exp.el (org-export-plist-vars): Don't use
3634 `org-export-html-inline-images' to set the :inline-images
3635 property, use distinct properties for the various backends.
3637 * org-publish.el (org-publish-project-alist): Ditto.
3639 * org-latex.el (org-export-latex-links): Use :latex-inline-images
3640 instead of :inline-images.
3642 * org-odt.el (org-compat): Require.
3644 * org.el (org-parse-time-string): Allow strings supported by
3645 tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3647 * org-clock.el (org-clock-rounding-minutes): New option to round
3648 the time by N minutes in the past when clocking in or out.
3649 (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3652 * org.el (org-current-time): New optional parameter
3653 `rounding-minutes' to override the use of
3654 `org-time-stamp-rounding-minutes' for rounding.
3656 * org-clock.el (org-clock-special-range): Small docstring fix.
3657 New parameter 'weekstart to define the week start day.
3658 (org-clock-special-range, org-dblock-write:clocktable)
3659 (org-dblock-write:clocktable, org-clocktable-write-default)
3660 (org-clocktable-steps, org-clock-get-table-data): Use the new
3662 (org-clocktable-defaults): Set monday as the starting day of the
3663 week by setting :wstart to 1.
3665 * org.el (org-store-link): Fix the naming of internal links to
3666 lines starting with a keyword.
3668 * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3669 (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3672 * org.el (org-last-set-property-value): New variable.
3673 (org-read-property-name): Fix dangling parentheses.
3674 (org-set-property-and-value): New command to manually set
3675 both the property and the value. A prefix arg will use the
3676 last property-value pair set without prompting the user.
3677 (org-set-property): Set `org-last-set-property-value'.
3678 (org-mode-map): Bind the new command to `C-c C-x P'.
3679 (org-find-invisible-foreground): Delete.
3680 (org-mode): Use `face-background' instead of
3681 `org-find-invisible-foreground'.
3682 (org-startup-options): New startup keywords.
3683 (org-log-into-drawer): Update docstring to explain how to set this
3684 variable through the startup keyword "logdrawer" and "nologdrawer".
3685 (org-log-states-order-reversed): Document the new startup keywords
3686 "logstatesreversed" and "nologstatesreversed".
3687 (org-mode-map): Use `org-remap' instead of binding `M-t' to
3688 `org-transpose-words' directly.
3689 (org-syntax-table): New variable.
3690 (org-transpose-words): New command, simply wrapping the new
3691 syntax table around `transpose-words'.
3692 (org-mode-map): Bind `org-transpose-words' to `M-t'.
3693 (org-store-link): Use keyword at point as the search string.
3694 Use `delq nil' instead of `delete nil'.
3695 (org-make-org-heading-search-string): Rewrite using
3696 org-element.el. Not an interactive function anymore.
3698 * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3700 * org-mobile.el (org-mobile-files-alist): Ditto.
3702 * org.el (org-store-link): When creating a link to a heading with
3703 a bracket link, don't escape this link with curly braces as the
3704 escaped link is not active anyway; use the description instead.
3705 If the headline only consists of a bracket link, add a star to the
3706 description so that the user knows this is an internal link.
3708 * org-w3m.el (org-w3m-store-link): New function.
3710 * org.el (org-store-link): Update the error message when no method
3711 is available for storing a link. Use `user-error' for this.
3712 Remove handling w3m links from this function.
3713 (org-insert-heading, org-insert-todo-heading): A double prefix arg
3714 force the insertion of the subtree at the end of the parent
3716 (org-store-link): A double prefix argument now skips module
3717 store-link functions to only use Org's core functions. Also, when
3718 several modular store-link functions match, ask for which one to
3720 (org-cycle, org-cycle-internal-global)
3721 (org-cycle-internal-local, org-display-outline-path): Let-bind
3722 `message-log-max' to nil so that messages don't populate the
3725 * org-table.el (org-table-eval-formula): Handle localized
3726 time-stamps by internally converting them to english during
3727 formulas evaluation.
3729 * org.el (org-clock-timestamps-up): Fix declarations.
3731 * ob-core.el (org-split-string): Declare function.
3733 * org-html.el (org-html-export-list-line): Add CSS classes to
3734 these list HTML tags: <ul> <dl> and <ol>.
3736 * org-clock.el (org-clock-timestamps-up)
3737 (org-clock-timestamps-down, org-clock-timestamps-change):
3738 Add an optional argument N to change timestamps by several units.
3740 * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3742 * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3743 'if-interactive and use it as the default.
3744 (org-export-push-to-kill-ring): Use the new choice.
3746 * org.el (org-block-entry-blocking): New variable.
3747 (org-todo): Use it. Also use `user-error' when a TODO state
3749 (org-block-todo-from-children-or-siblings-or-parent):
3750 Display `org-block-entry-blocking' in the user-error message.
3752 * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3753 add the time of the day.
3755 * org-capture.el (org-capture): When capturing from the agenda and
3756 with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3757 prefix will set the capture time to the HH:MM of the current line
3758 or the current HH:MM.
3760 * org-agenda.el (org-agenda-capture): New optional argument
3761 WITH-TIME: when set to 1, the capture time will be set to the
3762 HH:MM time of the current line, or the current HH:MM time.
3764 * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3766 (org-deadline-close): Use `org-time-stamp-to-now'.
3767 (org-time-stamp-to-now): Use `org-float-time' instead of the
3768 obsolete `time-to-seconds' function.
3769 (org-format-outline-path): Fix bug: add the separator string after
3771 (org-display-inline-images): Search for #+ATTR within the current
3773 (org-days-to-time): Make obsolete.
3774 (org-time-stamp-to-now): Rename from `org-days-to-time'.
3775 Allow to compare time-stamps based on seconds.
3777 * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3778 New option to compare time stamps using seconds, not days.
3779 (org-agenda-todo-custom-ignore-p)
3780 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3781 Use the new function's name and the new option.
3783 * org-clock.el (org-clock-sound): Enhance docstring.
3784 (org-notify): Use the parameter `play-sound' as argument for
3785 `org-clock-play-sound'.
3786 (org-clock-play-sound): New optional argument `clock-sound' to
3787 override `org-clock-sound'.
3789 * org-agenda.el (org-agenda-format-item): Fix initialization
3790 of the level text property.
3792 * org.el (org-format-outline-path): Small docstring
3794 (org-display-outline-path): Fix order or arguments.
3796 * org.el (org-activate-plain-links)
3797 (org-activate-bracket-links): Add a new 'htmlize-link text
3798 property, so that htmlize (> version 1.42) can linkify the
3800 (org-display-outline-path): Allow a string value for the
3801 `as-string' parameter. Such a value will replace the "/"
3802 separator in the output. New argument `as-string'.
3803 (org-refile-keep): New variable.
3804 (org-copy): New command to copy notes.
3805 (org-refile): New parameter msg to override the "Refile" string in
3807 (org-mode-map): Bind "C-c M-w" to `org-copy'.
3808 (org-refile-get-location): Use the current file name as the
3809 default target when there is no refile history.
3810 (org-cycle-hide-inline-tasks): New function to hide inline tasks
3812 (org-cycle-hook): Use the new function.
3813 (org-entry-put): Fix bug when updating the last clock.
3814 (org-use-last-clock-out-time-as-effective-time): New option.
3815 (org-current-effective-time): Use the new option.
3817 * org-clock.el (org-clock-get-last-clock-out-time):
3820 * org.el (org-toggle-inline-images): Only send a message when
3821 called interactively.
3822 (org-scan-tags): Fix the declaration and the use of
3823 `org-agenda-format-item'.
3825 * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3826 correct number of parameters for `org-agenda-format-item'.
3829 * org.el (org-outline-level): Go at the beginning of the
3830 headline first to always return a sensible result.
3832 * org-agenda.el (org-search-view, org-agenda-get-todos)
3833 (org-agenda-get-timestamps, org-agenda-get-sexps)
3834 (org-agenda-get-progress, org-agenda-get-deadlines)
3835 (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3836 correct level depending on `org-odd-levels-only'.
3837 (org-agenda-prefix-format): A new specifier `%l' allows to insert
3838 X spaces when the item is of level X.
3839 (org-search-view, org-get-entries-from-diary)
3840 (org-agenda-get-todos, org-agenda-get-timestamps)
3841 (org-agenda-get-sexps, org-agenda-get-progress)
3842 (org-agenda-get-deadlines, org-agenda-get-scheduled)
3843 (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3844 new text property 'level, a string with as many whitespaces as
3845 the level of the item.
3846 (org-agenda-format-item, org-compile-prefix-format):
3847 Handle the new `%l' specifier.
3849 * org-colview.el (org-columns-next-allowed-value): Add the
3850 CLOCKSUM property to the list of properties that can be
3851 changed interactively from the column view.
3853 * org.el (org-entry-put): Allow to set the CLOCKSUM property
3854 by updating the most recent clock. This is useful in the
3855 column view when you want to use S-<left/right> to update the
3856 last clock of the entry at point.
3857 (org-image-actual-width): New choice: use #+ATTR* or fall back on
3859 (org-display-inline-images): Implement the new choice.
3860 (org-image-actual-width): Rename from `org-image-fixed-width'.
3861 Update the docstring. Give more choice.
3862 (org-display-inline-images): Use the option new choices.
3863 (org-image-fixed-width): New option to set a fixed width for
3865 (org-display-inline-images): Use the new option.
3867 * org-agenda.el (org-class): Allow to use holiday strings for
3868 the `skip-weeks' arguments.
3870 * org.el (org-mode): Set the syntax of the " character to "string
3873 * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3874 check whether we are in `org-agenda-mode'.
3875 (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3876 agendas and non-custom commands.
3878 2013-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3880 * org-src.el (org-edit-src-exit): Let overlay survive after the
3881 buffer has been saved.
3883 * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3885 (org-texinfo-export-to-info): Use new style backquoting.
3887 * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3888 instead of `file-base-name'.
3890 * org.el (org-insert-heading): Improve whitespace behavior at
3892 (org-latex-default-packages-alist): Add the `rotating' package to
3893 the list of default packages. Improve docstring.
3894 (org-insert-property-drawer): Insert only after space in current
3896 (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3898 (org-special-ctrl-o): New option.
3899 (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3902 * org-agenda.el (org-agenda-custom-commands-local-options):
3903 (org-agenda-span, org-agenda-ndays-to-span)
3904 (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3905 (org-agenda-change-time-span, org-agenda-compute-starting-span):
3906 Add support for fortnight view.
3907 (org-agenda-menu): Add fortnight view command.
3908 (org-agenda-fortnight-view): New command.
3910 * org-timer.el (org-clock-sound): Silence compiler.
3912 * org.el (org-beginning-of-line, org-end-of-line):
3913 Bind deactivate-mark to avoid that this command deactivates it.
3914 (org-make-tags-matcher): Do not interpret / in property value as
3915 starter of TODO match.
3916 (org-overview): Preserve point.
3917 (org-read-date-minibuffer-local-map): Don't replace disputed keys
3918 when defining this keymap.
3919 (org-read-date): Remove unnecessary binding of
3920 `org-replace-disputed-keys'.
3921 (org-insert-heading): Allow to remove blank lines if the user does
3923 (org-unlogged-message): Fix typo in dostring.
3925 * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3926 `org-babel-ruby-nil-to'
3927 (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3928 (org-babel-ruby-table-or-string): Convert outgoing nils.
3930 * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3931 files where available.
3933 * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3935 * org.el (org-unlogged-message): New function.
3936 (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3937 (org-global-cycle, org-display-outline-path):
3938 Use `org-unlogged-message'.
3940 * org-pcomplete.el (org-make-org-heading-search-string):
3941 Fix function declaration.
3942 (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3943 to `org-make-org-heading-search-string'.
3945 * org.el (org-read-date): Turn off replacing disputed keys when
3946 defining the minibuffer keys during date selection.
3947 (org-insert-heading): Improve the empty line insertion behavior.
3948 Basically, never remove empty lines, only add them.
3950 * org-attach.el (org-attach-commit): Use vc-git to find the git
3953 * org-compat.el (org-move-to-column): Turn off invisibility stuff
3954 for moving the cursor to a column.
3956 * org.el (org-modules): Update with the new module org-mac-link.
3957 (org-display-outline-path): Do not log outline path in Message
3959 (org-agenda-ignore-drawer-properties): New option.
3960 (org-agenda-prepare-buffers):
3961 Honour `org-agenda-ignore-drawer-properties'.
3963 * org-clock.el (org-clock-goto): Recenter to thrd line
3965 * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
3966 between keywords in RECEIVE ORGTBL lines.
3968 * org.el (org-bookmark-names-plist): New user option.
3969 (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
3970 (org-refile): Use `org-bookmark-names-plist'.
3972 * org-capture.el (org-capture-bookmark-last-stored-position):
3973 Use `org-bookmark-names-plist'.
3975 * org.el (org-insert-heading): Rewritten from scratch.
3976 (org-N-empty-lines-before-current): New function
3977 (org-insert-heading-respect-content): Set the correct argument to
3978 force a heading even in lists.
3980 * org-colview.el (org-columns-display-here): Enforce fixed width
3983 * org-faces.el (org-column): Setting font width has been shifted
3986 * org.el (org-mode-flyspell-verify): Check for src block.
3988 * org-table.el (org-table-convert-region): Fix interactive
3991 * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
3993 * org.el (org-beginning-of-line, org-end-of-line):
3994 Set disable-point-adjustment when the command ends next to invisible
3997 * ob-lob.el (org-babel-lob-files): Fix custom type.
3999 * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
4000 (org-agenda-inactive-leader, org-agenda-day-face-function)
4001 (org-agenda-auto-exclude-function): Fix custom type.
4003 * org-bibtex.el (org-bibtex-prefix): Fix custom type.
4005 * org-clock.el (org-clock-heading-function):
4006 (org-show-notification-handler): Fix custom type.
4008 * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
4010 * org-protocol.el (org-protocol-default-template-key): Fix custom
4013 * org.el (org-make-link-description-function):
4014 (org-link-translation-function):
4015 (org-link-frame-setup):
4016 (org-refile-target-verify-function):
4017 (org-get-priority-function):
4018 (org-use-fast-tag-selection):
4019 (org-columns-modify-value-for-display-function):
4020 (org-sparse-tree-default-date-type):
4021 * ox-html.el (org-html-postamble):
4022 (org-html-postamble-format):
4023 (org-html-preamble-format):
4024 * ox-odt.el (org-odt-content-template-file):
4025 * ox.el (org-export-with-archived-trees):
4026 (org-export-initial-scope): Fix custom type.
4028 * org.el (org-insert-heading): Fix problem with inserting heading.
4029 Check for checkbox at the beginning of the item, not just at the
4030 beginning of the line.
4031 (org-small-year-to-year): Fix docstring typo.
4032 (org-show-siblings): By default, also show siblings from a
4035 * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
4036 the headline when agenda is restricted to a subtree. Do not
4037 highlight the entire subtree.
4039 * org-table.el (org-table-eval-formula): Work-around for calc-eval
4042 * ox.el (org-export-dispatch): Make sure the last position marker
4043 uses the base buffer if there is one.
4044 (org-export-dispatch-last-position): New variable.
4045 (org-export-dispatch): Save position of cursor at the moment when
4046 the export command is called. Restore that position temporarily
4047 when repeating the previous export command.
4049 * org.el (org-insert-heading): Shrink whitespace at end of subtree
4050 when `org-insert-heading-respect-content' is on.
4052 * org-list.el (org-sort-list): Respect sorting-type and
4053 getkey-func when they are specified in the call.
4055 * org.el (org-sort-entries): Respect sorting-type and getkey-func
4056 when they are specified in the call.
4057 (org-format-outline-path): New argument SEPARATOR to specify a
4058 string that is inserted between parts of the outline path.
4059 (org-display-outline-path): New argument SEPARATOR, to specify a
4060 string that is inserted between parts of the outline path.
4062 * org-colview.el (org-dblock-write:columnview): Change the capture
4063 of pos to after inserting the original content
4065 2013-11-12 Christian Moe <mail@christianmoe.com>
4067 * ox-odt.el (org-odt-line-break, org-odt-plain-text):
4068 Remove newline after line-break tag.
4070 2013-11-12 Christophe Junke <christophe.junke@inria.fr> (tiny change)
4072 * org.el (org-set-font-lock-defaults): Let footnote fontifications
4073 be done before other links' fontification. This allows links
4074 appearing inside footnotes to be both visible and active.
4076 2013-11-12 Christopher Schmidt <christopher@ch.ristopher.com>
4078 * org.el (orgstruct-setup): Major rewrite.
4079 (orgstruct++-mode): Overwrite local non-org vars again.
4080 (orgstruct-mode): Simplify implementation. Emulate outline's
4081 buffer-invisiblity-spec.
4082 (orgstruct-heading-prefix-regexp): Change default value to nil.
4083 (orgstruct-error): Use `user-error' if available.
4084 {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
4085 non-nil. Always use `org-outline-level'. Bind org-shift*.
4086 (orgstruct-make-binding): Major rewrite.
4087 (org-cycle-global-status, org-cycle-subtree-status): Set state
4089 (org-heading-components): Use `org-heading-regexp' in
4091 (orgstruct-heading-prefix-regexp, orgstruct-setup-hook):
4093 (orgstruct-initialized): New variable.
4094 (org-get-local-variables): Honour state property.
4095 (org-run-like-in-org-mode): Use `let' instead of `progv'. Do not
4096 override variables with non-default values.
4097 (org-forward-heading-same-level): Do not skip to headlines on
4098 another level. Handle negative prefix argument correctly.
4099 (org-backward-heading-same-level):
4100 Use `org-forward-heading-same-level'.
4102 2013-11-12 Craig Tanis <craig-tanis@utc.edu> (tiny change)
4104 * ox-latex.el (org-latex-src-block): Change format string to position
4105 caption after figure content.
4107 2013-11-12 Eric Abrahamsen <eric@ericabrahamsen.net>
4109 * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
4110 no-op. If that link is in a headline, act as if the `C-c C-c' was
4111 called on the headline, not the link.
4113 * ox-html.el (org-html-doctype-alist): New variable holding an
4114 alist of (X)HTML doctypes
4115 (org-html-xhtml-p, org-html-html5-p, org-html-close-tag):
4117 (org-html-html5-fancy): New export option, determining whether or
4118 not to use HTML5-specific elements.
4119 (org-html-html5-elements): New variable, new HTML5 elements.
4120 (org-html-special-block): Export special blocks to new HTML5
4122 (org-html-format-inline-image): Use <figure> and <figcaption> for
4124 (org-html-format-inline-image, org-html--build-meta-info)
4125 (org-html--build-head, org-html--build-pre/postable)
4126 (org-html-template, org-html-horizontal-rule)
4127 (org-html-format-list-item, org-html-line-break, org-html-table)
4128 (org-html-verse-block): Changes to allow flavored export.
4130 * ox-latex.el (org-latex--org-table, org-latex-table-row):
4131 Allow use of the "tabu" and "longtabu" table environments. New table
4132 attribute :spread handles the width specification syntax of "tabu"
4133 and "longtabu" table environments.
4135 2013-11-12 Eric Schulte <eric.schulte@gmx.com>
4137 * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
4139 (org-bibtex-read-file): Read all bibtex entries in a file.
4140 (org-bibtex-import-from-file): Import all bibtex entries from a
4141 file into the current buffer.
4143 * ob-tangle.el (org-babel-load-file): When called with a prefix
4144 argument the tangled emacs-lisp file will be byte compiled.
4146 * ob-tangle.el (org-babel-tangle): Tangled files should not be
4149 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
4150 when to fully escape the results or just print them close to
4153 * ob.el (org-babel-result-cond): This function should now be used
4154 by all language backends to handle the processing of raw code
4155 block output into scalar results, table results, or ignored
4156 results depending on the value of result-params.
4158 * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
4160 * ob-R.el (org-babel-R-evaluate-external-process)
4161 (org-babel-R-evaluate-session):
4162 * ob-awk.el (org-babel-execute:awk):
4163 * ob-clojure.el (org-babel-execute:clojure):
4164 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
4165 * ob-fortran.el (org-babel-execute:fortran):
4166 * ob-io.el (org-babel-io-evaluate):
4167 * ob-java.el (org-babel-execute:java):
4168 * ob-lisp.el (org-babel-execute:lisp):
4169 * ob-maxima.el (org-babel-execute:maxima):
4170 * ob-picolisp.el (org-babel-execute:picolisp):
4171 * ob-python.el (org-babel-python-evaluate-external-process):
4172 (org-babel-python-evaluate-session):
4173 * ob-scala.el (org-babel-scala-evaluate):
4174 * ob-sh.el (org-babel-sh-evaluate):
4175 * ob-shen.el (org-babel-execute:shen):
4176 * ob-sql.el (org-babel-execute:sql):
4177 * ob-sqlite.el (org-babel-execute:sqlite):
4178 Use `org-babel-result-cond'.
4180 * ob.el (org-babel-common-header-args-w-values): Add a new "none"
4182 (org-babel-execute-src-block): Don't do *any* result processing if
4183 the "none" header argument has been specified.
4184 (org-babel-sha1-hash): Remove the none header argument from header
4185 arg lists when calculating cache sums.
4186 (org-babel-insert-result): Flesh out some documentation.
4188 * ob.el (org-babel-insert-result): Don't escape results in
4191 * ob-python.el (org-babel-python-hline-to): Customize hline
4192 conversion to python.
4193 (org-babel-python-None-to): Customize none conversion from python.
4194 (org-babel-python-var-to-python): Use new variable.
4195 (org-babel-python-table-or-string): Use new variable.
4197 * org.el (org-babel-load-languages): Add ob-makefile to
4198 `org-babel-load-languages'.
4200 * ob-makefile.el: New file.
4202 * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
4204 * org.el (org-format-latex): Simplify and now make use of the new
4205 `org-create-formula-image' function.
4206 (org-create-formula-image): Provides a simpler interface to the
4207 two backend-specific functions.
4209 * ob-core.el (org-babel-default-header-args): It is likely that
4210 someone meant to set :padlines to "yes", but accidentally set
4211 :padnewlines to "yes". Either way lets just remove this which
4212 shouldn't have any functional effect.
4214 * ob-haskell.el (org-babel-default-header-args:haskell):
4215 Set :padlines to "no" by default.
4217 * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
4218 source block on #+ prefixed lines.
4220 * ob-core.el (org-babel-merge-params): Replace `remove-if' with
4221 `org-remove-if'. More careful to check that the colname- and
4222 rowname-names header arguments exist during merge. When merging
4223 parameters, if a variable is replaced with a new value, then
4224 delete colnames/rownames for the original value of that variable.
4226 * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
4227 configurable for ditaa blocks.
4229 * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
4230 dealing with list variables.
4232 * ob-core.el (org-babel-demarcate-block):
4233 Include `org-src-lang-modes' in block demarcation options.
4235 * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
4238 * ob-latex.el (org-babel-latex-htlatex): Set this variable to
4239 "htlatex" (or path to said) to enable svg generation from latex
4241 (org-babel-latex-htlatex-packages): Libraries required for
4242 automatic svg generation.
4243 (org-babel-execute:latex): Generate SVG images directly from latex
4244 code blocks (assumes tikz).
4246 * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
4249 * ob-scheme.el (org-babel-scheme-get-repl)
4250 (org-babel-scheme-make-session-name)
4251 (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
4252 Fix whitespace and indentation.
4254 * ob-core.el (org-babel-set-current-result-hash): Update the
4255 match-string holding the hash data, and correct overlay
4257 (org-babel-find-named-result): Call lines are not results.
4258 (org-babel-where-is-src-block-result): Don't implicitly name the
4259 results of call lines.
4260 (org-babel-exp-non-block-elements): There is now another element
4261 on the call line info list.
4263 * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
4264 the end of the info list.
4265 (org-babel-lob-execute): Pass the name through to execution.
4267 * ob-core.el (org-babel-execute-src-block): Ensure that the
4268 location is set before anything else is done.
4270 * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
4271 header arguments at the location of the original code block.
4273 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
4276 * ob-core.el (org-babel-common-header-args-w-values): Mention new
4278 (org-babel-expand-body:generic): Use new header arguments.
4279 (org-babel-read-result): More robust matching of examplized
4281 (org-babel-result-end): More robust matching of examplized ranges.
4283 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
4284 output terminal when opened.
4285 (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
4287 (org-babel-expand-body:gnuplot): Customization variable prefix
4288 gnuplot code blocks.
4290 * ob-core.el (org-babel-params-from-properties): Now returns a
4291 list of alists and does *not* call `org-babel-merge-params'.
4292 (org-babel-parse-src-block-match):
4293 (org-babel-parse-inline-src-block-match):
4294 * ob-exp.el (org-babel-exp-src-block):
4295 (org-babel-exp-non-block-elements):
4296 * ob-lob.el (org-babel-lob-execute): Handle new list of lists
4297 output of `org-babel-params-from-properties'.
4299 * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
4302 * ob-tangle.el (org-babel-tangle): Fix bug in tangle-file.
4303 Collect tangle modes, and only apply them to the file after all
4304 tangling has completed, including the post-tangle-hook.
4306 * ob-core.el (org-babel-read): Do not read #-prefix header-arg
4307 value as emacs lisp.
4309 * ob-core.el (org-babel-current-src-block-location):
4310 (org-babel-execute-src-block):
4311 * ob-exp.el (org-babel-exp-results):
4312 * ob-lob.el (org-babel-lob-execute):
4313 Rename `org-babel-current-exec-src-block-head' to
4314 `org-babel-current-src-block-location'.
4316 * ob-core.el (org-babel-common-header-args-w-values): Adding the
4317 new :tangle-mode header argument.
4318 (org-babel-read): Read values starting with a "#" character as
4321 * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
4324 * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
4325 new :tangle-mode header argument.
4327 * ob-exp.el (org-babel-exp-results): Save the code block location
4328 into `org-babel-current-exec-src-block-head' during export.
4330 * ob-comint.el (org-babel-comint-with-output): More robust edebug
4333 * ob-lob.el (org-babel-lob-execute): Set the
4334 `org-babel-current-exec-src-block-head' variable when executing
4335 inline or lob style code.
4337 * ob-core.el (org-babel-execute-src-block):
4338 The `org-babel-current-exec-src-block-head' variable should point to
4339 the outermost code block.
4341 * org.el (org-some): An org-mode version of the cl some function.
4343 * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
4344 check if values are matrices.
4346 * org.el (org-every): An Org-mode version of the cl every
4349 * ob-tangle.el (org-babel-tangle-jump-to-org):
4350 Use `org-src-switch-to-buffer' to jump from src to org. Use the
4351 existing `org-edit-src' functionality to jump back to the correct
4352 point in the code block in the original Org-mode buffer.
4354 * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
4355 gnuplot data values in " when necessary. Replace missing values
4356 with blank space in gnuplot.
4357 (org-babel-expand-body:gnuplot):
4358 (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
4359 (org-babel-header-args:gnuplot): Declare the.
4360 (org-babel-expand-body:gnuplot): Params is an alist not a plist.
4361 (org-babel-header-args:gnuplot): Declare gnuplot-specific header
4363 (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
4364 value of the missing header argument.
4365 (org-babel-gnuplot-process-vars): Wrap in local binding for
4367 (org-babel-gnuplot-quote-tsv-field): Replace missing value with
4368 the missing header argument value when present.
4370 * ob-org.el (org-babel-expand-body:org): Allow insertion of
4371 non-strings into Org code blocks.
4372 (org-babel-inline-result-wrap): New option controlling the
4373 wrapping of inline results.
4374 (org-babel-examplize-region): Use the new defcustom.
4376 * ox-beamer.el (org-beamer--format-frame): If contents is nil,
4377 then replace it with an empty string.
4379 * ob-core.el (org-babel-read): More restrictive elisp eval of
4382 * ob-lob.el (org-babel-lob-execute): Include default elisp header
4385 * ob-core.el (org-babel-result-cond): Don't over-evaluate
4386 result-params in macro.
4388 * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
4389 in Ruby code blocks.
4390 (org-babel-ruby-evaluate): Delay table processing.
4392 * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
4393 JavaScript code blocks.
4395 * ob-scheme.el (org-babel-execute:scheme):
4396 Use `org-babel-result-cond' in scheme code blocks.
4398 * ob-ocaml.el (org-babel-execute:ocaml):
4399 Use `org-babel-result-cond' in OCaml code blocks.
4401 * ob-haskell.el (org-babel-execute:haskell):
4402 Use `org-babel-result-cond' in Haskell code blocks.
4404 * ob-core.el (org-babel-result-cond): The "raw", "org" and
4405 "drawer" :results header argument values preclude table processing
4406 unless the "table" argument is given as well.
4407 (org-babel-execute-src-block): Make sure we process file results
4408 before they are passed to the post-processing code block, and not
4409 afterwards. Tangles these two header arguments in the code, but
4410 makes for more intuitive behavior and enables important use cases.
4411 (org-babel-read): Read code block values with earmuffs as Emacs
4413 (org-babel-common-header-args-w-values): Add :post to the list of
4415 (org-babel-execute-src-block): Post process results when the :post
4416 header argument has been supplied.
4418 * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
4419 save-excursion nested inside a save-window-excursion.
4421 * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
4422 used to match code block names.
4423 (org-babel-get-src-block-info): Remove the code used to parse this
4424 alternate variable specification syntax.
4425 (org-babel-insert-result): Cycle tables for :results org and
4428 * ob-python.el (org-babel-python-initiate-session-by-key): Fix a
4429 bug pointed out by Gary Oberbrunner.
4430 (org-babel-python-initiate-session-by-key): Add "-i" to the python
4431 command on windows sessions. Actually setting new session names.
4432 Pass Python buffer names to the new `run-python' command.
4433 (org-babel-python-with-earmufs): Add earmufs to a buffer name.
4434 (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
4435 (org-babel-python-initiate-session-by-key): Set the buffer name in
4436 a way which is understandable by the new python.el
4437 (org-babel-python-buffers): Change the default python buffer name.
4439 * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
4442 * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
4443 with a format string.
4445 * ob-core.el (org-babel-where-is-src-block-result): Allow comments
4446 between code blocks and un-named results.
4448 * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
4449 sqlite output as lisp.
4451 * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
4452 (org-babel-confirm-evaluate): Fix whitespaces.
4453 (org-babel-execute-src-block): A cond makes it more clear that we
4454 definitely do not execute without user confirmation.
4455 (org-babel-call-process-region-original): Fix line over 80 chars
4458 * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
4459 to reflect changed variable name.
4461 * ob-core.el (org-babel-expand-src-block): Return value of
4462 expanded code block on non-interactive calls.
4464 * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
4465 variables in perl code.
4466 (org-babel-perl-var-to-perl): Use said wrapper.
4468 * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
4469 command instead of shell-command.
4471 * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
4472 `tuareg-run-caml' is defined before use.
4473 (tuareg-run-ocaml): Declare for compiler.
4475 * ob-core.el (org-babel-result-regexp): Simplify regexp given new
4477 (org-babel-current-result-hash): New match string.
4478 (org-babel-hide-hash): New match string.
4479 (org-babel-where-is-src-block-result): New match string, and
4480 insert hashes in the new format.
4482 * ob-core.el (org-ts-regexp): Declare.
4483 (org-babel-result-regexp): Now matching time stamp as well.
4484 (org-babel-hash-show-time): New variable controlling the display
4486 (org-babel-current-result-hash):
4487 (org-babel-hide-all-hashes):
4488 (org-babel-where-is-src-block-result): Use hash time stamps.
4490 * ob-core.el: New file.
4492 * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
4494 2013-11-12 Feng Shu <tumashu@gmail.com>
4496 * ox-odt.el (org-odt--translate-latex-fragments):
4497 * ox-html.el (org-html-latex-environment)
4498 (org-html-latex-fragment): Fix imagemagick support.
4500 * org.el (org-create-formula-image-with-imagemagick):
4501 Generate correct size formula image.
4502 (org-format-latex-header): Change pagestyle command position.
4504 * ox-latex.el (org-latex--caption/label-string): Allow to build a
4505 caption string from `:caption' attribute of #+ATTR_LATEX.
4507 * ox.el (org-export-dictionary): Add Simplified Chinese
4508 translations for `org-export-dictionary'.
4510 2013-11-12 Florian Beck <fb@miszellen.de> (tiny change)
4512 * org.el (org-activate-bracket-links): Remove escapes from the
4515 2013-11-12 Francesco Pizzolante <xxx@public.gmane.org> (tiny change)
4517 * ox-html.el (org-html-headline): Normalize the construction of
4518 outline-container DIVs by always using the inner headline ID.
4520 * org.el (org-agenda-prepare-buffers): Protect with
4523 2013-11-12 Gregor Kappler <gregor@alcedo.(none)> (tiny change)
4525 * ox.el (org-export-as): Make sure org-export-babel-evaluate is
4526 not nil before calling `org-export-execute-babel-code'.
4528 2013-11-12 Grégoire Jadi <gregoire.jadi@gmail.com>
4530 * org.el (org-reftex-citation): Fix contrib package name in the
4532 (org-preview-latex-fragment, org-display-inline-images):
4533 Detect whether a graphic display is available before inlining images to
4535 (org-startup-with-latex-preview): New option.
4536 (org-startup-options): New startup keywords for the new option.
4537 (org-mode): Turn on/off LaTeX preview depending on the new option.
4538 (org-reverse-string): Add `org-reverse-string' to reverse a
4541 * org-id.el (org-id-new, org-id-decode):
4542 Replace `org-id-reverse-string' by `org-reverse-string'.
4544 * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
4545 by `org-reverse-string' and declare it.
4547 2013-11-12 Gustav Wikström <gustav.erik@gmail.com> (tiny change)
4549 * org-agenda.el (org-agenda-filter-by-category): Display all
4550 filtered out categories.
4552 2013-11-12 Ilya Zonov <izonov@gmail.com> (tiny change)
4554 * org-mouse.el (org-mouse-context-menu): Add a correct newtext
4555 parameter for "All Set" and "All Clear" menu items.
4557 2013-11-12 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
4559 * org.el (org-insert-todo-heading-respect-content): Pass correct
4560 prefix arg to always insert heading.
4563 (org-agenda-propertize-selected-todo-keywords): New function to
4564 highlight the current agenda todo keywords depending on
4565 `org-todo-keyword-faces'.
4566 (org-todo-list): Use the new function.
4568 2013-11-12 Ippei FURUHASHI <top.tuna+orgmode@gmail.com>
4570 * org-table.el (org-calc-current-TBLFM): New function to
4571 re-calculate the table by applying the #+TBLFM in the line where
4572 the point is. Ensure to remove the currently inserted TBLFM line,
4573 when calling `org-table-recalculate' returns an error and the
4576 * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
4577 point is in the #+TBLFM line.
4579 * org-table.el (org-TBLFM-begin): New function.
4580 (org-TBLFM-begin-regexp): New variable.
4582 * org.el (org-at-TBLFM-p): New function.
4583 (org-TBLFM-regexp): New defconst.
4585 2013-11-12 Ivan Vilata i Balaguer <ivan@selidor.net> (tiny change)
4587 * org-clock.el (org-clock-get-table-data): Pass tstart and tend
4588 time strings through `org-matcher-time' to allow relative times
4589 besides absolute ones, convert result to encoded time.
4591 2013-11-12 Jambunathan K <kjambunathan@gmail.com>
4593 * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
4594 (org-html--tags, org-html-format-headline)
4595 (org-html--format-toc-headline, org-html-checkbox)
4596 (org-html-table-cell, org-html-timestamp)
4597 (org-html-verse-block, org-html-special-string-regexps): Replace
4598 named HTML entities with their numeric counterparts. This keeps
4599 Freemind backend happy.
4601 * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
4602 change in rnc file names.
4604 * org-lparse.el (org-lparse-and-open)
4605 (org-lparse-do-convert): Open exported files with system-specific
4608 * org-odt.el: Don't meddle with `org-file-apps'.
4610 2013-11-12 Jarmo Hurri <jarmo.hurri@syk.fi>
4612 * org-table.el (org-define-lookup-function): New macro. Call it
4613 to generate new lookup functions `org-lookup-first',
4614 `org-lookup-last' and `org-lookup-all'.
4616 * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4618 (org-gnus-no-new-news): Use the new option.
4620 2013-11-12 Jonas Hoersch <coroa@online.de> (tiny change)
4622 * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4623 switching to 'children visibility state.
4625 * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4626 `org-show-entry' as it cannot unfold an inlinetask properly.
4628 2013-11-12 Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
4630 * ox-texinfo.el: New file.
4632 2013-11-12 Joost Diepenmaat <joost@zeekat.nl> (tiny change)
4634 * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4635 not be considered part of the source block for the purposes of
4638 2013-11-12 Justus Piater <justus-dev@piater.name>
4641 (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4642 to skip the deadline prewarning if the scheduled date is in the
4645 2013-11-12 Kodi Arfer <git@arfer.net> (tiny change)
4647 * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4648 root element when appropriate.
4649 (org-html-paragraph): Wrap "Figure %d:" in <span
4650 class="figure-number">.
4651 (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4652 <span class="table-number">.
4653 (org-html-list-of-listings): Wrap "Listing %d:" in
4654 <span class="listing-number">.
4655 (org-html-table): For HTML5, omit :html-table-attributes but not
4657 (org-html--build-meta-info): Insert no timestamp when
4658 :time-stamp-file is nil.
4660 2013-11-12 Lawrence Mitchell <wence@gmx.li>
4662 * ox-html.el (org-html-close-tag): Add space before attr.
4664 * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4665 cache before trying to resolve it in the parse tree.
4667 2013-11-12 Le Wang <le.wang@agworld.com.au>
4669 * org-src.el (org-edit-src-code): Use marker with insertion type t
4670 to track end and remove hack requiring delete from beg to (1-
4673 2013-11-12 Max Mikhanosha <max@openchat.com>
4675 * org-habit.el (org-habit-get-faces): Add show done days green
4678 * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4681 2013-11-12 Michael Brand <michael.ch.brand@gmail.com>
4683 * org-table.el (org-table-eval-formula): Align the arrow pointing
4684 to the error in a Calc formula to the other fomula debugger logs.
4686 * org.el (org-link-escape-chars-browser): Add char double quote.
4687 (org-open-at-point): Use the constant
4688 `org-link-escape-chars-browser'.
4690 * org-table.el (org-table-get-remote-range): Extend regexp to
4691 match "#+NAME: table" additionally to "#+TBLNAME: table".
4693 * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4694 places. Keep empty fields during preprocessing.
4695 (org-table-make-reference): Use nan (not a number) for empty
4696 fields in Calc formulas. A range with only empty fields should
4697 not always return 0 but also empty string, consistent with field
4698 reference of an empty field. Use future design for nan but
4699 replicate current behavior.
4700 (org-table-number-regexp): Extend 0x hex to fixed-point number,
4701 add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4704 2013-11-12 Muchenxuan Tong <demon386@gmail.com> (tiny change)
4706 * org-mobile.el (org-mobile-push): Add `save-restriction'.
4708 2013-11-12 Nicolas Goaziou <n.goaziou@gmail.com>
4710 * ox-latex.el (org-latex-compile): Remove all numbered temporary
4711 files after compiling.
4713 * org-element.el (org-element-headline-interpreter): Take into
4714 consideration `org-odd-levels-only' when building a headline.
4716 * ox-org.el (org-org-headline): Correctly set transcoded headline
4717 level during subtree export.
4719 * ox-html.el (org-html--format-toc-headline): TOC entries are
4720 closer to regular headline formatting.
4722 * org-element.el (org-element-context): Fix error when parsing
4723 affiliated keywords, e.g. "caption".
4725 * org.el (org-do-emphasis-faces): Look for verbatim status at
4727 (org-open-at-point): Check if link is non-nil before matching it.
4728 (org-export-insert-default-template): Make sure strings are
4729 properly quoted when inserting a template. Specifically, default
4730 value for drawers should be d:(not "LOGBOOK"), not d:(not
4732 (org-insert-heading): Do not error out when inserting is to be
4733 done at one of the buffer's boundaries.
4735 * ox-latex.el (org-latex-listings-options): Use correct number of
4736 backslash characters in the example.
4738 * org-element.el (org-element-latex-or-entity-successor)
4739 (org-element-latex-fragment-parser): Use `org-latex-regexps'
4740 instead of `org-format-latex-options'.
4746 * ox-md.el: Remove comments at the beginning of the file since
4747 the library is documented in Org manual.
4749 * org-element.el (org-element--list-struct):
4750 Use `org-match-string-no-properties'. Fix block parsing in lists.
4752 * ox-publish.el (org-publish-all): Fix compilation problem.
4754 * org-element.el (org-element-timestamp-interpreter):
4755 Correctly interpret timestamps with delays.
4756 (org-element-timestamp-parser)
4757 (org-element-timestamp-interpreter): Parse warning delays.
4759 * ox-beamer.el (org-beamer--format-section): Fix regression which
4760 prevents frames from being propely exported.
4762 * ox.el (org-export-with-backend): Ensure function will use
4765 * org-list.el (org-list-allow-alphabetical): Remove reference to
4768 * ox-beamer.el (org-beamer--format-section): Protect fragile
4769 commands in sections.
4771 * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4772 point on a link, make sure checkbox, if any, is toggled.
4774 * ox-beamer.el (org-beamer--format-block): Return an error message
4775 when using a special environment as a block type. Also check for
4776 incomplete environment definitions.
4778 * org-element.el (org-element-at-point): If point is at the end of
4779 the buffer, and that buffer ends with a list, and there's no final
4780 newline, return last element in last item instead of plain list.
4781 Fix infloop when called on a blank line at the end of the buffer
4784 * org.el (org-forward-paragraph, org-backward-paragraph):
4787 * org.el (org-meta-return): Allow M-RET to insert items within
4788 drawers. Rewrite function.
4790 * org-element.el (org-element-footnote-definition-parser):
4791 Fix value for :contents-begin when first line of footnote definition
4792 is empty besides the label.
4793 (org-element-at-point): Return correct element when point is on a
4794 blank line just below a headline.
4795 (org-element-paragraph-parser):
4796 Use `org-match-string-no-properties'. Small fixes to paragraph
4799 * org.el (org-adaptive-fill-function): Do not handle
4800 `adaptive-fill-regexp' in comments as the behavior is not
4803 * org-list.el (org-list-struct-apply-struct): Do not move item's
4804 contents within a child above when repairing indentation.
4806 * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4807 when properties are present.
4809 * ox.el (org-export-collect-headlines): Do not build TOC for
4810 headlines below H value.
4812 * org-element.el (org-element-context): Modify misleading
4814 (org-element-text-markup-successor)
4815 (org-element-latex-or-entity-successor)
4816 (org-element-export-snippet-successor)
4817 (org-element-footnote-reference-successor)
4818 (org-element-inline-babel-call-successor)
4819 (org-element-inline-src-block-successor)
4820 (org-element-line-break-successor, org-element-link-successor)
4821 (org-element-plain-link-successor, org-element-macro-successor)
4822 (org-element-radio-target-successor)
4823 (org-element-statistics-cookie-successor)
4824 (org-element-sub/superscript-successor)
4825 (org-element-table-cell-successor, org-element-target-successor)
4826 (org-element-timestamp-successor): Remove LIMIT argument.
4827 (org-element--parse-objects, org-element--get-next-object-candidates):
4828 Apply signature change to successors.
4829 (org-element-context): Narrow buffer around object containers so
4830 parsing of objects when using this function is done under the same
4831 restrictions as in buffer parsing.
4833 * ox.el (org-export-table-cell-alignment): Ensure required
4834 variables are available. Use correct :test.
4835 (org-export-table-cell-width): Modify key (now an element) and
4836 value structure (now a vector) of cache so it can use `eq' as
4837 test. Elements are circular lists so `equal' cannot apply on them.
4839 * ox-publish.el (project-plist): Remove variable.
4841 * ox.el (org-export-to-buffer, org-export-to-file):
4844 * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4845 which is always nil in this back-end.
4847 * org.el (org-adaptive-fill-function): Look for a fill prefix at
4848 the beginning of the paragraph and subsquently on its second line
4849 instead of the current line.
4851 * ob-core.el (org-babel-get-src-block-info): Look for indentation
4852 value at the correct location.
4854 * ox.el (org-export-data-with-backend): Set temporary back-end as
4855 the new back-end in local communication channel.
4856 (org-export-filter-apply-functions): Handle corner case where
4857 back-end is nil. Only provide back-end name (a symbol) as second
4858 argument of filters, not the full back-end (a vector).
4860 * ox-publish.el (org-publish-find-title): Fix title when no
4861 #+TITLE property is provided.
4863 * ox.el (org-export-store-default-title): Remove-function.
4864 (org-export--default-title): Remove variable.
4865 (org-export-options-alist): Do not use a default value.
4866 (org-export--get-buffer-attributes): Store a default title.
4867 (org-export-as): Apply function removal.
4868 (org-export--get-global-options): Do not set a property with an
4869 explicitly nil value.
4871 * ox-publish.el (org-publish-sitemap-sort-files)
4872 (org-publish-sitemap-sort-folders)
4873 (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4874 (org-publish-sitemap-date-format)
4875 (org-publish-sitemap-file-entry-format): Set prefix to
4876 "org-publish-sitemap" instead of "org-sitemap".
4877 (org-publish-compare-directory-files)
4878 (org-publish-get-base-files-1, org-publish-projects)
4879 (org-publish-format-file-entry): Use new prefix.
4881 * org-clock.el (org-clock-total-time-cell-format)
4882 (org-clock-file-time-cell-format): Use correct type.
4885 * ox-ascii.el (org-ascii-export-as-ascii)
4886 (org-ascii-export-to-ascii):
4887 * ox-beamer.el (org-beamer-export-as-latex)
4888 (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4889 * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4890 * ox-icalendar.el (org-icalendar-export-to-ics):
4891 * ox-latex.el (org-latex-export-as-latex)
4892 (org-latex-export-to-pdf):
4893 * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4894 * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4895 * ox-odt.el (org-odt-export-to-odt):
4896 * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4897 * ox-publish.el (org-publish-org-to):
4898 * ox-texinfo.el (org-texinfo-export-to-texinfo)
4899 (org-texinfo-export-to-info):
4900 * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4901 asynchronous export and the other to do extra processing from
4903 (org-export-to-file): Add two arguments: one to trigger
4904 asynchronous export and the other to do extra processing on the
4906 (org-export-async-start): Small clean up.
4908 * ox.el (org-export-as): Use new back-end structure.
4909 (org-export-current-backend): New variable.
4910 (org-export-as): Use new variable.
4912 * ox-ascii.el (org-ascii-table): Remove spurious new line between
4913 a table and the caption below.
4915 * ox.el (org-export-to-file): Preserve coding system when writing
4917 (org-export-stack-mode-map): Fix compilation error with Emacs <
4919 (org-export--dispatch-action): Maintain compatibility with Emacs
4922 * org.el (org-adaptive-fill-function, org-fill-paragraph):
4923 Add support for `adaptive-fill-regexp' in paragraphs and comments.
4924 (org-indent-line): Fix indentation after a list.
4926 * ox.el (org-export--get-inbuffer-options): Multiple options can
4927 now be set through the same buffer keyword.
4929 * org-element.el (org-element-plain-list-parser): Fix infloop when
4930 parsing a list at the end of buffer, if buffer doesn't end at a
4932 (org-element-link-parser): Do not url-decode parsed links.
4934 * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4935 spurious white spaces, excepted for source blocks' opening string.
4937 (pcomplete/org-mode/file-option): Remove spurious colons from
4940 * ox-publish.el (org-publish-find-date): Also return date for
4942 (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4943 extension restriction.
4945 * ox-beamer.el: Remove strange indentation in default header.
4946 (org-beamer-template): Fix missing newlines in header.
4948 * ox-latex.el (org-latex-template): Fix missing newlines in
4951 * ox.el (org-export-insert-default-template):
4952 Fix "wrong-type-argument" error in template insertion.
4954 * org.el (org-fill-paragraph): Use empty commented lines as
4955 separators when filling comments. This mimics default behavior
4956 from "newcomment.el", which is not used in Org.
4958 * ox-html.el (org-html-link): Add image attributes to "img" tag,
4959 not to the "a" container. Also fix spacing for attributes.
4961 * org.el (org-fill-paragraph): Do not mix consecutive comments
4962 when filling any of them.
4964 * ox-html.el (org-html-format-headline--wrap): Fix number of
4965 arguments when setting `org-html-format-headline-function'.
4967 * org-element.el (org-element-item-interpreter): This patch fixes
4968 "(wrong-type-argument arrayp nil)" error when trying to interpret
4969 empty items. Correctly interpret back plain lists with "*" items.
4970 This fixes "This is not a list" error returned in this case.
4972 * ox-latex.el (org-latex-listings): Update docstring.
4974 * org-pcomplete.el (pcomplete/org-mode/file-option/options):
4975 Apply changes to export back-end definiton.
4977 * org.el (org-get-export-keywords): Apply changes to export
4980 * ox-html.el (org-html--format-toc-headline): Make use of
4981 anonymous back-ends.
4983 * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
4985 (org-odt-format-label, org-odt-toc)
4986 (org-odt-format-headline--wrap): Use `org-export-with-backend'
4987 instead of `org-export-with-translations'.
4989 * ox.el (org-export--registered-backends): Rename from
4990 `org-export-registered-backends'.
4991 (org-export-invisible-backends): Remove variable.
4992 (org-export-get-backend, org-export-get-all-transcoders
4993 org-export-get-all-options, org-export-get-all-filters):
4994 New functions. It replaces `org-export-backend-translate-table'.
4995 (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
4996 org-export-define-backend, org-export-define-derived-backend):
4997 Rewrite functions using new representation.
4998 (org-export-backend-translate-table): Remove function.
4999 (org-export-get-environment): Use new function.
5000 (org-export--get-subtree-options, org-export--parse-option-keyword,
5001 org-export--get-inbuffer-options, org-export--get-global-options,
5002 org-export-to-buffer org-export-to-file, org-export-string-as
5003 org-export-replace-region-by): Update docstring.
5004 (org-export-data-with-translations): Remove function.
5005 Use `org-export-data-with-backend' with a temporary back-end instead.
5006 (org-export-data-with-backend, org-export-as): Reflect new definition
5008 (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
5009 definition for back-ends and variable removal. Refactoring.
5010 (org-export-filter-apply-functions): Call functions with
5011 current back-end's name, not full back-end.
5013 * org.el (org-export-backends, org-create-formula--latex-header):
5014 Use new structure and variables.
5016 * ox-html.el (org-html-inline-images): Change default value and
5018 (org-html-format-inline-image): Remove functions.
5019 (org-html--wrap-image, org-html--format-image)
5020 (org-html-inline-image-p): New functions.
5021 (org-html-latex-environment, org-html-latex-fragment): Use new
5023 (org-html-standalone-image-p): Use new functions. Also remove an
5024 unused optional argument.
5025 (org-html-link, org-html-paragraph): Correctly export hyperlinked
5028 * ox.el (org-export-dictionary): Update some translations.
5030 * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
5032 (org-odt-format-label): Add docstring. Internationalize prefix.
5034 * ox.el (org-export-dictionary): Add entry for colons.
5036 * ox-odt.el (org-odt--suppress-some-translators): Remove function.
5038 * ox-html.el (org-html-link): Remove left-over binding.
5040 * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
5041 title in environment definition.
5042 (org-beamer--format-block): Handle new placeholders.
5044 * ox-html.el (org-html-link): Small refactoring.
5046 * org-element.el (org-element--current-element):
5047 Fix org-meta-return error at the end of buffer.
5049 * ox-odt.el (org-odt-category-map-alist): Fix internationalization
5050 of "Table" and "Listing".
5052 * ox.el (org-export-dictionary): Remove useless dictionary
5055 * ox-ascii.el (org-ascii--build-caption): Apply removal.
5057 * ox.el (org-export-dictionary): Add spanish and german
5060 * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
5061 description always use that description, even if the description
5062 is the same as the headline title.
5063 (org-odt-plain-text): Allow to turn smart quotes off.
5065 * ox-latex.el (org-latex--get-footnote-counter): Remove function.
5067 * org.el (org-setup-filling): Set `paragraph-start' and
5068 `paragraph-separate'.
5069 (org-fill-paragraph-separate-nobreak-p): Remove function.
5070 (org-mode): Do not set `paragraph-start'.
5072 * ox-html.el (html): Replace "HTML_HTML5_FANCY",
5073 "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
5074 respectively, ":html5-fancy", "html-style" and "html-scripts"
5076 (org-html-html5-fancy): Reformat docstring.
5077 (org-html-template): Fix typo preventing insertion of link up/link
5080 * org.el (org-create-formula--latex-header): Replace AUTO with
5081 appropriate language when previewing snippets.
5083 * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
5084 items description tags. Also remove a unnecessary hack allowing
5085 footnotemark with an optional argument in the tag.
5087 * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
5088 link lives before the first headline.
5090 * org-element.el (org-element-special-block-parser): Fix typo in
5091 regexp matching block type. Also quote the type so it can contain
5094 * ox-latex.el (org-latex-pdf-process): This argument can cause
5095 problem with links with a relative path, since compilation happens
5096 in a different directory.
5098 * org.el (org-latex-default-packages-alist): Load "ulem" package
5099 by default. Use "[normalem]" option to preserve \emph definition.
5101 * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
5102 "\sout" commands from "ulem" package.
5104 * org.el (org-latex-default-packages-alist): Document need for
5107 * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
5108 package) instead of \underline for underline text.
5110 * ox.el (org-export-read-attribute): Fix "Wrong argument type"
5111 error when attributes start with :key "".
5113 * org.el (org-fill-paragraph-separate-nobreak-p)
5114 (org-fill-line-break-nobreak-p)
5115 (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
5117 * org-element.el (org-element--list-struct): Fix failing
5118 "plain-list-parser" test.
5120 * ox-latex.el (org-latex-src-block): Handle :float attribute.
5121 Its value can be set to "t", "multicolumn" or "nil". Also remove
5122 :long-listing attribute, which is now replaced with :float nil.
5123 (org-latex--org-table): Replace :float table with :float t.
5124 (org-latex--inline-image): Replace :float figure with :float t.
5125 (org-latex-long-listings): Remove variable.
5127 * org-element.el (org-element--list-struct): New function.
5128 (org-element-plain-list-parser, org-element--current-element):
5131 * ox-man.el (org-man-compile):
5132 * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
5134 * ox-latex.el (org-latex-compile):
5135 * ox-man.el (org-man-compile):
5136 * ox-texinfo.el (org-texinfo-compile): Properly set working
5139 * ox-latex.el (org-latex-compile):
5140 * ox-texinfo.el (org-texinfo-compile): Make sure generated file
5141 can be found by `file-exists-p'.
5143 * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
5145 * org-element.el (org-element--remove-indentation):
5147 (org-element--remove-indentation): New function.
5148 (org-element-example-block-parser, org-element-src-block-parser):
5150 (org-element-src-block-interpreter): Update function according to
5153 * ox.el (org-export-unravel-code): Do not remove any indentation
5154 since it now happens at the parser level.
5155 (org-export-table-cell-width): Be sure to use cache even when
5156 stored value is nil.
5157 (org-export--default-title): Fix "Symbol's value as variable is
5158 void: org-export--default-title".
5160 * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
5161 internal function since it is called at each cell, though its
5162 value only change column wise.
5164 * ox.el (org-export-resolve-fuzzy-link): Change property name
5166 (org-export-table-has-header-p, org-export-table-row-group)
5167 (org-export-table-cell-width, org-export-table-cell-alignment):
5169 (org-export-table-cell-address): Refactor.
5170 (org-export-get-parent): Inline function.
5171 (org-export-options-alist): Change default value for :title
5173 (org-export--default-title): New dynamically scoped variable.
5174 (org-export-store-default-title): New function.
5175 (org-export--get-buffer-attributes): Remove title handling.
5176 (org-export--get-global-options): Revert "ox: Fix default title".
5179 * ox-html.el (org-html-format-latex): Provide a prefix for
5180 temporary file when using dvipng, even if the current buffer isn't
5181 associated to a file.
5183 * ox.el (org-export-resolve-radio-link): Ignore whitespace
5184 differences when resolving a radio link.
5185 (org-export-resolve-radio-link): Fix radio target resolution.
5187 * org-element.el (org-element--current-element): Be stricter when
5188 matching arguments in LaTeX environments. In particular, do not
5189 allow anything else than options and arguments in the opening
5192 * ox-html.el (org-html-inner-template): Remove code relative to
5194 (org-html-bibliography): Remove function.
5196 * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
5197 not only \^, so it doesn't become a diacritic.
5199 * ox-html.el (org-html--build-meta-info): Fix code typo.
5201 * ox.el (org-export-expand-include-keyword): Avoid using `read' to
5202 determine file name.
5203 (org-export--get-global-options): Properly set default title,
5204 i.e. when to TITLE keyword is provided.
5206 * org-element.el (org-element--parse-elements): Also parse visible
5207 headlines within an otherwise compacted headline.
5209 * ox.el (org-export-expand-include-keyword): Tolerate included
5210 file names without double quotes.
5211 (org-export-resolve-fuzzy-link): Fix caching process.
5213 * ox-publish.el (org-publish-find-date): Fix "Invalid time
5214 specification" error with timestamps in DATE.
5216 * org-element.el (org-element--current-element): Allow the opening
5217 string of a LaTeX environment to contain additional arguments.
5219 * org.el (org-insert-heading): Refactor to use `org-in-item-p'
5222 * ox.el (org-export-expand): Optionally add affiliated keywords to
5225 * ox-org.el (org-org-identity): Use new argument for
5226 `org-export-expand'.
5228 * org.el (org-fill-paragraph): Move to table beginning before
5229 aligning the table when M-q is called from an affiliated keyword.
5231 * org-list.el (org-list-allow-alphabetical): Properly update
5232 `org-list-allow-alphabetical' when changed after org.el has been
5235 * org-element.el (org-element-fixed-width-interpreter):
5236 Fix interpretation of fixed-width elements with a nil or empty string
5239 * ox-html.el (org-html-link): Don't skip the link description when
5240 it matches the name of the headline it targets.
5242 * ox-html.el (org-html-link): Don't skip the link description when
5243 it matches the name of the headline it targets.
5245 * ox-ascii.el (ascii): Remove inexistant function.
5247 * ox-icalendar.el (icalendar): Ignore footnotes.
5248 (org-icalendar--combine-files): Small refactoring.
5250 * ox.el (org-export--skip-p, org-export--interpret-p):
5251 When `org-export-with-footnotes' is nil, ignore completely footnotes
5252 references and definitions instead of exporting them verbatim.
5254 * ox-beamer.el (org-beamer--frame-level): Small refactoring.
5255 (org-beamer--format-block, org-beamer-headline): Do not systematically
5256 downcase environment names as some require upper case in their
5257 names (e.g. noteNH and CJK).
5259 * ox.el (org-export-with-timestamps): Only applies to isolated
5260 timestamps, i.e. timestamps in a paragraph containing only
5261 timestamps and empty strings.
5262 (org-export--skip-p): Skip timestamps according to new behavior.
5264 * ox-latex.el (org-latex--script-size): Handle consecutive
5265 alterning sub and superscript.
5267 * ox-org.el (org-org-identity): Fix docstring. Tiny refactoring.
5268 (org-org-headline, org-org-keyword): Fix docstring.
5270 * ox-latex.el (org-latex--script-size): Use \text command for
5271 subscript and superscript. This is far superior to \mathrm, but
5272 it requires "amstext" package. In particular, accented characters
5273 are now allowed within sub/superscript.
5275 * org.el (org-latex-default-packages-alist): Add "amstext"
5278 * ox-latex.el (org-latex--script-size): Fix error when using
5279 sub/superscript within sub/superscript.
5281 * ox-latex.el (org-latex--script-size): New function.
5282 (org-latex-subscript, org-latex-superscript): Use new function.
5283 Remove instructions since everything is documented in Org manual.
5285 * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
5286 for keywords, the latter being hard to type, somewhat difficult to
5287 read, and overall just pedantic.
5289 * ox-latex.el (org-latex-classes): Be more explicit about
5292 * ox-html.el (org-html--build-meta-info): Fix invalid characters
5295 * ox.el (org-export-filters-alist): Remove macro filter.
5296 (org-export-filter-macro-functions): Remove variable.
5298 * ox-beamer.el (beamer): Install a default class set-up when
5301 * ox-latex.el (org-latex-classes): Update docstring.
5303 * ox-latex.el (org-latex--inline-image): Remove specific default
5304 image width for floats. If no width nor height is provided, it
5305 should default to `org-latex-image-default-width' value.
5307 * org.el (org-extract-attributes-from-string)
5308 (org-attributes-to-string): Remove functions.
5310 * ox-html.el (html): Rename :html-table-tag property into
5311 :org-table-attributes.
5312 (org-html-table-default-attributes): New variable.
5313 (org-html-table-tag): Remove variable.
5314 (org-html--make-attribute-string): New function.
5315 (org-html-link--inline-image, org-html-table): Use new function.
5316 (org-html-splice-attributes, org-export-splice-style):
5318 (org-html-inline-image-rules): Remove out of context part of the
5321 * ox.el (org-export-read-attribute): Allow to use empty strings in
5324 * ox-html.el (org-html-metadata-timestamp-format): New variable,
5325 renamed from `org-html--timestamp-format'.
5326 (org-html--build-meta-info, org-html-format-spec,
5327 org-html--build-pre/postamble): Use new variable.
5329 * ox.el (org-export-table-row-number): New function.
5330 (org-export-table-cell-address): Use new function.
5332 * org-element.el (org-element-table-cell-successor): Parse table
5333 cells with missing ending space.
5335 * ox-latex.el (org-latex--math-table): Fix inline-math table
5338 * ox-html.el (org-html-doctype): Make value fit on a single line
5339 so `org-export-insert-default-template' can handle it.
5340 (org-html-creator-string): Change default value.
5342 * ox.el (org-export-creator-string): Change default value.
5344 * ox-html.el (org-html-postamble-format)
5345 (org-html-preamble-format): Allow last modification time of source
5346 in template. Fix docstrings.
5347 (org-html-format-spec): Produce last modification time when the source
5350 * ox.el (org-export-with-archived-trees, org-export-with-author)
5351 (org-export-with-clocks, org-export-with-date)
5352 (org-export-creator-string, org-export-with-drawers)
5353 (org-export-with-email, org-export-with-emphasize)
5354 (org-export-exclude-tags, org-export-with-fixed-width)
5355 (org-export-with-footnotes, org-export-with-latex)
5356 (org-export-headline-levels, org-export-default-language)
5357 (org-export-preserve-breaks, org-export-with-entities)
5358 (org-export-with-inlinetasks, org-export-with-planning)
5359 (org-export-with-priority, org-export-with-section-numbers)
5360 (org-export-select-tags, org-export-with-smart-quotes)
5361 (org-export-with-special-strings)
5362 (org-export-with-statistics-cookies)
5363 (org-export-with-sub-superscripts, org-export-with-toc)
5364 (org-export-with-tables, org-export-with-tags)
5365 (org-export-with-tasks, org-export-time-stamp-file)
5366 (org-export-with-timestamps, org-export-with-todo-keywords):
5369 * ox-html.el (org-html-postamble-format): Slightly change default
5370 value so "Generated by" string doesn't get duplicated.
5371 (org-html-creator-string): Fix docstring.
5373 * ox.el (org-export--get-inbuffer-options)
5374 (org-export--list-bound-variables)
5375 (org-export--generate-copy-script, org-export-string-as)
5376 (org-export-expand-include-keyword)
5377 (org-export--prepare-file-contents): Inhibit startup process when
5380 * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
5381 with some DATE values: :date property in communication channel is
5384 * ox.el (org-export-insert-default-template): New function.
5385 (org-export--dispatch-ui, org-export--dispatch-action): Access to
5386 the function through the dispatcher.
5388 * ox-icalendar.el (org-icalendar-convert-timestamp):
5390 (org-icalendar-dtstamp): New function.
5391 (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
5393 * ox-ascii.el (org-ascii-link):
5394 * ox-html.el (org-html-keyword):
5395 * ox-latex.el (org-latex-keyword, org-latex-link):
5396 * ox-man.el (org-man-keyword):
5397 * ox-md.el (org-md-link):
5398 * ox-odt.el (org-odt-keyword):
5399 * org.el (org-store-link, org-link-search, org-options-keywords):
5400 Remove reference to TARGET keyword.
5402 * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
5403 Do not use TARGET as a destination for links anymore.
5405 * ox-org.el (org): Add a menu entry for the back-end.
5406 (org-org-export-as-org, org-org-export-to-org): New functions.
5408 * org.el (org-export-backends): Accept `org' as a loadable
5411 * ox-ascii.el (org-ascii-template--document-title): Use new function.
5413 * ox-beamer.el (org-beamer-template): Use new function.
5415 * ox-html.el (org-html-format-spec): Use new function.
5417 * ox-latex.el (org-latex-template): Use new function.
5418 (org-latex-date-timestamp-format): Remove variable.
5420 * ox.el (org-export-date-timestamp-format): New variable.
5421 (org-export-get-date): New function.
5423 * ox-odt.el (org-odt--format-paragraph): New function.
5424 (org-odt-paragraph): Use new function to limit code duplication.
5425 (org-odt-footnote-reference): Change default style for paragraphs
5426 when transcoding a footnote definition.
5428 * org-macro.el (org-macro--collect-macros): Fix a bug where
5429 reading a macro in a setup file would remove other macros read so
5430 far from template. Change function signature.
5431 (org-macro-initialize-templates): Apply signature change from function
5434 * ox.el (org-export--list-bound-variables): Rename from
5435 `org-export--install-letbind-maybe'. Though, only return list of
5436 bound variables instead of installing them as buffer-local
5438 (org-export-get-environment): Use new function. Take care of the
5439 installation of bound variables.
5440 (org-export--generate-copy-script): Make sure non-Org variables are
5441 also installed in buffer copy.
5443 * ox.el (org-export-get-environment): Update comment.
5444 (org-export--install-letbind-maybe): Go into SETUPFILE files and
5445 handle BIND keywords there.
5447 * ox-latex.el (org-latex-link): Do not prefix relative paths with
5450 * org.el (org-link-search): Preserve priority of #+TARGET over
5451 #+NAME when resolving a link.
5453 * ox-latex.el (org-latex-long-listings): New variable.
5454 (org-latex-src-block): Use new variable.
5456 * ox.el (org-export-data): White spaces after export snippets are
5459 * org-element.el (org-element-macro-parser): Allow to escape
5460 escaping character before a comma. Also do not trim spaces at
5461 argument boundaries.
5463 * ox.el (org-export-async-start): Use correct coding system so
5464 unibyte characters do not appear in the resulting buffer or file.
5465 (org-export--copy-to-kill-ring-p): Move function elsewhere in the
5468 * ox-latex.el (org-latex--inline-image): Fix error when no default
5469 width, height and option are provided and no attribute is set for
5472 * org.el (org-comment-or-uncomment-region): Fix commenting lines
5473 beginning with a link.
5474 (org-delete-char): Fix "Invalid use of `\\' in replacement text"
5475 when deleting a character in a cell which contains "\"
5476 (org-export-backends): Remove duplicates. Reorder alphabetically.
5478 * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
5479 `memq' when matching strings.
5481 * ox.el (org-export-read-attribute): Do not use `read' to read
5482 attributes. Instead, extract keywords and values from it, which
5483 means each value will be a string when non-nil.
5485 * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
5487 * ox-html.el (org-html--textarea-block): Use new attribute syntax.
5489 * ox-latex.el (org-latex--inline-image, org-latex--org-table)
5490 (org-latex--math-table): Use new attribute syntax.
5492 * ox-man.el (org-man-table--org-table): Use new attribute syntax.
5495 * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell):
5496 Use new attribute syntax.
5498 * ox.el (org-export-async-start): Remove code evaluation queries
5499 from asynchronous export.
5501 * ox-latex.el (latex): Activate smart quotes by default.
5502 (org-latex--inline-image): Don't insert a default width when
5503 height is provided in a figure environment.
5504 (org-latex--inline-image): Do not use default width
5505 (resp. height) when an user height (resp. width) is provided.
5506 Also, default height is only used when image is not wrapped within
5507 a figure or wrapfigure environment, in order to preserve ratio.
5508 (org-latex-image-default-width, org-latex-image-default-height):
5511 * ox-icalendar.el (org-icalendar-create-uid): Fix error when
5512 `org-icalendar-store-UID' is non-nil.
5514 * ox-latex.el (latex): Introduce new buffer keyword.
5515 (org-latex-template): Use new keyword.
5517 * ox-beamer.el (org-beamer-template): Use new keyword.
5519 * org.el (org-create-formula--latex-header): Use new keyword.
5521 * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
5522 (org-beamer-environments-extra): Add :version and
5525 * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
5526 Add :version and :package-version.
5528 * ox-latex.el (org-latex-inline-image-rules)
5529 (org-latex-default-table-environment)
5530 (org-latex-default-table-mode, org-latex-tables-booktabs)
5531 (org-latex-table-scientific-notation, org-latex-known-errors):
5532 Add :version and :package-version.
5534 * ox-md.el (org-md-headline-style): Add :version and
5537 * ox-odt.el (org-odt-with-latex): Add :version
5538 and :package-version.
5540 * ox.el (org-export-with-drawers, org-export-with-latex)
5541 (org-export-with-inlinetasks, org-export-with-planning)
5542 (org-export-with-smart-quotes, org-export-with-statistics-cookies)
5543 (org-export-allow-bind-keywords, org-export-async-init-file):
5544 Add :version and :package-version.
5546 * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
5547 name from `e-ascii' to `ascii'.
5549 * ox.el (org-export--generate-copy-script): Call `org-mode' when
5550 duplicating a buffer. It will properly set every variable, like
5552 (org-export-async-start): Do not call `org-mode' since this is done
5553 already in the previous function.
5555 * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
5556 generated from a TOC keyword.
5558 * org.el (org-export-backends): Do not reset list of loaded
5559 back-ends to variable's value after a reload.
5561 * ox-latex.el (org-latex-src-block): Do not overwrite provided
5562 numbering options in minted and listings.
5563 (org-latex-headline): Don't add optional title on unnumbered
5566 * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
5567 keywords. Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
5570 * org.el (org-fill-paragraph): Small refactoring to
5571 `org-fill-paragraph'. Do not look for table cells in a paragraph.
5573 * org-element.el (org-element-object-restrictions):
5574 Simplify restrictions within secondary strings and objects.
5576 * org-list.el (org-list-send-list): Do not rely on
5577 `org-list-parse-list'.
5578 (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
5579 Use appropriate export back-end instead of using
5580 `org-list-to-generic'.
5582 * ox-html.el (org-html-inner-template): Remove contents div and
5584 (org-html-template): Add contents div and title.
5585 (org-html-infojs-install-script): Can't activate jsinfo script
5586 during a body-only export.
5588 * ox.el (org-export-as): Store export options in :export-options
5589 porperty within communication channel.
5591 * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
5592 is set in an ordered list while its parent is not ordered.
5594 * ox.el (org-export-format-code-default): Handle empty source
5595 blocks more gracefully.
5597 * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
5600 * org.el (org-export-backends): Update variable. `infojs' was
5601 merged into ox-html and `freemind' was added.
5603 * ox.el (org-export--selected-trees): Also mark inlinetasks with a
5605 (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5607 * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5608 for unescaping code.
5610 * ox-html.el (org-html-link): Silence byte-compiler.
5611 (html): Add infojs installation script in options filter.
5612 (org-html-infojs-install-script): Remove check for back-end as we
5613 can safely assume the function will be called from `html' back-end
5614 or one of its derivative.
5616 * ox-icalendar.el (org-agenda-collect-markers)
5617 (org-create-marker-find-array): Remove functions.
5618 (org-icalendar-export-current-agenda): Integrate previous
5621 * ox-latex.el (org-latex-format-headline-default-function):
5622 Use declarative shape to nest makup for TODO keywords.
5623 Previous syntax generated errors during export.
5625 * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5626 `kill-emacs-hook'. The first one has been run in the original
5627 buffer. The second is not necessary and can pollute output to a
5628 temporary buffer (e.g. with `org-clock-persistence-insinuate').
5630 * ox-html.el (org-html-inner-template): Remove title.
5631 (org-html-template): Add title.
5633 * ox.el (org-export--get-min-level): Ignore footnote section when
5634 computing minimal headline level.
5636 * org.el (org-do-latex-and-related): Fix infloop when user
5637 provides a wrong value for `org-highlight-latex-and-related'.
5638 In this case, `org-latex-and-related-regexp' is the empty string and
5639 generates an infloop since matching it doesn't move point.
5641 * org-element.el (org-element-headline-parser):
5642 Rename :optional-title into :alt-title.
5644 * ox.el (org-export-get-alt-title): Rename from
5645 `org-export-get-optional-title'.
5647 * ox-ascii.el (org-ascii--build-title):
5648 * ox-html.el (org-html--format-toc-headline):
5649 * ox-latex.el (org-latex-headline):
5650 * ox-texinfo.el (org-texinfo--get-node)
5651 (org-texinfo--generate-menu-items): Apply name change.
5653 * ox.el (org-export--get-inbuffer-options): Remove an optional
5654 argument. Rewrite function. Properties read from a setupfile do
5655 not overwrite anymore previously computed properties.
5656 (org-export-get-environment): Apply changes to previous function.
5658 * org.el (org-create-formula--latex-header): Apply arity change
5659 from `org-export--get-inbuffer-options'.
5661 * ox-latex.el (org-latex-compile): Add an optional argument for
5662 latex snippet previewing.
5664 * org.el (org-create-formula-image-with-imagemagick):
5665 Use `org-latex-compile' instead of rewriting it.
5667 * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5668 regexps that may match large strings.
5670 * org.el (org-create-formula--latex-header): New function.
5671 (org-create-formula-image-with-dvipng)
5672 (org-create-formula-image-with-imagemagick): Use new function.
5674 * ox.el (org-export-get-previous-element): Change order of retured
5675 elements in `org-export-get-previous-element'.
5677 * org-element.el (org-element-all-successors): Add `plain-link'
5679 (org-element-object-restrictions): Remove `link' within `link'.
5680 Allow `plain-link' instead.
5681 (org-element-plain-link-successor): New function.
5683 * org.el (org-match-substring-regexp)
5684 (org-match-substring-with-braces-regexp): Update regexp.
5685 A sub/superscript cannot start anymore at the beginning of the line
5688 * org-element.el (org-element--get-next-object-candidates):
5689 Rewrite function to simplify algorithm.
5690 (org-element-context, org-element--parse-elements): Apply changes.
5692 * org.el (org-fill-paragraph): Apply changes.
5694 * ox-html.el (org-html-link, org-html-link--inline-image):
5695 Attributes specified to a paragraph only apply to first link
5698 * ox-latex.el (org-latex-headline): Do not add optional section
5699 name when section is unnumbered.
5701 * org.el (org-in-verbatim-emphasis): Fix false positive when point
5702 is just after the closing emphasis marker.
5703 (org-fill-paragraph): Do not move point when filling a table.
5705 * ox-ascii.el (ascii): Add new filter.
5706 (org-ascii-filter-comment-spacing): New function.
5707 (org-latex-keyword): Remove "figures" value.
5709 * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5711 * ox-html.el (org-html--format-toc-headline): Fix function name.
5712 (org-html-toc, org-html--toc-text): Change to docstring.
5713 (org-html-list-of-listings, org-html-list-of-tables):
5715 (org-html-keyword): Use new functions.
5716 (org-html-src-block): Add an ID attribute when a name is given.
5718 * org-element.el (org-element-footnote-definition-parser):
5719 Require 2 blank lines to separate footnote definition.
5721 * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5722 lines to separate footnote definition.
5724 * ox.el (org-export-stack): Rewrite.
5725 (org-export-stack-refresh): Refactor.
5726 (org-export-stack-remove, org-export-stack-view): Apply renaming.
5727 (org-export-stack-mode-map): Use tabulated list map as a basis.
5728 (org-export-stack--generate, org-export-stack--num-predicate):
5730 (org-export-get-optional-title): Return regular title when no
5731 optional title is found.
5733 * ox-ascii.el (org-ascii--build-title): Apply change to
5734 `org-export-get-optional-title'.
5736 * ox-html.el (org-html--format-toc-headline): Apply change to
5737 `org-export-get-optional-title'.
5739 * ox-latex.el (org-latex-headline): Apply change to
5740 `org-export-get-optional-title'.
5742 * ox-ascii.el (org-ascii--build-title): Add an argument.
5743 Use optional title when building a toc line.
5744 (org-ascii--build-toc): Call `org-ascii--build-title' with
5745 appropriate arguments.
5747 * ox-latex.el (org-latex-headline): Use optional title for table
5750 * ox-html.el (org-html--toc-text): Rename from
5751 `org-html-toc-text'. Add docstring.
5752 (org-html--format-toc-headline): Rename from
5753 `org-html-format-toc-headline'. Add docstring. Use optional
5755 (org-html-toc): Add docstring.
5757 * org-element.el (org-element-headline-parser): Node property
5758 :OPTIONAL_TITLE: in a headline will be parsed and stored under
5759 :optional-title property.
5761 * ox.el (org-export-get-optional-title): New function.
5763 * ox-latex.el (org-latex-format-headline-default-function):
5764 Make the variable a function.
5766 * ox-publish.el (org-publish-resolve-external-fuzzy-link):
5767 No error when resolving external fuzzy links outside publishing.
5768 Though search option for these links will not be resolved.
5770 * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5771 according to `org-export-coding-system'.
5773 * ox.el (org-export--generate-copy-script):
5774 Clone `buffer-file-coding-system' when creating a buffer copy.
5776 * ox-html.el (org-html-link): Resolve external links with search
5777 options like [[file.org::#custom-id]] or
5778 [[file.org::*headline-search]].
5780 * ox-publish.el (org-publish-collect-numbering)
5781 (org-publish-resolve-external-fuzzy-link): New functions.
5782 (org-publish-org-to): Add new collecting function to final output
5783 filter. Move index collecting function to the same filter.
5784 (org-publish-collect-index): Called from final output filter.
5786 * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5787 Use :CUSTOM_ID, not :custom-id.
5789 * org-element.el (org-element-latex-environment-parser): Fix wrong
5790 value for :post-affiliated property when parsing a latex
5793 * ox-latex.el (org-latex-property-drawer): Remove function.
5795 * ox-ascii.el (org-ascii-filter-paragraph-spacing):
5796 Remove reference to now renamed `e-ascii' back-end.
5798 * ox-beamer.el (org-beamer-template): Allow to span documentclass
5799 options accross multiple lines in template.
5801 * ox-latex.el (org-latex-template): Allow to span documentclass
5802 options accross multiple lines in template.
5804 * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5805 (org-texinfo--get-node): New function.
5806 (org-texinfo-headline, org-texinfo-link): Use new function.
5808 * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5809 contents. Just indent them.
5811 * ox-publish.el (org-publish-index-generate-theindex): Do not
5812 create an "* Index" headline in "theindex.inc". Though, create an
5813 "Index" title in fallback "theindex.org".
5815 * ox-publish.el (org-publish-projects): Publish "theindex.org"
5816 last, so that "theindex.inc" can be completed.
5818 * ox-publish.el (org-publish-project-alist): Fix docstring.
5819 (org-publish-collect-index): Fix typo.
5821 * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5822 highlighting brackets in UI
5824 * org-element.el (org-element-headline-parser)
5825 (org-element-inlinetask-parser): Fix docstring.
5827 * org.el (org-export-backends): Add new back-end in customize
5830 * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5831 (org-beamer--format-section, org-beamer--format-frame)
5832 (org-beamer--format-block, org-beamer-headline): Apply changes to
5835 * ox-html.el (org-html-headline, org-html-link, org-html-section):
5836 Apply changes to properties.
5838 * ox-icalendar.el (org-icalendar-create-uid)
5839 (org-icalendar-blocked-headline-p, org-icalendar-entry)
5840 (org-icalendar--valarm): Apply changes to properties.
5842 * ox-odt.el (org-odt-headline): Apply changes
5844 * ox-publish.el (org-publish-collect-index): Apply changes to
5847 * ox-texinfo.el (org-texinfo--generate-menu-list)
5848 (org-texinfo--generate-menu-items, org-texinfo-template)
5849 (org-texinfo-headline, org-texinfo-link): Apply changes to
5852 * ox.el (org-export-resolve-id-link, org-export-get-category):
5853 Apply changes to properties.
5854 (org-export-get-node-property): Update docstring.
5856 * org-element.el (org-element-headline-parser)
5857 (org-element-inlinetask-parser): Upcase properties. This is done
5858 to avoid confusion between properties from parser (e.g. `:end')
5859 and properties from the property drawer (e.g. :END:).
5861 * ox-publish.el (org-publish-index-generate-theindex): Preserve
5862 order in file. Fix error when two index entries were identical.
5863 Create again theindex.inc.
5865 * org-element.el (org-element-map): Allow to map over any list.
5866 Do not restrict mapping to object types.
5868 * org-faces.el (org-latex-and-related): Rename from
5869 `org-latex-and-export-specials', which wasn't appropriate anymore.
5871 * org.el (org-highlight-latex-and-related)
5872 (org-latex-and-related-regexp): New variables.
5873 (org-compute-latex-and-related-regexp, org-do-latex-and-related):
5874 New function, revived from a previous commit.
5875 (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5877 (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5880 * ox-publish.el (org-publish-org-to): Small refactoring.
5882 * ox.el (org-export-install-filters): Properly install filters
5883 send through ext-plist mechanism.
5885 * ox-publish.el (org-publish-org-to): Small refactoring.
5887 * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5888 ox-publish.el takes care of it already.
5890 * org-macro.el: New file.
5892 * org.el: Remove macro code.
5894 * ox.el: Require new library
5896 * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5897 when matching an headline.
5898 (org-export--dispatch-ui): Display a help message in header line
5899 for scrolling dispatcher's buffer
5900 (org-export-resolve-radio-link): Radio targets are
5903 * ox-icalendar.el (org-export-icalendar): Fix docstring.
5905 * ox.el (org-export-dispatch): Fix docstring.
5906 (org-export--dispatch-action): Small improvement to line by line
5908 (org-export-resolve-fuzzy-link): Refactor. Whitespaces are not
5909 significant when matching a fuzzy link.
5911 * org-element.el (org-element-link-parser): Do not remove newlines
5912 characters in paths anymore, since this is not required.
5914 * ox.el (org-export--dispatch-ui): Rename from
5915 `org-export-dispatch-ui'. Handle scrolling.
5916 (org-export--dispatch-action): Rename from
5917 `org-export-dispatch-action'. Implement scrolling.
5918 (org-export-dispatch): Apply renaming.
5920 * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5921 but still run `org-ctrl-c-ctrl-c-final-hook'.
5922 (org-end-of-line): Remove `ignore-error'.
5924 * org-element.el (org-element-at-point): Return nil when in the
5925 first empty lines of the buffer. Return headline when in empty
5926 lines just after the headline.
5928 * ox.el (org-export-output-file-name): Add a protection when
5929 output file name is the same as the original org.
5931 * ox-beamer.el (org-beamer-template): Add missing `class' argument
5932 for `format-string'.
5934 * ox-latex.el (org-latex-template): Add missing `class' argument
5935 for `format-string'.
5937 * ox.el (org-export-stack-mode): Fix docstring.
5939 * org-pcomplete.el (pcomplete/org-mode/file-option):
5940 Allow completion for ATTR_ prefixed keywords.
5942 * org.el (org-options-keywords): Add missing colons.
5944 * org-macs.el (org-default-options): Remove function.
5946 * org-pcomplete.el (org-command-at-point): Fix bug with some file
5948 (pcomplete/org-mode/file-option/x): Remove macro.
5949 (pcomplete/org-mode/file-option): Refactor code.
5950 (pcomplete/org-mode/file-option/author)
5951 (pcomplete/org-mode/file-option/date)
5952 (pcomplete/org-mode/file-option/title)
5953 (pcomplete/org-mode/file-option/tags)
5954 (pcomplete/org-mode/file-option/select_tags)
5955 (pcomplete/org-mode/file-option/priorities)
5956 (pcomplete/org-mode/file-option/language)
5957 (pcomplete/org-mode/file-option/filetags)
5958 (pcomplete/org-mode/file-option/exclude_tags)
5959 (pcomplete/org-mode/file-option/email): New functions.
5961 * ox.el (org-export--collect-headline-numbering): Remove footnote
5963 (org-export-collect-headlines): Do not count footnote section when
5964 numbering a headline.
5966 * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
5967 attributes in order to determine list's options.
5969 * ox-ascii.el (org-ascii-inner-template): New function.
5970 (org-ascii-template): Use new function.
5971 (org-ascii-export-as-ascii, org-ascii-export-to-ascii):
5974 * org-element.el (org-element-link-parser): Take into
5975 consideration links filled and indented.
5977 * org-element.el (org-element-link-parser): Remove all newline
5978 characters in path property.
5980 * ox.el (org-export-as): Call `inner-template' function, if
5983 * ox-html.el (org-html-inner-template): New function.
5984 (org-html-template): Move all parts that should be inserted even
5985 in a body-only export into `org-html-inner-template'.
5987 * org.el (org-forward-element, org-backward-element): When no
5988 headline is found at the same level, still move forward or
5991 * org-element.el (org-element--current-element): Add a limit
5993 (org-element--collect-affiliated-keywords): Fix parsing of orphaned
5994 keyword at the end of an element.
5996 * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
5997 character as `org-export-format-code-default' already makes sure
5998 the string returned will end with a single one.
6000 * ox-latex.el (org-latex-headline): When a function returns a
6001 sectioning command, only one placeholder should be required.
6003 * org-element.el (org-element-nested-p): Do not inline function.
6005 * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
6006 (org-export--generate-copy-script): Move earlier in the file.
6008 * ox-texinfo.el (org-texinfo-link): Do not transform path part of
6011 * org.el (org-org-menu): Small refactoring.
6013 * ox-beamer.el (require):
6014 * ox-icalendar.el (require):
6015 * ox-jsinfo.el (require):
6016 * ox-md.el (require): Require cl when compiling.
6018 * org.el (org-export-backends):
6019 * ox.el (org-export-dispatch): Fix docstring.
6021 * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
6023 * ox-latex.el (org-latex-special-block): Add :options attribute to
6024 special blocks to specify options.
6026 * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
6029 * ox-latex.el (org-latex-format-headline-function): Fix missing
6030 parens in the docstring.
6032 * org.el (org-export-backends): Remove `:initialize' function.
6034 * org.el (org-reload): Also reload export back-ends in use.
6036 * ox-latex.el (org-latex-example-block, org-latex-src-block):
6037 Ignore element if it's empty. This fixes error "apply: Wrong
6038 number of arguments: max, 0".
6040 * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
6043 * ox-latex.el (org-latex-template): Provide an error when LaTeX
6046 * org.el (org-modules): Remove export back-ends from the list.
6048 (org-export-backends): New variable.
6050 * ox.el (org-export-async-start): Make sure export framework is
6051 required in the external process.
6053 * org.el (org-format-latex-header-extra, org-export-have-math):
6055 (org-latex-default-packages-alist): Rename from
6056 `org-export-latex-default-packages-alist'.
6057 (org-latex-packages-alist): Rename from
6058 `org-export-latex-packages-alist'.
6059 (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
6060 org-cdlatex-math-modify): Reorder in file.
6061 (org-format-latex): Remove `org-format-latex-header-extra'.
6062 (org-create-formula-image-with-dvipng,
6063 org-create-formula-image-with-imagemagick): Apply variables renaming
6066 * org-entities.el (org-entities-user): Update docstring.
6068 * ox-latex.el (org-latex-classes, org-latex-listings):
6070 (org-latex-guess-inputenc): Rename from `org-latex--guess-inputenc'.
6071 (org-latex-guess-babel-language): Rename from
6072 `org-latex--guess-babel-language'.
6073 (org-latex-template): Apply renaming.
6075 * ox-beamer.el (org-beamer-template): Apply renaming.
6077 * ob-latex.el (org-babel-execute:latex): Apply variable renaming
6079 (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
6082 * org-macs.el (org-if-unprotected, org-if-unprotected-1)
6083 (org-if-unprotected-at): Remove macros.
6084 (org-re-search-forward-unprotected): Remove function.
6086 * org.el (org-format-latex):
6087 * org-list.el (org-list-struct):
6088 * org-footnote.el (org-footnote-at-reference-p):
6089 * org-capture.el (org-capture-fill-template): Remove reference to
6092 * ob-exp.el (org-babel-exp-process-buffer): Rename from
6093 `org-export-blocks-preprocess'.
6095 * ox.el (org-export-execute-babel-code): Apply previous renaming.
6097 * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
6098 keywords for completion without requiring the whole export
6100 (pcomplete/org-mode/file-option/options): Rewrite using new export
6101 framework. Only complete up to the colon.
6102 (pcomplete/org-mode/file-option/x): Remove macro.
6103 (pcomplete/org-mode/file-option/title)
6104 (pcomplete/org-mode/file-option/author)
6105 (pcomplete/org-mode/file-option/email)
6106 (pcomplete/org-mode/file-option/date): Remove functions.
6107 (pcomplete/org-mode/file-option/infojs_opt): New function.
6109 * org-clock.el (org-clocktable-defaults)
6110 (org-clocktable-write-default): Avoid requiring the whole export
6111 framework just to check one variable.
6113 * org-footnote.el (org-footnote-section): Update docstring.
6114 (org-footnote-normalize): Remove all export related part from the
6117 * org-inlinetask.el (org-inlinetask-export)
6118 (org-inlinetask-export-templates): Remove variables.
6119 (org-inlinetask-export-handler): Remove function.
6121 * org-plot.el: Remove dependency on `org-exp' library.
6123 * org.el (org-additional-option-like-keywords): Remove variable.
6124 (org-get-export-keywords): New function.
6125 (org-options-keywords): Update default list of keywords.
6126 (org-remove-flyspell-overlays-in): Apply changes to keywords
6128 (org-highlight-latex-fragments-and-specials)
6129 (org-latex-and-specials-regexp)
6130 (org-export-html-special-string-regexps): Remove variables.
6131 (org-compute-latex-and-specials-regexp)
6132 (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
6134 (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
6136 (org-use-sub-superscripts): Fix docstring. Remove unused group.
6137 (org-match-sexp-depth): Make it a defconst instead of a defcustom
6138 in order to remove `org-export-translation' group completely.
6140 * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
6143 * ob-latex.el (org-babel-execute:latex): Use new exporter.
6145 * ob-org.el (org-babel-execute:org): Use new exporter.
6147 * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
6148 iCalendar export back-end.
6150 * org-table.el (org-table-export, orgtbl-export):
6151 Remove dependency on `org-exp' library.
6152 (org-table-clean-before-export): New function.
6153 (org-table-colgroup-info): New variable.
6154 (orgtbl-to-html): Use to new HTML export back-end.
6156 * org.el (org-modules): Remove modules relative to obsolete export
6157 framework and add those relative to the new one.
6158 (org-create-formula-image-with-dvipng, org-format-latex
6159 org-create-formula-image-with-imagemagick): Use new exporter.
6160 (org-indent-line): INCLUDE keywords are indented like regular
6162 (org-mode-map): Bind C-c C-e to new export dispatcher.
6163 (org-menu): Install new exporter in menu.
6168 * org-exp-blocks.el:
6178 * org-special-blocks.el:
6179 * org-taskjuggler.el:
6180 * org-xoxo.el: Remove
6195 * ob-exp.el (org-export-blocks-preprocess): Do not use
6196 `indent-code-rigidly' as it doesn't indent contents of strings.
6198 * org-element.el (org-element-map): Change to function
6199 indentation. Also complete docstring.
6201 * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
6204 * org-element.el (org-element-at-point): When point is before any
6205 element, in the first blank lines of the buffer, return nil.
6206 When point is within blank lines just after a headline, return that
6208 (org-element-context): Return nil when point is within the blank at
6209 the beginning of the buffer.
6211 * org.el (org-edit-special): Fix regression.
6212 (org-timestamp-has-time-p, org-timestamp-format)
6213 (org-timestamp-split-range, org-timestamp-translate):
6216 * org-element.el (org-element-timestamp-interpreter):
6217 Interpret timestamps ranges with repeaters.
6219 * org.el (org-edit-special): Rewrite `org-edit-special' using Org
6220 Elements tools. Behavior should be unchanged.
6222 * org-element.el (org-element-context): Add an optional argument
6223 so that (org-element-context) and (org-element-context
6224 (org-element-at-point)) are equivalent.
6226 * ob.el: Only use the :wrap argument up to the first space when
6227 creating the #+END_ directive.
6229 * org-element.el (org-element-object-variables): New variable.
6230 (org-element-parse-secondary-string): Copy some buffer-local
6231 variables to the temporary buffer created to parse the string so
6232 links can still be properly expanded.
6233 (org-element-link-parser): Link expansion and translation are applied
6234 transparently for the parser.
6236 * org-element.el (org-element-line-break-parser): Line break
6237 includes the newline character following the backslashes.
6238 (org-element-line-break-interpreter): Apply changes to line break
6241 * org.el (org-all-targets): Fix radio targets detection when
6242 object is directly followed by a non-whitespace character.
6244 * ob.el (org-babel-use-quick-and-dirty-noweb-expansion):
6245 Rename from `org-babel-use-quick-and-dirty-noweb-expansion'.
6246 (org-babel-expand-noweb-references): Use new variable name.
6248 * org-element.el (org-element-timestamp-interpreter):
6249 Fix timestamp interpreter when raw value isn't available.
6251 * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
6252 inline babel call or inline src block instead of the following
6255 * org-element.el (org-element-timestamp-parser): Timestamp with
6256 time range has active/inactive-range type.
6257 (org-element-block-name-alist): Do not reset
6258 `org-element-block-name-alist' at each reload.
6259 (org-element-object-restrictions): Allow timestamps in parsed
6260 keywords (i.e. DATE).
6262 * org-agenda.el (org-agenda-show-clocking-issues)
6263 (org-agenda-format-item): Silence byte compiler.
6265 * org-colview.el (org-agenda-columns): Silence byte compiler.
6267 * org.el (org-properties-postprocess-alist): Silence byte
6270 * org-element.el (org-element-timestamp-parser): Return nil for
6271 unspecified :hour-end and :minute-end properties.
6272 (org-element-object-restrictions): Add footnote references objects
6274 (org-element-interpret-data): Clear text properties when
6275 interpreting a string .
6277 * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6280 * org.el (org-adaptive-fill-function): Items do not have
6281 a :post-affiliated property. Use :begin property instead.
6283 * org-element.el (org-element-headline-parser)
6284 (org-element-inlinetask-parser): Remove :clockedp property.
6286 * org.el (org-adaptive-fill-function): All elements do not have a
6287 :post-affiliated property.
6288 (org-macro-replace-all): Signal an error when a circular macro
6290 (org-macro-initialize-templates): Fix docstring.
6292 * org-element.el (org-element-map): Fix docstring.
6293 (org-element-contents, org-element-set-contents)
6294 (org-element-adopt-elements): Fix accessors and setters wrt
6296 (org-element-headline-parser)
6297 (org-element-inlinetask-parser): Fix void-function
6298 `org-clocking-buffer' error.
6299 (org-element-context): Fix org-element-context on parsed keywords.
6300 (org-element-context): Find objects in document and parsable
6301 affiliated keywords.
6302 (org-element-center-block-parser)
6303 (org-element-drawer-parser, org-element-dynamic-block-parser)
6304 (org-element-footnote-definition-parser)
6305 (org-element-plain-list-parser)
6306 (org-element-property-drawer-parser)
6307 (org-element-quote-block-parser, org-element-special-block-parser)
6308 (org-element-babel-call-parser, org-element-comment-parser)
6309 (org-element-comment-block-parser, org-element-diary-sexp-parser)
6310 (org-element-example-block-parser)
6311 (org-element-export-block-parser, org-element-fixed-width-parser)
6312 (org-element-horizontal-rule-parser, org-element-keyword-parser)
6313 (org-element-latex-environment-parser)
6314 (org-element-paragraph-parser, org-element-src-block-parser)
6315 (org-element-table-parser, org-element-verse-block-parser):
6316 Add `:post-affiliated' property to elements.
6317 (org-element-inlinetask-parser): Remove affilated keywords.
6319 * org.el (org-adaptive-fill-function): Use new property.
6321 * org-element.el (org-element--collect-affiliated-keywords):
6322 Allow duals keywords with only secondary value.
6323 (org-element-timestamp-parser): Modify timestamp objects
6325 (org-element-headline-parser, org-element-inlinetask-parser): Remove
6326 `:timestamp' and `:clock' property. Add `:clockedp' property. Also,
6327 set `:closed', `:deadline' and `:scheduled' values to timestamp
6328 objects, not strings. Small refactoring.
6329 (org-element-clock-parser): Rename `:time' property into `:duration'.
6330 Also, set `:value' value as a timestamp object, not a string.
6331 (org-element-planning-parser): Set `:closed', `:deadline' and
6332 `:scheduled' values to timestamp objects, not strings.
6333 (org-element-clock-interpreter, org-element-planning-interpreter)
6334 (org-element-timestamp-interpreter): Update interpreters.
6335 (org-element--current-element): Tiny refactoring.
6337 * ob.el (org-babel-where-is-src-block-result): Insert new results
6338 keyword in current narrowed part of buffer, if necessary.
6340 (org-babel-insert-result): Do not widen buffer when new results have
6341 to be inserted. Therefore, results inserted after the last block of
6342 a narrowed buffer still belong to the narrowed part of the buffer.
6344 * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
6346 * org-element.el (org-element-paragraph-separate): Diary-sexp
6347 elements can separate paragraphs.
6348 (org-element-all-elements): Install new `diary-sexp' type.
6349 (org-element--current-element): Recognize new `diary-sexp' elements.
6350 (org-element-diary-sexp-parser)
6351 (org-element-diary-sexp-interpreter): New functions.
6352 (org-element-horizontal-rule-parser)
6353 (org-element-keyword-parser, org-element--current-element):
6355 (org-element-property): Access to text properties when argument is
6357 (org-element-put-property): Correctly set property when target is
6359 (org-element-adopt-elements): Also put :parent properties on
6362 * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
6364 (org-export-blocks-preprocess): Pos can sometimes be set to a
6365 value greater than start, because of indentation, and lead to a
6367 (org-babel-exp-code): Remove comma-escaping special rule for Org
6369 (org-export-blocks-preprocess): Results of an evaluated code block
6370 can be inserted within the blank lines after the block. Hence, if
6371 the block has to be removed, delete everything down to the first
6372 non-blank line after the end of block closing string, instead of
6373 removing everything down to the very end of the block.
6375 * org.el (org-all-targets): Make sure the regexp really matched a
6377 (org-macro-expand, org-macro-replace-all): Change signature.
6378 The function now accepts an alist of templates so it doesn't have to
6379 rely only on `org-macro-templates'.
6380 (org-macro-initialize-templates): {{{date}}} is not anymore an
6381 alias for {{{time}}}. During export, it will provide the value
6382 stored in DATE keyword instead.
6384 * org-element.el (org-element-object-restrictions): Allow links in
6385 caption. Also allow inline-src-blocks and inline-babel-calls.
6386 (org-element-map): Change signature.
6387 (org-element-parsed-keywords): Remove document properties from the
6389 (org-element-dual-keywords): Fix docstring.
6390 (org-element-document-properties): New variable
6391 (org-element-all-elements): Add `node-property' as a new element
6393 (org-element-greater-elements): Add property-drawer element to
6394 greater elements since they now contain node-property elements.
6395 (org-element-drawer-parser): Small refactoring.
6396 (org-element-property-drawer-parser): Move into Greater Elements
6398 (org-element-node-property-parser,
6399 org-element-node-property-interpreter): New functions.
6400 (org-element--current-element, org-element-at-point)
6401 (org-element--parse-elements): Handle new element type.
6402 (org-element--collect-affiliated-keywords): Fix return value.
6403 (org-element-center-block-parser)
6404 (org-element-drawer-parser, org-element-dynamic-block-parser)
6405 (org-element-footnote-definition-parser)
6406 (org-element-plain-list-parser, org-element-quote-block-parser)
6407 (org-element-special-block-parser, org-element-babel-call-parser)
6408 (org-element-comment-parser, org-element-comment-block-parser)
6409 (org-element-example-block-parser)
6410 (org-element-export-block-parser, org-element-fixed-width-parser)
6411 (org-element-horizontal-rule-parser, org-element-keyword-parser)
6412 (org-element-latex-environment-parser)
6413 (org-element-paragraph-parser, org-element-property-drawer-parser)
6414 (org-element-src-block-parser, org-element-table-parser)
6415 (org-element-verse-block-parser): Change signature. Now use an
6416 additional argument: affiliated.
6417 (org-element--current-element): Skip affiliated keywords and pass
6418 them as an argument to parsers. It prevents to walk through these
6419 keywords twice: the first time to get to the first line of the
6420 element, and a second time to collect the affiliated keywords.
6422 * ob-exp.el (org-babel-exp-non-block-elements): More accurate
6423 white space handling when evaluating inline-src-block, babel-call
6424 and inline-babel-call elements or objects. Also removed use of
6425 `org-babel-examplize-region' since it would never be called
6426 anyway; return value from `org-babel-exp-do-export' is never nil.
6427 (org-export-blocks-preprocess): Preserve affiliated keywords when
6428 replacing a code block.
6430 * org-element.el (org-element-multiple-keywords): Allow multiple
6433 * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
6434 when results are before the block.
6435 (org-export-blocks-preprocess): Improve blank lines handling in
6436 function. Add comments. Remove `org-export-blocks-postblock-hook'
6437 since it's defined nowhere now (and doesn't need to, there's
6438 `org-export-before-parsing-hook' already).
6440 * org-exp-blocks.el: Delete.
6442 * ob-exp.el (org-export-blocks-preprocess):
6443 * ob-ditaa.el (org-ditaa-jar-path): Move from
6444 "org-export-blocks.el".
6446 * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
6447 (org-babel-exp-non-block-elements): Rewrite function using Org
6450 * org-exp-blocks.el (org-export-blocks-preprocess):
6451 Rewrite function using Org Element.
6453 * org-element.el (org-element-recursive-objects)
6454 (org-element-object-restrictions): Remove `macro' from recursive
6457 * org.el (org-macro-initialize-templates): Small refactoring.
6458 (org-mode): Initialize macros templates.
6459 (org-macro-templates): New variable.
6460 (org-macro-expand, org-macro-replace-all)
6461 (org-macro-initialize-templates): New functions.
6463 * org-element.el (org-element-link-type-is-file): New variable.
6464 (org-element-link-parser): Extract search option and application
6465 in "file"-type links.
6467 * org.el (org-mode): Set back comment-start-skip so comment-dwin
6468 can tell a keyword from a comment.
6470 2013-11-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6472 * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
6473 inactive timestamp also with double universal argument.
6474 (org-set-regexps-and-options): Don't set font-lock defaults here.
6475 (org-mode): Set font-lock defaults here.
6476 (org-insert-link): Call `org-link-try-special-completion' from the
6479 2013-11-12 Oleh <oleh.krehel@gmail.com>
6481 * org.el (org-open-at-point): The new code is being run in the
6482 same spot as `org-open-link-functions'. In case they failed,
6483 check if link matches "^id:" and if so, load the id interface and
6486 2013-11-12 Rasmus <rasmus@gmx.us> (tiny change)
6488 * ox-latex.el (org-latex--inline-image): The pgf format is
6489 associated to an inline image and treated like tikz files.
6491 2013-11-12 Richard Lawrence <richard.lawrence@berkeley.edu> (tiny change)
6493 * org-agenda.el (org-cmp-ts): Avoid error when trying to
6494 `string-match' against nil.
6496 2013-11-12 Rick Frankel <rick@rickster.com>
6498 * ox-html.el (org-html-doctype): New function.
6499 (org-html-template): Use `org-html-doctype' instead of inline
6501 (org-html-headline): Use the new
6502 `org-html--container' function to set container element.
6503 (org-html--container): Returns appropriate element for headline
6505 (org-html-divs): Extra character in doc string.
6506 (org-babel-execute:sql): Unquote cmdline argument in
6507 format string, dbish requires three separate arguments. Add dbi
6508 to the list of engines with automatically added header separator.
6509 (org-html--build-pre/postamble): Add css class to wrapper div
6510 (defaults to `org-pre/postamble-class'). Move spec building to
6511 separate function (`org-html-format-spec').
6512 (org-html-format-spec): New function.
6513 (org-pre/postamble-class): New variable.
6514 (org-html--timestamp-format): New variable used in the metadata
6515 and the pre/postamble.
6516 (org-html-style-default): Make the preamble and postamble use the
6517 same style. Make all anchors font-size %100. Remove margin from
6518 the content section.
6519 (org-html-container-element): Fix docstring.
6520 (org-html-postamble-format, org-html-preamble-format):
6522 (org-html-template): Use `org-html--build-pre/postamble'.
6523 (org-html--build-pre/postamble): New function, combining the
6524 pre/postamble generator. Merge lists of formatters from the
6525 preamble and postamble. Fix bug, using :time-stamp-file instead
6526 of :with-date for auto display of date: this brings usage in-line
6527 with the latex and beamer exporter.
6528 (org-html--build-postamble, org-html--build-postamble): Delete.
6529 (define-backend): Add :html-doctype and :html-container
6531 (org-html-doctype): New option for doctype declaration.
6532 (org-html-container-elemnt): New option for specifying the wrapper
6534 (org-html-divs): Change to alist of three entries each containing
6535 a key ('preamble, 'content, 'postamble), an HTML element type and
6536 an id to allow setting container elements.
6537 (org-html--build-preamble, org-html--build-postamble): Modify to
6538 use `org-html-divs'.
6539 (org-html-template): Modify to use doctype and container-element
6541 (org-export-define-backend): Add css url option.
6542 (org-export-htmlized-org-css-url): Modify docstring and options.
6543 (org-html--build-style): Include css-url if specified.
6545 2013-11-12 Roberto Huelga Díaz <rhuelga@gmail.com> (tiny change)
6547 * org-timer.el (org-timer-set-timer): Use the variable
6548 `org-clock-sound' when calling `org-notify'.
6550 2013-11-12 Ryo TAKAISHI <ryo.takaishi.0@gmail.com>
6552 * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6554 (org-capture-expand-embedded-elisp): Use the new function.
6556 * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
6557 name collid `org-babel-map-src-blocks' variable 'lang'.
6559 * org-protocol.el (org-protocol-convert-query-to-plist):
6561 (org-protocol-do-capture): Use new function.
6562 (org-protocol-data-separator): Change default separator.
6564 2013-11-12 Rémi Vanicat <vanicat@debian.org> (tiny change)
6566 * org-table.el (orgtbl-format-line): Fix bug when formatting line.
6568 2013-11-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6570 * ox-latex.el (org-latex-listings): Don't quote const value.
6572 * ob-C.el (org-babel-C-var-to-C): Add list support
6573 (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
6574 (org-babel-C-format-val): New functions.
6575 (org-babel-C-ensure-main-wrap, org-babel-execute:C)
6576 (org-babel-execute:C++, rg-babel-execute:cpp)
6577 (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
6579 * org-entities.el (org-entities): Add support for hbar.
6581 2013-11-12 Sacha Chua <sacha@sachachua.com> (tiny change)
6583 * org.el (org-read-date-get-relative): Handle positive and
6584 negative weekday specifications so that they don't return today.
6585 If today is Friday, "fri" should mean next Friday. This changes
6586 the previous behavior, which required you to specify "+2fri" in
6587 order to mean next Friday if today was Friday. If you want to
6588 schedule something for today, you can use ".".
6590 2013-11-12 Samuel Loury <konubinix@gmail.com> (tiny change)
6592 * org.el (org-open-at-point): Open a plain link even if the cursor
6593 is before it, which is consistent with the behavior with respect
6594 to bracket and angle links.
6596 2013-11-12 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
6598 * ob.el (org-babel-expand-noweb-references): Capture current noweb
6599 start and end patterns then use them to set buffer locals in a
6600 (with-temp-buffer ...) form.
6602 2013-11-12 Sebastien Vauban <xxx@public.gmane.org>
6604 * ox-latex.el (org-latex-listings-langs): Update custom variable.
6606 * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6607 of header arguments.
6609 * org-clock.el (org-clock-goto-before-context): New option.
6610 (org-clock-goto): Use the new option.
6611 (org-clocktable-write-default): Insert the summary as a standard
6612 #+CAPTION keyword for the (clock) table.
6614 2013-11-12 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> (tiny change)
6616 * org-agenda.el (org-agenda-prefix-format): Small docstring
6619 2013-11-12 Suhail Shergill <suhailshergill@gmail.com> (tiny change)
6621 * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6622 prefix and leave `temporary-file-directory' unchanged.
6624 2013-11-12 Suvayu Ali <fatkasuvayu+linux@gmail.com> (tiny change)
6626 * org.el (org-speed-commands-default): Change default binding for
6627 org-mark-subtree from "." to "@" to be more consistent with "C-c
6630 2013-11-12 Tim Burt <tcburt@rochester.rr.com> (tiny change)
6632 * org-datetree.el (org-datetree-find-year-create): Also match
6633 headlines with tags.
6635 2013-11-12 Toby S. Cubitt <tsc25@cantab.net>
6637 * org.el (org-time-clocksum-format)
6638 (org-time-clocksum-fractional-format): In addition to a single
6639 format string, the clocksum formats can now be plists specifying
6640 separate formats for different time units.
6641 (org-minutes-to-clocksum-string): New function to replace
6642 `org-minutes-to-hh:mm-string', which converts a number of minutes
6643 to a string according to the customization options.
6645 * org-colview.el (org-columns-number-to-string): Use the new
6646 `org-minutes-to-clocksum-string' function to format clocksum
6649 * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6650 function when formatting time durations, instead of calling
6651 `org-minutes-to-hh:mm-string' or passing
6652 `org-time-clocksum-format' directly to format.
6654 2013-11-12 Tokuya Kameshima <kametoku@gmail.com>
6656 * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6657 (org-mew-subject-alist, org-mew-capture-inbox-folders)
6658 (org-mew-capture-guess-alist): New options.
6659 (org-mew-store-link, org-mew-open): Rewrite.
6660 (org-mew-folder-name, org-mew-follow-link)
6661 (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6662 (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6663 (org-mew-capture-guess-selection-keys): New functions.
6665 2013-11-12 Trevor Murphy <trevor.m.murphy@gmail.com> (tiny change)
6667 * org.el (org-get-compact-tod): Always pad minutes to two places.
6669 2013-11-12 Viktor Rosenfeld <listuser36@gmail.com> (tiny change)
6671 * org.el (org-agenda-prepare-buffers): Add tags defined in
6672 `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6674 2013-11-12 Vitalie Spinu <spinuvit@gmail.com>
6676 * ob-tangle.el (org-babel-find-file-noselect-refresh):
6677 Call `find-file-noselect' with 'nowarn argument to surpress
6678 `yes-or-no-p' reversion message.
6680 * ob-core.el (org-babel-where-is-src-block-head):
6681 Return `point-marker' instead of `point'.
6683 2013-11-12 Yann Hodique <yann.hodique@gmail.com>
6685 * org-publish.el (org-publish-org-to-taskjuggler): New function to
6686 publish taskjuggler projects.
6688 2013-11-12 Yasushi Shoji <yashi@atmark-techno.com>
6690 * org-clock.el (org-clock-x11idle-program-name): New option.
6691 (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6693 2013-11-12 Yoshinari Nomura <nom@quickhack.net>
6695 * ox-html.el (org-html--has-caption-p): New function.
6696 (org-html-link--inline-image, org-html-table): Prepend ordinal
6698 (org-html-link): Make numbered link by counting captioned figures
6701 * ox.el (org-export-dictionary): Add Japanese translations for
6702 figures and tables. Add "Figure %d:" entry in the same manner
6705 2013-11-12 Nicolas Richard <nrichard@ulb.ac.be>
6707 * ob.el (org-babel-edit-distance): When insertion or deletion are
6708 needed, make sure the distance is incremented. In addition, the
6709 now obsolete mmin function was removed.
6711 2013-11-12 Oleh Krehel <wave@mail.ua>
6713 * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6714 if result is not a string and not nil. If the result is nil,
6715 treat it as if it was the empty string.
6717 * org-clock.el (org-clock-notify-once-if-expired):
6718 Honor `org-clock-sound'.
6720 2013-11-12 Rasmus Pank <rasmus.pank@gmail.com>
6722 * org.el (org-format-latex-header): Remove eucal and amsmath.
6723 (org-latex-default-packages-alist): Remove amstext and add
6726 * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6728 * org.el (org-latex-default-packages-alist): Remove latexsym.
6730 * org-entities.el (org-entities): Add support for ell, imath,
6731 jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6732 dag, ddag, colon, therefore, because, triangleq, leq, geq,
6733 lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6734 succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6735 diamond. Changes loz, vert, checkmark, smile and tilde.
6737 * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6740 * org-src.el (org-src-lang-modes): Add association between
6741 language C++ and `c++-mode'.
6743 * ox.el (org-export-smart-quotes-alist): Add ("da" "no" "nb"
6745 (org-export-dictionary): Add some entries ("da" "no" "nb" "nn"
6747 (org-export-default-language): Mention other variables affected by
6750 * ox-latex.el (org-latex-babel-language-alist): Add 'nb', 'nn',
6751 and 'no' for Norwegian. Removed 'no-no'.
6752 (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6753 and change the wording of the docstring.
6754 (org-latex-guess-babel-language): Replace AUTO with language if
6755 AUTO is the option of the LaTeX package Babel.
6756 (org-latex-classes): Update documentation with respect
6757 to `org-latex-guess-babel-language'.
6759 2013-11-12 Дядов Васил Стоянов <vdyadov@elvees.com> (tiny change)
6761 * org-docview.el (org-docview-export): New function to export
6764 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6766 * org-agenda.el (org-agenda-mode):
6767 * org-indent.el (org-indent-mode): Use the `local' arg of
6768 add-hook/remove-hook.
6770 2013-03-08 Bastien Guerry <bzg@gnu.org>
6772 * org-exp.el (org-export-normalize-links): Fix critical bug: do
6773 not rely on `org-context' to guess where to prevent links
6776 2013-02-28 Achim Gratz <Stromeko@Stromeko.DE>
6778 * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6779 org-reload uncompiled in the menu.
6781 2013-02-28 Bastien Guerry <bzg@gnu.org>
6783 * org-indent.el (org-indent-add-properties): Bugfix: prevent
6784 negative value for `added-ind-per-lvl'.
6786 * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6787 `isearch-mode-end-hook' so that any isearch fixes the problem with
6788 ellipsis on the first line.
6789 (org-fix-ellipsis-at-bol): New defsubst.
6790 (org-show-context, org-isearch-end): Use it.
6792 * org.el (org-show-context): Remove useless catch.
6793 Make sure the top of the window is a visible headline.
6794 (org-activate-plain-links): Remove unused catch.
6796 * org-macs.el (org-get-alist-option): Return nil, not (nil),
6797 so that `org-show-context' DTRT.
6799 * org.el (org-imenu-get-tree): Fix bug when matching against empty
6802 * org.el (org-overview): Stay on current line.
6803 (org-map-entries): Fix docstring.
6804 (org-at-clock-log-p): Delete.
6805 * org-clock.el (org-at-clock-log-p): Move here.
6807 * org.el (org-tsr-regexp-both): Don't activate dates in links.
6808 (org-activate-dates): Change match boundaries according to the new
6809 value of `org-tsr-regexp-both'.
6811 * org-agenda.el (org-agenda-to-appt): Fix typos.
6813 * org-agenda.el (org-agenda-local-vars): Don't include
6814 `org-agenda-show-window' as it needs to be checked outside of the
6817 * org.el (org-set-tags-command): Fix bug when setting tags for
6818 multiple headlines in an active region.
6820 * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6821 in an invisible region.
6823 * org.el (org-insert-heading-respect-content): Add docstring.
6824 New `invisible-ok' parameter.
6825 (org-insert-todo-heading-respect-content): Add docstring.
6827 * ob-tangle.el (org-babel-tangle-collect-blocks):
6828 Bugfix: remove code references from blocks.
6830 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6832 (org-agenda-show-new-time): Fix bug when displaying a temporary
6833 overlay with the scheduled/deadline information.
6835 * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6836 (org-setup-filling): Use it to prevent breaking a timestamp when
6837 filling a paragraph.
6839 * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6841 2013-02-28 Tim Burt <tcburt@rochester.rr.com> (tiny change)
6843 * org-datetree.el (org-datetree-find-year-create):
6844 Match headlines with tags.
6846 2013-02-07 Bastien Guerry <bzg@gnu.org>
6848 * org-agenda.el (org-agenda-get-deadlines)
6849 (org-agenda-get-scheduled): Fix bug: use text properties for the
6850 headline text since we rely on properties to get e.g. the effort.
6852 * org-exp.el (org-export-normalize-links): Don't match links
6855 * org-html.el (org-export-html-preamble-format)
6856 (org-export-html-postamble-format): Mention that
6857 org-export-html-preamble/postamble need to be `t' in order for
6858 these variables to have any effect.
6860 * org-html.el (org-html-handle-links): When the link description
6861 is an image and the attribute is "width", pass the attribute to
6864 * org.el (org-mode): Always honor `org-startup-indented', even
6865 when `org-inhibit-startup' is non-nil.
6867 * org-indent.el (org-indent-mode): Don't check
6868 `org-inhibit-startup'.
6870 * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6871 text properties outside of the buffer.
6873 * org.el (org-agenda-inhibit-startup): Rename from
6874 `org-agenda-inhibit-startup-visibility-cycling'.
6875 (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6876 `org-agenda-inhibit-startup'.
6878 * org.el (org-mode): Don't initialize `org-beamer-mode' when
6879 `org-inhibit-startup' is non-nil.
6881 * org-footnote.el (org-footnote-create-definition): Prevent
6882 `electric-indent-mode' from inserting the definition at the wrong
6885 * org-agenda.el (org-agenda-no-heading-message): Delete.
6886 (org-agenda-get-timestamps, org-agenda-get-progress)
6887 (org-agenda-get-deadlines, org-agenda-get-scheduled)
6888 (org-agenda-get-blocks): Don't use
6889 `org-agenda-no-heading-message', skip the entry.
6891 * org.el (org-agenda-inhibit-startup-visibility-cycling):
6893 (org-agenda-prepare-buffers): Use it to speed up the agenda
6896 * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6897 commented scheduled/deadline lines.
6899 * org-clock.el (org-clock-in): Fix bug when fetching the effort
6902 * ob-python.el (org-babel-python-command): Fix docstring.
6903 (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6904 from Emacs >24.1 requires a python command as an argument.
6906 * org-element.el (org-element-at-point): Fix typo in docstring.
6908 * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6909 `org-agenda-show-inherited-tags'.
6911 * org-agenda.el (org-agenda-skip): Correctly handle commented out
6912 scheduled/deadline lines. Refactor.
6914 * org-install.el: Do not warn users.
6916 * org.el (org-adaptive-fill-function): In message-mode, don't
6917 lines in the message header, nor table lines in the body.
6918 Correctly fill lines starting with `org-outline-regexp' in the
6921 * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6924 2013-02-07 Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org> (tiny change)
6926 * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6928 * org-macs.el (org-unmodified): Inhibit modification hooks.
6930 2013-02-07 John K. Luebs <jkluebs@luebsphoto.com> (tiny change)
6932 * org.el (org-get-wdays): Handle matching a lead time specified in
6935 2013-02-07 Muchenxuan Tong <demon386@gmail.com> (tiny change)
6937 * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6938 only when it exists.
6940 2013-02-07 Nicolas Goaziou <n.goaziou@gmail.com>
6942 * org-element.el (org-element-macro-parser): Fix error when last
6943 argument ends with a protected comma.
6945 * org-element.el (org-element-parse-buffer, org-element-map)
6946 (org-element-at-point, org-element-context): Be more verbose in
6947 docstrings. Also fix typos.
6949 * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6950 resetted because of a non-nil ORDERED property value, make sure it
6951 had a checkbox already.
6953 2013-02-07 Tokuya Kameshima <kametoku@gmail.com> (tiny change)
6955 * org-agenda.el (org-search-view): Fix checking
6956 `org-agenda-show-inherited-tags'.
6958 2013-02-07 racin <racin@free.fr> (tiny change)
6960 * org-bibtex.el (org-bibtex-search): Don't throw an error when
6961 `org-bibtex-prefix' is nil.
6963 2013-01-13 Bastien Guerry <bzg@gnu.org>
6965 * org-compat.el (org-condition-case-unless-debug): Delete.
6967 * org-odt.el (org-odt-cleanup-xml-buffers):
6968 Use `condition-case' instead of `org-condition-case-unless-debug',
6969 which is now deleted.
6971 * org-capture.el (org-capture-templates-contexts):
6972 * org-agenda.el (org-agenda-custom-commands-contexts):
6975 * org.el (org-get-tags-at): Remove duplicate inherited tags.
6977 * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
6978 to 'always or to a list of agenda types.
6979 (org-agenda-finalize): Rework conditions under which inherited
6980 tags should be made available even when not displayed.
6981 (org-search-view, org-agenda-get-todos)
6982 (org-agenda-get-timestamps, org-agenda-get-sexps)
6983 (org-agenda-get-progress, org-agenda-get-scheduled)
6984 (org-agenda-get-blocks): Use new possible values of
6985 `org-agenda-show-inherited-tags'.
6987 * org.el (org-open-at-point): Fix opening all links at point.
6989 * org-agenda.el (org-get-entries-from-diary): Turn off
6990 `diary-file-name-prefix' instead of
6991 `diary-file-name-prefix-function', the former is checked before
6994 * org.el (org-edit-special): Check for table.el before checking
6997 2013-01-13 Michael Albinus <michael.albinus@gmx.de>
6999 * ob-eval.el (org-babel-shell-command-on-region):
7000 Use `executable-find' for local `shell-file-name'.
7002 2013-01-09 Achim Gratz <Stromeko@Stromeko.de>
7004 * org-faces.el: Define face alias mode-line for XEmacs (it's
7005 called modeline there).
7007 * org-compat.el (org-no-popups): New wrapper macro which let-binds
7008 the correct variables to suppress popup windows depending on the
7009 Emacs version in use. This is a compile-time decision when
7012 * org.el (org-get-location, org-switch-to-buffer-other-window):
7013 Use the wrapper `org-no-popups' to let-bind the correct variables
7014 for suppression of popup windows.
7016 * org-compat.el (user-error): Defalias to `error' for Emacsen that
7019 * org-agenda.el (org-agenda-write): Use org-called-interactively-p
7020 instead of called-interactively-p.
7022 * org.el (org-find-invisible-foreground): Do not use the value of
7023 variables `default-frame-alist', `initial-frame-alist' and
7024 `window-system-default-frame-alist' when their symbol is not bound.
7026 2013-01-09 Bastien Guerry <bzg@gnu.org>
7028 * org-src.el (org-edit-src-code): Fix bug when trying to edit a
7031 * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
7034 * org.el (org-entry-get): Speed up by let-binding some variables
7035 only if needed. Also fix a bug: consider an empty drawer as no drawer.
7037 * org-agenda.el (org-search-view, org-agenda-get-todos)
7038 (org-agenda-get-timestamps, org-agenda-get-sexps)
7039 (org-agenda-get-progress, org-agenda-get-deadlines)
7040 (org-agenda-get-scheduled, org-agenda-get-blocks)
7041 (org-agenda-change-all-lines): Get local tags only.
7042 (org-agenda-use-tag-inheritance): New option.
7043 (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
7044 is non-nil, possibly reset tags in the agenda buffer.
7045 (org-agenda-check-type): Enhance docstring.
7047 * org.el (org-use-tag-inheritance): Fix typo in docstring.
7049 * org-agenda.el (org-float): Don't alias `org-float'.
7051 * org.el (org-scan-tags): The skipper already checks for archived
7054 * org.el (org-refresh-properties): Rename from
7055 `org-refresh-effort-properties' and use two new parameters.
7056 (org-agenda-prepare-buffers): Use `org-refresh-properties'.
7057 Also refresh the 'org-appt-warntime text property.
7059 * org-clock.el (org-clock-in): Use the renamed defun.
7061 * org-icalendar.el (org-icalendar-print-entries):
7062 Refresh the 'org-appt-warntime property.
7063 (org-icalendar-print-entries):
7064 * org-agenda.el (org-agenda-get-timestamps)
7065 (org-agenda-get-sexps, org-agenda-get-deadlines)
7066 (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
7067 "APPT_WARNTIME" property value.
7069 * org.el (org-id-link-to-org-use-id): Fix compiler warning.
7071 * org-agenda.el (org-agenda-format-item): Do not use
7072 `org-get-effort' to get the effort text property.
7073 (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
7075 * org-clock.el (org-clock-in): Refresh effort properties.
7077 * org.el (org-refresh-effort-properties): New defun.
7078 (org-get-effort): Delete.
7080 (org-property-next-allowed-value): Set the 'org-effort text property.
7081 (org-agenda-prepare-buffers): Refresh effort properties.
7083 * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
7084 nil so that the mouse doesn't jump when the option is set to t globally.
7086 * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
7087 (org-agenda-dim-blocked-tasks): Make interactive and allow an
7088 optional parameter 'invisible to hide blocked tasks instead of
7090 (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
7092 * org-agenda.el (org-agenda-finalize): Don't try to align tags
7093 when there are no tags. Only try to draw the habit consistency
7094 graph when there is a habit in the buffer. Only mark clocking
7095 task when there is one.
7097 * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
7099 * org.el (org-get-priority): Save match data even when using
7100 `org-get-priority-function'.
7102 * org-mobile.el (org-mobile-create-index-file):
7103 Possibly normalize `org-todo-keywords'.
7105 * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
7107 * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
7108 of the obsolete variable name.
7110 * org.el (org-fontify-meta-lines-and-blocks-1):
7111 Fix bug when fontifying keywords with no value.
7113 * org.el (org-goto-auto-isearch): Enhance docstring.
7114 (org-goto-map): Make a defun, so that the customized value of
7115 org-goto-auto-isearch is correctly initialized.
7116 (org-goto): Initialize the keymap with `org-goto-map'.
7117 (org-get-location): Use *Org Help* as a temporary buffer.
7118 Tell whether auto-isearch is on or off.
7120 * org-exp.el (org-export-as-org): Remove useless argument.
7122 * org-docbook.el (org-export-as-docbook-batch)
7123 (org-export-region-as-docbook, org-export-as-docbook-pdf):
7124 Fix the number of arguments.
7125 (org-export-as-docbook): Remove useless argument.
7127 * org.el (org-speed-commands-default): Use ":" instead of ";" for
7128 `org-set-tags-command', which is consistent with ":" in agenda
7129 view. Use "=" for `org-columns".
7131 * org.el (org-sparse-tree): Fix redundant information in prompt.
7133 * org-exp.el (org-export-string): Fix number of arguments passed
7134 to the org-export-as-* functions.
7136 * org-latex.el (org-export-as-latex): Fix typo in docstring.
7138 * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
7140 * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
7141 bug when fontifying a keyword with no associated value.
7142 (org-cycle-internal-local): Don't run hooks when cycling a plain
7143 list before first headline.
7144 (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
7146 (org-indent-line): Fix table formulas indenting.
7148 * org-agenda.el (org-agenda-open-link): Fix bug when no link is
7149 matched. Return a message instead of an error.
7150 (org-agenda-priority): Remove useless parameter and fix showing
7151 priority in agenda buffers.
7153 * org-macs.el (org-with-buffer-modified-unmodified): New macro.
7155 * org.el (org-entry-blocked-p): Use the new macro.
7157 * org-src.el (org-edit-src-exit): Don't comma-escape the content
7158 of a fixed width region.
7160 * org.el (org-blocker-hook): Update the docstring to mention that
7161 functions in this hook should not modify the buffer.
7162 (org-trigger-hook): Small docstring fix.
7163 (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
7164 so that the function never modifies the buffer.
7166 * org-agenda.el (org-agenda-open-link): Allow to open an internal
7167 link by using the new `org-offer-links-in-entry' function.
7169 * org.el (org-offer-links-in-entry): Do not open the link directly
7170 through `org-open-link-from-string', only offer to select a link
7171 and return a cons with the link (as a string) and the end of entry.
7172 (org-open-at-point): Use `org-offer-links-in-entry' correctly.
7174 * org.el (org-cycle-internal-local):
7175 Fix bug: allow headings with leading blank characters.
7177 * org-clock.el (org-clock-persist):
7178 Docstring fix: document the 'history value.
7180 * org.el (org-insert-link): Fix bug when inserting links to
7181 headlines containing the ">" character.
7183 * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
7185 * org-compat.el (org-delete-directory): New compatibility function
7186 for Emacs 22, where `delete-directory' does not support recursive
7189 * org-odt.el (org-odt-cleanup-xml-buffers):
7190 Use the new compatibility function.
7192 * org.el (org-table-map-tables): Fix allowed blocks.
7194 * org.el (org-edit-special):
7195 * org-src.el (org-edit-src-code): Fix regression: allow editing
7196 HTML and LaTeX source blocks again.
7198 * org.el (org-nonsticky-props): Add `htmlize-link'.
7199 (org-nonsticky-props): Add `htmlize-link'.
7201 * org.el (org-edit-special):
7202 * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
7204 * org-table.el (org-table-fedit-lisp-indent)
7205 (orgtbl-self-insert-command): Use `org-delete-backward-char'
7206 instead of `backward-delete-char'.
7208 * org-src.el (org-edit-src-code): Fix another bug about editing
7209 special blocks "example" and "verbatim".
7211 * org.el (org-structure-template-alist): Add verbatim.
7212 (org-edit-special): Fix bug about editing special blocks
7213 "example" and "verbatim".
7215 * org.el (org-delete-backward-char, org-delete-char):
7216 Save match data, `delete-backward-char' and `delete-char' don't.
7218 * org.el (org-enable-table-editor, org-insert-heading)
7219 (org-remove-timestamp-with-keyword, org-self-insert-command):
7220 * org-table.el (org-table-fedit-lisp-indent)
7221 (orgtbl-self-insert-command):
7222 * org-latex.el (org-export-latex-subcontent):
7223 * org-clock.el (org-clocktable-write-default):
7224 * org-ascii.el (org-export-ascii-preprocess):
7225 Use `delete-backward-char' instead of `backward-delete-char'.
7227 * org.el (org-todo): Ignore the comment string when changing the
7228 TODO state of a headline.
7229 (org-edit-special): Fix docstring.
7230 (org-in-src-block-p): Small enhancement.
7232 * org-publish.el (org-publish-org-to): Call `org-export-as-*'
7233 functions with the correct list of arguments.
7235 * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
7236 (org-export-as-html-and-open, org-export-as-html-batch)
7237 (org-export-region-as-html): Don't use obsolete arg.
7239 * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
7240 (org-export-as-ascii-to-buffer): Don't use obsolete arg.
7242 * org.el (org-in-fixed-width-region-p): Save match data.
7243 (org-in-src-block-p): Use case-folding for searching the block
7245 (org-activate-plain-links, org-activate-angle-links)
7246 (org-activate-bracket-links): Prevent link activation in
7249 * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
7250 setting the correct buffer before marking it unmodified to
7253 * org.el (org-set-font-lock-defaults): Don't activate links in
7254 source code blocks and fixed-width regions.
7256 * org-agenda.el (org-agenda-finalize): Fix links activation.
7258 * org.el (org-open-at-point): Throw the correct error on
7259 non-links. Use `user-error' instead of `error'.
7261 * org.el (org-in-fixed-width-region-p): Define before use.
7263 * org-src.el (org-in-src-block-p): Declare function.
7265 * org-compat.el: Fix bug: don't use `eval-when-compile' when
7266 aliasing `user-error'.
7268 * org-agenda.el (org-agenda-skip): Only check if point is
7269 inside a code block, not at a code block.
7271 * org.el (org-in-fixed-width-region-p):
7272 Rewrite using org-element.el.
7274 * org.el (org-fill-paragraph): Fill correctly in source code block.
7276 * org.el (org-in-fixed-width-region-p): New function.
7277 (org-edit-special): Fix bug: make sure to DTRT in every
7278 special environment. Also use the new function to check
7279 against fixed-width environment.
7281 * org-src.el (org-edit-src-code): Check if we are in a source code
7282 block with `org-in-src-block-p'. Slightly reformat the docstring.
7284 * org.el (org-in-src-block-p): Return t when point is at the
7285 #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
7286 'inside is set to t.
7288 * ob-exp.el (obe-marker): Delete useless var.
7290 * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
7291 (copy-marker nil) on Emacs <24.1.
7293 2013-01-09 Dmitry Antipov <dmantipov@yandex.ru>
7295 * org-agenda.el (org-agenda-get-restriction-and-command):
7296 * org-capture.el (org-capture-place-template):
7297 * org-colview.el (org-dblock-write:columnview):
7298 * org-mobile.el (org-mobile-locate-entry):
7299 * org-table.el (org-table-convert-region):
7300 * org.el (org-update-statistics-cookies): Use `point-marker'.
7302 2013-01-09 Eric Schulte <eric.schulte@gmx.com>
7304 * org-exp.el (org-export-string): Pass the dir option on through
7305 to any subsequent export functions.
7307 2013-01-09 Henning Weiss <hdweiss@gmail.com> (tiny change)
7309 * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
7310 description from block agendas when they have a title.
7312 2013-01-09 Jambunathan K <kjambunathan@gmail.com>
7314 * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
7315 Fix Emacs Bug#13254.
7317 * org-odt.el (org-odt-format-org-link): Add check for presence of
7318 description in headline links.
7320 2013-01-09 Michael Gauland <mike_gauland@stanfordalumni.org> (tiny change)
7322 * org-src.el: Create a marker to pass to copy-marker.
7324 2013-01-09 Nicolas Goaziou <n.goaziou@gmail.com>
7326 * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
7327 nil because `org-adaptive-fill-function' already determines which
7328 lines should be filled.
7330 * org.el (org-fill-paragraph): Small refactoring.
7332 * org-element.el (org-element--parse-elements)
7333 (org-element-at-point): Fix parsing of a list in a block in a list.
7335 2013-01-09 Sebastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
7337 * org.el (org-copy-subtree, org-paste-subtree):
7338 Fix whitespace handling when copying/pasting a subtree.
7340 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
7342 * ob.el (org-babel-temp-file): Fix setting of
7343 `temporary-file-directory' on remote hosts.
7345 * ob-eval.el (org-babel-shell-command-on-region):
7346 Use `process-file' instead of `call-process-region'. The latter one
7347 does not work on remote hosts.
7349 2012-12-13 Bastien Guerry <bzg@gnu.org>
7351 * org-latex.el (org-export-latex-links): Escape raw path when
7352 exporting links to files.
7354 * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
7355 S-TAB key should not trigger a native TAB command.
7357 * org.el (org-open-at-point): Allow to open any link within
7358 footnotes definition, not only bracket links.
7360 * org.el (org-sort-entries): Bugfix: keep track of the clock
7361 marker when sorting entries. Enhance the docstring.
7363 * org-clock.el (org-clock-out): Use `user-error' when the user
7364 tries to clock out while there is no running clock.
7366 * org-table.el (org-table-sort-lines): Ensure coordinates are
7367 correctly displayed when sorting.
7369 * org.el (org-do-sort): Enhance prompt.
7371 * org-agenda.el (org-agenda-finalize): Also activate plain links.
7373 * org-timer.el (org-timer-stop): Add message.
7375 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
7376 Fix redundant messages.
7378 * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
7380 * org.el (org-additional-option-like-keywords): Add "INDEX:".
7382 * org-install.el: Enhance warning.
7384 2012-12-13 Erik Hetzner <egh@e6h.org> (tiny change)
7386 * org.el (org-log-into-drawer): Honor the nil value for the
7387 :LOG_INTO_DRAWER: property.
7389 2012-12-13 Le Wang <l26wang@gmail.com> (tiny change)
7391 * org-src.el (org-edit-src-exit): Fix editing source section with
7394 2012-12-13 Le Wang <le.wang@agworld.com.au>
7396 * org-src.el (org-edit-src-code): Use marker with insertion type
7397 t to track end and remove hack requiring delete from beg to (1- end).
7399 2012-12-13 Nicolas Goaziou <n.goaziou@gmail.com>
7401 * org-element.el (org-element-context): When point is between two
7402 objects, be sure to return the second one.
7404 * org-list.el (org-list-separating-blank-lines-number):
7405 When computing number of blank lines separating items, also count those
7406 in unparsed blocks, like example blocks.
7408 * org.el (org-end-of-line): When visual line mode is on, really
7409 move by visual lines. Small refactoring.
7411 * org.el (org-end-of-line): On a hidden block make sure to
7412 delegate motion to `end-of-line' instead of `move-end-of-line' in
7413 order to stay on the current line.
7415 2012-12-13 Rafael Laboissiere <rafael@laboissiere.net> (tiny change)
7417 * org-bibtex.el: In the documentation section of the file, fix the
7418 broken URL to Andrew Roberts' document on BibTeX entries.
7420 * org-remember.el (org-remember-handler): Correctly strip the
7421 comment lines in the temporary buffer *Remember* when handling a
7424 * org-remember.el (org-remember-apply-template): Start the
7425 commented lines in the Remember temporary buffer with the
7426 appropriate characters.
7428 2012-12-13 Toby S. Cubitt <tsc25@cantab.net>
7430 * org.el (org-beginning-of-line): Check `visual-line-mode' instead
7431 of `line-visual-mode' to determine whether to move by visual lines.
7433 * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
7435 2012-12-04 Chong Yidong <cyd@gnu.org>
7437 * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
7440 2012-10-26 Achim Gratz <stromeko@stromeko.de>
7442 * ob-ditaa.el: Needs to (require 'org-compat) for
7443 org-find-library-dir.
7445 * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
7446 work when loaded from compressed files.
7448 * org-compat.el: Make sure that file-name-directory is getting a
7449 stringp. This avoids a possible " (wrong-type-argument stringp
7450 nil)" error when the library in question does not exist.
7452 * org-odt.el: Replace arc-mode.el by arc-mode.
7454 * org.el: Replace org-macs.el by org-macs.
7456 * org-install.el: Provide an empty file that prints a warning
7457 about an outdated configuration.
7459 2012-10-26 Bastien Guerry <bzg@gnu.org>
7461 * org-latex.el (org-export-as-latex): Remove obsolete argument
7462 `hidden'. Also fix the docstring: using 'string as the value
7463 for `to-buffer' outputs a string with no LaTeX header.
7464 (org-export-as-latex-batch)
7465 (org-export-as-latex-to-buffer, org-export-region-as-latex)
7466 (org-export-as-pdf): Don't use the obsoleted argument.
7468 * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
7471 * org.el (org-refile): Run within `with-demoted-errors' so that a
7472 corrupted bookmark file does not stop the refile process.
7474 * org-capture.el (org-capture-bookmark-last-stored-position):
7475 Ditto for the capture process.
7477 * org-src.el (org-edit-src-exit): Fix bug when saving an empty
7480 * org-lparse.el (org-lparse): Fix bug by returning the output
7483 * org.el (org-refile-check-position): Throw an error when the
7484 refile target is the current buffer and is not a file.
7485 (org-agenda-file-to-front, org-remove-file): Throw an error
7486 when the current buffer is not a file.
7487 (org-check-agenda-file): Enhance the message.
7488 (org-element-type): Autoload.
7489 (org-element-context, org-element-paragraph-parser):
7490 Don't declare as these two functions are not used in org.el.
7492 * org-lparse.el (browse-url-file-url): Declare.
7494 * org.el (org-refile-check-position): Fix typo in docstring.
7496 * org-clock.el (org-clock-modeline-total): Make obsolete.
7497 (org-clock-mode-line-total): Rename from
7498 `org-clock-modeline-total'.
7499 (org-clock-get-sum-start): Fix references to
7500 `org-clock-modeline-total'.
7502 * org-faces.el (org-agenda-filter-tags)
7503 (org-agenda-filter-category, mode-line): Use the 'mode-line
7504 face instead of the obsolete 'modeline.
7506 * org-odt.el (org-odt-styles-dir): Try more directories.
7507 Don't throw an error, just send a message.
7509 * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
7510 (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
7511 (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
7512 correct directories without requiring other variables.
7514 * org-loaddefs.el: New file.
7516 * org.el ("org-loaddefs.el"): Don't throw an error if the file
7518 (org-version): Use org-loaddefs.el instead of org-install.el.
7520 * org.el: Don't dynamically autoload already autoloaded
7522 (org-clock-update-time-maybe): Move to org-clock.el.
7524 * org-exp.el (org-insert-export-options-template):
7525 Remove autoload cookie.
7527 * org-clock.el (org-resolve-clocks, org-clock-in)
7528 (org-clock-out, org-clock-cancel, org-clock-goto)
7529 (org-clock-sum, org-clock-display, org-clock-report)
7530 (org-dblock-write:clocktable): Add autoload cookie.
7531 (org-clock-update-time-maybe): Move from org.el.
7533 * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
7535 * org-ascii.el (org-export-ascii-preprocess): Ditto.
7537 * org-archive.el (org-archive-subtree)
7538 (org-archive-to-archive-sibling, org-toggle-archive-tag):
7539 Add autoload cookie.
7541 * org-colview.el (org-columns, org-dblock-write:columnview)
7542 (org-insert-columns-dblock, org-agenda-columns): Ditto.
7544 * org-table.el (org-table-create-with-table.el)
7545 (org-table-create-or-convert-from-region, org-table-create)
7546 (org-table-convert-region, org-table-import)
7547 (org-table-export, org-table-align)
7548 (org-table-justify-field-maybe, org-table-next-field)
7549 (org-table-previous-field, org-table-next-row)
7550 (org-table-copy-down, org-table-field-info)
7551 (org-table-current-dline, org-table-goto-column)
7552 (org-table-insert-column, org-table-delete-column)
7553 (org-table-move-column-right, org-table-move-column-left)
7554 (org-table-move-column, org-table-move-row-down)
7555 (org-table-move-row-up, org-table-move-row)
7556 (org-table-insert-row, org-table-insert-hline)
7557 (org-table-hline-and-move, org-table-kill-row)
7558 (org-table-sort-lines, org-table-cut-region)
7559 (org-table-copy-region, org-table-paste-rectangle)
7560 (org-table-convert, org-table-wrap-region)
7561 (org-table-edit-field, org-table-sum)
7562 (org-table-get-stored-formulas)
7563 (org-table-maybe-eval-formula)
7564 (org-table-rotate-recalc-marks)
7565 (org-table-maybe-recalculate-line, org-table-eval-formula)
7566 (org-table-recalculate, org-table-iterate)
7567 (org-table-edit-formulas)
7568 (org-table-toggle-coordinate-overlays)
7569 (org-table-toggle-formula-debugger, orgtbl-to-generic)
7570 (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
7571 (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
7573 * org.el (turn-on-orgtbl): Move here from org-table.el.
7574 (org-clock-persistence-insinuate): Move here from org-clock.el.
7575 (org-update-all-dblocks, org-map-entries)
7576 (org-require-autoloaded-modules, org-forward-element)
7577 (org-backward-element, org-up-element)
7578 (org-element-greater-elements, org-drag-element-backward)
7579 (org-drag-element-forward, org-mark-element)
7580 (org-narrow-to-element, org-transpose-element)
7581 (org-unindent-buffer): Don't autoload.
7583 * org-clock.el (org-clock-get-clocktable): Rename from
7584 `org-get-clocktable'.
7585 (org-clock-persistence-insinuate): Move to org.el.
7587 * org-capture.el: Do no set `generated-autoload-file' locally.
7588 Minor code clean up.
7590 * org-agenda.el (org-agenda-list):
7591 Use `org-clock-get-clocktable'. Do no set
7592 `generated-autoload-file' locally.
7594 * org-table.el (org-table-iterate-buffer-tables):
7596 (turn-on-orgtbl): Move to org.el.
7598 * org-html.el (org-export-htmlize-generate-css): Don't autoload.
7600 * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7603 * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
7605 * ob-lob.el (org-babel-lob-ingest): Ditto.
7607 * org-id.el (org-id-copy)
7608 (org-id-get-with-outline-path-completion)
7609 (org-id-get-with-outline-drilling): Ditto.
7611 * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7612 (org-lparse-to-buffer, org-replace-region-by)
7613 (org-lparse-region): Ditto.
7615 * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7617 * org.el (org-cycle): Fix misplaced autoload cookie.
7619 * org-agenda.el (org-agenda-get-timestamps): Check if the item
7620 is an habit when formatting it with `org-agenda-format-item'.
7621 (org-agenda-get-blocks): Fix bug: don't assume the item is an
7622 habit when formatting with `org-agenda-format-item'.
7624 * org.el (org-calendar-agenda-action-key): Delete an option.
7625 (org-mode-map): Delete its keybinding.
7626 (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7629 * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7630 being used outside of Org agendas, as it can be used in
7631 calendar buffers too.
7633 2012-10-26 Caio Tiago Oliveira <asrail@gmail.com> (tiny change)
7635 * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7636 block enclosing the submitted code.
7638 2012-10-26 Myles English <mylesenglish@gmail.com> (tiny change)
7640 * org-clock.el (org-clock-in): Move the call to
7641 org-clock-in-prepare-hook until the task's properties
7644 2012-10-26 Nicolas Goaziou <n.goaziou@gmail.com>
7646 * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7647 mode is nil when pre-computed `fill-prefix' is the empty string.
7648 Otherwise filling functions from fill.el think it has to be computed
7649 again and overwrite it.
7651 * org.el: Make `org-closest-date' aware of hours repeaters.
7653 * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7654 moving to the end of line. Also improve behavior on elements that
7657 * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7660 * org-element.el (org-element--get-next-object-candidates):
7661 Fix parsing of objects of the same type in a single paragraph.
7663 * org-element.el (org-element-sub/superscript-successor):
7664 Fix parsing of sub/superscript at beginning of item.
7665 (org-element-latex-or-entity-successor): Fix parsing of latex
7666 fragments at beginning of item.
7668 * org-agenda.el (org-agenda-later): Fix function when span is
7669 a number and an argument was provided. Also fix typo in docstring.
7671 * org.el (org-read-date-analyze): Fix analyzing for dates like
7674 * org-element.el (org-element-center-block-parser)
7675 (org-element-drawer-parser, org-element-footnote-definition-parser)
7676 (org-element-inlinetask-parser, org-element-plain-list-parser)
7677 (org-element-quote-block-parser, org-element-special-block-parser)
7678 (org-element-babel-call-parser, org-element-clock-parser)
7679 (org-element-comment-parser, org-element-comment-block-parser)
7680 (org-element-example-block-parser, org-element-export-block-parser)
7681 (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7682 (org-element-keyword-parser, org-element-latex-environment-parser)
7683 (org-element-paragraph-parser, org-element-planning-parser)
7684 (org-element-property-drawer-parser, org-element-src-block-parser)
7685 (org-element-table-parser)
7686 (org-element-verse-block-parserorg-element-dynamic-block-parser):
7687 Make sure element never ends at the end of a blank non-empty line.
7689 * org-element.el (org-element-context)
7690 (org-element--get-next-object-candidates): Fix `org-element-context'.
7691 In particular, the restrictions for an object may be different from
7692 those of its container (i.e. table rows and table cells).
7694 * org-element.el (org-element-example-block-parser)
7695 (org-element-src-block-parser): Store value of example-blocks and
7696 src-blocks unescaped.
7697 (org-element-example-block-interpreter)
7698 (org-element-src-block-interpreter): Escape value again when storing
7701 * org-src.el (org-escape-code-in-string)
7702 (org-unescape-code-in-string, org-escape-code-in-region)
7703 (org-unescape-code-in-region): New functions.
7704 (org-edit-src-code, org-edit-src-exit): Use new functions.
7706 * org.el (org-strip-protective-commas): Remove function.
7708 * org-exp.el (org-export-select-backend-specific-text): Use new
7711 * ob.el (org-babel-parse-src-block-match)
7712 (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7713 Always escape produced blocks, independently on the language of the
7714 block, if any. Use new functions.
7716 * org-element.el (org-element-paragraph-parser): Fix regexp
7719 * org-element.el (org-element-center-block-parser):
7720 (org-element-drawer-parser, org-element-dynamic-block-parser)
7721 (org-element-example-block-parser, org-element-export-block-parser)
7722 (org-element-latex-environment-parser, org-element-paragraph-parser)
7723 (org-element-property-drawer-parser, org-element-src-block-parser)
7724 (org-element-verse-block-parser): Use stricter regexps for boundaries
7727 2012-10-26 Toby S. Cubitt <tsc25@cantab.net>
7729 * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7730 beginning of re-search-forward loop, otherwise next iteration picks up
7731 `extra' value from previous entry.
7733 2012-09-30 Abdó Roig-Maranges <abdo.roig@gmail.com>
7735 * org-html.el (org-export-html-preprocess)
7736 (org-export-html-format-image):
7737 Use `org-latex-preview-ltxpng-directory'.
7739 * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7742 * org.el (org-latex-preview-ltxpng-directory): New option.
7743 (org-preview-latex-fragment): Store LaTeX preview images in
7744 `org-latex-preview-ltxpng-directory'.
7746 2012-09-30 Achim Gratz <Stromeko@Stromeko.DE>
7748 * ob-R.el (org-babel-R-initiate-session): Protect against use of
7749 unbound variable `ess-ask-for-ess-directory´. The default for this
7750 variable is true, so act accordingly if it is found unbound.
7752 * ob-R.el: Remove initialization with `nil´ from
7753 `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7754 Remove second declaration for `ess-local-process-name´.
7756 * org-gnus.el: Add a missing require for gnus-util.
7758 * org-compat.el: Rename utils to make throughout.
7760 * org.el: Move check for outline-mode-keymap after (require
7763 * org-element.el: New file. Do not (require 'org).
7765 * org-agenda.el: Remove duplicate requires.
7767 * org.el (org-mode-map): Add keybindings to
7768 `org-element-transpose' and `org-narrow-to-element'.
7769 (org-metaup): Fall back on `org-element-drag-backward'.
7770 (org-metadown): Fall back on `org-element-drag-forward'.
7771 Also move chunks of declarations and require statements to get rid of
7774 * org-exp-blocks.el (org): Don't require org. Add declarations.
7776 * org-clock.el (org): Don't require org.
7778 * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7780 * ob.el (org-babel-exeext): New defconst to hold extension for
7781 executables or nil if none. Should be ".exe" for both Windows and
7784 * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7785 constructing the target file name for the compiled executable.
7787 * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7788 when constructing the target file name for the compiled
7791 * org-version.el: New file.
7793 * org-compat.el (org-check-version): New macro. Check if
7794 org-version.el exists and provide autoloads to that. Otherwise
7795 check if org-fixup.el exists and use it to provide definitions.
7796 Finally if nothing worked, complain about a botched installation
7797 and provide fallback definitions.
7799 * org.el: Use org-check-version.
7801 * org.el: Fix a subtle error resulting in version functions
7802 sometimes not being defined and byte-compiling failing.
7803 Always compile in fallback definitions into org.elc -- org-fixup either
7804 provides re-definitions at compile-time or checks org-version.el
7805 and then the git work tree when run uncompiled. So the fallback
7806 definitions will only come into effect when org-fixup is not
7809 * org.el (org-version): Make org-version more robust, e.g. when
7810 byte-compiling single files with 'make compile-dirty'.
7812 * org.el (org-reload): Revert an undesirable change in org-reload.
7813 Do not prepend org-dir to babel-files, which prevents the files
7814 from being found in load-path.
7816 * org.el (org-version): Add optional parameters 'full and 'message
7817 to optionally return the full version string and echo to message
7818 area in non-interactive calls.
7820 * org.el (org-submit-bug-report): Add optional parameter 'full to
7821 call of (org-version) so that the bug report has all version
7824 * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7825 exist anymore). Keep org-*.el at the end of the files list.
7826 Explicitly load org-version.el (since it doesn't provide feature
7827 'org-version) at the very end, but ignore errors when it doesn't
7828 exist. Add parameters 'full and 'message to the call of
7829 (org-version) so that after reload the full version information is
7830 displayed in the message area again.
7832 * org-agenda.el: Replace with-no-warnings with org-no-warnings
7833 (defined in org-macs.el).
7835 * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7836 (defined in org-macs.el).
7838 * org-clock.el: Replace with-no-warnings with org-no-warnings
7839 (defined in org-macs.el).
7841 * org.el: Replace with-no-warnings with org-no-warnings (defined
7844 * org.el: Add with-not-warnings around call of (org-fixup).
7846 * org-compat.el (org-find-library-dir):
7847 Rename org-find-library-name (misleading) and implement with a function
7848 that exists identically in Emacs/XEmacs.
7850 * org-exp-blocks.el: Change calls to org-find-library-dir.
7852 * org.el: change calls to org-find-library-dir. Make require for
7853 noutline fail silently because it is missing from XEmacs.
7855 * org.el (org-version): Use functions instead of global variables
7856 to get the version strings and remove the defvaralias to
7857 org-version. Warn when encountering a mixed installation (org and
7858 org-install.el should be found in the same directory).
7860 * org.el: Add with-no-warning to defvar for two unprefixed global
7861 variables from calendar.el (there's nothing else we can do inside
7862 org until it is fixed in calendar.el).
7864 * org.el: Require find-func and remove declare-function for
7865 find-library-name, otherwise autoloaded org-version doesn't show
7868 * org.el (org-version): Show the full path to org-install.el in
7869 the version string to avoid confusion if multiple installations
7870 exist or a previously loaded org-install.el has already defined a
7871 version string that is now out of date.
7873 * org.el (org-version): Remove determination of version
7874 information, show "N/A" if the information is not provided via
7877 * org.el (org-git-version): Placeholder for recording the Git
7878 version of org during install
7880 * org.el (org-version): Initialize local git-version with
7881 placeholder and fall through using it when org is not installed in
7884 2012-09-30 Adam Spiers <orgmode@adamspiers.org> (tiny change)
7886 * org-html.el: Add hyperlink to http://orgmode.org/ from export
7889 * org-clock.el (org-clock-modify-effort-estimate): Display a
7890 message when no clock is currently active.
7892 2012-09-30 Andrew Hyatt <ahyatt@gmail.com> (tiny change)
7894 * org-archive.el (org-archive-subtree): Allow archiving to a
7897 * org.el (org-archive-location): Ditto.
7899 2012-09-30 Bastien Guerry <bzg@gnu.org>
7901 * ob-io.el: New file.
7903 * ob-scala.el: New file.
7905 * org.el (org-url-hexify-p, org-doi-server-url)
7906 (org-latex-preview-ltxpng-directory, org-custom-properties)
7907 (org-sparse-tree-default-date-type): Add :version "24.3".
7909 * org-agenda.el (org-agenda-sticky)
7910 (org-agenda-custom-commands-contexts): Ditto.
7912 * org-capture.el (org-capture-bookmark)
7913 (org-capture-templates-contexts) (org-capture-use-agenda-date):
7916 * org-latex.el (org-export-latex-hyperref-options-format)
7917 (org-export-latex-link-with-unknown-path-format): Ditto.
7919 * org-id.el (org-id-link-to-org-use-id): Ditto.
7921 * org-datetree.el (org-datetree-add-timestamp): Ditto.
7923 * org.el (org-make-link-description-function): Enhance docstring.
7924 (org-insert-link): Fall back on interactive prompt when
7925 `org-make-link-description-function' fails.
7927 * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7928 `org-agenda-sticky' is non-nil.
7930 * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7931 (org-agenda-pre-follow-window-conf): New variable.
7932 (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7933 window when there an indirect buffer is already displayed.
7935 * org-agenda.el (org-agenda-manipulate-query)
7936 (org-agenda-goto-date, org-agenda-goto-today)
7937 (org-agenda-find-same-or-today-or-agenda, )
7938 (org-agenda-later, org-agenda-change-time-span)
7939 (org-agenda-change-all-lines)
7940 (org-agenda-execute-calendar-command)
7941 (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7942 get a property from (1- (point-max)), not (point-max)).
7944 * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7947 * org-table.el (org-table-eval-formula): Convert time-stamps to
7948 inactive time-stamp so that Calc can handle them correctly.
7950 * org-table.el (org-table-fix-formulas): Warn with a message when
7951 formulas have been updated.
7953 * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7954 base-dir argument and use (file-name-directory file) to get the
7956 (org-publish-update-timestamp)
7957 (org-publish-cache-file-needs-publishing):
7958 Call `org-publish-cache-ctime-of-src' with only one argument.
7960 * org.el (org-follow-timestamp-link): Fix bug when using sticky
7961 agenda. Add a docstring.
7963 * org-agenda.el (org-agenda-sticky): Don't use a function to set.
7964 Add a :version string.
7966 * org.el (org-priority): Use a new argument to show priority
7967 instead of setting it.
7968 (org-show-priority): New function to show priority both in normal
7969 Org buffers and in Org Agenda buffers.
7970 (org-speed-commands-default): Use "," as a speed command for
7973 * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
7974 to `C-c ,' as it was before.
7975 (org-agenda-show-priority): Delete.
7976 (org-agenda-priority): Use a new argument to show priority instead
7979 * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
7981 (org-display-inline-remove-overlay): Rename from
7982 `org-display-inline-modification-hook'.
7983 (org-speed-command-activate): Rename from
7984 `org-speed-command-default-hook'.
7985 (org-babel-speed-command-hook): Rename from
7986 `org-babel-speed-command-activate'.
7988 * org-agenda.el (org-agenda-update-agenda-type): Rename from
7989 `org-agenda-post-command-hook'.
7990 (org-agenda-mode): Use the new name.
7991 (org-agenda-post-command-hook): Define as obsolete function.
7993 * org-lparse.el (org-lparse): Temporarily activate the hooks
7994 needed for the ODT conversion.
7995 (org-lparse-preprocess-after-blockquote): Rename from
7996 `org-lparse-preprocess-after-blockquote-hook'.
7997 (org-lparse-strip-experimental-blocks-maybe): Rename from
7998 `org-lparse-strip-experimental-blocks-maybe'.
7999 (org-lparse-preprocess-after-blockquote-hook)
8000 (org-lparse-strip-experimental-blocks-maybe-hook): Define as
8003 * ob.el (org-babel-insert-result): Comma-escape results inserted
8004 with ":results org".
8006 * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
8007 saving the source editing window with the default value for
8008 `org-src-window-setup' (i.e. 'reorganize-frame).
8010 * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
8011 fontify the last character.
8013 * org.el (org-open-at-point): Don't follow timestamp within
8016 * org-capture.el (org-capture-templates): Fix typo in docstring.
8018 * org-agenda.el (org-agenda-skip): Skip information retrieved from
8021 * ob.el (org-babel-common-header-args-w-values)
8022 (org-babel-insert-result): Reintroduce ":results org" but using
8023 "#+BEGIN_SRC org", not "#+BEGIN_ORG".
8025 * ob.el (org-babel-common-header-args-w-values): Remove "org" the
8026 list of predefined values for the ":results" parameter.
8028 * ob.el (org-babel-insert-result): Remove support for ":results
8031 * ob.el (org-babel-common-header-args-w-values)
8032 (org-babel-insert-result): Deprecate ":results wrap" in favor of
8035 * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
8036 happens before the first headline.
8038 * org-capture.el (org-at-encrypted-entry-p)
8039 (org-encrypt-entry, org-decrypt-entry): Declare.
8040 (org-capture-set-target-location): Check whether `org-crypt' has
8043 * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
8046 * org-capture.el (org-capture-finalize): Maybe re-encrypt the
8047 target headline if it was decrypted.
8048 (org-capture-set-target-location): Maybe decrypt the target
8051 * org-crypt.el (org-at-encrypted-entry-p): New function.
8053 * org.el (org-options-keywords): Add "STYLE:".
8055 * org-agenda.el (org-agenda-ndays): Don't make an alias, as
8056 `org-agenda-span' is defined separately.
8058 * org.el (org-in-subtree-not-table-p): New utility function for
8060 (org-org-menu): Add an item for refiling. Check more contexts
8061 when activating items.
8062 (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
8064 * org-agenda.el (org-agenda-tree-to-indirect-buffer)
8065 (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
8067 * org-capture.el (org-capture-set-target-location): Set a correct
8068 time value when storing a note in a datetree and prompting the
8071 * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
8074 * org-agenda.el (org-agenda-menu-two-column)
8075 (org-finalize-agenda-hook, org-agenda-ndays):
8076 Use `define-obsolete-variable-alias' instead of
8077 `make-obsolete-variable'.
8079 * org.el (org-link-to-org-use-id): Move to org-id.el.
8081 * org-id.el (org-id-link-to-org-use-id): Rename from
8082 `org-link-to-org-use-id'. Use `nil' as the default value.
8083 (org-link-to-org-use-id): Alias and define as obsolete.
8085 * org-agenda.el (org-search-view, org-agenda-get-todos)
8086 (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
8087 parameter of `org-agenda-format-item' so that 'time-up and
8088 'time-down agenda sorting strategies are handled correctly.
8090 * org-capture.el (org-capture-fill-template): Fix checking of
8091 protected template entries.
8093 * org.el (org-cycle-global-at-bob): Fix typo in docstring.
8095 * org.el (org-insert-drawer): Deactivate the mark before trying to
8096 indent the :END: of the drawer.
8098 * org-agenda.el (org-agenda-export-html-style): Default to nil as
8099 any string value will replace the htmlize style.
8101 * org.el (org-cycle-hook): Fix tiny typo in docstring.
8103 * org.el (org-time-string-to-time)
8104 (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
8106 * org-freemind.el (org-freemind-write-node): Enhance links
8107 conversion in nodes.
8109 * org-freemind.el (org-freemind-write-node): Convert links in
8112 * org.el (org-link-to-org-use-id, org-directory)
8113 (org-default-notes-file, org-reverse-note-order)
8114 (org-extend-today-until, org-finish-function)
8115 (org-store-link-functions): Use "capture" instead of "remember" in
8116 docstrings. Also use the `org-capture' group when it makes sense.
8118 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
8119 correct agenda buffer. Don't split the agenda window when the
8120 indirect buffer is displayed in another frame.
8122 * org.el (org-mode): Try to set the org-hide face correctly.
8124 * org-exp.el (org-export): Set the mark correctly when exporting a
8127 * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
8128 display of the number of commands for block agendas.
8130 * org-agenda.el (org-agenda-before-write-hook)
8131 (org-agenda-add-entry-text-maxlines): Enhance phrasing.
8132 (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
8133 buffer is writable when the hook is called.
8134 (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
8137 * org-agenda.el (org-habit-show-all-today): Only use defvar to
8138 silent the byte-compiler.
8139 (org-agenda-get-scheduled): Check whether some org-habit.el
8140 options have been defined.
8142 * org-capture.el (org-capture-entry): New variable.
8143 (org-capture-string, org-capture): Use it to possibly skip the
8144 interactive prompt for a capture template.
8146 * org.el (org-activate-plain-links): Don't try to check if we are
8147 in a bracket link already.
8149 * org.el (org-read-date-analyze): Fix bug introduced in commit
8150 cc5f9f: adding a time should not prevent relative answers to be
8153 * org-agenda.el (org-agenda-bulk-action): Always read the date
8154 through `org-read-date'. When possible, use the date at point as
8157 * org-agenda.el (org-agenda-bulk-action): Fix bug when
8158 bulk-shifting timestamps.
8160 * org.el (org-version): New constant.
8162 * org-compat.el (org-random): New compatibility function.
8164 * org-id.el (org-id-uuid): Use it.
8166 * org-capture.el (org-capture-use-agenda-date): New option.
8167 (org-capture): Use it.
8169 * org-agenda.el (org-agenda-capture): New command.
8170 (org-agenda-mode-map): Bind it to `k'.
8171 (org-agenda-menu): Add it to the menu.
8173 * org-capture.el (org-capture): Update docstring.
8175 * org-capture.el (org-capture): When called from an agenda buffer,
8176 use the cursor date at the default date.
8178 * org-agenda.el (org-agenda-bulk-action): Use the let-bound
8179 `entries' instead the variable.
8181 * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
8182 persistent marks too early.
8184 * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
8185 point to reset the scheduled or deadline cookie. On date headers,
8186 use it without prompting the user. On an item, use the item's
8187 date as the default prompt for `org-read-date'.
8189 * org.el (org-read-date): Docstring fix.
8191 * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
8194 * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
8195 (org-agenda-mode-map): Delete related keys.
8197 * org-agenda.el (org-agenda-menu): Fix a keybinding.
8199 * org-colview.el (org-columns-goto-top-level): Correctly move the
8200 marker `org-columns-top-level-marker'.
8201 (org-agenda-columns): Don't set
8202 `org-agenda-overriding-columns-format' as a buffer variable, as we
8203 only need it dynamically.
8204 (org-agenda-colview-summarize): Fix a bug in returning the match
8207 * org-agenda.el (org-agenda-span-to-ndays): Make the second
8208 argument `starting-day' optional.
8209 (org-agenda-goto-date): Keep parameters of custom agendas.
8211 * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
8212 name through a temporary variable.
8213 (org-agenda-buffer-tmp-name): New variable to temporary store the
8216 * org-agenda.el (org-agenda-goto-date): Fix behavior when using
8219 * org-agenda.el (org-diary): Don't check whether there is an
8220 agenda buffer when trying to compile the prefix format.
8221 (org-compile-prefix-format): Check if there is an agenda buffer.
8222 If not, use the current buffer.
8224 * org-agenda.el (org-agenda-get-day-entries): Set the agenda
8225 buffer inconditionnally.
8227 * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
8228 more general regexp.
8230 * ob.el (org-babel-where-is-src-block-head): Find a src block head
8231 correctly when #+header(s) is before #+name.
8233 * org-agenda.el (org-agenda-finalize-hook)
8234 (org-agenda-finalize, org-agenda-finalize-entries): Rename from
8235 org-finalize-agenda-*.
8236 (org-agenda-run-series, org-agenda-finalize, org-timeline)
8237 (org-agenda-list, org-search-view, org-todo-list)
8238 (org-tags-view, org-diary, org-agenda-finalize-entries)
8239 (org-agenda-change-all-lines): Use the new names.
8241 * org-agenda.el (org-agenda-local-vars):
8242 Remove ̀org-agenda-last-arguments' from the list of local variables.
8243 (org-agenda-mode-map): `g' does the same than `r' in buffers with
8244 only one agenda view, but its behavior differs when there are
8245 several views. In manually appended agendas (with `A'), `g'
8246 displays only the agenda under the point. With multiple agenda
8247 blocks, `g' reinitializes the view by discarding any temporary
8248 changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
8249 changes for the agenda view under the point.
8250 (org-agenda-run-series, org-agenda-redo): Implement the above
8252 (org-agenda-mark-header-line): Don't set useless properties.
8253 (org-agenda-list, org-todo-only, org-search-view)
8254 (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
8255 (org-agenda-manipulate-query, org-agenda-goto-today)
8256 (org-agenda-later, org-agenda-change-time-span): Use text
8257 properties for storing the last command and the last arguments for
8259 (org-unhighlight-once): Delete.
8261 * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
8264 * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
8265 check whether we are in org-agenda-mode.
8267 * org-agenda.el (org-agenda-pre-window-conf): Rename from
8268 `org-pre-agenda-window-conf'.
8269 (org-agenda-local-vars, org-agenda-prepare-window)
8270 (org-agenda-Quit, org-agenda-quit): Use the new name.
8272 * org-agenda.el (org-keys, org-match): New variable, dynamically
8273 scoped in `org-agenda'.
8274 (org-agenda, org-agenda-list, org-search-view, org-todo-list)
8275 (org-tags-view): Use the new variables.
8276 (org-batch-store-agenda-views): Let-bind `match'.
8278 * org-agenda.el (org-search-view, org-todo-list)
8279 (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
8280 these functions programmatically. Also use the sticky agenda
8283 * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
8284 correctly with sticky agendas and non-custom commands.
8286 * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
8287 `org-fit-agenda-window'.
8288 (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
8289 (org-search-view, org-todo-list, org-tags-view): Use the new name.
8291 * org-agenda.el (org-agenda-prepare): Let `throw' display an
8294 * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
8295 when called from programs as (org-agenda-list).
8297 * org-agenda.el (org-todo-list): Make arg optional.
8299 * org.el (org-agenda-prepare-buffers): Rename from
8300 `org-prepare-agenda-buffers'.
8301 (org-match-sparse-tree, org-map-entries): Use the new names.
8303 * org-agenda.el (org-agenda-prepare-window): Rename from
8304 `org-prepare-agenda-window'.
8305 (org-agenda-prepare): Rename from `org-prepare-agenda'.
8306 (org-agenda-run-series, org-agenda-prepare, org-timeline)
8307 (org-agenda-list, org-search-view, org-todo-list)
8308 (org-tags-view, org-agenda-list-stuck-projects, org-diary)
8309 (org-agenda-to-appt): Use the new names.
8311 * org-mobile.el (org-mobile-create-index-file): Ditto.
8313 * org-icalendar.el (org-export-icalendar): Ditto.
8315 * org-clock.el (org-dblock-write:clocktable)
8316 (org-dblock-write:clocktable): Ditto.
8318 * org-agenda.el (org-agenda): In sticky agendas, use the current
8319 command's match to set the buffer name. This gives more
8320 information to the user and allows to distinguish various agendas
8321 triggered by the same key.
8322 (org-batch-store-agenda-views): Handle the new sticky agenda
8325 * org-agenda.el (org-agenda)
8326 (org-agenda-get-restriction-and-command): Use `S' as a key for
8327 searching words in TODO-only entries.
8329 * org-agenda.el (org-prepare-agenda): Fit agenda window when
8330 displaying a sticky agenda.
8332 * org-table.el (org-table-number-regexp): Allow the user to set it
8333 to a new regexp, which allows commas as decimal mark. The default
8334 is to not use this setting, but the one before commit 7ff8c1,
8335 which has ben reverted.
8337 * org-agenda.el (org-agenda-overriding-cmd)
8338 (org-agenda-multi-current-cmd)
8339 (org-agenda-multi-overriding-arguments): New variables.
8340 (org-agenda-run-series): `org-agenda-overriding-arguments'
8341 defaults to the last agenda block arguments, so don't use it
8343 (org-agenda-mark-header-line): Add properties needed so that
8344 `org-agenda-overriding-arguments', `org-agenda-current-span' and
8345 `org-agenda-last-arguments' can be set to their correct contextual
8347 (org-agenda-multi-back-to-pos): New variable.
8348 (org-agenda-later): Retrieve `org-agenda-current-span' and
8349 `org-agenda-overriding-arguments' from text properties.
8350 Also handle numeric span.
8351 (org-agenda-later, org-agenda-change-time-span):
8352 Set `org-agenda-overriding-cmd' so that we to take overriding
8353 arguments into account for this command only.
8355 * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
8356 Fix bug when called with a non-nil value of `org-agenda-stick'.
8358 * org-agenda.el (org-agenda-refile): Fix bug when refiling an
8359 entry from a sticky agenda.
8361 * org-agenda.el (org-prepare-agenda-window):
8362 Use `org-pre-agenda-window-conf' if already set.
8363 (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
8365 (org-agenda-quit): Ditto.
8367 * org-capture.el (org-capture-fill-template): Protect the text
8368 used for replacement from being further replaced.
8370 * org.el (org-contextualize-validate-key): Fix the check against a
8373 * org.el (org-contextualize-keys): Rename from
8374 `org-contextualize-agenda-or-capture'. Fix normalization to
8375 handle empty key replacement string.
8376 (org-contextualize-validate-key): Rename from
8377 `org-contexts-validate'. Allow checking against a custom
8380 * org-agenda.el (org-agenda-custom-commands-contexts): Update.
8381 (org-agenda): Use `org-contextualize-keys'.
8383 * org-capture.el (org-capture-templates-contexts): Ditto.
8385 * org.el (org-contextualize-agenda-or-capture):
8388 * org.el (org-contextualize-agenda-or-capture): Handle key
8389 replacement depending on the contexts.
8391 * org-capture.el (org-capture-templates-contexts): Allow to use
8392 the context as a way to replace one capture template by another
8395 * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
8396 use the context as a way to replace one agenda custom command by
8399 * org.el (org-contextualize-agenda-or-capture)
8400 (org-rule-validate): New functions, implement context filtering
8401 for agenda commands and capture templates.
8403 * org-agenda.el (org-agenda-custom-commands-contexts): New option.
8404 (org-agenda): Use it.
8406 * org-capture.el (org-capture-templates-contexts): New option.
8407 (org-capture-select-template): Use it.
8409 * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
8410 (org-mode): Set `beginning-of-defun-function' and
8411 `end-of-defun-function' directly.
8413 * org.el (org-insert-link): Fix bug: include links abbreviations
8416 * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
8417 `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
8418 items should not be ignored.
8420 * org.el (org-ds-keyword-length, org-make-tags-matcher):
8423 * org-freemind.el (org-freemind-convert-links-from-org): Replace
8424 literally to prevent errors when replacing with string containing
8427 * org-pcomplete.el (org-thing-at-point): Allow to match (and then
8428 complete) a "thing" containing dashes.
8430 * org-table.el (org-table-toggle-coordinate-overlays):
8431 Better message when interactively toggling.
8433 * org-table.el (org-table-number-regexp): Update the docstring to
8434 show an example of a decimal number using the comma as a
8437 * org-agenda.el (org-prepare-agenda): Minor code clean-up.
8438 (org-agenda-filter-by-category): Filtering must be turned off only
8439 when a category filter has been set and this filter is not empty.
8441 * org-agenda.el (org-search-view, org-agenda-get-todos)
8442 (org-agenda-get-timestamps, org-agenda-get-sexps)
8443 (org-agenda-get-progress, org-agenda-get-deadlines)
8444 (org-agenda-get-scheduled, org-agenda-get-blocks):
8445 Use `category-pos' instead of `org-category-pos'.
8447 * ob-fortran.el (org-babel-fortran-transform-list): Rename from
8448 `ob-fortran-transform-list'.
8449 (org-babel-fortran-var-to-fortran): Use the new function's name.
8451 * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
8452 `ob-calc-maybe-resolve-var'.
8453 (org-babel-execute:calc): Use the new function's name.
8455 * org-jsinfo.el (org-infojs-template): Add a license.
8456 (org-infojs-handle-options): Replace all template elements.
8458 * org-html.el (org-export-html-scripts): Add a license.
8459 (org-export-html-mathjax-config): Replace all template elements.
8460 (org-export-html-mathjax-template): Add a license.
8461 (org-export-as-html): Minor code clean-up.
8463 * org.el (org-options-keywords): Add "#+MATHJAX" and
8464 "#+INFOJS_OPT" to the list of keywords for completion.
8466 * org.el (org-src-prevent-auto-filling): Remove unused and useless
8469 * org.el (org-element-at-point): Autoload.
8470 (org-element-up): Remove useless declaration.
8471 (org-fill-context-prefix, org-fill-paragraph)
8472 (org-mark-element, org-narrow-to-element)
8473 (org-transpose-element, org-unindent-buffer): Do not require
8476 * org.el (org-fill-paragraph): Require org-element.
8478 * org-agenda.el (org-agenda-persistent-marks): Minor docstring
8481 * org.el (org-create-math-formula): Use the compatibility function
8482 `org-region-active-p'.
8484 * org-odt.el (org-export-as-odf): Ditto.
8486 * ob.el (org-babel-demarcate-block): Ditto.
8488 * org.el (org-mark-subtree): Maybe call `org-mark-element'
8490 (org-mark-element): Only mark further elements when called
8493 * org.el (org-mark-element, org-narrow-to-element)
8494 (org-transpose-element): Require org-element.
8496 * org-agenda.el (org-agenda-get-timestamps)
8497 (org-agenda-get-sexps, org-agenda-get-deadlines)
8498 (org-agenda-get-scheduled): Add the 'warntime as a text property,
8499 getting its value from the APPT_WARNTIME property.
8500 (org-agenda-to-appt): Use the 'warntime text property.
8502 * org-capture.el (org-capture-place-table-line): Fix bug.
8504 * org.el (org-activate-plain-links): Don't activate a plain link
8505 when it is part of a bracketed link, unless bracketed links are
8506 not enlisted in `org-activate-links'.
8507 (org-open-at-point): Don't consider the text immediately after a
8508 bracketed link is part of a plain link.
8510 * org.el (org-compute-latex-and-specials-regexp)
8511 (org-paste-subtree, org-sort-entries, org-store-link)
8512 (org-open-at-point, org-file-remote-p, org-add-log-setup)
8513 (org-set-tags-to, org-fast-tag-selection)
8514 (org-diary-sexp-entry): Ditto.
8516 * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
8517 (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
8518 (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
8519 end of (cond ...) constructs.
8521 * org-mobile.el (org-mobile-create-index-file): Ditto.
8523 * org-lparse.el (org-lparse-format-table-row): Ditto.
8525 * org-list.el (org-sort-list): Ditto.
8527 * org-id.el (org-id-get): Ditto.
8529 * org-html.el (org-export-html-preprocess): Ditto.
8531 * org-exp.el (org-default-export-plist)
8532 (org-table-clean-before-export): Ditto.
8534 * org.el (org-options-keywords): Add "TODO".
8535 (org-make-options-regexp): Make the hashtag mandatory for options
8536 and don't allow whitespaces between the hashtag and the plus sign.
8538 * org.el (org-refresh-category-properties)
8539 (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
8540 Allow lowercase "#+category" and "#+begin:" dynamic blocks.
8542 * org.el (org-context): Use case-folding when trying to match
8543 clocktables and source blocks contexts.
8545 * org-clock.el (org-clock-put-overlay): Put the overlay on the
8546 whole headline, not only on the last character. This fixes a bug
8547 with overlays on headlines ending with a bracketed link.
8549 * org-html.el (org-export-as-html): Make sure we always process a
8552 * org-exp.el (org-export-cleanup-toc-line): Always return a
8555 * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
8556 metalines with #+results[...]:.
8558 * org-exp.el (org-export-handle-metalines): Rename from
8559 `org-export-handle-table-metalines'. Now also handle source block
8561 (org-export-res/src-name-cleanup): Delete.
8562 (org-export-preprocess-string): Use `org-export-handle-metalines'.
8563 Don't use `org-export-res/src-name-cleanup' anymore.
8565 * org-html.el (org-format-org-table-html): Don't include the
8566 caption tag for empty captions in HTML export. Keep it in the
8567 DocBook export so that it produces valid DocBook XML.
8569 * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
8570 8am" to be parsed correctly with respect to possible values of
8571 `org-read-date-prefer-future'.
8572 (org-read-date-prefer-future): Update docstring to remove the
8573 restriction about inserting only the time. The user can now
8574 insert the time and the day.
8576 * org-icalendar.el (org-icalendar-print-entries): Rename from
8577 `org-print-icalendar-entries'.
8578 (org-icalendar-start-file): Rename from
8579 `org-start-icalendar-file'.
8580 (org-icalendar-finish-file): Rename from
8581 `org-finish-icalendar-file'.
8582 (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
8583 (org-export-icalendar): Use the correct functions.
8585 * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
8588 * org.el (org-fill-context-prefix): Require org-element.
8589 (org-timestamp-change): Fix bug by saving excursion when adjusting
8592 * org.el (org-read-date-prefer-future): Fix docstring formatting.
8593 (org-read-date-analyze): Fix the interpretation of
8594 `org-read-date-prefer-future'.
8596 * org-agenda.el (org-agenda-menu-two-column): Rename to
8597 `org-agenda-menu-two-columns'.
8599 * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
8600 Replace `org-labels' by `let*'.
8602 * org-bibtex.el (org-bibtex-headline): Ditto.
8604 * org-compat.el: Delete `org-labels'.
8606 * ob.el (org-babel-get-src-block-info)
8607 (org-babel-check-src-block, org-babel-current-result-hash)
8608 (org-babel-parse-src-block-match, org-babel-read-link)
8609 (org-babel-insert-result, org-babel-clean-text-properties):
8610 Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8611 (org-babel-clean-text-properties): Delete redundant function
8612 `org-babel-clean-text-properties'.
8614 * ob-tangle.el (org-babel-tangle-collect-blocks)
8615 (org-babel-tangle-comment-links): Ditto.
8617 * ob-table.el (sbe): Ditto.
8619 * ob-lob.el (org-babel-lob-get-info)
8620 (org-babel-lob-execute): Ditto.
8622 * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8624 * org-macs.el (org-no-properties): Allow a new parameter
8625 `restricted' to restrict the properties removal to those in
8626 `org-rm-props'. The default is now to remove all properties.
8628 * org-compat.el (org-substring-no-properties): Remove unused
8631 * org-remember.el (org-remember-apply-template): Remove redundant
8632 removal of text properties.
8633 (org-remember-apply-template): Use `org-no-properties'.
8635 * org-capture.el (org-capture-fill-template): Remove redundant
8636 removal of text properties.
8637 (org-capture-fill-template): Use `org-no-properties'.
8639 * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8640 Use `org-no-properties'.
8642 * org-colview.el (org-columns-display-here): Ditto.
8644 * org-table.el (org-table-eval-formula): Ditto.
8646 * org.el (org-entry-properties): Ditto.
8648 * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8649 handling `alarm-time'.
8651 * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8653 * org.el (org-store-log-note): Only skip comments starting with "#
8654 " when storing a note.
8656 * org.el (org-custom-properties): New option.
8657 (org-custom-properties-overlays): New variable.
8658 (org-toggle-custom-properties-visibility): New command to toggle
8659 the visibility of custom properties.
8660 (org-check-before-invisible-edit): Also prevent errors when trying
8661 to edit invisible properties.
8663 * org-datetree.el (org-datetree-add-timestamp): New option.
8664 (org-datetree-insert-line): Use it.
8666 * org.el (org-fill-template): Fix bug when filling template for a
8667 key associated to the nil value.
8669 * org-agenda.el (org-diary): Fix tiny typo.
8671 * org.el (message-in-body-p): Move declaration up to fix compiler
8674 * org.el (org-fill-context-prefix): Fix auto-filling in
8677 * org.el (org-fill-paragraph): Correctly fill paragraph in
8679 (org-indent-line): Correctly indent according to mode when
8680 `orgstruct++-mode' is on.
8681 (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8682 stored in `org-fb-vars'.
8684 * org.el (org-fill-paragraph): Make a command. Fix bug about
8685 filling message headers and citations.
8687 * org.el (org-redisplay-inline-images): New command.
8688 (org-mode-map): Bind it to C-c C-x C-M-v.
8690 * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8691 (org-columns-get-format): Fix compiler warning.
8693 * org-feed.el: Add declarations.
8695 * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8696 allow tag inheritance.
8698 * org-capture.el (org-capture): Fix bug introduced by commit
8701 * org-publish.el (org-publish-needed-p)
8702 (org-publish-update-timestamp, org-publish-file)
8703 (org-publish-cache-file-needs-publishing): New argument
8705 (org-publish-cache-ctime-of-src): Use the new argument to make
8706 sure we find the file according to :base-directory.
8708 * org-capture.el (org-capture-string): New command to prompt for
8709 the interactive text interactively. This can also be used in
8710 Elisp programs to use ̀org-capture' with some initial text.
8711 (org-capture-initial): New variable to store the initial text.
8712 (org-capture): Use `org-capture-initial'.
8714 * org.el (org-emph-re): Tiny docstring formatting fix.
8716 * org-compat.el (org-labels): Remove.
8718 * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8720 * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8722 * org.el (org-emph-re): Tiny formatting fix.
8724 * org.el (orgstruct-setup): Require `org-element'.
8726 * org.el (org-store-link, org-open-at-point): New link type
8729 * org-compat.el (org-flet): Remove alias.
8731 * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8732 (org-babel-get-rownames, org-babel-insert-result)
8733 (org-babel-merge-params)
8734 (org-babel-expand-noweb-references): Don't use `org-flet'.
8735 Also indent some functions correctly.
8737 * ob.el (org-babel-execute-src-block)
8738 (org-babel-join-splits-near-ch, org-babel-format-result)
8739 (org-babel-examplize-region): Don't use `org-flet'.
8740 (org-babel-tramp-handle-call-process-region): Fix typo.
8742 * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8744 * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8746 * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8747 Don't use `org-flet'.
8749 * org-pcomplete.el (org-compat): Require.
8751 * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8753 * org-bibtex.el (org-bibtex-write): Use let*.
8755 * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8757 * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8758 (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8760 * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8762 * org-pcomplete.el (org-thing-at-point): Ditto.
8764 * org.el (org-timestamp-change): Ditto.
8766 * org-mouse.el (org-mouse-timestamp-today)
8767 (org-mouse-set-priority, org-mouse-popup-global-menu)
8768 (org-mouse-context-menu): Don't use ̀org-flet'.
8770 * org.el (org-priority): Fix docstring.
8772 * org-publish.el (org-publish-write-cache-file)
8773 (org-publish-initialize-cache)
8774 (org-publish-cache-file-needs-publishing)
8775 (org-publish-cache-get): Small code clean-up.
8777 * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8779 * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8780 agenda entries created from sexps.
8782 * org-capture.el (org-capture-templates): Docstring clean up.
8783 (org-capture-place-entry, org-capture-place-item)
8784 (org-capture-place-plain-text, org-capture-place-table-line):
8785 Ensure to always position the point according to %?.
8787 * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8788 converting remote table references.
8790 * org-agenda.el (org-agenda-switch-to): Run hooks in
8791 ̀org-agenda-after-show-hook'.
8793 * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8794 variable `length' to `lgth'.
8796 * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8799 * org-exp.el (org-export-format-source-code-or-example): Ditto.
8801 * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8803 * ob.el (org-babel-view-src-block-info)
8804 (org-babel-execute-src-block, org-babel-edit-distance)
8805 (org-babel-switch-to-session-with-code)
8806 (org-babel-balanced-split, org-babel-insert-result): Ditto.
8808 * ob-ref.el (org-babel-ref-index-list): Ditto.
8810 * ob-python.el (org-babel-python-evaluate-session): Ditto.
8812 * ob-lob.el (org-babel-lob-get-info): Ditto.
8814 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8816 * ob-exp.el (org-babel-exp-do-export): Ditto.
8818 * org-table.el (orgtbl-to-generic): Fix docstring.
8820 * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8821 argument `switch-to-state' set to nil. Fix docstring.
8822 (org-clock-in-last): Prompt for a todo state to switch to when
8823 called with three universal prefix arguments. Don't display a
8824 message when the clock is already running. Update docstring.
8825 (org-clock-out): New argument `switch-to-state'. When this
8826 argument is non-nil, prompt for a state to switch the clocked out
8827 task to, overriding `org-clock-out-switch-to-state'.
8829 * org.el (org-entry-get): Don't use `org-flet'.
8831 * org.el (org-forward-heading-same-level): Rename from
8832 `org-forward-same-level'.
8833 (org-backward-heading-same-level): Rename from
8834 `org-backward-same-level'.
8836 * org.el (org-forward-element): Rename from `org-element-forward'.
8837 (org-backward-element): Rename from `org-element-backward'.
8838 (org-up-element): Rename from `org-element-up'.
8839 (org-down-element): Rename from `org-element-down'.
8840 (org-drag-element-backward): Rename from
8841 `org-element-drag-backward'.
8842 (org-drag-element-forward): Rename from
8843 `org-element-drag-forward'.
8844 (org-mark-element): Rename from `org-element-mark-element'.
8845 (org-transpose-element): Rename from `org-element-transpose'.
8846 (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8847 (org-mode-map): Update the names of a commands. Remove useless
8850 * org-element.el (org-element-forward, org-element-backward)
8851 (org-element-up, org-element-down)
8852 (org-element-drag-backward, org-element-drag-forward)
8853 (org-element-mark-element, org-narrow-to-element)
8854 (org-element-transpose, org-element-unindent-buffer): Move to
8857 * org.el (org-forward-same-level): Fix typo in docstring.
8859 * org-agenda.el (org-agenda-mode-map):
8860 Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8861 (org-agenda-next-item, org-agenda-previous-item): New commands to
8862 move by one item down/up in the agenda.
8863 (org-agenda-mode-map): Bind `org-agenda-next-item' and
8864 `org-agenda-previous-item' to `N' and `P' respectively.
8866 * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8867 Toggle headers when necessary.
8869 * org-element.el (org-narrow-to-element): Autoload.
8871 * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8872 (org-mark-subtree): Allow a numeric prefix argument to move up
8873 into the hierarchy of headlines.
8875 * org-element.el (org-element-up, org-element-down): Autoload.
8877 * org.el: Declare functions and don't require org-element.
8879 * org-element.el (org-element-at-point, org-element-forward)
8880 (org-element-backward, org-element-drag-backward)
8881 (org-element-drag-forward, org-element-mark-element)
8882 (org-element-transpose, org-element-unindent-buffer): Autoload.
8883 Require 'org and remove all declarations.
8885 * org.el (org-outline-regexp-bol, org-heading-regexp):
8886 Use variables instead of constants.
8888 * org-archive.el (org-datetree-find-date-create): Declare.
8890 * org.el (org-open-at-point): Only set
8891 `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8894 * org-icalendar.el (org-print-icalendar-entries):
8895 Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8897 * org.el (org-special-properties): New special property
8899 (org-entry-properties): Handle the new special property.
8901 * org-colview.el (org-columns): Handle a new special property
8903 (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8905 * org-clock.el (org-clock-sum-today): New function.
8906 (org-clock-sum): New argument PROPNAME to set a custom text
8907 property instead of :org-clock-minutes.
8909 * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8910 error message when no agenda is currently being displayed.
8912 * org.el (org-get-property-block): Find blocks before the first
8914 (org-entry-properties): Minor code cleanup.
8915 (org-entry-get, org-entry-get-with-inheritance): Get property
8916 before the first headline.
8918 * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8920 * org.el (org-make-link): Delete.
8921 (org-store-link, org-insert-link)
8922 (org-file-complete-link): Don't use `org-make-link'.
8924 * org-wl.el (org-wl-store-link-folder)
8925 (org-wl-store-link-message): Ditto.
8927 * org-vm.el (org-vm-store-link): Ditto.
8929 * org-rmail.el (org-rmail-store-link): Ditto.
8931 * org-mhe.el (org-mhe-store-link): Ditto.
8933 * org-mew.el (org-mew-store-link): Ditto.
8935 * org-irc.el (org-irc-erc-store-link): Ditto.
8937 * org-info.el (org-info-store-link): Ditto.
8939 * org-id.el (org-id-store-link): Ditto.
8941 * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8943 * org-eshell.el (org-eshell-store-link): Ditto.
8945 * org-bbdb.el (org-bbdb-store-link): Ditto.
8947 * org.el (org-url-hexify-p): New option. When non-nil (the
8948 default), hexify URLs when creating a link.
8950 * org.el (org-insert-link): Make sure point is at the beginning of
8953 * org.el (clean-buffer-list-kill-buffer-names): Declare.
8954 (org-open-at-point): Allow opening multiple shell links by
8955 creating a new output buffer for each shell process. The new
8956 buffer is added to `clean-buffer-list-kill-buffer-names'.
8958 * org-mobile.el (org-mobile-create-index-file):
8959 Use `org-global-tags-completion-table' instead of
8960 `org-tag-alist-for-agenda' to get the tags for the index file.
8962 * org.el (org-global-tags-completion-table): Fix typo in
8965 * org.el (org-link-to-org-use-id): Use `org-capture' instead of
8966 `org-remember' in the docstring.
8967 (org-link-fontify-links-to-this-file): New function to fontify
8968 links to the current buffer in `org-stored-links'.
8969 (org-store-link): Small code simplification.
8970 (org-link-prettify): Enclose literal links into <...> instead of
8972 (org-insert-link): Use `org-link-fontify-links-to-this-file'.
8973 Also allow completion over links' descriptions, as well as links
8974 destinations. When the user uses the description for completion,
8975 don't prompt again for a description.
8977 * org-capture.el (org-capture-templates): Fix docstring by adding
8978 Gnus to the list of mail clients.
8980 * org.el (org-log-repeat): Enhance docstring.
8982 * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
8983 `org-element-backward/forward' as these functions stops when there
8984 is no element of the same type before/after point. It is useful
8985 to navigate with `forward/backward-paragraph' with no stop in most
8988 * org-capture.el (org-capture-templates): New template %l to
8989 insert the literal link pointing at the current buffer.
8991 * org.el (org-todo-keywords): Ditto.
8993 * org.el (org-fill-paragraph): Falls back on
8994 `message-fill-paragraph' if required in `message-mode'.
8996 * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
8997 (pcomplete/org-mode/file-option/options)
8998 (pcomplete/org-mode/file-option/title)
8999 (pcomplete/org-mode/file-option/author)
9000 (pcomplete/org-mode/file-option/email)
9001 (pcomplete/org-mode/file-option/date): Use the new macro to offer
9002 completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
9005 * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
9006 an external file while `org-agenda-sticky' is non-nil.
9008 * org.el (org-speed-commands-default): New speedy command to
9009 quickly add the :APPT_WARNTIME: property.
9011 * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
9012 property to override `appt-message-warning-time' when adding an
9013 appointment from an entry.
9015 * org.el (org-version): Improve docstring.
9016 (org-self-insert-cluster-for-undo): The default value should be
9017 nil for Emacs >=24.1. See bug#11774.
9019 * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
9022 * org.el (org-options-keywords): New constant.
9023 (org-additional-option-like-keywords): Remove duplicates with
9024 keywords in the new constant.
9025 (org-additional-option-like-keywords-for-flyspell): Use the new
9027 (org-mode-flyspell-verify): Exclude keywords from the new
9030 * org-pcomplete.el (pcomplete/org-mode/file-option):
9031 Use `org-options-keywords'.
9033 * org.el (org-toggle-heading): Bugfix: use
9034 `org-element-mark-element' instead of `org-mark-list'.
9036 * org-list.el (org-mark-list): Delete.
9038 * org.el: Update a few keybindings.
9040 * org-element.el (org-element-down): Throw an error when the
9041 element has no content.
9043 * org-table.el (orgtbl-radio-table-templates): Add a template for
9045 (orgtbl-to-orgtbl): Complete and align the table created with
9046 orgtbl-to-orgtbl, in case the user use the function for radio
9048 (orgtbl-to-table.el): New function to export a table to another
9049 one using the table.el format.
9050 (orgtbl-to-unicode): New function to export a table using unicode
9053 * org-exp.el (org-export-language-setup): Use "Sommaire" for the
9054 french translation of "Table of contents", to avoid a possible bug
9055 when exporting to ODT.
9057 * org.el (org-additional-option-like-keywords): Add keywords.
9058 (org-additional-option-like-keywords-for-flyspell): New constant
9059 to use with flyspell.
9060 (org-mode-flyspell-verify): Use the dedicated constant and don't
9061 check `org-startup-options'.
9063 * org-agenda.el (org-batch-store-agenda-views): Use the sticky
9064 agenda buffer name, if required.
9065 (org-agenda-write): New parameter `agenda-bufname' to allow
9066 setting the agenda buffer name.
9068 * org.el (org-mode-map): Add keybindings for
9069 `org-element-forward', `org-element-backward', `org-element-up'
9070 and `org-element-down'.
9072 * org.el (org-auto-fill-function): Don't call `do-auto-fill'
9073 within (org-let org-fb-vars ...) as `do-auto-fill' should do the
9074 right thing whether orgstruct++-mode is turned on or off.
9076 * org.el (org-sparse-tree-default-date-type): New option.
9077 (org-ts-type): New variable.
9078 (org-sparse-tree): New argument `type'. Use the new option
9079 `org-sparse-tree-default-date-type' as the default value for
9080 `type'. Fix docstring.
9081 (org-re-timestamp): New function.
9082 (org-check-before-date, org-check-after-date)
9083 (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
9084 to tell compute the date regexp.
9086 * org.el (orgstruct++-mode, org-get-local-variables): Also set
9087 `normal-auto-fill-function' when turning on/off orgstruct++-mode.
9089 * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
9090 customization types.
9092 * org-faces.el (org-document-title): Use the normal height.
9094 * org-clock.el (org-x11idle-exists-p): New variable.
9095 (org-user-idle-seconds): Use it.
9097 * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
9100 * org.el (org-insert-all-links): New command.
9101 (org-insert-link): `org-keep-stored-link-after-insertion' is now
9102 checked when the link to insert has been defined, regardless on
9103 how it has been defined. Also don't read the description
9104 interactively when the `default-description' parameter was given.
9105 (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
9107 * org.el (org-inc-effort): New command to increment the effort
9109 (org-set-effort): Use it.
9110 (org-mode-map): Bind it to `C-c C-x E'.
9111 (org-speed-commands-default): Use `E' as a speed command for it.
9113 * org.el (org-re-property-keyword): New function.
9114 (org-entry-put): Use it to fix a bug with respect to setting the
9115 value of a property when a property line with no value already
9118 * org.el (org-timestamp-change): Adjust clock in other org files
9121 * org-clock.el (org-user-idle-seconds): Simplify.
9123 * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
9126 * org.el (org-mode-map): Add keybindings to
9127 `org-element-transpose' and `org-narrow-to-element'.
9128 (org-metaup): Fall back on `org-element-drag-backward'.
9129 (org-metadown): Fall back on `org-element-drag-forward'.
9130 Also move chunks of declarations and require statements to get rid of
9133 * org-exp-blocks.el (org): Don't require org. Add declarations.
9135 * org-clock.el (org): Don't require org.
9137 * ob-exp.el (org-list-forbidden-blocks): Add declarations.
9139 * org.el (org-timestamp-change): Don't use the `position'.
9141 * org.el (org-clock-history, org-clock-adjust-closest):
9143 (org-timestamp-change): Maybe adjust the next or previous clock in
9144 `org-clock-history'.
9145 (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
9146 timestamp at point and adjust the next or previous clock in
9147 `org-clock-history', when possible.
9149 * org-clock.el (org-clock-in): Set the marker for
9150 `org-clock-history' at a safer position.
9152 * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
9155 * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
9157 * org.el (org-indent-line): Fix indentation of a property line
9158 starting at the beginning of a line.
9160 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9162 * org-compat.el: Alias `org-condition-case-unless-debug' to
9163 `condition-case-unless-debug' or `condition-case-no-debug'.
9165 * org.el (org-todo-keywords): Ditto.
9167 * org.el (org-use-fast-todo-selection): Reformat docstring.
9169 * org.el (org-flag-drawer): Add a docstring.
9170 (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
9171 `org-clock-in-last' to "C-cC-xC-x". This fixes a bug in the
9172 previous keybinding for `org-clock-in-last', which would override
9173 the one for `org-clock-in'.
9175 * org-clock.el (org-clock-in-last): Prevent errors when there is
9176 no clocking history.
9177 (org-clock-cancel): Fix bug when checking against a clock log in a
9180 * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
9181 new specifier. Update the docstring.
9183 * org.el (org-startup-options): Fix docstring formatting.
9185 * org.el (org-use-sub-superscripts): Fix typo in docstring.
9187 * org.el (org-refile): Fix bug: prevent looping when calling
9188 `org-set-tags' internally.
9190 * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
9191 `org-clock-in-last'.
9193 * org-clock.el (org-clock-continuously): New option.
9194 (org-clock-in): Three universal prefix arguments set
9195 `org-clock-continuously' to `t' temporarily.
9196 (org-clock-in-last): Fix call to `org-clock-select-task' and
9197 support continuous clocking.
9198 (org-clock-out-time): New variable.
9199 (org-clock-out): Set `org-clock-out-time' when clocking out.
9200 Small docstring rewriting.
9201 (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
9202 bug when trying to delete empty logbook drawer.
9203 (org-clock-cancel): If the clock log is gone, send a warning
9204 instead of deleting the region that is supposed to contain it.
9206 * org.el (org-move-line-down, org-move-line-up): Remove.
9207 (org-metaup, org-metadown): When the region is active, move it
9208 up/down by one line, with no regard to the context.
9210 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9212 * org-compat.el: Alias `org-condition-case-unless-debug' to
9213 `condition-case-unless-debug' or `condition-case-no-debug'.
9215 * org-pcomplete.el (org-thing-at-point): Ignore trailing
9216 whitespaces while looking-back at properties.
9218 * org.el (org-mode): Set `indent-region-function'.
9219 (org-indent-region): New function.
9220 (org-fill-paragraph): When in a src block, use `indent-region' to
9221 indent the whole source code instead of falling back on
9222 `fill-paragraph', as this function messes up the code.
9224 * org-src.el (org-edit-src-code): Fix docstring formatting.
9226 * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
9228 * org.el (org-mode, org-add-log-setup)
9229 (org-get-property-block, org-entry-put)
9230 (org-property-next-allowed-value, org-return)
9231 (org-indent-line): Rename `org-indent-line-function' to
9234 * org-timer.el (org-timer-item): Ditto.
9236 * org-table.el (org-table-store-formulas): Ditto.
9238 * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
9240 * org-src.el (org-src-font-lock-fontify-block)
9241 (org-src-strip-leading-and-trailing-blank-lines)
9242 (org-src-ask-before-returning-to-edit-buffer)
9243 (org-edit-src-code, org-edit-src-continue)
9244 (org-edit-fixed-width-region)
9245 (org-src-do-key-sequence-at-code-block)
9246 (org-src-font-lock-fontify-block, org-src-fontify-buffer):
9247 Fix typos in docstrings.
9249 * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
9250 use "format string" instead of "formatting string".
9252 * org-latex.el (org-export-latex-emphasis-alist)
9253 (org-export-latex-title-command, org-export-latex-tables): Ditto.
9255 * org-html.el (org-export-html-postamble): Ditto.
9257 * org-latex.el (org-export-latex-hyperref-options-format):
9259 (org-export-latex-make-header): Use it.
9261 * ob.el (org-babel-confirm-evaluate): Prevent errors when
9262 `org-current-export-file' is void.
9264 * org-table.el (org-table-export): Use the file name extension to
9265 suggest the right conversion format. Also amend the docstring.
9267 * org.el (org-speed-commands-default): Two new speed commands.
9268 Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
9270 * org.el (org-time-stamp): With two universal arguments, insert an
9271 active timestamp with the current time without prompting the user.
9273 * org-clock.el (org-clock-in-last): New command.
9275 * org-clock.el (org-clock-in): Fix typo in docstring.
9277 * org-mobile.el (org-mobile-edit): Fix reference to a free
9280 * org.el (org-doi-server-url): Update :group.
9282 * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
9285 * org.el (org-doi-server-url): New option.
9286 (org-open-at-point): Use it.
9288 * org.el (org-at-comment-p): New function.
9289 (org-toggle-heading): Use `org-at-comment-p' to skip comments.
9291 * org-html.el (org-export-as-html): Add links to the Org mode and
9292 GNU Emacs websites When :html-postamble is set to 't.
9294 * org-export.el (org-export-creator-string): Add links to the Org
9295 mode and GNU Emacs websites.
9297 * org-special-blocks.el
9298 (org-special-blocks-convert-html-special-cookies): Prevent errors
9299 by first checking `org-line' is not nil.
9301 * org-clock.el (org-clock-string-limit)
9302 (org-clock-modeline-total, org-clock-task-overrun-text)
9303 (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9305 * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
9306 point is right after the timestamp. `org-at-timestamp-p' still
9307 returns `t' in this case, as this is more practical.
9308 (org-return): Check against ̀org-ts-what' to verify that point is
9309 really within the timestamp (if any).
9311 * org.el (org-return): Follow time-stamp links when point is an a
9314 * org-capture.el (org-capture-bookmark): New option.
9315 (org-capture-finalize): Use it.
9317 * org-publish.el (org-publish-cache-file-needs-publishing):
9318 Make the column mandatory after #+include:.
9320 * org-exp.el (org-export-handle-include-files): Ditto.
9322 * org-bibtex.el (org-bibtex-entries): Rename from
9323 (org-bibtex-read, org-bibtex-write): Use the new name.
9325 * org-exp.el (org-export-handle-include-files): Allow to use
9326 #+include with no column.
9328 * org-publish.el (org-publish-cache-file-needs-publishing):
9329 Make quotes mandatory around the file name and allow spaces in it.
9331 * org-html.el (org-export-as-html): Add link to Org's and Emacs's
9335 (org-export-latex-link-with-unknown-path-format): New option.
9336 (org-export-latex-links): Use it.
9338 * org-agenda.el (org-agenda-get-timestamps): Remove any active
9339 timestamp from the headline text, not only those for the current
9342 * org.el (org-set-tags): Allow setting tags for headlines in the
9343 region when `org-loop-over-headlines-in-active-region' is non-nil.
9345 * org.el (org-allow-promoting-top-level-subtree): New option to
9346 allow promoting a top-level subtree.
9347 (org-called-with-limited-levels): New variable, dynamically bound
9348 within the `org-with-limited-levels' macro.
9349 (org-promote): Use the new option to allow promoting a top-level
9352 * org-macs.el (org-with-limited-levels): Let-bind
9353 `org-called-interactively-p' to t.
9355 * org.el (org-create-formula-image-with-dvipng)
9356 (org-create-formula-image-with-imagemagick): Make sure a file
9357 exists before trying to delete it.
9359 * org.el (org-scan-tags): Correctly match TODO keywords.
9361 * org-agenda.el (org-agenda-bulk-action): Fix bug: use
9362 `org-agenda-bulk-unmark-all'.
9364 * org.el (orgstruct++-mode): Fix docstring.
9365 (org-fill-paragraph): Use the 'justify parameter when falling back
9366 on `fill-paragraph'.
9368 * org.el (org-indent-line-function): Use `org-let' instead of
9369 `orgstruct++-ignore-org-filling'.
9370 (org-fill-paragraph, org-auto-fill-function): Ditto.
9372 * org-macs.el (orgstruct++-ignore-org-filling): Delete.
9374 * org-table.el (org-table-time-string-to-seconds): Return the
9375 empty string if provided.
9376 (org-table-eval-formula): When assigning a duration string, handle
9377 it correctly -- i.e. don't make any computation on it, except the
9378 one to insert it using the correct duration format.
9380 * org.el (org-indent-line-function): Fix bug.
9382 * org-clock.el (org-frame-title-format-backup): New variable to
9383 store the value of `frame-title-format' before `org-clock' might
9384 replace it by `org-clock-frame-title-format'.
9385 (org-clock-frame-title-format): New option.
9386 (org-frame-title-string): Delete.
9387 (org-clock-update-mode-line): Minor code reformatting.
9388 (org-clock-in, org-clock-out, org-clock-cancel):
9389 Use `org-clock-frame-title-format'.
9391 * org-clock.el (org-clock-get-clock-string): Add a space.
9393 * org-list.el (org-mark-list): Return an error when there is no
9396 * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
9397 at point before converting items to headings. With a simple
9398 universal-argument, set `current-prefix-arg' to 1, otherwise keep
9401 * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
9404 * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
9405 all entries for bulk action.
9406 (org-agenda-menu): New menu item for marking all entries.
9407 (org-agenda-bulk-mark-all): New function to mark all entries.
9408 (org-agenda-bulk-mark-regexp): Minor docstring fix.
9409 (org-agenda-bulk-unmark): With a prefix argument, unmark all.
9410 Also send a better message.
9411 (org-agenda-bulk-remove-all-marks): Rename to
9412 `org-agenda-bulk-unmark-all'. Check against
9413 `org-agenda-bulk-marked-entries' before trying to unmark entries.
9414 Minor docstring fix.
9415 (org-agenda-bulk-unmark-all): Rename from
9416 ̀org-agenda-bulk-remove-all-marks'.
9418 * org-agenda.el (org-agenda-bulk-mark-char): New option.
9419 (org-agenda-bulk-mark): Use the new option.
9421 * org.el (org-src-prevent-auto-filling): New option to prevent
9422 auto-filling in src blocks. This defaults to nil to avoid people
9423 being surprised that no auto-fill occurs in Org buffers where they
9424 use `auto-fill-mode'.
9425 (org-auto-fill-function): Use the new option.
9427 * org.el (org-properties-postprocess-alist): Better customization
9429 (org-set-property): Fix the check against
9430 `org-properties-postprocess-alist'.
9432 * org-macs.el (orgstruct++-ignore-org-filling):
9433 Set `def-edebug-spec' correctly.
9435 * org-colview.el (org-columns-string-to-number): When computing
9436 the values for the colview, match durations and convert them to
9439 * org.el (org-duration-string-to-minutes): Match non-round
9440 numbers. Add a new optional parameter to allow returning the
9443 * org.el (org-auto-fill-fallback-function)
9444 (org-indent-line-fallback-function)
9445 (org-fill-paragraph-fallback-function)
9446 (org-auto-fill-fallback-function)
9447 (org-indent-line-fallback-function)
9448 (org-fill-paragraph-fallback-function): Remove.
9449 (org-fb-vars): New buffer-local variable.
9450 (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
9451 store, use and restore variables if needed.
9452 (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
9454 (org-auto-fill-function, org-indent-line-function): Ditto.
9456 * org-macs.el (orgstruct++-ignore-org-filling): New macro.
9458 * org-exp-blocks.el: Use `org-find-library-name' instead of
9459 `find-library-name'.
9461 * org-compat.el (org-find-library-name): Convert into a macro to
9462 avoid compilation of a function from XEmacs in Emacs and vice
9465 * org-table.el (org-table-store-formulas): Fix typo.
9466 (org-table-maybe-eval-formula): Fix the regexp to only match
9467 formulas, which never end with the `=' character. If the field
9468 only contain this character, don't eval either.
9470 * org.el (org-set-property): Perform the correct check against
9471 `org-properties-postprocess-alist'.
9473 * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
9475 (name): Suppress (defvar 'name) as name is not eval'ed when
9476 setting `org-bbdb-anniversary-format-alist'.
9478 * org.el (org-version): When called non-interactively, insert the
9479 short version string, otherwise send a message with the complete
9482 * org-odt.el (org-odt-update-meta-file): Use (org-version) and
9483 delegate checking whether `org-version' is known as a variable
9486 * org-html.el (org-export-as-html): Use (org-version).
9488 * org-docbook.el (org-export-as-docbook): Ditto.
9490 * org-latex.el (org-export-latex-make-header): Ditto.
9492 * org-clock.el (org-clocktable-write-default): Temporarily disable
9493 `delete-active-region' so that we don't accidently delete an
9494 active region when exporting a subtree/region.
9496 * org-clock.el (org-program-exists): Remove.
9497 (org-show-notification, org-clock-play-sound):
9498 Use `executable-find' instead of `org-program-exists'.
9500 * org-agenda.el (org-diary): Prevent failure from
9501 `org-compile-prefix-format' when there is no agenda buffer.
9503 * org-agenda.el (org-agenda-mode): Replace obsolete variable
9504 `buffer-substring-filters'.
9506 * org-indent.el (org-indent-mode): Ditto.
9508 * org-compat.el (org-find-library-name): Silent the byte-compiler
9509 about a warning related to XEmacs support.
9511 * org-special-blocks.el
9512 (org-special-blocks-convert-html-special-cookies): Use `org-line'
9515 * org-html.el (org-html-handle-links, org-export-as-html)
9516 (org-format-org-table-html, org-format-table-table-html)
9517 (org-html-export-list-line): Use `org-line' instead of `line' as
9518 the free variable name.
9520 * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
9522 * org-faces.el (org-list-dt): New face.
9524 * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
9525 face for definition terms in definition lists.
9527 * org.el (org-fill-paragraph): Pass the `justify' argument to
9528 `org-fill-paragraph-fallback-function'.
9530 * org.el (org-eval-in-calendar): Fix docstring to mention the
9533 * org.el (org-refresh-category-properties): Let-bind
9534 `inhibit-read-only' to t.
9536 * org.el (org-auto-fill-fallback-function)
9537 (org-indent-line-fallback-function)
9538 (org-fill-paragraph-fallback-function): New variables to store
9539 some fall-back functions when turning `orgstruct++-mode' on.
9540 (orgstruct++-mode): Set the new variables.
9541 (org-indent-line-function, org-fill-paragraph)
9542 (org-auto-fill-function): Use them.
9544 * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
9545 the 'keepdate parameter set to t when setting the cursor type.
9547 * org-agenda.el (org-agenda-persistent-marks): New option to keep
9548 marks after a bulk action. The option defaults to nil.
9549 (org-agenda-bulk-action): Use the new option.
9551 * org-capture.el (org-capture-fill-template): Use %\n instead of
9552 %n as a template element to be replaced with the nth prompted
9554 (org-capture-templates): Update docstring.
9556 * org.el (org-goto): Fix docstring and document what C-u does.
9558 * org-publish.el (org-publish-cache-file-needs-publishing):
9559 Use (case-fold-search t) when looking for #+INCLUDE:.
9561 * org.el: Use (case-fold-search t).
9562 (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
9565 (org-table-store-formulas, org-table-get-stored-formulas)
9566 (org-table-fix-formulas, org-table-edit-formulas)
9567 (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
9568 (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
9571 (org-footnote-goto-local-insertion-point): Ditto.
9573 * org-exp.el: Ditto.
9576 (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
9578 * org-clock.el (org-clocktable-write-default): Ditto.
9580 * org-capture.el (org-capture-place-table-line): Ditto.
9582 * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
9583 (org-babel-src-block-names)
9584 (org-babel-where-is-src-block-result, org-babel-result-end)
9585 (org-babel-where-is-src-block-head)
9586 (org-babel-find-named-result, org-babel-result-names): Ditto.
9588 * org-table.el (orgtbl-send-table): Escape special characters.
9589 Introduce a new parameter :no-escape to prevent escaping.
9591 * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
9592 when called interactively.
9593 (org-agenda-get-restriction-and-command):
9594 Call `org-toggle-sticky-agenda' interactively.
9596 * org-agenda.el (org-agenda-top-category-filter): New variable for
9597 storing the current top-category filter.
9598 (org-agenda-redo): Apply a top-category filter, if any.
9599 (org-agenda-filter-by-top-category)
9600 (org-agenda-filter-top-category-apply):
9601 Set `org-agenda-top-category-filter' to the right value.
9603 * org-clock.el (org-clock-out, org-clock-cancel)
9604 (org-clock-in): Don't modify `frame-title-format' if it is a
9607 * org-latex.el (org-export-latex-special-chars): Fix bug when
9608 escaping special characters in a table.
9610 * org.el (org-read-date): Set cursor-type to nil in the calendar.
9612 * org-faces.el (org-date-selected): Use inverse video.
9613 Don't explicitly set bold to nil as it causes `customize-face' to show
9614 the weight property and thus encourage the user to change it.
9615 Warn in the docstring that using bold might cause problems when
9616 displaying the calendar.
9618 * org-id.el (org-id-update-id-locations): New parameter to silent
9620 (org-id-find): Use the new parameter.
9622 * org.el (org-show-hierarchy-above, org-cycle)
9623 (org-global-cycle, org-files-list, org-store-link)
9624 (org-link-search, org-open-file, org-display-outline-path)
9625 (org-refile-get-location, org-update-all-dblocks)
9626 (org-change-tag-in-region, org-entry-properties)
9627 (org-save-all-org-buffers, org-revert-all-org-buffers)
9628 (org-buffer-list, org-cdlatex-mode)
9629 (org-install-agenda-files-menu, org-end-of-subtree)
9630 (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9631 'org-mode) instead of (eq major-mode 'org-mode).
9633 * org-timer.el (org-timer-set-timer): Ditto.
9635 * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9637 * org-src.el (org-edit-src-exit, org-edit-src-code)
9638 (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9640 * org-remember.el (org-remember-handler): Ditto.
9642 * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9644 * org-macs.el (org-get-limited-outline-regexp): Ditto.
9646 * org-lparse.el (org-replace-region-by): Ditto.
9648 * org-latex.el (org-latex-to-pdf-process)
9649 (org-replace-region-by-latex): Ditto.
9651 * org-indent.el (org-indent-indent-buffer): Ditto.
9653 * org-id.el (org-id-store-link, org-id-update-id-locations)
9654 (org-id-store-link): Ditto.
9656 * org-html.el (org-export-html-preprocess)
9657 (org-replace-region-by-html): Ditto.
9659 * org-footnote.el (org-footnote-normalize)
9660 (org-footnote-goto-definition)
9661 (org-footnote-create-definition, org-footnote-normalize): Ditto.
9663 * org-docbook.el (org-replace-region-by-docbook): Ditto.
9665 * org-ctags.el (find-tag): Ditto.
9667 * org-colview.el (org-columns-redo)
9668 (org-columns-display-here, org-columns-edit-value)
9669 (org-columns-redo): Ditto.
9671 * org-capture.el (org-capture-insert-template-here)
9672 (org-capture, org-capture-finalize)
9673 (org-capture-set-target-location)
9674 (org-capture-insert-template-here): Ditto.
9676 * org-ascii.el (org-replace-region-by-ascii): Ditto.
9678 * org-archive.el (org-archive-subtree): Ditto.
9680 * org-agenda.el (org-agenda)
9681 (org-agenda-get-restriction-and-command)
9682 (org-agenda-get-some-entry-text, org-search-view)
9683 (org-tags-view, org-agenda-get-day-entries)
9684 (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9685 (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9687 * org.el (org-repeat-re)
9688 (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9689 (org-deadline, org-schedule, org-matcher-time)
9690 (org-time-stamp, org-read-date, org-read-date-get-relative)
9691 (org-display-custom-time, org-get-wdays)
9692 (org-time-string-to-absolute, org-closest-date)
9693 (org-timestamp-change): Allow to set hourly repeat cookie.
9694 Send an error when an hourly repeat cookie is set and no hour is
9695 specified in the timestamp.
9697 * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9700 * org-clock.el (org-program-exists): Fix docstring.
9702 * org-clock.el (org-clock-file-time-cell-format): New option.
9703 (org-clocktable-write-default): Use it.
9705 * org-faces.el (org-date-selected): New face.
9707 * org.el (org-date-ovl): Use `org-date-selected'.
9709 * org.el (org-mode): Don't use `buffer-face-mode' by default.
9711 * org-agenda.el (org-agenda-mode-map): Bind `^' to
9712 `org-agenda-filter-by-top-category'.
9714 * org-ascii.el (org-export-ascii-underline): Change the default
9715 underlining characters for headlines of level 1 and 2.
9716 Also introduce \. as the underline character for headlines of level 5.
9718 * org-table.el (org-table-recalculate-buffer-tables)
9719 (org-table-iterate-buffer-tables): Add autoload cookie.
9721 * org.el (org-table-map-tables): Exclude tables in src and example
9724 * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9725 untouched when filling an adjacent paragraph.
9727 * org-html.el (org-export-html-preamble-format)
9728 (org-export-html-postamble-format): Improve the docstring.
9730 * org.el (org-todo): Fix regression: rename `state' to
9733 * org-clock.el (org-show-notification): Use `fboundp' instead of
9734 `featurep' and the additional `require'.
9736 * org-clock.el (org-clock-in-prepare-hook): New option to format
9737 the total time cells.
9738 (org-clocktable-write-default): Use the new option.
9740 * org.el (org-open-at-point): Allow to open the agenda from an
9741 active or inactive timestamp in a headline.
9743 * org-html.el (org-export-html-date-format-string): Make a
9746 * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9748 2012-09-30 Carsten Dominik <carsten.dominik@gmail.com>
9750 * org-table.el (org-table-expand-lhs-ranges): Allow hline
9751 references to be expanded correctly in LHS of formulas.
9753 * org-beamer.el (org-beamer-inherited-properties): New option.
9754 (org-beamer-after-initial-vars): Use new option to look for
9755 inherited properties.
9757 * org.el (org-ts-regexp0): Allow time stamps without name of day.
9759 * org-agenda.el (org-toggle-sticky-agenda):
9760 (org-agenda-sticky): Improve :set property.
9762 * org-agenda.el (org-agenda-local-vars): Clean up the variable
9764 (org-agenda-get-restriction-and-command): Add a key for toggling
9765 sticky agenda views.
9767 * org-agenda.el (org-agenda-local-vars): Final decisions about
9770 * org-agenda.el (org-agenda-force-single-file): Variable removed.
9771 (org-prepare-agenda-window): Store pre-agenda window config
9773 (org-timeline): Introduce a scoped version of
9774 `org-agenda-show-log'.
9775 (org-agenda-list): Introduce a scoped version of
9776 `org-agenda-show-log'.
9777 (org-agenda-get-progress): Use the scoped version of
9778 `org-agenda-show-log'.
9779 (org-agenda-local-vars): Write the analysis result as a comment -
9780 to be cleaned up in the next iteration.
9782 * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9783 buffers when toggling sticky-agendas.
9784 (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9785 to explicitly kill all agenda buffers.
9786 (org-agenda-run-series): Remove any old agenda markers in the
9787 buffer that is going to take the new block agenda.
9788 (org-prepare-agenda): Reset markers before erasing the buffer anc
9789 running `org-agenda-mode', because after that the local variable
9790 `org-agenda-markers' will have gone away.
9792 (org-finalize-agenda): Install the marker resetter into the
9794 (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9796 (org-agenda-kill-all-agenda-buffers): New function.
9798 2012-09-30 Chris Gray <chrismgray@gmail.com>
9800 * org-html.el (org-export-as-html): Remove the check for body-only
9801 in the code for generating tables of contents.
9803 2012-09-30 Christoph Dittmann <github@christoph-d.de> (tiny change)
9805 * org-beamer.el (org-beamer-auto-fragile-frames):
9806 Make [fragile] work with overlay specifications.
9808 2012-09-30 Christophe Junke <christophe.junke@inria.fr> (tiny change)
9810 * org-agenda.el (org-agenda-list): Ensures that the list returned
9811 by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9812 checking if the latter is empty.
9814 2012-09-30 Christophe Rhodes <csr21@cantab.net> (tiny change)
9816 * org-latex.el (org-export-latex-tables): Support setting the
9817 :hfmt parameter from #+ATTR_LaTeX.
9819 2012-09-30 Daniel Dehennin <daniel.dehennin@baby-gnu.org> (tiny change)
9821 * org-exp.el (org-export-handle-include-files)
9822 (org-get-file-contents): Handle new parameter :addlevel.
9824 2012-09-30 Dave Abrahams <dave@boostpro.com> (tiny change)
9826 * org.el (org-link-prettify): New function to prettify links while
9827 displaying them with `org-insert-link'.
9828 (org-insert-link): Use the new function.
9830 2012-09-30 David Maus <dmaus@ictsoc.de>
9832 * org-exp.el (org-export-language-setup): Use numeric character
9833 entities for proper rendering of non-UTF8 documents.
9835 * org-exp.el (org-export-language-setup): Add japanese
9838 2012-09-30 Eric Schulte <eric.schulte@gmx.com>
9840 * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9842 * ob.el (org-babel-insert-result): Replace key sequence with
9843 function call. Use a more informative flag to the local function.
9844 (org-add-protective-commas): Declare a new external function.
9846 * org-src.el (org-add-protective-commas): This should be its own
9848 (org-edit-src-exit): Use the new function.
9850 * org-compat.el (org-labels): Remove.
9852 * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9854 * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9856 * ob.el (org-babel-string-read): Don't automatically evaluate code
9857 block results which look like elisp.
9858 (org-babel-import-elisp-from-file): Raise a warning message when
9859 the process of reading code block results raises an error.
9861 * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9862 macro argument multiple times.
9864 * org.el (org-compat): Require org-compat before we first use one
9865 of its functions (a macro actually).
9867 * ob-comint.el (org-babel-comint-with-output): Don't name the
9868 filter function, but rather pass through the anonymous lambda
9871 * org.el (org-babel-load-languages): Common lisp should be
9872 mentioned as a supported babel language.
9874 * org-clock.el (org-clock-special-range): "concat 'string" ->
9876 (org-clocktable-shift): "concat 'string" -> "concat"
9878 * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9881 * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9882 calc internal representations.
9884 * org-clock.el (org-clock-special-range): Replacing cl concatenate
9886 (org-clocktable-shift): Replacing cl concatenate with concat.
9888 * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9890 * org-compat.el (org-flet): Compatibility function now that flet
9891 has been removed from cl-macs.
9892 (org-labels): Compatibility function now that labels has been
9893 removed from cl-macs.
9895 * ob-R.el (org-compat): Require org-compat.
9897 * ob-comint.el: Require org-compat.
9899 * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9902 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9903 compatibility function.
9905 * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9907 (org-babel-lob-execute): Switch to compatibility function.
9909 * ob-python.el (org-babel-python-evaluate-session): Switch to
9910 compatibility function.
9912 * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9915 * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9918 * ob-tangle.el (org-babel-load-file): Switch to compatibility
9920 (org-babel-tangle): Switch to compatibility function.
9921 (org-babel-spec-to-string): Switch to compatibility function.
9923 * ob.el (org-babel-view-src-block-info): Switch to compatibility
9925 (org-babel-execute-src-block): Switch to compatibility function.
9926 (org-babel-edit-distance): Switch to compatibility function.
9927 (org-babel-switch-to-session-with-code): Switch to compatibility
9929 (org-babel-sha1-hash): Switch to compatibility function.
9930 (org-babel-balanced-split): Switch to compatibility function.
9931 (org-babel-join-splits-near-ch): Switch to compatibility function.
9932 (org-babel-get-rownames): Switch to compatibility function.
9933 (org-babel-format-result): Switch to compatibility function.
9934 (org-babel-insert-result): Switch to compatibility function.
9935 (org-babel-examplize-region): Switch to compatibility function.
9936 (org-babel-merge-params): Switch to compatibility function.
9937 (org-babel-noweb-p): Switch to compatibility function.
9938 (org-babel-expand-noweb-references): Switch to compatibility
9941 * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9943 (org-bibtex-fleshout): Switch to compatibility function.
9944 (org-bibtex-read): Switch to compatibility function.
9945 (org-bibtex-write): Switch to compatibility function.
9947 * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9948 compatibility function.
9950 * org-exp.el (org-export-format-source-code-or-example): Switch to
9951 compatibility function.
9953 * org-macs.el (org-called-interactively-p): Indentation fix.
9955 * org-mouse.el (org-mouse-timestamp-today): Switch to
9956 compatibility function.
9957 (org-mouse-set-priority): Switch to compatibility function.
9958 (org-mouse-popup-global-menu): Switch to compatibility function.
9959 (org-mouse-context-menu): Switch to compatibility function.
9961 * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
9962 compatibility function.
9963 (org-plot/gnuplot-script): Switch to compatibility function.
9965 * org.el (org-entry-get): Switch to compatibility function.
9966 (org-fill-paragraph): Switch to compatibility function.
9967 (org-auto-fill-function): Switch to compatibility function.
9969 * ob-lob.el (org-babel-lob-execute): Only try to insert extant
9972 * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
9974 * ob.el (org-babel-set-current-result-hash): Change the hash of
9975 the results for the current code block.
9976 (org-babel-current-result-hash): Fix documentation.
9978 * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
9979 function if the current call line hash matches that in its
9982 * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
9983 a table is a sequence.
9985 * ob-R.el (org-babel-R-assign-elisp): Clean up the code
9986 implementing reads of irregular data into R.
9988 * ob.el (org-babel-header-arg-expand): In new buffers
9989 (char-before) may return nil so use equal rather than =.
9991 * ob-R.el (org-babel-header-args:R): Adding values.
9993 * ob-clojure.el (org-babel-header-args:clojure): Adding values.
9995 * ob-lisp.el (org-babel-header-args:lisp): Adding values.
9997 * ob-sql.el (org-babel-header-args:sql): Adding values.
9999 * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
10001 * ob.el (org-babel-combine-header-arg-lists): Combine lists of
10002 arguments and values.
10003 (org-babel-insert-header-arg): Use new combined header argument
10005 (org-babel-header-arg-expand): Add support for completing-read
10006 insertion of header arguments after ":"
10007 (org-babel-enter-header-arg-w-completion): Completing read
10008 insertion of header arguments
10009 (org-tab-first-hook): Adding header argument completion.
10010 (org-babel-params-from-properties): Combining header argument
10013 * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
10016 * ob.el (org-babel-result-to-file): New optional description
10018 (org-babel-insert-result): Move description logic to another
10021 * ob.el (org-babel-insert-result): Change name of filelinkdescr to
10023 (org-babel-common-header-args-w-values): Change name of
10024 filelinkdescr to file-desc.
10026 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
10029 * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10032 * ob.el (org-babel-parse-src-block-match): Make use of the new
10033 language argument to org-babel-strip-protective-commas.
10034 (org-babel-parse-inline-src-block-match): Make use of the new
10035 language argument to org-babel-strip-protective-commas.
10036 (org-babel-strip-protective-commas): Now accepts a language
10039 2012-09-30 Fabrice Niessen <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org> (tiny change)
10041 * org-agenda.el (org-agenda-write-buffer-name): Remove the test
10042 for the presence of <style> tag.
10044 2012-09-30 Feng Shu <tumashu@gmail.com>
10046 * org.el (org-create-formula-image-with-imagemagick):
10047 Use 'call-process to launch latex so that no shell output buffer will
10048 be shown when previewing formulas.
10050 * org.el (org-create-formula-image-with-imagemagick): Fix typo.
10052 * org.el (org-latex-create-formula-image-program): New option to
10053 use either dvipng or imagemagick to convert and preview LaTeX
10055 (org-preview-latex-fragment, org-format-latex): Handle the new
10057 (org-create-formula-image-with-dvipng): Rename from
10058 `org-create-formula-image'.
10059 (org-create-formula-image-with-imagemagick): New defun to handle
10060 LaTeX preview with imagemagick.
10061 (org-latex-color, org-latex-color-format): New defuns to handle
10064 * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
10065 Allow to use imagemagick to convert LaTeX fragments.
10067 * org-html.el (org-export-html-preprocess): Ditto.
10069 * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
10071 2012-09-30 George Kettleborough <g.kettleborough@member.fsf.org>
10073 * org-clock.el: New option `org-clock-clocked-in-display' to
10074 control whether the current clock is displayed in the mode line
10075 and/or frame title.
10077 * org-timer.el: New option `org-timer-display' to control whether
10078 the current timer is displayed in the mode line and/or frame
10081 2012-09-30 Hans-Peter Deifel <hpdeifel@gmx.de> (tiny change)
10083 * ob.el (org-babel-execute-src-block): Allow the :dir header
10084 argument to take relative file names.
10086 2012-09-30 Harri Kiiskinen <harri@pp-kaitue.(none)> (tiny change)
10088 * org-protocol.el: New option.
10089 (org-protocol-store-link, org-protocol-do-capture): Use it.
10091 2012-09-30 Henning Weiss <hdweiss@gmail.com>
10093 * org-mobile.el (org-mobile-edit): Add handling of addheading,
10094 refile, archive, archive-sibling and delete edit nodes.
10095 (org-mobile-locate-entry): Olp links containing only a file are
10096 now be located correctly.
10097 (org-mobile-apply): Instead of finding the location of all target
10098 headings for edit nodes in a separate loop, they will be found
10099 immediately before applying edits.
10101 * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
10104 2012-09-30 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10106 * org.el (org-parse-time-string): Allow strings supported by
10107 tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
10108 starts with < and ends with >. This means that e.g. in the
10109 clocktable parameters you can specify :tstart "<-1w>" :tend
10112 2012-09-30 Ippei FURUHASHI <top.tuna+orgmode@gmail.com> (tiny change)
10114 * org-colview.el (org-columns): New argument `columns-fmt-string'.
10116 * org-colview.el (org-columns-get-format-end-top-level):
10117 Split into `org-columns-get-format' and `org-columns-goto-top-level'.
10119 * org-colview.el (org-dblock-write:columnview): Add a new
10120 parameter :format which specifies the column view format for the
10121 output of the columnview dynamic block.
10123 2012-09-30 Jambunathan K <kjambunathan@gmail.com>
10125 * org-lparse.el (org-lparse-and-open)
10126 (org-lparse-do-convert): Open exported files with system-specific
10129 * org-odt.el: Don't meddle with `org-file-apps'.
10131 * org-compat.el (org-condition-case-unless-debug): Alias to
10132 `condition-case' when both `condition-case-no-debug' and
10133 `condition-case-unless-debug' is unavailable.
10135 * org-odt.el (org-odt-do-image-size): Replace `flet' with
10136 equivalent construct.
10138 * org-odt.el (org-odt-cleanup-xml-buffers):
10139 Use `condition-case-no-debug' instead of
10140 `condition-case-unless-debug'. This ensures backward
10141 compatibility with Emacs versions < 24.1.
10143 * org-odt.el (org-odt-zip-dir)
10144 (org-odt-cleanup-xml-buffers): New.
10145 (org-export-as-odt-and-open, org-export-as-odt)
10146 (org-odt-init-outfile, org-odt-save-as-outfile)
10147 (org-export-as-odf, org-export-as-odf-and-open):
10148 Use `org-odt-cleanup-xml-buffers'.
10150 * org-odt.el (org-export-odt-default-org-styles-alist):
10151 Add default character style.
10153 * org-odt.el (org-export-odt-default-org-styles-alist):
10154 Add default character style.
10156 * org-lparse.el (org-do-lparse): Remove stray call to
10157 `org-export-html-after-blockquotes-hook'.
10159 * org-bbdb.el (org-bbdb-export): Add support for ODT format.
10161 * org-odt.el (org-odt-update-meta-file): Check for `org-version'
10162 is bound before accessing it.
10164 * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
10165 moved away from $(git-root)/contrib/odt/etc/schema/ to
10166 $(git-root)/etc/schema/.
10168 * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10169 internal links destined for headlines provide a description or
10170 not. In fact, the `org-store-link' and `org-insert-link' create
10171 internal links which do have a description.
10173 * org-lparse.el (org-lparse-insert-org-table): Consider short
10174 caption as plain text and not as org text.
10176 * org-odt.el (org-export-odt-format-formula)
10177 (org-export-odt-format-image): Ditto.
10179 * org-odt.el (org-odt-begin-table)
10180 (org-export-odt-format-formula, org-export-odt-format-image)
10181 (org-odt-format-entity): Handle short caption.
10183 * org-lparse.el (org-lparse-insert-org-table)
10184 (org-lparse-insert-list-table, org-lparse-insert-table-table):
10187 2012-09-30 Jay McCarthy <jay.mccarthy@gmail.com> (tiny change)
10189 * org-colview.el (org-columns-new-overlay): Make sure to add a
10190 face to a string that has no face.
10192 2012-09-30 Jérémie Courrèges-Anglas <jca@wxcvbn.org> (tiny change)
10194 * org-latex.el: Ensure a final newline is appended to the export
10197 2012-09-30 Levin Du <zslevin@gmail.com> (tiny change)
10199 * org-clock.el (org-clock-in): Fix bug in setting the clock
10202 2012-09-30 Madan Ramakrishnan <madanr79@gmail.com> (tiny change)
10204 * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10205 advertised by the function.
10207 2012-09-30 Mark E. Shoulson <mark@kli.org> (tiny change)
10209 * org.el (org-fontify-entities): Hide {} when prettifying
10212 2012-09-30 Mark Shoulson <mark@kli.org> (tiny change)
10214 * org-entities.el (org-entities): Add new entities for characters
10215 which could cause formatting changes if typed directly.
10217 * org-entities.el (org-entities): Add \asciicirc entity for ^;
10218 also fixed \circ expansion in latex.
10220 * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
10221 and \there4 were not "prettified" when org-pretty-entities was
10224 2012-09-30 Mats Lidell <matsl@xemacs.org> (tiny change)
10226 * org-element.el (org-element-paragraph-separate):
10227 Remove redundant and misplaced t clause in case.
10229 2012-09-30 Matt Lundin <mdl@imapmail.org>
10231 * org-datetree.el: Fix regexp to allow datetree to find headings
10232 with trailing whitespace. This fixes a bug in which an existing
10233 datetree heading (e.g., "* 2012 ") would not be found by
10234 org-datetree-find-year-create if it had trailing whitespace.
10235 This can cause problems, for instance, if one is using column view on
10236 the date tree, since editing subheadings with column view adds
10237 whitespace at the end of the top heading.
10239 * org-footnote.el (org-footnote-new): Don't call
10240 org-footnote-unique-label if org-footnote-auto-label is set to
10243 * org-gnus.el (org-gnus-follow-link): Fix argument to
10244 gnus-group-read-group so that following a link does not result in
10245 unread article being selected.
10247 * org-bbdb.el (org-bbdb-anniv-extract-date)
10248 (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
10249 to accommodate BBDB 3.x. There are two major changes in BBDB 3.x
10250 that need to be taken into account. The first is that
10251 `bbdb-split' reverses the order of its parameters in 3.x.
10252 The second is that `bbdb-record-getprop' is replaced by
10253 bbdb-record-note in 3.x.
10255 2012-09-30 Max Mikhanosha <max@openchat.com>
10257 * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
10258 a single line of agenda by narrowing the agenda buffer to just
10259 that line before calling `org-agenda-finalize'.
10261 * org.el (org-mode): Don't set org-hide's foreground to
10263 (org-find-invisible-foreground): New function.
10265 * org-agenda.el (defvar org-habit-show-all-today): New variable
10266 (org-agenda-get-scheduled): Show all habits if user wants it
10268 * org-habit.el (defcustom org-habit-show-all-today): New variable
10270 * org-agenda.el (org-agenda-quit): Copy the code for optionally
10271 restoring window configuration after burying the sticky agenda
10274 * org-agenda.el (org-agenda-new-marker): Check for NIL
10276 (org-agenda-to-appt): Bind org-agenda-buffer to NIL
10278 * org-agenda.el (org-agenda-change-all-lines): Move accessing of
10279 'extra text property outside of with-current-buffer for original
10282 * org-agenda.el (defvar org-habit-show-habits-only-for-today):
10285 2012-09-30 Michael Brand <michael.ch.brand@gmail.com>
10287 * org-id.el (org-id-link-to-org-use-id): Align the doc string to
10288 the changed default.
10290 * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
10291 when heading has no text.
10293 * org-capture.el (org-capture-inside-embedded-elisp-p):
10296 * org-feed.el (org-feed-format-entry): Require `org-capture'.
10297 Expand Elisp %(...) templates.
10298 (org-feed-default-template): Update docstring.
10300 * org-capture.el (org-capture-expand-embedded-elisp):
10302 (org-capture-fill-template): Use it.
10303 (org-capture-inside-embedded-elisp-p): New function to tell if we
10304 are within an Elisp %(...) template.
10306 * org-list.el (org-at-item-description-p)
10307 (org-list-item-body-column): Make the inline regexp more
10308 consistent with `org-list-full-item-re', the inline regexp
10309 "Description list items" from `org-set-font-lock-defaults and
10312 2012-09-30 Mike Sperber <sperber@deinprogramm.de>
10314 * org.el (org-fill-paragraph): Pass optional argument to
10315 `fill-paragraph' to fix compatibility with XEmacs.
10317 * org.el (org-self-insert-cluster-for-undo):
10318 Default `org-self-insert-cluster-for-undo' also on XEmacs.
10320 * org.el (org-kill-line): Access `visual-line-mode' only if it's
10323 2012-09-30 Muchenxuan Tong <demon386@gmail.com> (tiny change)
10325 * org-timer.el (org-timer-set-mode-line):
10326 Check `org-timer-display' when value is 'off.
10328 2012-09-30 Nicolas Calderon Asselin <nicolas.calderon.asselin@gmail.com> (tiny change)
10330 * org-clock.el (org-clock-idle-time): Org-mode assumed that
10331 x11idle was an available command, and returned an idle time of 0
10333 (never idle): Add checks so that org-idle-time will come from
10334 emacs' own current-idle-time if x11idle cannot be found or if it
10335 cannot retrieve the idle time from X11
10337 2012-09-30 Nicolas Goaziou <n.goaziou@gmail.com>
10339 * org-element.el: Properly remove COMMENT and QUOTE keywords from
10342 * org-element.el (org-element-headline-parser): Fix parsing for
10343 headlines with a single COMMENT or QUOTE keyword.
10345 * ob-org.el (org-babel-default-header-args:org): By default,
10346 export code from Org src blocks.
10348 * org-element.el (org-element-inline-src-block-successor):
10349 Fix inline-src-block parsing at the beginning of an item.
10351 * org-element.el (org-element--collect-affiliated-keywords):
10352 Fix caption parsing.
10354 * org-element.el (org-element--current-element): At the very
10355 beginning of a footnote definition or an item, next element is
10356 always a paragraph.
10358 * org-element.el (org-element-headline-parser): Handle nil titles.
10359 (org-element-inlinetask-parser): Add :raw-value property.
10360 Also handle nil titles.
10362 * org.el (org-set-regexps-and-options): Don't consider tags as a
10363 replacement for a missing title in an headline.
10365 * org.el (org-setup-filling): Remove duplicate code.
10367 * org.el (org-adaptive-fill-function): Make sure fill prefix is
10368 computed from beginning of line.
10370 * org-element.el (org-element-section-parser): Make sure section
10371 cannot contain an headline.
10372 (org-element--current-element): Fix bug requiring to parse a quote
10373 section even when point is at an headline.
10375 * org.el (org-adaptive-fill-function): Remove occasional spurious
10376 space character when auto-filling.
10378 * org.el (org-mode): Call external initalizers. Now both filling
10379 code and comments code have their own independant part in org.el.
10380 (org-setup-filling): Rename from `org-set-autofill-regexps'.
10381 (org-setup-comments-handling): New function.
10383 * org.el (org-fill-paragraph): Refine filling in comments and in
10384 paragraphs. Allow commented blank lines. Take into consideration
10385 the indentation of the second line of the paragraph being filled.
10386 (org-comment-or-uncomment-region): Rewrite function. Now comment
10387 region at a fixed column: the minimal indentation of the region.
10388 (org-fill-context-prefix): Rename function into
10389 `org-adaptive-fill-function'. Also, In a paragraph, choose the
10390 same prefix as the current line.
10392 * org-exp.el (org-export-handle-comments): Also remove comments at
10395 * org-exp.el (org-export-handle-comments): Handle inline comments
10398 * org.el (org-structure-template-alist): Add missing colon to
10401 * org.el (org-backward-element): When called at the beginning of
10402 first element in section, the function shouldn't return an error
10403 but move point to headline or point-min instead.
10405 * org-element.el (org-element-paragraph-parser): Tiny refactoring.
10407 * org-element.el (org-element-paragraph-parser): Remove trailing
10410 * org.el (org-fill-context-prefix): Fix incorrect output when
10411 called at the beginning of a plain list with an affiliated
10413 (org-fill-paragraph): Remove useless variable.
10415 * org-element.el (org-element-paragraph-parser): Fix parsing of
10416 paragraph at the beginning of an item.
10418 * org.el (org-mode): Set back comment-start-skip so comment-dwim
10419 can tell a keyword from a comment.
10421 * org.el (org-set-autofill-regexps): Install new comment line
10423 (org-comment-line-break-function): New function.
10424 (org-mode): Remove unnecessary line.
10426 * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
10427 fill verse blocks contents. Verse blocks can be used to format
10428 free-form poetry, so filling has to be done manually.
10430 * org.el (org-fill-paragraph-separate-nobreak-p): New function.
10431 (org-set-autofill-regexps): Introduce new predicate.
10432 (org-fill-item-nobreak-p): Remove function.
10434 * org-element.el (org-element-paragraph-separate): Since this
10435 variable is meant to be searched forward, \end{...} shouldn't
10436 trigger the end of a paragraph before checking if it is the end of
10437 a complete environment.
10438 (org-element-latex-environment-parser): Slight change to the
10439 regexp matching the beginning of a latex environment.
10440 (org-element-paragraph-parser): Paragraphs don't end at incomplete
10441 latex environments.
10442 (org-element-latex-or-entity-successor): Remove paragraph
10443 environments from latex fragment search.
10445 * org-table.el (org-table-number-regexp): By default, accept comma
10446 as a decimal mark to represent numbers.
10448 * org-element.el (org-element-map): Fix comment typo.
10450 * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
10451 returning funny results.
10453 * org.el (org-fill-paragraph): Try not to include message header
10454 and citation lines in a paragraph when filling it.
10456 * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
10457 (org-fill-context-prefix): Fill prefix doesn't depend on current
10460 * org.el (org-mode): Line with a single hash sign on it is a
10463 * org.el (org-set-font-lock-defaults): Fix comment fontification.
10465 * org-element.el (org-element-item-parser): Do not remove tag from
10466 body if list isn't descriptive.
10468 * org-list.el (org-insert-item): Only ask about a term for
10470 (org-list-struct, org-list-insert-item): Do not recognize a tag in
10473 * org-element.el (org-element-set-element): Rewrite function.
10474 (org-element-adopt-elements): New function.
10475 (org-element-adopt-element): Remove function.
10476 (org-element--parse-elements, org-element--parse-objects): Use new
10479 * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
10480 which is now hard-coded.
10481 (org-cycle-list-bullet): Hard code `bullet' rule.
10482 (org-list-get-list-type): Make sure a list with numbered bullets
10483 cannot have `descriptive' type.
10485 * org-element.el (org-element-paragraph-parser): Fix previous
10488 * org.el (org-fill-paragraph): No need to use
10489 `org-element-paragraph-separate' in a verse block since blank
10490 lines only can end a "paragraph".
10492 * org-element.el (org-element-paragraph-separate): Apply changes
10494 (org-element-paragraph-parser): Correctly find end of paragraphs.
10495 (org-element--current-element): Require colons for Babel calls.
10496 (org-element-center-block-parser)
10497 (org-element-dynamic-block-parser, org-element-quote-block-parser)
10498 (org-element-special-block-parser)
10499 (org-element-comment-block-parser)
10500 (org-element-example-block-parser)
10501 (org-element-export-block-parser, org-element-src-block-parser)
10502 (org-element-verse-block-parser): Fall-back to paragraph parsing
10503 when incomplete or ill-formed.
10505 * org-element.el (org-element-swap-A-B): Small refactoring.
10507 * org-element.el (org-element-text-markup-successor): Fix typo in
10510 * org-element.el (org-element-at-point): Return consistent value
10511 when function is called on a blank line within a plain list.
10513 * org-element.el (org-element-paragraph-separate): Fix comments in
10514 paragraph separator regexp. Optimize it.
10516 * org-element.el: Update code commets.
10518 * org.el (org-mark-subtree): Fix bug when marking subtree with
10519 point on an inlinetask. Refactor code.
10521 * org.el (org-mark-subtree): Do not make a special case for
10522 inlinetasks when marking a subtree. These are handled by
10523 `org-element-mark-element'.
10525 * org-element.el (org-element-comment-parser): Consider first "+"
10526 as a comment when parsing an ill-defined keyword.
10528 * org-element.el (org-element-item-interpreter): Simplify bullet
10530 (org-element-plain-list-interpreter): Fix wrong bullets, if
10533 * org-element.el (org-element-comment-parser): Fix parsing when a
10534 keyword follows the commented line.
10536 * org.el (org-fill-context-prefix): Auto-fill first paragraph in
10537 footnote definitions.
10539 * org.el (org-mode): Define new comment syntax.
10540 (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
10541 (org-fill-context-prefix, org-insert-comment)
10542 (org-comment-or-uncomment-region): Use new comment syntax.
10544 * org-element.el (org-element-comment-parser)
10545 (org-element-comment-interpreter, org-element--current-element):
10546 Use new comment syntax.
10548 * org.el (org-fill-paragraph): When at an item or a footnote
10549 definition, fill first paragraph instead.
10551 * org.el (org-fill-paragraph): Fix filling when point is at the
10552 very end of a paragraph.
10554 * org.el (org-mode): Set comments related variables.
10555 (org-insert-comment, org-comment-or-uncomment-region):
10558 * org.el (org-fill-context-prefix): Small refactoring.
10559 (org-fill-paragraph): Add code comments.
10561 * org-element.el (org-element-at-point): Add :parent property to
10563 (org-element-context): Add :parent property to output.
10564 Also return a single element or object instead of a list of parents.
10565 (org-element-forward, org-element-up): Apply changes.
10567 * org.el (org-fill-context-prefix): New function.
10568 (org-fill-paragraph, org-auto-fill-function): Use new function.
10569 Also handle comments.
10570 (org-adaptive-fill-function): Remove function.
10571 (org-get-local-variables, orgstruct++-mode): Don't store now
10572 unused adaptive-fill* functions.
10574 * org-element.el (org-element-at-point): Fix function when buffer
10575 starts with an inlinetask. Also fix it when called on the last
10576 element in a greater element or the buffer.
10578 * org-element.el (org-element-center-block-parser)
10579 (org-element-dynamic-block-parser)
10580 (org-element-footnote-definition-parser)
10581 (org-element-headline-parser, org-element-inlinetask-parser)
10582 (org-element-quote-block-parser, org-element-special-block-parser)
10583 (org-element-plain-list-parser): Refactor code.
10584 (org-element-drawer-parser): Fall-back to paragraph parser when
10585 drawer is incomplete.
10587 * org-macs.el (org-with-limited-levels): Fix typo.
10589 * org-element.el (org-element-paragraph-separate): Refactor.
10590 (org-element-paragraph-parser): Fix paragraph parsing.
10592 * org.el (org-fill-paragraph): Rewrite function using
10593 `org-element-at-point'.
10595 * org-element.el (org-element-fill-paragraph): Remove function.
10597 * org.el (org-planning-or-clock-line-re): Make it a defconst.
10598 It's no use to make it a buffer-local variable since variables on
10599 which it depends are not buffer-local anyway.
10601 * org.el (org-drawer-regexp): Provide default value for
10602 `org-drawer-regexp' in non-Org buffers.
10604 * org-entities.el (org-entities-create-table): Function chokes
10605 when CAR of `org-entities' is a string.
10607 * org-list.el (org-list-automatic-rules): Allow check-boxes in
10609 (org-list-struct-apply-struct, org-insert-item): Remove rule
10612 * org-footnote.el (org-footnote-normalize): Fix positionning in
10613 HTML export without a footnote section.
10615 * org-list.el (org-list-struct-indent):
10616 Follow `org-list-demote-modify-bullet' specifications for ordered
10618 (org-list-indent-item-generic, org-indent-item-tree)
10619 (org-outdent-item-tree): Fix bug when operating on a region.
10620 (org-outdent-item, org-indent-item): Allow to operate on a region.
10622 * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10625 * org-footnote.el (org-footnote-delete-definitions): Remove blank
10626 lines before the footnote definition instead of removing those
10629 * org-footnote.el (org-footnote-at-definition-p): Don't grab
10630 trailing blank lines in a footnote definition.
10631 (org-footnote-delete-definitions): Remove both footnote definition
10632 and trailing blank lines.
10634 2012-09-30 Rick Frankel <rick@rickster.com>
10636 * ob-sql.el: Add dbi engine type and pre/post processing.
10638 2012-09-30 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
10640 * ob.el (org-babel-expand-noweb-references): Capture current noweb
10641 start and end patterns then use to set buffer locals in
10642 (with-temp-buffer) form.
10644 2012-09-30 Sebastien Vauban <sva@mygooglest.com> (tiny change)
10646 * org.el (org-update-all-dblocks): Autoload function.
10648 2012-09-30 Simon Thum <simon.thum@gmx.de> (tiny change)
10650 * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10653 2012-09-30 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> (tiny change)
10655 * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10658 2012-09-30 Stuart Hickinbottom <stuart@hickinbottom.com> (tiny change)
10660 * org-clock.el (org-x11idle-exists-p): Only shell out when running
10663 2012-09-30 Suhail Shergill <suhailshergill@gmail.com> (tiny change)
10665 * org-html.el (org-export-as-html): If possible, use the
10666 :CUSTOM_ID: property to assign unique ids to footnotes.
10668 2012-09-30 T.F. Torrey <tftorrey@tftorrey.com> (tiny change)
10670 * org-exp.el (org-export-remember-html-container-classes):
10671 Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10673 * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10674 of `widen' and don't toggle header as `rmail-widen' already takes
10677 2012-09-30 Tim Howe <vsync@quadium.net> (tiny change)
10679 * org-clock.el (org-clocktable-defaults): Revert extra layer of
10682 2012-09-30 Toby S. Cubitt <tsc25@cantab.net>
10684 * org-capture.el (org-capture-fill-template): Expand %<num> escape
10685 sequences into text entered for <num>'th %^{PROMPT} escape.
10687 * org-capture.el (org-capture-fill-template): Fix regexp for
10688 %<n> expandos to match any positive integer.
10689 (org-capture-templates): Update docstring accordingly.
10691 * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10692 Skip timestamp items in agenda view if item is already shown as a
10694 (org-agenda-skip-deadline-if-done): Pass deadline results to
10695 org-agenda-get-timestamps.
10696 (org-agenda-get-timestamps): Optionally take list of deadline
10697 results, so that timestamp results can be skipped if already
10698 included in deadline results.
10700 * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10701 deadline/scheduling information to be displayed in diary sexp
10703 (org-agenda-get-sexps): Extract deadline/scheduling information
10704 from diary sexp entries.
10706 * org-capture.el (org-capture-place-entry): Place captured entry
10707 immediately after last subheading of target, instead of just
10708 before next heading at same level as target.
10710 * org-capture.el (org-capture-templates): Document new capture
10711 template properties.
10713 * org-capture.el (org-capture-place-entry)
10714 (org-capture-empty-lines-before): Make new :empty-lines-before
10715 property override :empty-lines when inserting empty lines before
10716 captured captured entry.
10718 * org-capture.el (org-capture-finalize)
10719 (org-capture-empty-lines-after): Make new :empty-lines-after
10720 property override :empty-lines when inserting empty lines after
10721 captured captured entry.
10723 * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10724 Add new todo-unblocked and nottodo-unblocked skip conditions.
10725 These match as for todo and nottodo, but only for unblocked todo items.
10727 2012-09-30 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
10729 * org.el (org-read-date-display): Fix bug when displaying the
10732 2012-09-30 Niels Giesen <niels.giesen@gmail.com>
10734 * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10735 When present, the :hline following the head will be skipped.
10736 This is necessary to avoid doubling of horizontal rules in LaTeX
10737 longtable environments and consequent width problems.
10739 * org-latex.el (org-export-latex-tables-tstart)
10740 (org-export-latex-tables-hline)
10741 (org-export-latex-tables-tend): New options.
10742 (org-export-latex-tables): Use the new options.
10744 2012-09-30 Feng Shu <tumashu@gmail.com> (tiny change)
10746 * org-exp.el (org-export-language-setup): Add simplified chinese
10749 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10751 Better seed support for (random).
10752 * org-id.el (org-id-uuid):
10753 Change (random t) to (random), now that the latter is more random.
10755 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10757 Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10758 * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10759 (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10760 (ly-w32-midi-path): Rename from ly-win32-midi-path.
10761 (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10762 Check for "windows-nt", not "win32", in system-type.
10764 2012-06-02 Chong Yidong <cyd@gnu.org>
10766 * org-clock.el (org-clock-string-limit)
10767 (org-clock-modeline-total, org-clock-task-overrun-text)
10768 (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10770 2012-05-27 Mark Shoulson <mark@kli.org> (tiny change)
10772 * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10773 \there4 were not "prettified" when org-pretty-entities was enabled.
10775 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10777 * org.el (org-font-lock-add-priority-faces):
10778 Restrict priorities fontification to headlines and inlinetasks.
10780 2012-05-27 Jambunathan K <kjambunathan@gmail.com>
10782 * org-odt.el (org-odt-init-outfile)
10783 (org-odt-write-manifest-file):
10784 Disable `nxml-auto-insert-xml-declaration-flag'.
10786 * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10788 2012-05-27 Bastien Guerry <bzg@gnu.org>
10790 * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10792 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10794 * ob.el (org-babel-capitalize-examplize-region-markers):
10795 Controls the capitalization of begin and end example blocks.
10796 (org-babel-examplize-region):
10797 Optionally capitalize example block delimiters.
10799 * ob-plantuml.el (org-babel-execute:plantuml):
10800 Add a :java header argument to plantuml.
10802 * org-exp-blocks.el (org-export-blocks-preprocess):
10803 Even when the body of a block is not indented the boundary markers
10804 should be indented to their original positions so things like list
10805 indentation still work.
10807 * ob.el (org-babel-parse-src-block-match):
10808 Save match data during indentation check.
10810 2012-05-27 Bastien Guerry <bzg@gnu.org>
10812 * org.el (org-scan-tags): Correctly match TODO keywords.
10814 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10816 * org-list.el (org-list-struct): Fix white spaces.
10817 (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10819 * org-list.el (org-list-swap-items, org-list-send-item):
10820 Preserve visibility when moving items.
10822 2012-05-27 Mark E. Shoulson <mark@kli.org> (tiny change)
10824 * org.el (org-fontify-entities): Hide {} when prettifying entities.
10826 2012-05-27 Bastien Guerry <bzg@gnu.org>
10828 * org.el (org-cycle-internal-global): Prevent the display of
10829 messages when cycling from with a Gnus article buffer.
10831 * org-table.el (org-table-time-seconds-to-string):
10832 Fix bug about handling a negative duration value.
10834 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10836 * org.el (org-link-expand-abbrev): Fix docstring.
10838 * org.el (org-translate-link): Fix bug.
10840 2012-05-27 Bastien Guerry <bzg@gnu.org>
10842 * org-agenda.el (org-agenda-bulk-mark-regexp):
10843 Fix bug when setting the number of marked entries.
10845 * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10846 (org-set-calc-mode, org-table-eval-formula): Use it.
10848 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10850 * ob.el (org-babel-find-named-result):
10851 Fix bug finding empty named results.
10853 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10855 * org.el (org-set-regexps-and-options):
10856 Fix `org-planning-or-clock-line-re' regexp. Indeed "\\>" will never
10857 match since time keywords must end with colons, which are not word
10860 2012-05-27 Bastien Guerry <bzg@gnu.org>
10862 * org-ctags.el (org-ctags-new-topic-template):
10863 Fix the option default value back again.
10865 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10867 * org-bibtex.el (org-bibtex-export-to-kill-ring):
10868 Don't rely on kill-new to return a string.
10870 * org-bibtex.el (org-bibtex-headline):
10871 Remove call to bibtex-reformat which often hangs.
10873 2012-04-27 Glenn Morris <rgm@gnu.org>
10875 * org-ctags.el (org-ctags-new-topic-template):
10876 Revert 2012-04-09 removal of * from defcustom value, not doc.
10878 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10880 * org-table.el (org-table-number-fraction): Fix typo.
10882 2012-04-27 Eric Schulte <eric.schulte@gmx.com>
10884 * ob-python.el (org-babel-execute:python): Ensure newline precedes
10885 automatically-added returns.
10887 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10889 * org-mouse.el (org-mode-hook): Do not move point when clicking on
10890 a footnote reference.
10892 2012-04-27 Bastien Guerry <bzg@gnu.org>
10894 * org-faces.el (org-date-selected): Fix docstring.
10896 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10898 * org-list.el (org-list-struct-indent):
10899 Follow `org-list-demote-modify-bullet' specifications for ordered
10901 (org-list-indent-item-generic, org-indent-item-tree)
10902 (org-outdent-item-tree): Fix bug when operating on a region.
10903 (org-outdent-item, org-indent-item): Allow to operate on a region.
10905 * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10908 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10910 * org-footnote.el (org-footnote-normalize): Fix positioning in
10911 HTML export without a footnote section.
10913 2012-04-27 Madan Ramakrishnan <madanr79@gmail.com> (tiny change)
10915 * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10916 advertised by the function.
10918 2012-04-27 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
10920 * org.el (org-read-date-display): Fix bug when displaying the
10923 2012-04-27 Bastien Guerry <bzg@gnu.org>
10925 * org.el (org-mode): Don't use `buffer-face-mode' by default.
10927 2012-04-27 Bastien Guerry <bzg@gnu.org>
10929 * org-faces.el (org-date-selected): New face.
10931 2012-04-27 Jambunathan K <kjambunathan@gmail.com>
10933 * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10934 internal links destined for headlines provide a description or
10935 not. In fact, the `org-store-link' and `org-insert-link' create
10936 internal links which do have a description.
10938 2012-04-27 Bastien Guerry <bzg@gnu.org>
10940 * org-clock.el (org-program-exists): Fix docstring.
10942 2012-04-14 Bastien Guerry <bzg@gnu.org>
10944 * org.el (org-point-at-end-of-empty-headline): Only try to match
10945 `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10947 (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10948 to fontify beyond (point-max).
10950 * org-clock.el (org-clock-task-overrun-text)
10951 (org-task-overrun, org-clock-get-clock-string)
10952 (org-clock-update-mode-line)
10953 (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10954 and `org-task-overrun-text' to `org-clock-task-overrun' and
10955 `org-clock-task-overrun-text' respectively.
10956 (org-task-overrun-text): New alias.
10958 * org-table.el (org-table-eval-formula): Fix bug about handling
10959 remote references as durations.
10960 (org-table-get-range): Fix bug: make sure references to $0 are
10963 * org-pcomplete.el (pcomplete/org-mode/file-option):
10964 Fix bug in `pcomplete/org-mode/file-option'.
10965 (org-thing-at-point): Also match line options like LATEX_CLASS
10966 when pcompleting from LATEX_.
10968 * org-agenda.el (org-agenda-filter-make-matcher)
10969 (org-agenda-filter-apply): Allow filtering entries out by
10970 category. Using `C-u <' from the agenda view will redisplay
10971 the agenda without entries from categories of the current line.
10973 2012-04-14 Eric Schulte <eric.schulte@gmx.com>
10975 * ob-C.el (org-babel-C-ensure-main-wrap):
10976 Add an explicit return to automatically generated main methods.
10978 2012-04-14 Matt Lundin <mdl@imapmail.org>
10980 * org.el (org-after-todo-state-change-hook):
10981 Fix docstring to reflect name change of state to `org-state'.
10983 2012-04-14 Mike Sperber <sperber@deinprogramm.de> (tiny change)
10985 * org-footnote.el (org-footnote-normalize):
10986 Correctly pass keyword arguments to `org-export-preprocess-string'.
10988 2012-04-03 Bastien Guerry <bzg@gnu.org>
10990 * org.el (org-todo): Fix regression: rename `state' to
10992 (org-use-effective-time): Fix group and type.
10994 2012-04-02 Bastien Guerry <bzg@gnu.org>
10996 * org-clock.el (org-clock-out-if-current): Fix regression: rename
10997 `org-clock-state' to `org-state' to match the name of the
10998 dynamically-scoped variable in `org-todo'.
11000 * org-agenda.el (entry, org-diary, org-class): Fix regression:
11001 rename `org-entry' to `entry'.
11003 2012-04-01 Bastien Guerry <bzg@gnu.org>
11005 * org.el (org-todo): Fix regression in `org-todo'.
11007 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11009 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
11010 C files on windows.
11012 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11014 * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
11017 * ob.el (org-babel-parse-src-block-match): Make use of the new
11018 language argument to org-babel-strip-protective-commas.
11019 (org-babel-parse-inline-src-block-match): Make use of the new
11020 language argument to org-babel-strip-protective-commas.
11021 (org-babel-strip-protective-commas): Now accepts a language
11024 2012-04-01 Bastien Guerry <bzg@gnu.org>
11026 * org.el (org-fast-tag-selection): Fix an bug when listing tags
11029 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11031 * org.el (org-delete-property-globally): Fix a bug that left
11032 blank line in place of the property, instead of removing the line.
11034 2012-04-01 Bastien Guerry <bzg@gnu.org>
11036 * ob-maxima.el (org-babel-maxima-command): Add group information
11039 2012-04-01 Bastien Guerry <bzg@gnu.org>
11041 * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
11042 face to 'org-default.
11044 2012-04-01 Bastien Guerry <bzg@gnu.org>
11046 * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
11049 2012-04-01 Bastien Guerry <bzg@gnu.org>
11051 * org.el: Prevent a bug while defining the menu by requiring
11052 `org-beamer' when necessary.
11054 2012-04-01 Bastien Guerry <bzg@gnu.org>
11056 * org-table.el (orgtbl-self-insert-command):
11057 Use `backward-delete-char' instead of `delete-backward-char' as this
11058 last command gets caught by the compiler which says to not use it
11059 in programs. `backward-delete-char' is just an alias for
11060 `delete-backward-char' which is internally remapped to
11061 `org-delete-backward-char' for optimization purpose.
11063 2012-04-01 Bastien Guerry <bzg@gnu.org>
11065 * org-latex.el (org-export-latex-subcontent): Bugfix: when
11066 `org-export-latex-low-levels' is nil, do not export low levels.
11068 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11070 * ob.el (org-babel-insert-result): Fix bug in indented wrapped
11073 2012-04-01 Bastien Guerry <bzg@gnu.org>
11075 * org.el (org-set-tags): Include `org-tag-alist' in the list of
11076 possible completions, even when there are tags defined in the
11079 2012-04-01 Bastien Guerry <bzg@gnu.org>
11081 * org.el (org-set-tags): Don't add a column when there is only one
11082 tag offered for completion.
11084 2012-04-01 Bastien Guerry <bzg@gnu.org>
11086 * org.el (org-fast-tag-selection): Include tags from
11087 `org-tag-alist' when completing with the TAB key.
11089 2012-04-01 Shoji Nishimura <nishimura.shoji@gmail.com> (tiny change)
11091 * org.el (org-display-inline-images): Honor the ̀beg' parameter.
11093 2012-04-01 Bastien Guerry <bzg@gnu.org>
11095 * org-latex.el (org-export-latex-subcontent): Don't insert a
11096 linebreak when itemizing a subtree that is just a headline.
11098 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11100 * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
11101 parsing inline call_foo lines.
11103 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11105 * ob-maxima.el (org-babel-maxima-command): The maxima command used
11106 should be configurable (defaults to maxima-command if defined).
11107 (org-babel-execute:maxima): The maxima command used should be
11108 configurable (defaults to maxima-command if defined).
11110 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11112 * ob-C.el (org-babel-C-execute): Add the local directory to the
11113 library search path for C/C++ block compilation.
11115 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11117 * ob.el (org-babel-where-is-src-block-result): Don't truncate
11118 results name on call line execution.
11120 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11122 * org-colview.el (org-columns-cleanup-item): Handle case of empty
11125 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11127 * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
11128 export error when a src block produces fake footnotes.
11130 2012-04-01 Bastien Guerry <bzg@gnu.org>
11132 * org.el (org-read-date): Don't mention `parse-time-weekdays' and
11133 `parse-time-months' in the docstring.
11135 2012-04-01 Bastien Guerry <bzg@gnu.org>
11137 * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
11140 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11142 * org-colview.el (org-columns-compute): Also consider inline tasks
11143 when computing the sum.
11145 2012-04-01 Thomas Morgan <tlm@ziiuu.com> (tiny change)
11147 * org-habit.el (org-habit-insert-consistency-graphs):
11148 Fix alignment of consistency graph in filtered agenda view.
11150 2012-04-01 Bastien Guerry <bzg@gnu.org>
11152 * org-latex.el (org-export-as-latex): Fix bug in setting the
11153 export directory according to the LaTeX options.
11155 2012-04-01 K.Nagashima <uni.naga@gmail.com> (tiny change)
11157 * org.el (org-show-subtree): Make interactive.
11159 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu>
11161 * org-clock.el (org-clock-get-table-data): Make sure todo-only
11162 does not leak when it is set by make-org-tags-macher.
11164 2012-04-01 Bastien Guerry <bzg@gnu.org>
11166 * org.el (org-cycle-internal-local): Don't try to hide drawers
11167 within subtrees in this function, it slows cycling down.
11169 2012-04-01 Bastien Guerry <bzg@gnu.org>
11171 * org-agenda.el (org-agenda-custom-commands-local-options):
11172 Fix incorrect custom option definition.
11174 2012-04-01 Bastien Guerry <bzg@gnu.org>
11176 * org-colview.el (org-columns-display-here): Bugfix: use the date
11177 as the value for the ITEM column when displaying a summary.
11179 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11181 * ob-lilypond.el: Re-direct homepage to Worg.
11183 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11185 * ob-lilypond.el: Leave versioning to Org.
11187 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11189 * ob-lilypond.el: Fix compiler warning.
11191 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11193 * org-odt.el (org-odt-format-entity-caption): Enumerate entities
11194 that have either a caption or a label.
11195 (org-odt-label-styles, org-odt-category-map-alist): Add a
11196 separator between sequence number and caption. Introduced two
11197 new label styles for handling of math formula and math label.
11198 (org-odt-format-label-definition)
11199 (org-export-odt-format-formula): Propagate above changes.
11201 2012-04-01 Bastien Guerry <bzg@gnu.org>
11203 * org.el (org-enforce-todo-dependencies): Fix docstring.
11205 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11207 * org-odt.el (org-export-odt-category-strings): New custom
11209 (org-odt-category-map-alist): Modify interpretation.
11210 Don't use the same field to double up as both a OpenDocument
11211 variable and a category string. Entries in this list now
11212 specify only the OpenDocument variable. Category strings are
11213 obtained through an indirect lookup of
11214 `org-export-odt-category-strings'. Use same OpenDocument
11215 variables as what LibreOffice uses for various entities.
11217 (org-odt-add-label-definition)
11218 (org-odt-format-label-definition)
11219 (org-odt-format-label-reference): Propagate above changes.
11221 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11223 * org-latex.el (org-export-as-latex): Check TeX-master correctly.
11225 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11227 * org-odt.el (org-odt-category-map-alist): Update docstring.
11228 (org-export-odt-user-categories)
11229 (org-export-odt-get-category-from-label)
11230 (org-odt-get-label-category-and-style): Remove.
11231 (org-odt-add-label-definition): Propagate above changes.
11233 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11235 * org.el (org-refile): Don't allow creation of parents when using
11236 the refile command to go to a headline.
11238 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11240 * org-odt.el (org-odt-format-org-link): Resolve links to headlines
11241 as section numbers only if section numbering is on.
11243 2012-04-01 Bastien Guerry <bzg@gnu.org>
11245 * org.el (format-spec): Require 'format-spec.
11247 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11249 * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
11251 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11253 * org.el (org-imenu-get-tree): Check that looking-at succeeds
11254 before using match results.
11256 2012-04-01 Bastien Guerry <bzg@gnu.org>
11258 * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
11260 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11262 * org-lparse.el (org-do-lparse): Make effective setting of
11263 `org-export-headline-levels' available to the ODT exporter.
11264 Also remove some stale comments.
11266 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11268 * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
11269 per-language string for "Table Of Contents".
11271 2012-04-01 Bastien Guerry <bzg@gnu.org>
11273 * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
11275 2012-04-01 Shaun Johnson <shaun@slugfest.demon.co.uk> (tiny change)
11277 * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
11280 2012-04-01 Suvayu Ali <fatkasuvayu+linux@gmail.com>
11282 * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
11283 case-fold-search is bound to nil globally, the
11284 (case-fold-search t) doesn't work until we get to the body.
11286 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11288 * org-latex.el (org-export-latex-tables): Allow to use
11291 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11293 * ob.el (org-babel-expand-noweb-references): Fix bug in src name
11294 regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
11296 2012-04-01 David Maus <dmaus@ictsoc.de>
11298 * org.el (org-scan-tags): Require one or more spaces (+) between
11299 keyword and headline.
11301 2012-04-01 David Maus <dmaus@ictsoc.de>
11303 * org-agenda.el (org-prepare-agenda): Don't reset
11304 `org-done-keywords-for-agenda' when `org-agenda-multi'.
11306 2012-04-01 Thomas Morgan <tlm@ziiuu.com> (tiny change)
11308 * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
11309 while inserting habit graph in the agenda buffer.
11311 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11313 * org-src.el (org-src-edit-buffer-p): New function.
11315 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11317 * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
11318 being checked. Also enhance the docstring a bit.
11320 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11322 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
11323 display of indirect agenda window.
11325 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11327 * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
11330 2012-04-01 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
11332 * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
11333 to tags-list and org-trust-scanner-tags to t while evaluating the
11334 matcher, since the matcher is always evaluated at the current
11337 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11339 * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
11340 evaluating the matcher, since the matcher is always evaluated at
11343 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11345 * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
11346 quoting expression.
11348 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11350 * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
11352 (org-babel-noweb-p): The "eval" argument only expands during
11355 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11357 * ob.el (org-strip-protective-commas): Declared.
11359 * org-agenda.el (org-agenda-filtered-by-category): Declared.
11360 (org-agenda-filter-apply): Capture free variable.
11362 * org-footnote.el (org-skip-whitespace): Declared.
11364 * org-mobile.el (org-agenda-filter): Declared.
11366 * org-src.el (org-strip-protective-commas): Declared.
11368 2012-04-01 Sebastien Vauban <sva@mygooglest.com> (tiny change)
11370 * org.el (org-version): Add autoload cookie.
11372 2012-04-01 David Maus <dmaus@ictsoc.de>
11374 * org-attach.el (org-attach-store-link-p): Remove spurious quote
11375 in customization form choice.
11377 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11379 * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
11380 (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
11383 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11385 * ob.el (org-babel-insert-result): Ensure correct order for empty
11386 result wrapping blocks.
11388 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11390 * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
11391 and add easy pdf generation in the form of `ly-gen-pdf' variable.
11393 2012-04-01 Deech <deech@deech-ThinkPad-X200.none> (tiny change)
11395 * ob-tangle.el (org-babel-spec-to-string): The link generated by
11396 org-store-link is escaped twice when tangling with ":comments yes"
11399 2012-04-01 Bastien Guerry <bzg@gnu.org>
11401 * org-html.el (org-export-as-html): Remove another useless space
11404 2012-04-01 Bastien Guerry <bzg@gnu.org>
11406 * org-html.el (org-export-as-html): Remove another useless space
11409 2012-04-01 Bastien Guerry <bzg@gnu.org>
11411 * org-html.el (org-export-as-html): Remove useless space before
11414 2012-04-01 Sebastien Vauban <sva@mygooglest.com> (tiny change)
11416 * org.el (org-version): Add autoload cookie.
11418 2012-04-01 Bastien Guerry <bzg@gnu.org>
11420 * org.el (org-get-category): Save match data.
11422 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11424 * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
11425 :tangle is specified.
11427 * ob.el (org-babel-expand-noweb-references): Widen buffer when
11428 expanding noweb references.
11430 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11432 * ob-table.el (sbe): Don't accidentally leave a `t' value when
11433 variables are force interpreted as strings.
11435 2012-04-01 David Maus <dmaus@ictsoc.de>
11437 * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
11438 (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
11440 2012-04-01 David Maus <dmaus@ictsoc.de>
11442 * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
11443 (bbdb-search-organization): Declare functions to silence byte
11446 2012-04-01 Bernt Hansen <bernt@norang.ca>
11448 * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
11449 repeating tasks using .+n and ++n syntax.
11451 2012-04-01 Karl Fogel <kfogel@red-bean.com> (tiny change)
11453 * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
11454 heading that has a date but no todo keyword.
11456 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11458 * ob.el (org-babel-find-named-result): Fix code block replacement
11461 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11463 * org-footnote.el (org-footnote-normalize): Do not normalize
11464 labels when sort-only is non-nil.
11466 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11468 * org-footnote.el (org-footnote-normalize): Remove an useless part
11470 (org-insert-footnote-reference-near-definition): Remove function.
11472 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11474 * org-footnote.el (org-footnote-normalize): Fix normalization of
11475 inline footnotes with no footnote section.
11477 2012-04-01 David Maus <dmaus@ictsoc.de>
11479 * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
11480 to check for old or new version by a check for the required
11481 function in `org-bbdb-open' and `org-bbdb-store-link'.
11482 (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
11485 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11487 * ob.el (org-babel-find-named-result): Don't miss a code block
11488 when there are confounding spaces after the result name.
11490 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11492 * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
11493 regular expressions.
11494 (org-babel-inline-lob-one-liner-regexp): Less greedy regular
11497 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11499 * ob.el (org-babel-examplize-region): Fix bug in examplization.
11501 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11503 * org.el (org-link-search): Search for #+name affiliated keywords
11504 and invisible targets.
11506 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11508 * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
11509 newlines in a transcoded footnote definition. This ensures that
11510 the line that is currently being processed by `org-do-lparse' loop
11511 doesn't get broken up into multiple lines. Fix for the following
11514 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11516 * org-footnote.el (org-footnote-normalize): Force a paragraph
11517 break after the last footnote definition. This is an an implicit
11518 assumption made by the org-lparse.el library. With this change,
11519 footnote definitions can reliably be exported with ODT backend.
11520 See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
11522 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11524 * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
11526 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11528 * org-list.el (org-list-struct): Fix small bug introduced by
11529 commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
11531 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11533 * ob-ditaa.el (org-ditaa-jar-path): Already defined in
11536 * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
11537 for the fact that this is really now a Babel thing -- even if it
11538 is used here and the definition should remain here for reasons of
11541 2012-04-01 David Maus <dmaus@ictsoc.de>
11543 * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
11544 defined after bbdb was loaded.
11546 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11548 * org-latex.el (org-export-latex-tables): Don't add spurious
11549 preceding newline if caption is not above a longtable.
11551 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11553 * org-odt.el (org-odt-insert-toc): Remove this stray,
11554 dysfunctional routine. This possibly has crept in because of the
11555 broken merges between "maint" and "origin" branches.
11556 (org-odt-begin-table): Don't emit an empty paragraph when a table is
11557 neither labeled nor captioned.
11558 (org-odt-init-outfile): Remove reference to an unused variable.
11560 2012-04-01 Viktor Rosenfeld <listuser36@googlemail.com>
11562 * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
11565 2012-04-01 Andreas Leha <andreas.leha@med.uni-goettingen.de>
11567 * ob.el (org-babel-goto-named-src-block): Pushing the point to the
11568 org-mark-ring and guessing at the code block name to jump to.
11570 2012-04-01 David Maus <dmaus@ictsoc.de>
11572 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
11573 of indirect buffer and window.
11575 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11577 * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11580 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11582 * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11585 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11587 * org-exp.el (org-table-clean-before-export): Ignore table rows
11588 defining parameters for formulas during export.
11590 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11592 * org-list.el (org-list-get-item-number): New function.
11594 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11596 * org-list.el (org-list-ending-method, org-list-end-regexp):
11598 (org-in-item-p, org-list-separating-blank-lines-number)
11599 (org-list-parse-list, org-list-struct): Apply changes.
11601 * org-exp.el (org-export-mark-list-end)
11602 (org-export-mark-list-properties): Apply changes.
11604 * org-latex.el (org-export-latex-lists): Apply changes.
11606 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11608 * org.el (org-cycle-internal-local): Correctly unfold headlines
11609 containing an inlinetask.
11611 2012-04-01 Bastien Guerry <bzg@gnu.org>
11613 * org.el (org-structure-template-alist): Fix missing angle
11614 brackets for muse export style.
11616 2012-04-01 David Maus <dmaus@ictsoc.de>
11618 * org.el (org-recenter-calendar): Use `with-selected-window' to
11619 select calendar window and save currently selected window and
11622 2012-04-01 Toby S. Cubitt <tsc25@cantab.net> (tiny change)
11624 * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11625 argument set, otherwise not only are headlines in the current
11626 subtree excluded, but it throws an error if point happens not to
11627 be within a subtree (e.g. at start of buffer).
11629 2012-04-01 David Maus <dmaus@ictsoc.de>
11631 * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11633 2012-04-01 David Maus <dmaus@ictsoc.de>
11635 * org-clock.el (org-in-clocktable-p): Move to org.el.
11637 * org.el (org-in-clocktable-p): New function. Moved from
11640 2012-04-01 David Maus <dmaus@ictsoc.de>
11642 * org-exp.el (org-export-get-title-from-subtree): Don't format
11643 tags in title if title headline does not have tags.
11645 2012-04-01 Bastien Guerry <bzg@gnu.org>
11647 * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11650 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11652 * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11653 Delay it till the end of export.
11654 (org-odt-begin-document-body): Make a note of the default
11655 position of TOC in `org-lparse-dyn-first-heading-pos'.
11656 (org-odt-insert-toc): Insert TOC as directed by
11657 [TABLE-OF-CONTENTS] line or at the default position.
11658 (org-odt-end-export): Call `org-odt-insert-toc'.
11660 2012-04-01 Bastien Guerry <bzg@gnu.org>
11662 * org.el (org-preview-latex-fragment): Throw an error when called
11663 from a non-file buffer.
11665 2012-04-01 David Maus <dmaus@ictsoc.de>
11667 * org-capture.el (org-capture-place-item): Don't search for
11668 position in existing list if :exact-position was supplied.
11670 2012-04-01 Bastien Guerry <bzg@gnu.org>
11672 * org.el (org-set-font-lock-defaults): Fix bug in done headline
11675 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11677 * org-odt.el (org-odt-format-textbox): Honor user-specified width
11678 in captioned images.
11680 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11682 * org.el (org-update-property-plist): Fix bug in property list
11685 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11687 * ob.el (org-babel-balanced-split): Explicit checking if list
11688 before calling member.
11690 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11692 * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11693 as the separator to `org-table-convert-region'. Fixes errors when
11694 only one result per line of output.
11696 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11698 * ob.el (org-babel-strip-protective-commas):
11699 Use `org-strip-protective-commas'.
11701 * org-exp.el (org-export-select-backend-specific-text):
11702 Use `org-strip-protective-commas'.
11704 * org-src.el (org-edit-src-code):
11705 Use `org-strip-protective-commas'.
11707 * org.el (org-strip-protective-commas): Single definition for this
11710 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11712 * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11714 2012-04-01 David Maus <dmaus@ictsoc.de>
11716 * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11717 Run before the finalization process starts.
11718 (org-capture-finalize): Run new hook.
11720 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11722 * org.el (org-entry-get): Generalize to multiple "prop+"
11725 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11727 * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11728 the `org-src-mode-map'.
11730 2012-04-01 David Maus <dmaus@ictsoc.de>
11732 * org.el (org-recenter-calendar): Use `with-selected-window' to
11733 select calendar window and save currently selected window and
11736 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11738 * org-list.el (org-list-ending-method, org-list-end-regexp):
11740 (org-in-item-p, org-list-separating-blank-lines-number)
11741 (org-list-parse-list, org-list-struct): Apply changes.
11743 * org-exp.el (org-export-mark-list-end)
11744 (org-export-mark-list-properties): Apply changes.
11746 * org-latex.el (org-export-latex-lists): Apply changes.
11748 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11750 * org.el (org-entry-get): Accumulate properties from subtree
11753 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11755 * org.el (org-entry-get): Accumulate properties from subtree
11758 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11760 * org-odt.el (org-export-odt-image-size-probe-method)
11761 (org-odt-do-image-size): Use imagemagick preferentially to
11762 determine image sizes.
11764 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11766 * org-odt.el (org-export-as-odt-to-buffer)
11767 (org-replace-region-by-odt, org-export-region-as-odt):
11768 Remove these interactive functions. They are of questionable value.
11770 2012-04-01 Toby S. Cubitt <tsc25@cantab.net> (tiny change)
11772 * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11773 argument set, otherwise not only are headlines in the current
11774 subtree excluded, but it throws an error if point happens not to
11775 be within a subtree (e.g. at start of buffer).
11777 2012-04-01 Bastien Guerry <bzg@gnu.org>
11779 * org-exp.el (org-export-kill-product-buffer-when-displayed)
11780 (org-export-initial-scope, org-export-date-timestamp-format)
11781 (org-export-with-tasks, org-export-email-info)
11782 (org-export-table-remove-empty-lines): Add version tag.
11784 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11786 * org.el (org-cycle-internal-local): Correctly unfold headlines
11787 containing an inlinetask.
11789 2012-04-01 Bernt Hansen <bernt@norang.ca>
11791 * org-clock.el (org-clock-out): Do not delete the current clocking
11792 task when org-clock-out-hook clocks in another task.
11794 2012-04-01 David Maus <dmaus@ictsoc.de>
11796 * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11798 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11800 * org-odt.el (org-export-odt-convert-processes): Re-define
11801 (org-export-odt-convert-capabilities): Fix an accidental
11804 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11806 * org-odt.el (org-export-odt-convert-capabilities): Change the
11809 2012-04-01 David Maus <dmaus@ictsoc.de>
11811 * org-clock.el (org-in-clocktable-p): Move to org.el.
11813 * org.el (org-in-clocktable-p): New function. Moved from org-clock.el.
11815 2012-04-01 David Maus <dmaus@ictsoc.de>
11817 * org-exp.el (org-export-get-title-from-subtree): Don't format
11818 tags in title if title headline does not have tags.
11820 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11822 * org-footnote.el (org-blank-before-new-entry)
11823 (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11826 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11828 * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11829 and C-e behavior with visual lines.
11831 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11833 * org-exp-blocks.el (org-export-blocks): Change the name of
11834 exporting comment blocks given that it seems regular comment
11835 blocks no longer export.
11837 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11839 * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11841 (org-babel-exp-in-export-file): Access current export buffer.
11842 (org-babel-exp-src-block): Access current export buffer.
11843 (org-babel-exp-inline-src-blocks): Access current export buffer.
11845 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11847 * ob-exp.el (org-babel-exp-in-export-file)
11848 (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11849 Allow org-current-export-file to contain a buffer.
11851 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11853 * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11854 with `shell-command-to-string'.
11856 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11858 * org-footnote.el (org-footnote-create-definition): Fix space
11859 insertion when creating a new footnote. This fixes newline
11860 munching when `org-footnote-section' is nil and blank lines
11861 stacking when it isn't nil.
11863 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11865 * org-footnote.el (org-footnote-normalize): Make sure that
11866 footnotes are moved to a single place during export.
11868 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11870 * org-footnote.el (org-footnote-normalize): Ensure footnote
11871 definition will be inserted at the end of the section
11872 corresponding to to its first reference.
11874 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11876 * org-footnote.el (org-footnote-at-definition-p): Make sure to
11877 move point at the beginning of the separator before skiping white
11878 spaces. Refactor code.
11880 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11882 * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11883 export when "strip-export".
11885 * ob.el (org-babel-common-header-args-w-values): New noweb
11887 (org-babel-merge-params): New noweb header value.
11888 (org-babel-noweb-p): New noweb header value.
11890 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11892 * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11894 * ob.el (org-babel-noweb-wrap): Add default value.
11895 (org-babel-expand-noweb-references): Just use default value.
11897 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11899 * org-exp.el (org-export-select-backend-specific-text): Always
11900 preserve original indentation as a text property so that lists do
11901 not get broken by indentation at column 0.
11903 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11905 * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11906 in source names in noweb references.
11908 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11910 * org.el (org-fill-line-break-nobreak-p): New function.
11911 (org-set-autofill-regexps): Add previous function to
11912 `fill-nobreak-predicate'.
11914 2012-04-01 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
11916 * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11917 visibility regardless of local user customization.
11919 2012-04-01 Carsten Dominik <carsten.dominik@gmail.com>
11921 * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11922 (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11924 * org-indent.el (org-indent-set-line-properties):
11925 Honor `org-inlinetask-show-first-star'.
11927 2012-04-01 Bastien Guerry <bzg@gnu.org>
11929 * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11930 doesn't contain duplicates.
11932 2012-04-01 Bastien Guerry <bzg@gnu.org>
11934 * org.el (org-at-drawer-p): Normalize the docstring to match other
11935 `org-at-*-p' docstrings.
11936 (org-indent-block, org-indent-drawer, org-at-block-p):
11938 (org-metaright): Use the new functions to indent a drawer or a
11939 block depending on the context. Also update the docstring.
11941 2012-04-01 Bastien Guerry <bzg@gnu.org>
11943 * org.el (org-set-regexps-and-options): Set the value of
11944 `org-drawers' by adding the value of the infile #+DRAWERS option
11945 to that of the existing `org-drawers'.
11947 2012-04-01 Bastien Guerry <bzg@gnu.org>
11949 * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11952 2012-04-01 Bastien Guerry <bzg@gnu.org>
11954 * org-inlinetask.el (org-inlinetask-toggle-visibility):
11955 Use `org-show-entry' instead of `outline-flag-region' to keep the
11956 drawers folded when unfolding an inline task.
11958 2012-04-01 Torsten Anders <torsten.anders@beds.ac.uk> (tiny change)
11960 * org-beamer.el (org-beamer-environments-default): Add support and
11961 keybinding for the `exampleblock' environment.
11963 2012-04-01 Michael Brand <michael.ch.brand@gmail.com>
11965 * org.el (org-open-link-from-string): Regard `reference-buffer'
11966 when setting `org-inhibit-startup'.
11968 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11970 * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
11971 space between inline src block and results on export.
11973 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11975 * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
11976 punctuation to proceed an inline src block.
11978 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11980 * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
11981 list of characters allowed to proceed an inline src block.
11983 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11985 * ob-tangle.el (org-babel-tangle-clean): Use the customizable
11988 * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
11989 (org-babel-noweb-wrap-end): End a noweb reference.
11990 (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
11991 (org-babel-expand-noweb-references): Use the customizable noweb
11994 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11996 * org.el (org-beginning-of-line): Handle case when there's no
11997 character after box.
11999 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12001 * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
12002 Delay it till the end of export.
12003 (org-odt-begin-document-body): Make a note of the default
12004 position of TOC in `org-lparse-dyn-first-heading-pos'.
12005 (org-odt-insert-toc): Insert TOC as directed by
12006 [TABLE-OF-CONTENTS] line or at the default position.
12007 (org-odt-end-export): Call `org-odt-insert-toc'.
12009 2012-04-01 Bastien Guerry <bzg@gnu.org>
12011 * org.el (org-preview-latex-fragment): Throw an error when called
12012 from a non-file buffer.
12014 2012-04-01 Bastien Guerry <bzg@gnu.org>
12016 * org.el (org-insert-property-drawer): Not an interactive
12018 (org-insert-drawer): With a prefix argument, insert a property
12019 drawer. Check for headline within the region before inserting the
12020 drawer. Don't include special drawers in the completion table.
12021 (org-mode-map): New keybinding `C-c C-x d' for
12022 `org-insert-drawer'.
12024 2012-04-01 Bastien Guerry <bzg@gnu.org>
12026 * org.el (org-insert-drawer): Support completion over known drawer
12027 names and inserting a drawer around the current region.
12029 2012-04-01 Bastien Guerry <bzg@gnu.org>
12031 * org.el (org-insert-drawer): New function.
12032 (org-insert-property-drawer): Use it.
12034 2012-04-01 Bastien Guerry <bzg@gnu.org>
12036 * org-list.el (org-mark-list): New function.
12038 2012-04-01 Bastien Guerry <bzg@gnu.org>
12040 * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
12041 complete drawer at point.
12042 (org-thing-at-point): Use it.
12044 2012-04-01 Bastien Guerry <bzg@gnu.org>
12046 * org.el (org-meta-return): Use `newline-and-indent' when in a
12049 2012-04-01 Bastien Guerry <bzg@gnu.org>
12051 * org.el (org-structure-template-alist): Fix docstring: the
12052 feature is not experimental anymore.
12054 2012-04-01 Bastien Guerry <bzg@gnu.org>
12056 * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
12057 display the item without unfolding drawers and logbooks.
12059 2012-04-01 Bastien Guerry <bzg@gnu.org>
12061 * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
12064 2012-04-01 Bastien Guerry <bzg@gnu.org>
12066 * org.el (org-structure-template-alist): Fix missing angle
12067 brackets for muse export style.
12069 2012-04-01 Bastien Guerry <bzg@gnu.org>
12071 * org.el (org-read-date): New parameter `inactive' when reading
12072 for insertion of inactive timestamps.
12073 (org-time-stamp, org-read-date-display): Use the new
12076 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12078 * ob.el (org-babel-expand-noweb-references): Only allow
12079 reference names which start and end with non-whitespace characters.
12080 Also, raise errors as appropriate given org-babel-noweb-error-langs.
12082 2012-04-01 Bastien Guerry <bzg@gnu.org>
12084 * org-src.el (org-src-in-org-buffer): Save and restore
12085 `buffer-undo-list' after editing.
12087 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12089 * ob.el (org-babel-common-header-args-w-values): Add new header
12091 (org-babel-expand-noweb-references): Use header argument rather than
12092 customization variable.
12094 2012-04-01 David Maus <dmaus@ictsoc.de>
12096 * org-capture.el (org-capture-place-item): Don't search for
12097 position in existing list if :exact-position was supplied.
12099 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12101 * ob.el (org-babel-noweb-separator): Custom variable for
12102 accumulated noweb references.
12103 (org-babel-expand-noweb-references): Allow separator for noweb
12106 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12108 * org.el (org-beginning-of-line): In an item, special position
12109 for C-a is after check-box, if any.
12110 (org-special-ctrl-a/e): Modify doc-string accordingly.
12112 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12114 * org-odt.el (org-export-odt-format-formula): Use :style
12115 property to specify custom table styles.
12117 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12119 * ob-exp.el (org-babel-exp-call-line-template): Control export of
12120 additional call line information.
12121 (org-babel-exp-non-block-elements): Fancier call line export.
12123 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12125 * org-odt.el (org-odt-entity-frame-styles): Add frame params
12126 for images that are anchored as character.
12127 (org-export-odt-format-image): Handle new anchor type
12129 (org-export-odt-default-image-sizes-alist): Misc. change.
12130 (org-export-odt-format-formula): Misc. change.
12132 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12134 * ob.el (org-babel-check-src-block): Don't report valid header
12135 arguments as suspicious.
12137 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12139 * ob-exp.el (org-babel-exp-non-block-elements): Map over both
12140 inline src blocks and call lines on export.
12142 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12144 * org-odt.el (org-odt-label-styles): Add a new style.
12145 (org-odt-category-map-alist): Use it.
12147 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12149 * org-odt.el (org-odt-table-style-format): New. Template for
12150 auto-generated table styles.
12151 (org-odt-automatic-styles, org-odt-object-counters):
12153 (org-odt-add-automatic-style): New function.
12154 (org-odt-write-automatic-styles): New function.
12155 Create automatic styles for tables that have custom :rel-width.
12156 (org-odt-begin-table): Parse attributes specified with
12157 "#+ATTR_ODT: " option and use it to create an automatic table
12159 (org-odt-save-as-outfile):
12160 Call `org-odt-add-write-automatic-styles'.
12161 (org-odt-init-outfile): Init newly add variables.
12162 (org-odt-section-count): Remove it.
12163 (org-odt-begin-section): Use `org-odt-add-automatic-style' to
12164 generate an automatic section name.
12166 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12168 * ob.el (org-babel-map-executables): Correctly position point when
12169 mapping hits an inline code block.
12171 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12173 * ob.el (org-babel-execute-src-block): Ensure params are
12174 incorporated *before* checking if evaluation is legal.
12176 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12178 * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
12179 marker so it is updated as required during export.
12181 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12183 * org-src.el (org-src-in-org-buffer): Run commands in the parent
12185 (org-edit-src-save): Use new macro.
12186 (org-src-tangle): Tangle the parent buffer.
12188 2012-04-01 Bastien Guerry <bzg@gnu.org>
12190 * org.el (org-set-font-lock-defaults): Fix bug in done
12191 headline fontification.
12193 2012-04-01 Bastien Guerry <bzg@gnu.org>
12195 * org.el (org-set-font-lock-defaults): Fix bug in done
12196 headline fontification.
12198 2012-04-01 Bastien Guerry <bzg@gnu.org>
12200 * org.el (org-return): Act normally when in code blocks.
12202 2012-04-01 Bastien Guerry <bzg@gnu.org>
12204 * org.el (org-in-src-block-p): New function.
12205 (org-context): Return new contexts :clocktable and :src-block.
12207 2012-04-01 Bastien Guerry <bzg@gnu.org>
12209 * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
12210 C-q' do the right thing even when point is before the first
12213 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12215 * ob.el (org-babel-noweb-p): Disambiguate intersection name.
12217 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12219 * org-odt.el (org-odt-format-textbox): Honor user-specified
12220 width in captioned images.
12222 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12224 * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
12225 (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
12226 (org-babel-map-call-lines): Replace gensym with make-symbol.
12227 (org-babel-map-executables): Replace gensym with make-symbol.
12229 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12231 * ob-exp.el (org-babel-exp-results): Alter a copy of info.
12233 2012-04-01 Bastien Guerry <bzg@gnu.org>
12235 * org-html.el (org-export-as-html):
12236 Initialize `html-pre-real-contents' correctly.
12238 2012-04-01 Bastien Guerry <bzg@gnu.org>
12240 * org-html.el (org-export-as-html):
12241 Initialize `html-pre-real-contents' correctly.
12243 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12245 * ob-exp.el (org-babel-exp-code): Ensure code block name is a
12248 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12250 * ob-exp.el (org-babel-exp-code-template): Customizable code
12251 block export format string.
12252 (org-babel-exp-code): Customizable code block export.
12254 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12256 * ob-clojure.el (org-babel-execute:clojure): Remove dependency
12257 on deprecated swank-clojure.
12259 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12261 * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
12262 (org-babel-map-inline-src-blocks): Don't pollute symbol space.
12263 (org-babel-map-call-lines): Don't pollute symbol space.
12264 (org-babel-map-executables): Map over *all* executable Org-mode
12266 (org-babel-execute-buffer): Execute elements in buffer order instead
12269 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12271 * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
12272 Those must be done with `copy-tree'.
12274 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12276 * org-src.el (org-edit-src-code): Referenced code block should
12277 not be evaluated on code block edit.
12279 2012-04-01 Bastien Guerry <bzg@gnu.org>
12281 * org.el (org-structure-template-alist): Use uppercase for
12284 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12286 * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
12287 code block results.
12289 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12291 * ob.el (org-babel-results-keyword): New user-configurable
12293 (org-babel-where-is-src-block-result): Use new user-configurable
12296 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12298 * org-indent.el (org-indent-refresh-maybe): Check for new
12299 headlines from the beginning of the line to be sure to catch
12300 any newly inserted headline there.
12302 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12304 * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
12305 (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
12307 * ob-tangle.el (org-babel-tangle-collect-blocks):
12308 Use `org-babel-noweb-p'.
12310 * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
12311 (org-babel-expand-src-block): Use `org-babel-noweb-p'.
12312 (org-babel-load-in-session): Use `org-babel-noweb-p'.
12313 (org-babel-merge-params): Use `org-babel-noweb-p'.
12314 (org-babel-noweb-p): New function used to determine if noweb
12315 expansion should be carried out in a given context.
12317 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12319 * org.el (org-update-property-plist): Fix bug in property list
12322 2012-04-01 François Pinard <pinard@iro.umontreal.ca> (tiny change)
12324 * org.el (org-kill-line): Use `kill-visual-line' in
12325 `visual-line-mode'.
12327 2012-04-01 Bernt Hansen <bernt@norang.ca>
12329 * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
12330 is outside the current restriction.
12332 2012-04-01 Bernt Hansen <bernt@norang.ca>
12334 * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
12335 in from the agenda.
12337 2012-04-01 Bernt Hansen <bernt@norang.ca>
12339 * org.el: Honor existing restrictions when regenerating the agenda.
12341 2012-04-01 Bastien Guerry <bzg@gnu.org>
12343 * org-agenda.el: New alias for `list-diary-entries-hook'.
12345 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12347 * ob.el (org-babel-common-header-args-w-values): Add the new
12348 header argument name.
12349 (org-babel-insert-result): Respect the value of the :wrap header
12350 argument when inserting results.
12351 (org-babel-result-end): Find the end of arbitrarily named result
12354 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12356 * org-indent.el (org-indent-refresh-maybe): Check for new
12357 headlines from the beginning of the line to be sure to catch
12358 any newly inserted headline there.
12360 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12362 * org.el (org-update-property-plist): Remove old instances of
12363 property when adding a new value for property.
12365 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
12367 * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
12368 code block would cause an error when the block is was executed.
12369 This fix cures this behavior.
12371 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12373 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12374 pieces of a previous patch.
12376 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12378 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12380 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12382 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12383 pieces of a previous patch.
12385 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12387 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12389 2012-04-01 Bastien Guerry <bzg@gnu.org>
12391 * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12392 instead of (end-of-buffer).
12394 2012-04-01 Bastien Guerry <bzg@gnu.org>
12396 * org-bbdb.el (name): Declare variable.
12397 (bbdb-record-get-field, bbdb-search-name)
12398 (bbdb-search-organization): Declare as part of ext:bbdb.
12400 2012-04-01 Bastien Guerry <bzg@gnu.org>
12402 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12403 instead of the obsolete `org-agenda-filter'.
12405 2012-04-01 Bastien Guerry <bzg@gnu.org>
12407 * org-agenda.el: Add an alias for `org-agenda-filter'.
12408 (diary-list-entries-hook): Use the non-obsolete hook.
12409 (org-agenda-filter-apply): Silent compiler warning.
12411 2012-04-01 Bastien Guerry <bzg@gnu.org>
12413 * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
12414 (org-ditaa-jar-option): New option.
12415 (org-babel-execute:ditaa): Use it.
12417 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12419 * ob.el (org-babel-balanced-split): Explicit checking if list
12420 before calling member.
12422 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12424 * ob.el (org-babel-balanced-split): Explicit checking if list
12425 before calling member.
12427 2012-02-14 Chong Yidong <cyd@gnu.org>
12429 * org-footnote.el: Remove bogus defvar values (Bug#10745).
12431 2012-01-05 Eric Schulte <eric.schulte@gmx.com>
12433 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12434 pieces of a previous patch.
12436 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12438 2012-01-05 Bastien Guerry <bzg@gnu.org>
12440 * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12441 instead of (end-of-buffer).
12443 * org-bbdb.el (name): Declare variable.
12444 (bbdb-record-get-field, bbdb-search-name)
12445 (bbdb-search-organization): Declare as part of ext:bbdb.
12447 * org-agenda.el: Add an alias for `org-agenda-filter'.
12448 (diary-list-entries-hook): Use the non-obsolete hook.
12449 (org-agenda-filter-apply): Silent compiler warnings.
12451 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12452 instead of the obsolete `org-agenda-filter'.
12454 2012-01-03 Bastien Guerry <bzg@gnu.org>
12456 * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
12457 and removing checkboxes with `C-u C-c C-c' on the first item
12458 of a list. Also, don't reinitialize checkboxes that are
12461 2012-01-03 Bastien Guerry <bzg@gnu.org>
12463 * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
12464 value with only one digit for the hours.
12466 2012-01-03 Bastien Guerry <bzg@gnu.org>
12468 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12469 Remove deleted function `org-encode-for-stdout'.
12471 2012-01-03 Bastien Guerry <bzg@gnu.org>
12473 * org.el (org-show-context): Complete docstring.
12475 2012-01-03 Bastien Guerry <bzg@gnu.org>
12477 * org-agenda.el (org-agenda-filter-by-tag):
12478 Use `read-char-exclusive' instead of `read-char'.
12480 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
12482 * org-clock.el (org-clock-in, org-clock-find-position):
12483 Remove erraneous space in regexp.
12485 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12487 * ob.el (org-babel-expand-noweb-references): Rather than using
12488 a pure regexp solution to resolve noweb references, actually
12489 check the information of every code block in the buffer.
12490 This will cause a slowdown in noweb reference expansion, but is
12491 necessary for correct behavior.
12493 2012-01-03 Bastien Guerry <bzg@gnu.org>
12495 * org.el (org-map-continue-from): Fix typo in docstring.
12497 2012-01-03 Bastien Guerry <bzg@gnu.org>
12499 * org.el (org-property-re): Also match cumulating properties
12502 2012-01-03 Bastien Guerry <bzg@gnu.org>
12504 * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
12505 matching the end of a block.
12507 2012-01-03 David Maus <dmaus@ictsoc.de>
12509 * org.el (org-open-at-point): Escape link path for http:,
12510 https:, ftp:, news:, and doi: links only if the path contains
12511 space or non-ascii character.
12513 2012-01-03 David Maus <dmaus@ictsoc.de>
12515 * org.el (org-refile-get-targets): Ignore headlines without a
12518 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12520 * ob.el (org-babel-map-call-lines): Move this file from
12521 ob-lob.el into ob.el to ease dependency pains.
12523 2012-01-03 Bastien Guerry <bzg@gnu.org>
12525 * org-publish.el (org-publish-index-generate-theindex):
12526 Use theindex.inc for storing index entries, and theindex.org for
12527 including theindex.inc.
12529 2012-01-03 Bastien Guerry <bzg@gnu.org>
12531 * org-publish.el (org-publish-index-generate-theindex):
12532 Create proper file target for index entries in subdirectories.
12534 2012-01-03 Bastien Guerry <bzg@gnu.org>
12536 * org-protocol.el (org-protocol-check-filename-for-protocol):
12537 Fix spelling mistake.
12539 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12541 * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
12542 for title and subtitle.
12543 (org-odt-format-toc): New.
12544 (org-odt-format-preamble): New. Users can redefine this to
12545 customize what goes before the document body. Currently it
12546 outputs title, author and email, date and toc.
12547 (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12548 (org-odt-format-date): Rename from
12549 `org-odt-iso-date-from-org-timestamp'. Also added an
12550 additional param for format string.
12551 (org-odt-begin-annotation, org-odt-update-meta-file):
12552 Use `org-odt-format-date'.
12554 2012-01-03 Bastien Guerry <bzg@gnu.org>
12556 * org.el (org-at-drawer-p): New function.
12557 (org-end-of-line): Use it.
12559 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12561 * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
12562 Controls the method in which noweb references are expanded.
12563 (org-babel-expand-noweb-references): Bring back the option for
12564 regexp-based noweb expansion.
12566 2012-01-03 Bastien Guerry <bzg@gnu.org>
12568 * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
12569 with only one digit for the hours.
12571 2012-01-03 Bastien Guerry <bzg@gnu.org>
12573 * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
12574 when ticking the checkbox of the first item.
12576 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12578 * org-list.el (org-list-write-struct): Add an optional
12579 argument for structure changes happening outside the function.
12581 * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
12582 item of a sub-list should toggle check-box presence of every
12583 item in the same sub-list. Also fix check-box insertion on a
12586 2012-01-03 Bastien Guerry <bzg@gnu.org>
12588 * org-agenda.el (org-agenda-filter-preset): New alias.
12589 (org-agenda-filter-by-category): New command.
12590 (org-agenda-mode-map): Add the new command.
12591 (org-agenda-custom-commands-local-options): Add category
12593 (org-agenda-mark-filtered-text): Mark both tag and filter
12595 (org-agenda-category-filter-preset): New variable.
12596 (org-finalize-agenda, org-agenda-redo)
12597 (org-agenda-filter-make-matcher, org-agenda-filter-apply):
12598 Handle both category and tag filters.
12599 (org-agenda-filter-show-all-tag): Rename from
12600 `org-agenda-filter-by-tag-show-all'.
12601 (org-agenda-filter-show-all-cat): New function.
12602 (org-agenda-set-mode-name): Show the category filter in the
12605 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12607 * org-bbdb.el (org-bbdb-old): New variable.
12608 (org-bbdb-store-link, org-bbdb-open): Check for
12610 (org-bbdb-open-old, org-bbdb-open-new): New functions.
12612 2012-01-03 Bastien Guerry <bzg@gnu.org>
12614 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12615 Remove deleted function `org-encode-for-stdout'.
12617 2012-01-03 Bastien Guerry <bzg@gnu.org>
12619 * org.el (org-check-dates-range): New command.
12620 (org-sparse-tree): Use it.
12622 2012-01-03 Bastien Guerry <bzg@gnu.org>
12624 * org-agenda.el (org-agenda-write): Rename from
12625 `org-write-agenda'.
12626 (org-agenda-mode-map, org-agenda-menu)
12627 (org-batch-store-agenda-views): Use new name
12628 `org-agenda-write'.
12630 2012-01-03 Bastien Guerry <bzg@gnu.org>
12632 * org.el (org-loop-over-headlines-in-active-region):
12634 (org-todo, org-deadline, org-schedule): Honor the 'start-level
12635 value of `org-loop-over-headlines-in-active-region'.
12637 2012-01-03 Bastien Guerry <bzg@gnu.org>
12639 * org-archive.el (org-archive-subtree)
12640 (org-archive-to-archive-sibling, org-toggle-archive-tag):
12641 Bugfix: use 'region-start-level.
12643 2012-01-03 Bastien Guerry <bzg@gnu.org>
12645 * org.el (org-show-context): Complete docstring.
12647 2012-01-03 Bastien Guerry <bzg@gnu.org>
12649 * org-agenda.el (org-agenda-filter-by-tag):
12650 Use `read-char-exclusive' instead of `read-char'.
12652 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12654 * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12657 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
12659 * org-clock.el (org-clock-in, org-clock-find-position):
12660 Remove erraneous space in regexp.
12662 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12664 * org-odt.el (org-odt-lib-dir): Add docstring.
12665 (org-odt-data-dir): New variable. Use this variable to
12666 control the locations from which the ODT exporter picks the
12667 OpenDocument styles and schema files from. Set this variable
12668 explicitly only if the in-built heuristics for locating the
12670 (org-odt-styles-dir-list, org-odt-schema-dir-list):
12671 New variables. Pay specific attention to (eval-when-compile ...)
12672 form through which Makefile's $(datadir) - contained in
12673 `org-odt-data-dir' - gets compiled in as a "hard coded"
12675 (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12678 2012-01-03 Bastien Guerry <bzg@gnu.org>
12680 * org-archive.el (org-archive-subtree)
12681 (org-archive-to-archive-sibling, org-toggle-archive-tag)
12682 (org-archive-set-tag): Handle the 'start-level value for
12683 `org-loop-over-headlines-in-active-region'.
12685 2012-01-03 Bastien Guerry <bzg@gnu.org>
12687 * org.el (org-scan-tags): New parameter `start-level' to scan only
12688 through headlines of that level.
12689 (org-map-entries): New allowed value `region-start-level' for
12690 the `scope' parameter, to allow scanning through headlines of
12691 the same level than the first headline in the region.
12692 (org-loop-over-headlines-in-active-region): New allowed value
12695 2012-01-03 Bastien Guerry <bzg@gnu.org>
12697 * org-archive.el (org-archive-subtree)
12698 (org-archive-to-archive-sibling, org-archive-set-tag)
12699 (org-toggle-archive-tag): Allow to loop over the active region by
12700 using `org-loop-over-headlines-in-active-region'.
12702 2012-01-03 Bastien Guerry <bzg@gnu.org>
12704 * org.el (org-todo): Allow to loop over the active region by
12705 using `org-loop-over-headlines-in-active-region'.
12707 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12709 * ob.el (org-babel-expand-noweb-references): Rather than using
12710 a pure regexp solution to resolve noweb references, actually
12711 check the information of every code block in the buffer.
12712 This will cause a slowdown in noweb reference expansion, but is
12713 necessary for correct behavior.
12715 2012-01-03 Bastien Guerry <bzg@gnu.org>
12717 * org.el (org-map-continue-from): Fix typo in docstring.
12719 2012-01-03 Bastien Guerry <bzg@gnu.org>
12721 * org-agenda.el (org-agenda-write-buffer-name): New variable.
12722 (org-write-agenda): Use it.
12724 2012-01-03 Bastien Guerry <bzg@gnu.org>
12726 * org-exp.el (org-export-date-timestamp-format): New option to
12727 define the way a timestamp in #+DATE will be exported.
12728 (org-infile-export-plist): Use the new option.
12730 2012-01-03 Bastien Guerry <bzg@gnu.org>
12732 * org.el (org-property-re): Also match cumulating properties
12735 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12737 * org-odt.el (org-odt-styles-dir): Assume that the styles
12738 files are located under `data-directory' of Emacs distribution
12739 as etc/org/OrgOdtStyles.xml and
12740 etc/org/OrgOdtContentTemplate.xml. Also update docstring.
12741 (org-export-odt-schema-dir): Update docstring.
12743 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12745 * org-odt.el (org-odt-format-preamble): Honor following user
12746 options: author, timestamp and email.
12748 2012-01-03 Bastien Guerry <bzg@gnu.org>
12750 * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12751 for matching the end of a block.
12753 2012-01-03 Bastien Guerry <bzg@gnu.org>
12755 * org-eshell.el: New file.
12757 2012-01-03 David Maus <dmaus@ictsoc.de>
12759 * org.el (org-open-at-point): Escape link path for http:,
12760 https:, ftp:, news:, and doi: links only if the path contains
12761 space or non-ascii character.
12763 2012-01-03 Bastien Guerry <bzg@gnu.org>
12765 * org-beamer.el (org-beamer-fragile-re): Also recognize
12766 \lstinline and \verb as commands that make a frame fragile.
12768 2012-01-03 David Maus <dmaus@ictsoc.de>
12770 * org.el (org-refile-get-targets): Ignore headlines without a
12773 2012-01-03 Litvinov Sergey <slitvinov@gmail.com>
12775 * ob-octave.el: Add graphical output to png file.
12777 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12779 * ob.el (org-babel-map-call-lines): Move this file from
12780 ob-lob.el into ob.el to ease dependency pains.
12782 2012-01-03 Bastien Guerry <bzg@gnu.org>
12784 * org-publish.el (org-publish-index-generate-theindex):
12785 Use theindex.inc for storing index entries, and theindex.org for
12786 including theindex.inc.
12788 2012-01-03 Bastien Guerry <bzg@gnu.org>
12790 * org-publish.el (org-publish-index-generate-theindex):
12791 Create proper file target for index entries in subdirectories.
12793 2012-01-03 Bastien Guerry <bzg@gnu.org>
12795 * org-protocol.el (org-protocol-check-filename-for-protocol):
12796 Fix spelling mistake.
12798 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12800 * org-odt.el (org-export-odt-default-org-styles-alist):
12801 Add styles for title and subtitle.
12802 (org-odt-format-toc): New.
12803 (org-odt-format-preamble): New. Users can redefine this to
12804 customize what goes before the document body. Currently it
12805 outputs title, author and email, date and toc.
12806 (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12807 (org-odt-format-date): Rename from
12808 `org-odt-iso-date-from-org-timestamp'. Also added an
12809 additional param for format string.
12810 (org-odt-begin-annotation, org-odt-update-meta-file):
12811 Use `org-odt-format-date'.
12813 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12815 * ob-ref.el (org-babel-ref-split-args): Now uses
12816 `org-babel-balanced-split'.
12818 2012-01-03 Bastien Guerry <bzg@gnu.org>
12820 * org-html.el (org-export-html-preamble)
12821 (org-export-html-postamble): Fix docstrings.
12822 (org-export-as-html): Insert the string used by a custom
12823 function for `org-export-html-pre/postamble'.
12825 2012-01-03 Bastien Guerry <bzg@gnu.org>
12827 * org.el (org-block-regexp)
12828 (org-heading-keyword-regexp-format)
12829 (org-heading-keyword-maybe-regexp-format): Move up to keep the
12830 byte-compiler happy.
12832 2012-01-03 Dave Abrahams <dave@boostpro.com> (tiny change)
12834 * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12836 (org-agenda-tree-to-indirect-buffer): Use the new function.
12838 2012-01-03 Bastien Guerry <bzg@gnu.org>
12840 * org-html.el (org-export-as-html): Fix bug when inserting the
12841 output of a custom function for the pre/postamble.
12843 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12845 * org-odt.el (org-odt-format-source-code-or-example):
12846 Try loading htmlfontify safely.
12848 2012-01-03 Bastien Guerry <bzg@gnu.org>
12850 * org-odt.el (require): Require htmlfontify.el only if
12851 emacs-version is greater than 23.2.
12853 2012-01-03 Bastien Guerry <bzg@gnu.org>
12855 * org-faces.el (org-agenda-calendar-event)
12856 (org-agenda-calendar-sexp): Use the default face.
12858 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12860 * ob.el (org-babel-expand-noweb-references): Fix regexp.
12862 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
12864 * org.el (Key bindings): Remap the Outline functions from
12865 `outline-mode-prefix-map' where possible.
12867 2012-01-03 Christian Moe <mail@christianmoe.com> (tiny change)
12869 * org-html.el (org-export-as-html):
12870 Apply `org-export-html-get-todo-kwd-class-name' to the class
12871 attribute of the todo-keyword span tag, not to its text
12874 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
12876 * org-agenda.el (org-agenda-get-timestamps)
12877 (org-agenda-get-sexps): Use face for highlighting "calendar"
12880 2012-01-03 Peter Münster <pmlists@free.fr> (tiny change)
12882 * org.el (org-add-planning-info): Treat absolute time too.
12884 2012-01-03 Bastien Guerry <bzg@gnu.org>
12886 * org-table.el (org-table-transpose-table-at-point): Don't use
12889 2012-01-03 Dave Abrahams <dave@boostpro.com> (tiny change)
12891 * org-clock.el (org-clock-out-if-current): Check the clock
12892 buffer is existing.
12894 2012-01-03 Bernt Hansen <bernt@norang.ca>
12896 * org-clock.el (org-clock-out-if-current): Fix marker in no
12897 buffer error for task state change in an indirect buffer.
12899 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
12901 * org.el (org-offer-links-in-entry): Make list when assigning
12904 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12906 * ob.el (org-babel-expand-noweb-references): Rather than
12907 collect the info from *every* block in the current buffer,
12908 simply regexp search for those blocks which appear to match
12909 the continued source name.
12911 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12913 * ob.el (org-babel-insert-result): Do not examplize wrapped
12914 scalar results, simply wrap them.
12915 (org-babel-result-end): Find the end of results wrapped in a
12918 2012-01-03 Bastien Guerry <bzg@gnu.org>
12920 * org.el (org-todo-yesterday): When called from the agenda,
12921 use `org-agenda-todo-yesterday' instead.
12923 2012-01-03 Bastien Guerry <bzg@gnu.org>
12925 * org-table.el (org-table-transpose-table-at-point): New command.
12927 2012-01-03 Bastien Guerry <bzg@gnu.org>
12929 * org-html.el (org-export-html-headline-anchor-format):
12931 (org-html-level-start): Use the new option.
12933 2012-01-03 Rob Giardina <rob@giardina.us> (tiny change)
12935 * org-agenda.el (org-agenda-with-point-at-orig-entry):
12938 2012-01-03 Christian Moe <mail@christianmoe.com> (tiny change)
12940 * org-special-blocks.el
12941 (org-special-blocks-convert-html-special-cookies):
12942 Close paragraph before opening or closing the <div>, and open
12943 paragraph after. Also changed newline placement to be the same
12944 as for other blocks.
12946 2012-01-03 Roberto Huelga <rhuelga@gmail.com>
12948 * org-clock.el (org-program-exists): Make the function
12949 compatible with darwin systems.
12951 2012-01-03 David Maus <dmaus@ictsoc.de>
12953 * org-exp.el (org-export-normalize-links): Mark bracket links
12954 before normalization to avoid erroneous normalization of
12955 bracket link parts.
12957 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12959 * org-odt.el (org-odt-data-dir): Remove.
12960 (org-odt-styles-dir, org-export-odt-schema-dir):
12963 * org-odt.el, org-lparse.el: New files.
12965 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12967 * org-capture.el (org-capture-set-target-location): Set the
12968 capture default time also to the prompt time.
12970 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12972 * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
12973 and #+results lines during preprocess.
12975 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12977 * ob-picolisp.el (ob-comint): Required.
12978 (comint): Required.
12980 (run-picolisp): Declared.
12981 (org-babel-execute:picolisp): Capture free variable, and replace
12982 function from cl-extra with core function.
12984 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12986 * ob-picolisp.el: New file.
12988 * org.el (org-babel-load-languages): Add Pico Lisp to the list
12989 of supported code block languages.
12991 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12993 * org-bibtex.el (org-bibtex): Now catches bibtex errors and
12994 directs the user to the location of the error.
12996 2012-01-03 Bastien Guerry <bzg@gnu.org>
12998 * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
13000 2012-01-03 Bastien Guerry <bzg@gnu.org>
13002 * ob.el (org-babel-execute-src-block): Fix typo.
13004 2012-01-03 Bastien Guerry <bzg@gnu.org>
13006 * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
13008 2012-01-03 Bastien Guerry <bzg@gnu.org>
13010 * org.el (org-link-unescape, org-link-unescape-compound):
13011 Fix two typos in docstrings.
13013 2012-01-03 Thomas Dye <dk@poto.local>
13015 * ob-R.el: Added tikzDevice support.
13017 2012-01-03 David Maus <dmaus@ictsoc.de>
13019 * org.el (org-clone-subtree-with-time-shift): Remove clocking
13020 information and empty drawers when preparing a clone.
13022 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13024 * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
13025 `org-export-blocks-postblock-hook'.
13027 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13029 * ob.el (org-babel-hide-result-toggle): Skip over header
13030 argument lines when toggling named code block visibility.
13032 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13034 * org-exp.el (org-export-grab-title-from-buffer):
13035 Don't license to kill text inside blocks when getting a title.
13037 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13039 * ob.el (org-babel-confirm-evaluate): Adding support for new
13040 range of :eval header arguments.
13042 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13044 * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
13045 during export when eval is set to "non-export".
13047 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13049 * ob-ref.el (org-babel-update-intermediate): New custom
13051 (org-babel-ref-resolve): Optionally update the in-buffer results
13052 of code blocks which are evaluated to resolve references.
13054 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13056 * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
13057 split string when a character appears on either side of the
13059 (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
13061 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13063 * org.el (org-reduce): Add a less functional Org-mode copy of
13064 the cl reduce function.
13066 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13068 * org.el (org-fontify-meta-lines-and-blocks-1):
13069 Recognize "name" as a valid keyword that can preceed a block.
13071 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13073 * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
13074 in-verbatim check to inline code blocks, do lob code blocks as
13077 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13079 * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
13081 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13083 * ob.el (org-babel-named-src-block-regexp-for-name):
13084 Ensure that partial names are not matched.
13085 (org-babel-named-data-regexp-for-name): Ensure that partial names
13088 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13090 * ob-ref.el (org-babel-ref-resolve): Search for named code
13091 blocks before named data.
13093 * ob.el (org-babel-named-data-regexp-for-name): New function for
13094 finding named data.
13096 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13098 * ob.el (org-babel-insert-result): Gracefully handle results
13099 which are neither lists nor strings.
13101 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13103 * ob-ref.el (org-babel-ref-resolve): Don't change location when
13104 looking at the contents.
13106 2012-01-03 Milan Zamazal <pdm@zamazal.org>
13108 * org.el (org-set-outline-overlay-data):
13109 Use outline-flag-region to make a region invisible. This ensures
13110 all necessary actions, especially adding
13111 isearch-open-invisible property, are applied.
13113 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13115 * ob-lob.el (org-babel-in-example-or-verbatim):
13116 Fix compilation warning.
13118 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13120 * ob.el (org-babel-find-named-result): Downcase "name" before
13123 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13125 * ob-lisp.el (org-babel-execute:lisp): Fix typo.
13126 (org-babel-lisp-vector-to-list): Fix typo.
13128 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13130 * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
13131 execution contexts (e.g., call lines) look like commented
13134 * ob.el (org-babel-get-src-block-info): Empty match string doesn't
13136 (org-babel-process-params): Always process parameters, even if
13137 you don't to table splitting.
13139 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13141 * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
13143 * ob-lob.el (org-babel-block-lob-one-liner-regexp):
13144 Update regular expression.
13145 (org-babel-inline-lob-one-liner-regexp): Update regular
13148 * ob-ref.el (org-babel-ref-resolve): Notice when something that
13149 looks like a data results may actually be a code block.
13151 * ob-table.el: Updated documentation.
13153 * ob.el (org-babel-src-name-regexp): Simplify regexp.
13154 (org-babel-get-src-block-info): Update match strings.
13155 (org-babel-data-names): Simplify acceptable names.
13156 (org-babel-find-named-block): Indentation.
13157 (org-babel-find-named-result): Update to not return a code block
13160 * org.el (org-fontify-meta-lines-and-blocks-1):
13161 Removing references to old syntactic elements.
13162 (org-additional-option-like-keywords): Removing references to
13163 old syntactic elements.
13165 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13167 * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
13168 and `buffer-substring'.
13170 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13172 * org-agenda.el (org-agenda-get-todos): Prevent an error when
13173 encountering tasks with only the TODO keyword.
13175 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13177 * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
13178 environment when at an item or an headline, but allow LaTeX
13180 (org-cycle): Try to call `cdlatex-tab' before cycling item's or
13181 headline's visibility, in order to catch LaTeX fragments within.
13183 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13185 * org-exp-blocks.el (org-export-blocks-preprocess): Require a
13186 newline and spaces before a code block.
13188 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13190 * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
13191 over all call lines in a buffer.
13193 * ob.el (org-babel-execute-buffer): Execute call lines when
13194 executing an entire buffer.
13196 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13198 * ob.el (org-babel-process-params): Don't disassemble tables
13201 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13203 * org-clock.el (org-clock-in, org-clock-find-position): Make space
13204 after date optional.
13206 * org.el (org-set-regexps-and-options)
13207 (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
13208 (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
13210 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13212 * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
13213 inside a verbatim block.
13215 * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
13218 2012-01-03 Litvinov Sergey <slitvinov@gmail.com>
13220 * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
13221 (org-babel-maxima-expand): Add input variables and graphic output.
13222 (org-babel-execute:maxima): Add input variables and graphic output.
13223 (org-babel-maxima-var-to-maxima): Add input variables and graphic
13225 (org-babel-maxima-graphical-output-file): Add input variables and
13227 (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
13230 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13232 * ob-fortran.el: New file. Adding support for Fortran code blocks.
13233 * org.el (org-babel-load-languages): Adding fortran to this list.
13235 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13237 * org-footnote.el (org-footnote-new): Cannot insert an inline
13238 footnote at beginning of line anymore.
13239 (org-footnote-at-reference-p): Don't recognize inline footnotes at
13242 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13244 * org.el (org-set-font-lock-defaults): Fix small error in matching
13245 group that prevented fontification of keywords like
13246 org-comment-string and stars in headlines.
13248 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13250 * org.el (org-catch-invisible-edits): New option.
13251 (org-self-insert-command, org-delete-backward-char)
13252 (org-delete-char): Call `org-check-before-invisible-edit'.
13253 (org-check-before-invisible-edit): New function.
13255 2012-01-03 Suvayu Ali <fatkasuvayu+linux@gmail.com>
13257 * org-exp.el (org-solidify-link-text): Respect
13258 org-export-with-tags when forming the export title during subtree
13261 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13263 * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
13264 (org-heading-keyword-maybe-regexp-format): Globalize variables so
13265 they are accessible even in buffers not in Org mode.
13267 2012-01-03 David Maus <dmaus@ictsoc.de>
13269 * org.el (org-insert-link): Don't use default-description if a
13270 `org-make-link-description-function' is defined.
13272 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13274 * org.el (org-set-regexps-and-options): Use property blocks for
13275 multi-line properties.
13277 2012-01-03 Bastien Guerry <bzg@gnu.org>
13279 * org.el (org-self-insert-command): Don't throw an error when
13280 editing takes place at the first point of the buffer.
13282 2012-01-03 Bastien Guerry <bzg@gnu.org>
13284 * org.el (org-self-insert-command): Unfold invisible region at
13285 point or right before point when editing.
13287 2012-01-03 Bastien Guerry <bzg@gnu.org>
13289 * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
13292 2012-01-03 Bastien Guerry <bzg@gnu.org>
13294 * org-html.el (org-html-expand): Prevent a nil value for STRING to
13295 return an error, just return nil.
13297 2012-01-03 Bastien Guerry <bzg@gnu.org>
13299 * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
13300 character in the #+LaTeX_CLASS option.
13302 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13304 * org-footnote.el (org-footnote-at-reference-p)
13305 (org-footnote-at-definition-p): Don't store text-properties of
13306 footnote definitions.
13308 2012-01-03 Bastien Guerry <bzg@gnu.org>
13310 * org-html.el (org-export-as-html): Convert special characters in
13311 meta tag "author", "date", "keyword" and "description".
13313 2012-01-03 Bastien Guerry <bzg@gnu.org>
13315 * org-capture.el (org-capture-before-finalize-hook): Docstring
13316 improvement: mention that the buffer is widened when this hook is
13319 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
13321 * org-html.el (org-export-as-html): Make sure the div for preamble
13322 is not inserted when the preamble is empty.
13324 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
13326 * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
13327 for filtering (shown in the mode-line).
13329 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13331 * ob.el (org-babel-parse-multiple-vars): Trimming excess white
13332 space from split variables.
13334 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13336 * org.el (org-link-search): Add an optional argument preventing
13337 function from revealing context around match.
13339 2012-01-03 Bastien Guerry <bzg@gnu.org>
13341 * org-agenda.el (calendar-check-holidays): Declare function.
13343 2012-01-03 Bastien Guerry <bzg@gnu.org>
13345 * org.el (org-return): Fix bug when matching the face property
13346 before following a link.
13348 2012-01-03 Matt Lundin <mdl@imapmail.org>
13350 * org-agenda.el (org-class): Fix holidays symbol in org-class.
13351 This was resulting in an "Bad sexp..." warning.
13353 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13355 * org.el (org-scan-tags): Also remember
13356 `org-complex-heading-regexp' in a property.
13358 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13360 * org-latex.el (org-export-as-latex): Turn off auto-insert and set
13361 TeX-master to t when creating new TeX buffers.
13363 * org-docbook.el (org-export-as-docbook): Turn off auto-insert
13364 when creating new buffers.
13366 * org-html.el (org-export-as-html): Turn off auto-insert
13367 when creating new buffers.
13369 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13371 * org-table.el (org-table-formula-handle-first/last-rc): Do not
13372 expand pointers to first/last row/column that are inside a call to
13374 (org-table-get-remote-range): Expand pointers to first/last
13377 2012-01-03 Michael Sperber <sperber@deinprogramm.de> (tiny change)
13379 * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
13380 compatibility issue when creating an indirect buffer.
13382 2012-01-03 Christophe Rhodes <csr21@cantab.net>
13384 * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
13385 the same way than LATEX_CLASS.
13387 2012-01-03 Bastien Guerry <bzg@gnu.org>
13389 * org.el (org-return): Check the presence of the 'org-link face
13390 even in contexts where there is more than one face.
13392 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13394 * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
13395 argument names which should be inherited.
13397 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13399 * org.el (org-in-block-p): Return matched name of block, if any.
13400 It can be useful when a list of block names is provided as
13403 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13405 * org-docbook.el (org-export-as-docbook): Fix regexp.
13407 * org-html.el (org-export-as-html): Fix regexp.
13409 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13411 * org-agenda.el (org-class): Allow holidays to be skipped.
13413 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13415 * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
13417 2012-01-03 Peter Münster <pmrb@free.fr> (tiny change)
13419 * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
13420 strings before calling `string-match'.
13422 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13424 * org-footnote.el (org-footnote-at-reference-p)
13425 (org-footnote-at-definition-p): Remove text-properties from label.
13427 2012-01-03 Bastien Guerry <bzg@gnu.org>
13429 * org-html.el (org-export-as-html): Add a "title" meta tag.
13431 2012-01-03 Bastien Guerry <bzg@gnu.org>
13433 * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
13434 entries to pass to `org-agenda-get-day-entries' and allow to
13435 filter out entries using a function.
13437 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13439 * org-agenda.el: Fix small display bug.
13441 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13443 * org.el (org-set-regexps-and-options): Fix small bug introduced
13444 by commit dfcb6faef11a2439b56b18a6289803361d402130.
13446 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13448 * org-agenda.el (org-search-view): Simplify regexp.
13449 (org-agenda-get-todos): Use new format string.
13451 * org-archive.el (org-archive-all-done): Simplify regexp.
13453 * org-ascii.el (org-export-as-ascii): More accurate regexp.
13455 * org-colview.el (org-columns-capture-view): Use new format string
13458 * org-docbook.el (org-export-as-docbook): More accurate
13459 regexp. Also use new regexp to match generic headlines.
13461 * org-exp.el (org-export-protect-quoted-subtrees): More accurate
13462 regexp. Also use new regexp to match generic headlines.
13464 * org-html.el (org-export-as-html): More accurate regexp.
13465 Also use new regexp to match generic headlines.
13467 * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
13468 and now erroneous function.
13470 * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
13472 (org-set-regexps-and-options): Create regexps according to the
13473 following rule: use spaces only to separate elements from an headline,
13474 while allowing mixed tabs and spaces for any indentation job.
13475 (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
13476 (org-set-font-lock-defaults): Fontify again headlines with a keyword
13477 and no other text. Use new format strings.
13478 (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
13479 (org-toggle-fixed-width-section): Use new format string.
13480 (org-todo): More accurate regexps.
13481 (org-point-at-end-of-empty-headline): Simplify regexp.
13482 (org-insert-heading): Headline can sometimes be nil.
13484 2012-01-03 David Maus <dmaus@ictsoc.de>
13486 * org-agenda.el (org-agenda-bulk-action): Bind
13487 `org-loop-over-headlines-in-active-region' to nil to avoid conflict
13490 2012-01-03 David Maus <dmaus@ictsoc.de>
13492 * org.el (org-deadline, org-schedule): Skip invisible headlines when
13493 mapping over headlines in active region.
13495 2012-01-03 David Maus <dmaus@ictsoc.de>
13497 * org.el (org-loop-over-headlines-in-active-region):
13498 New customization variable. Loop over headlines in active region.
13499 (org-schedule, org-deadline): Apply to headlines in region depending
13500 on new customization variable.
13502 2012-01-03 David Maus <dmaus@ictsoc.de>
13504 * org.el (org-map-entries): Immediately return if scope is 'region
13505 but no region is active.
13507 2012-01-03 David Maus <dmaus@ictsoc.de>
13509 * org.el (org-map-entries): Extend scope 'region to include entire
13510 body of last headline in active region.
13512 2012-01-03 Bastien Guerry <bzg@gnu.org>
13514 * org-src.el (org-edit-src-code): Fix typo-bug.
13516 2012-01-03 Bastien Guerry <bzg@gnu.org>
13518 * org.el (org-format-agenda-item, org-scan-tags):
13519 Rename `org-format-agenda-item' to `org-agenda-format-item'.
13521 2012-01-03 Bastien Guerry <bzg@gnu.org>
13523 * org-agenda.el: Replace `category-pos' by `org-category-pos' to
13524 silent byte-compiler.
13526 2012-01-03 Bastien Guerry <bzg@gnu.org>
13528 * org.el: Declare external function `cdlatex-compute-tables'.
13530 2012-01-03 Bastien Guerry <bzg@gnu.org>
13532 * org-latex.el (org-export-latex-set-initial-vars): Fix problem
13533 when matching #+LaTeX_CLASS.
13535 2012-01-03 Rafael Laboissiere <rafael@laboissiere.net> (tiny change)
13537 * org.el (org-link-search-must-match-exact-headline): Fix typos.
13539 2012-01-03 Bastien Guerry <bzg@gnu.org>
13541 * org-latex.el (org-export-latex-make-header): Add some hyperref
13544 2012-01-03 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
13546 * org-publish.el (org-publish-file): Add 'eval'ing the value of
13547 the :publishing-directory property before using it as destination
13548 of the publishing project. This allows to construct the publish
13549 destination directory dynamically at run-time using the return
13550 value of a function.
13552 2012-01-03 Bastien Guerry <bzg@gnu.org>
13554 * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
13556 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13558 * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
13560 (org-agenda-date-later): Improve the logical structure.
13562 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13564 * ob-calc.el (featurep): Require calc-store.
13566 * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
13569 * org-compat.el (fboundp): Support for XEmacs.
13571 * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
13573 * org-footnote.el (org-footnote-re): Optimize macro processing.
13575 * org.el (org-set-autofill-regexps): Xemacs compatibility.
13577 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13579 * ob.el (org-babel-balanced-split): Balance both [] and ()
13581 (org-babel-parse-header-arguments): Be sure to replace removed ":"
13584 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13586 * ob.el (org-babel-parse-header-arguments): Quick fix for a
13589 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13591 * ob.el (org-babel-params-from-properties): Now splits
13592 multiple var arguments behind a single ":var".
13593 (org-babel-balanced-split): Separated balanced splitting of
13594 strings out into a new function.
13595 (org-babel-parse-multiple-vars): Splits multiple var arguments
13596 behind a single ":var".
13598 2012-01-03 Bastien Guerry <bzg@gnu.org>
13600 * org.el: Remap `outline-promote' and `outline-demote' keys to
13601 `org-promote-subtree' and `org-demote-subtree'.
13603 2012-01-03 Leo Liu <sdl.web@gmail.com>
13605 * org-agenda.el (org-agenda-do-context-action): Check if marker is
13608 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13610 * org-agenda.el (org-agenda-date-later): Fix shifting of date
13613 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13615 * ob.el: Removing `org-babel-params-from-buffer' and
13616 #+PROPERTIES: entirely.
13618 * ob-exp.el (org-babel-exp-src-block):
13619 Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13621 * ob-lob.el (org-babel-lob-execute):
13622 Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13624 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13626 * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13627 lines in favor of general #+PROPERTIES: lines.
13629 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13631 * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13634 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13636 * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13637 update the internal cdlatex tables.
13639 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13641 * ob-sql.el (org-babel-execute:sql): Respect literal-results
13644 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13646 * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13647 code block colname and rowname handling.
13649 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13651 * org-publish.el (org-publish-cache-file-needs-publishing):
13652 Fix regexp to not inlcude newlines.
13654 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13656 * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13659 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13661 * org.el (org-fontify-entities): Match entities before
13662 numbers, as in `\sim2'.
13664 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13666 * org-agenda.el (org-agenda-date-later): Make pushing forward
13667 a past date to jump immedialtely to today.
13669 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13671 * org-exp.el (org-store-forced-table-alignment): Parse the
13672 column cookie for both alignment and width
13673 specification. Store the resulting value in `org-col-cookies'
13674 property. Retire the previously used `org-forced-aligns'
13675 property for consistency. Renamed local variable `aligns' to
13678 * org-html.el (org-format-org-table-html):
13679 Use `org-col-cookies'. Renamed local variable forced-aligns to
13682 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13684 * org.el (org-latex-to-mathml-jar-file)
13685 (org-latex-to-mathml-convert-command): New user-customizable
13687 (org-format-latex-mathml-available-p, org-create-math-formula)
13688 (org-format-latex-as-mathml): New functions.
13689 (org-format-latex): Add a new local variable block-type that notes
13690 the nature of the equation - inline or display. Associate it's
13691 value to `org-latex-src-embed-type' property of dvipng links.
13692 Add mathml as new processing type.
13694 2012-01-03 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
13696 * org.el (org-refile): Add tree name to prompt.
13698 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13700 * org-latex.el (org-export-latex-tables):
13701 Honor `org-export-latex-table-caption-above'
13702 (org-export-latex-table-caption-above): New option.
13704 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13706 * ob.el (org-babel-insert-header-arg): Now including language
13707 specific header arg values in insertion options.
13709 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13711 * ob.el (org-babel-insert-header-arg): Fix typo.
13713 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
13715 * org-exp.el (org-export-number-lines): Modify. Add a new
13716 parameter `preprocess' and use this for backend-agnostic
13717 handling of literal examples.
13719 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13721 * org.el (org-match-substring-regexp)
13722 (org-match-substring-with-braces-regexp): Allow subscripts and
13723 superscripts to start at beginning of line.
13725 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13727 * ob.el (org-babel-common-header-args-w-values): New variable to
13728 hold common header arguments and their default values.
13729 (org-babel-header-arg-names): Redefined using the new common
13730 header arg variable.
13731 (org-babel-insert-header-arg): New function to help when inserting
13734 2012-01-03 David Maus <dmaus@ictsoc.de>
13736 * org-html.el (org-html-handle-links): Remove unnecessary
13737 protection markers when publishing link in default format.
13739 2012-01-03 Pieter Praet <pieter@praet.org> (tiny change)
13741 * org-crypt.el (org-crypt-check-auto-save): New function, see
13744 * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13745 check out into a separate function, and call it at a later
13746 point, to assure it only runs when visiting an encrypted
13749 2012-01-03 John J Foerch <jjfoerch@earthlink.net> (tiny change)
13751 * org.el (org-log-note-headings): Document new %d and %D
13753 (org-store-log-note): Implement new %d and %D escapes.
13755 2012-01-03 Dave Abrahams <dave@boostpro.com>
13757 * org-agenda.el (org-agenda-follow-indirect): New option.
13758 (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13760 (org-agenda-do-context-action): Also do indirect follow mode
13763 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13765 * ob-table.el (sbe): Fix typo in new sbe specification.
13767 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13769 * ob-table.el (sbe): If first variable is a string and not a
13770 cons cell, then interpret it as a string of header arguments
13771 to be passed to the code block.
13773 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13775 * ob-shen.el (shen-eval-defun): Declare external function.
13776 (org-babel-execute:shen): Move requirement of inf-shen into
13777 the function in which it is used to fix build error.
13779 * ob-shen.el: New file.
13781 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13783 * org.el (org-open-at-point): Make `org-open-at-point' only
13784 ask once about creating a new headline.
13786 2012-01-03 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13788 * org.el (org-refile-targets): Elaborated the documentation of
13789 the variable as suggested by Dave Abrahams.
13791 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13793 * org.el (org-align-tags-here): Allow tags to be placed right
13795 (org-tags-column): Document the meaning of tags column 0.
13797 2012-01-03 Niels Giesen <niels.giesen@gmail.com>
13799 * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13800 in agenda if start day is same as end day.
13802 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13804 * org.el (org-refile-get-location): Ignore errors when
13805 collection heading to be excluded.
13807 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13809 * org-special-blocks.el
13810 (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13811 strict problems by not enclosing special blocks in paragraph tags.
13813 2012-01-03 Bernt Hansen <bernt@norang.ca>
13815 * org-html.el (org-export-as-html): Check string-match
13817 (org-html-handle-time-stamps): Check string-match argument.
13819 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13822 (org-agenda-skip-additional-timestamps-same-entry):
13823 Change default value.
13825 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13827 * org.el (org-time-string-to-time):
13828 (org-time-string-to-absolute): Add optional arguments BUFFER and
13829 POS for error reporting.
13831 * org-agenda.el (org-get-all-dates):
13832 (org-agenda-get-timestamps, org-agenda-get-deadlines)
13833 (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13834 stamp parsing functions with information on where the
13835 timestamp was taken from.
13837 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13839 * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13840 after `show-all' in indirect buffer.
13842 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13844 * org-list.el (org-list-parents-alist): When no parent is found
13845 for an item, set it as the closest less indented item above.
13846 If none is found, make it a top level item.
13847 (org-list-write-struct): Externalize code.
13848 (org-list-struct-fix-item-end): New function.
13849 (org-list-struct): Remove a now useless fix.
13851 * org.el (org-ctrl-c-ctrl-c): Use new function.
13853 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13855 * org.el (org-end-of-line): When on an item, move point at the
13856 end of the line, but before any hidden text. Thus, it's still
13857 possible to use commands, like `C-c C-c', acting at
13858 items. This is still disabled if `org-special-ctrl-a/e'
13861 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13863 * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13865 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13867 * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13870 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13872 * org-footnote.el (org-footnote-at-definition-p):
13873 Remove useless `org-re'.
13875 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13877 * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13878 is at a real footnote reference or definition before
13881 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13883 * org-footnote.el (org-footnote-goto-definition): This patch
13884 makes sure the function says when a definition has been
13885 found. Thus, moving from the reference to the definition
13886 doesn't offer to create the latter again.
13888 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13890 * org-footnote.el (org-footnote-create-definition):
13891 Explicitly move point after tag, if it has just been
13894 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13896 * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13897 names on Windows systems.
13899 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13901 * org-footnote.el (org-footnote-create-definition): When the
13902 tag is missing, it is created before any existing footnote, or
13903 at end of buffer. In the latter case, the marker pointing at
13904 the position where the new footnote is going to be inserted
13905 (at end of buffer) stays before the tag. This patch makes
13906 sure that the marker will be kept after the tag.
13908 2012-01-03 Eli Zaretskii <eliz@gnu.org>
13910 * org.el (org-mode): Force left-to-right paragraphs in Org
13911 buffers. For a related discussions, see
13912 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13914 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13916 * ob-asymptote.el (org-babel-asymptote-define-type):
13917 Silence byte-compiler.
13919 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13921 * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13924 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13926 * org-bibtex.el (org-bibtex-type-property-name):
13927 Configurable property name for bibtex entry types.
13928 (org-bibtex-headline): Use new configurable property name.
13929 (org-bibtex-check): Use new configurable property name.
13930 (org-bibtex-create): Use new configurable property name.
13931 (org-bibtex-write): Use new configurable property name.
13933 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13935 * org.el (org-paste-subtree): Remove unnecessary `concat'.
13937 2012-01-03 Bastien Guerry <bzg@gnu.org>
13939 * org.el (org-paste-subtree): Remove useless (concat ...).
13941 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13943 * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13944 characterp with integerp (which should work w/Emacs22).
13946 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13948 * org-footnote.el (org-footnote-at-definition-p): Context must
13949 be valid at the beginning of line, not at point.
13951 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13953 * ob-tangle.el (org-babel-tangle-collect-blocks):
13954 Better delimiting of Org-mode text preceding a code block.
13956 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13958 * ob.el (org-babel-get-src-block-info): Fixing bug,
13959 accidentally deleted variable values.
13961 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13963 * ob-tangle.el (org-babel-process-comment-text):
13964 Customizable function to process comment text.
13965 (org-babel-tangle-collect-blocks): Make use of new
13966 customizable processing function.
13967 (org-babel-spec-to-string): Call customizable function rather than
13970 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13972 * ob-R.el (org-babel-execute:R): Collect and pass along the
13974 (org-babel-R-evaluate): Accept result-params and if "scalar" or
13975 "verbatim" don't process output.
13976 (org-babel-R-evaluate-session): Accept result-params and if
13977 "scalar" or "verbatim" don't process output.
13979 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13981 * ob.el (org-babel-merge-params): Differentiate between result
13982 types and wrappers.
13984 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13986 * ob.el (org-babel-get-src-block-info): Check that
13987 functional-syntax variables are initialized.
13989 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13991 * ob.el (org-babel-check-src-block): Adding a note for a
13992 future enhancement.
13994 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13996 * org-exp.el (org-export): Restore point when exporting a subtree.
13998 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14000 * ob.el (org-babel-parse-src-block-match): More robust to code
14001 blocks with empty bodies.
14003 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14005 * ob.el (org-babel-parse-src-block-match): Don't error on empty
14008 2012-01-03 David Maus <dmaus@ictsoc.de>
14010 * org.el (org-open-at-point): Unescape plain link.
14012 2012-01-03 David Maus <dmaus@ictsoc.de>
14014 * org-html.el (org-html-handle-links): Remove unnecessary link
14017 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14019 * ob.el (org-babel-merge-params): Better error message for
14020 unassigned variables.
14022 2012-01-03 Christian Egli <christian.egli@alumni.ethz.ch>
14024 * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
14025 buffer local variables to the temporary buffer before
14028 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14030 * org-exp.el (org-export-select-backend-specific-text):
14031 Only remove commas on the front line of a code block.
14033 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14035 * ob.el (org-babel-demarcate-block): Copy headers and indent to
14036 column of point when a block is split.
14038 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14040 * ob.el (org-babel-insert-result): Corrected file insertion
14041 for inline results.
14043 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14045 * org-footnote.el (org-footnote-in-valid-context-p):
14046 No footnote in latex fragments.
14048 2012-01-03 Martin Rudalics <rudalics@gmx.at>
14050 * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14051 argument from `pop-to-buffer-same-window' call.
14053 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14055 * ob-R.el (org-babel-R-evaluate-session): Improve prompt
14058 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14060 * org-inlinetask.el (org-inlinetask-goto-end):
14063 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14065 * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14067 (org-babel-asymptote-table-to-array): Remove function.
14069 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14071 * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14072 recognize non-nested lists as uni-dimensional arrays.
14074 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14076 * ob.el (org-babel-params-from-properties): Don't check for
14077 header arguments in properties with leading ":"s.
14079 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14081 * org-inlinetask.el (org-inlinetask-goto-end):
14082 Correctly detect the end of an inlinetask when the next one starts
14083 immediately after the current one. Also, return position of
14086 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14088 * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
14091 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14093 * ob-asymptote.el (org-babel-asymptote-define-type):
14094 Elisp floats are asymptote reals.
14096 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14098 * ob-asymptote.el (org-babel-asymptote-table-to-array):
14099 Require a new argument TYPE specifying the detected type of
14100 array. If it's a string array, make sure every element is
14101 returned as a string. Also improve doc-string.
14102 (org-babel-asymptote-var-to-asymptote): Fill new argument.
14104 (org-babel-asymptote-define-type): Rewrite to avoid stopping
14105 search at first float found, as strings have precedence over
14108 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14110 * org-footnote.el (org-footnote-normalize): Be sure to separate
14111 the last footnote definition from the rest of the buffer.
14113 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14115 * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
14118 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14120 * org.el (org-latex-regexps): Allow matching latex fragments
14121 of type "$" and "$1" at beginning of line.
14123 2012-01-03 Bastien Guerry <bzg@gnu.org>
14125 * org-agenda.el (org-search-view, org-agenda-get-todos)
14126 (org-agenda-get-deadlines, org-agenda-get-scheduled):
14127 Add `category-pos' in let construct.
14129 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14131 * org-footnote.el (org-footnote-get-definition): The function has
14132 to widen buffer if definition has not been found in the current
14133 narrowed part. Be sure to restore that restriction once the
14134 definition is found.
14136 2012-01-03 Michal Sojka <sojka@os.inf.tu-dresden.de> (tiny change)
14138 * org-icalendar.el (org-print-icalendar-entries): Make alarm
14139 duration RFC5545 compliant.
14141 2012-01-03 Bastien Guerry <bzg@gnu.org>
14143 * org-agenda.el (org-agenda-get-timestamps)
14144 (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
14145 the `org-category-pos' property.
14147 2012-01-03 Bastien Guerry <bzg@gnu.org>
14149 * org-html.el (org-export-html-divs): Improve docstring.
14151 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
14153 * org-table.el (org-table-fix-formulas): Throw error when
14154 changing formula leads to an invalid formula.
14156 2012-01-03 Bastien Guerry <bzg@gnu.org>
14158 * org.el (org-archive-location): Minor docstring fix.
14160 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14162 * org.el (org-block-todo-from-checkboxes):
14163 `org-list-search-forward' should be used when looking for an
14164 item, as it filters out contexts where match couldn't be in a
14165 list. Also use a correct item regexp, taking into account
14166 alphabetical ordered lists and counters.
14168 2012-01-03 Bastien Guerry <bzg@gnu.org>
14170 * org-html.el (org-html-make-link): Minor fix to the
14173 2012-01-03 Suvayu Ali <fatkasuvayu+linux@gmail.com> (tiny change)
14175 * org-inlinetask.el (org-inlinetask): New customizable face
14178 2012-01-03 Bastien Guerry <bzg@gnu.org>
14180 * org-agenda.el (org-agenda-get-todos): Properly set
14183 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14185 * org-list.el (org-list-struct-apply-struct): Don't use
14186 (copy-marker (point)) instead of (point-marker).
14188 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14190 * ob.el (org-babel-where-is-src-block-result): Don't try to
14191 resolve variables when simply checking if we're inside of a
14194 2012-01-03 Bastien Guerry <bzg@gnu.org>
14196 * org.el (org-refresh-category-properties): New text property
14197 'org-category-position to point at the beginning of the
14198 headline from which the category is set.
14200 2012-01-03 Matt Lundin <mdl@imapmail.org>
14202 * org.el (org-refile): Don't call `org-back-to-heading' with
14205 2012-01-03 Bastien Guerry <bzg@gnu.org>
14207 * org.el (org-link-display-descriptive): Remove this option and
14208 rely on the existing `org-descriptive-links' instead.
14209 (org-toggle-link-display): Use `org-descriptive-links'.
14211 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14213 * ob-ref.el (org-babel-ref-resolve): Allow matching of results
14214 with tags after the result name.
14216 2012-01-03 Bastien Guerry <bzg@gnu.org>
14218 * org-table.el (org-table-get-specials): Allow the use of the
14219 underscore character in column names.
14220 (org-table-get-specials): Allow the use of the underscore
14221 character in field names.
14223 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14225 * org-exp-blocks.el (org-export-blocks-preprocess):
14226 Explicitly cleaning up markers.
14228 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14230 * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
14231 around `org-babel-exp-do-export' which now searches in this case.
14232 (org-babel-exp-results): Position the point in the inline source
14233 block during export evaluation.
14235 * ob.el (org-babel-insert-result): More readable code.
14237 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14239 * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
14240 in function rather than the superfluous (and now removed)
14241 org-specific function.
14243 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14245 * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
14246 inline code blocks which are already escaped.
14248 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14250 * org-exp-blocks.el (org-marker-from-point): Helper function to
14251 create markers at specific points in source buffers.
14252 (org-export-blocks-preprocess): Use markers instead of points
14253 to delimit code blocks.
14255 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14257 * org-list.el (org-list-separating-blank-lines-number):
14258 The behavior of `org-back-over-empty-lines' depends on the
14259 associated value of `headline' in
14260 `org-blank-before-new-entry', which is out of context in a
14263 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14265 * org-indent.el (org-indent-initialize-agent): When the current
14266 buffer isn't being watched, resume initialization of other watched
14267 buffers. In that case, give hand to others idle timers or
14268 processes more frequently.
14269 (org-indent-agent-active-delay): Rename from
14270 `org-indent-agent-process-duration'.
14271 (org-indent-agent-passive-delay): New variable.
14272 (org-indent-agent-resume-delay): Change value.
14273 (org-indent-initialize-buffer): Change argument name.
14274 (org-indent-add-properties): Change argument name and type
14275 expected. It must be a time value now.
14277 2012-01-03 Bastien Guerry <bzg@gnu.org>
14279 * org.el (org-set-property): Bugfix.
14281 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14283 * ob.el (org-babel-remove-result): Idempotent code block
14284 evaluation and result removal.
14286 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14288 * ob-ruby.el (org-babel-ruby-initiate-session): No longer
14289 require inf-ruby when no session evaluation takes place.
14291 2012-01-03 Bastien Guerry <bzg@gnu.org>
14293 * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
14296 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
14298 * org-agenda.el (org-agenda-custom-commands): Set a default
14299 value for this command.
14301 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
14303 * org-agenda.el (org-agenda-include-all-todo): Declare this option
14304 as no longer working.
14305 (org-timeline): Rename the include-all argument to dotodo.
14306 (org-arg-loc): Rename from` org-include-all-loc'.
14307 (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
14308 because its function has changed.
14310 2012-01-03 Bastien Guerry <bzg@gnu.org>
14312 * org.el (org-fixup-indentation): Fix various small bugs.
14314 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14316 * org-indent.el (org-indent-agent-timer)
14317 (org-indent-agentized-buffers, org-indent-agent-resume-timer)
14318 (org-indent-agent-process-duration)
14319 (org-indent-agent-resume-delay): New variables.
14320 (org-indent-initial-marker): More accurate doc-string.
14321 (org-indent-initial-timer, org-indent-initial-resume-timer)
14322 (org-indent-initial-process-duration)
14323 (org-indent-initial-resume-delay)
14324 (org-indent-initial-lock): Remove variables.
14325 (org-indent-mode): Set up an agent to watch current buffer, or
14326 add it to the list of already watched buffers.
14327 (org-indent-initialize-agent): New function.
14328 (org-indent-initialize-buffer): Now requires a mandatory
14330 (org-indent-add-properties): Reflect changes to variables.
14331 The resume timer is now global.
14333 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14335 * org-footnote.el (org-footnote-normalize): Refactor, and fix
14336 some blank lines deletion.
14338 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14340 * org-indent.el (org-indent-mode):
14341 `org-indent-initial-resume-timer ' needs to be local.
14343 2012-01-03 Bastien Guerry <bzg@gnu.org>
14345 * org.el (org-fixup-indentation): Correctly indent meta lines.
14347 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14349 * org-indent.el (org-indent-set-line-properties): Add text
14350 properties down to the beginning of the next line.
14351 (org-indent-add-properties): When last position to add
14352 properties to is at the beginning of a line, all that line
14353 will have properties.
14355 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14357 * org-indent.el (org-indent-initial-resume-timer): New variable.
14358 (org-indent-initialize-buffer): Also resume after a small break.
14359 (org-indent-add-properties): When in asynchronous mode,
14360 proceed for 2 seconds, then take a break.
14362 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14364 * org-indent.el (org-indent-set-line-properties): New function.
14365 (org-indent-add-properties): Externalize worker function.
14367 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14369 * org-indent.el (org-indent-indent-buffer): Take into account
14372 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14374 * org-indent.el (org-indent-modified-headline-flag): Rename from
14375 `org-indent-deleted-headline-flag'
14376 (org-indent-notify-modified-headline): Rename from
14377 `org-indent-notify-deleted-headline'. Handle situations when
14378 the stars of an headline are modified.
14379 (org-indent-refresh-maybe): Remove case now handled by
14381 (org-indent-mode): Apply renames.
14383 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14385 * org-indent.el (org-indent-inlinetask-first-star):
14387 (org-indent-add-properties): Set the first star of inline-tasks'
14388 virtual indentation in `org-warning' face.
14390 * org-inlinetask.el (org-inlinetask-insert-task): Create a new
14391 inline-task slightly differently, so virtual indentation can
14392 be applied normally.
14394 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14396 * org-indent.el (org-indent-initial-marker)
14397 (org-indent-initial-timer, org-indent-initial-lock):
14399 (org-indent-mode): At initialization, start an idle timer to indent
14400 the whole buffer. When the user is asking for control, interrupt the
14401 process, and resume at the same point when idle again.
14402 (org-indent-initialize-buffer): New function.
14403 (org-indent-add-properties): Throw an interrupt when indentation of
14404 buffer is stopped during initialization.
14406 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14408 * org-indent.el (org-indent-indent-buffer): Send more
14409 appropriate messages.
14411 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14413 * org-indent.el (org-indent-notify-deleted-headline)
14414 (org-indent-refresh-maybe): Replace `org-indent-outline-re'
14415 with `org-outline-regexp-bol'.
14417 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14419 * org-indent.el (org-indent-max-levels): Modify default value and
14421 (org-indent-add-properties): Pay attention to `org-indent-max'
14422 and `org-indent-max-levels' values.
14423 (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
14426 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14428 * org-table.el (org-table-align): Remove now useless hack.
14430 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14432 * org-indent.el (org-indent-fix-section-after-idle-time):
14434 (org-indent-initialize): Remove timer.
14435 (org-indent-add-properties): Refactor code.
14436 (org-indent-refresh-subtree, org-indent-refresh-section)
14437 (org-indent-refresh-buffer, org-indent-set-initial-properties):
14439 (org-indent-deleted-headline): New variable.
14440 (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
14442 (org-indent-mode): Insert new functions into a hook.
14444 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14446 * org-indent.el (org-indent-mode): Completely refresh buffer
14447 before starting org-indent-mode. Also set idle timer to refresh
14448 only visible portion of buffer, and refresh the subtree instead of
14449 section when promoting or demoting it.
14450 (org-indent-add-properties): Rewrite function to proceed line by
14451 line, as required by `wrap-prefix' specificity.
14452 (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
14453 (org-indent-refresh-view): New function.
14454 (org-indent-refresh-to, org-indent-refresh-section):
14457 * org.el (org-unfontify-region): Do not remove prefix
14458 properties when unfontifying a region.
14460 2012-01-03 Bastien Guerry <bzg@gnu.org>
14462 * org-colview.el (org-columns-cleanup-item): Correctly remove
14463 leading stars in items displayed in the agenda column view.
14465 2012-01-03 Bastien Guerry <bzg@gnu.org>
14467 * org-colview.el (org-columns-display-here): Clean up items in
14468 `org-agenda-mode' too.
14469 (org-columns-cleanup-item): Take a new argument CPHR to allow
14470 passing a complex heading regexp. Rewrite to cleanup ITEM
14471 correctly in `org-agenda-mode'.
14473 2012-01-03 Bastien Guerry <bzg@gnu.org>
14475 * org-clock.el (org-duration-string-to-minutes)
14476 (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
14479 2012-01-03 Bastien Guerry <bzg@gnu.org>
14481 * org.el (org-refile-active-region-within-subtree): New option to
14482 allow refiling a region that is part of a subtree without
14483 containing a subtree itself. This default to `nil'.
14484 (org-refile): Use the new option. Put point at the beginning
14485 of the region/subtree to be refiled, so that users understand
14486 what will be refiled. Also improve the prompt to tell whether
14487 the user is refiling a region or a headline.
14489 2012-01-03 Bastien Guerry <bzg@gnu.org>
14491 * org.el (org-properties-postprocess-alist): New option to allow
14492 postprocessing the values of properties set through
14493 `org-set-property'.
14494 (org-set-property): Use this option.
14496 2012-01-03 Bastien Guerry <bzg@gnu.org>
14498 * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
14501 2012-01-03 Bastien Guerry <bzg@gnu.org>
14503 * org-archive.el (org-archive-to-archive-sibling):
14504 Use `org-outline-regexp' instead of `outline-regexp'.
14506 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14508 * org.el (org-between-regexps-p): Searching up to pos may
14509 match again beginning regexp.
14511 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14513 * org-footnote.el (org-footnote-goto-definition): Don't send
14514 erroneous message: suggested bindings might not be set outside
14517 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14519 * org-footnote.el (org-footnote-normalize): Effectively remove
14520 any footnote tag in non Org buffers, as detailled in the
14521 docstring of `org-footnote-tag-for-non-org-mode-files'.
14523 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14525 * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
14526 notify the opportunity to set the variable to the empty string.
14527 (org-footnote-normalize, org-footnote-create-definition):
14528 Carefully check for inserted newlines and presence of the
14531 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14533 * org-footnote.el (org-footnote-at-definition-p): Re-use
14534 `org-footnote-definition-re'.
14536 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14538 * org-footnote.el (org-footnote-definition-re): Remove an
14540 (org-footnote-at-definition-p): Reflect removal of the group.
14542 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14544 * org.el (org-set-regexps-and-options): Enforce white space
14545 after todo keyword, as word boundary isn't sufficient (i.e. in
14546 matches * TODO/this).
14548 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
14550 * org-inlinetask.el (org-inlinetask-export-templates):
14551 Fix template for html so that the exported file is valid
14552 xhtml. Added template for odt.
14553 (org-inlinetask-export-handler): Fix typo in the regexp that
14554 trims content. Make sure that the content is flanked by
14555 paragraph boundaries on either side.
14557 2012-01-03 Bastien Guerry <bzg@gnu.org>
14559 * org.el (org-add-planning-info): Don't insert superfluous
14560 space when updating timestamps.
14562 2012-01-03 Bastien Guerry <bzg@gnu.org>
14564 * org-agenda.el (org-cmp-effort): Fix docstring.
14566 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14568 * org-list.el (org-list-full-item-re): When an item has only a
14569 bullet and no space after it, list structure would not be
14570 recognized correctly.
14572 2012-01-03 Bastien Guerry <bzg@gnu.org>
14574 * org.el (org-overview): Use `outline-regexp' instead of
14575 `org-outline-regexp' so that global cycling using
14576 `orgstruct-mode' works outside of Org buffers.
14578 2012-01-03 Bastien Guerry <bzg@gnu.org>
14580 * org-table.el (org-table-eval-formula): Fix missing variable
14582 (org-table-time-string-to-seconds): Fix missing variable in
14585 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
14587 * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
14588 case of wdays being 0. Don't pass wdays to
14589 org-agenda-deadline-face, like before the old fix.
14590 (org-agenda-deadline-face): Revert to old state that was without
14593 2012-01-03 Bastien Guerry <bzg@gnu.org>
14595 * org-latex.el (org-export-latex-fixed-width): Only add one
14596 line break after exporting verbatim environments.
14598 2012-01-03 Bastien Guerry <bzg@gnu.org>
14600 * org-list.el (org-list-item-trim-br): New function.
14601 (org-list-to-generic): New parameter :nobr to use the new
14604 2012-01-03 David Maus <dmaus@ictsoc.de>
14606 * org.el (org-paste-subtree): Fix wrong order of lines to move
14609 2012-01-03 David Maus <dmaus@ictsoc.de>
14611 * org.el (org-paste-subtree): Paste subtree above target
14612 headline if point is at bol.
14614 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14616 * org-list.el (org-toggle-checkbox): Don't clear lim-down
14617 while used in the while loop.
14619 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14621 * org-list.el (org-toggle-checkbox): Lim-down must be a
14624 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14626 * org.el (org-activate-code): Correct regexp so ":.*" isn't
14629 2012-01-03 David Maus <dmaus@ictsoc.de>
14631 * org-macs.el (org-with-gensyms, org-called-interactively-p)
14632 (with-silent-modifications, org-bound-and-true-p)
14633 (org-unmodified, org-re, org-preserve-lc)
14634 (org-without-partial-completion, org-with-point-at)
14635 (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14636 (org-if-unprotected-at, org-with-remote-undo)
14637 (org-no-read-only, org-save-outline-visibility)
14638 (org-with-wide-buffer, org-with-limited-levels)
14639 (org-eval-in-environment): Provide edebug specifications.
14641 * org-src.el (org-src-do-at-code-block): Dto.
14643 * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14645 * org-compat.el (org-xemacs-without-invisibility): Dto.
14647 * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14649 * org-agenda.el (org-agenda-with-point-at-orig-entry)
14650 (org-batch-agenda, org-batch-agenda-csv)
14651 (org-batch-store-agenda-views): Dto.
14653 * ob.el (org-babel-do-in-edit-buffer)
14654 (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14656 * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14658 * ob-table.el (sbe): Dto.
14660 * ob-exp.el (org-babel-exp-in-export-file): Dto.
14662 * ob-comint.el (org-babel-comint-in-buffer)
14663 (org-babel-comint-with-output): Dto.
14665 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14667 * org-inlinetask.el (org-inlinetask-export-templates):
14670 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14672 * org-inlinetask.el (org-inlinetask-insert-task): Error when
14673 trying to nest inline tasks.
14675 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14677 * org.el (org-activate-code, org-toggle-fixed-width-section)
14678 (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14679 fixed-width section.
14681 2012-01-03 David Maus <dmaus@ictsoc.de>
14683 * org.el (org-paste-subtree): Don't eat headline when called
14684 with point at existing headline.
14686 2012-01-03 David Maus <dmaus@ictsoc.de>
14688 * org.el (org-paste-subtree): Fix typo in variable name.
14690 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
14692 * org-inlinetask.el (org-inlinetask-export-handler):
14693 Don't export inline tasks if the current backend has provided no
14694 entries in `org-inlinetask-export-templates'.
14696 2012-01-03 Valentin Wüstholz <wuestholz@gmail.com> (tiny change)
14698 * org.el (org-indent-line-function): Made the way in which
14699 example blocks are indented more flexible.
14701 2012-01-03 David Maus <dmaus@ictsoc.de>
14703 * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14704 when creating final parameter alist.
14706 2012-01-03 David Maus <dmaus@ictsoc.de>
14708 * org-agenda.el (org-batch-store-agenda-views): Use macro
14709 `org-eval-in-environment'.
14711 2012-01-03 David Maus <dmaus@ictsoc.de>
14713 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14714 Use `org-eval-in-environment.
14716 2012-01-03 David Maus <dmaus@ictsoc.de>
14718 * org-macs.el (org-make-parameter-alist): New function.
14719 Turn flat list of alternating symbol names and values into an alist
14720 with symbol name in car and value in cdr.
14722 2012-01-03 David Maus <dmaus@ictsoc.de>
14724 * org-agenda.el (org-agenda-with-point-at-orig-entry):
14725 Use macro `org-with-gensyms'.
14727 2012-01-03 David Maus <dmaus@ictsoc.de>
14729 * org-macs.el (org-substitute-posix-classes):
14730 New function. Substitute posix classes in regular expression.
14731 (org-re): Use new function.
14733 2012-01-03 David Maus <dmaus@ictsoc.de>
14735 * org-macs.el (org-eval-in-environment): New macro. Evaluate FORM
14738 2012-01-03 David Maus <dmaus@ictsoc.de>
14740 * org-macs.el (org-preserve-lc, org-with-point-at)
14741 (org-with-remote-undo, org-save-outline-visibility): Use new
14742 macro `org-with-gensyms'.
14744 2012-01-03 David Maus <dmaus@ictsoc.de>
14746 * org-macs.el (org-with-gensyms): New macro. Wrap let-binding
14747 of SYMBOLS to new uninterned symbols around BODY.
14749 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14751 * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14752 the task starts a paragraph or the HTML exporter will produce
14753 an incorrect output.
14755 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14757 * org.el (org-return): When filling happens, `newline' can
14758 change match data, hence modifying the indent column.
14760 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14762 * org-footnote.el (org-footnote-new): Only forbid non-inlined
14763 footnotes at column 0, as only them can be confused with a
14764 footnote definition.
14766 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14768 * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14769 when available when prompted for a label. Also rename a local
14770 variable to avoid confusion with an existing function.
14772 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14774 * org-footnote.el (org-footnote-label-history):
14776 (org-footnote-new): Remove call to that variable.
14778 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14780 * org.el (org-insert-heading): With `force-heading' non-nil,
14781 inserting an heading before any headline, and just after a
14782 list would return an error.
14784 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14786 * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14788 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14790 * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14791 non-special when resolving bibtex values.
14793 2012-01-03 David Maus <dmaus@ictsoc.de>
14795 * org.el (org-back-over-empty-lines): Don't move line upward
14796 if point is at eob.
14798 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14800 * org-footnote.el (org-footnote-in-valid-context-p):
14801 Check `org-protected' property before allowing to match a footnote.
14802 (org-footnote-at-reference-p): Remove an obsolete test. It is now
14803 done in the previous function.
14805 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14807 * org.el (org-between-regexps-p): Previous name implied the
14808 function was related to blocks, which isn't mandatory.
14809 (org-narrow-to-block, org-in-block-p)
14810 (org-indent-line-function): Applied the rename.
14812 * ob-exp.el (org-babel-in-example-or-verbatim):
14813 Applied rename. Also removed a white space.
14815 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14817 * org.el (org-in-regexps-block-p): Return an useful value when
14818 point is between START-RE and END-RE. No incomplete block is
14819 allowed anymore. Add another optional argument to bound the
14820 bottom part of the search.
14821 (org-narrow-to-block, org-in-block-p): Apply modifications.
14823 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14825 * ob.el (org-babel-src-block-regexp): If a code block has a
14826 body, its last character must be a newline.
14828 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14830 * org-footnote.el (org-footnote-next-reference-or-definition):
14831 If no more footnote is found, be sure to go back to the
14832 original position. Otherwise, point might be left on a
14833 footnote-like element that has been dished out.
14835 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14837 * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14840 * ob.el (defvar): Wrap variable declaration in
14841 `eval-when-compile'.
14843 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14845 * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14847 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14849 * ob-java.el (org-babel-execute:java): Allow cmdline flags
14850 during compilation and evaluation.
14852 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14854 * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14855 * ob-ref.el (org-babel-ref-parse): Fix typos.
14857 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14859 * ob.el (org-babel-execute-src-block): Fix typo.
14861 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14863 * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14865 2011-11-20 Andreas Schwab <schwab@linux-m68k.org>
14867 * org-list.el (org-list-send-item): Use sort instead of sort*.
14869 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14871 * org-table.el (org-table-line-to-dline): Fix typo.
14873 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14875 * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14876 (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14877 (org-search-syntax-table, org-modify-diary-entry-string)
14878 (org-write-agenda):
14879 * org-bbdb.el (org-bbdb-anniv-export-ical):
14880 * org-bibtex.el (org-bibtex-fields):
14881 * org-icalendar.el (org-icalendar-date-time-format):
14882 * org-latex.el (org-export-latex-inline-image-extensions):
14883 * org-list.el (org-list-insert-item): Fix typos.
14885 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14887 * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14889 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14891 * org.el (org-mode): Force left-to-right paragraphs in Org
14892 buffers. For a related discussions, see
14893 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14895 2011-09-17 Juanma Barranquero <lekktu@gmail.com>
14897 * org.el (org-toggle-pretty-entities): Fix typo in message.
14899 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14901 * org-compat.el (org-pop-to-buffer-same-window): Delete.
14903 * ob-ref.el (org-babel-ref-goto-headline-id):
14904 * org.el (org-get-location, org-tree-to-indirect-buffer)
14905 (org-mark-ring-goto, org-refile, org-add-log-note)
14906 (org-revert-all-org-buffers, org-switchb)
14907 (org-cycle-agenda-files, org-submit-bug-report)
14908 (org-goto-marker-or-bmk):
14909 * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14910 * org-capture.el (org-capture-goto-target)
14911 (org-capture-fill-template):
14912 * org-clock.el (org-clock-goto):
14913 * org-ctags.el (org-ctags-visit-buffer-or-file):
14914 * org-exp.el (org-export-as-org):
14915 * org-feed.el (org-feed-show-raw-feed):
14916 * org-html.el (org-export-htmlize-generate-css):
14917 * org-id.el (org-id-goto):
14918 * org-irc.el (org-irc-visit-erc):
14919 * org-mobile.el (org-mobile-apply):
14920 * org-publish.el (org-publish-org-to, org-publish-find-date):
14921 * org-remember.el (org-go-to-remember-target):
14922 * org-src.el (org-src-switch-to-buffer)
14923 (org-edit-fixed-width-region): Use switch-to-buffer.
14925 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14927 * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14928 argument from pop-to-buffer-same-window call.
14930 2011-07-30 Carsten Dominik <carsten.dominik@gmail.com>
14932 * ob.el (org-babel-src-block-regexp): If a code block has a body,
14933 its last character must be a newline.
14935 2011-07-28 Bastien Guerry <bzg@gnu.org>
14937 * org-pcomplete.el: New file. Rename from org-complete.el.
14938 * org-complete.el: Delete file.
14940 2011-07-28 Bastien Guerry <bzg@gnu.org>
14942 * org-publish.el (org-publish-index-generate-theindex):
14943 Rename from `org-publish-index-generate-theindex.inc'. Use the file
14944 theindex.org directly instead of including theindex.inc.
14945 (org-publish-projects): Don't delete .orgx files.
14946 (org-publish-aux-preprocess): Use .file.orgx.
14948 2011-07-28 Bastien Guerry <bzg@gnu.org>
14950 * org-html.el (org-export-html-preamble-format): New default for
14951 the HTML preamble: don't include the title. Also improve the
14953 (org-export-html-postamble-format): Improve the docstring.
14954 (org-export-as-html): Add the title within the "content" div.
14955 This is necessary for interaction with the org-info.js script.
14957 2011-07-28 Michael Brand <michael.ch.brand@gmail.com>
14959 * org-table.el (org-table-edit-field): Display field coordinates.
14961 2011-07-28 Bastien Guerry <bzg@gnu.org>
14963 * org-publish.el (org-publish-find-title): Bugfix: kill buffers
14964 unless they were already visited.
14965 (org-sitemap-sort-files, org-sitemap-sort-folders)
14966 (org-sitemap-ignore-case, org-sitemap-requested)
14967 (org-sitemap-date-format, org-sitemap-file-entry-format):
14968 Use a correct prefix.
14969 (org-publish-projects): Make sure to delete .orgx files.
14970 (org-publish-index-generate-theindex.inc): Small docstring fix.
14972 2011-07-28 Bastien Guerry <bzg@gnu.org>
14974 * org-table.el (org-table-duration-custom-format): New defcustom
14975 to select output format of durations computations.
14976 (org-table-time-seconds-to-string): Use the new variable.
14977 (org-table-eval-formula): Allow `t' as a flag, on top of `T'. `t'
14978 will use the custom output format defined in
14979 `org-table-duration-custom-format'.
14981 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14983 * org-list.el: Search blank lines down to the end of the item
14984 instead of stopping at the item, in order to possibly match such
14985 lines within the item.
14987 2011-07-28 Bastien Guerry <bzg@gnu.org>
14989 * org-latex.el (org-export-latex-href-format): Docstring fix to
14990 reflect the fact that you can use only one "%s".
14991 (org-export-latex-links): Allow `org-export-latex-href-format' to
14992 have only one "%s".
14994 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
14996 * org.el (org-org-menu): Add `org-copy-visible' to the menu.
14998 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15000 * org.el (org-copy-visible): New command.
15002 2011-07-28 Bastien Guerry <bzg@gnu.org>
15004 * org-capture.el (org-capture-templates): Docstring fix.
15006 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15008 * ob.el (org-babel-view-src-block-info): New function to inspect
15011 * ob-keys.el (org-babel-key-bindings): Key bindings for
15012 `org-babel-view-src-block-info'.
15014 2011-07-28 Bastien Guerry <bzg@gnu.org>
15016 * org-exp.el (org-infile-export-plist): Handle recursively
15017 included setup files. The value of the last included file always
15018 takes precedence over previous values.
15020 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15022 * org.el (org-timestamp-change): Keep point in the same category
15023 when updating a time-stamp. This requires to be careful, as,
15024 depending on the locale, name of day might change of length during
15027 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15029 * org-footnote.el (org-footnote-create-definition): When skipping
15030 already written footnotes definition, the algorithme would assume
15031 each one was only one-line long.
15033 2011-07-28 Bastien Guerry <bzg@gnu.org>
15035 * org-table.el (org-table-eval-formula): Fix bug when a formula
15036 "range" is just one cell.
15037 (org-table-time-string-to-seconds): Don't check whether we
15038 manipulate a string.
15040 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15042 * org-exp.el (org-export-mark-list-end)
15043 (org-export-mark-list-properties): Don't remove the ending regexp
15044 when it consists in blank lines.
15046 * org-list.el (org-list-parse-list): Ditto, but remove it
15047 completely when it isn't made of blank lines (i.e. during export
15050 2011-07-28 Bastien Guerry <bzg@gnu.org>
15052 * org-table.el (org-table-time-string-to-seconds): Match either
15053 HH:MM:SS or HH:MM (instead of MM:SS).
15055 2011-07-28 Bastien Guerry <bzg@gnu.org>
15057 * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
15058 `org-ctrl-c-ctrl-c' cannot do anything useful in the given
15061 2011-07-28 Bastien Guerry <bzg@gnu.org>
15063 * org-html.el (org-export-html-with-timestamp)
15064 (org-export-html-html-helper-timestamp): These are obsolete
15065 variables as of Org version 7.7 as you can already export the
15066 timestamp from the preamble or the postamble.
15067 (org-export-html-before-content-div): Delete variable.
15068 (org-export-html-content-div): Obsolete variable as of 7.7.
15069 (org-export-html-divs): New variable to define divs used in
15071 (org-export-as-html): Now the preamble and the postamble are
15072 surrounded by a <div ...>. The name of the div is defined through
15073 `org-export-html-divs'.
15075 2011-07-28 Bastien Guerry <bzg@gnu.org>
15077 * org-table.el (org-table-eval-formula): Throw an error when
15078 trying to replace complex range with invalid references.
15080 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15082 * org-macs.el (org-with-limited-levels): Some functions, like
15083 `org-back-to-heading', being deeply based on outline-mode, still
15084 refer to `outline-regexp' instead of `org-outline-regexp'.
15086 2011-07-28 Bastien Guerry <bzg@gnu.org>
15088 * org.el (org-refile-get-targets): New optional argument
15089 `excluded-entries' to exclude entries from the targets.
15090 (org-refile-get-location): From an org-mode buffer, exclude
15091 current heading and subheadings from the list of targets when
15092 `org-refile-use-cache' is nil.
15094 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15096 * org.el (org-imenu-get-tree): Headlines start at bol.
15098 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15100 * ob-maxima.el: New file. Fixed self-proclaimed file name.
15102 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15104 * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
15107 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15109 * org.el (org-kill-is-subtree-p): Matched string needs to start at
15112 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15114 * org.el (org-paste-subtree, org-kill-is-subtree-p)
15115 (org-yank-folding-would-swallow-text, org-yank-generic):
15116 Use `org-with-limited-levels' macro.
15118 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15120 * org-macs.el (org-with-limited-levels): Also modify, when
15121 appropriate, `org-outline-regexp-at-bol'.
15123 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15125 * org.el (org-timestamp-change): Some locales don't use the same
15126 length for date abbreviations. Set a marker at origin in case
15127 length of new timestamp is different.
15129 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15131 * org.el (org-imenu-get-tree): Browse only true headlines.
15133 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15135 * org-archive.el (org-archive-subtree): While it might be possible
15136 to archive an headline of a temporary buffer (i.e. not visiting a
15137 file), it wouldn't be really sensible.
15139 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15141 * org-archive.el (org-extract-archive-file)
15142 (org-extract-archive-heading, org-archive-subtree):
15143 `buffer-file-name' is nil in an indirect buffer. Thus, use
15144 `(buffer-file-name (buffer-base-buffer))', which will, in any
15145 case, return the file name.
15147 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15149 * org-capture.el (org-capture): If dired isn't loaded,
15150 `dired-buffers' isn't defined, and %F will fail.
15152 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15154 * ob-java.el (org-babel-execute:java): Don't create empty package
15157 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15159 * ob-java.el: New file.
15161 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15163 * ob.el (org-babel-execute-src-block): Replace call to defunct
15164 function `org-babel-result-hash'.
15166 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15168 * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
15169 lines and headers in `message-mode'.
15170 (org-footnote-at-reference-p): Remove check for cited lines, this
15171 is now handled by the previous function. Refactor.
15173 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15175 * org-capture.el (org-capture): If no file is associated to
15176 current buffer, check dired buffer and try to retrieve a possibly
15177 directory associated.
15179 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15181 * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
15182 (not original) file buffer.
15184 * ob.el (org-babel-current-result-hash): More informative name,
15185 and remove useless optional argument.
15187 2011-07-28 Bastien Guerry <bzg@gnu.org>
15189 * org.el (org-refile-get-location): Exclude current heading from
15192 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15194 * org-footnote.el (org-footnote-at-reference-p): Test if match is
15195 in cited text, when replying to a message.
15196 (org-footnote-new): Do not create a new footnote at bol, as it
15197 might be seen as a definition.
15198 (org-footnote-at-definition-p): Ignore definitions in forbidden
15199 blocks, as it is already the case for references.
15201 2011-07-28 Matt Lundin <mdl@imapmail.org>
15203 * org-bibtex.el (org-bibtex-create, org-bibtex-write):
15204 Change argument of `org-toggle-tag' to 'on. (Other arguments, e.g., t,
15207 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15209 * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
15210 into empty strings.
15212 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15214 * org-list.el (org-list-insert-item): Actualize code comments.
15215 (org-insert-item): For consistency, point cannot be moved at a
15216 surprising place when the user is being asked to choose a new
15217 description term to insert in the list. Point should stay where
15218 the user called the command.
15220 2011-07-28 Bastien Guerry <bzg@gnu.org>
15222 * org.el (org-outline-regexp-bol): New defconst.
15223 (org-outline-level, org-set-font-lock-defaults, org-cycle)
15224 (org-overview, org-content, org-flag-drawer)
15225 (org-first-headline-recenter, org-insert-todo-heading)
15226 (org-map-region, org-move-subtree-down, org-paste-subtree)
15227 (org-kill-is-subtree-p, org-context-p, org-refile)
15228 (org-refile-new-child, org-toggle-comment, org-todo)
15229 (org-add-planning-info, org-add-log-setup, org-scan-tags)
15230 (org-set-tags, org-insert-property-drawer)
15231 (org-prepare-agenda-buffers, org-preview-latex-fragment)
15232 (org-speed-command-default-hook, org-check-for-hidden)
15233 (org-toggle-item, org-toggle-heading)
15234 (org-indent-line-function, org-set-autofill-regexps)
15235 (org-fill-paragraph, org-toggle-fixed-width-section)
15236 (org-yank-generic, org-yank-folding-would-swallow-text)
15237 (org-first-sibling-p, org-goto-sibling)
15238 (org-goto-first-child, org-show-entry):
15239 Use `org-outline-regexp' and `org-outline-regexp-bol'.
15241 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15243 * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
15244 be checked for parent, not current headline. Also, this function
15245 doesn't need to be interactive.
15247 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15249 * org-list.el (org-list-send-item, org-list-struct-apply-struct)
15250 (org-apply-on-list, org-toggle-checkbox): Make markers point
15251 nowhere when they have become useless.
15253 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15255 * org-list.el (org-list-insert-item): When insertion point is in
15256 some white line after the end of the list, remove all unnecessary
15257 white lines there before proceeding. Also refactor a snippet of
15260 2011-07-28 Bastien Guerry <bzg@gnu.org>
15262 * org-latex.el (org-export-latex-image-default-option):
15263 Change default value.
15265 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15267 * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
15268 correctly fontified when the buffer is missing a final newline.
15270 2011-07-28 Bastien Guerry <bzg@gnu.org>
15272 * ob.el (org-babel-strip-protective-commas): Return `nil' instead
15273 of an error if no argument is given.
15274 (org-babel-parse-src-block-match): Make sure body is defined in
15277 2011-07-28 Jon Anders Skorpen <jonas@ifi.uio.no> (tiny change)
15279 * org-publish.el (org-publish-cache-file-needs-publishing):
15280 Regexp did not find includes with double quoted file names.
15282 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15284 * org-footnote.el (org-footnote-normalize): Footnote section
15285 should be inserted only if there are footnotes to insert.
15287 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15289 * org-footnote.el (org-footnote-at-definition-p)
15290 (org-footnote-normalize): Do not grab signature in the definition
15291 of the last footnote.
15293 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15295 * org-bibtex.el (org-babel-trim): Declare this function to the
15297 (org-bibtex-get): Trimming whitespace off of bibtex fields read from
15300 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15302 * org-exp.el (org-export-preprocess-string): Add the possibility
15303 to call recursively the function. Also change order of some
15304 function calls. Comment export process for footnotes.
15306 * org-footnote.el (org-footnote-normalize): Change the export
15307 specific parameter to hold properties of export. Thus, the
15308 function can send every footnote definition in the buffer through
15309 `org-export-process-string'.
15311 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15313 * org-latex.el (org-export-latex-preprocess): First insert
15314 footnotes in the temporary buffer so their contents can properly
15315 be protected from further transformations if required.
15317 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15319 * org-list.el (org-list-indent-offset): New variable.
15320 (org-list-struct-fix-ind): Make use of the new variable.
15322 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15324 * org-latex.el (org-export-latex-list-parameters):
15325 Complete default value with cbtrans option.
15327 * org-list.el (org-list-to-latex): Set a more consistent default
15330 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15332 * org-list.el (org-list-swap-items): Move it to a meaningful
15333 position in source code (i.e. before any function using it), and
15334 rename it to an easier name.
15336 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15338 * org-list.el (org-list-separating-blank-lines-number): If there
15339 are blank lines already in the whole list, add a blank line.
15341 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15343 * org-list.el (org-list-use-circular-move): New variable.
15344 (org-previous-item, org-next-item): Make use of the new variable.
15345 (org-move-item-down, org-move-item-up): Make use of the new
15346 variable. Simplify code.
15348 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15350 * org-list.el (org-list-delete-item, org-list-send-item):
15353 2011-07-28 Bastien Guerry <bzg@gnu.org>
15355 * org-agenda.el (org-agenda-bulk-custom-functions): New variable
15356 for custom bulk action functions.
15357 (org-agenda-bulk-action): Use it.
15359 2011-07-28 Bastien Guerry <bzg@gnu.org>
15361 * org-latex.el (org-export-latex-quotes): New defcustom.
15362 (org-export-latex-quotation-marks): Use it.
15364 2011-07-28 Bastien Guerry <bzg@gnu.org>
15366 * org-capture.el (org-capture-finalize): Bugfix about inserted
15367 blank line when killing the capture buffer and
15368 `org-blank-before-new-entry' tells to not insert anything before a
15371 2011-07-28 Bastien Guerry <bzg@gnu.org>
15373 * org-html.el (org-export-html-content-div): Rename from
15374 `org-export-content-div'.
15375 (org-export-as-html): Use new name.
15377 2011-07-28 Bastien Guerry <bzg@gnu.org>
15379 * org-latex.el (org-export-latex-header-defs-re): Delete.
15381 2011-07-28 Bastien Guerry <bzg@gnu.org>
15383 * org.el (org-last-set-property): New variable.
15384 (org-read-property-name): Use the new variable: the prompt
15385 defaults to the last property set, unless there is a property in
15388 2011-07-28 David Maus <dmaus@ictsoc.de>
15390 * org-capture.el (org-capture-before-finalize-hook)
15391 (org-capture-after-finalize-hook, org-capture-mode-map)
15392 (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
15393 consistently refer to capture, not remember.
15395 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15397 * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
15398 "verbatim" results params.
15400 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15402 * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
15405 * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
15408 * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
15409 synonym for "scalar".
15411 * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
15414 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15416 * ob.el (org-babel-script-escape): Parse odd parens when nested
15419 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15421 * ob-clojure.el (org-babel-execute:clojure): No longer force
15422 results into elisp if they don't naturally fit.
15424 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15426 * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
15427 already parsed lisp results.
15429 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15431 * org-list.el (org-plain-list-ordered-item-terminator):
15432 Remove incorrect assumption.
15434 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15436 * org-footnote.el (org-footnote-forbidden-blocks): Add missing
15437 exporter specific blocks.
15439 * org-list.el (org-list-forbidden-blocks): Ditto.
15441 2011-07-28 Bastien Guerry <bzg@gnu.org>
15443 * org-latex.el (org-export-latex-tables): Bugfix: remove
15444 properties from fields.
15446 2011-07-28 Bastien Guerry <bzg@gnu.org>
15448 * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
15449 to use `org-clock-timestamps-change'.
15451 2011-07-28 Bastien Guerry <bzg@gnu.org>
15453 * org.el (org-timestamp-up, org-timestamp-down): Mention time
15454 changes in the docstring.
15456 2011-07-28 Bastien Guerry <bzg@gnu.org>
15458 * org-clock.el (org-clock-remove-empty-clock-drawer): New function
15459 to remove empty clock drawer.
15460 (org-clock-out-hook): Add the new function as a hook.
15462 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15464 * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
15466 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15468 * org.el (org-in-block-p): New function.
15470 * org-footnote.el (org-footnote-forbidden-blocks): New variable.
15471 (org-footnote-in-valid-context-p): New function.
15472 (org-footnote-at-reference-p): Use new function. Allow inline
15473 footnotes to start at bol.
15475 2011-07-28 Bastien Guerry <bzg@gnu.org>
15477 * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
15478 (org-lparse-warn): Use it.
15480 2011-07-28 Bastien Guerry <bzg@gnu.org>
15482 * org-ascii.el (org-export-as-utf8): Fix call to
15483 `org-called-interactively-p': it requires an argument. Also fix
15486 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15488 * ob-lilypond.el (show-all): Declaring function from outline.el.
15489 (org-babel-default-header-args:lilypond): Declared.
15490 (ly-process-basic): Use the appropriate prefix for the temporary
15491 file, and don't call a function from ob-dot.el.
15492 (ly-version): Let-bind a free variable.
15494 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15496 * ob-lilypond.el: New file.
15498 2011-07-28 Bastien Guerry <bzg@gnu.org>
15501 (org-publish-cache-file-needs-publishing): Only check against .org
15504 2011-07-28 Bastien Guerry <bzg@gnu.org>
15506 * org.el (org-mode): Use `org-default' as the default face in
15509 2011-07-28 Bastien Guerry <bzg@gnu.org>
15512 (org-publish-cache-file-needs-publishing): Takes care of more
15513 recently included files, returning `t' in case the file including
15514 them needs to be republished.
15516 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15518 * org-exp.el (org-export-preprocess-string): If the last subtree
15519 is a task, footnotes may be removed along with the subtree.
15520 This patch ensures footnotes are put at the end of the buffer after the
15521 subtree has been removed.
15523 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15525 * org-footnote.el (org-footnote-at-reference-p): Verify that what
15526 looks like a footnote doesn't belong to a link.
15527 (org-footnote-next-reference-or-definition): Check more strictly
15528 footnote definitions.
15530 2011-07-28 Deech <deech@deech-ThinkPad-X200.(none)> (tiny change)
15532 * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
15535 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15537 * ob-python.el (org-babel-python-evaluate-session): Inhibit return
15538 of the eoe string during session evaluation.
15540 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15542 * ob-python.el (org-babel-python-evaluate-session):
15543 Enough newlines to ensure a return when ":results output :session".
15545 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15547 * ob-python.el (org-babel-python-evaluate-session): Introduced a
15548 new local function for sending input with a slight delay to allow
15549 pythong to re-draw the prompt. No longer removing newlines inside
15550 code block bodies (was due to a defective regexp).
15552 2011-07-28 Bastien Guerry <bzg@gnu.org>
15554 * org-table.el (org-table-time-seconds-to-string):
15555 Use `org-format-seconds' instead of `format-seconds'.
15557 2011-07-28 David Maus <dmaus@ictsoc.de>
15559 * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
15562 2011-07-28 David Maus <dmaus@ictsoc.de>
15564 * org-latex.el (org-export-latex-preprocess): Use function
15565 argument instead of dynamically scoped symbol.
15567 2011-07-28 David Maus <dmaus@ictsoc.de>
15569 * org-freemind.el (org-freemind-convert-links-helper)
15570 (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
15571 (org-freemind-get-node-style): Use org-string-match-p for backward
15572 compatibility with Emacs 22.
15574 2011-07-28 David Maus <dmaus@ictsoc.de>
15576 * org-html.el (org-export-html-protect-char-alist): Add missing
15577 :group keyword in defcustom.
15579 2011-07-28 David Maus <dmaus@ictsoc.de>
15581 * ob-haskell.el (org-babel-haskell-export-to-lhs):
15582 Call `kill-buffer' with argument indiciating to kill current
15583 buffer. Emacs 22 compatibility.
15585 2011-07-28 David Maus <dmaus@ictsoc.de>
15587 * org-macs.el (org-without-partial-completion):
15588 Toggle partial-completion-mode only if it is turned on.
15590 2011-07-28 Bastien Guerry <bzg@gnu.org>
15592 * org.el (org-add-planning-info): Fix issues with timestamps not
15593 being inserted at the same position.
15595 2011-07-28 Bastien Guerry <bzg@gnu.org>
15597 * org-table.el (org-table-time-string-to-seconds)
15598 (org-table-time-seconds-to-string): New functions.
15599 (org-table-eval-formula): Implement the "T" (time) flag for
15600 computing durations.
15602 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15604 * org.el (org-modules): Add org-lparse and org-odt as contrib
15607 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15609 * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15611 (org-additional-option-like-keywords): Include data as a synonym
15614 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15616 * ob.el (org-babel-sha1-hash): Improving code layout and removing
15617 export-variable headers in cache sha1.
15619 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15621 * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15622 rescan all IDs when trying to resolve a reference.
15624 2011-07-28 Julien Barnier <julien@nozav.org>
15626 * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15627 blocks lang attribute.
15629 2011-07-28 Eric S Fraga <e.fraga@ucl.ac.uk>
15631 * org-latex.el (org-export-latex-timestamp-inactive-markup):
15632 New option to allow different markup for inactive timestamps.
15634 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15636 * ob-org.el (org-babel-expand-body:org): Implemented this
15637 function, only action is to expand variables.
15638 (org-babel-execute:org): Uses the new body-expansion function.
15640 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15642 * org-list.el (org-list-full-item-re): Allow counter and check-box
15643 to be separated by white spaces.
15644 (org-list-struct-apply-struct): Reflect changes made to
15645 `org-list-full-item-re'.
15647 * org-html.el (org-html-export-list-line): Recognize spaces
15648 between counter and check-boxes as valid.
15650 * org-docbook.el (org-export-docbook-list-line): Ditto.
15652 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15654 * org-list.el (org-list-insert-item): Make sure point is moved to
15655 the specified POS before starting the function.
15657 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15659 * org.el (org-activate-footnote-links): Properly fontify inline
15661 (org-set-font-lock-defaults): Apply changes to previous function.
15663 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15665 * org-footnote.el (org-footnote-at-reference-p): First check if
15666 point is at the beginning of a footnote. Indeed `org-in-regexp'
15667 first checks backwards and might find an incorrect footnote if
15668 they are side-by-side.
15670 2011-07-28 Michael Brand <michael.ch.brand@gmail.com>
15672 * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15673 (org-agenda-block-separator): Add nil to docstring and customization.
15674 (org-prepare-agenda): Skip agenda block separator additionally if
15675 `org-agenda-block-separator' is nil.
15676 (org-agenda-overriding-header): Improve docstring.
15678 2011-07-28 Bastien Guerry <bzg@gnu.org>
15680 * org.el (org-set-tags): Remove useless
15681 `org-without-partial-completion'.
15683 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15685 * org-footnote.el (org-fill-paragraph): Declare function for the
15688 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15690 * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15692 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15694 * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15695 to appease compiler.
15697 2011-07-28 Michael Markert <markert.michael@googlemail.com>
15699 * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15700 all `org-called-interactively-p' function invocations.
15702 * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15703 to all `org-called-interactively-p' function invocations.
15704 (org-agenda-show-1): Adding optional argument KIND to all
15705 `org-called-interactively-p' function invocations.
15706 (org-agenda-set-tags): Adding optional argument KIND to all
15707 `org-called-interactively-p' function invocations.
15709 * org-ascii.el (org-export-as-latin1): Adding optional argument
15710 KIND to all `org-called-interactively-p' function invocations.
15711 (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15712 all `org-called-interactively-p' function invocations.
15713 (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15714 `org-called-interactively-p' function invocations.
15715 (org-export-region-as-ascii): Adding optional argument KIND to all
15716 `org-called-interactively-p' function invocations.
15718 * org-docbook.el (org-export-region-as-docbook): Adding optional
15719 argument KIND to all `org-called-interactively-p' function
15722 * org-html.el (org-export-region-as-html): Adding optional
15723 argument KIND to all `org-called-interactively-p' function
15726 * org-latex.el (org-export-region-as-latex): Adding optional
15727 argument KIND to all `org-called-interactively-p' function
15730 * org-table.el (org-table-blank-field): Adding optional argument
15731 KIND to all `org-called-interactively-p' function invocations.
15732 (org-table-current-column): Adding optional argument KIND to all
15733 `org-called-interactively-p' function invocations.
15734 (org-table-current-dline): Adding optional argument KIND to all
15735 `org-called-interactively-p' function invocations.
15736 (org-table-sort-lines): Adding optional argument KIND to all
15737 `org-called-interactively-p' function invocations.
15738 (org-table-sum): Adding optional argument KIND to all
15739 `org-called-interactively-p' function invocations.
15740 (org-table-rotate-recalc-marks): Adding optional argument KIND to
15741 all `org-called-interactively-p' function invocations.
15742 (org-table-eval-formula): Adding optional argument KIND to all
15743 `org-called-interactively-p' function invocations.
15744 (orgtbl-send-table): Adding optional argument KIND to all
15745 `org-called-interactively-p' function invocations.
15747 * org.el (org-mode): Adding optional argument KIND to all
15748 `org-called-interactively-p' function invocations.
15749 (org-copy-subtree): Adding optional argument KIND to all
15750 `org-called-interactively-p' function invocations.
15751 (org-paste-subtree): Adding optional argument KIND to all
15752 `org-called-interactively-p' function invocations.
15753 (org-store-link): Adding optional argument KIND to all
15754 `org-called-interactively-p' function invocations.
15755 (org-todo): Adding optional argument KIND to all
15756 `org-called-interactively-p' function invocations.
15757 (org-occur): Adding optional argument KIND to all
15758 `org-called-interactively-p' function invocations.
15760 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15762 * org-footnote.el (org-footnote-action): Offer to create
15763 definition when none is found.
15765 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15767 * org-footnote.el (org-footnote-re): Avoid matching inactive
15768 time-stamps or check-box cookies.
15769 (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15771 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15773 * org-exp.el (org-export-preprocess-string): If the last subtree
15774 is commented, footnotes inserted during normalizing at the end of
15775 the buffer may get deleted. This patch ensures deletion comes
15776 first, normalization second.
15778 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15780 * org-exp.el (org-export-footnotes-data): Change docstring.
15781 (org-export-footnotes-seen): Rename from
15782 org-export-footnotes-markers.
15784 * org-ascii.el (org-export-as-ascii): Apply change.
15786 * org-docbook.el (org-export-as-docbook): Apply change.
15788 * org-footnote.el (org-footnote-normalize): Apply change.
15790 * org-html.el (org-export-as-html): Apply change.
15792 * org-latex.el (org-export-as-latex): Apply change.
15794 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15796 * org-latex.el (org-export-latex-preprocess): Rely on
15797 `org-export-footnotes-markers' to retrieve definition of the
15798 current footnote during export.
15800 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15802 * org-footnote.el (org-footnote-normalize): Remember footnotes
15803 seen so far by the exporter when choosing the new marker.
15805 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15807 * org-footnote.el (org-footnote-normalize): Make use of
15808 `org-footnote-insert-pos-for-preprocessor'.
15810 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15812 * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15813 property to footnote markers when preparing for exportation.
15815 * org-html.el (org-export-as-html): Read new property to decide
15816 when to export a footnote.
15818 * org-docbook.el (org-export-as-docbook): Read new property to
15819 decide when to export a footnote.
15821 * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15822 column 0 cannot end a list containing it by adding
15823 `original-indentation' property to it.
15825 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15827 * org-exp.el (org-export-preprocess-string): Normalize footnotes
15828 before marking lists ending.
15830 * org-latex.el (org-export-latex-preprocess): Work with labels as
15831 strings and not as numbers.
15833 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15835 * org-docbook.el (org-export-docbook-footnote-separator):
15837 (org-export-as-docbook): Add a separator between footnotes.
15839 * org-html.el (org-export-html-footnote-separator): New variable.
15840 (org-export-as-html): Add a separator between footnotes.
15842 * org-latex.el (org-export-latex-footnote-separator):
15844 (org-export-latex-preprocess): Add a separator between footnotes.
15846 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15848 * org-exp.el (org-export-footnotes-markers)
15849 (org-export-footnotes-data): New variables.
15850 (org-export-preprocess-string): Use a more explicit argument.
15852 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15854 * org-footnote.el (org-footnote-goto-definition): Now, determining
15855 if point is at a footnote reference is entirely determined by
15856 `org-footnote-at-reference-p'. No need to check if pattern isn't
15857 at beginning of the line elsewhere.
15859 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15861 * org-footnote.el (org-footnote-next-reference-or-definition):
15864 * org.el (org-activate-footnote-links): Activate the whole
15865 footnote, but only fontify its label.
15867 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15869 * org-footnote.el (org-footnote-normalize): Make use of changes to
15870 `org-footnote-at-reference-p' and creation of various functions..
15872 (org-footnote-get-next-reference, org-footnote-delete-references)
15873 (org-footnote-delete-definitions): New functions.
15874 (org-footnote-goto-previous-reference, org-footnote-all-labels)
15875 (org-insert-footnote-reference-near-definition, org-footnote-delete):
15876 Rewrite to use org-footnote-get-next-reference.
15878 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15880 * org-footnote.el (org-footnote-re): Don't end an inline footnote
15881 at unrelated closing square brackets.
15882 (org-footnote-at-reference-p): Improve accuracy of the function to
15883 determine if point is at a reference and to extract definition of an
15885 (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15886 (org-footnote-auto-adjust-maybe): Make use of previous function.
15888 2011-07-28 Bastien Guerry <bzg@gnu.org>
15890 * org.el (org-deadline, org-schedule):
15891 keep warning cookie when rescheduling/redeadlining.
15892 (org-time-stamp): Fix problem with warning cookie.
15894 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15896 * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15897 clojure source into elisp source.
15899 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15901 * ob.el (org-babel-script-escape): Treats {} in the same manner as
15902 [] and allows for forcing string conversion.
15904 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15906 * org-exp.el (org-export-select-backend-specific-text):
15907 Strip protective commas from literal code blocks.
15909 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15911 * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15913 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15915 * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15917 (org-babel-ref-headline-body): Split out into its own function.
15918 (org-babel-ref-resolve): Using new functions, and alignment.
15920 * ob.el (org-babel-ref-goto-headline-id): Declare function.
15921 (org-babel-ref-headline-body): Declare function.
15922 (org-babel-expand-noweb-references): Now expands noweb references to
15923 headlines during expansion.
15925 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15927 * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15928 headlines by either global or custom id, in which case the
15929 contents of the headline are returned literally.
15931 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15933 * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15935 (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15938 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15940 * org-list.el (org-cycle-item-indentation): Cycling back to
15941 original position deleted any additional information in the item,
15942 like a counter or a tag.
15944 2011-07-28 Pieter Praet <pieter@praet.org>
15946 * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15947 (org-decrypt-entry): Before decrypting, check whether
15948 `auto-save-mode' is enabled for the current buffer, and act on it
15949 according to how `org-crypt-disable-auto-save' is set. Remove
15950 comment re "encrypt[ing] Org auto-saved buffers". Remove on-init
15951 check for `auto-save-default'.
15953 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15955 * ob.el (org-babel-merge-params): Ensure variable parameters are
15958 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15960 * ob.el (org-babel-insert-result): Fix results insertion for
15961 inline blocks which happen to start a line.
15963 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15965 * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
15966 if a call line is commented.
15968 2011-07-28 Vincent Belaïche <vincentb1@users.sourceforge.net>
15970 * org.el (org-read-property-name): Propose default property name.
15972 2011-07-28 Achim Gratz <stromeko@nexgo.de>
15974 * org.el (org-log-into-drawer): Correct typo.
15976 * org-clock.el (org-clock-into-drawer): New function to change the
15977 location of clock events based on properties CLOCK_INTO_DRAWER or,
15978 as fallback, LOG_INTO_DRAWER, like it is already possible for
15981 * org-clock.el (org-clock-jump-to-current-clock): Add statement to
15982 let clause to bind `org-clock-into-drawer' to result of function
15985 * org-clock.el (org-clock-find-position): Add statement to let
15986 clause to bind `org-clock-into-drawer' to result of function eval,
15987 change let to let* since the binding is used later in the same
15990 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15992 * ob-lob.el (require): Ensure 'cl is loaded during compilation so
15995 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15997 * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
15998 non-inline call lines.
16000 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16002 * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
16003 call_ blocks which aren't whitespace padded.
16005 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16007 * ob.el (org-babel-merge-params): Do not reverse variable order,
16008 and be sure to increment variable index as appropriate.
16010 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16012 * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
16013 successfully match optional trailing header arguments in square
16015 (org-babel-lob-get-info): Update to match the new regexp.
16017 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16019 * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
16020 then allow them to be so.
16022 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16024 * ob.el (org-babel-merge-params): If variables are not named they
16025 are assigned in order.
16027 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16029 * ob.el: Remove code comment about online documentation.
16031 * ob-exp.el: Remove code comment about online documentation.
16033 * ob-lob.el: Remove code comment about online documentation.
16035 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16037 * org-exp.el (org-export-format-source-code-or-example):
16038 Fix signature of org-<backend>-format-source-code-or-example function.
16040 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16042 * ob.el (org-babel-sha1-hash): Replace call to
16043 called-interactively-p with backwards-compatible interactive-p.
16045 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16047 * ob-exp.el (org-babel-exp-lob-one-liners):
16048 Appropriate replacement of inline call blocks with their results.
16050 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16052 * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
16053 trailing space ensures that the insertion of the results looks
16056 * ob.el (org-babel-insert-result): Insert inline lob line results
16059 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16061 * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
16062 appropriately given the style (block or inline) of the lob line.
16064 * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
16065 specific for block lob lines.
16066 (org-babel-inline-lob-one-liner-regexp): New regexp specific for
16068 (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
16069 (org-babel-lob-get-info): Return info from *either* the block or
16072 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16074 * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
16075 structure of the resulting info list.
16077 * ob-lob.el (org-babel-default-lob-header-args): Export the
16078 results of call lines by default.
16080 2011-07-28 Niels Giesen <niels.giesen@gmail.com> (tiny change)
16082 * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
16083 property based on the ID property of the org entry to the first
16084 character of the diary entry.
16086 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16089 (org-footnote-insert-pos-for-preprocessor): New variable.
16090 (org-footnote-normalize): Use it.
16092 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16094 * org-exp.el (org-export-format-source-code-or-example):
16095 Simplify. Also add `org-native-text' as a text property to the
16096 formatted text and throw error for unknown backends.
16098 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16100 * org-exp.el (org-export-format-source-code-or-example):
16101 Add support for: - custom formatters for existing backends - seamless
16102 plugging in of new backends.
16104 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16106 * org-exp.el (org-export-backends): New variable.
16107 (org-export-select-backend-specific-text): Use above
16108 variable. Also mark text between #+BACKEND and
16109 #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
16110 This text property is currently used only by the new line-oriented
16111 generic exporter (which is not yet part of the repo).
16113 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16115 * org-exp.el (org-export): Reserve keys 'o' and 'O' for
16116 OpenDocumentText export and bind them to `org-export-as-odt' and
16117 `org-export-as-odt-and-open'.
16119 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16121 * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
16124 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16126 * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
16127 lists before reading into emacs-lisp.
16129 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16131 * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
16133 * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
16135 * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
16137 * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
16139 * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
16141 * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
16143 * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
16145 * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
16147 * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
16149 * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
16151 * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
16153 * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
16155 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16157 * ob-awk.el: New file.
16159 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16161 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
16162 Respects ":results verbatim".
16164 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16166 * org-agenda.el (org-float): Aliases for `diary-float'.
16168 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16170 * ob-python.el (org-babel-python-evaluate-session):
16171 Send comint-send-input after every line when interacting with an
16172 interactive python process.
16174 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16176 * org-list.el (org-reset-checkbox-state-subtree): Make the command
16177 more robust, and correctly update check-boxes in the whole
16179 (org-update-checkbox-count): Fix bug accumulating count of checkboxes
16180 when walking a subtree.
16181 (org-update-checkbox-count-maybe): Add an optional argument passed to
16182 org-update-checkbox-count.
16184 2011-07-28 Teodor Zlatanov <tzz@lifelogs.com>
16186 * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
16188 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16190 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
16191 ":results scalar" header argument combination.
16193 2011-07-28 Dan Davison <dandavison7@gmail.com>
16195 * org-src.el: Append a space character to copied text so that the
16196 final text property change is picked up correctly.
16198 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16200 * ob-tangle.el (org-babel-tangle-file): Use the new argument list
16201 to org-babel-tangle.
16202 (org-babel-tangle): Now when called with a prefix argument, only the
16203 current code block is tangled.
16205 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16207 * org-list.el (org-list-parse-list): Replace transitional
16208 check-boxes with "[CBTRANS]" string during parsing.
16209 (org-list-to-generic): Use the new property `:cbtrans' to configure
16210 export string for transitional check-boxes.
16212 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16214 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16215 Use stable internal `org-anniversary' instead of
16217 (org-class): New function.
16218 (org-diary-class): Use `org-class'.
16219 (org-anniversary, org-cyclic, org-date, org-block): New functions.
16221 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16223 * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
16224 of header argument names.
16226 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16228 * ob.el (org-babel-expand-noweb-references): Concatenating all
16229 bodies with the appropriate name or :noweb-ref header argument.
16231 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16233 * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
16234 work also when #+begin line is indentex.
16236 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16238 * ob.el (org-babel-src-block-regexp): Babel: code block may have
16241 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16243 * org-macs.el (org-without-partial-completion): Avoid calling by
16244 name a function unknown to the compiler but explicitly checked by
16247 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16249 * org-mouse.el (org-agenda-earlier): Declaring previously unknown
16251 (org-agenda-later): Declaring previously unknown function.
16252 (org-agenda-mode-map): Declaring previously unknown variable.
16254 * org.el (org-read-date-analyze): Explicitly ignore the return
16255 value of a function.
16257 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16259 * org-agenda.el (org-agenda-mode): Globally replace
16260 buffer-substring-filters with filter-buffer-substring-functions.
16262 * org-indent.el (org-indent-mode): Globally replace
16263 buffer-substring-filters with filter-buffer-substring-functions.
16265 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16267 * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
16270 * org-attach.el: Replacing '(λ...) with #'(λ...).
16271 (org-attach-commit): Replacing '(λ...) with #'(λ...).
16273 * org-exp.el: Replacing '(λ...) with #'(λ...).
16274 (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
16276 * org-html.el: Replacing '(λ...) with #'(λ...).
16277 (org-export-as-html): Replacing '(λ...) with #'(λ...).
16279 * org-mouse.el: Replacing '(λ...) with #'(λ...).
16280 (org-mouse-popup-global-menu): Replacing '(λ...) with
16281 (org-mode-hook): Replacing '(λ...) with #'(λ...).
16282 (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
16284 * org-src.el: Replacing '(λ...) with #'(λ...).
16285 (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
16287 * org-table.el: Replacing '(λ...) with #'(λ...).
16288 (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
16290 * org.el: Replacing '(λ...) with #'(λ...).
16291 (org-confirm-shell-link-function): Replacing '(λ...) with
16292 (org-category): Replacing '(λ...) with #'(λ...).
16294 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16296 * org.el (mailcap-parse-mailcaps): Declaring functions used by
16298 (mailcap-extension-to-mime): Declaring functions used by
16300 (mailcap-mime-info): Declaring functions used by `org-open-file'.
16302 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16304 * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
16305 function `interactive-p'.
16306 (org-agenda-show-1): Replacing call to now-defunct function
16308 (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
16310 * org-ascii.el: Replacing call to now-defunct function
16312 (org-export-as-latin1): Replacing call to now-defunct function
16314 (org-export-as-latin1-to-buffer): Replacing call to now-defunct
16315 function `interactive-p'.
16316 (org-export-as-utf8): Replacing call to now-defunct function
16318 (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
16320 (org-export-region-as-ascii): Replacing call to now-defunct
16321 function `interactive-p'.Replacing call to now-defunct function
16324 * org-docbook.el: Replacing call to now-defunct function
16326 (org-export-region-as-docbook): Replacing call to now-defunct
16327 function `interactive-p'.Replacing call to now-defunct function
16330 * org-html.el: Replacing call to now-defunct function
16332 (org-export-region-as-html): Replacing call to now-defunct
16333 function `interactive-p'.Replacing call to now-defunct function
16336 * org-latex.el: Replacing call to now-defunct function
16338 (org-export-region-as-latex): Replacing call to now-defunct
16339 function `interactive-p'.Replacing call to now-defunct function
16342 * org-macs.el: Replacing call to now-defunct function
16344 (org-called-interactively-p): Replacing call to now-defunct
16345 function `interactive-p'.Replacing call to now-defunct function
16348 * org-table.el: Replacing call to now-defunct function
16350 (org-table-blank-field): Replacing call to now-defunct function
16352 (org-table-current-column): Replacing call to now-defunct function
16353 `interactive-p'.Replacing call to now-defunct function
16355 (org-table-current-dline): Replacing call to now-defunct function
16356 `interactive-p'.Replacing call to now-defunct function
16358 (org-table-sort-lines): Replacing call to now-defunct function
16360 (org-table-sum): Replacing call to now-defunct function
16362 (org-table-rotate-recalc-marks): Replacing call to now-defunct
16363 function `interactive-p'.
16364 (org-table-eval-formula): Replacing call to now-defunct function
16366 (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
16368 * org.el: Replacing call to now-defunct function `interactive-p'.
16369 (org-mode): Replacing call to now-defunct function
16371 (org-copy-subtree): Replacing call to now-defunct function
16373 (org-paste-subtree): Replacing call to now-defunct function
16375 (org-store-link): Replacing call to now-defunct function
16377 (org-todo): Replacing call to now-defunct function `interactive-p'.
16378 (org-occur): Replacing call to now-defunct function `interactive-p'.
16380 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16382 * ob-R.el (ess-local-process-name): This variable wasn't known to
16385 * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
16388 * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
16389 known to be defined.
16390 (org-babel-tangle-combine-named-blocks): Roll my own version of a
16391 forbidden common lisp function.
16393 * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
16394 called-interactively.
16396 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16398 * org-latex.el (org-export-latex-tables): Check for the
16399 "multiline" option and set the `floatp' option to true when
16400 multicolumn tables are requested.
16402 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16404 * org-html.el (org-export-as-html, org-html-level-start):
16405 Only convert section number underscores to dashes.
16407 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16409 * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
16410 `days-to-time, converting relative to 1 BC, while the code assumed
16411 it would return a time relative to 1970.
16413 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16415 * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
16416 inserting newlines between appended code blocks.
16418 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16420 * ob-exp.el: We may no longer need to export names along with code
16423 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16425 * org-exp-blocks.el (org-export-blocks-preprocess):
16426 Ensure balanced nested begin/end blocks in block bodies.
16428 2011-07-28 Dan Davison <dandavison7@gmail.com>
16430 * org-latex.el: Add -shell-escape to pdflatex commands.
16432 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16434 * ob-tangle.el (org-babel-tangle-named-block-combination):
16435 Block combination can now take a number of values.
16436 (org-babel-tangle-combine-named-blocks): More sophisticated block
16437 combination behavior.
16439 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16441 * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
16442 Switch to turn on the combination of code blocks of the same name.
16443 (org-babel-tangle-combine-named-blocks): Combine blocks of the same
16446 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16448 * ob-ruby.el (xmp): Declaring this function to appease the
16450 (org-babel-execute:ruby): "xmp" result option for outputting
16451 annotated source code.
16453 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> (tiny change)
16455 * org-list.el (org-list-to-latex): The enumerate environment in
16456 latex increments the counter before using it. Therefore, org-mode
16457 should set the enumeration counter to the desired value minus one.
16459 2011-07-28 Michael Brand <michael.ch.brand@gmail.com> (tiny change)
16461 * org.el (org-toggle-heading): More comments and fix number of
16462 stars when toggling from list items.
16464 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16466 * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
16467 effort that is accepted by `org-duration-string-to-minutes´.
16469 2011-07-28 Julien Barnier <julien@nozav.org>
16471 * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
16472 wait until previous line execution is finished.
16474 * ob-comint.el (org-babel-comint-with-output): When looking for
16475 end-of-evaluation indicator, search forward for the indicator
16476 before searching forward for the prompt.
16478 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16480 * org-entities.el (org-entities): Fix HTML entity for degree.
16482 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16484 * org.el (org-auto-align-tags): Change docstring.
16485 (org-update-parent-todo-statistics): Keep tags aligned even when
16486 statistics cookies are shifting them.
16488 * org-list.el (org-update-checkbox-count): Keep tags aligned even
16489 when statistics cookies are shifting them.
16491 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16493 * ob.el (org-babel-sha1-hash): Don't modify info argument by
16494 side-effect when sorting result-params list.
16496 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16498 * ob.el (org-babel-result-regexp): Use non-shy group around
16499 `org-babel-data-names'.
16501 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16503 * org.el (org-insert-link): Set truncate-line in the *Org Link*
16504 buffer and make sure that it really is set there.
16506 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16508 * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
16509 changing how/if the current directory is represented to lisp code.
16510 (org-babel-execute:lisp): More general handling of the default
16513 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16515 * ob-lisp.el (org-babel-execute:lisp): Setting the value of
16516 *default-pathname-defaults* to either the value of the :dir header
16517 argument or the directory of the containing Org-mode file.
16519 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16521 * ob-lisp.el (org-babel-execute:lisp): No real functional change,
16524 2011-07-28 Sébastien Delafond <sdelafond@gmail.com> (tiny change)
16526 * org.el (org-mode-flyspell-verify): This is useful when using
16527 flyspell with a non-English dictionary, or if some of your
16528 keywords are in another language.
16530 2011-07-28 David Maus <dmaus@ictsoc.de>
16532 * org-exp.el (org-export): Use new compatibility function
16533 `org-activate-mark'.
16535 * org-compat.el (org-activate-mark): New function.
16536 Provide `activate-mark' if not present (e.g. Emacs 22).
16538 2011-07-28 David Maus <dmaus@ictsoc.de>
16540 * org-table.el (org-table-follow-field-mode): Declare variable to
16541 keep byte compiler happy.
16543 2011-07-28 David Maus <dmaus@ictsoc.de>
16545 * org-footnote.el (org-id-uuid): Declare function, silence byte
16548 2011-07-28 David Maus <dmaus@ictsoc.de>
16550 * org-bibtex.el (org-bibtex-headline): Don't use equalp at
16551 run-time, compare downcased strings.
16553 2011-07-28 David Maus <dmaus@ictsoc.de>
16555 * org-bibtex.el (org-id-locations): Declare variable to silence
16558 2011-07-28 David Maus <dmaus@ictsoc.de>
16560 * org-id.el (org-id-locations): Fix docstring, remove reference to
16561 non-existent option.
16563 2011-07-28 David Maus <dmaus@ictsoc.de>
16565 * org.el (org-self-insert-command): Use `delete-char' instead of
16566 `delete-backward-char'.
16568 * org-table.el (orgtbl-self-insert-command): Ditto.
16570 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16572 * org-latex.el (org-export-latex-special-chars): Save match data
16573 when checking for table.el table.
16575 2011-07-28 David Maus <dmaus@ictsoc.de>
16577 * org.el (org-re-property): Move before its first use.
16579 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16581 * org-latex.el (org-export-latex-preprocess):
16582 Add `original-indentation' property to footnotes so they cannot
16583 possibly end a list by being less indented than the item they
16586 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16588 * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
16590 (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
16593 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16595 * org-clock.el (org-clocktable-write-default): Implement adding
16596 property columns to the clock table.
16598 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16600 * org.el (org-toggle-item): Move parenthesis to correct location.
16602 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16604 * org.el (org-default-priority):
16605 (org-priority-start-cycle-with-default): Improve docstring.
16606 (org-priority): Throw error when priority is out of range.
16608 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16610 * org.el (org-self-insert-command): Catch the case of
16611 `buffer-undo-list' eq t.
16613 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16615 * org.el (org-toggle-heading): Region should be considered as made
16616 of full lines, without the last one if region-end is at bol.
16617 Removed unused variables. Refactored and commented code.
16619 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16621 * org.el (org-toggle-item): When region includes an headline less
16622 indented than first one, set it as the new reference.
16624 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16626 * org-list.el (org-list-to-subtree): If the list is before first
16627 heading and `org-odd-levels-only' is non-nil, the first item gets
16628 two stars instead of one.
16630 * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16631 `org-odd-levels-only' non-nil.
16633 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16635 * org.el (org-toggle-item): Converting an heading to an item would
16636 sometimes insert unnecessary spaces before it, and unwanted space
16637 with `org-indent-mode' on. Changing some text into an item
16638 wouldn't always preserve indentation.
16640 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16642 * org-capture.el (org-capture-current-plist): Improve docstring.
16643 (org-capture-put): Add docstring.
16644 (org-capture-get): Add docstring.
16645 (org-capture-member): Add LOCAL argument. Add docstring.
16646 (org-capture-set-target-location): Store the time received from a
16647 date prompt into the :prompt-time property.
16649 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16651 * org-exp.el (org-export-mark-list-properties): Even if context is
16652 invalid, mark list item with `list-context' property.
16654 * org-list.el (org-list-forbidden-blocks): Add exporters specific
16655 blocks to the list of forbidden blocks.
16657 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16659 * org-list.el (org-sort-list): Function tries to intern
16660 getkey-func before it is defined, so it's always nil.
16662 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16664 * org.el (org-babel-load-languages): Adding ob-awk to the list of
16665 executable languages.
16667 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16669 * org-table.el (org-table-get-field): Make sure the new field
16670 content is at least one space character.
16672 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16674 * org-crypt.el: Check for `daemonp' before using it.
16676 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16678 * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16679 :stdin header argument.
16680 (org-babel-execute:sh): Use the :stdin header argument.
16681 (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16683 (org-babel-sh-var-to-string): New function for converting elisp
16684 values to strings that make sense for parsing with sh.
16685 (org-babel-sh-evaluate): Adding "stdin" option to session and
16686 external evaluation options.
16688 2011-07-28 Roland Kaufmann <rlndkfmn+orgmode@gmail.com> (tiny change)
16690 * org-exp.el (org-remove-formatting-on-newlines-in-region):
16692 (org-export-format-source-code-or-example):
16693 Call `org-remove-formatting-on-newlines-in-region'.
16695 2011-07-28 David Maus <dmaus@ictsoc.de>
16697 * org.el (org-entry-put): Prevent adding of extra space to value
16698 if property already exists.
16700 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16702 * org-html.el (org-export-as-html): Don't expand non-data lines of
16704 (org-html-expand): Remove the (buggy) test for non-data lines
16705 in table.el tables. The test is now done as part of
16706 org-export-as-html.
16707 (org-format-table-table-html-using-table-generate-source):
16708 Add test for spanning of cells in table.el tables using
16709 table.el's own library routine. Optionally suppress export of
16710 simple table.el tables.
16711 (org-format-table-html): Remove the (buggy) test for spanned
16712 table.el tables. The test is now done as part of
16713 org-format-table-table-html-using-table-generate-source.
16715 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16717 * org-latex.el (org-export-latex-special-chars): Do nothing in
16720 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16722 * org-capture.el (org-capture): Ignore errors when creating a
16725 2011-07-28 Nick Dokos <nick@dokosmarshall.org> (tiny change)
16727 * org-exp.el (org-export-define-heading-targets): Use dash instead
16728 of underscore to make labels valid.
16730 2011-07-28 Dan Davison <dandavison7@gmail.com>
16732 * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16733 is written to the results file before Emacs notices that the file
16736 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16738 * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16739 defined locally on my system, but not globally in Emacs.
16741 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16743 * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16744 generate code block output.
16745 (org-babel-exp-code): Re-create the code block body for exporting
16748 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16750 * org.el (org-read-date): Bury Calendar buffer after using it for
16753 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16755 * org-list.el (org-list-separating-blank-lines-number):
16756 Fix confusion between point and item beginning. Now, if no
16757 information is available, truly follow user preference when it
16758 inserts blank lines manually.
16759 (org-list-insert-item): Send correct argument to the preceding
16762 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16764 * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16765 newline inside of the code block body.
16767 2011-07-28 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
16769 * ob.el: Avoid spurious matches to literal.
16771 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16773 * org.el (org-indent-line-function): Don't include #+include
16776 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16778 * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16779 org-babel-check-src-block.
16781 * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16782 (org-babel-edit-distance): Returns the edit distance of two
16784 (org-babel-check-src-block): Check a code block for errors.
16786 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16788 * org-capture.el (org-capture-templates): Fix bug in customization
16791 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16794 (org-table-exit-follow-field-mode-when-leaving-table): New option.
16795 (org-table-check-inside-data-field): New optional argument
16796 `noerror'. When set, the function will only return nil instead of
16798 (org-table-edit-field): Interpret double prefix argument, and improve
16799 the properties of the editing window.
16800 (org-table-follow-field-mode): New minor mode.
16801 (org-table-follow-fields-with-editor): New function.
16803 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16805 * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16806 first, then check if timestamps cause exclusion.
16808 * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16809 if timestamps cause exclusion.
16811 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16813 * org-list.el (org-list-full-item-re): Allow description term to
16814 have a newline character after the colons.
16816 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16818 * org-list.el (org-sort-list): No longer ignore with-case
16819 argument: the function sorted case-sensitively, regardless of
16822 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16824 * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16826 * ob.el (org-babel-data-names): Configurable list of names of
16828 (org-babel-result-regexp): Using new results regexp.
16830 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16832 * org.el (org-special-properties): Add CLOCKSUM to the special
16835 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16837 * ob-exp.el (org-babel-exp-in-export-file):
16838 Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16840 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16842 * org-exp.el (org-export-add-options-to-plist): Use the right
16845 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16847 * org-latex.el (org-export-latex-preprocess): Protect index string.
16849 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16851 * org-latex.el (org-export-latex-preprocess): Pipe index entries
16852 through `org-export-latex-fontify-headline'.
16854 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16856 * org-exp.el (org-export-add-options-to-plist): Fix the option
16859 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16861 * org-latex.el (org-export-latex-preprocess): Replace index
16864 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16866 * org.el (org-structure-template-alist): Add an easy template for
16867 index (i), and move include file to I from i.
16869 2011-07-28 Matt Lundin <mdl@imapmail.org>
16871 * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16872 line to `org-offer-links-in-entry'.
16874 2011-07-28 Matt Lundin <mdl@imapmail.org>
16876 * org-bibtex.el (org-bibtex-search): New function.
16877 (org-bibtex-export-to-kill-ring): New function. Export to kill
16879 (org-bibtex-create-in-current-entry): New function
16880 (org-bibtex-create): Make it easier to add bib fields to an
16882 (org-bibtex-export-arbitrary-fields)
16883 (org-bibtex-treat-headline-as-title): Fix typos
16884 (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16885 from type completion.
16887 2011-07-28 Matt Lundin <mdl@imapmail.org>
16889 * org-bibtex.el (org-bibtex-treat-headline-as-title):
16891 (org-bibtex-headline): Only use headline text (not TODO or other
16892 metadata) to generate title field and auto key.
16893 (org-bibtex-fleshout): Allow user to choose whether to treat
16896 2011-07-28 Tom Dye <tsd@tsdye.com>
16898 * org-bibtex.el: Added crossref field to other fields.
16900 2011-07-28 Tom Dye <tsd@tsdye.com>
16902 * org-bibtex.el: Add crossref option to incollection.
16904 2011-07-28 Matt Lundin <mdl@imapmail.org>
16906 * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16909 2011-07-28 Matt Lundin <mdl@imapmail.org>
16911 * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16912 warn if a duplicate ID is generated.
16914 2011-07-28 Matt Lundin <mdl@imapmail.org>
16916 * org-bibtex.el (org-bibtex-tags): New variable.
16917 (org-bibtex-tags-are-keywords): New variable.
16918 (org-bibtex-no-export-tags): New variable.
16919 (org-bibtex-headline): Export tags as comma-separated bibtex
16921 (org-bibtex-read): Import bibtex keywords field as tags.
16923 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16925 * org-publish.el (org-publish-find-date): Optimization.
16927 2011-07-28 Tassilo Horn <tassilo@member.fsf.org>
16929 * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16930 when following link.
16932 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16934 * org-publish.el (org-publish-project-alist): Document new
16935 :sitemap-sans-extension property.
16936 (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16939 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16941 * org.el (org-remove-uninherited-tags): Rename from
16942 `org-remove-iniherited-tags'.
16943 (org-scan-tags): Fix typo in function call.
16944 (org-get-tags-at): Fix typo in function call.
16946 2011-07-28 Matt Lundin <mdl@imapmail.org>
16948 * org.el (org-get-tags-at): Don't include filetags if local is t.
16950 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16952 * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16953 dispatch functions, wrap body in `(do )'.
16955 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16957 * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
16958 resulted in the creation of multiple overlays in src blocks.
16960 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16962 * ob-clojure.el (org-babel-execute:clojure): If results are not
16963 readable by lisp, then return them as a string.
16965 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16967 * org-bibtex.el (org-bibtex): Now prompts for a file name.
16969 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16971 * org-bibtex.el (org-bibtex-create): Adding prefix argument which
16972 will result in prompting for optional fields.
16974 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16976 * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
16977 which was causing compile problems.
16978 (org-bibtex-fleshout): Rename flet function `get' which was causing
16980 (org-bibtex-write): Rename flet function `get' which was causing
16983 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16985 * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
16986 never starts with a number.
16988 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16990 * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
16991 (org-bibtex-key-property): New option.
16992 (org-bibtex-put): Make use of new `org-bibtex-key-property'
16994 (org-bibtex-headline): Make use of new
16995 `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
16997 (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
16999 (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
17001 (org-bibtex-write): Make use of new `org-bibtex-key-property'
17004 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17006 * org-bibtex.el: Updating Copyright dates, author information,
17007 commentary and history notes.
17008 (org-bibtex-types): List of bibtex types with descriptions and
17009 required and optional fields.
17010 (org-bibtex-fields): List of bibtex fields with descriptions.
17011 (*org-bibtex-entries*): Special variable to hold parsed bibtex
17013 (org-bibtex-autogen-keys): Custom variable controlling whether
17014 bibtex keys are automatically generated
17015 (org-bibtex-prefix): Custom variable allowing use of optional prefix
17016 for bibtex properties in Org-mode headlines.
17017 (org-bibtex-get): Helper function for accessing bibtex elements of a
17019 (org-bibtex-put): Helper function for inserting bibtex element into
17021 (org-bibtex-headline): Return a bibtex entry of the given headline
17023 (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
17025 (org-bibtex-autokey): Generate a bibtex key for the current
17027 (org-bibtex-fleshout): Fill in missing bibtex properties of the
17029 (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
17030 (org-bibtex-check): Check that all bibtex properties are present in
17031 the current headline.
17032 (org-bibtex-check-all): Check all headlines in the current buffer.
17033 (org-bibtex-create): Create a new bibtex headline at the current
17035 (org-bibtex-read): Read the current bibtex entry from a bibtex file.
17036 (org-bibtex-write): Write the most recently read bibtex entry into
17039 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17041 * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
17043 (org-agenda-show-clocking-issues): Handle faces.
17045 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17047 * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
17048 content by default with "-Dfile.encoding=UTF-8".
17050 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17052 * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
17055 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17057 * org-exp.el (org-export-preprocess-string): Mark list end before
17058 expanding macros. Thus, a macro inside a list and containing
17059 blank lines cannot break the list structure.
17060 (org-export-preprocess-apply-macros): Multi-lines macros get
17061 indented with the same indentation as the first line. Thus, we
17062 are sure that every line belongs to the same list as the first
17063 line, if such list exists. Also add comments in code.
17065 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17067 * org-agenda.el (org-agenda-clock-consistency-checks): New option.
17068 (org-agenda-list): Handle display change to clock check.
17069 (org-agenda-get-progress): Show only clock entries if we are doing
17070 the consistency check.
17071 (org-agenda-show-clocking-issues): New function.
17072 (org-agenda-check-clock-gap): New function.
17073 (org-agenda-view-mode-dispatch): Offer consistency check.
17074 (org-agenda-log-mode): Handle switch to clock only display.
17075 (org-agenda-set-mode-name): Show lighter for Clockcheck.
17077 * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
17078 and return it unchanged.
17080 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17082 * org-list.el (org-list-struct): When walking down the list, the
17083 function would not pay attention to drawers or blocks indentation.
17084 Thus, such constructs couldn't consistently end an item or a list.
17085 This patch ensures line indentation is stored (if applicable)
17086 before skipping them. Also fixed doc-string and comments.
17088 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17090 * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
17093 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17095 * org-exp.el (org-export): Define a bound for finding enclosing
17096 tree with class/title definition.
17098 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17100 * org-exp.el (org-export): Go to next heading before searching
17101 backward, so make this also work if we are on the headline of the
17102 entry with the property.
17104 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17106 * org.el (org-promote):
17107 (org-demote): Soften the previous change, by only removing the
17108 flyspell function from after-change functions, because that was
17109 the one causing the slowdown - at least much of it.
17111 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17113 * org.el (org-promote, org-demote): Turn off
17114 after-change-functions to speed up the reindentation of text.
17116 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17118 * ob-ocaml.el (org-babel-ocaml-read-list):
17119 Use `org-babel-script-escape'.
17120 (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
17122 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17124 * org-html.el (org-html-handle-links): Add an alternate for inline
17127 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17129 * org-agenda.el (org-agenda-bulk-action): Do not use the entries
17130 variable before it is defined.
17132 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17134 * org-src.el (org-src-lang-modes): Add a language alias of "C"
17137 2011-07-28 Shaun Johnson <shaun@slugfest.demon.co.uk> (tiny change)
17139 * ob-tangle.el (org-babel-tangle): Make it work in an indirect
17142 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17144 * org-html.el (org-html-make-link): Correct a bug in coderef link.
17146 2011-07-28 Bernt Hansen <bernt@norang.ca>
17148 * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
17151 2011-07-28 Bernt Hansen <bernt@norang.ca>
17153 * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
17154 when headlines are missing.
17156 2011-07-28 Bastien Guerry <bzg@gnu.org>
17158 * org-mobile.el (org-mobile-push): Move call to hook, make it the
17159 first thing of the push operation.
17161 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17163 * ob.el (org-babel-params-from-buffer): Now looking for header
17164 arguments in #+Properties: as well as #+Babel:. Also, we're no
17165 longer caching these results into a file local variable.
17167 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17169 * ob-python.el (org-babel-python-evaluate-external-process):
17170 Allow parsing as a table in the case of ":results output table".
17171 (org-babel-python-evaluate-session): Allow parsing as a table in
17172 the case of ":results output table".
17174 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17176 * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
17177 all possible agenda views. Use `org-agenda-schedule' instead of
17178 `org-agenda-date-later'.
17180 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17182 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
17185 2011-07-28 Julien Danjou <julien@danjou.info>
17187 * org.el (org-entry-get, org-entry-delete, org-entry-put)
17188 (org-property-values, org-delete-property-globally):
17189 Use `org-re-property'.
17190 (org-re-property): New function allowing to build a regexp to
17193 2011-07-28 Julien Danjou <julien@danjou.info>
17195 * org.el (org-property-values): Enhance docstring.
17197 2011-07-28 Ethan Ligon <ligon@are.berkeley.edu> (tiny change)
17199 * org-html.el (org-html-export-list-line): Fix regexp for
17200 detecting description lists to allow "::" marker to be last
17201 visible element at end of line.
17202 * org-docbook.el (org-docbook-export-list-line): Fix regexp for
17203 detecting description lists to allow "::" marker to be last
17204 visible element at end of line.
17206 2011-07-28 Julien Danjou <julien@danjou.info>
17208 * org-table.el (org-table-cleanup-narrow-column-properties):
17209 Use point-min rather than 1 when moving in the buffer.
17211 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17213 * org-list.el (org-list-in-valid-context-p): Rename from
17214 `org-list-in-valid-block-p'.
17215 (org-at-item-p, org-list-search-generic): Use renamed function.
17217 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17219 * org.el (org-set-font-lock-defaults): Be more strict when
17220 recognizing description items, and do not fontify wrong cases
17221 like: "- term ::description" or "1. term :: description".
17223 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17225 * org-latex.el: Pay attention to end of footnote. Before closing
17226 the command, ensure that list is properly closed or that last link
17227 is separated from the curly brace.
17229 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17231 * org.el (org-indent-line-function): Footnote definition must stay
17232 at column 0 to be recognized as such. Body below can have normal
17233 indentation, so it should ignore its definition when computing
17236 2011-07-28 Bastien Guerry <bzg@gnu.org>
17238 * org-protocol.el (org-protocol-remember, org-protocol-capture):
17239 More appropriate message.
17241 2011-07-28 Bastien Guerry <bzg@gnu.org>
17243 * org-capture.el (org-capture-clock-keep): New local variable.
17244 (org-capture, org-capture-finalize): Use it and fix a bug when
17245 :clock-keep is set to `t'.
17247 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
17249 * org-exp.el (org-export-preprocess-string): Handle include files
17250 before processing macros.
17252 2011-07-28 Bernt Hansen <bernt@norang.ca>
17254 * org-agenda.el: Remove obsolete code for adding todo list in
17255 front of the agenda.
17257 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17259 * org-latex.el (org-export-latex-convert-table.el-table):
17260 Fix format-string for insertion of captions.
17262 2011-07-28 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
17264 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
17267 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
17269 * org.el (org-read-date-analyze): Help matching dotted European
17270 dates, like 31. 12. 2007
17272 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17274 * ob-lisp.el (org-babel-execute:lisp): Fix typo.
17276 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17278 * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
17279 before reading by elisp.
17280 (org-bable-lisp-vector-to-list): Stub of a vector->list function,
17281 should be replaced with a cl-vector->el-vector function.
17283 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17285 * ob-lisp.el (org-babel-execute:lisp): Now using
17286 `org-babel-reassemble-table' to apply the appropriate header
17287 arguments to results.
17289 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17291 * org.el (org-end-of-meta-data-and-drawers): New function.
17293 * org-capture.el (org-capture-place-plain-text): Implement adding
17294 plain text templates to Org nodes.
17296 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17298 * org-beamer.el (org-beamer-environments-extra): Fix docstring.
17300 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17302 * org-exp.el (org-export-handle-comments): Add the org-protected
17303 property to the replacement string.
17305 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17307 * org-html.el (org-export-as-html, org-html-level-start):
17308 Fix logic for section number printing when NUM is an integer.
17310 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17312 * org-latex.el (org-export-latex-special-chars): Fix regexp for
17313 `single' special characters and ellipsis.
17315 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17317 * org.el (org-point-at-end-of-empty-headline):
17318 Bind `case-fold-search' to nil.
17320 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17322 * org-capture.el (org-capture-fill-template): Resolve new %<...>
17324 (org-capture-templates): Document new %<...> template escape.
17326 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17328 * ob.el (org-babel-process-params): Make this function idempotent,
17329 as it will sometimes be called multiple times.
17331 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17333 * org.el (org-ts-regexp-both): Add "]" to class of characters that
17334 should not be matched.
17335 (org-ts-regexp0, org-ts-regexp1): Do not start a class with
17336 "^]-+", because that tries to (not) match characters between "]"
17337 and "+". Instead, move the "-" to the end of the class where it
17340 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17342 * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
17343 process with the edit buffer when :session is specified.
17345 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17347 * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
17348 extraction code into line with a newer version of the
17349 `org-store-link' function.
17351 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17353 * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
17354 wrapping the expression in either a let or progn, and possibly a
17355 pretty-print function invocation.
17356 (org-babel-execute:lisp): Greatly simplified method of executing
17359 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17361 * org-list.el: Move `org-update-checkbox-count-maybe' call outside
17362 of ̀save-excursion' to get back to original position.
17364 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17366 * org.el (org-numbered-action-format): New option.
17367 (org-new-numbered-action): New command.
17368 (org-collect-todos-in-subtree): New command.
17370 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17372 * org-exp.el (org-export-with-tasks): New option.
17373 (org-export-plist-vars): Add :tasks property.
17375 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17377 * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
17378 property to the export preprocessor.
17380 * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
17381 property to the export preprocessor.
17383 * org-html.el (org-export-as-html): Pass the :done-tasks property
17384 to the export preprocessor.
17386 * org-latex.el (org-export-as-latex): Pass the :done-tasks
17387 property to the export preprocessor.
17389 * org-exp.el (org-export-with-done-tasks): New option.
17390 (org-export-plist-vars): Add entry for :done-tasks.
17391 (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
17392 (org-export-remove-done-tasks): New function.
17394 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17396 * org-latex.el (org-export-latex-keywords-maybe): Protect # in
17399 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17401 * org.el (org-find-olp): Use the level of the correct match to
17404 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17406 * org-list.el (org-toggle-checkbox): Build value of
17407 org-keyword-time-regexp instead of using it directly, as it's
17408 buffer-local, and function might be called outside Org.
17410 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17412 * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
17413 blocks or drawers necessarily start somewhere. It it isn't the
17414 case, treat them as normal text.
17416 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17418 * ob-exp.el (org-babel-exp-results): Use code block name when
17419 finding cached results.
17421 2011-07-28 Julien Danjou <julien@danjou.info>
17423 * org-latex.el (org-export-latex-date-format): Change default date
17424 format to \today. This has the same result but respects the
17425 language set in the document by default.
17427 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17429 * org-list.el (org-list-checkbox): When called from an headline,
17430 function would normally skip drawers, but not if a SCHEDULED or
17431 DEADLINE keyword is standing before the drawer. Also avoid
17432 problems if function is called in buffers not is Org mode.
17434 2011-07-28 Bastien Guerry <bzg@gnu.org>
17436 * org-clock.el (org-clock-report): Change the scope of the
17437 inserted clock report depending on whether the point is within a
17438 subtree (:scope subtree) or not (:scope file).
17440 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
17442 * org-html.el (org-export-as-html): Fix export of footnotes
17443 containing lists, tables, quotes, etc.
17445 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17447 * org-latex.el (org-export-latex-preprocess): Correctly match
17448 starred command names.
17450 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17452 * org-html.el (org-export-as-html): Get local value of
17453 org-export-with-section-numbers from the buffer's plist.
17454 Deal specially with the case the resulting value is an integer.
17455 (org-html-level-start): New optional argument of the option plist used
17456 instead of `org-export-with-section-numbers'. Also deal specially
17457 with the case that the value is an integer.
17459 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17461 * org-latex.el (org-export-latex-subcontent): Deal specially with
17462 the case that NUM is an integer.
17464 2011-07-28 Bastien Guerry <bzg@gnu.org>
17466 * org-protocol.el (org-protocol-do-capture): Allow template keys
17468 (org-protocol-default-template-key): Update the docstring to
17469 reflect the change in `org-protocol-do-capture'.
17471 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
17473 * org-taskjuggler.el: Fix a typo in the commentary.
17475 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
17477 * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
17478 "purge allocations" statement if we are not targeting tj3.
17480 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
17482 * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
17483 Replace recursive implementation with an iterative one.
17485 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17487 * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
17488 data into shell variables.
17490 2011-07-28 David Maus <dmaus@ictsoc.de>
17492 * org-html.el (org-html-handle-time-stamps): Protected linebreak
17493 element after timestamp markup.
17495 2011-07-28 David Maus <dmaus@ictsoc.de>
17497 * org-html.el (org-html-handle-links): Don't protect img tag in
17500 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17502 * org-table.el (org-table-formula-handle-first/last-rc):
17505 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17507 * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
17508 whatever the major mode is.
17510 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17512 * org-inlinetask.el (org-inlinetask-export-templates): Fix default
17514 (org-inlinetask-export-handler): Ensure contents of inline task,
17515 if any, starts and ends with a newline character. Refactor and
17518 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17520 * org-capture.el (org-datetree-find-date-create): Lower-case for
17521 variable names in `define-function' form.
17523 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17525 * org-table.el (org-table-convert-region): Throw error when
17526 SEPARATOR is smaller than 1.
17528 2011-07-28 Julien Danjou <julien@danjou.info>
17530 * org-colview.el (org-columns-display-here): Fix heading retrieval
17533 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17535 * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
17536 be on the same line as a list end marker.
17538 2011-07-28 Julien Danjou <julien@danjou.info>
17540 * org.el (org-icompleting-read): Do not use useless lambda.
17542 2011-07-28 Julien Danjou <julien@danjou.info>
17544 * org-agenda.el (org-format-agenda-item): Fix length computing.
17546 2011-07-28 Julien Danjou <julien@danjou.info>
17548 * org-agenda.el (org-format-agenda-item): Fix comment and use
17549 `add-text-properties'.
17551 2011-07-28 Julien Danjou <julien@danjou.info>
17553 * org-agenda.el (org-agenda-highlight-todo): Remove useless
17556 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17558 * org-list.el (org-list-to-generic): Set a default term for
17559 ill-formed description lists. Do not insert newline characters
17561 (org-list-to-texinfo, org-list-to-html): Apply changes to
17562 `org-list-parse-liste'.
17564 2011-07-28 Bastien Guerry <bzg@gnu.org>
17566 * org-clock.el (org-clock-clocktable-language-setup): Add a
17568 (org-clocktable-write-default): Use the new localized string
17569 in `org-clock-clocktable-language-setup'.
17571 2011-07-28 Bastien Guerry <bzg@gnu.org>
17573 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17574 (org-taskjuggler-assign-resource-ids): Replace recursive
17575 implementation with an iterative one.
17577 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
17579 * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
17582 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
17584 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17585 Compute the leafiness of a node.
17586 (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
17587 node as a milestone if it is a leaf and has no effort.
17589 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
17591 * org-taskjuggler.el (org-export-taskjuggler-target-version):
17592 (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
17593 to handle export to both tj2 and tj3.
17594 (org-taskjuggler-open-task): Use a different way to purge
17595 allocations for tj2 and tj3.
17597 2011-07-28 Matt Lundin <mdl@imapmail.org>
17599 * org-footnote.el (org-footnote-auto-label): New random option.
17601 * org-footnote.el (org-footnote-new): Create random footnote
17602 labels with unique ids.
17604 2011-07-28 Matt Lundin <mdl@imapmail.org>
17606 * org-footnote.el (org-footnote-create-definition): Allow for
17607 footnote sections above the current footnote insertion point.
17609 2011-07-28 Matt Lundin <mdl@imapmail.org>
17611 * org-footnote.el (org-footnote-create-definition): Don't search
17612 for last footnote when in org-mode file.
17614 2011-07-28 Bastien Guerry <bzg@gnu.org>
17616 * org-html.el (org-export-as-html): Handle links with
17617 `org-html-handle-links' after we handle special characters
17619 (org-html-make-link, org-export-html-format-image):
17620 Don't protect html with @ anymore, as links are now handled after
17621 special characters conversions.
17623 2011-07-28 Julien Danjou <julien@danjou.info>
17625 * org-agenda.el (org-agenda-get-timestamps):
17626 (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17627 (org-format-agenda-item): Remove no-prefix argument.
17628 (org-agenda-change-all-lines): Call org-format-agenda-item without the
17629 no-prefix argument.
17631 2011-07-28 Julien Danjou <julien@danjou.info>
17633 * org-agenda.el (org-agenda-highlight-todo): Stop using
17635 (org-cmp-alpha): Stop using prefix-length.
17636 (org-agenda-open-link): Stop using prefix-length.
17637 (org-agenda-change-all-lines): Stop using prefix-length.
17639 * org-colview.el (org-columns-display-here): Stop using
17640 prefix-length. Always return claned items.
17642 * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17645 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17647 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17648 `org-store-link' interactively as it can confuse the setting of
17649 `org-link-to-org-use-id' and cause undue edits to the org-mode
17650 buffer during tangling.
17652 2011-07-28 David Maus <dmaus@ictsoc.de>
17654 * org-html.el (org-export-html-format-image): Protect <p> element
17657 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17659 * org.el (org-read-date-force-compatible-dates): New option.
17660 (org-read-date, org-read-date-analyze): Check representable date range.
17662 2011-07-28 Bastien Guerry <bzg@gnu.org>
17664 * org-html.el (org-export-as-html): Fix export of email.
17666 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17668 * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17669 on tangling, no longer use the now-removed variable
17670 `org-babel-tangle-pad-newline'.
17672 * ob.el (org-babel-header-arg-names): Add padline to the list of
17673 header argument names.
17674 (org-babel-default-header-args): Set the default value of padline to
17676 (org-babel-merge-params): Cleaned up the merge logic, added padline.
17678 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17680 * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17681 code block header argument names.
17683 2011-07-28 Bastien Guerry <bzg@gnu.org>
17685 * org-crypt.el: Remove useless TODO in comments.
17687 2011-07-28 Bastien Guerry <bzg@gnu.org>
17689 * org-html.el (org-export-as-html): The default postamble now only
17690 export a date paragraph if `org-export-time-stamp-file' is
17693 2011-07-28 Bastien Guerry <bzg@gnu.org>
17695 * org-exp.el (org-export-xml): Remove the defgroup of
17698 2011-07-28 Bastien Guerry <bzg@gnu.org>
17700 * org-html.el (org-export-html-insert-plist-item): Remove.
17701 (org-export-html-preamble): Default to `t'. Accept functions.
17702 (org-export-html-postamble): Default to `auto'.
17703 Accept functions and distinguish between 'auto (no formatting string)
17704 and `t' (default formatting string).
17705 (org-export-as-html): Handle org-export-html-preamble and
17706 org-export-html-postamble new defaults/allowed values.
17707 Define email and creator-info before using them.
17709 2011-07-28 Bastien Guerry <bzg@gnu.org>
17711 * org-html.el (org-export-html-protect-char-alist): Fix typo in
17712 custom type definition.
17714 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17716 * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17719 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17721 * org-list.el (org-list-parse-list): Fix regexp.
17723 2011-07-28 David Maus <dmaus@ictsoc.de>
17725 * org-html.el (org-export-html-format-image): Protect image
17728 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17730 * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17731 contents of a code block body on export.
17732 (org-babel-tangle-collect-blocks): Apply
17733 `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17735 2011-07-28 David Maus <dmaus@ictsoc.de>
17737 * org-html.el (org-html-make-link, org-html-handle-links):
17738 Protect generated XHTML elements.
17739 (org-export-as-html): Expand character entities after creating markup
17740 for links and timestamps.
17742 2011-07-28 Bastien Guerry <bzg@gnu.org>
17744 * org-html.el (org-export-as-html): Bugfix: insert email
17747 2011-07-28 Bastien Guerry <bzg@gnu.org>
17749 * org-html.el: Bugfix: prevent infinite matching of the `&'
17752 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17754 * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17755 has been introduced with emacs 23.1.
17757 2011-07-28 Bastien Guerry <bzg@gnu.org>
17759 * org-attach.el: Allow to store a link to the attach-dir location.
17761 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
17763 * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17766 2011-07-28 Bernt Hansen <bernt@norang.ca>
17768 * org-clock.el (org-clock-in): Allow clocking in new tasks
17769 inserted before the current clocking task.
17771 2011-07-28 Bernt Hansen <bernt@norang.ca>
17773 * org-clock.el (org-clock-in): Set default clocking task when
17774 already clocking the task.
17776 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17778 * org.el (org-adaptive-fill-function): When a region is specified
17779 first line of paragraph isn't skipped, so fill-paragraph have to
17780 be computed even if point is at an item.
17782 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17784 * org-list.el (org-list-in-valid-block-p): New function.
17785 (org-at-item-p, org-list-search-generic): Use new function.
17787 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17789 * org.el (org-indent-line-function): Text in both a list and a
17790 valid block is indented with regards to current item, not to block
17793 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17795 * org-html.el (org-format-org-table-html): Fix anchors in HTML
17796 export (thanks to <aankhen@gmail.com>)
17797 (org-html-protect): Fix a bug that prevents some target to be
17798 rendered correctly.
17800 2011-07-28 Bastien Guerry <bzg@gnu.org>
17802 * org.el (org-default-properties): Add EXPORT_TEXT.
17804 2011-07-28 Matt Lundin <mdl@imapmail.org>
17806 * org-footnote.el (org-footnote-create-definition)
17807 (org-insert-footnote-reference-near-definition): Fix sorting
17810 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17812 * org-html.el (org-export-as-html): Bugfix: don't insert closing
17813 HTML tags when exporting body only.
17815 2011-07-28 Jason Dunsmore <emacs-orgmode@deathroller.dunsmor.com> (tiny change)
17817 * org.el (org-back-over-empty-lines): Bugfix.
17818 Honor `org-blank-before-new-entry' correctly in various contexts.
17820 2011-07-28 Bastien Guerry <bzg@gnu.org>
17822 * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17823 and `save-restriction'.
17825 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17827 * org-timer.el (org-timer-item): `save-excursion' prevents
17828 `org-list-struct' to get the list structure when point isn't on
17829 the first line of the item.
17831 2011-07-28 Bastien Guerry <bzg@gnu.org>
17833 * org-capture.el (org-capture-templates): New option
17835 (org-capture): Use the new option.
17837 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17839 * org-list.el (org-update-checkbox-count): Ensure cookies on an
17840 heading are correctly updated when checkboxes are hidden.
17841 It allows, for example, to use C-c C-x C-b on a collapsed tree and
17842 still get the update.
17844 2011-07-28 David Maus <dmaus@ictsoc.de>
17846 * org-exp.el (org-export-visible): Accept keys for
17847 `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17849 2011-07-28 Bastien Guerry <bzg@gnu.org>
17851 * org.el (org-duration-string-to-minutes): Don't use
17854 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17856 * org.el (org-effort-durations): New variable.
17858 * org.el (org-duration-string-to-minutes): New function.
17860 * org-agenda.el (org-agenda-filter-effort-form)
17861 (org-format-agenda-item): Use it.
17863 * org-clock.el (org-clock-notify-once-if-expired)
17864 (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17866 2011-07-28 Bastien Guerry <bzg@gnu.org>
17868 * org-agenda.el (org-agenda-run-series): Rename from
17869 `org-run-agenda-series'.
17871 2011-07-28 Bastien Guerry <bzg@gnu.org>
17873 * org-capture.el: Don't allow currentfile anymore.
17875 2011-07-28 Bastien Guerry <bzg@gnu.org>
17877 * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17878 `org-agenda-current-span' when calling `org-agenda-list'.
17880 2011-07-28 Bastien Guerry <bzg@gnu.org>
17882 * org-capture.el (org-capture-put-target-region-and-position):
17883 New function to store information about the target buffer.
17884 (org-capture-set-target-location): Use it.
17885 (org-capture-finalize): Restore the target buffer in its
17886 possibly narrowed state. Also restore the cursor position.
17888 2011-07-28 Bastien Guerry <bzg@gnu.org>
17890 * org-crypt.el (auto-save-default): Make sure entries are
17891 encrypted before auto-saving.
17893 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17895 * org-inlinetask.el (org-inlinetask-promote)
17896 (org-inlinetask-demote): New functions.
17898 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17900 * org.el (org-demote-subtree, org-promote-subtree):
17901 Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17902 operating on inline tasks.
17904 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17906 * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17907 will move point to a real heading and not an inline task by
17908 wraping function into a `org-with-limited-levels' macro.
17910 2011-07-28 Bastien Guerry <bzg@gnu.org>
17912 * org-capture.el (org-capture-finalize): New argument clock-out,
17913 to tell whether finalizing the capture process should clock out
17915 (org-capture): Use the new argument.
17917 2011-07-28 Bastien Guerry <bzg@gnu.org>
17919 * org.el (org-refile-get-targets): Rename from
17920 `org-get-refile-targets'.
17922 2011-07-28 Bastien Guerry <bzg@gnu.org>
17924 * org-exp.el (org-export-table-remove-empty-lines): New custom
17926 (org-export-remove-special-table-lines): Use it.
17928 2011-07-28 Bastien Guerry <bzg@gnu.org>
17930 * org-table.el (org-table-fix-formulas-confirm): New custom
17932 (org-table-insert-column, org-table-delete-column)
17933 (org-table-move-column, org-table-move-row)
17934 (org-table-insert-row, org-table-kill-row): Use it.
17936 2011-07-28 Tassilo Horn <tassilo@member.fsf.org>
17938 * org.el (org-refile-get-location): Set and show default value.
17939 (org-goto, org-refile): Adapt calls.
17941 2011-07-28 Bastien Guerry <bzg@gnu.org>
17943 * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17945 (org-mobile-files-alist): Use it.
17947 2011-07-28 Bastien Guerry <bzg@gnu.org>
17949 * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17950 against headings outside of a narrowed buffer.
17952 2011-07-28 Bastien Guerry <bzg@gnu.org>
17954 * org.el (org-confirm-shell-link-not-regexp)
17955 (org-confirm-elisp-link-not-regexp): New custom variables.
17956 (org-open-at-point): Use the new custom variables.
17958 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17960 * org-latex.el: Place \title \author \date before
17963 2011-07-28 Bastien Guerry <bzg@gnu.org>
17965 * org-html.el (org-export-html-preamble)
17966 (org-export-html-postamble): Now default to `nil'.
17967 (org-export-as-html): When :html-pre/postamble is nil, fall
17968 back on the default pre/postamble, which depends on the
17969 :author-info, :email-info, :creator-info options.
17971 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17973 * ob-exp.el (org-babel-exp-results): Don't use cached results if
17976 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17978 * org-table.el (org-table-eval-formula): Treat relative column
17981 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17983 * org-table.el (org-table-use-standard-references): Change default
17986 2011-07-28 Bastien Guerry <bzg@gnu.org>
17988 * org.el (org-move-subtree-down): Leave the cursor at the same
17991 2011-07-28 Bastien Guerry <bzg@gnu.org>
17993 * org-attach.el (org-attach-store-link-p): New variable.
17994 (org-attach-store-link): New function.
17995 (org-attach-attach): When `org-attach-store-link-p' is
17996 non-nil, store a link in `org-stored-links' to a newly
17999 2011-07-28 Bastien Guerry <bzg@gnu.org>
18001 * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
18002 case-fold-search to avoid mixing TODO keywords with real headline
18005 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18007 * org-table.el (org-table-fedit-finish): Read more general LHS of
18009 (org-table-formula-handle-@L): New function to hanle @L references.
18010 (org-table-current-ncol): New variable.
18011 (org-table-line-to-dline): New function.
18012 (org-table-get-stored-formulas): Accept range formulas as matches.
18013 (org-table-get-specials): Compute and store the number of columns.
18014 (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
18015 only the region marked by the range, not the content.
18016 (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
18017 range targets. Also check for duplicate access to fields.
18018 (org-table-expand-lhs-ranges): New funktion.
18019 (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
18020 the caller's value.
18021 (org-table-edit-formulas): Support highlighting of range targets.
18022 (org-table-field-info): Handle renge formulas.
18024 2011-07-28 Bastien Guerry <bzg@gnu.org>
18026 * org-html.el (org-export-html-postamble-format)
18027 (org-export-html-preamble-format): Explain how to escape the
18030 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18032 * ob.el (org-babel-read): Read string variable values wrapped in
18033 double quotes, removing the quotes.
18035 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18037 * ob-exp.el (org-babel-exp-results): Ensure that processed params
18038 are send to org-babel-execute-src-block.
18040 2011-07-28 Bastien Guerry <bzg@gnu.org>
18042 * org-special-blocks.el
18043 (org-special-blocks-make-special-cookies):
18044 Use `org-export-current-backend'.
18046 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18048 * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
18050 (org-babel-exp-src-block): Explicitly pass language to
18051 `org-babel-exp-in-export-file'.
18052 (org-babel-exp-inline-src-blocks): Remove unused code.
18053 (org-babel-exp-results): Explicitly pass language to
18054 `org-babel-exp-in-export-file'.
18056 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18058 * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
18059 returned from calc-eval.
18061 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18063 * ob.el (org-babel-read): Pass elisp vectors through to code
18066 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18068 * ob.el (org-src-lang-modes): Defvar.
18069 (org-at-item-p): Declare function.
18071 * ob-calc.el (calc-store): Require.
18072 (var-syms): Defvar.
18074 * ob-python.el (py-default-interpreter): Defvar.
18076 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18078 * org-exp-blocks.el (backend): defvar.
18080 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18082 * org-agenda.el (org-agenda-get-scheduled):
18083 (org-agenda-get-timestamps): Bind local variable `show-all'.
18085 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18087 * ob-ref.el (org-at-item-p): Declare function.
18089 * org-agenda.el (diary-time-regexp): defvar.
18091 * org-archive.el (org-archive-subtree): Bind local variable
18094 * org-capture.el (org-capture-insert-template-here): Get template
18095 text from property list, to avoid byte compiler message.
18097 * org-latex.el (org-export-latex-tables): Bind local variable
18100 * org-special-blocks.el (org-compat): Add require statement.
18102 * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
18105 * org.el (org-eval): Move function here from org-agenda.el.
18107 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18109 * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
18110 when reading from tables.
18111 (org-babel-read-list): Inhibit lisp evaluation of values when
18112 reading from lists.
18113 (org-babel-read): Add optional argument which can be used to inhibit
18114 lisp evaluation of value.
18116 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18118 * ob-table.el (sbe): Ensure that ob-trim is only called on
18121 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18123 * ob-exp.el (org-babel-exp-results): On export, ensure that the
18124 result hash is resolved in the original org-mode file.
18126 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18128 * org-exp.el (org-export-mark-list-end): Change end marker.
18130 * org-docbook.el (org-export-docbook-list-line): Use new marker.
18132 * org-html.el (org-html-export-list-line): Use new marker.
18134 * org-latex.el (org-export-latex-lists): Use new marker.
18136 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18138 * org-latex.el (org-export-latex-lists): Make sure markers used
18139 for export are taken into account by temporarily setting an
18140 appropriate value for `org-list-ending-method'.
18142 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18144 * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
18145 regexp into its own variable, also allowing match of empty bodies.
18146 (org-export-blocks-preprocess): Using new regexp variable.
18148 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18150 * ob.el (org-babel-src-block-regexp): Code block regexp now
18151 matches blocks with empty bodies.
18153 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18155 * ob.el (org-babel-script-escape): If script escaped value doesn't
18156 parse cleanly, then return it literally.
18158 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18160 * ob-exp.el (org-babel-exp-src-block): When block will eventually
18161 be evaluated, pre-calculate the hash before noweb expansion, and
18162 expand the parameters before hash calculation.
18163 (org-babel-exp-do-export): Pass pre-calculated hash through to
18164 `org-babel-exp-results'.
18165 (org-babel-exp-results): Compare pre-calculated hash to results hash.
18167 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18169 * ob.el (org-babel-sha1-hash): Sort list values to header
18170 arguments, and sort the words in strings.
18172 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18174 * ob-ref.el (org-babel-ref-index-list): Special handling of hline
18177 2011-07-28 Julien Danjou <julien@danjou.info>
18179 * org-macs.el (org-with-point-at): Store evaluated version of
18180 pom. This fixes a potential bug when using (org-with-point-at
18181 (func) …), where (func) would be evaluated multiple times,
18182 therefore might return different results if a marker was returned
18183 and different each time.
18185 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18187 * org.el (org-open-at-point): If a link to a radio target is the
18188 first, (resp. the last), element of a buffer, function cannot find
18189 the property change required to get its boundaries, and
18190 `buffer-substring' is called with an invalid nil argument.
18192 2011-07-28 Bastien Guerry <bzg@gnu.org>
18194 * org-table.el (org-table-copy-down): Fix docstring.
18196 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18198 * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
18199 and for file types other than png and PDF it uses imagemagick to
18200 convert a compiled PDF file to the desired file type.
18201 (convert-pdf): Convert a PDF file to a new file type using
18204 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
18206 * org-capture.el (org-capture-fill-template): Fix bug with the
18207 display of interactive prompt in templates expansion.
18209 2011-07-28 Reiner Steib <reiner.steib@gmx.de>
18211 * org-clock.el (org-clock-display): Document how to remove subtree
18214 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18216 * org-exp-blocks.el (org-export-blocks-format-comment):
18217 Explicitly append a newline to the body.
18219 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18221 * org-list.el (org-list-insert-item): When computing size of item
18222 being inserted, function has to take into account that indentation
18223 may not only be made of spaces.
18225 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18227 * org-clock.el (org-clock-find-position): If a list was adjacent
18228 to some clocks and a drawer was going to be created, only the
18229 first element of the list would make it into the drawer.
18231 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18233 * org-list.el (org-toggle-checkbox): Fix bug where top item in
18234 list was omitted when checking boxes.
18236 2011-07-28 Dan Davison <dandavison7@gmail.com>
18238 * ob-R.el: Don't print result to echo area after evaluation.
18240 2011-07-28 Bastien Guerry <bzg@gnu.org>
18242 * org-capture.el (org-capture-refile): Fix typo in docstring.
18244 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18246 * ob-calc.el (org-babel-execute:calc): Call out to new function
18247 for variables resolution.
18248 (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
18249 variables in calc expressions.
18251 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18253 * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
18254 (org-babel-C++-compiler): Replace "c++" with "C++".
18255 (org-babel-execute:cpp): Replace "c" with "C++".
18256 (org-babel-execute:C++): Replace "c" with "C++".
18257 (org-babel-expand-body:C++): Replace "c" with "C++".
18258 (org-babel-C-execute): Replace "c" with "C++".
18260 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18262 * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
18263 a list if at the *beginning* of a list item.
18265 * ob.el (org-babel-read-result): Only try to read results as a
18266 list if at the *beginning* of a list item.
18268 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18270 * org-list.el (org-cycle-item-indentation): Do not break an
18271 indentation cycle because visibility cycling is requested.
18272 This happens when an item becomes a parent, due to indentation change.
18273 Not considered empty anymore, the function cannot change its
18276 2011-07-28 Bastien Guerry <bzg@gnu.org>
18278 * org-clock.el (org-clocktable-write-default): Bugfix: falls back
18279 on `org-export-default-language' when no :lang parameter is set.
18281 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18283 * org-capture.el (org-capture-expand-file): New function.
18284 (org-capture-target-buffer):
18285 (org-capture-set-target-location): Use `org-capture-expand-file'.
18287 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18289 * ob.el (org-babel-read-list): Reading the value of a list has
18290 been updated to reflect the new structure of org-mode lists in
18292 (org-babel-insert-result): Writing code block results to lists has
18293 been updated to reflect the new list structure.
18294 (org-babel-result-end): Remove a previous change to end-of-list
18297 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18299 * org-list.el (org-cycle-item-indentation): Each time the function
18300 moves item back to child position, a white space is added to the
18303 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18305 * ob.el (org-babel-process-params): Allow elisp code in
18306 specification of results header arguments.
18308 2011-07-28 Bastien Guerry <bzg@gnu.org>
18310 * org-agenda.el (org-agenda-append-agenda): New command.
18311 (org-agenda-mode-map): New keybinding to this new command.
18313 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18315 * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
18316 cursor it at very first item of the list, as specified in the
18317 manual. Also refactored the list part of the function a bit.
18319 2011-07-28 Bastien Guerry <bzg@gnu.org>
18321 * org-agenda.el (org-agenda): Set the 'last-args property to nil
18322 when calling `org-agenda'. Don't kill the local variable
18323 `org-agenda-current-span'.
18324 (org-run-agenda-series): Use the new property 'last-args.
18325 (org-agenda-change-time-span): Use the dynamically set
18326 `org-agenda-overriding-arguments' variable when non-nil.
18328 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18330 * ob.el (org-babel-result-end): Adjust marker of list end to
18331 changes in the list format.
18333 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18335 * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
18336 No need to wrap `org-entry-get' in `ignore-errors'.
18338 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18340 * org.el (org-toggle-item, org-toggle-heading): Make sure every
18341 sub-item in a list is changed into a sub-heading and sub-headings
18342 are translated into sub-items. Also ignore inline tasks in the
18345 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18347 * org-exp.el (org-export-select-backend-specific-text):
18348 Add `original-indentation' property when replacing #+begin_backend and
18349 #+backend blocks with their content. This is needed for lists, as
18350 they must know if the block belonged to them.
18352 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18354 * org-html.el (org-html-export-list-line): Insert a newline
18355 character before ending an item, as anchor could be on a line
18356 going to be deleted, like a drawer ending string.
18358 * org-list.el (org-list-to-html): Same.
18360 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18362 * org.el (org-set-autofill-regexps): Use `org-item-re' in
18363 `paragraph-start' to recognize alphabetical lists.
18364 (org-fill-paragraph): Enforce a pre-computed fill-prefix before
18365 calling `fill-paragraph' when point is in an item. Also prevent
18366 paragraphs getting merged into an adjacent list upon filling.
18367 (org-adaptive-fill-function): Make sure to determine real
18368 fill-prefix for auto-fill.
18369 (org-auto-fill-function): Use a pre-computed fill-prefix before
18370 calling `do-auto-fill'.
18372 * org-list.el (org-list-item-body-column): New function.
18374 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18376 * org-inlinetask.el (org-inlinetask-at-task-p)
18377 (org-inlinetask-toggle-visibility): New functions.
18379 * org-list.el (org-list-set-item-visibility): New function.
18381 * org.el (org-cycle, org-cycle-internal-local): Separate lists and
18382 inline tasks from headlines.
18383 (org-outline-level): Do not consider lists as headlines.
18384 Cycling visibility is using different tools.
18386 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18388 * org-list.el (org-list-struct): Mark items less indented than top
18389 item of the list, so that they will be modified.
18390 (org-list-struct-apply-struct): Compare struct's indentation with
18391 line's indentation instead of old-struct's. This is needed
18392 because `org-list-struct' automatically fixes indentation so
18393 changes might not be seen otherwise.
18395 * org.el (org-ctrl-c-ctrl-c): Small refactoring.
18397 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18399 * org-list.el (org-update-checkbox-count): When a part of the
18400 buffer is processed to count checkboxes, lists are read from top
18401 to bottom, but inside lists (in drawers, blocks, or inline tasks)
18402 are skipped. Thus, cookies cannot be updated. This patch
18403 enforces reading of such lists if counter is itself in a special
18406 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18408 * org-list.el (org-list-struct-apply-struct): Inline tasks along
18409 with their content must stay at column 0 even if the item is
18410 gaining indentation. Moreover, fix indentation of text in an
18411 inline task, now it can be in such a task within a list.
18413 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18415 * org-list.el (org-at-item-p): Also verify context is valid.
18416 Otherwise it would recognize valid items where `org-in-item-p'
18418 (org-in-item-p, org-list-struct-apply-struct): Use shorter version
18420 (org-cycle-list-bullet): Fix typo.
18421 (org-list-parse-list): Avoid calling `org-at-item-p' two times by
18422 using an appropriate regexp.
18424 * org.el (org-indent-line-function): Use an appropriate regexp
18425 instead of calling `org-at-item-p' two times.
18427 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18429 * org-list.el (org-in-item-p): When point was just after
18430 org-list-end-re, check wouldn't be done for starting line. So, if
18431 the first line was an item, it wouln't be noticed and function
18432 would return nil. Simplify and comment code.
18434 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18436 * org.el (org-toggle-item): When used on normal text, ensure every
18437 line in region is included in the new item, regardless of its
18438 original indentation.
18440 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18442 * org-list.el (org-list-struct-apply-struct): If end of list was
18443 at eol, for example, with list inside a block, the last list
18444 wouldn't be shifted. Thus, the patch ensures no blank lines is
18447 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18449 * org.el (org-toggle-item): Now accepts a prefix argument.
18450 When used without argument on normal text, it will make the whole
18451 region one item. With an argument, it defaults to old behavior:
18452 change each line in region into an item.
18454 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18456 * org.el (org-return): When called from inside an item with the
18457 indent flag, function should keep text moved inside the item.
18458 This allows to use C-j to separate lines in an item: cursor won't
18459 go back to column 0.
18461 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18463 * org-list.el (org-list-struct): When a line has org-example
18464 property, skip the entire block. This is needed during export,
18465 for example when src blocks in org markup contain lists, and are
18466 returned verbatim because org isn't in the list of interpreted
18469 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18471 * org-list.el (org-in-item-p): Handle special cases when function
18472 is called with cursor amidst `org-list-end-re' or at an inline
18475 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18477 * ob.el (org-babel-result-end): Apply renaming.
18479 * org-exp.el (org-export-mark-list-properties): Apply renaming.
18481 * org-list.el (org-list-prevs-alist): Rename from
18482 `org-list-struct-prev-alist'.
18483 (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
18484 (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
18485 (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
18486 (org-toggle-checkbox, org-update-checkbox-count)
18487 (org-cycle-list-bullet, org-list-repair, org-insert-item)
18488 (org-move-item-up, org-move-item-up, org-move-item-down)
18489 (org-next-item, org-previous-item, org-end-of-item-list)
18490 (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
18491 (org-get-bullet): Remove function, as it is not needed anymore.
18493 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18495 * org-list.el (org-list-insert-item-generic): Change arguments.
18496 The function now accepts structure and previous items alist.
18497 This allows to insert an item programmatically more easily.
18498 (org-insert-item): Apply changes to
18499 `org-list-insert-item-generic'. The function now takes care about
18500 repairing structure and updating checkboxes.
18502 * org-timer.el (org-timer-item): Apply changes to
18503 `org-list-insert-item-generic'. The function now takes care about
18504 repairing structure.
18506 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18508 * org-list.el (org-list-make-subtree): Function now uses
18509 `org-list-parse-list mechanism'.
18510 (org-list-make-subtrees): Remove function.
18511 (org-list-to-generic): Add a parameter and every parameter can
18512 be a sexp returning a string, for finer control.
18513 (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
18514 Slight modifications to apply changes to `org-list-to-generic'.
18515 (org-list-to-subtree): New function.
18517 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18519 * org.el (org-beginning-of-line): Apply changes to
18520 `org-item-beginning-re' to correct sub-expression reference.
18522 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18524 * org-docbook.el (org-export-docbook-list-line): Even with
18525 alphabetical lists, Org shouldn't enforce a particular list type
18526 to exporters. This is a job for style files.
18528 * org-html.el (org-html-export-list-line): Ib idem.
18530 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18532 * org-list.el (org-at-item-counter-p): New function.
18533 (org-list-parse-list): Handle counters and list depth.
18534 (org-list-to-generic): A special string is used when an item has a
18536 (org-list-to-latex): Use new special string for counters.
18537 This fixes the counter bug in LaTeX export, as the enumi counter was
18538 the only one modified.
18540 * org-latex.el (org-export-latex-lists): Use new
18541 `org-list-parse-list' output.
18543 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18545 * org-list.el (org-list-get-list-type): New function.
18546 (org-list-parse-list): Use new function.
18548 * org-html.el (org-html-export-list-line): Use new function.
18550 * org-docbook.el (org-export-docbook-list-line): Use new function.
18552 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18554 * org-list.el (org-alphabetical-lists): New variable
18555 (org-item-re, org-list-full-item, org-cycle-list-bullet)
18556 (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
18557 Reflect introduction of the new variable.
18558 (org-item-beginning-re): Change into a function, so any
18559 modification of `org-alphabetical-lists' will not require
18561 (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
18562 (org-list-parse-list, org-list-send-list): Reflect changes to
18563 `org-item-beginning-re'.
18564 (org-list-use-alpha-bul-p): New function.
18566 * org.el (org-check-for-hidden): Reflect changes to
18567 `org-item-beginning-re'.
18569 * org-capture.el (org-capture-place-item): Reflect changes to
18570 `org-item-beginning-re'.
18572 * org-docbook.el (org-export-docbook-list-line): Handle New type
18575 * org-exp.el (org-export-mark-list-end)
18576 (org-export-mark-list-properties): Reflect changes to
18577 `org-item-beginning-re'.
18579 * org-html.el (org-html-export-list-line): Handle new type of
18582 * org-latex.el (org-export-latex-lists): Handle new type of items
18583 and reflect changes to `org-item-beginning-re'.
18585 * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
18587 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18589 * org-list.el (org-list-end-re): Remove function and made it a
18590 variable. There's no need for the overhead of calling the
18591 function every at every line in a list. User will have to reload
18592 Org if he change value of either `org-list-end-regexp' or
18593 `org-empty-line-terminates-plain-lists'.
18594 (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
18596 * org-exp.el (org-export-mark-list-end)
18597 (org-export-mark-list-properties): Apply change.
18599 * org-latex.el (org-export-latex-lists): Apply change.
18600 Also prevent items with org-example property to be considered as real
18603 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18605 * org-inlinetask.el (org-inlinetask-export-templates): Slightly
18606 modify templates so environment boundaries don't interfere with
18607 content of task. Unprotect content of task so it might benefit
18608 from further transformations. Set original-indentation property to
18609 a high value to ensure that task is always in the last item of the
18610 list. Also, apply templates later in export process.
18612 * org-list.el (org-list-struct): Fix inline task skipping.
18614 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18616 * org-latex.el (org-export-latex-lists): Search for unprotected
18617 items only, and redefine `org-at-item'. This change is required
18618 when verbatim lists are inserted during export, usually by Babel.
18620 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18622 * ob.el (org-babel-result-end): End position is end of current
18623 sublist instead of bottom point, as results might be inserted in a
18626 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18628 * org-list.el (org-list-automatic-rules): Remove insert rule.
18629 (org-list-insert-item-generic): Remove code preventing user to
18630 insert another item in a block within a list. It is because new
18631 list context make it impossible to see if a point in a block is
18634 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18636 * org-exp.el (org-export-preprocess-string): Mark list endings
18637 before babel blocks preprocessing starts, so blank lines that may
18638 be inserted do not break list's structure. Then, mark list with
18639 special properties required by exporters. Thus output from babel
18640 can easily be included in lists.
18641 (org-export-mark-list-end): New function.
18642 (org-export-mark-list-properties): New function.
18643 (org-export-mark-lists): Remove function. It was split into the
18644 two preceding functions.
18646 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18648 * org-list.el (org-update-checkbox-count): Do not recompute every
18649 list before next heading when there are more than one cookie in an
18650 headline. Moreover, ignore the case where cookie is inserted
18651 neither at an heading nor at an item.
18653 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18655 * org-list.el (org-sort-list): Fix number of arguments to
18656 `org-list-repair', plus make `end-record' go to end of item before
18657 any blank line to keep them from being swallowed in the sorting.
18659 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18661 * org-list.el (org-list-forbidden-blocks): Rename from
18663 (org-list-export-context): New variable.
18665 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18667 * org-list.el (org-list-search-generic): Rename form
18668 `org-search-unenclosed-generic' to reflect the new behavior. Now,
18669 match can only be in a valid context for lists, as determined by
18670 `org-list-context'.
18671 (org-list-search-backward): Rename from
18672 `org-search-backward-unenclosed'.
18673 (org-list-search-forward): Rename from
18674 `org-search-forward-unenclosed'.
18675 (org-toggle-checkbox, org-update-checkbox-count): Use new
18677 (org-sort-list): Using default regexp search functions as context
18678 is not required in this case.
18680 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18682 * org-exp.el (org-export-mark-lists): New function, replacing
18683 org-export-mark-list-ending. It adds information as text
18684 properties to every list, before changes done by exporter destruct
18687 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18689 * org-list.el (org-list-get-first-item): New alias for
18690 `org-list-get-list-begin'.
18691 (org-list-get-last-item): New function.
18692 (org-list-get-list-end): Use `org-list-get-last-item'.
18694 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18696 * org.el (org-get-string-indentation): Move in generally useful
18697 functions section, as it wasn't specific to plain lists and that
18698 no code was using it in org-list.el.
18700 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18702 * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18705 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18707 * org-list.el (org-list-indent-item-generic): Remove error
18708 messages happening before process. This belongs to interactive
18710 (org-indent-item, org-indent-item-tree)
18711 (org-outdent-item, org-outdent-item-tree): Ensure point or region
18712 is correct before computing list structure. Return an error
18715 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18717 * org-list.el (org-apply-on-list): Use new structures.
18718 Function is now applied in reverse order so modifications do not change
18719 positions of items in buffer.
18721 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18723 * org-list.el (org-list-parse-list): Rewrite of function to allow
18724 text following a sub-list in the same item. See docstring for an
18726 (org-list-to-generic): Use new parsing function.
18727 (org-list-to-latex, org-list-to-html): Minor change for clearer
18730 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18732 * org-list.el (org-list-has-child-p): Rename from
18733 `org-list-get-child'. Returning first child is only useful as a
18734 predicate, as we are allowing an item to have more than one
18736 (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18737 of org-list-get-child.
18738 (org-in-item-p): Also return item beginning when list starts at
18740 (org-list-get-parent): Use of `org-list-struct-parent-alist'
18741 helper function is not optional anymore.
18742 (org-list-get-all-items): Shorten code with the help of cl.el.
18743 (org-list-get-children): Now returns all children of item, even if
18744 they do not belong to the same list. Renamed from
18745 `org-list-get-all-children'.
18746 (org-list-get-list-begin): Function wasn't return value when item
18747 was already the first item of the list at point.
18748 (org-list-get-list-end): Function wasn't return value when item
18749 was already the last item of the list at point.
18750 (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18751 `org-list-get-children'.
18753 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18755 * org.el (org-indent-line-function): Indentation of item's body
18756 starts just after the bullet, not after a checkbox. Moreover, As
18757 `org-in-item-p' also returns item beginning position when point is
18758 in a list, do not compute it a second time.
18760 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18762 * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18763 usage `org-repair-list', forcing another reading of the list, with
18764 only needed subroutines.
18766 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18768 * org-list.el (org-list-separating-blank-lines-number): Use new
18770 (org-list-insert-item-generic): Use list structures to insert a
18772 (org-list-exchange-items): Refactor and comment code. Now return
18773 new struct instead of modifying it, as list sorting would
18774 sometimes eat first item.
18775 (org-move-item-down, org-move-item-up): Reflect changes to
18776 `org-list-exchange-items'.
18777 (org-insert-item): As `org-in-item-p' also computes item beginning
18778 when applicable, reuse the result.
18780 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18782 * org-list.el (org-list-in-item-p): Unify methods for this
18784 (org-list-in-item-p-with-indent): Remove function.
18785 (org-list-ending-between): Remove function.
18786 (org-list-maybe-skip-block): Remove function.
18787 (org-list-in-item-p-with-regexp): Remove function.
18788 (org-list-top-point-with-regexp): Remove function.
18789 (org-list-top-point-with-indent): Remove function.
18790 (org-list-bottom-point-with-indent): Remove function.
18791 (org-list-bottom-point-with-regexp): Remove function.
18792 (org-list-get-item-same-level): Remove function.
18793 (org-list-top-point): Remove function.
18794 (org-list-bottom-point): Remove function.
18795 (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18796 be consistent with naming policy of non-interactive functions.
18797 (org-get-beginning-of-list): Remove function.
18798 (org-beginning-of-item-list): Use new accessors.
18799 (org-get-end-of-list): Remove function.
18800 (org-end-of-list): Use new accessors.
18801 (org-get-end-of-item): Remove function.
18802 (org-end-of-item): Use new accessors.
18803 (org-get-previous-item): Remove function.
18804 (org-previous-item): Use new accessors.
18805 (org-get-next-item): Remove function.
18806 (org-next-item): Use new accessors.
18807 (org-list-get-item-end-before-blank): Use new accessors.
18809 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18811 * org-list.el (org-list-repair): Remove optional argument
18812 FORCE-BULLET. The job of this interactive function is to
18813 completely fix a list at point. Changing bullets is a separate
18814 task. Also removed others optional arguments TOP and BOTTOM to
18815 follow the new structures.
18816 (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18817 STRUCT is a new required argument. This avoids computing a list
18818 structure many times when function is called more than once in a
18819 row, for example in `org-cycle-item-indentation'. Use new
18820 accessors. Now, also call `org-update-checkbox-count-maybe'.
18821 (org-outdent-item, org-indent-item, org-outdent-item-tree)
18822 (org-indent-item-tree): Remove need for TOP and BOTTOM.
18823 (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18824 (org-list-exchange-items): Use new accessors. Now modify struct
18825 to avoid re-reading it later.
18826 (org-move-item-down): Reflect changes to `org-list-repair'.
18828 (org-move-item-up): Reflect changes to `org-list-repair'. Use new
18830 (org-cycle-list-bullet): Use new structures. Also use a shortcut
18831 to `org-list-struct-fix-struct' in order to avoid unnecessary
18832 fixes, like `org-list-struct-fix-box'
18833 (org-sort-list): Use of new structures. Renamed an internal
18834 function for a little more clarity.
18835 (org-cycle-item-indentation): Remove dependency on
18836 `org-list-repair'. Use new accessors.
18837 (org-list-get-child): Correct bug when asking for the child of the
18839 (org-list-exchange-items): Use new accessors.
18841 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18843 * org-list.el (org-list-blocks): New variable.
18844 (org-list-context): New function.
18845 (org-list-full-item-re): New variable.
18846 (org-list-struct-assoc-at-point): Use new variable.
18847 (org-list-struct): Rewrite of function. Now, list data is
18848 collected by looking at the list line after line. It reads the
18849 whole list each time because reading only a subtree was not enough
18850 for some operations, like fixing checkboxes. It also removes the
18851 need to get `org-list-top-point' and `org-list-bottom-point'
18852 first. An added data is the position of item ending. This aims
18853 to be able to have list followed by text inside an item.
18854 (org-list-struct-assoc-end): New function.
18855 (org-list-struct-parent-alist): New function.
18856 (org-list-get-parent): New function.
18857 (org-list-get-child): New function.
18858 (org-list-get-next-item): New function.
18859 (org-list-get-prev-item): New function.
18860 (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18861 (org-list-get-all-items): New function.
18862 (org-list-get-all-children): New function.
18863 (org-list-get-top-point): New function.
18864 (org-list-get-bottom-point): New function.
18865 (org-list-get-counter): New function.
18866 (org-list-get-item-end): New function.
18867 (org-list-struct-fix-bul): Rewrite for cleaner code. Make use of
18869 (org-list-struct-fix-ind): Make use of new accessors.
18870 (org-list-struct-fix-box): New function.
18871 (org-list-struct-fix-checkboxes): Remove function.
18872 (org-list-struct-outdent): Use new accessors. Use the fact that
18873 there is no longer a virtual item at beginning of structure.
18874 (org-list-struct-indent): Use helper functions
18875 `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18876 Also use new accessors.
18877 (org-list-struct-fix-struct): Comment function. Call directly
18878 `org-list-struct-apply-struct', without removing unchanged items
18880 (org-list-struct-apply-struct): Comment function. Rewrite using
18881 new accessors. Use new variable `org-list-full-item-re'.
18882 (org-list-shift-item-indentation): Remove function, now included
18883 in `org-list-struct-apply-struct' because it is too specific.
18885 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18887 * org-list.el (org-toggle-checkbox): Use structures to fix
18888 checkboxes of a list.
18889 (org-update-checkbox-count): Use structures to update cookies.
18891 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18893 * org-list.el (org-list-struct-fix-checkboxes): New function.
18894 (org-checkbox-blocked-p): Remove function.
18896 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18898 * org-list.el (org-list-get-all-items): New function.
18899 (org-list-get-all-children): New function.
18900 (org-list-get-nth): New function.
18901 (org-list-set-nth): New function.
18902 (org-list-get-ind): New function.
18903 (org-list-set-ind): New function.
18904 (org-list-get-bullet): New function.
18905 (org-list-set-bullet): New function.
18906 (org-list-get-checkbox): New function.
18907 (org-list-set-checkbox): New function.
18908 (org-list-struct-fix-bul): Use new accessors.
18909 (org-list-repair): Use new accessors.
18910 (org-list-indent-item-generic): Make use of accessors.
18911 (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18912 (org-list-get-child): Rename from `org-list-struct-get-child'.
18913 (org-list-struct-fix-ind): Make use of accessors.
18914 (org-list-get-next-item): New function.
18915 (org-list-get-subtree): New function.
18917 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18919 * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18922 * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18923 value in structure.
18925 * org-list.el (org-list-struct-apply-struct): Also apply
18928 2011-07-28 Bastien Guerry <bzg@gnu.org>
18930 * org-latex.el (org-export-latex-content): Bind local variables
18931 for export in the temporary export buffer.
18933 2011-07-28 David Maus <dmaus@ictsoc.de>
18935 * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18936 (org-protocol-unhex-string, org-protocol-unhex-compound):
18937 Change date of obsolete declaration to 2011-02-17.
18939 2011-07-28 David Maus <dmaus@ictsoc.de>
18941 * org.el (org-link-escape): Throw error if encoding character in
18944 2011-07-28 David Maus <dmaus@ictsoc.de>
18946 * org-protocol.el (org-protocol-split-data)
18947 (org-protocol-open-source): Use `org-link-unescape' instead of
18948 obsolete unhex string function.
18950 2011-07-28 David Maus <dmaus@ictsoc.de>
18952 * org.el (org-link-escape, org-link-escape-chars-browser)
18953 (org-link-escape-chars): Always percent escape the percent sign.
18955 2011-07-28 David Maus <dmaus@ictsoc.de>
18957 * org.el (org-link-unescape): Simpler algorithm for replacing
18959 (org-link-unescape-compound): Use cond statements instead of nested
18960 if, convert hex string with string-to-number, save match data.
18961 (org-link-unescape-single-byte-sequence): Use mapconcat and
18962 string-to-number for unescaping single byte sequence.
18964 2011-07-28 David Maus <dmaus@ictsoc.de>
18966 * org.el (org-link-escape): Rename lambda argument.
18968 2011-07-28 David Maus <dmaus@ictsoc.de>
18970 * org.el (org-link-escape-chars-browser, org-link-escape-chars):
18971 Add percent sign to list of escape chars.
18973 2011-07-28 David Maus <dmaus@ictsoc.de>
18975 * org-mobile.el (org-mobile-escape-olp): Use new percent escape
18976 character table format.
18978 2011-07-28 David Maus <dmaus@ictsoc.de>
18980 * org-mobile.el (org-mobile-locate-entry): Remove obsolete
18981 argument in call to org-link-unescape.
18983 2011-07-28 David Maus <dmaus@ictsoc.de>
18985 * org-protocol.el (org-protocol-unhex-string)
18986 (org-protocol-unhex-compound)
18987 (org-protocol-unhex-single-byte-sequence): Declare obsolete and
18988 alias to respective org-link-unescape-* functions.
18990 2011-07-28 David Maus <dmaus@ictsoc.de>
18992 * org.el (org-link-unescape, org-link-unescape-compound)
18993 (org-link-unescape-single-byte-sequence): Functions moved and renamed
18994 from org-protocol.el.
18996 2011-07-28 David Maus <dmaus@ictsoc.de>
18998 * org-macs.el (org-char-to-string): Inline function to properly
18999 decode utf8 characters in Emacs 22. Moved and renamed from
19002 2011-07-28 David Maus <dmaus@ictsoc.de>
19004 * org.el (org-link-escape): New optional argument. Merge user
19005 table with default table.
19007 2011-07-28 David Maus <dmaus@ictsoc.de>
19009 * org.el (org-link-escape): Fixup doc string.
19011 2011-07-28 David Maus <dmaus@ictsoc.de>
19013 * org.el (org-link-escape-chars, org-link-escape-chars-browser):
19014 New format of percent escape table.
19015 (org-link-escape): Use new table format.
19017 2011-07-28 David Maus <dmaus@ictsoc.de>
19019 * org.el (org-link-escape): New Unicode aware percent encoding
19022 2011-07-28 Sebastian Rose <sebastian_rose@gmx.de>
19024 * org-protocol.el (org-protocol-unhex-single-byte-sequence):
19025 New function. Decode hex-encoded singly byte sequences.
19026 (org-protocol-unhex-compound): Use new function if decoding sequence
19027 as Unicode character failed.
19029 2011-07-28 Bastien Guerry <bzg@gnu.org>
19031 * org-html.el (org-export-as-html): Expand the HTML title.
19033 2011-07-28 Bastien Guerry <bzg@gnu.org>
19035 * org-publish.el (org-publish-cache-ctime-of-src):
19037 (org-publish-find-title): New option to explicitly reset the title
19039 (org-publish-format-file-entry): Use this new option.
19041 2011-07-28 Dan Davison <dandavison7@gmail.com>
19043 * org-exp.el (org-export-preprocess-string): Set the source buffer
19044 and use `org-clone-local-variables' to get local variables from
19047 2011-07-28 Dan Davison <dandavison7@gmail.com>
19049 * org-exp.el (org-export-format-source-code-or-example):
19050 Allow empty string as second element in minted/listings options.
19052 2011-07-28 Dan Davison <dandavison7@gmail.com>
19054 * org-exp.el (org-export-format-source-code-or-example):
19055 Support new user-customizable options.
19056 (org-export-latex-custom-lang-environments): Ensure new variable
19058 (org-export-latex-listings-options): Ensure new variable is defined.
19059 (org-export-latex-minted-options): Ensure new variable is defined.
19061 2011-07-28 Bastien Guerry <bzg@gnu.org>
19063 * org-html.el (org-export-as-html): Handle the case when
19064 `org-export-html-validation-link' is nil to keep backward
19065 compatible with the old default value of this variable.
19067 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19069 * ob.el (org-babel-insert-result): Don't choke if indent is not a
19072 2011-07-28 Christian Moe <mail@christianmoe.com> (tiny change)
19074 * org-bbdb.el (org-bbdb-export): When a link description has been
19075 added by `org-export-normalize-links', use path instead (remove
19076 the `bbdb:' prefix).
19078 2011-07-28 Bastien Guerry <bzg@gnu.org>
19080 * org-ascii.el (org-export-ascii-underline): Put the level's
19081 characters in the right order, as documented by the docstring.
19082 (org-ascii-level-start): Select the right char for underlining
19085 2011-07-28 Bastien Guerry <bzg@gnu.org>
19087 * org-src.el (org-edit-src-code): Allow to edit source code from
19088 modes derived from Org.
19090 2011-07-28 Niels Giesen <niels.giesen@gmail.com>
19092 * org-clock.el (org-clock-clocktable-language-setup): Add list of
19095 2011-07-28 Dan Davison <dandavison7@gmail.com>
19097 * org-beamer.el: Mark frame as fragile when it is using minted for
19100 2011-07-28 Bastien Guerry <bzg@gnu.org>
19102 * org-agenda.el (org-agenda-date-later)
19103 (org-agenda-date-earlier): Enhance docstrings.
19104 (org-agenda-bulk-mark-regexp): Only match against headlines.
19105 Send a message when no entry is marked.
19106 (org-agenda-bulk-action): Fix bug about scattering deadlines.
19107 Send an error when trying to scatter outside an agenda or a
19108 timeline view. Silently fail when trying to scatter sexp entries.
19110 2011-07-28 Bastien Guerry <bzg@gnu.org>
19112 * org-clock.el (org-clock-clocktable-language-setup): New custom
19114 (org-clocktable-defaults): Set the default language.
19115 (org-clocktable-write-default): Use the new variable.
19117 2011-07-28 Dan Davison <dandavison7@gmail.com>
19119 * ob.el (org-babel-src-block-names): Don't strip text properties
19121 (org-babel-result-names): Don't strip text properties from search
19124 2011-07-28 Dan Davison <dandavison7@gmail.com>
19126 * ob-python.el (org-babel-python-evaluate-session): Pass nil as
19127 remove-echo part of META argument to
19128 `org-babel-comint-with-output'.
19130 2011-07-28 Dan Davison <dandavison7@gmail.com>
19132 * ob.el (org-babel-script-escape): Use `substring' comparison
19133 instead of regexp matching.
19135 2011-07-28 Dan Davison <dandavison7@gmail.com>
19137 * org-src.el (org-edit-src-code): When generating the code edit
19138 buffer, it is necessary for several variables to inherit their
19139 values from the parent org buffer. These changes collect all such
19140 variables together into a single association list of
19141 `(variable-name value)' pairs. In addition, a new variable is
19142 added to the list: `org-edit-src-content-indentation'. This has
19143 the effect that a buffer local value can be used for that
19146 2011-07-28 Dan Davison <dandavison7@gmail.com>
19148 * ob-table.el (sbe): Don't truncate sbe results.
19150 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19152 * org-exp.el (org-export-add-options-to-plist): Require match to
19153 start at a word-boundary.
19155 2011-07-28 Bastien Guerry <bzg@gnu.org>
19157 * org-latex.el (org-export-latex-hyperref-format):
19160 2011-07-28 Tom Dye <tsd@tsdye.com>
19162 * org.el: Update documentation of `org-add-link-type'.
19164 2011-07-28 Dan Davison <dandavison7@gmail.com>
19166 * org.el (org-open-at-point): Fix bug when using prefix arg to
19167 construct `org-link-search' call. Rename prefix arg with a more
19168 generic name, to reflect its diverse uses in this function.
19170 2011-07-28 Rémi Vanicat <vanicat@debian.org>
19172 * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
19173 (org-icalendar-date-time-format): New custom variable.
19174 (org-icalendar-use-UTC-date-timep): New function.
19175 (org-ical-ts-to-string): Use the new variable.
19177 2011-07-28 Bastien Guerry <bzg@gnu.org>
19179 * org-vm.el (org-vm-store-link): Make sure the buffer is
19180 associated with a file when trying to store an Org link.
19182 2011-07-28 Dan Davison <dandavison7@gmail.com>
19184 * ob.el (org-babel-params-from-properties): Test for
19185 "header-arg-name" and ":header-arg-name", in that order.
19187 2011-07-28 Bastien Guerry <bzg@gnu.org>
19189 * org-capture.el (org-capture-templates): Document "currentfile"
19190 for capture template.
19191 (org-capture-templates): Allow to use currentfile for capture
19193 (org-capture-set-target-location): Handle currentfile as a way to
19194 setting the capture buffer.
19196 2011-07-28 Bastien Guerry <bzg@gnu.org>
19198 * ob.el (org-babel-params-from-properties): Don't wrap
19199 `org-entry-get' into `condition-case'.
19201 2011-07-28 Dan Davison <dandavison7@gmail.com>
19203 * org.el (org-entry-get): Don't look for a property drawer if we
19204 are before the first heading in the file.
19205 (org-entry-get-with-inheritance): Don't attempt to move up the
19206 tree if we are before the first heading in the file. Also,
19207 enclose less of the function in the `save-excursion'.
19209 2011-07-28 Dan Davison <dandavison7@gmail.com>
19211 * ob.el (org-babel-params-from-buffer): Return desired value
19212 rather than nil from failed re search.
19214 2011-07-28 Bastien Guerry <bzg@gnu.org>
19216 * org-agenda.el (org-get-entries-from-diary): Put multiline diary
19217 entries on a single line when lines don't start with a diary time.
19219 2011-07-28 Bastien Guerry <bzg@gnu.org>
19221 * org-html.el (org-export-html-protect-char-alist): New custom
19222 variable to define characters to be HTML protected.
19223 (org-html-protect): Use the new variable.
19225 2011-07-28 Bastien Guerry <bzg@gnu.org>
19227 * org-info.el (org-info-store-link): Use "#" to separate the info
19229 (org-info-follow-link): Use both "#" to separate the info file and
19230 the node. Continue to use ":" for backward compatibility.
19232 2011-07-28 Bastien Guerry <bzg@gnu.org>
19234 * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
19236 (org-print-icalendar-entries): Use this new variable to prevent
19237 export of entries with a :noexport: tag.
19239 2011-07-28 Bastien Guerry <bzg@gnu.org>
19241 * org-exp.el (org-export-initial-scope): New custom variable.
19242 (org-export): Use this new variable. If there is an active
19243 region, tell it when prompting the user for an export command.
19244 Also change the way the function handles selection of buffer and
19247 2011-07-28 Bastien Guerry <bzg@gnu.org>
19249 * org-html.el (org-export-html-auto-preamble)
19250 (org-export-html-auto-postamble): Remove.
19251 (org-export-html-preamble, org-export-html-postamble): Turn into
19252 custom variables. Update the docstrings.
19253 (org-export-html-preamble-format)
19254 (org-export-html-postamble-format): New custom variables.
19255 (org-export-as-html): Use `org-export-html-postamble-format' and
19256 `org-export-html-preamble-format'.
19257 (org-export-html-title-format): Delete.
19259 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19261 * org-exp-blocks.el (org-export-blocks-format-ditaa):
19262 This function is begin deprecated in favor of begin_src blocks.
19263 (org-export-blocks-format-dot): This function is begin deprecated in
19264 favor of begin_src blocks.
19266 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19268 * ob.el (org-babel-header-arg-names): no-expand is now part of the
19269 default header argument names list.
19271 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
19273 * org-publish.el (org-publish-sitemap-date-format)
19274 (org-publish-sitemap-file-entry-format): New custom variables.
19275 (org-publish-projects): Use these variables to format the sitemap
19278 2011-07-28 Ulf Stegemann <ulf-news@zeitform.de>
19280 * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
19281 from `message-mode'.
19283 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19285 * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
19286 updating the filter while the clock report is following the
19289 2011-07-28 Julien Danjou <julien@danjou.info>
19291 * org-agenda.el (org-agenda): Kill all local variables.
19292 This assures we are not keeping buffer variable from an old agenda view
19293 when switching to a new custom agenda.
19295 2011-07-28 Julien Danjou <julien@danjou.info>
19297 * org-crypt.el (org-encrypt-string): New function.
19298 (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
19299 cached crypted values.
19300 (org-decrypt-entry): Store crypted text in decrypted text.
19302 2011-07-28 Dan Davison <dandavison7@gmail.com>
19304 * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
19305 if a non-nil result is returned.
19307 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19309 * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
19312 2011-07-28 Bastien Guerry <bzg@gnu.org>
19314 * org.el (org-update-parent-todo-statistics): Fix bug when
19315 updating statistics from the column view.
19317 2011-07-28 Bastien Guerry <bzg@gnu.org>
19319 * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
19320 (org-agenda-menu): Add the new command to the menu.
19321 (org-agenda-mode-map): Add % as the keybinding for the new
19324 2011-07-28 Bastien Guerry <bzg@gnu.org>
19326 * org-exp.el (org-export-target-internal-links): Locally turn on
19327 `org-link-search-must-match-exact-headline' to match exact
19330 2011-07-28 Julien Danjou <julien@danjou.info>
19332 * org-faces.el (org-special-keyword): Make it inherited from
19333 `font-lock-keyword-face'.
19335 2011-07-28 Julien Danjou <julien@danjou.info>
19337 * org-faces.el (org-link): Make `org-link' inherits from `link'
19340 2011-07-28 Bastien Guerry <bzg@gnu.org>
19342 * org.el (org-narrow-to-block): New function to narrow to block.
19343 Bound this function to `C-x n b'.
19345 2011-07-28 Bastien Guerry <bzg@gnu.org>
19347 * org.el (org-schedule, org-deadline): Fix bug: take care of
19348 repeating timestamps like ".+1d/3d" or "+1d 10d".
19350 2011-07-28 Bastien Guerry <bzg@gnu.org>
19352 * org-agenda.el (org-agenda-repeating-timestamp-show-all):
19353 Allow to use a list of TODO keywords as the value of this variable.
19354 The agenda will show repeating stamps for entries matching these TODO
19356 (org-agenda-get-timestamps, org-agenda-get-deadlines)
19357 (org-agenda-get-scheduled): Allow the use of a list of keywords in
19358 `org-agenda-repeating-timestamp-show-all'.
19360 2011-07-28 Bastien Guerry <bzg@gnu.org>
19362 * org-latex.el (org-export-latex-emph-format): Don't use
19363 `org-export-latex-use-verb'. Remove this variable.
19365 2011-07-28 Jason Dunsmore <emacs-orgmode@dunsmor.com> (tiny change)
19367 * org-html.el (org-html-handle-time-stamps): Fix bug when
19368 exporting inactive timestamps.
19370 2011-07-28 Bastien Guerry <bzg@gnu.org>
19372 * org-archive.el (org-archive-save-context-info): Fix docstring
19374 (org-archive-subtree-add-inherited-tags): New variable to control
19375 whether inherited tags should be appended to local tags when
19376 archiving subtrees.
19377 (org-archive-subtree): Use the new variable.
19379 2011-07-28 Bastien Guerry <bzg@gnu.org>
19381 * org-archive.el (org-archive-save-context-info): Fix docstring.
19383 2011-07-28 Julien Danjou <julien@danjou.info>
19385 * org-crypt.el (org-decrypt-entry): Delete \n on top level
19386 heading. This avoids a display bug showing the heading outlined
19387 where the text is not since it does not have the outline property.
19388 Restore subtree visibility state after decryption.
19390 2011-07-28 Julien Danjou <julien@danjou.info>
19392 * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
19393 as a possible default span if it is set.
19395 2011-07-28 Dan Davison <dandavison7@gmail.com>
19397 * org-src.el (org-edit-src-persistent-message): Change docstring.
19398 (org-edit-src-code): Get rid of help message in echo area.
19400 * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
19401 argument to org-edit-src-code as this has been removed.
19403 2011-07-28 Bastien Guerry <bzg@gnu.org>
19405 * org-latex.el (org-export-latex-emphasis-alist):
19406 Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
19408 (org-export-latex-use-verb): Now defaults to t.
19409 (org-export-latex-emph-format): Distinguish between =...= and
19412 2011-07-28 Julien Danjou <julien@danjou.info>
19414 * org.el (org-link-expand-abbrev): Allow any type of character in
19417 2011-07-28 Dan Davison <dandavison7@gmail.com>
19419 * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
19421 2011-07-28 Dan Davison <dandavison7@gmail.com>
19423 * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
19424 resolving references.
19426 2011-07-28 Bastien Guerry <bzg@gnu.org>
19428 * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
19429 instead of <hr> to keep w3c validator happy.
19431 2011-07-28 Dan Davison <dandavison7@gmail.com>
19433 * ob.el (org-babel-where-is-src-block-head): Detect src block if
19434 point is on a #+header line.
19436 2011-07-28 Dan Davison <dandavison7@gmail.com>
19438 * ob.el (org-babel-where-is-src-block-head): Skip over intervening
19439 #+header lines when searching for block associated with block name
19442 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19444 * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
19445 the more specific `org-at-item-p'.
19447 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19449 * org-latex.el (org-latex-default-figure-position): New defcustom
19450 for default placement of latex figures.
19451 (org-export-latex-tables): Positioning tables using the new
19452 defcustom variable.
19453 (org-export-latex-format-image): Positioning images using the new
19454 defcustom variable.
19456 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19458 * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
19459 evaluated and :file header argument is missing.
19461 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19463 * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
19464 to do anything to export code.
19465 (org-babel-exp-results): No longer returns a replacement for the
19467 (org-babel-exp-inline-src-blocks): Simplify.
19468 (org-babel-exp-src-block): Remove unnecessary pluralization from
19471 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19473 * ob-exp.el (org-babel-exp-inline-src-blocks):
19474 Simplify exportation of inline code blocks using normal code block
19475 execution mechanism to insert results.
19476 (org-babel-exp-results): Results exportation mechanism is unified
19477 for both inline and regular code blocks.
19479 * ob.el (org-babel-where-is-src-block-result): Returns the point
19480 after an inline code block for inline code blocks.
19482 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19484 * ob.el (org-babel-insert-result): Special handling of the
19485 position of results of inline code blocks.
19486 (org-babel-examplize-region): Now able to comment inline regions.
19488 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19490 * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
19491 that \\[ a = b \\] is not interpreted as a keybinding by
19492 `substitute-command-keys'.
19494 2011-07-28 Dan Davison <dandavison7@gmail.com>
19496 * org-latex.el (org-export-as-latex): Process export property list
19497 with `org-export-process-option-filters' early in latex export.
19499 2011-07-28 Julien Danjou <julien@danjou.info>
19501 * org.el: Remove `org-invisible-p': `outline-invisible-p' is
19502 available in Emacs 22 and in recent XEmacs 21. Replace in various
19505 2011-07-28 Julien Danjou <julien@danjou.info>
19507 * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
19508 it must has \\ at the end of the line. This avoid matching the
19509 following heading when there's no newline between the logged state
19510 and the next heading.
19512 2011-07-28 Julien Danjou <julien@danjou.info>
19514 * org-agenda.el (org-format-agenda-item): Simplify time comuting.
19516 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
19518 * org.el (org-current-level, org-store-link, org-mark-subtree):
19519 Use `org-with-limited-levels'.
19521 2011-07-28 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19523 * org-publish.el (org-publish-get-base-files): Add sitemap file.
19525 2011-07-28 Matt Lundin <mdl@imapmail.org>
19527 * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
19528 (org-agenda-todo-ignore-scheduled): New option.
19529 (org-agenda-todo-ignore-timestamp): New option.
19530 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
19531 Allow user to specify custom distance to ignore (future or past).
19532 (org-agenda-todo-custom-ignore-p): New function.
19534 2011-07-28 Matt Lundin <mdl@imapmail.org>
19536 * org-habit.el (org-habit-parse-todo) Don't parse more days than
19539 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19541 * ob.el (org-babel-map-inline-src-blocks): Macro for executing
19542 code in each inline code block.
19543 (org-babel-execute-buffer): Executes inline code blocks as well as
19544 regular code blocks.
19546 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19548 * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
19549 blocks for removal.
19551 2011-07-28 Benjamin Drieu <bdrieu@april.org> (tiny change)
19553 * org-clock.el (org-clock-before-select-task-hook): New hook.
19554 (org-clock-select-task): Run new hook.
19556 2011-07-28 Julien Danjou <julien@danjou.info>
19558 * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
19559 events with range. This display things like: <2011-01-22 Sat
19560 14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
19561 at 14:00 and ending at 20:00.
19563 2011-07-28 Dan Davison <dandavison7@gmail.com>
19565 * ob.el (org-babel-inline-src-block-regexp): Character preceding
19566 "src_" can now be anything as long as it is neither alphanumeric
19569 2011-07-28 Dan Davison <dandavison7@gmail.com>
19571 * ob.el (org-babel-merge-params): Docstring typo.
19573 2011-07-28 Dan Davison <dandavison7@gmail.com>
19575 * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
19578 2011-07-28 Dan Davison <dandavison7@gmail.com>
19580 * ob.el (org-babel-get-src-block-info): Alter order of merge
19583 2011-07-28 Dan Davison <dandavison7@gmail.com>
19585 * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
19587 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19589 * ob.el (org-babel-insert-result): Ensure all parts of result
19590 wrappers end in newlines.
19592 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19594 * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
19595 optionally creates parent directories of tangle targets.
19597 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19599 * org-ascii.el (org-ascii-level-start): Catch the case of levels
19600 which do not have an equivalent in the list of underline
19603 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19605 * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
19606 the format string used to escape arguments to shell code blocks.
19608 2011-07-28 Julien Danjou <julien@danjou.info>
19610 * org-agenda.el (org-agenda-reset-view): New function.
19611 (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19613 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
19615 * org-exp.el (org-export-handle-include-files): Support :lines
19617 (org-get-file-contents): New argument lines to include specify a
19618 range of lines to include.
19620 2011-07-28 Bastien Guerry <bzg@gnu.org>
19622 * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19624 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19626 * org-latex.el (org-export-latex-make-header): Export email in
19627 author line if `org-export-email-info' is non-nil.
19629 2011-07-28 Julien Danjou <julien@danjou.info>
19631 * org-agenda.el (org-agenda-goto-today): Respect current span.
19633 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19635 * org-complete.el (pcomplete/org-mode/link)
19636 (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19637 before uniquifying.
19639 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19641 * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19642 linking comment type
19643 (org-babel-tangle-comment-links): Returns comment links for the
19644 source code block at point.
19646 2011-07-28 Bastien Guerry <bzg@gnu.org>
19648 * org.el (org-refile-check-position): Send a more explicit message
19649 on how to clear the cache before refiling again.
19651 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19653 * org-agenda.el (org-agenda-skip-function-global): New option.
19654 (org-agenda-skip-eval): New function.
19655 (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19656 the global skipping condition.
19658 2011-07-28 David Maus <dmaus@ictsoc.de>
19660 * org-html.el (org-export-as-html): Handle timestamps after
19663 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19665 * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19666 until either a matching block is found, or the limits of the file
19669 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19671 * ob.el (org-babel-update-block-body): Literal argument to
19672 `replace-match' to allow insertion of text containing '\'.
19674 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19676 * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19679 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19681 * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19683 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19685 * ob.el (org-babel-open-src-block-result): Must collect result
19686 *before* jumping to the result buffer.
19688 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19690 * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19691 used after update to regexp.
19693 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19695 * ob.el (org-babel-temp-file): Ensure that
19696 `org-babel-temporary-directory' is bound before using.
19697 (org-babel-remove-temporary-directory): Safer error throwing.
19699 2011-07-28 niels giesen <niels.giesen@gmail.com>
19701 * org-docbook.el (org-export-docbook-finalize-table): Do literal
19704 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19706 * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19707 resolve language names for evaluation.
19709 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19711 * org-capture.el (org-capture-templates): Add %f and %F escapes
19712 (org-capture): Add more information to capture property list
19713 (org-capture-fill-template): Handle %f and %F escapes.
19715 2011-07-28 David Maus <dmaus@ictsoc.de>
19717 * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19720 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19722 * org.el (org-occur-next-match): New function.
19723 (org-mode): Set the variable `next-error-function'.
19724 (org-highlight-new-match): Add an `org-type' property to the
19727 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19729 * ob-calc.el: No longer require `calc-trail' on XEmacs.
19731 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19733 * org.el (org-modules): Add `org-eshell'.
19735 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19737 * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19738 dynamically scoped variables.
19740 * org.el (org-modules): Move `org-special-blocks' into the core
19743 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19745 * org-special-blocks.el: New file.
19747 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19749 * org.el (org-plist-delete): Remove duplicate definition.
19751 2011-07-28 Bernt Hansen <bernt@norang.ca>
19753 * org-agenda.el (org-agenda-goto): Display invisible entry text.
19755 * org-agenda.el (org-agenda-switch-to): Display invisible entry
19758 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19760 * org.el (org-get-category): New optional argument FORCE-REFRESH.
19761 Automatically refresh if the property is not there.
19762 (org-entry-properties): Remove refresh - this is now done in
19765 * org-clock.el (org-clock-insert-selection-line):
19766 Let `org-get-category' do the property refresh.
19768 * org-archive.el (org-archive-subtree): Force a refresh of
19769 category properties.
19771 2011-07-28 Julien Danjou <julien@danjou.info>
19773 * org-icalendar.el (org-print-icalendar-entries): Do not manually
19774 refresh categories.
19776 2011-07-28 Dan Davison <dandavison7@gmail.com>
19778 * org.el (org-display-inline-images): Check for clear-image-cache
19781 2011-07-28 Bernt Hansen <bernt@norang.ca>
19783 * org.el: Document missing value for org-link-frame-setup.
19785 2011-07-28 Dan Davison <dandavison7@gmail.com>
19787 * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19788 user code prior to the R exception-handling, so that errors in
19789 user code are unhandled.
19791 2011-07-28 Dan Davison <dandavison7@gmail.com>
19793 * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19794 that a major-mode function corresponding to the language string
19797 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
19799 * org-exp.el (org-export-mark-list-ending): Insert additional
19800 newline characters if end-list-marker is at a wrong position.
19802 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19804 * ob.el (org-babel-script-escape): Replace commas with spaces for
19805 better list reading when list items are packed with commas,
19806 e.g. Haskell list output.
19808 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19810 * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19813 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19815 * ob.el (org-babel-confirm-evaluate): Fix for the case when
19816 org-confirm-babel-evaluate is a function (used to always ask no
19817 matter what the function returns).
19819 2011-07-28 Dan Davison <dandavison7@gmail.com>
19821 * ob-R.el: Delete duplicated function.
19823 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19825 * ob.el (org-babel-execute-src-block): Remove unused flet
19828 2011-07-28 Dan Davison <dandavison7@gmail.com>
19830 * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19831 signal that the intended content has been written to file.
19833 * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19834 the intended content has been written to file.
19836 * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19837 intended content has been written to file.
19839 * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19840 that the intended content has been written to file.
19842 * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19843 the intended content has been written to file.
19845 * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19846 that the intended content has been written to file.
19848 * ob-octave.el (org-babel-execute:octave): Return result; not name
19851 * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19852 signal that the intended content has been written to file.
19854 * ob-python.el (org-babel-execute:python): Return result; not name
19857 * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19860 * ob-sass.el (org-babel-execute:sass): Return nil if result has
19861 been written to file.
19863 2011-07-28 Dan Davison <dandavison7@gmail.com>
19865 * ob-R.el (org-babel-R-graphical-output-file): New function
19866 returns the name of the output file iff R has been instructed to
19867 send graphical output to file by means of the ":results graphics"
19869 (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19870 when constructing the R code to evaluate, which may be augmented
19871 with code implementing the writing of graohical output to file.
19872 (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19873 determine whether R is taking responsibility for writing output to
19874 file; if so, this is signaled to ob.el by returning a nil result.
19876 2011-07-28 Dan Davison <dandavison7@gmail.com>
19878 * ob.el (org-babel-format-result): New function to format results
19879 of src block execution.
19880 (org-babel-execute-src-block): Use `org-babel-format-result' when
19882 (org-babel-open-src-block-result): Use `org-babel-format-result'
19883 when displaying results in a buffer. Name results buffer
19886 2011-07-28 Dan Davison <dandavison7@gmail.com>
19888 * ob.el (org-babel-execute-src-block): Avoid calling
19889 `orgtbl-to-generic' on number results.
19891 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19893 * ob.el (org-babel-execute-src-block): Allow specification of
19894 table separator with :sep header argument.
19895 (org-babel-open-src-block-result): Allow specification of table
19896 separator with :sep header argument.
19898 2011-07-28 Dan Davison <dandavison7@gmail.com>
19900 * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19901 executing buffer (note that this handles execute subtree also).
19903 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
19905 * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19906 do not modify match data either.
19907 (org-inlinetask-goto-end): Small refactoring, remove
19909 (org-inlinetask-goto-beginning): Small refactoring, remove
19912 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19914 * org-capture.el (org-capture-set-target-location):
19915 Use `current-time'.
19917 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19919 * org-capture.el (org-capture-set-target-location):
19920 Use `current-time'.
19922 2011-07-28 Bernt Hansen <bernt@norang.ca>
19924 * org.el (org-before-first-heading-p): If point is on an org-mode
19925 heading line then we are not before the first heading.
19927 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
19929 * org-timer.el (org-timer-continue-hook): Define the variable
19930 (org-timer-pause-or-continue): Run hook after relative timer is
19933 2011-07-28 Julien Danjou <julien@danjou.info>
19935 * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19937 2011-07-28 Julien Danjou <julien@danjou.info>
19939 * org-capture.el (org-capture-fill-template): Use org-eval.
19941 2011-07-28 Julien Danjou <julien@danjou.info>
19943 * org-agenda.el (org-eval): New function.
19945 2011-07-28 Dan Davison <dandavison7@gmail.com>
19947 * ob.el (org-babel-execute-src-block): With :results file, when
19948 :file is not supplied, interpret result as a file link as long as
19951 2011-07-28 David Maus <dmaus@ictsoc.de>
19953 * org-latex.el (org-export-latex-preprocess): Don't convert link
19954 description parts that look like numeric footnote.
19956 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19958 * org-latex.el (org-export-latex-tables): Allowing specification
19959 of tabular[xy] inner environments through the ATTR_LaTeX line.
19961 2011-07-28 Julien Danjou <julien@danjou.info>
19963 * org-capture.el (org-capture-fill-template):
19964 Use `org-set-property' directly.
19966 2011-07-28 Julien Danjou <julien@danjou.info>
19968 * org-agenda.el (org-agenda-prefix-format): Add missing `search'
19971 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19973 * org-exp.el (org-export-string): Use `format' to construct
19974 function call to allow symbolic or string arguments.
19976 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19978 * org-capture.el (org-capture-place-entry):
19979 (org-capture-insert-template-here): Check tree for validity before
19982 2011-07-28 Julien Danjou <julien@danjou.info>
19984 * org-gnus.el (org-gnus-store-link): Trim date.
19986 2011-07-28 Julien Danjou <julien@danjou.info>
19988 * org.el (org-email-link-description): Allow to retrieve email
19991 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19993 * org.el (org-make-target-link-regexp): `regexp-quote' target
19994 before replacing whitespace.
19996 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19998 * ob.el (org-babel-expand-noweb-references): Noweb references can
19999 now be resolved from the library of babel.
20001 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
20003 * ob.el (org-babel-result-end): No longer leaving trailing new
20004 line after block removal.
20006 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
20008 * org-latex.el (org-export-latex-first-lines): Anchor outline
20009 regexp during LaTeX tree export.
20011 2011-07-28 Konrad Hinsen <konrad.hinsen@fastmail.net>
20013 * ob-python.el (org-babel-python-initiate-session-by-key):
20014 Make sure that py-which-bufname is initialized, as otherwise it will be
20015 overwritten the first time a Python buffer is created.
20017 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
20019 * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
20022 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
20024 * ob-org.el (org-babel-execute:org): Padding code block with an
20025 empty title on LaTeX export.
20027 2011-07-28 Matt Lundin <mdl@imapmail.org>
20029 * org.el (org-entry-properties): Stop scanning for timestamps if a
20030 specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
20031 requested and a match is found. Also, if a specific timestamp
20032 property is requested, do not push non-relevant timestamps onto
20035 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
20037 * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
20038 when grid is being made for today.
20040 2011-07-28 Matt Lundin <mdl@imapmail.org>
20042 * org-agenda.el (org-agenda-get-scheduled): Don't call
20043 `org-is-habit-p' until after checking for
20044 `org-agenda-skip-scheduled-if-done'.
20046 2011-07-28 Achim Gratz <Stromeko@nexgo.de>
20048 * org.el: Remove spurious linebreak introduced by earlier patch.
20050 * ob.el, ob-ref.el: Remove double fix of the same problem.
20052 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
20054 * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
20056 2011-07-28 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
20058 * org-html.el (org-export-html-mathjax-template):
20059 Displaymath environment and MathJax.
20061 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
20063 * org-faces.el (org-agenda-current-time): New face.
20065 * org-agenda.el (org-agenda-show-current-time-in-grid):
20066 (org-agenda-current-time-string): New options.
20067 (org-agenda-add-time-grid-maybe): Add current time to time grid.
20069 2011-05-10 Jim Meyering <meyering@redhat.com>
20071 Fix doubled-word typos.
20072 * org-agenda.el (org-agenda-entry-types): the the -> the
20073 * org-table.el (org-table-get-remote-range): or or -> or
20074 * org-wl.el (org-wl-folder-type): the the -> the
20075 * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
20077 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20079 * org-src.el (org-src-switch-to-buffer):
20080 * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
20081 * org-mouse.el (org-mouse-agenda-type):
20082 * org-freemind.el (org-freemind-node-to-org):
20083 * ob-sql.el (org-babel-execute:sql):
20084 * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
20085 * ob-ref.el (org-babel-ref-resolve): Fix use of case.
20087 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
20089 * Version 23.3 released.
20091 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
20093 * org.el (org-blank-before-new-entry, org-context-in-file-links)
20094 (org-refile-targets, org-log-repeat, org-insert-link)
20095 (org-speed-command-default-hook, org-speed-command-hook)
20096 (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
20097 Fix typos in docstrings.
20098 (org-toggle-pretty-entities): Fix typo in message.
20100 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
20102 * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
20104 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
20106 * org-remember.el (org-remember-mode-map):
20107 * org-src.el (org-src-mode-map): Move initialization into declaration.
20109 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
20111 * org-remember.el (org-remember-mode):
20112 * org-capture.el (org-capture-mode): Don't run hook redundantly.
20114 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
20116 * org-faces.el (org-link): Inherit from link face.
20117 Suggested by Joakim Verona.
20119 2010-12-11 Tassilo Horn <tassilo@member.fsf.org>
20121 * org-footnote.el (org-footnote-create-definition): Place
20122 Footnotes section before message-signature-separator also in modes
20123 derived from message-mode.
20125 2010-12-11 Julien Danjou <julien@danjou.info>
20127 * org.el (org-make-tags-matcher): Remove useless cat-p value.
20129 2010-12-11 Julien Danjou <julien@danjou.info>
20131 * org.el (org-entry-properties): Enhance docstring.
20133 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20135 * org-list.el (org-list-top-point-with-indent)
20136 (org-list-bottom-point-with-indent): Pay also attention to
20137 'original-indentation property of text, as blocks are put to
20138 column 0 upon exporting.
20140 2010-12-11 Dan Davison <dandavison7@gmail.com>
20142 * ob.el (org-babel-remove-temporary-directory): Handle exception
20143 with message informing of failure to remove directory.
20145 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20147 * ob-clojure.el (org-babel-header-arg-names:clojure): Add
20148 `package' to the list of Clojure header arguments which will be read
20149 from heading properties.
20151 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20153 * org-inlinetask.el (org-inlinetask-export-templates): Add
20154 Sébastien Vauban's suggestion for LaTeX export in docstring. This is
20155 not default as it requires an additional LaTeX package: "todonotes".
20157 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20159 * org-inlinetask.el (org-inlinetask-export-templates): New variable.
20161 * org-inlinetask.el (org-inlinetask-export-handler): Make use of
20162 templates to export inline tasks.
20164 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20166 * org.el (org-current-level): Ignore inline tasks when getting current
20169 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20171 * org.el (org-indent-line-function): Ignore drawers inside inline
20172 tasks if the line to indent isn't inside an inline task itself.
20174 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20176 * org-inlinetask.el (org-inlinetask-get-task-level): New function.
20178 * org-indent.el (org-indent-add-properties): Find true level of
20179 indentation wrt inline tasks.
20181 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20183 * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
20185 * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
20187 * org-inlinetask.el (org-inlinetask-goto-end): New function.
20189 * org.el (org-mark-subtree): New command.
20191 * org.el (org-speed-commands-default, org-mode-map): Make use of
20194 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20196 * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
20197 from @<span class...> so it can be removed during LaTeX export.
20199 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20201 * ob.el (org-babel-insert-result): More informative code block
20202 evaluation messages.
20204 2010-12-11 Matt Lundin <mdl@imapmail.org>
20206 * org.el (org-make-heading-search-string): Optionally limit number
20207 of lines stored in file link search strings.
20208 (org-context-in-file-links): Add option to set to integer specifying
20211 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20213 * org-capture.el (org-capture-finalize): New prefix argument
20215 (org-capture-refile): Improve docstring.
20217 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20219 * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
20220 interaction engine.
20222 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20224 * org-agenda.el (org-agenda-list):
20225 (org-agenda-goto-today): Use `org-today'.
20227 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20229 * org-latex.el (org-export-latex-make-header): Swap \begin{document}
20230 and the title/author definitions.
20232 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20234 * org-macs.el: Better backup definition for
20235 `with-silent-modifications'.
20237 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20239 * ob-python.el (org-babel-execute:python): Rename "prefix" to
20241 (org-babel-python-evaluate): Rename "prefix" to "preamble".
20242 (org-babel-python-evaluate-external-process): Rename "prefix" to
20245 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20247 * ob.el (org-babel-examplize-region): Check if `end' is a marker
20248 or a point and handle appropriately.
20250 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20252 * ob-sql.el (org-babel-execute:sql): Explicitly set field
20253 separator to \t when importing tabular data.
20255 2010-12-11 Julien Danjou <julien@danjou.info>
20257 * org-agenda.el (org-agenda-custom-commands-local-options):
20258 Allow org-agenda-span to be a symbol.
20259 (org-agenda-ndays): Make obsolete.
20260 (org-agenda-span): New variable superseding org-agenda-ndays.
20261 (org-agenda-menu): Use org-agenda-current-span.
20262 (org-agenda-current-span): New local variable storing current
20264 (org-agenda-list): Take a span instead of ndays as argument.
20265 This function is now responsible for computing the ndays based
20267 (org-agenda-ndays-to-span): Return span only if number of days
20269 (org-agenda-span-to-ndays): New function.
20270 (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
20271 (org-agenda-goto-today): Use org-agenda-compute-starting-span.
20272 (org-agenda-later): Do not give compute a new span, use the
20274 (org-agenda-day-view, org-agenda-week-view)
20275 (org-agenda-month-view, org-agenda-year-view): Stop touching
20277 (org-agenda-change-time-span): Only compute starting-span.
20278 (org-agenda-compute-starting-span): New function derived from
20279 the old org-agenda-compute-time-span.
20280 (org-agenda-set-mode-name): Compute mode based on
20281 org-agenda-current-span.
20282 (org-agenda-span-name): New function.
20284 2010-12-11 Robert Pluim <rpluim@gmail.com> (tiny change)
20286 * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
20288 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20290 * org-clock.el (org-quarter-to-date): Define variables.
20291 (org-clock-special-range): Defin variables. Use org-floor*.
20292 (org-clocktable-write-default): Define tcol.
20294 * org-compat.el (org-floor*): New function.
20296 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20297 John Wiegley <jwiegley@gmail.com>
20299 * org-complete.el: New file.
20301 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20303 * org-clock.el (org-clocktable-write-default): Fix the % formula.
20305 2010-12-11 Matt Lundin <mdl@imapmail.org>
20307 * org-agenda.el (org-format-agenda-item): The value of
20308 org-category is not converted to a string unless it is defined.
20310 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20312 * ob-python.el (org-babel-execute:python): Pass the new "prefix"
20313 header argument through to external evaluation.
20314 (org-babel-python-evaluate): Pass the new "prefix" header argument
20315 through to external evaluation.
20316 (org-babel-python-evaluate-external-process): When specified prepend
20317 "prefix" to the file used in external evaluation.
20319 2010-12-11 Dan Davison <dandavison7@gmail.com>
20321 * ob-python.el (org-babel-python-evaluate-session): Change python
20322 module name from 'pp' to 'pprint'.
20324 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20326 * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
20327 from R session output, these are often the result of variable
20330 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20332 * ob-sql.el (orgtbl-to-csv): Declaring an external function to
20333 fix a compiler warning.
20335 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20337 * ob-eval.el (require): No longer require ob.el to allow
20338 requiring by ob.el.
20340 * ob.el (ob-eval): Require ob-eval.
20342 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20344 * ob.el (org-babel-confirm-evaluate): Show code block's name when
20345 it is available during evaluation query.
20347 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20349 * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
20351 (org-babel-execute:sql): Use sql specific body expansion function.
20352 (org-babel-sql-expand-vars): Insert variables into a sql code block.
20354 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20356 * ob.el (org-babel-insert-result): Using markers instead of
20357 points for more robust buffer anchors.
20359 2010-12-11 Julien Danjou <julien@danjou.info>
20361 * org-capture.el: Use org-today.
20363 2010-12-11 Julien Danjou <julien@danjou.info>
20365 * org-habit.el: Use org-today.
20367 2010-12-11 Julien Danjou <julien@danjou.info>
20369 * org.el (org-auto-repeat-maybe): Use org-today.
20371 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20373 * org-clock.el (org-day-of-week): New function.
20374 (org-quarter-to-date): New function.
20375 (org-clock-special-range): Implement quarters.
20377 2010-12-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
20379 * org.el (org-complete-tags-always-offer-all-agenda-tags):
20382 2010-12-11 Julien Danjou <julien@danjou.info>
20384 * org-agenda.el (org-format-agenda-item): Convert category to a string
20385 if it is a symbol. This fixes the following call to
20386 org-agenda-get-category-icon which fails if category is not a string.
20388 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20390 * ob-clojure.el: Updated requirements documentation to mention
20391 the minimum version of Clojure.
20392 (org-babel-expand-body:clojure): Fully qualified function name.
20394 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20396 * org-latex.el (org-export-latex-lists): Do not add an
20397 unnecessary newline character after a list.
20399 * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
20400 point is just after a non blank line.
20402 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20404 * ob.el (org-babel-examplize-region): Remove old assertion which
20405 no longer applies to the result insertion code.
20407 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20409 * ob-python.el (org-babel-execute:python): Use a :return header
20410 argument for external evaluation in which the code block body need
20411 to be wrapped in a function.
20413 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20415 * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
20418 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20420 * org.el (org-edit-special): Edit formulas when in TBLMF line.
20422 2010-12-11 Allen S. Rout <asr@ufl.edu> (tiny change)
20424 * org-capture.el (org-capture-after-finalize-hook): New hook.
20425 (org-capture-finalize): Run the new hook.
20427 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20429 * ob-clojure.el (org-babel-expand-body:clojure): Support for
20430 pretty printing of Clojure code and data.
20432 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20434 * ob.el (org-babel-insert-result): No longer escape results which
20435 will be wrapped in a block.
20437 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20439 * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
20440 warning and added documentation string.
20442 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20444 * ob-clojure.el (org-babel-execute:clojure): Remade using slime
20445 for all code evaluation.
20447 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20449 * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
20450 the column as well.
20452 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20454 * ob.el (org-babel-confirm-evaluate): More descriptive message
20455 when evaluation is aborted or disabled.
20457 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20459 * ob.el (org-babel-insert-result): Responds to new "wrap" header
20461 (org-babel-merge-params): Includes new "wrap" header argument in
20462 one of the results header argument exclusive groups.
20464 2010-12-11 David Maus <dmaus@ictsoc.de>
20466 * org-macs.el (with-silent-modifications): Fix condition for
20467 with-silent-modification.
20469 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20471 * ob.el (org-babel-parse-header-arguments): Stripping trailing
20472 spaces off of header arguments (even the first one).
20474 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20476 * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
20477 single quotes which is the best practice.
20478 (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
20479 more robust parsing of shell output.
20481 2010-12-11 Dan Davison <dandavison7@gmail.com>
20483 * org.el (org-additional-option-like-keywords): Add more keywords,
20484 and colons to some old ones.
20486 2010-12-11 Dan Davison <dandavison7@gmail.com>
20488 * ob-eval.el (org-babel-error-buffer-name): Define new variable.
20490 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20492 * ob-python.el (org-babel-python-table-or-string):
20493 Using `org-babel-script-escape' for reading string input from scripting
20496 2010-12-11 Achim Gratz <Stromeko@nexgo.de> (tiny change)
20498 * org-macs.el (org-called-interactively-p): Wrap function call in
20500 (with-silent-modifications): Declare macro for Emacs < 23.2.
20502 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20504 * ob.el (org-babel-parse-header-arguments): Remove addition of
20505 ":" to singleton first header arguments as it was leading to errors.
20507 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20509 * org-latex.el (org-export-latex-make-header): Run the title through
20510 `org-export-latex-fontify-headline'.
20511 (org-export-latex-fontify-headline): Do the protection of math
20512 snippets also here.
20514 2010-12-11 Richard Lawrence <richard.lawrence@berkeley.edu>
20516 * org-latex.el (org-export-as-latex): Sent the section title
20517 through the preprocessor.
20519 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20521 * org-html.el (org-html-level-start): Mark listified headings
20524 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20526 * org.el (org-open-at-point): Don't do footnote action if cursor is
20529 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20531 * org.el (org-edit-special): Check also for TBLFM line.
20533 2010-12-11 Achim Gratz <Stromeko@Stromeko.DE> (tiny change)
20535 * org-clock.el (org-get-clocktable): Previous patch incorrectly
20536 required whitespace in front of #+BEGIN: and #+END:.
20538 2010-12-11 Dan Davison <dandavison7@gmail.com>
20540 * org-src.el (org-edit-src-code): Allow region to be inherited by
20541 edit buffer when mark is one character beyond end of src block.
20543 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20545 * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
20546 checking item indentation.
20548 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20550 * ob.el (org-babel-map-src-blocks): Move to earlier in the file
20551 and now autoloading.
20553 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20555 * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
20556 for testing list membership.
20558 * ob.el (org-babel-read-result): Use higher level function for
20559 testing list membership.
20560 (org-babel-result-end): Use higher level function for testing list
20563 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20565 * ob-sqlite.el (ob-eval): Require ob-eval for external command
20567 (org-babel-execute:sqlite): No longer uses the init option for
20568 passing commands to sqlite.
20570 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20572 * org.el (org-indent-line-function): Drawers and blocks have no
20573 influence on indentation of text below. Also fix indentation
20574 problem with a block at column 0 and add a special case for
20577 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20579 * ob.el (org-babel-map-src-blocks): Ensure that the file argument
20580 is only evaluated once.
20582 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20584 * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
20586 (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
20588 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20590 * ob-tangle.el (org-babel-load-file): Can be called interactively.
20592 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
20594 * org-table.el (orgtbl-after-send-table-hook): New hook.
20595 (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
20597 (orgtbl-send-table): Return the number of sent tables, or nil if no
20598 sending has happened.
20600 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20602 * org.el (org-get-priority-function): New option.
20603 (org-get-priority): Call `org-get-priority-function' if that
20606 2010-12-11 Dan Davison <dandavison7@gmail.com>
20608 * ob-table.el (org-babel-table-truncate-at-newline): Only add
20609 "..." if there is something after the newline.
20611 2010-12-11 Achim Gratz <Stromeko@nexgo.de> (tiny change)
20613 * org-clock.el (org-get-clocktable):
20614 (org-in-clocktable-p):
20615 (org-clocktable-shift):
20616 (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20618 2010-12-11 Puneeth Chaganti <punchagan@gmail.com>
20620 * org-exp.el (org-export-handle-include-files): Support :minlevel
20622 (org-get-file-contents): New argument minlevel to demote included
20625 2010-12-11 Noorul Islam <noorul@noorul.com>
20627 * org-latex.el (org-export-latex-hyperref-format): New option.
20628 (org-export-latex-href-format): Rename the existing variable
20629 `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20630 (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20631 `org-export-latex-href-format'.
20633 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20635 * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20636 buffer exists before it is used.
20638 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20640 * org-exp.el (org-export-preprocess-string): Delay code block
20641 processing a bit to allow correct list parsing in the export string.
20643 2010-12-11 Christopher Allan Webber <cwebber@dustycloud.org>
20645 * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20646 (org-agenda-time-of-day-to-ampm): New function.
20647 (org-agenda-time-of-day-to-ampm-maybe): New function.
20648 (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20650 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20652 * org-faces.el (org-cycle-level-faces): New option.
20654 * org.el (org-get-level-face): Honor org-cycle-level-faces.
20656 2010-12-11 Julien Danjou <julien@danjou.info>
20658 * org-agenda.el (org-agenda-today): New function.
20659 (org-agenda-get-day-face): New function.
20660 (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20661 (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20662 (org-todo-list): Use org-agenda-today.
20663 (org-get-all-dates): Use org-agenda-today.
20664 (org-agenda-day-face-function): New variable.
20665 (org-agenda-get-day-face): Use org-agenda-day-face-function.
20667 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20669 * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20672 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20674 * org-html.el (org-export-as-html): Do not treat partially
20675 protected lines as if they were fully protected.
20677 2010-12-11 Dan Davison <dandavison7@gmail.com>
20679 * org-exp.el (org-export-format-source-code-or-example):
20680 Remove hard-wired configuration of minted export
20681 (org-export-latex-minted-with-line-numbers): Remove variable.
20683 2010-12-11 Bastien Guerry <bzg@gnu.org>
20685 * org-clock.el (org-dblock-write:clocktable): Fix double
20686 reference to `link' in let construct.
20687 (org-clock-clocktable-formatter): Fix typo in docstring.
20688 (org-clocktable-write-default): Fix typo in docstring.
20690 2010-12-11 David Maus <dmaus@ictsoc.de>
20692 * org-protocol.el (org-protocol-unhex-string): Normalize percent
20693 escape sequence to upper case letters.
20695 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20697 * ob-lob.el (org-babel-lob-get-info): Include pass-through
20698 header arguments in results variable header argument string.
20700 2010-12-11 David Maus <dmaus@ictsoc.de>
20702 * org-exp.el (org-export-visible): Limit search for in-buffer options
20703 beginning of first headline.
20705 2010-12-11 David Maus <dmaus@ictsoc.de>
20707 * org.el (org-open-at-point): Remove stale link handler for news:
20710 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20712 * org-clock.el (org-clocktable-write-default): Better handling of
20715 2010-12-11 Julien Danjou <julien@danjou.info>
20717 * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20719 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20721 * org.el (org-indent-line-function): Simplify code and remove bug that
20722 would insert a tab at the beginning of the line when trying to
20725 2010-12-11 Julien Danjou <julien@danjou.info>
20727 * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20729 2010-12-11 Julien Danjou <julien@danjou.info>
20731 * org-agenda.el (org-agenda-prefix-format): Insert place holder
20733 (org-agenda-category-icon-alist): New option.
20734 (org-agenda-get-category-icon): New function.
20735 (org-format-agenda-item): Support for icons.
20736 (org-compile-prefix-format): Support for icons.
20738 2010-12-11 Julien Danjou <julien@danjou.info>
20740 * org-compat.el: Create defalias for `string-match-p' and
20743 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20745 * ob-calc.el (org-babel-execute:calc): Support for variables --
20746 converts :var variables in calc variables.
20748 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20750 * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20752 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20754 * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20756 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20758 * org-id.el (org-id-store-link): Test for org-mode before checking
20761 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20763 * org.el (org-shorten-string): New function.
20765 * org-exp.el (org-export-convert-protected-spaces): New function.
20766 (org-export-preprocess-string):
20767 Call `org-export-convert-protected-spaces' to handle new hard spaces.
20769 2010-12-11 David Maus <dmaus@ictsoc.de>
20771 * org.el (org-narrow-to-subtree): Check for heading that ends at end
20774 2010-11-12 Carsten Dominik <carsten.dominik@gmail.com>
20776 * org-capture.el (org-capture-templates): Remove autoload from
20779 * ob-lisp.el (slime): Don't expect slime to be present.
20781 2010-11-11 Dan Davison <dandavison7@gmail.com>
20783 * ob.el: `copy-sequence' suffices to copy alist; no need for
20786 2010-11-11 Dan Davison <dandavison7@gmail.com>
20788 * ob.el (org-babel-execute-src-block): If ":results file" is in
20789 effect, then ensure that the value of :file is returned as the
20790 result; don't rely on language files for this.
20792 2010-11-11 Dan Davison <dandavison7@gmail.com>
20794 * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20795 structure by side-effects of `sort'.
20797 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
20799 * org-list.el (org-list-bottom-point-with-indent): Do not check
20800 indentation of a non-empty blank line.
20802 * org-list.el (org-sort-list): Sort a list with point anywhere
20805 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20807 * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20808 hopefully better error messages.
20810 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20812 * org.el (org-babel-load-languages): Adding calc.
20814 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20816 * ob.el (org-babel-initiate-session): Don't resolve variable
20817 references unless prefix arg is supplied.
20819 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20821 * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20822 refers to the correct stack.
20824 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20826 * ob-calc.el: Adding the beginnings of support for calc code
20829 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20831 * ob-tangle.el (org-babel-update-block-body): Declaring function
20832 for updating code block bodies.
20833 (org-babel-spec-to-string):
20834 (org-babel-detangle): Detangle all tangled and commented code
20835 blocks in the current file back to org.
20836 (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20837 file back to the originating org-mode code block ob-tangle:
20838 detangle changes in code files back to the original org files.
20840 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20842 * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20843 (org-babel-tangle-comment-format-end): Fix typo.
20845 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20847 * org-exp.el (org-export-format-source-code-or-example):
20848 Use minted for latex source code export if `org-export-latex-listings'
20849 has the value 'minted.
20851 * org-latex.el (org-export-latex-listings): Document special value
20854 * org-latex.el (org-export-latex-minted): Delete variable.
20856 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20858 * ob.el (org-babel-get-src-block-info): Retrieve contents of
20859 parentheses, excluding parentheses themselves.
20861 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20863 * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20864 Fix bug in gnuplot data file assignment using user variables.
20866 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20868 * ob-latex.el (org-babel-execute:latex): Adding new :headers
20869 header argument for latex code blocks.
20871 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20873 * org-capture.el (org-capture-templates): New capture property
20875 (org-capture-finalize): Kill target buffer if that is desired.
20876 (org-capture-target-buffer): Remember if we have to make the buffer.
20878 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20880 * org-clock.el (org-dblock-write:clocktable): Fix bug when
20881 computing clock tables.
20883 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20885 * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20886 to caller even if no table is generated.
20888 2010-11-11 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
20890 * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20891 values from diary entries.
20893 * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20896 * org.el (org-diary-sexp-entry): Handle lists as return values
20897 from diary entries.
20899 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20901 * org-capture.el (org-capture-empty-lines-before):
20902 (org-capture-empty-lines-after): Make sure the n=0 does not insert
20905 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20907 * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20908 message when clojure binary is not found.
20910 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20912 * org-html.el (org-format-table-html): New argument DOCBOOK.
20913 (org-format-org-table-html): New argument DOCBOOK. When set, use
20914 align instead of class to align table fields.
20916 * org-docbook.el (org-export-as-docbook): Specify the docbook
20917 argument for the table converter.
20919 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20921 * org-macs.el (org-called-interactively-p): New macro.
20923 * org-freemind.el: No longer require 'rx.
20924 (org-freemind): New customization group, use it for all the
20926 (org-export-as-freemind): Add docstring.
20927 (org-freemind-show): Improve filen naming.
20928 (org-freemind-convert-links-helper): New function.
20929 (org-freemind-bol-helper-base-indent): New variable.
20930 (org-freemind-bol-helper): New function.
20931 (org-freemind-node-css-style): New option.
20932 (org-freemind-node-pattern): New variable.
20933 (org-freemind-from-org-mode): Better docstring.
20935 2010-11-11 David Maus <dmaus@ictsoc.de>
20937 * ob-haskell.el (org-babel-variable-assignments:haskell):
20938 Don't pass more than two arguments to mapc.
20940 2010-11-11 David Maus <dmaus@ictsoc.de>
20942 * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20944 2010-11-11 David Maus <dmaus@ictsoc.de>
20946 * org-footnote.el (message-signature-separator): Defvar to silence
20949 2010-11-11 David Maus <dmaus@ictsoc.de>
20951 * org-exp.el (org-export-string): Fix reference to wrong symbol.
20953 2010-11-11 Jambunathan K <kjambunathan@gmail.com>
20955 * org.el (org-link-search): Return 'dedicated on successful match
20956 when org-link-search-must-match-exact-headline is set to t.
20958 2010-11-11 Daniel Clemente <n142857@gmail.com>
20960 * org-html.el (org-html-make-link): Append fragment to file: links
20963 2010-11-11 Tassilo Horn <tassilo@member.fsf.org>
20965 * org-footnote.el (org-footnote-create-definition)
20966 (org-footnote-goto-local-insertion-point): Add footnotes before
20967 signature when in message-mode.
20969 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20971 * org.el (org-display-inline-images): Improve regexp.
20973 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20975 * org.el (org-cycle): Make sure resetting to startup visibility
20976 works after another cycle command.
20978 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20980 * org-exp.el (org-export-string): New function org-export-string
20981 can be used to convert a string of test in org-mode markup to a
20984 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20986 * org.el (org-display-inline-images): Allow non-ASCII characters
20987 in image file names. Save match data.
20989 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20991 * org.el (org-auto-repeat-maybe): Fix shifting multiple time
20994 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20996 * org-exp.el (org-store-forced-table-alignment):
20997 (org-export-remove-special-table-lines): Allow the "c" cookie for
21000 * org-html.el (org-export-table-header-tags):
21001 (org-export-table-data-tags): Add another %s format for the
21003 (org-export-html-table-align-individual-fields): New option.
21004 (org-format-org-table-html): Implement field-by-field alignment
21005 and support centering.
21006 (org-format-table-table-html): Make sure the new table tag formats
21007 don't break this function.
21009 * org-table.el (org-table-cookie-line-p):
21010 (org-table-align): Allow for the <c> cookie.
21012 * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
21014 2010-11-11 David Maus <dmaus@ictsoc.de>
21016 * org-exp.el (org-export-normalize-links): Skip normalization of
21017 plain links that are part of another link.
21019 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21021 * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
21023 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21025 * org-indent.el (org-indent-add-properties):
21026 Use `with-silent-modifications'.
21027 (org-indent-remove-properties): Use `with-silent-modifications'.
21029 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21031 * org-table.el (org-table-cookie-line-p): Fix indentation.
21033 * org-exp.el (org-store-forced-table-alignment): New function.
21034 (org-export-preprocess-string):
21035 Call `org-store-forced-table-alignment'.
21037 * org-html.el (org-format-org-table-html): Use stored alignment
21040 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21042 * ob.el (org-babel-execute-src-block): Respects prefix argument
21043 (which forces re-calculation).
21045 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21047 * ob.el (org-babel-execute-src-block): Remove needless param
21048 sorting from ob-execute-src-block, the params are sorted already
21051 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21053 * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
21054 header argument level.
21056 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21058 * ob.el (org-babel-sha1-hash): Consider words in different order
21059 as different input.
21061 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21063 * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
21065 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21067 * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
21068 structure of an Org-mode table (list of lists).
21070 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21072 * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
21073 (reference to unassigned variable `src-lang' and avoid calling
21074 org-babel-get-src-block-info twice.
21076 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21078 * ob.el (org-babel-demarcate-block): Update to reflect the new
21079 info list contents.
21081 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21083 * org-src.el (org-edit-src-code): Supply non-nil argument to
21084 `org-babel-get-src-block-info' to avoid resolving variable
21087 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21089 * ob.el (org-babel-map-src-blocks): Fix minor bug in and
21090 improved efficiency of org-babel-map-src-blocks.
21092 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21094 * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
21095 checks that a code block will actually be tangled before
21096 collecting it's full information (a process which could involve
21097 the execution of other code blocks).
21099 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21101 * ob.el (org-babel-demarcate-block): Use light version of
21102 `org-babel-get-src-block-info'.
21104 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21106 * ob.el (org-babel-sha1-hash): Now handles more complex types in
21109 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21111 * ob.el (org-babel-execute-src-block): Generally using the new
21112 more informative params
21113 (org-babel-process-params): Don't forget the :var portion of
21114 variable assignments.
21116 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21118 * ob-table.el (sbe): Simplify to reflect to var resolution.
21120 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21122 * ob-ref.el (org-babel-ref-resolve): Bringing the referent
21123 arguments back to their params before evaluation.
21125 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21127 * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
21130 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21132 * ob-table.el (sbe): Use `org-babel-process-params params' instead
21133 of `org-babel-expand-variables'.
21135 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21137 * ob-C.el (org-babel-C-execute): Remove call to
21138 org-babel-process-params which should no longer be called from
21139 within a language file.
21141 * ob-R.el (org-babel-execute:R): Remove call to
21142 org-babel-process-params which should no longer be called from
21143 within a language file
21144 (org-babel-R-variable-assignments): Remove call to
21145 org-babel-process-params which should no longer be called from
21146 within a language file.
21148 * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
21149 org-babel-process-params which should no longer be called from
21150 within a language file.
21152 * ob-clojure.el (org-babel-execute:clojure): Remove call to
21153 org-babel-process-params which should no longer be called from
21154 within a language file.
21156 * ob-dot.el (org-babel-execute:dot): Remove call to
21157 org-babel-process-params which should no longer be called from
21158 within a language file.
21160 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
21161 call to org-babel-process-params which should no longer be called
21162 from within a language file
21163 (org-babel-execute:emacs-lisp): Remove call to
21164 org-babel-process-params which should no longer be called from
21165 within a language file.
21167 * ob-haskell.el (org-babel-execute:haskell): Remove call to
21168 org-babel-process-params which should no longer be called from
21169 within a language file.
21171 * ob-js.el (org-babel-execute:js): Remove call to
21172 org-babel-process-params which should no longer be called from
21173 within a language file.
21175 * ob-lisp.el (org-babel-execute:lisp): Remove call to
21176 org-babel-process-params which should no longer be called from
21177 within a language file.
21179 * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
21180 org-babel-process-params which should no longer be called from
21181 within a language file.
21183 * ob-octave.el (org-babel-execute:octave): Remove call to
21184 org-babel-process-params which should no longer be called from
21185 within a language file.
21187 * ob-perl.el (org-babel-execute:perl): Remove call to
21188 org-babel-process-params which should no longer be called from
21189 within a language file.
21191 * ob-python.el (org-babel-execute:python): Remove call to
21192 org-babel-process-params which should no longer be called from
21193 within a language file.
21195 * ob-ruby.el (org-babel-execute:ruby): Remove call to
21196 org-babel-process-params which should no longer be called from
21197 within a language file.
21199 * ob-scheme.el (org-babel-execute:scheme): Remove call to
21200 org-babel-process-params which should no longer be called from
21201 within a language file.
21203 * ob-screen.el (org-babel-execute:screen): Remove call to
21204 org-babel-process-params which should no longer be called from
21205 within a language file
21206 (org-babel-prep-session:screen): Remove call to
21207 org-babel-process-params which should no longer be called from
21208 within a language file.
21210 * ob-sh.el (org-babel-execute:sh): Remove call to
21211 org-babel-process-params which should no longer be called from
21212 within a language file.
21214 * ob-sql.el (org-babel-execute:sql): Remove call to
21215 org-babel-process-params which should no longer be called from
21216 within a language file.
21218 * ob-haskell.el (org-babel-execute:haskell): Remove reference to
21221 * ob-clojure.el (org-babel-execute:clojure): Remove reference to
21224 * ob-R.el (org-babel-execute:R): Remove reference to processed
21227 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21229 * ob-sql.el (org-babel-execute:sql): Use generic expansion
21231 (org-babel-expand-body:sql): Delete function.
21233 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21235 * ob-sh.el (org-babel-execute:sh): Use generic expansion function
21236 (org-babel-expand-body:sh): Delete function
21237 (org-babel-prep-session:sh): Change name of called function
21238 (org-babel-variable-assignments:sh): Change function name.
21240 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21242 * ob-screen.el (org-babel-execute:screen): Use generic expansion
21244 (org-babel-expand-body:screen): Delete function
21245 (org-babel-prep-session:screen): Remove references to processed
21248 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21250 * ob-sass.el (org-babel-execute:sass): Use generic expansion
21252 (org-babel-expand-body:sass): Delete function.
21254 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21256 * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
21258 (org-babel-prep-session:ruby): Use new variable assignment
21260 (org-babel-variable-assignments:ruby): New function
21261 (org-babel-expand-body:ruby): Delete function.
21263 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21265 * ob-python.el (org-babel-execute:python): Use generic expansion
21267 (org-babel-prep-session:python): Change name of called function
21268 (org-babel-variable-assignments:python): Change function name
21269 (org-babel-expand-body:python): Delete function.
21271 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21273 * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
21274 (automatically handled by generic version).
21276 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21278 * ob-perl.el (org-babel-execute:perl): Use generic expansion
21280 (org-babel-expand-body:perl): Delete function
21281 (org-babel-variable-assignments:perl): New function.
21283 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21285 * ob-org.el (org-babel-expand-body:org): Delete function
21286 (automatically handled by generic version).
21288 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21290 * ob-octave.el (org-babel-execute:octave): Use generic expansion
21292 (org-babel-variable-assignments:octave): Change name of function
21293 (org-babel-variable-assignments:matlab): New defalias
21294 (org-babel-prep-session:octave): Change name of function
21295 (org-babel-expand-body:matlab): Delete function
21296 (org-babel-expand-body:octave): Delete function.
21298 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21300 * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
21302 (org-babel-variable-assignments:ocaml): New function
21303 (org-babel-expand-body:ocaml): Delete function.
21305 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21307 * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
21308 (automatically handled by generic version).
21310 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21312 * ob-js.el (org-babel-execute:js): Use new variable assignment
21314 (org-babel-expand-body:js): Delete function
21315 (org-babel-prep-session:js): Use new variable assignment function
21316 (org-babel-variable-assignments:js): New function.
21318 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21320 * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
21322 (org-babel-expand-body:haskell): Delete function
21323 (org-babel-prep-session:haskell): Use variable assignment function
21324 (org-babel-variable-assignments:haskell): New function.
21326 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21328 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
21329 assignment function
21330 (org-babel-prep-session:gnuplot): Use variable assignment function
21331 (org-babel-variable-assignments:gnuplot): New function.
21333 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21335 * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
21336 (automatically handled by generic version).
21338 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21340 * ob-css.el (org-babel-expand-body:css): Delete function
21341 (automatically handled by generic version).
21343 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21345 * ob-asymptote.el (org-babel-execute:asymptote): Use generic
21347 (org-babel-expand-body:asymptote): Delete function
21348 (org-babel-variable-assignments:asymptote): New function.
21350 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21352 * ob-R.el (org-babel-expand-body:R): Use new function
21353 `org-babel-variable-assignments:R'; don't trim body.
21354 (org-babel-execute:R): Respond to changes in
21355 `org-babel-expand-body:R'
21356 (org-babel-prep-session:R): Called function is now named
21357 `org-babel-variable-assignments:R'
21358 (org-babel-variable-assignments:R): Receives processed-params as
21359 new optional argument.
21361 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21363 * ob-C.el (org-babel-C-expand): Don't trim body.
21365 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21367 * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
21368 obtaining variable references.
21370 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21372 * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
21373 assignment lines to generic expansion command.
21375 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21377 * ob.el (org-babel-expand-src-block): Supply variable assignment
21378 lines to generic expansion function
21379 (org-babel-expand-body:generic): Prepend body with optional
21380 variable assignment lines.
21382 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21384 * ob-exp.el (org-babel-exp-results): Replaced old function call.
21386 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21388 * ob-lob.el (org-babel-lob-execute): Now expanding variable
21389 references before execution.
21391 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21393 * ob.el (org-babel-execute-src-block): Only sort parameters if
21394 it's required for caching.
21396 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21398 * ob-table.el (sbe): Reworking for better indentation and to
21399 integrate the new variable resolution.
21401 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21403 * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
21404 variables when resolving references.
21406 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21408 * ob.el (org-babel-merge-params): Fix order or precedence for
21411 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21413 * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
21414 * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
21415 (org-babel-R-variable-assignments):
21416 * ob-asymptote.el (org-babel-expand-body:asymptote)
21417 (org-babel-execute:asymptote):
21418 * ob-clojure.el (org-babel-expand-body:clojure)
21419 (org-babel-execute:clojure):
21420 * ob-css.el (org-babel-expand-body:css):
21421 * ob-ditaa.el (org-babel-expand-body:ditaa):
21422 * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
21423 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
21424 (org-babel-execute:emacs-lisp):
21425 * ob-gnuplot.el (org-babel-expand-body:gnuplot)
21426 * ob-haskell.el (org-babel-expand-body:haskell)
21427 (org-babel-execute:haskell, org-babel-load-session:haskell)
21428 (org-babel-prep-session:haskell):
21429 * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
21430 * ob-latex.el (org-babel-expand-body:latex):
21431 * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
21432 * ob-mscgen.el (org-babel-expand-body:mscgen):
21433 * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
21434 * ob-octave.el (org-babel-expand-body:matlab)
21435 (org-babel-expand-body:octave, org-babel-execute:octave)
21436 (org-babel-octave-variable-assignments):
21437 * ob-org.el (org-babel-expand-body:org):
21438 * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
21439 * ob-plantuml.el (org-babel-expand-body:plantuml):
21440 * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
21441 (org-babel-python-variable-assignments):
21442 * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
21443 * ob-sass.el (org-babel-expand-body:sass):
21444 * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
21445 * ob-screen.el (org-babel-expand-body:screen):
21446 * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
21447 (org-babel-sh-variable-assignments):
21448 * ob-sql.el (org-babel-expand-body:sql):
21449 * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
21450 * ob.el (org-babel-expand-body:generic):
21451 Remove obsoleted optional third argument.
21453 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21455 * ob-clojure.el (org-babel-prep-session:clojure): Purging all
21456 calls to removed org-babel-ref-variables.
21458 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21460 * ob-lob.el (org-babel-lob-ingest): Now returns the count of
21461 ingested code blocks.
21463 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21465 * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
21466 information from within the original export file.
21468 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21470 * ob.el (org-babel-get-src-block-info): Small but crucial fix)
21471 (this should return nil if not match found.
21473 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21475 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
21476 Whitespace (org-babel-execute:emacs-lisp): Whitespace.
21478 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21480 * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
21483 * ob-python.el (org-babel-python-variable-assignments):
21484 Provide missing docstring.
21486 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21488 * ob-octave.el (org-babel-expand-body:octave): Refactor: break
21489 variable assignment part out into a separate function
21490 (org-babel-octave-variable-assignments): New function constructing
21491 list of variable assignment statements
21492 (org-babel-prep-session:octave): Use new function
21493 `org-babel-octave-variable-assignments' instead of previous
21494 (incorrect) variable assignment code.
21496 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21498 * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
21499 assignment part out into a separate function
21500 (org-babel-sh-variable-assignments): New function constructing
21501 list of variable assignment statements
21502 (org-babel-prep-session:sh): Use new function
21503 `org-babel-sh-variable-assignments' instead of previous
21504 (incorrect) variable assignment code.
21506 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21508 * ob-python.el (org-babel-expand-body:python): Refactor: break
21509 variable assignment part out into a separate function
21510 (org-babel-python-variable-assignments): New function constructing
21511 list of variable assignment statements
21512 (org-babel-prep-session:python): Use new function
21513 `org-babel-python-variable-assignments' instead of previous
21514 (incorrect) variable assignment code.
21516 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21518 * ob-R.el (org-babel-expand-body:R): Refactor: break variable
21519 assignment part out into a separate function
21520 (org-babel-R-variable-assignments): New function constructing list
21521 of variable assignment statements
21522 (org-babel-prep-session:R): Use new function
21523 `org-babel-R-variable-assignments' instead of previous
21524 (incorrect) variable assignment code.
21526 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21528 * ob.el (org-babel-initiate-session): Better variable names.
21530 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21532 * ob.el (org-number-sequence):
21533 Declared * ob-R.el (org-number-sequence): Declared.
21535 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21537 * ob.el (org-babel-map-src-blocks): Store correct value of
21540 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21542 * ob.el (org-babel-mark-block): New function to mark the body of a
21543 src block in the style of `mark-defun'.
21545 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21547 * org-compat.el (org-number-sequence): New function.
21549 * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
21551 * ob.el (org-babel-where-is-src-block-result):
21552 Use `org-number-sequence'.
21553 (org-babel-current-buffer-properties): Fix variable definition.
21555 * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
21557 * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
21558 version of `shell-command'.
21560 * org-latex.el (org-export-as-pdf): Use the 2-argument version of
21563 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21565 * org-list.el (org-list-search-unenclosed-generic): Replace call
21568 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21570 * org.el (org-agenda-jump-prefer-future): New option.
21572 * org-agenda.el (org-agenda-goto-date):
21573 Use `org-agenda-jump-prefer-future'.
21575 2010-11-11 Noorul Islam <noorul@noorul.com>
21577 * org-latex.el (org-export-latex-links): Replaced hard coded
21578 hyperref format with custom variable
21579 `org-export-latex-hyperref-format'.
21581 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21583 * org.el (org-insert-heading): Fix docstring.
21585 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
21587 * org-capture.el (org-capture-place-entry): If the first line is
21588 already a headline, just stay there.
21590 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21592 * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
21595 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21597 * org-ascii.el (org-ascii-replace-entities): Match an optional {}
21600 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21602 * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
21605 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21607 * org.el (org-insert-heading): When on the headline of an inline
21608 task, insert another inline tasks.
21610 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21612 * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21613 links for blocks that will actually tangle.
21615 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21617 * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21618 in expanded shell bodies.
21620 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21622 * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21623 newline characters.
21625 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21627 * ob-sh.el (org-babel-expand-body:sh): Align code.
21629 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21631 * ob.el (org-babel-params-from-properties): Max line with at <=80.
21633 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21635 * org-latex.el (org-export-latex-listings-langs): Clojure is now
21636 recognized as a lisp.
21638 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21640 * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21641 to interpret property as header argument value.
21643 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21645 * ob.el (org-babel-parse-header-arguments): Simplify reading of
21648 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21650 * org-publish.el (org-publish-org-to-ascii):
21651 (org-publish-org-to-latin1):
21652 (org-publish-org-to-utf8): New functions.
21654 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21656 * org.el (org-insert-heading): Skip inline tasks when trying to
21657 insert a new heading after the end of the subtree.
21659 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21661 * org-inlinetask.el (org-inlinetask-min-level): Set customization
21662 type to integer or nil.
21664 * org.el (org-insert-heading): When after an inline task, do not
21665 use level but go back to headline level before the inline task.
21667 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21669 * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21671 * org.el (org-indent-line-function): Fix indentation of inline
21674 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21676 * org.el (org-activate-links): Fix customize type.
21678 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21680 * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21683 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21685 * org-latex.el (org-export-latex-minted): Document pygments
21688 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21690 * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21691 file if encryption has been turned on.
21692 (org-mobile-copy-agenda-files): Avoid double encryption of
21695 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21697 * org-exp.el (org-export-latex-minted-with-line-numbers):
21698 Ensure that variable is declared.
21700 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21702 * ob-python.el (org-src-preserve-indentation): Fix compiler
21705 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21707 * org-exp.el (org-export-format-source-code-or-example):
21708 Latex formatting of source code blocks using the minted package
21709 (org-export-plist-vars): Add :latex-minted property
21710 (org-export-latex-minted): Ensure variable is defined
21711 (org-export-latex-minted-langs): Ensure variable is defined.
21713 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21715 * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21717 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21719 * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21721 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21723 * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21724 when `org-src-preserve-indentation' is non-nil.
21726 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21728 * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21729 of blocks added to Library of Babel.
21731 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21733 * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21736 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21738 * org-beamer.el (org-beamer-place-default-actions-for-lists):
21739 Fix typo in regexp.
21741 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21743 * org-list.el (org-toggle-checkbox): Avoid some boundary error
21744 when inserting a checkbox in an empty last item of a list.
21746 2010-11-11 David Maus <dmaus@ictsoc.de>
21748 * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21749 Query article number from file is nil by default.
21751 2010-11-11 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
21753 * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21755 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21757 * org-capture.el (org-capture-place-entry): Move to `beg' before
21758 searching for `%?'.
21760 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21762 * org.el (org-format-latex): Fix mathjax treatment of single
21763 letters in between dollars.
21765 2010-11-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
21767 * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21770 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21772 * org.el (org-blank-before-new-entry): Improve docstring.
21774 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21776 * org-mobile.el (org-mobile-force-id-on-agenda-items):
21778 (org-mobile-write-agenda-for-mobile): Use outline path if we do
21779 not have an ID and are not allowed to make one.
21780 (org-mobile-get-outline-path-link): New function.
21782 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21784 * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21786 (org-mobile-write-agenda-for-mobile): Use the right name, even if
21787 the file get encrypted.
21788 (org-mobile-move-capture): Only delete tempfile if it does exist.
21790 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21792 * ob.el (org-babel-number-p): Fix documentation string.
21794 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21796 * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21797 "tangle" as a positive argument for the :noweb header argument
21800 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21802 * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21803 have links, with tests.
21805 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21807 * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21809 (org-export-latex-get-error): New function.
21810 (org-export-as-pdf): Give an indication of the errors that
21811 happened during processing.
21813 2010-11-11 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
21815 * org-exp.el (org-export-language-setup): Fix Polish entries.
21817 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21819 * org.el (org-set-tags): Allow comma as a separator when
21820 specifying tags at the completion interface.
21821 (org-tags-completion-function): Allow comma as a separator when
21822 specifying tags at the completion interface.
21824 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21826 * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21827 export-file if exporting from a buffer which is not visiting a
21830 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21832 * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21833 name in link construction if there is a heading to follow it.
21835 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21837 * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21838 as an allowed extension.
21840 2010-11-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
21842 * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21843 with zeros. Start applying face earlier.
21845 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21847 * ob.el (or): Don't create org-babel-temporary-directory in batch
21848 as it won't be removed by emacs-kill-hook
21849 (org-babel-remove-temporary-directory): Only try to remove this
21850 directory if it exists.
21852 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21854 * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21857 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21859 * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21860 the tangling message.
21862 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21864 * ob.el (org-babel-load-languages): Fixes compiler warning.
21866 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21868 * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21871 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21873 * org-ascii.el (org-export-as-ascii): Use the correct match group.
21875 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21877 * ob.el (boundp): Uncommenting defvar form for
21878 org-babel-temporary-directory
21879 (org-babel-temp-file): Now using the org-babel-temporary-directory
21880 for holding new babel temporary files
21881 (org-babel-remove-temporary-directory): Removes the babel temp dir
21882 when Emacs shutsdown
21883 (kill-emacs-hook): Now removing the babel temp dir on Emacs
21886 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21888 * org-capture.el (org-capture-fill-template): Initialize history
21891 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21893 * org-src.el (org-edit-src-code): Don't move point when generating
21896 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21898 * org-src.el (org-edit-src-code): Deal with point being in
21901 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21903 * org-table.el (org-table-current-column): Add interactive to turn
21904 this into a command.
21906 2010-11-11 Bernt Hansen <bernt@norang.ca>
21908 * org.el (org-insert-heading): Run org-insert-heading-hook when
21909 creating the first heading in a file.
21911 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21913 * org.el (org-startup-with-inline-images): New option.
21914 (org-startup-options): Add new keywords inlineimages and
21916 (org-mode): Inline images when this has been configured.
21918 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21920 * ob.el (org-babel-get-src-block-info): Remove optional
21921 HEADER-VARS-ONLY argument; further simplification.
21923 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21925 * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21926 prompt in ob-confirm-evaluate in some cases.
21928 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21930 * ob.el (org-babel-demarcate-block): Visible region and completion
21931 during language selection.
21933 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21935 * ob.el (org-babel-get-src-block-info): Remove comment.
21937 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21939 * ob.el (org-babel-get-src-block-info): Simplify function.
21941 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21943 * ob.el (org-babel-get-src-block-info): Form info list correctly
21944 when parenthesized arguments are missing.
21946 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21948 * ob-exp.el (org-export-babel-evaluate): Docstring typo
21949 (org-babel-exp-code): Docstring typo.
21951 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21953 * org-mobile.el (org-mobile-encryption-password):
21955 (org-mobile-encryption-password-session): New variable.
21956 (org-mobile-encryption-password): New function.
21957 (org-mobile-check-setup):
21958 (org-mobile-encrypt-file):
21959 (org-mobile-decrypt-file): Use the new function.
21961 2010-11-11 David Maus <dmaus@ictsoc.de>
21963 * org-capture.el (org-capture-place-template): Widen to remove
21964 possible restrictions in target buffer.
21966 2010-11-11 Jambunathan K <kjambunathan@gmail.com>
21968 * org.el (org-speed-command-hook): Add org-speed-command-hook
21969 (org-babel-speed-command-hook): Hook for Babel's speed commands.
21971 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21973 * ob.el (org-babel-execute-buffer): Re-implement using
21974 `org-babel-map-src-blocks'.
21976 2010-11-11 David Maus <dmaus@ictsoc.de>
21978 * org-capture.el (org-capture-templates): Update doc string with
21979 new message date related escapes.
21981 2010-11-11 David Maus <dmaus@ictsoc.de>
21983 * org-wl.el (org-wl-store-link-message): Define properties %:date)
21984 (%:date-timestamp, and %:date-timestamp-inactive.
21986 * org-mew.el (org-mew-store-link): Dto.
21988 * org-mhe.el (org-mhe-store-link): Dto.
21990 * org-rmail.el (org-rmail-store-link): Dto.
21992 * org-vm.el (org-vm-store-link): Dto.
21994 2010-11-11 David Maus <dmaus@ictsoc.de>
21996 * org-wl.el (org-wl-message-field): Always get literal content of
21999 2010-11-11 David Maus <dmaus@ictsoc.de>
22001 * org-gnus.el (org-gnus-store-link): Define properties
22002 %:date-timestamp and %:date-timestamp-inactive.
22004 2010-11-11 David Maus <dmaus@ictsoc.de>
22006 * org-gnus.el (org-gnus-store-link): Handle empty date header
22009 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
22011 * org.el (org-speed-command-hook): New. Hook for installing
22012 additional speed commands. Use this for enabling speed commands on
22014 (org-speed-command-default-hook): The default hook for
22015 org-speed-command-hook. Factored out from org-self-insert-command
22016 and mimics existing behavior.
22017 (org-self-insert-command): Modify to use org-speed-command-hook.
22019 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22021 * org-agenda.el (org-search-view): Recover spaces in search words
22022 if they were escaped with \ or inside a regexp.
22024 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22026 * org.el (org-additional-option-like-keywords): Add PROPERTIES to
22027 the list of completable meta line words.
22028 (org-complete): Complete property names after #+PROPERTY.
22030 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22032 * ob-python.el (org-babel-python-evaluate-session): Make temp file
22035 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22037 * ob-clojure.el (org-babel-clojure-evaluate-external-process):
22038 Delete extra format argument.
22040 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22042 * ob-org.el (org-babel-org-export): Typo in docstring.
22044 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22046 * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
22049 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22051 * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
22053 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22055 * ob.el (org-babel-process-file-name): New function
22056 (org-babel-maybe-remote-file): Delete function.
22058 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22060 * ob-C.el (org-babel-C-execute): Remove unused variable.
22062 2010-11-11 David Maus <dmaus@ictsoc.de>
22064 * org.el (org-make-link-string): Prevent superfluous colon.
22066 2010-11-11 David Maus <dmaus@ictsoc.de>
22068 * org.el (org-make-org-heading-search-string): Leave headline
22071 2010-11-11 David Maus <dmaus@ictsoc.de>
22073 * org.el (org-make-link-string): Don't escape characters in link
22076 2010-11-11 Bastien Guerry <bzg@gnu.org>
22078 * org-capture.el (org-capture-templates): Update docstring to
22079 advertise %:org-date.
22081 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22083 * ob-dot.el (org-babel-execute:dot): Automatically specifies
22084 "-T<ext>" based on file name extension.
22086 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22088 * ob-org.el (org-babel-org-export): Raise error on nested export
22091 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22093 * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
22096 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22098 * ob.el (org-babel-demarcate-block): Better initialization of
22101 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22103 * org-src.el (org-src-tab-acts-natively): Add customize interface.
22105 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22107 * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
22108 New variable allowing prevention of automatic stripping of leading and
22109 trailing blank lines when exiting edit buffer.
22110 (org-edit-src-exit): Respect value of
22111 `org-src-strip-leading-and-trailing-blank-lines'
22112 (org-src-native-tab-command-maybe):
22113 Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
22116 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22118 * org-src.el (org-edit-src-code): If mark was inside code block
22119 then code edit buffer inherits mark with active region.
22121 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22123 * ob.el (org-babel-demarcate-block): Fix compiler warnings.
22125 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22127 * ob.el (org-babel-demarcate-block): Better handling of empty
22128 space around demarcated area.
22130 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22132 * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
22135 2010-11-11 David Maus <dmaus@ictsoc.de>
22137 * org-gnus.el (org-gnus-open-nntp): New function.
22139 2010-11-11 David Maus <dmaus@ictsoc.de>
22141 * org-wl.el (org-wl-open-nntp): New function.
22143 2010-11-11 David Maus <dmaus@ictsoc.de>
22145 * org-wl.el (org-wl-open): Open message by numeric reference if
22146 article part is not a message id.
22148 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22150 * org-agenda.el (org-agenda-filter-apply): Move cursor to a
22153 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22155 * ob.el (org-babel-demarcate-block): Interactive demarcation of
22158 * ob-keys.el (org-babel-key-bindings): Key bindings for block
22161 2010-11-11 Bastien Guerry <bzg@gnu.org>
22163 * org.el (org-link-types): Add the "message" link type.
22165 2010-11-11 David Maus <dmaus@ictsoc.de>
22167 * org.el (org-link-types): Add 'message:' link type to default
22170 2010-11-11 Bastien Guerry <bzg@gnu.org>
22172 * org-gnus.el (org-gnus-store-link): Add the :date property to
22173 gnus links, allowing the use of %:date in capture templates.
22175 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22177 * org-list.el (org-cycle-list-bullet): Follow order of bullets
22178 indicated in doc-string.
22180 * org-list.el (org-list-bottom-point-with-indent): List is ended
22181 when a line is less indented that the last item, not the less
22184 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22186 * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
22187 original file before resolving code block parameters to ensure
22188 headline and buffer wide parameters are taken into consideration
22189 when only a narrowed portion of the file is exported.
22191 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22193 * org.el (org-forward-same-level): Fix docstring.
22195 2010-11-11 Sebastian Rose <sebastian_rose@gmx.de>
22197 * org-publish.el (org-publish-attachment): Put the attachment into
22198 the right directory.
22200 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
22202 * org.el (org-goto-first-child): New command.
22204 2010-11-11 Matt Lundin <mdl@imapmail.org>
22206 * org-agenda.el (org-prepare-agenda): If the agenda is called from
22207 within the agenda via an elisp link, such as
22208 [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
22209 of the file containing the link, since that buffer is current
22210 during org-prepare agenda (due to a with-current-buffer in
22211 org-agenda-open-link). An additional test now ensures that the
22212 agenda buffer is in fact current when the buffer is erased and
22213 local variables for the agenda are set.
22215 2010-11-11 David Maus <dmaus@ictsoc.de> (tiny change)
22217 * org-exp.el (org-infile-export-plist): Define property macro.
22219 2010-11-11 David Maus <dmaus@ictsoc.de>
22221 * org-mhe.el (org-mhe-get-header): Remove possible folding white
22222 space in message header field.
22224 2010-11-11 David Maus <dmaus@ictsoc.de>
22226 * org-feed.el (org-feed): Fix typo in customization group :tag
22229 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22231 * org-latex.el (org-export-latex-tag-markup): New option.
22232 (org-export-latex-keywords-maybe):
22233 Use `org-export-latex-tag-markup'.
22235 2010-11-11 Rémi Vanicat <vanicat@debian.org> (tiny change)
22237 * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
22238 (org-ical-ts-to-string): Use UTC time when requested.
22240 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
22242 * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
22243 from 'file' to 'http'.
22245 2010-11-11 David Maus <dmaus@ictsoc.de>
22247 * org.el (org-store-log-note): Fix wrong usage
22248 of`org-adapt-indentation'.
22250 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22252 * org.el (org-skip-over-state-notes): Do not compute bottom point
22255 * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
22256 instead of moving to each item.
22258 2010-11-11 David Maus <dmaus@ictsoc.de>
22260 * org-capture.el (org-capture-templates): Small fix in doc string.
22262 2010-11-11 aaa bbb <dominik@powerbook-g4-12-van-aaa-bbb.local>
22264 * org-archive.el (org-get-local-archive-location):
22265 Use `org-archive-location' as default.
22267 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22269 * ob-C.el (org): No longer requires org.
22271 * ob-ledger.el (org): No longer requires org.
22273 2010-11-11 David Maus <dmaus@ictsoc.de>
22275 * org.el (org-priority): Save match data before call to
22276 `read-char-exclusive'.
22278 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22280 * org-list.el (org-list-to-generic): Descriptions labels can be
22281 any suit of symbols, and will end at double colons.
22283 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22285 * org.el (org-indent-line-function): Indent past [@num] and
22286 [@start:num], consistently with what is already done with
22289 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22291 * org.el (org-store-log-note): Indent new notes to the right
22292 column. Also take `org-list-two-spaces-after-bullet-regexp' into
22293 consideration when creating the note.
22295 2010-11-11 David Maus <dmaus@ictsoc.de>
22297 * org-gnus.el (nnimap-group-overview-filename): Declare function
22298 to silence byte compiler.
22300 2010-11-11 David Maus <dmaus@ictsoc.de>
22302 * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
22303 New customization variable.
22304 (org-gnus-nnimap-cached-article-number): New function.
22305 (org-gnus-follow-link): Try to fetch cached article number of
22308 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22310 * ob-org.el (org-babel-org-default-header): Used to insert a dummy
22311 first line into code blocks before export so that the first line
22312 is not interpreted as a title
22313 (org-babel-org-export): Use new dummy code block prefix.
22315 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22317 * ob.el (org-babel-insert-result): No longer throws error when
22318 inserting an empty result.
22320 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22322 * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
22324 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22326 * ob.el (org-babel-do-in-edit-buffer):
22327 Use `org-babel-where-is-src-block-head' to test for source block at
22330 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22332 * ob-keys.el (org-babel-key-bindings): Adding key-binding for
22333 `org-babel-goto-src-block-head'.
22335 * ob.el (org-babel-goto-src-block-head): Jump to the head of the
22336 current code block.
22338 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22340 * ob.el (org-babel-next-src-block): Now raising more informative
22341 error when no further code blocks can be found.
22342 (org-babel-previous-src-block): Now raising more informative error
22343 when no previous code blocks can be found.
22345 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22347 * org-exp-blocks.el
22348 (org-export-preprocess-after-include-files-hook): Now using this
22349 hook instead of `org-export-preprocess-hook'.
22351 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22353 * ob-plantuml.el (org-babel-execute:plantuml): ????
22355 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22357 * ob-python.el (org-babel-python-evaluate): Refactor as call to
22358 either `org-babel-python-evaluate-external-process' or
22359 `org-babel-python-evaluate-session'.
22360 (org-babel-python-evaluate-external-process): New function to
22361 handle evaluation in external process.
22362 (org-babel-python-evaluate-session): New function to handle
22363 evaluation in emacs inferior process.
22365 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22367 * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
22368 or html respecting :results header arg
22369 (org-babel-org-export): Exports a string of text to an output
22372 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22374 * ob.el (org-babel-insert-result): Remove existing results when
22375 nil results are returned.
22377 2010-11-11 David Maus <dmaus@ictsoc.de>
22379 * org-ascii.el (org-export-as-ascii): Bind and set link path for
22380 link type specific markup function.
22382 2010-11-11 David Maus <dmaus@ictsoc.de>
22384 * org-clock.el (notifications-notify): Properly declare function
22385 to silence byte compiler.
22387 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22389 * org-list.el (org-insert-item): Check invisibility of point at a
22390 meaningful location.
22392 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22394 * org-list.el (org-list-insert-item-generic): Updating checkboxes
22395 can modify bottom point of a list, so make it a marker before
22396 calling `org-update-checkbox-count-maybe'.
22398 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22400 * org.el (org-src-fontify-natively): Set to nil by default.
22401 Supply customize interface.
22403 2010-11-11 Bastien Guerry <bzg@gnu.org>
22405 * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
22406 `org-bracket-link-analytic-regexp++' to match the link type.
22408 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22410 * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
22413 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22415 * ob-tangle.el (org-babel-tangle-comment-format-beg):
22416 Format string specifying the link-comment preceding a code block
22417 (org-babel-tangle-comment-format-end): Format string specifying
22418 the link-comment following a code block
22419 (org-babel-tangle-collect-blocks): Storing more information in the
22420 spec of a tangling code block
22421 (org-babel-spec-to-string): Now makes use of customizable
22422 link-comment formats.
22424 2010-11-11 Achim Gratz <Stromeko@stromeko.net> (tiny change)
22426 * org.el (org-delete-backward-char): Check for nil overwrite-mode
22427 before inserting spaces.
22429 2010-11-11 David Maus <dmaus@ictsoc.de>
22431 * org-icalendar.el (org-print-icalendar-entries): Exclude tags
22432 from summary of non-TODO ical entries.
22433 (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
22434 exclude tags from summary of TODO ical entries.
22436 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22438 * ob.el (org-babel-map-src-blocks): Now exposes much information
22439 about the code block in the form of let-bound local variables.
22441 2010-11-11 David Maus <dmaus@ictsoc.de>
22443 * org-list.el (org-outline-regexp, org-ts-regexp)
22444 (org-ts-regexp-both, org-in-regexps-block-p)
22445 (org-level-increment, org-at-heading-p)
22446 (outline-previous-heading, org-icompleting-read)
22447 (org-time-string-to-seconds): Declare to fix compiler warning.
22449 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22451 * org-list.el (org-toggle-checkbox): Ignore items in drawers when
22452 used from an heading. Send an error when no item is in region.
22454 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22456 * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
22457 ensure that edit buffer is exited.
22459 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22461 * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
22462 control the amount of extra newlines inserted into tangled code
22463 (org-babel-tangle-collect-blocks): Now conditionally collects
22464 information to be used for "org" style comments
22465 (org-babel-spec-to-string): Now inserts "org" style comments, and
22466 obeys the newline configuration variable when inserting whitespace.
22468 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22470 * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
22472 (org-babel-tangle): Calls new tangle hook.
22474 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22476 * org-capture.el (org-capture): Compute the length of the correct
22477 string when removing properties.
22479 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22481 * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
22482 names before shell quoting.
22484 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22486 * org-src.el (org-src-tab-indents-natively): New variable
22487 controlling whether language-native TAB action should be performed
22488 (org-src-native-tab-command-maybe): New function to perform
22489 language-native TAB action.
22490 (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
22492 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22494 * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
22495 `org-plantuml-jar-path' before use.
22497 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22499 * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
22500 language major mode buffers during fontification.
22502 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22504 * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
22505 match code blocks with switches and header args.
22506 Call `org-src-font-lock-fontify-block' for automatic fontification of
22507 code in code blocks, controlled by variable
22508 `org-src-fontify-natively'.
22509 (org-src-fontify-natively): New variable.
22511 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22513 * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
22516 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
22518 * org-html.el (org-html-make-link): (expand-file-name) removes
22519 one "/" from "///path-to-file", so add one. Anything other than
22520 'file' type should be exported along with the type.
22522 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
22524 * org.el (org-insert-subheading): Fix compiler warning
22525 (org-insert-todo-subheading): Fix compiler warning.
22527 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22529 * org-capture.el (org-capture): Remove read-only text properties
22531 (org-capture-set-target-location): Throw an error if file+headline
22532 target does not point into a file which is in Org mode.
22534 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22536 * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
22538 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22540 * org-src.el (org-edit-src-code): Improve docstring.
22542 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22544 * ob.el (org-babel-execute-src-block): Document prefix argument in
22547 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22549 * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
22550 org-ditaa-jar-path with expand-file-name.
22552 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22554 * ob.el (org-babel-execute-subtree): Pass prefix arg through to
22555 `org-babel-execute-src-block'.
22557 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22559 * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
22560 [@x] syntax for list numbering.
22562 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22564 * org.el (org-indent-line-function): Indentation of source block
22565 is left to `org-edit-src-exit' and shouldn't be modified by
22566 `org-indent-line-function'. Indentation of others blocks should be
22567 the same as the #+begin line.
22569 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22571 * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
22572 forms on source blocks in current buffer; restore point in current
22575 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22577 * org-list.el (org-list-struct): Accept list boundaries as an
22578 argument in order to avoid computing `org-list-top-point' and
22579 `org-list-bottom-point' twice when indenting.
22581 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22583 * org-list.el (org-list-ending-method): Default value is now
22584 `both', to ensure maximum compatibility before previous
22587 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22589 * org-list.el (org-list-in-item-p-with-indent): Test if first line
22590 is the item beginning.
22592 * org-list.el (org-list-top-point-with-indent): Test if first line
22593 is a valid list beginning.
22595 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22597 * org-list.el (org-list-ending-method): New customizable variable
22598 to tell Org Mode how lists end. See docstring.
22600 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22602 * org-list.el (org-indent-item-tree): Shifting step of top-level
22603 item depends on `org-level-increment'.
22605 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22607 * org.el (org-indent-line-function): Indent first non blank line
22608 after a list according to current heading level.
22610 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22612 * org-docbook.el (org-export-as-docbook): Remove check for
22613 indentation on lines that do not start with a list bullet.
22615 * org-html.el (org-export-as-html): Same thing.
22617 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22619 * org-list.el (org-list-bottom-point): Take into consideration
22620 that bound of search can be before true ending of the list.
22622 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22624 * org-list.el (org-list-struct-apply-struct): No longer shift
22625 item's body twice: one after replacing bullet and one after
22626 changing indentation.
22628 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22630 * org-list.el (org-list-struct-indent): Add code to replace
22631 bullets if needed when indenting.
22633 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22635 * org-list.el (org-list-insert-item-generic): A single item
22636 already counting blank lines in his body should be separated with
22637 the next one by a blank line. Moreover, if user already provided
22638 blank lines, follow his wishes.
22640 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22642 * org-list.el (org-indent-item-tree): When moving top item of a
22643 *-list to column 0, only the first item had its bullet changed to
22644 -. It now changes all items of the top-level list, as expected.
22646 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22648 * org-list.el (org-toggle-checkbox): Go to beginning of line
22651 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22653 * org-list.el (org-list-struct-apply-struct): Check if ancestor
22656 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22658 * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22661 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22663 * org-list.el: Removed unused variable
22664 `org-suppress-item-indentation'.
22666 * org-list.el (org-renumber-ordered-list): Skip item if bullet
22667 number is already good.
22669 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22671 * org-list.el (org-list-automatic-rules): Doc-string reflects this
22674 * org-list.el (org-indent-item-tree): Prevent whole list from
22675 being moved when user is not moving subtree.
22676 Thus `org-cycle-item-indentation' will not allow to move the list.
22678 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22680 * org-list.el (org-indent-item-tree): Remove region code. It was
22681 prone to errors and undocumented.
22683 * org-list.el (org-item-indent-positions): Better heuristics to
22684 determine what bullet the item will have when demoted.
22686 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22688 * org-list.el (org-list-bullet-string): First check if
22689 `org-list-two-spaces-after-bullet-regexp' isn't nil.
22691 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22693 * org-list.el (org-list-bullet-string): Do not modify match-data.
22695 * org.el (org-toggle-item): Now working again when changing list
22696 items into plain text. Moreover take into consideration
22697 `org-list-two-spaces-after-bullet-regexp'.
22699 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22701 * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22702 fix, and improved heuristics to determine bullet when indenting.
22704 * org-list.el (org-item-indent-positions): Function now returns
22705 sane results when there are two lists separated with blank lines
22708 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22710 * org-docbook.el (org-export-as-docbook): Use override="num" in
22711 any listitem matching [@start:num].
22713 * org-html.el (org-export-as-html): Use value="num" in any li
22714 matching [@start:num].
22716 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22718 * org.el (org-set-font-lock-defaults): Correct fontification for
22719 checkboxes found after [@start:?].
22721 * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22722 [@start:?] when looking at a regex after a bullet.
22724 * org-list.el (org-toggle-checkbox): Correct insertion of
22725 checkboxes when there is already a [@start:?] in the item.
22727 * org-list.el (org-checkbox-blocked-p): Properly check if there's
22728 an unchecked item before.
22730 * org-list.el (org-list-parse-list): Function handles items having
22731 both a counter and a checkbox.
22733 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22735 * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22736 stores both indentation and bullet when cycle started.
22738 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22740 * org-list.el: `org-at-description-p' renamed to
22741 `org-at-item-description-p', `org-first-list-item-p' renamed to
22742 `org-list-first-item-p', `org-end-of-item-text-before-children'
22743 renamed to `org-end-of-item-or-at-child'.
22745 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22747 * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22748 of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22749 before toggling a checkbox.
22751 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22753 * org-list.el (org-list-bullet-string): New function returning
22754 bullet concatenated with an appropriate number of white spaces.
22756 * org-list.el (org-list-insert-item-generic): Insert the right
22757 bullet, with help of `org-list-bullet-string'.
22759 * org-list.el (org-indent-item-tree):
22760 Use `org-list-bullet-string'.
22762 * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22764 * org-list.el (org-toggle-checkbox): Send an error when
22765 `org-toggle-checkbox' is trying to insert a checkbox at a
22768 * org-list.el (org-item-re): Modify regexp so it can catch
22769 correct number of white space before item body.
22771 * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22772 consideration new `org-item-re'.
22774 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22776 * org-list.el (org-list-insert-item-generic): The second item in a
22777 list will be separated from its predecessor with the number of
22778 blank lines separating the first item from its parent, if any, or
22781 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22783 * org-list.el (org-indent-item-tree): Fix and reorder every list
22784 and sublist, from parent of list that has moved if indenting, or
22785 from list at point if outdenting.
22787 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22789 * org-list.el (org-indent-item-tree): Try to keep relative
22790 position on line. It can't if point is in white spaces before
22791 bullet because mixed tabs and spaces make some columns
22794 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22796 * org-list.el (org-cycle-item-indentation): Cycle when the whole
22797 item only contains bullet and maybe a checkbox. Previously, TAB
22798 would cycle when the first line of the item was blank.
22800 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22802 * org-list.el (org-cycle-item-indentation): Allow a point just
22803 after a description item or a checkboxed item to start cycling.
22805 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22807 * org-list.el (org-cycle-list-bullet):
22808 Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22809 as valid bullets when cycling.
22811 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22813 * org-list.el (org-cycle-item-indentation): Do return t if and
22814 only if cycling is possible and succeded.
22816 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22818 * org-list.el (org-indent-item-tree): When outdenting a subtree,
22819 the last item shouldn't have a children.
22821 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22823 * org-list.el (org-cycle-item-indentation): Cycling should play
22824 nicely with indent rule in `org-list-automatic-rules'.
22826 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22828 * org-list.el (org-indent-item-tree): If indent rule is activated,
22829 it should be impossible to outdent an item having children without
22830 moving its subtree. Improved reordering of lists modified by
22831 cycling indentation.
22833 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22835 * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22836 `org-fix-bullet-type' to prevent infinite loop, and some checks
22837 already done in `org-renumber-ordered-list'.
22839 * org-list.el (org-fix-bullet-type): Remove a check and call
22840 directly `org-maybe-renumber-ordered-list'.
22842 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22844 * org-list.el (org-indent-item-tree): It shouldn't be possible to
22845 indent the first item of a sublist (though outdent is possible) as
22846 it would break list's structure.
22848 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22850 * org-list.el (org-list-insert-item-generic): When local search
22851 doesn't help, search the list globally for blank lines. Moreover,
22852 don't bother with new lists, and add 1 blank line.
22854 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22856 * org-capture.el (org-capture-place-item):
22857 Use `org-search-forward-unenclosed' and
22858 `org-search-backward-unenclosed' and new variable
22859 `org-item-beginning-re'.
22861 * org-list.el (org-item-beginning-re): Regexp matching beginning
22864 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22866 * org-list.el (org-cycle-list-bullet): Put back support for
22867 'previous argument.
22869 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22871 * org-list.el (org-in-item-p): Handle case when point is at an
22874 * org-list.el (org-list-make-subtree): Add protection when used
22877 * org-list.el (org-insert-item): Remove useless hack now
22878 `org-in-item-p' is fixed.
22880 * org-timer.el (org-timer-item): Remove useless hack now
22881 `org-in-item-p' is fixed.
22883 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22885 * org-list.el (org-cycle-list-bullet): Prevent description items
22886 from being numbered. String argument is also recognized now, as
22887 long as it is a valid bullet.
22889 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22891 * org-list.el (org-indent-item-tree): Moving indentation of top
22892 list item will make the whole list move.
22894 * org-list.el (org-apply-on-list): Function is less sensitive to
22895 changes of indentation.
22897 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22899 * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22902 * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22904 * org-list.el (org-cycle-item-indentation): Allow cycling
22905 description items and checkbox items.
22907 * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22909 * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22912 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22914 * org-list.el (org-insert-item-internal): Guessing of blank lines
22915 number is made by looking at neighboring items, if any.
22917 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22919 * org-list.el (org-sort-list): Add the possibility to sort timer
22920 lists with the ?t or ?T options.
22922 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22924 * org-list.el (org-search-unenclosed-internal): New function to
22925 handle both `org-search-forward-unenclosed' and
22926 `org-search-backward-unenclosed'.
22928 * org-list.el (org-search-backward-unenclosed): Can send errors
22929 now. Removed useless usage of COUNT.
22931 * org-list.el (org-search-forward-unenclosed): Can send errors
22932 now. Removed useless usage of COUNT.
22934 * org-list.el (org-update-checkbox-count):
22935 Use `org-search-forward-unenclosed' and
22936 `org-search-backward-unenclosed' instead of `re-search-forward'
22937 and `re-search-backward'.
22939 * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22940 and `org-search-backward-unenclosed' instead of
22941 `re-search-forward' and `re-search-backward'.
22943 * org-list.el (org-list-make-subtree):
22944 Use `org-search-forward-unenclosed' and
22945 `org-search-backward-unenclosed' instead of `re-search-forward'
22946 and `re-search-backward'.
22948 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22950 * org-list.el (org-insert-item-internal): Fixes the problem when
22951 point was before the first char of the item's body.
22953 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22955 * org-timer.el (org-timer-item): Refactoring. Compute timer string
22956 before inserting it in the buffer.
22958 * org-timer.el (org-timer): Add an optional argument to return
22959 timer string instead of inserting it.
22961 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22963 * org-list.el (org-insert-item-internal): New function to handle
22964 positioning and contents of an item being inserted at a specific
22965 pos. It is not possible anymore to split a term in a description
22966 list or a checkbox when inserting a new item.
22968 * org-list.el (org-insert-item): Refactored by using the new
22969 `org-insert-item-internal' function.
22971 * org-timer.el (org-timer-item): Refactored by using the new
22972 `org-insert-item-internal' function.
22974 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22976 * org-list.el (org-list-bottom-point): Be sure to check real
22977 ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
22979 * org.el (org-cycle-internal-local): Cycle up to end of subtree or
22980 end of item if we are in a list.
22982 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22984 * org-list.el (org-insert-item): Move before any special block in
22985 a list prior to add a new item.
22987 * org-timer.el (org-timer-item): When in a timer list, insert a
22988 new timer item like `org-insert-item'. If in another list, send an
22989 error. Otherwise, start a new timer list.
22991 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22993 * org-list.el: Minor refactoring.
22995 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22997 * org-timer.el (org-timer-item): Insert description list item at
23000 * org-list.el (org-insert-item): Insert the right number of blank
23001 lines before a relative timer.
23003 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23005 * org-list.el (org-insert-item): Remove restriction on latex
23008 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23010 * org-list.el (org-search-backward-unenclosed): Do not stop in
23013 * org-list.el (org-search-forward-unenclosed): Do not stop in
23016 * org-latex.el (org-export-latex-lists): Use the fact that
23017 org-search-forward do not stop anymore at protected places.
23019 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23021 * org-list.el (org-search-backward-unenclosed): Do not prevent
23022 list items from being inside LaTeX blocks.
23024 * org-list.el (org-search-forward-unenclosed): Do not prevent list
23025 items from being inside LaTeX blocks.
23027 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23029 * org-list.el (org-in-item-p): Do not widen before checking if we
23032 * org-list.el (org-list-send-list): We cannot count on
23033 `org-list-top-point' and `org-list-bottom-point' before buffer is
23034 narrowed. Find bounds of list otherwise.
23036 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23038 * org-list.el (org-list-end-regexp): By default, list ending is
23039 exactly 2 blank lines.
23041 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23043 * org-docbook.el (org-export-as-docbook): When we find an empty
23044 line, we do not need to check for
23045 `org-empty-line-terminates-plain-lists' because we would have
23046 found end-list marker before.
23048 * org-html.el (org-export-as-html): Same.
23050 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23052 * org-list.el (org-insert-item): Simplify count of blank lines to
23055 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23057 * org-list.el (org-list-end-regexp): New customizable variable to
23058 define what string should end lists.
23060 * org-list.el (org-list-end-re): Function is now aware of
23061 `org-list-end-regexp'.
23063 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23065 * org-html.el (org-export-as-html): Code cleanup.
23067 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23069 * org-docbook.el (org-export-as-docbook): Properly close any open
23070 list when seeing ORG-LIST-END. Removed any reference to now
23071 unneeded DIDCLOSE variable.
23073 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23075 * org-exp.el (org-export-mark-list-ending): Fix number of blank
23076 lines inserted after a list.
23078 * org-list.el (org-list-parse-list): Fix case when
23079 `org-list-end-re' would have an indentation greater than current
23082 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23084 * org-exp.el (org-export-mark-list-ending): Differentiate between
23085 export backends, and replace `org-list-end-re' by a blank line
23088 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23090 * org-html.el (org-export-as-html): Delete didclose and everything
23091 related to it, as it is no longer needed.
23093 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23095 * org-html.el (org-export-html-preprocess): Remove unneeded
23096 insertion of list end marker, as it is now handled by
23097 `org-export-mark-list-ending'.
23099 * org-html.el (org-export-as-html): Cleaner termination of lists.
23101 * org-exp.el (org-export-mark-list-ending): New function to insert
23102 specific markers at the end of lists when exporting to a backend
23103 not using `org-list-parse-list'. This function is called early in
23104 `org-export-preprocess-string', while it is still able to
23107 * org-latex.el (org-export-latex-lists): Better search for
23108 lists. It now only finds items not enclosed and not protected.
23110 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23112 * org-list.el: Replaced `re-search-forward' by
23113 `org-search-forward-unenclosed' where it made sense.
23115 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23117 * org-list.el (org-apply-to-list): Now a return value is handed at
23118 each new call of the function applied.
23120 * org-list.el (org-fix-bullet-type): Use the new
23121 `org-apply-to-list' format.
23123 * org-list.el (org-renumber-ordered-list): Use the new
23124 `org-apply-to-list' format.
23126 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23128 * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
23131 * org-list.el (org-search-forward-unenclosed): Better regexp used.
23133 * org-list.el (org-search-backward-unenclosed): Better regexp
23136 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23138 * org-list.el (org-sort-list): End-rec function was ill-defined.
23140 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23142 * org-list.el (org-search-forward-unenclosed): Fix behavior when
23143 last occurrence was enclosed.
23145 * org-list.el (org-search-backward-unenclosed): Fix behavior when
23146 last occurrence was enclosed.
23148 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23150 * org.el (org-in-regexps-block-p): Fix documentation.
23152 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23154 * org-list.el (org-search-backward-unenclosed): Fix block regexp.
23156 * org-list.el (org-search-forward-unenclosed): Fix block regexp.
23158 * org-list.el (org-list-parse-list): Minor fix.
23160 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23162 * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
23163 called with t argument.
23165 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23167 * org-html.el (org-export-html-preprocess):
23168 Replace `org-list-end-re' by a blank line during pre-process.
23170 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23172 * org-list.el (org-list-bottom-point): No need for square brackets
23173 for `skip-chars-backward'.
23175 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23177 * org-html.el: Do not delete space between end of list and
23178 beginning of the following.
23180 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23182 * org-html.el: Preprocess buffer string and add ORG-LIST-END where
23183 needed. Lists should not end before seeing this.
23185 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23187 * org-html.el: Notice end of lists.
23189 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23191 * org-list.el (org-list-parse-list): Better handling of
23192 restrictions when function is called on a list with sublists.
23194 * org-list.el (org-list-send-list): Find the true ending of the
23197 * org-list.el (org-list-radio-list-templates): Templates are more
23200 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23202 * ob-js.el (org-babel-js-eoe): Indicate end of input
23203 (org-babel-execute:js): Support for session evaluation
23204 (org-babel-prep-session:js): Fleshed out definition
23205 (org-babel-js-initiate-session): Can initiate a session using
23208 2010-11-11 David Maus <dmaus@ictsoc.de>
23210 * org.el (org-set-regexps-and-options): Protect escape char in
23211 `org-complex-heading-regexp-format'.
23213 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23215 * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
23216 session-based evaluation
23217 (org-babel-execute:scheme): Now supports session-based evaluation
23218 (org-babel-prep-session:scheme): Now works and defines variables
23219 (org-babel-scheme-initiate-session): Now works using run-scheme
23222 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23224 * org.el (org-export-latex-default-packages-alist): Remove the
23225 t1enc package - this is already covered by fontenc.
23227 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23229 * ob.el (with-parsed-tramp-file-name): Declared
23230 (org-babel-tramp-localname): Ensure variable name exists locally.
23232 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23234 * ob.el (org-babel-temp-file): Don't use babel temporary directory
23235 in remote case; use make-temp-file with remote file name so that
23236 temp file is guaranteed not to exist previously on remote machine.
23237 (org-babel-tramp-localname): New function to return local name
23238 portion of possibly remote file specification.
23240 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23242 * ob-R.el (org-babel-R-write-object-command): New unified R
23243 command for writing results to file
23244 (org-babel-R-wrapper-method): Remove variable
23245 (org-babel-R-wrapper-lastvar): Remove variable
23246 (org-babel-R-evaluate-external-process): Use new R command
23247 (org-babel-R-evaluate-session): Use new R command.
23249 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23252 (org-babel-comint-eval-invisibly-and-wait-for-file): New function
23253 to evaluate code invisibly and block until output file exists.
23255 * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
23256 evaluate R code in session for :results value. Write result to
23257 file invisibly using new function
23258 `org-babel-comint-eval-invisibly-and-wait-for-file'.
23260 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23262 * org-capture.el (org-capture-fill-template): Align tags after
23265 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23267 * org-exp.el (org-export-concatenate-multiline-emphasis):
23268 Ignore matches that start in a headline.
23270 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23272 * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
23273 and out-file in shell-quote-argument.
23275 2010-11-11 David Maus <dmaus@ictsoc.de>
23277 * org-docview.el (org-docview-store-link): Use expanded macro to
23279 (doc-view-goto-page, image-mode-window-get): Declare functions for
23282 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23284 * ob-scheme.el: Very preliminary support for evaluating scheme
23287 * org.el (org-babel-load-languages): Adding scheme.
23289 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23291 * ob.el (require): Remove circular (require 'org).
23293 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23295 * ob-R.el (ess-make-buffer-current): Declared.
23296 (ess-ask-for-ess-directory): Declared.
23297 (ess-local-process-name): Declared.
23298 * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
23300 * ob.el (org-edit-src-code): Fixing arguments.
23301 (org-edit-src-exit): Declared.
23302 (org-outline-overlay-data): Declared.
23303 (org-set-outline-overlay-data): Declared.
23305 2010-11-11 Glenn Morris <rgm@gnu.org>
23307 * ob.el: Require org when compiling.
23308 (org-save-outline-visibility): Remove macro declaration.
23310 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23311 Remove unnecessary/macro declarations.
23313 * org-docview.el: Require doc-view when compiling.
23314 (doc-view-goto-page): Autoload rather than declaring.
23315 (doc-view-current-page): Remove macro declaration.
23317 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23318 (org-entry-get, org-table-import): Fix declarations.
23319 (org-match-string-no-properties): Remove declaration.
23321 * ob-sh.el (org-babel-comint-in-buffer)
23322 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23323 (org-babel-comint-with-output): Remove unnecessary declarations.
23325 * ob-R.el (orgtbl-to-tsv): Fix declaration.
23327 * org-list.el (org-entry-get): Fix declaration.
23329 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23331 * ob.el (org-babel-remove-temporary-directory): Remove explicit
23334 2010-11-11 Magnus Henoch <magnus.henoch@gmail.com> (tiny change)
23336 * org-clock.el (org-clocktable-steps): Allow ts and te to be day
23339 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23341 * org-macs.el (org-save-outline-visibility): Move from org.el.
23343 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23345 * ob-org.el (org-babel-default-header-args:org): Additional
23346 ":results silent" default header argument for org code blocks.
23348 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23350 * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
23351 which is now an alias to ":eval no".
23353 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23355 * ob.el (org-babel-remove-temporary-directory): The version of
23356 `delete-directory' found in files.el can not be assumed to be
23357 present on all versions, so this copies the recursive behavior of
23358 that command in such a way that all calls to delete-directory will
23359 also work with the built-in internal C implementation of that
23360 function. This is not overly difficult as all elements of the
23361 directory can be assumed to be files.
23363 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23365 * ob-C.el (org-babel-C-execute): Corrected arguments to
23366 org-babel-temp-file.
23368 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23370 * ob.el (org-babel-temporary-directory): Variable to hold the
23371 value of the Babel temporary directory.
23373 2010-11-11 Aditya Siram <aditya.siram@gmail.com>
23375 * ob.el (org-babel-load-in-session): Expanding noweb references
23378 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23380 * org.el (org-make-link-regexps): Modify regexp of
23383 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
23385 * org-habit.el (org-habit-parse-todo): Find sr-days only if
23386 scheduled-repeat is non nil. Use 4th element of the list returned
23387 by (org-heading-components) as habit-entry. Modify the error
23388 message to be more meaningful.
23390 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23392 * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
23393 ":border" header arguments which both use the "preview" latex
23394 package to fit the resulting PDF image to the figure.
23396 2010-11-11 David Maus <dmaus@ictsoc.de>
23398 * org-wl.el (org-wl-store-link): Don't try to store link if point
23399 is at end of buffer.
23401 2010-11-11 Harri Kiiskinen <harkiisk@gmail.com>
23403 * org-publish.el (org-publish-project-alist): Document the new
23404 body-only property.
23405 (org-publish-org-to): Use the body-only property.
23407 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
23409 * org.el (org-store-link): Return link when invoked
23410 non-interactively from an agenda buffer.
23412 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
23414 * org.el (org-store-link): Storing of links to headlines in
23415 indirect buffers was broken. Fix it.
23417 2010-11-11 Aidan Kehoe <kehoea@parhasard.net>
23419 * ob-tangle.el (org-babel-tangle): Change the MODE argument to
23420 #'set-file-modes to use integer, not character syntax, avoiding
23421 compile problems with recent XEmacs.
23423 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23425 * org-agenda.el (org-agenda-add-entry-text): Make sure we move
23426 forward even if there is no text to be added.
23428 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23430 * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
23431 tags/property matcher.
23433 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23435 * org-exp.el (org-infile-export-plist): Bind case-fold-search to
23438 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23440 * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
23442 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23444 * org-latex.el (org-export-latex-set-initial-vars):
23445 Bind `case-fold-search' to t around the search for special LaTeX setup.
23447 * org-beamer.el (org-beamer-after-initial-vars):
23448 Bind `case-fold-search' to t around the search for special BEAMER
23451 2010-11-11 David Maus <dmaus@ictsoc.de>
23453 * org-agenda.el (org-write-agenda): Delete PostScript file after
23454 creating conversion to PDF.
23456 2010-11-11 David Maus <dmaus@ictsoc.de>
23458 * org-agenda.el (org-write-agenda): Move require statements to
23459 proper place in evaluated lisp expression.
23461 2010-11-11 David Maus <dmaus@ictsoc.de>
23463 * org-agenda.el (org-write-agenda): Rename temporary buffer to
23464 remove dependency of `flet' macro.
23466 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23468 * ob-lob.el (org-babel-lob-get-info): Edit docstring.
23470 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23472 * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
23473 from all standard sources when executing #+lob/#+call lines.
23475 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23477 * ob-R.el (org-babel-R-evaluate): Break the two branches into two
23479 (org-babel-R-evaluate-external-process): New function to handle
23480 external process evaluation
23481 (org-babel-R-evaluate-session): New function to handle session
23484 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23486 * ob.el (org-babel-initiate-session): New function derived from
23487 previous `org-babel-switch-to-session'
23488 (org-babel-switch-to-session): Refactored to use new
23489 `org-babel-initiate-session'.
23491 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23493 * ob.el (org-babel-switch-to-session): Supply missing "P" argument
23496 2010-11-11 David Maus <dmaus@ictsoc.de>
23498 * org-feed.el (org-feed-format-entry): Decode entry according to
23499 its character encoding.
23501 2010-11-11 David Maus <dmaus@ictsoc.de> (tiny change)
23503 * org-feed.el (xml-substitute-special): Declare function for byte
23505 (org-feed-unescape): Remove.
23506 (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
23507 Use `xml-substitute-special' to unescape XML entities.
23509 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23511 * ob.el (org-babel-switch-to-session): Throw error if block if
23512 :session not in effect for the block.
23514 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23516 * org-table.el (org-table-create-with-table.el): Align table
23519 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23521 * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
23522 that org-src buffer is current before attempting exit.
23524 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23526 * org-src.el (ob-comint): Require 'ob-comint
23527 (org-src-babel-info): Define variable.
23529 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23531 * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
23532 in the language major mode edit buffer.
23533 (org-babel-do-key-sequence-in-edit-buffer): New function to call
23534 an arbitrary key sequence in the language major mode edit buffer.
23536 * org-src.el (org-src-switch-to-buffer): Add new allowed value
23537 'switch-invisibly for `org-src-window-setup'.
23539 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23541 * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
23543 (org-src-do-at-code-block): New macro to evaluate lisp with point
23544 at the start of the Org code block containing the code in this
23546 (org-src-do-key-sequence-at-code-block): New function to execute
23547 command bound to key at the Org code block containing the code in
23550 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23552 * ob-R.el (org-babel-R-associate-session): New function to
23553 associate R code edit buffers with ESS comint session.
23555 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23557 * org-src.el (org-edit-src-code): If at src block, store babel
23558 info as buffer local variable.
23559 (org-src-associate-babel-session): New function to associate code
23560 edit buffer with comint session. Does nothing unless a
23561 language-specific function named
23562 `org-babel-LANG-associate-session' exists.
23563 (org-src-babel-configure-edit-buffer): New function to be called
23564 in `org-src-mode-hook'.
23565 (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
23568 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23570 * ob.el (org-babel-switch-to-session-with-code): New function to
23571 generate split frame displaying edit buffer and session.
23573 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23575 * org.el (org-set-tags): Consider org-indent-mode when computing
23578 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23580 * org-compat.el (org-looking-at-p): Only use looking-at-p when
23583 2010-11-11 David Maus <dmaus@ictsoc.de>
23585 * org-agenda.el (org-finalize-agenda-entries): Delete excluded
23586 lines directly after call to sorting filter function.
23588 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23590 * org.el (org-complex-heading-regexp-format): Document the
23592 (org-get-refile-targets): Use `org-complex-heading-regexp-format'
23593 to make the regular expression for matching the headline.
23595 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23597 * org.el (org-refile-check-position): New function.
23599 (org-refile-get-location): Call `org-refile-check-position'.
23601 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23603 * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
23604 instead of equal to compare symbols.
23606 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23608 * org-agenda.el (org-agenda-before-sorting-filter-function):
23610 (org-finalize-agenda-entries):
23611 Apply `org-agenda-before-sorting-filter-function'.
23613 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23615 * org-latex.el (org-export-latex-first-lines): Do not protect meta
23616 lines that have nothing to do with babel.
23618 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23620 * org-capture.el (org-capture-place-template): Handle the
23622 (org-capture-place-item): Provide boundaries for the search to
23623 make sure we do not get a match in a different tree.
23625 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23627 * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23630 2010-11-11 Noorul Islam <noorul@noorul.com>
23632 * org-latex.el (org-latex-to-pdf-process): Add output-directory
23633 option for the command pdflatex.
23634 (org-export-as-pdf): Respect directory in path of
23637 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23639 * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23640 which now means to use MathJax processing for HTML. Also allow
23641 new value `dvipng' to force the old image processing.
23642 (org-infile-export-plist): Parse for MATHJAX setup line.
23644 * org-html.el (org-export-html-mathjax-options): New option.
23645 (org-export-html-mathjax-config): New function.
23646 (org-export-html-mathjax-template): New option.
23647 (org-export-html-preprocess): Call the LaTeX snippet processor
23648 with an additional argument to declare special ways of processing.
23649 (org-export-as-html): Bind the dynamical variable
23650 `org-export-have-math'. Insert the MathJax script template when
23651 it is needed by the document.
23653 * org.el (org-preview-latex-fragment): Call `org-format-latex'
23654 with the additional processing argument.
23655 (org-export-have-math): New variable, for dynamic scoping.
23656 (org-format-latex): Implement specific ways of processing.
23657 New function argument for processing type.
23658 (org-org-menu): Remove the entry to configure LaTeX snippet
23661 2010-11-11 Bastien Guerry <bzg@gnu.org>
23663 * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23664 `org-clock-goto' and `J' for `org-agenda-clock-goto'. If the
23665 heading currently clocked in is not listed in the agenda, display
23666 this entry in another buffer. If there is no running clock,
23667 display a help message.
23669 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23671 * org-latex.el (org-export-latex-tables): Return "" instead of nil
23672 when no label is attached.
23674 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23676 * org-agenda.el (org-agenda-menu-show-match): New option.
23677 (org-agenda-menu-two-column): New option.
23678 (org-agenda-get-restriction-and-command): Implement dispatch menu
23679 without showing the matcher, and with two-column display.
23681 2010-11-11 Bernt Hansen <bernt@norang.ca>
23683 * org-indent.el (org-indent-mode): Fix grammar for message when
23686 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23688 * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23689 no previous result exists.
23691 2010-11-11 Noorul Islam <noorul@noorul.com>
23693 * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23696 2010-11-11 Noorul Islam <noorul@noorul.com>
23698 * org.el (org-set-visibility-according-to-property): Use backward
23699 search instead of forward, so that top hierarchy gets priority.
23701 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23703 * org-agenda.el (org-timeline): Allow indirect buffer.
23705 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23707 * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23708 (org-export-define-heading-targets-headline-hook): New hooks.
23710 * org.el (org-modules): Add entry for org-wikinodes.el.
23711 (org-font-lock-set-keywords-hook): New hook.
23712 (org-open-at-point-functions): New hook.
23713 (org-find-exact-headling-in-buffer):
23714 (org-find-exact-heading-in-directory): New functions.
23715 (org-mode-flyspell-verify): Better cursor position for checking if
23716 flyspell should ignore a word.
23718 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23720 * org-indent.el (org-indent-remove-properties):
23721 (org-indent-add-properties): Make sure changing these properties
23722 does not trigger modification hooks.
23724 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23726 * org.el (org-link-search-must-match-exact-headline): New option.
23727 (org-link-search-inhibit-query): New variable.
23728 (org-link-search): Search for exact headline match in Org files.
23730 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23732 * ob.el (org-babel-execute-src-block-maybe): Remove check for
23733 `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23734 function `org-babel-execute-safely-maybe'.
23736 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23738 * ob.el (org-babel-load-in-session): Set directory in case :dir
23741 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23743 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23744 errors when we're not under of a headline.
23746 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23748 * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23749 write delimited text instead of save -ascii
23750 (org-babel-octave-import-elisp-from-file): Specify that data
23751 written to file is tab-delimited.
23753 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23755 * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23758 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23760 * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23763 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23765 * ob-python.el (org-babel-python-table-or-string): Fix recognition
23766 of lists and tuples.
23768 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23770 * ob-octave.el (org-babel-octave-evaluate-external-process):
23771 Allow remote files.
23773 2010-11-11 Juan Pechiar <pechiar@computer.org>
23775 * ob-octave.el (org-babel-octave-evaluate-external-process):
23776 Use `org-babel-octave-import-elisp-from-file' instead of
23777 `org-babel-eval-read-file'.
23778 (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23779 and use '%s' as format specifier instead of '%S'.
23781 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23783 * ob-octave.el: Only (require 'matlab) when necessary.
23784 (org-babel-octave-initiate-session): (require) octave-inf or matlab
23786 (org-babel-execute:matlab): Remove (require).
23787 (org-babel-prep-session:matlab): Remove (require).
23788 (org-babel-matlab-initiate-session): Remove (require).
23790 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23792 * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23795 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23797 * ob-python.el (org-babel-python-table-or-string): Can now handle
23798 VERY long result lines.
23800 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23802 * org-latex.el (org-export-latex-tables): Add label if any.
23804 * org-latex.el (org-export-latex-convert-table.el-table):
23805 Fix little mistake when inserting label.
23807 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23809 * org.el (org-cycle-internal-local): Remove an unnecessary call
23810 to `org-back-to-heading' that was preventing point to stay at its
23811 column when cycling visibility.
23813 2010-11-11 Noorul Islam <noorul@noorul.com>
23815 * org-capture.el (org-capture-finalize): Make messages consistent.
23817 2010-11-11 Noorul Islam <noorul@noorul.com>
23819 * org-gnus.el: Suppress compiler warning by declaring outside
23820 function nnimap-retrieve-headers-from-file.
23822 2010-11-11 Noorul Islam <noorul@noorul.com>
23824 * org-colview.el Use org-beamer-select-environment instead of
23825 org-beamer-set-environment-tag.
23827 2010-11-11 Matt Lundin <mdl@imapmail.org>
23829 * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23830 that the value of org-last-inserted-timestamp includes time range.
23832 2010-11-11 David Maus <dmaus@ictsoc.de>
23834 * org-wl.el (org-wl-store-link-message): Provide link property for
23835 message-id without angle brackets.
23837 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23839 * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23841 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23843 * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23844 file ensuing that the latest changes on disk are represented.
23846 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23848 * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23849 arguments w/o quotes.
23851 2010-11-11 Bernt Hansen <bernt@norang.ca>
23853 * org-capture.el (org-capture-finalize): Fix clock in of
23854 interrupted task during capture finalize.
23856 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23858 * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23861 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23863 * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23864 expression for matching main function.
23866 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23868 * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23869 regexp -- it wasn't matching lob lines w/o indices.
23871 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23873 * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23874 warning in org-exp.el.
23876 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23878 * org-publish.el (org-publish-file): Better error message if
23879 base-directory or publishing-directory are not defined.
23881 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23883 * org-colview.el (org-columns-display-here): Use overlays to
23884 overrule line prefix properties during column view.
23886 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23888 * org-agenda.el (org-agenda-filter-preset): Document the
23889 limitation for the filter preset - it can only be used for an
23890 entire agenda view, not in an individual block in a block agenda.
23892 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23894 * ob-table.el (sbe): Now able to accept range references from
23897 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23899 * ob.el (org-babel-pick-name): If colnames or rownames contain a
23900 list of names, then use those directly.
23902 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23904 * org-exp.el (org-export-format-source-code-or-example):
23905 Escape underscores in code block names on latex listings export.
23907 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23909 * ob-tangle.el (org-babel-with-temp-filebuffer):
23910 Use find-file-noselect to avoid excess buffer movement.
23912 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23914 * org-html.el (org-html-should-inline-p): Only inline images if
23917 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23919 * org-id.el (org-id-store-link): Autoload.
23921 * org.el ("org-id"): Autoload `org-id-store-link'.
23923 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23925 * org-html.el (org-html-should-inline-p): Only inline images if
23928 2010-11-11 Eric S Fraga <e.fraga@ucl.ac.uk>
23930 * org-icalendar.el (org-icalendar-alarm-time): New option.
23932 * org-icalendar.el (org-print-icalendar-entries): Timed events are
23933 exported with alarm events, a.k.a. reminders.
23935 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23937 * org-capture.el (org-capture-target-buffer): Throw an error if we
23938 have no target file.
23939 (org-capture-select-template): Use a default template if the user
23940 has not specified any.
23942 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23944 * org.el (org-modules): Add entry for org-velocity.
23946 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23948 * ob-lob.el (org-babel-lob-execute): Changing indentation to
23949 improve line length.
23951 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23953 * org-exp.el (org-export-handle-table-metalines): Choose a better
23954 position for checking protectedness.
23956 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23958 * org-table.el (org-table-convert-region): Don't continue csv
23959 importation which the point catches the end, this fixes an
23960 infinite loop which was caused by the (point) never catching up
23961 with the "end" marker.
23963 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23965 * org-macs.el (org-string-nw-p): New function.
23967 * org-capture.el (org-capture-import-remember-templates):
23968 Interpret an empty string as request to use
23969 `org-default-notes-file'.
23970 (org-capture-target-buffer): If the FILE is not a (non-empty)
23971 string, use `org-default-notes-file'.
23973 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23975 * org-capture.el (org-capture-templates): Fix customize type.
23977 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
23979 * org.el (org-refile-targets):
23980 * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
23982 2010-08-19 Glenn Morris <rgm@gnu.org>
23984 * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
23985 (org-save-outline-visibility): Move to org-macs.
23986 * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
23987 (org-save-outline-visibility): Move here from org.el.
23988 (show-all): Autoload it.
23989 * ob.el: Don't require org when compiling.
23991 2010-08-18 Glenn Morris <rgm@gnu.org>
23993 * ob.el: Require org when compiling.
23994 (org-save-outline-visibility): Remove macro declaration.
23995 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23996 Remove unnecessary/macro declarations.
23997 * org-docview.el: Require doc-view when compiling.
23998 (doc-view-goto-page): Autoload rather than declaring.
23999 (doc-view-current-page): Remove macro declaration.
24001 2010-08-17 Glenn Morris <rgm@gnu.org>
24003 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
24004 (org-entry-get, org-table-import): Fix declarations.
24005 (org-match-string-no-properties): Remove unnecessary declaration.
24006 * ob-sh.el (org-babel-comint-in-buffer)
24007 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
24008 (org-babel-comint-with-output): Remove unnecessary declarations.
24009 * ob-R.el (orgtbl-to-tsv): Fix declaration.
24010 * org-list.el (org-entry-get): Fix declaration.
24012 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24014 * ob-C.el: New file.
24015 * ob-R.el: New file.
24016 * ob-asymptote.el: New file.
24017 * ob-clojure.el: New file.
24018 * ob-comint.el: New file.
24019 * ob-css.el: New file.
24020 * ob-ditaa.el: New file.
24021 * ob-dot.el: New file.
24022 * ob-emacs-lisp.el: New file.
24023 * ob-eval.el: New file.
24024 * ob-exp.el: New file.
24025 * ob-gnuplot.el: New file.
24026 * ob-haskell.el: New file.
24027 * ob-keys.el: New file.
24028 * ob-latex.el: New file.
24029 * ob-lob.el: New file.
24030 * ob-matlab.el: New file.
24031 * ob-mscgen.el: New file.
24032 * ob-ocaml.el: New file.
24033 * ob-octave.el: New file.
24034 * ob-perl.el: New file.
24035 * ob-python.el: New file.
24036 * ob-ref.el: New file.
24037 * ob-ruby.el: New file.
24038 * ob-sass.el: New file.
24039 * ob-screen.el: New file.
24040 * ob-sh.el: New file.
24041 * ob-sql.el: New file.
24042 * ob-sqlite.el: New file.
24043 * ob-table.el: New file.
24044 * ob-tangle.el: New file.
24047 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24049 * org-mks.el: New file.
24050 * org-capture.el: New file.
24052 2010-07-19 Christian Egli <christian.egli@sbszh.ch>
24054 * org-taskjuggler.el: New file.
24056 2010-07-19 Matt Lundin <mdl@imapmail.org>
24058 * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
24059 in org-agenda-text-search-extra-files.
24061 2010-07-19 David Maus <dmaus@ictsoc.de>
24063 * org-list.el (org-list-send-list): Locally bind variable `txt'.
24065 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24067 * org.el (org-reload): Now also reloading babel files.
24069 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24071 * org-capture.el (org-capture-set-plist): Make sure txt is a string
24072 before calling `string-match'.
24073 (org-capture-templates): Fix customization type.
24075 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24077 * org-latex.el (org-export-latex-preprocess): Make a special case
24079 (org-latex-entities): Remove the entry for \nbsp.
24080 (org-latex-entities-exceptions): Variable removed.
24082 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24084 * org-capture.el (org-capture-refile): Do not try to manipulate
24087 * org.el (org-refile): Use the correct bookmark here.
24089 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24091 * org-list.el (org-list-send-list): Parse list from its true beginning.
24093 * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
24095 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24097 * org.el (org-insert-link): Correctly determine if we should use
24100 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
24102 * org-list.el (org-list-radio-list-templates): Fix templates.
24104 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
24106 * org-list.el (org-list-send-list): Regexp defining the start of
24107 a radio list is now on par with the one used for radio tables.
24109 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24111 * org-entities.el (org-entities-help): Add a headline for
24112 the user-defined entities.
24114 2010-07-19 Dirk-Jan C. Binnema <djcb.bulk@gmail.com> (tiny change)
24116 * org-agenda.el (org-agenda-action): Document capture key and add it
24119 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24121 * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
24123 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24125 * org-latex.el (org-export-latex-first-lines): Do not mark
24126 meta lines for removal. Do not remove BABEL config lines during export.
24128 2010-07-19 David Maus <dmaus@ictsoc.de>
24130 * org-capture.el (org-capture): Check if
24131 `org-capture-link-is-already-stored' is bound before evaluating.
24133 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24135 * org.el: Add autoload for org-babel-do-load-languages.
24137 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24139 * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
24141 2010-07-19 David Maus <dmaus@ictsoc.de>
24143 * org-feed.el: Change indentation to match coding style
24146 2010-07-19 David Maus <dmaus@ictsoc.de>
24148 * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
24149 library if necessary.
24151 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24153 * org-beamer.el (org-beamer-amend-header): Standardize the
24154 header cookie for the beamer extra stuff.
24156 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24158 * org-beamer.el (org-beamer-amend-header): Put extra header
24161 2010-07-19 David Maus <dmaus@ictsoc.de>
24163 * org-exp-blocks.el (org-export-blocks-format-ditaa)
24164 (org-export-blocks-format-dot): Remove text properties of body before
24165 calculating cache hash.
24167 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24169 * org-latex.el (org-export-latex-tabular-environment): New option.
24170 (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
24172 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24174 * org-compat.el (org-version-check): New function.
24176 * org-indent.el (org-indent-mode): Check for exact emacs version.
24178 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24180 * org-capture.el (org-capture-templates): Allow the template
24181 to come from a file or function call.
24182 (org-capture-place-entry): Get the template from file or function.
24184 2010-07-19 David Maus <dmaus@ictsoc.de>
24186 * org-agenda.el (org-agenda-bulk-action): Don't create marker for
24187 position if target is entire file.
24189 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24191 * org.el (org-autoload): Autoload a few more org-table functions.
24193 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24195 * org.el (org-babel-load-languages): Add ob-mscgen.
24197 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24199 * org-latex.el (org-export-latex-tables): Format string now
24202 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24204 * org.el (org-babel-load-languages): This variable controls which
24205 languages will be loaded by org-babel. It is customizable through
24206 the customize interface.
24208 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24210 * org-latex.el (org-export-latex-format-image): Update number of
24211 arguments to allow for an optional short-name.
24213 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24215 * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
24217 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24219 * org-capture.el (org-capture-set-target-location):
24220 Store exact positions for file+regexp and file+function targets.
24221 (org-capture-place-entry, org-capture-place-item)
24222 (org-capture-place-table-line, org-capture-place-plain-text):
24223 Respect exact positions.
24224 (org-capture-finalize): Make sure we are at the beginning of a line
24225 when fixing the empty lines after the entry.
24227 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24229 * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
24230 (org-entry-get): Pass `literal-nil' into
24231 `org-entry-get-with-inheritance'.
24232 (org-todo): React to nil values of the LOGGING property.
24234 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24236 * org.el (org-default-notes-file): Update docstring.
24238 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24240 * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
24242 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24244 * org-exp.el (org-export-attach-captions-and-attributes):
24245 Add a shortname attribute to caption strings under the symbol name
24246 org-caption-shortn.
24248 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24250 * org.el (org-switchb): Rename from `org-iswitchb'.
24252 (org-iswitchb): New alias.
24253 (org-ido-switchb): Make alias point to `org-switchb'.
24255 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24257 * org-capture.el (org-capture-fill-template):
24258 Respect time-of-day preference in template prompt.
24260 2010-07-19 David Maus <dmaus@ictsoc.de>
24262 * org-feed.el (org-feed-unescape): Remove superfluous lambda.
24264 2010-07-19 David Maus <dmaus@ictsoc.de>
24266 * org-wl.el (org-wl-disable-folder-check): New customization
24268 (org-wl-open): Disable folder check depending on
24269 `org-wl-disable-folder-check'.
24271 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24273 * org-capture.el (org-capture-set-target-location):
24274 Fix file+function interpretation.
24276 2010-07-19 David Maus <dmaus@ictsoc.de>
24278 * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
24281 2010-07-19 David Maus <dmaus@ictsoc.de>
24283 * org-feed.el (xml-entity-alist): Declare variable
24284 `xml-entity-alist' for byte compiler.
24286 2010-07-19 David Maus <dmaus@ictsoc.de>
24288 * org-feed.el (org-feed-unescape): New function.
24289 Unescape protected entities.
24290 (org-feed-parse-atom-entry): Use function for atom:content
24291 type text and html.
24293 2010-07-19 David Maus <dmaus@ictsoc.de>
24295 * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
24298 2010-07-19 Bernt Hansen <bernt@norang.ca>
24300 * org.el (org-time-string-to-absolute): Ignore cyclic repeater
24301 when displaying items on todays agenda date.
24303 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24305 * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
24308 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24310 * org-publish.el (org-publish-initialize-cache):
24311 Make timestamp directory, the entire path to it.
24313 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24315 * org-exp.el (org-export-handle-comments): Make sure to check
24316 for protection in the comment line, and not in the line after it.
24318 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24320 * org-html.el (org-export-html-preprocess): Call org-format-latex,
24321 possibly with a protect-only argument.
24323 * org.el (org-format-latex): New argument PROTECT-ONLY.
24325 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24327 * org-exp.el (org-export-handle-table-metalines): This function
24328 removes table specific meta-lines, now that we aren't wiping
24329 everything that looks remotely like a comment at the end of the
24330 export process we have to be sure to catch all of the specific lines
24333 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
24335 * org-exp.el (org-export-select-backend-specific-text): Properly
24336 get rid of #+Backend and #+ATTR_Backend specifics to backends not
24337 matching the one we're exporting to.
24339 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24341 * org-table.el (orgtbl-to-generic): Add the :remove-newlines
24342 option which will strip newline characters from the text of table
24343 cells and replace then with "\n".
24345 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24347 * org.el (org-confirm-shell-link-function)
24348 (org-confirm-elisp-link-function): Limit the values that can be set by
24351 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24353 * org.el (org-compute-latex-and-specials-regexp): Deal with
24354 string elements by discarding them.
24356 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24358 * org.el (org-iswitchb): Make sure to use at least iswitchb.
24360 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24362 * org-capture.el (org-capture-position-for-last-stored)
24363 (org-capture-bookmark-last-stored-position): New functions.
24364 (org-capture-place-table-line): Better error catching.
24365 (org-capture-place-item, org-capture-place-entry)
24366 (org-capture-place-plain-text):
24367 Call `org-capture-position-for-last-stored'.
24368 (org-capture-finalize): Just call
24369 `org-capture-bookmark-last-stored-position'.
24371 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24373 * org-exp.el (org-export-mark-blockquote-verse-center):
24374 Fix small bug, now grabbing match data before overwritten by looking-at
24375 this fixes a problem with remainders of #+end_quote lines appearing
24376 in exported output.
24378 2010-07-19 David Maus <dmaus@ictsoc.de>
24380 * org.el (org-link-frame-setup): Add customization option for
24383 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24385 * org-latex.el (org-export-latex-fixed-width): Now check
24386 org-example rather than org-protected on verbatim export, because by
24387 default all ": " prefixed lines are marked protected.
24389 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24391 * org-latex.el (org-export-latex-fixed-width): Check for
24392 protection before wrapping ": " lines as verbatim.
24394 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24396 * org-exp.el (org-export-handle-comments): Check for protection
24397 before removing comments.
24399 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24401 * org-entities.el (org-entities): Restructure the list.
24402 (org-entities-help): Turn the help output into a buffer
24403 in Org-mode, so that it becomes easier to find a symbol
24405 (org-entities-create-table): Deal with new structure.
24407 2010-07-19 David Maus <dmaus@ictsoc.de>
24409 * org-agenda.el (org-write-agenda): Use backquotes to expand
24410 `flet' at compile time.
24412 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24414 * org.el (org-entry-properties): Make sure that standard property
24415 names are used even if the user has customized time keywords.
24417 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24419 * org-macs.el (org-not-nil): Return the value if not interpreted
24422 * org.el (org-entry-get)
24423 (org-entry-get-with-inheritance): Interpret the value "nil"
24424 as nil for properties.
24426 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24428 * org.el (org-switch-to-buffer-other-window): Return the buffer.
24430 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24432 * org-macs.el (org-not-nil): New function.
24434 * org.el (org-block-todo-from-children-or-siblings-or-parent):
24435 Use `org-not-nil' to interpret a property value of nil.
24437 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24439 * org.el (org-truely-invisible-p): New function.
24440 (org-beginning-of-line): Use `org-truely-invisible-p'.
24442 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24444 * org-agenda.el (org-agenda-get-timestamps): No errors
24445 while getting TODO state.
24446 (org-agenda-highlight-todo): No error when no keyword has
24449 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24451 * org.el (org-timestamp-change): New optional argument UPDOWN.
24452 Use this to identify calls from org-timestamp-up/down, so that we can
24453 skip by rounding minutes in this case.
24454 (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
24455 (org-timestamp-down-day): Call org-timestamp-change with the
24458 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24460 * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
24462 * org-capture.el: New file.
24464 * org-compat.el (org-get-x-clipboard): Function moved here from
24467 * org-mks.el: New file.
24469 * org.el (org-set-regexps-and-options): Allow statistic cookies as
24470 part of complex headlines.
24471 (org-find-olp): New argument THIS-BUFFER. When set, assume that the
24472 OLP does not contain a file name.
24474 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24476 * org.el (org-mode): Set `comment-start' instead of changing the
24477 syntax of the `#' character.
24479 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24481 * org-exp.el (org-export-format-source-code-or-example): Mark examples
24484 * org-html.el (org-export-html-close-lists-maybe): Check if raw
24485 HTML stuff was actually made from an example.
24487 2010-07-19 Bastien Guerry <bzg@gnu.org>
24489 * org-latex.el: Items are no longer skipped when their first line
24490 ends on a protected element.
24492 * org-list.el: Protected environments looking like lists are not
24495 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24497 * org-exp-blocks.el (org-export-blocks-preprocess):
24498 Cleanup trailing newline after block.
24500 2010-07-19 Bastien Guerry <bzg@gnu.org>
24502 * org-exp.el: Comment regexp now matches documentation. No more
24503 protection check when deleting comments before export.
24505 2010-07-19 Bastien Guerry <bzg@gnu.org>
24507 * org-exp.el (org-export-preprocess-string):
24508 Now using `org-export-handle-include-files-recurse' to resolve
24511 2010-07-19 Bastien Guerry <bzg@gnu.org>
24513 * org-agenda.el (org-agenda-get-deadlines)
24514 (org-agenda-get-scheduled):
24515 * org.el (org-time-string-to-seconds):
24516 For deadline and scheduled agenda display ignore the cyclic repeater
24517 when calculating how many days late the task is. If you have a weekly
24518 task and miss the date the agenda view will show more than a week late
24519 now instead of resetting on the cyclic repeating date. This makes it
24520 much more obvious when you missed a repeating task after the repeater.
24522 2010-07-19 Bastien Guerry <bzg@gnu.org>
24524 * org-exp.el (org-export-mark-blockquote-verse-center):
24525 Consider environments that end at eob.
24527 2010-07-19 Mikael Fornius <mfo@abc.se>
24529 * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
24530 with face `org-special-keyword'. Make property keys as :LAST_REPEAT:
24533 2010-07-19 Mikael Fornius <mfo@abc.se>
24535 * org.el (org-at-property-p): Use save-match-data macro instead of let.
24537 2010-07-19 Mikael Fornius <mfo@abc.se>
24539 * org.el (test): Remove unused test function.
24541 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24543 * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
24545 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24547 * org-exp-blocks.el (org-export-blocks-postblock-hook):
24548 Add documentation to and turn into a defcustom.
24550 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24552 * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
24553 instead of to nil we avoid errors when :prefix1 is defined, but
24556 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
24558 * org-latex.el (org-export-latex-preprocess): Environments coming
24559 from latex backend specific instructions (#+LaTeX) are already
24560 protected and won't be treated as normal environments.
24562 2010-07-19 Bastien Guerry <bzg@gnu.org>
24564 * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
24566 2010-07-19 Bastien Guerry <bzg@gnu.org>
24568 * org-timer.el (org-timer-set-timer): Use a prefix argument.
24569 See the docstring of the function.
24571 2010-07-19 Bastien Guerry <bzg@gnu.org>
24573 * org-timer.el (org-timer-set-timer): Fix bug about canceling
24576 2010-07-19 David Maus <dmaus@ictsoc.de>
24578 * org-w3m.el (org-w3m-copy-for-org-mode)
24579 (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
24580 Get text property directly, not using macro `w3m-anchor'.
24582 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24584 * org.el (org-emph-re): Document the match groups.
24586 2010-07-19 Bernt Hansen <bernt@norang.ca>
24588 * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
24589 t before calling `org-clock-out', so that that function can
24590 know its call context.
24592 2010-07-19 Bastien Guerry <bzg@gnu.org>
24594 * org-timer.el (org-timer-default-timer): New variable.
24595 (org-timer-set-timer): Use the new variable. Also offer the
24596 possibility to replace the current timer by a new one.
24598 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24600 * org.el (org-kill-note-or-show-branches): Hide subtree before
24601 exposing the headings.
24603 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24605 * org.el (org-add-planning-info): Remove the empty line also
24606 if there is no whitespace at all in there.
24608 * org-table.el (org-table-align): Fix alignment of strings
24609 with invisible characters.
24611 2010-07-19 David Maus <dmaus@ictsoc.de>
24613 * org.el (org-refile-cache-get): Return empty list of targets
24614 when cache was cleared.
24615 (org-clone-subtree-with-time-shift): Maybe create ID property
24616 in cloned subtrees.
24617 (org-clone-delete-id): New customization variable.
24618 (org-clone-subtree-with-time-shift): Use customization
24619 variable `org-clone-delete-id'.
24620 (org-clone-subtree-with-time-shift): Remove empty property
24621 drawer in cloned subtrees.
24623 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24625 * org.el (org-refile-use-cache): New option.
24626 (org-refile-cache, org-refile-markers): New variable.
24627 (org-refile-marker, org-refile-cache-clear)
24628 (org-refile-cache-check-set, org-refile-cache-put)
24629 (org-refile-cache-get): New function.
24630 (org-get-refile-targets): Use the refile cache.
24632 * org-clock.el (org-clock-sum): Don't include running clock if
24633 the time block is wrong.
24635 2010-07-19 John Wiegley <jwiegley@gmail.com>
24637 * org-clock.el (org-clock-clock-in, org-clock-in):
24638 Add parameter `start-time'.
24639 (org-clock-resolve-clock): Add parameter `clock-out-time'.
24640 If set, and resolve-to is a past time, then the clock out
24641 event occurs at `clock-out-time' rather than at `resolve-to'.
24642 In this case, `resolve-to' becomes the clock in time.
24643 (org-clock-jump-to-current-clock): Create new global command
24644 to reveal the current clock.
24645 (org-clock-resolve): Add new commands g/G and j/J, and a
24646 help window describing all commands and their meaning.
24647 (org-clock-resolve-expert): New customization variable.
24648 (org-find-open-clocks): Fix a bug that caused discovered
24649 clocks not to match up with the currently active clock.
24650 (org-resolve-clocks): Change the argument
24651 `also-non-dangling-p' to `only-dangling-p', since due to a bug
24652 this was the default behavior all along.
24654 2010-07-19 David Maus <dmaus@ictsoc.de>
24656 * org-id.el (org-id-uuid): New function. Return string with
24657 random (version 4) UUID.
24658 (org-id-method): Make 'uuid the new default value.
24659 (org-id-new): Use `org-id-uuid' if call to uuidgen program
24660 does not return a UUID.
24662 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24664 * org-latex.el (org-export-latex-format-image): Add support
24665 for multicolumn figures in LaTeX.
24667 2010-07-19 David Maus <dmaus@ictsoc.de>
24669 * org.el (org-clone-subtree-with-time-shift): Remove ID
24670 property of original subtree in cloned subtrees.
24672 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24674 * org-exp.el (org-export-format-source-code-or-example):
24675 XEmacs compatibility.
24677 * org-latex.el (org-export-latex-tables): Accept comma in
24680 * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24681 (org-export-docbook-xslt-proc-command): Fix docstring.
24682 (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24683 (org-export-as-docbook-pdf):
24684 Improve formatting of the xslt command.
24686 * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24688 * org.el (org-file-contents): Improve error message.
24689 (org-set-regexps-and-options): Remove spaces at both ends.
24691 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24693 * org-docbook.el (org-export-as-docbook-pdf):
24694 Improve formatting of the xslt command.
24696 2010-07-19 Sebastian Rose <sebastian_rose@gmx.de>
24698 * org-publish.el (org-publish-cache): Use one big hashmap for
24699 each project defined in `org-publish-project-alist'.
24700 (initialize-files-alist): Function removed.
24701 (org-publish-validate-link): Function removed.
24702 (org-publish-get-base-files): Add variable `sitemap-requested'
24703 to avoid sorting where possible.
24704 (org-publish-get-files): Function removed.
24705 (org-publish-get-project-from-filename): Make independent of
24707 (org-publish-file): New argument NO-CACHE.
24709 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24711 * org.el (org-beginning-of-defun, org-end-of-defun):
24713 (org-mode): Install the `org-beginning-of-defun' and
24714 `org-end-of-defun' functions.
24715 (org-pretty-entities): New option.
24716 (org-toggle-pretty-entities): New command.
24717 (org-fontify-entities): New function.
24718 (org-startup-options): New keywords for pretty entities.
24719 (org-set-font-lock-defaults): Call the pretty entities
24722 * org-latex.el (org-export-latex-keywords-maybe): Protect the
24725 2010-07-19 Mikael Fornius <mfo@abc.se>
24727 * org-habit.el (org-habit-build-graph): Help-echo date when
24728 mouse is over stars.
24730 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
24732 * org.el (org-file-apps): Improve docstring to reflect
24735 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24737 * org.el (org-set-startup-visibility): Fix empty line display.
24739 * org-latex.el (org-export-latex-links): Use the formatting
24740 function of the link type, if it is available.
24742 * org-table.el (org-table-get-remote-range): Return to
24743 original buffer when retrieving remote reference.
24745 * org.el (org-display-inline-images): Do the entire buffer,
24746 not just the narrowed region. Clear the cache.
24747 (org-display-inline-images): Match mode file paths.
24749 2010-07-19 David Maus <dmaus@ictsoc.de>
24751 * org-wl.el (org-wl-store-link-folder): Don't throw error when
24752 called on WL folder group.
24754 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24756 * org.el (org-replace-escapes): Make sure the cdr is not nil.
24757 (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24758 (org-mode): Revert comment syntax changes.
24760 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24762 * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24763 keywords, and `C-c / T' for a specific one.
24765 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24767 * org.el (org-mode): Fix comment syntax settings.
24769 * org-src.el (org-edit-src-allow-write-back-p):
24772 * org.el (org-inline-image-overlays): New variable.
24773 (org-toggle-inline-images, org-display-inline-images)
24774 (org-remove-inline-images): New commands.
24775 (org-mode-map): Define a key for `org-toggle-inline-images'.
24777 2010-07-19 David Maus <dmaus@ictsoc.de>
24779 * org-wl.el (org-wl-message-field): New function.
24780 Return content of header field in message entity.
24781 (org-wl-store-link): Call `org-wl-store-link-folder' or
24782 `org-wl-store-link-message' depending on major-mode.
24783 (org-wl-store-link-folder): New function. Store link to
24785 (org-wl-store-link-message): New function. Store link to
24786 Wanderlust message.
24787 (org-wl-store-link-message): Store link to message while
24789 (org-wl-open): Don't try to jump to message when opening a
24792 2010-07-19 David Maus <dmaus@ictsoc.de>
24794 * org.el (org-replace-escapes): Avoid infinite loop when
24795 replace string contains escape sequence it replaces.
24797 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24799 * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24800 encryption when now key is set.
24802 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24804 * org-table.el (org-table-recalculate-buffer-tables)
24805 (org-table-iterate-buffer-tables): New commands.
24807 * org.el (org-check-for-hidden): When there is a region, skip
24810 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
24812 * org-src.el (org-edit-src-code): allow-write-back-p had
24813 erroneously been omitted from let binding.
24815 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24817 * org-agenda.el (org-sorting-choice): New sorting type alpha.
24818 (org-cmp-alpha): New defsubst.
24819 (org-em): New defsubst.
24820 (org-entries-lessp): Only compute needed comparisons.
24822 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24824 * org-html.el (org-format-org-table-html): Test all columns
24825 for number content.
24827 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24829 * org-latex.el (org-export-latex-treat-sub-super-char):
24830 Make sure parenthesis matching is consistent.
24832 * org-table.el (org-table-colgroup-line-p)
24833 (org-table-cookie-line-p): New functions.
24835 * org-exp.el (org-table-clean-before-export): Better tests for
24836 colgroup and cookie lines.
24838 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24840 * org-agenda.el (org-agenda-goto): Push a mark before changing
24843 * org-footnote.el (org-footnote): New group.
24844 (org-footnote-section)
24845 (org-footnote-tag-for-non-org-mode-files): Fix typos.
24847 * org-list.el (org-end-of-item-text-before-children): Also do
24848 the right thing at the end of a file.
24850 * org.el (org-set-packages-alist, org-get-packages-alist):
24852 (org-export-latex-default-packages-alist)
24853 (org-export-latex-packages-alist): Add extra flag to
24854 each package, indicating if it should be used for snippets.
24855 (org-create-formula-image): Add the snippet argument.
24856 (org-splice-latex-header): New argument SNIPPET-P, pass it
24857 through to `org-latex-packages-to-string'.
24858 (org-latex-packages-to-string): New argument SNIPPET-P.
24860 * org-latex.el (org-export-latex-make-header): Add the snippet
24863 * org-docbook.el (org-export-as-docbook): Implement ordered
24864 lists starting at some offset.
24866 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24868 * org.el (org-link-types, org-open-at-point): Add doi links.
24870 * org-ascii.el (org-export-ascii-preprocess): Remove list
24871 startcounter cookies.
24873 * org-list.el (org-renumber-ordered-list): Respect counter
24876 * org-latex.el (org-export-latex-lists): Accept ordered list
24877 item offset cookie.
24879 * org-html.el (org-export-as-html): Accept ordered list
24880 item offset cookie.
24882 * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24883 which messes up alignment of tags.
24885 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24887 * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24888 the modeline display is removed.
24890 * org-exp.el (org-export-format-drawer-function):
24893 * org-agenda.el (org-agenda-refile): New optional argument
24895 (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24897 (org-agenda-bulk-action): Call the refile command with updates
24898 suppressed - but arrange for `org-agenda-redo' to be called at
24901 * org.el (org-mode): Make table mapping quiet.
24902 (org-table-map-tables): New optional argument QUIETLY.
24904 * org-ascii.el (org-export-ascii-preprocess): Make table
24907 * org-html.el (org-export-as-html, org-html-level-start):
24908 Change XHTML IDs to not use dots.
24910 * org-exp.el (org-export-define-heading-targets):
24911 Change XHTML IDs to not use dots.
24913 * org-docbook.el (org-export-docbook-level-start):
24914 Change XHTML IDs to not use dots.
24916 * org-latex.el (org-export-as-latex): Make sure that the
24917 result buffer is in latex-mode.
24919 * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24920 (org-shiftleft-final-hook, org-shiftright-final-hook):
24923 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24925 * org-table.el (org-table-justify-field-maybe): Make sure that
24926 inserting a value does not turn a line into a hline.
24928 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24930 * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24931 (org-clock-sum): Add property to selected headlines.
24932 (org-dblock-write:clocktable): Make tags matcher.
24934 * org.el (org-set-autofill-regexps): XEmacs compatibility.
24936 * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24937 in latex class definitions.
24939 * org.el (org-shiftup-hook, org-shiftdown-hook)
24940 (org-shiftleft-hook, org-shiftright-hook): New hooks.
24942 * org-entities.el (org-entities): Use \land and \lor for logical
24945 * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24946 indentation commands.
24947 (org-hidden-tree-error): New defsubst.
24948 (org-metaleft, org-metaright): Check for hidden stuff and throw an
24950 (org-check-for-hidden): New function.
24952 * org-list.el (org-item-re): New function.
24953 (org-at-item-p): Use `org-item-re'.
24954 (org-end-of-item-text-before-children): New function.
24955 (org-outdent-item, org-indent-item): Arrange for leaving the
24957 (org-outdent-item-tree, org-indent-item-tree): New argument
24959 (org-indent-item-tree): Use `org-end-of-item-text-before-children'
24960 to find the end for processing while ignoring the subtree.
24962 * org-publish.el (org-publish-sitemap-sort-alphabetically)
24963 (org-publish-sitemap-sort-folders)
24964 (org-publish-sitemap-sort-ignore-case): New options.
24966 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24968 * org-publish.el (org-publish-compare-directory-files): Fix sorting.
24970 * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
24972 * org-publish.el (org-publish-project-alist): Update docstring.
24973 (org-publish-file-title-cache): New variable.
24974 (org-publish-initialize-files-alist):
24975 Initialize `org-publish-initialize-files-alist' to nil.
24976 (org-publish-sort-directory-files): New function.
24977 (org-publish-projects): Access the new properties.
24978 (org-publish-find-title): Use the file title cache.
24979 (org-publish-find-title): Build the file title cache.
24980 (org-publish-get-base-files-1): Sort files.
24981 (org-publish-aux-preprocess): Do not throw an error when before
24982 the first headline. Allow an empty target, meaning to link just
24984 (org-publish-index-generate-theindex.inc): Check if there is
24985 actually a target and only then add it to the link.
24986 (org-publish-projects): Fix a remaining issue with the last commit.
24988 * org-html.el (org-export-as-html): Treat verse as open/close
24990 (org-export-html-close-lists-maybe): Allow to splice raw HTML into
24993 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
24995 * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
24996 be used in a read-only mode.
24997 (org-edit-src-code): Different message in read-only mode.
24999 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25001 * org-src.el (org-edit-src-find-region-and-lang): Test for
25002 table.el as late as possible.
25004 * org-colview.el: Make sure this file is never loaded into XEmacs.
25006 * org-agenda.el (org-highlight, org-unhighlight): Use direct
25009 * org.el (org-key): Apply the translations defined in
25010 `org-xemacs-key-equivalents'.
25012 * org-mouse.el (org-mode-hook): Use `org-defkey'.
25014 * org-compat.el (org-xemacs-key-equivalents): New constant.
25016 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25018 * org-inlinetask.el (org-inlinetask-defaut-state): New option.
25019 (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
25020 Obey `org-odd-levels-only'.
25022 * org-compat.el (org-find-overlays): Use overlays-in/at.
25024 * org.el (org-remove-empty-overlays-at)
25025 (org-outline-overlay-data, org-hide-block-toggle)
25026 (org-format-latex, org-context): Use overlays-in/at.
25028 * org-src.el (org-edit-src-exit): Use overlays-in/at.
25030 * org-agenda.el (org-agenda-mark-clocking-task)
25031 (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
25032 (org-agenda-entry-text-hide)
25033 (org-agenda-fix-tags-filter-overlays-at)
25034 (org-agenda-bulk-remove-overlays): Use overlays-in/at.
25036 * org-compat.el (org-overlays-at): Function removed.
25037 (org-overlays-in): Function removed.
25039 2010-07-19 Bastien Guerry <bzg@gnu.org>
25041 * org-clock.el (org-clock-set-current): Just return the headline
25042 itself, strip the TODO keyword, the priority cookie and the tags.
25044 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25046 * org-compat.el (org-xemacs-without-invisibility): New macro.
25047 (org-xemacs-without-invisibility): New macro.
25048 (org-indent-to-column, org-indent-line-to, org-move-to-column):
25049 Redefine using the macro `org-xemacs-without-invisibility'.
25051 * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
25053 * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
25055 * org-compat.el (org-make-overlay, org-delete-overlay)
25056 (org-overlay-start, org-overlay-end, org-overlay-put)
25057 (org-overlay-get, org-overlay-move, org-overlay-buffer):
25059 (org-add-to-invisibility-spec): Function removed.
25061 * org-html.el (org-export-as-html-and-open): Add argument to
25064 * org-habit.el (require): `calendar' is now required already by
25065 org.el on top level.
25067 * org-clock.el (require): `calendar' is now required already by
25068 org.el on top level.
25070 * org-agenda.el (require, org-timeline, org-agenda-list)
25071 (org-todo-list, org-agenda-to-appt): `calendar' is now required
25072 already by org.el on top level.
25074 * org.el (org-export-latex-fix-inputenc): Declare function.
25076 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25079 * org.el (calendar): Require calendar now on top level in org.el
25080 and define aliases to new variables when needed.
25081 (org-read-date, org-goto-calendar): Do not bind obsolete
25084 * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
25085 compilation warning, add comment that this cannot be done with
25086 `with-current-buffer'.
25088 * org-wl.el (org-wl-open): Use `with-current-buffer'.
25090 * org.el (overlay, org-remove-empty-overlays-at)
25091 (org-outline-overlay-data, org-set-outline-overlay-data)
25092 (org-show-block-all, org-hide-block-toggle)
25093 (org-highlight-new-match, org-remove-occur-highlights)
25094 (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
25095 (org-read-date, org-read-date-display, org-eval-in-calendar)
25096 (org-format-latex, org-context)
25097 (org-speedbar-restriction-lock-overlay)
25098 (org-speedbar-set-agenda-restriction): Use the normal overlay API.
25100 * org-table.el (org-table-add-rectangle-overlay)
25101 (org-table-remove-rectangle-highlight)
25102 (org-table-overlay-coordinates)
25103 (org-table-toggle-coordinate-overlays): Use the normal overlay
25106 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
25107 (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
25108 normal overlay API.
25110 * org-colview.el (org-columns-new-overlay)
25111 (org-columns-display-here, org-columns-remove-overlays)
25112 (org-columns-edit-value, org-columns-next-allowed-value)
25113 (org-columns-update): Use the normal overlay API.
25115 * org-clock.el (org-clock-out, org-clock-cancel)
25116 (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
25119 * org-agenda.el (org-agenda-mark-filtered-text)
25120 (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
25121 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
25122 (org-agenda-entry-text-hide)
25123 (org-agenda-restriction-lock-overlay)
25124 (org-agenda-set-restriction-lock)
25125 (org-agenda-filter-by-tag-hide-line)
25126 (org-agenda-fix-tags-filter-overlays-at)
25127 (org-agenda-filter-by-tag-show-all, org-hl)
25128 (org-agenda-goto-calendar, org-agenda-bulk-mark)
25129 (org-agenda-bulk-remove-overlays): Use the normal overlay API.
25131 * org-freemind.el (org-freemind-from-org-mode-node)
25132 (org-freemind-from-org-mode)
25133 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25134 Use interactive-p instead of called-interactively, because this is
25135 backward compatible with older Emacsen I still support..
25137 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25139 * org-exp.el (org-export-define-heading-targets): Fix bug in
25140 regexp finding ID and CUSTOM_ID properties.
25142 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25144 * org-footnote.el (org-footnote-goto-previous-reference):
25145 Rename from `org-footnote-goto-next-reference'.
25147 * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
25148 org-log-repeat is non-nil, or if there is clocking data in the
25151 * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
25153 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25155 * org.el (org-align-all-tags): New command.
25157 2010-07-19 David Maus <dmaus@ictsoc.de>
25159 * org-wl.el (org-wl-link-remove-filter): New customizable
25160 variable. If non-nil, filter conditions are stripped when storing
25161 link to message in filter folder.
25162 (org-wl-shimbun-prefer-web-links): New customizable variable.
25163 If non-nil, links to shimbun messages are created as web links to
25165 (org-wl-nntp-prefer-web-links): New customizable variable.
25166 If non-nil, links to nntp message are created as web links to gmane
25168 (org-wl-namazu-default-index): New customizable variable.
25169 Directory of namazu search index that should be used as default
25170 when opening a link in a search folder.
25171 (org-wl-folder-types): New constant. Wanderlust folder type
25173 (org-wl-folder-type): New function. Return type of Wanderlust
25175 (org-wl-store-link): Create web links for shimbun or nntp messages
25176 and strip filter conditions depending on customizable variables.
25177 (org-wl-open): Open namazu search folder for message when called
25180 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25182 * org.el (org-remove-if, org-remove-if-not): New functions.
25183 (org-open-file): Use internal remove-if functions.
25185 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
25187 * org.el (org-file-apps-entry-match-against-dlink-p): New function.
25188 (org-file-apps-ex): Remove variable.
25189 (org-open-file): Integrate org-file-apps-ex functionality back
25190 into org-file-apps, and decide whether to match a regexp against
25191 the link or the filename using org-file-apps-entry-uses-grouping-p.
25193 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
25195 * org.el (org-file-apps-ex): New variable.
25196 (org-open-file): Before considering org-file-apps, first match the
25197 regexps from org-file-apps-ex against the whole link.
25198 See docstring of org-file-apps-ex.
25200 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25202 * org.el (org-export-latex-default-packages-alist):
25203 Remove microtype package.
25204 (org-todo-repeat-to-state): New variable.
25205 (org-auto-repeat-maybe): Allow user-selected target states.
25206 (org-default-properties): Add the new property REPEAT_TO_STATE.
25208 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25210 * org-mobile.el (org-mobile-check-setup): Make sure that there is
25211 a binary to compute checksums.
25213 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com>
25215 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25218 * org.el (calendar): Require calendar now on top level in org.el
25219 and define aliases to new variables when needed.
25220 (org-read-date, org-goto-calendar): Do not bind obsolete
25223 2010-06-22 Glenn Morris <rgm@gnu.org>
25225 * org-entities.el: Add explicit utf-8 coding cookie to file with
25228 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
25230 * org.el (org-file-complete-link): Avoid (expand-file-name ".").
25232 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
25234 * Version 23.2 released.
25236 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25238 * org-table.el (orgtbl-setup):
25239 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
25241 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25243 * org-table.el (orgtbl-mode): Use define-minor-mode.
25245 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25247 * org.el (org-insert-link): Find the link buffer on visible frames.
25248 (org-export-latex-default-packages-alist): Hyperref must be loaded
25250 (org-open-file): More care with the new matching for file links.
25252 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25254 * org-latex.el (org-export-latex-preprocess): Do not yet protect
25255 defined entities - these will be taken care of later.
25256 (org-export-latex-special-chars): Post-process entity replacement.
25257 (org-export-latex-fontify-headline): Do not yet protect defined
25258 entities - these will be taken care of later.
25259 (org-export-latex-tables, org-export-latex-links): Format the
25262 * org-entities.el (org-entities-user): Fix typo.
25264 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
25266 * org-entities.el (org-entities-user): Improve docstring.
25268 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25270 * org-entities.el (org-macs): Require org-macs, to be sure that we
25271 have `declare-function' defined.
25273 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25275 * org-latex.el (org-export-latex-classes): Update docstring.
25277 * org.el (org-format-latex-header): Add cookies to the header.
25278 (org-splice-latex-header): Implement placement according to cookies.
25280 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25282 * org-publish.el (org-publish-aux-preprocess): Control case
25285 2010-04-10 Bastien Guerry <bzg@gnu.org>
25287 * org.el (org-splice-latex-header): Fix typo.
25289 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25291 * org-latex.el (org-export-latex-make-header):
25292 Use `org-splice-latex-header' to build the header.
25293 (org-export-latex-classes): Update docstring.
25295 * org.el (org-splice-latex-header): New function.
25296 (org-create-formula-image): Use `org-splice-latex-header' to build
25299 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
25301 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25303 * org.el (org-export-latex-packages-alist)
25304 (org-export-latex-default-packages-alist): Fix docstring to
25305 reflect the expected structure.
25307 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
25308 (org-export-docbook-finalize-table): Make use of label for tables.
25310 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25312 * org-attach.el (org-attach-commit): Split on newlines.
25314 * org.el (org-export-latex-default-packages-alist): Use list
25315 instead of cons for the entries.
25317 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25319 * org-entities.el (org-entity-get-representation): Catch the case
25320 that there is not entry in the list.
25322 * org-mobile.el (org-mobile-use-encryption)
25323 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
25325 (org-mobile-check-setup): CHeck the encryption setup.
25326 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
25327 (org-mobile-create-sumo-agenda): Use encryption code.
25328 (org-mobile-encrypt-and-move): New function.
25329 (org-mobile-encrypt-file, org-mobile-decrypt-file):
25331 (org-mobile-move-capture): Decrypt the capture file.
25333 * org.el (org-entities): Require the new file.
25334 (org-export-latex-default-packages-alist): New variable.
25335 (org-complete): Use new entity code for completion.
25336 (org-create-formula-image): Use the new packages variable.
25338 * org-latex.el (org-export-latex-classes): Remove the standard
25339 packages from the class headers.
25340 (org-export-latex-make-header): Use the new package variable.
25341 (org-export-latex-special-chars): Better regexp for entities, to
25342 support entity name that contain numbers.
25343 (org-export-latex-treat-backslash-char): Use the new entity code.
25345 * org-html.el (org-html-do-expand): Use the new entity code.
25347 * org-exp.el (org-export): Add the new export commands.
25348 (org-html-entities): Constant removed.
25349 (org-export-visible): Add the new export commands.
25351 * org-docbook.el (org-docbook-do-expand): Use new entity code.
25353 * org-ascii.el (org-export-ascii-entities): New variable.
25354 (org-export-as-latin1, org-export-as-latin1-to-buffer)
25355 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
25356 (org-export-as-encoding): New function.
25357 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
25358 (org-ascii-replace-entities): New function.
25360 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25361 Ulf Stegemann <ulf@zeitform.de>
25363 * org-entities.el: New file.
25365 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25367 * org-html.el (org-html-level-start): Catch the case that target
25370 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25372 * org.el (org-appearance): Change Customize group variable name
25373 from org-font-lock to org-appearance, and change tag from "Org
25374 Font Lock" to "Org Appearance".
25375 (org-odd-levels-only): Change Customize group variable name.
25376 (org-level-color-stars-only): Change Customize group variable name.
25377 (org-hide-leading-stars): Change Customize group variable name.
25378 (org-hidden-keywords): Change Customize group variable name.
25379 (org-fontify-done-headline): Change Customize group variable name.
25380 (org-fontify-emphasized-text): Change Customize group variable name.
25381 (org-fontify-whole-heading-line): Change Customize group variable name.
25382 (org-highlight-latex-fragments-and-specials): Change Customize
25383 group variable name.
25384 (org-hide-emphasis-markers): Change Customize group variable name.
25385 (org-emphasis-alist): Change Customize group variable name.
25386 (org-emphasis-regexp-components): Change Customize group variable
25388 (org-modules): Remove mention of org-R.
25390 * org-faces.el (org-faces): Change Customize group variable name.
25392 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25394 * org-agenda.el (org-diary-last-run-time): New variable.
25395 (org-diary): Prepare agenda buffers only if last call was some
25398 * org-html.el (org-export-html-preprocess): Replace \ref macros
25400 (org-format-org-table-html): Add the label as an anchor.
25402 * org-docbook.el (org-export-docbook-format-image): Do some
25403 formatting on captions.
25405 * org-latex.el (org-export-latex-tables, org-export-latex-links):
25406 Do some formatting on captions.
25408 * org-html.el (org-export-html-format-image)
25409 (org-format-org-table-html): Do some formatting on captions.
25411 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25413 * org.el (org-hidden-keywords): New customizable variable. This is
25414 a list of symbols specifying which of the special keywords #+DATE,
25415 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
25416 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
25417 implementing new faces and hiding behavior.
25419 * org-faces.el (org-document-title): New face for #+TITLE lines.
25420 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
25421 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
25424 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25426 * org-publish.el (org-publish-sanitize-plist): New function to
25427 rename "index" properties to "sitemap". Do this renaming
25429 (org-publish-with-aux-preprocess-maybe): New macro.
25430 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
25432 (org-publish-aux-preprocess)
25433 (org-publish-index-generate-theindex.inc): New function.
25435 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25437 * org-table.el (org-table-align): Interpret <N> at fixed width,
25438 not as maximum width.
25440 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25442 * org-exp.el (org-export-author-info, org-export-email-info):
25445 * org-beamer.el (org-beamer-select-environment): Rename from
25446 `org-beamer-set-environment-tag'. Improve docstring.
25448 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
25449 problem with odd levels.
25451 * org-ascii.el (org-export-as-ascii): Export email only if the
25454 * org-docbook.el (org-export-as-docbook): Export email only if the
25457 * org-html.el (org-export-as-html): Export email only if the
25460 * org-exp.el (org-export-email-info): New option.
25461 (org-export-plist-vars): Add entry for `org-export-email'.
25463 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25465 * org-table.el (org-table-goto-line): Fix typo.
25467 2010-04-10 Mikael Fornius <mfo@abc.se>
25469 * org.el (org-agenda-files): Typo.
25470 (org-read-agenda-file-list): Add optional argument to help
25471 `org-store-new-agenda-file-list' to remember un-expanded file
25472 names. Expand file names relative to `org-directory'.
25473 (org-store-new-agenda-file-list): Keep un-expanded file names when
25474 saving, if available.
25475 (org-agenda-files): Update documentation.
25477 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25479 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
25480 a buffer with no file name attached.
25482 * org.el (org-log-refile): New option.
25483 (org-log-note-headings): Add a heading for refiling.
25484 (org-startup-options): Add keywords for logging of the refile
25486 (org-refile): Add logging action.
25487 (org-add-log-note): Allow for refiling action.
25489 * org-agenda.el (org-agenda-bulk-action): Make sure
25490 `org-log-refile' is not `note' during a bulk action.
25492 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25494 * org.el (org-map-dblocks): Use save-excursion to remember the
25497 * org-attach.el (org-attach-commit): Remove dependence on xargs.
25498 (org-attach-delete-one): Commit after deleting a file.
25500 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
25501 borders for strike-through emphasis.
25503 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
25504 handling of odd levels.
25506 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
25507 and `future' values.
25508 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25509 Handle `past' and `future' values.
25511 * org.el (org-read-agenda-file-list): Interpret file names
25512 relative to org-directory and allow environment variables and
25515 * org-latex.el (org-export-latex-special-chars): Allow a
25516 parenthesis before an exponent or subscript.
25518 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25520 * org-src.el (org-edit-src-exit): When returning from code edit
25521 buffer, if code block is hidden, leave point at start of
25524 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25526 * org.el (org-insert-heading): Do not remove all spaces if the
25529 * org-indent.el (org-indent): Fix group name.
25531 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25533 * org-table.el (org-table-goto-column): Fix forcing a non-existing
25535 (org-table-get, org-table-put, org-table-goto-line)
25536 (org-table-current-line): New functions.
25538 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
25540 * org.el (org-open-file): Allow regular expressions in
25541 org-file-apps to capture link parameters using groups. In a
25542 command string to be executed, the parameters can be referenced
25543 using %1, %2, etc. Lisp forms can access them using
25544 (match-string n link).
25545 (org-apps-regexp-alist): Adopt the created regexp, as this is now
25546 matched against a file: link instead of the file name.
25548 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25550 * org-crypt.el (org-reveal-start-hook): Add a decryption function
25552 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
25555 * org.el (org-point-at-end-of-empty-headline)
25556 (org-level-increment, org-get-previous-line-level): New function.
25557 (org-cycle-level): Rewritten to be independent of when this
25558 function is called.
25559 (org-in-regexps-block-p): New function.
25560 (org-reveal-start-hook): New hook.
25561 (org-reveal): Run new hook.
25563 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25565 * org-latex.el (org-export-latex-keywords): Start a new paragraph
25566 after time keywords, do not add "\newline".
25568 * org-html.el (org-export-as-html): Avoid double # in href.
25570 * org.el (org-refile-get-location): Catch an invalid target
25573 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25575 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25576 Make sure the behavior regarding to extracting time is
25579 2010-04-10 Stephen Eglen <stephen@gnu.org>
25581 * org-agenda.el (org-agenda-insert-diary-extract-time):
25583 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
25584 variable rather than `org-agenda-search-headline-for-time'.
25586 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25588 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
25590 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25592 * org.el (org-adaptive-fill-regexp-backup): New variable.
25593 (org-set-autofill-regexps): Store a backup of
25594 `adaptive-fill-regexp'.
25595 (org-adaptive-fill-function): Fix filling of comments and ordered
25596 lists. If there is no other match, till try adaptive fill.
25598 2010-04-10 John Wiegley <jwiegley@gmail.com>
25600 * org-agenda.el (org-agenda-include-deadlines): Add new
25601 customization variable to determine whether unscheduled tasks
25602 should appear in the agenda solely because of their deadline.
25603 Default to true, which was the previous behavior (it just wasn't
25605 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
25606 the agenda to show/hide deadline tasks.
25607 (org-agenda-menu): Add menu option for show/hide deadlines.
25608 (org-agenda-list): Make the agenda list sensitive to the value of
25609 `org-agenda-include-deadlines'.
25610 (org-agenda-toggle-deadlines): New function to toggle the value of
25611 `org-agenda-include-deadlines' and repaint the modeline
25613 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25614 modeline if deadline tasks are being displayed.
25616 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25618 * org-table.el (org-table-eval-formula): Replace $# and @# by
25619 current column and row number.
25621 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25623 * org.el (org-set-property, org-delete-property): Go back to
25624 prompting for the property.
25626 * org-latex.el (org-export-latex-make-header): Fully process
25628 (org-export-latex-fontify-headline): Allow several arguments, not
25630 (org-export-latex-fix-inputenc): Catch the error when
25631 `latexenc-coding-system-to-inputenc' is not defined.
25633 * org-agenda.el (org-agenda-skip-if-todo): New function.
25634 (org-agenda-skip-if): Add conditions for TODO keywords.
25635 (org-agenda-skip-if): Document the new todo conditions.
25637 2010-04-10 Mikael Fornius <mfo@abc.se>
25639 * org.el (org-at-property-p): Check if we are inside a property
25640 drawer not just any drawer.
25641 (org-set-property, org-delete-property): When cursor is on a
25642 property key value pair do not prompt for property name instead
25643 use name at cursor.
25644 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25645 on the first line of a property drawer.
25646 (org-property-end-re): Spell check.
25648 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25650 * org-exp.el (org-export-attach-captions-and-attributes): Add the
25651 properties to the entire table, in case the first line is
25654 * org-archive.el (org-archive-reversed-order): New option.
25655 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25656 option `org-archive-reversed-order'.
25658 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25660 * org-agenda.el (org-agenda-entry-types): New variable.
25661 (org-agenda-list): Use `org-agenda-entry-types'.
25662 (org-agenda-custom-commands-local-options): Support for setting
25663 `org-agenda-entry-types' as an option.
25664 (org-diary): Shift some documentation from here to the variable
25665 `org-agenda-entry-types'.
25667 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25669 * org-latex.el (org-export-latex-make-header): Apply macros in
25672 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25673 (org-clock-select-task, org-clock-notify-once-if-expired)
25674 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25675 (org-clock-out-if-current, org-clock-save): Use the new functions.
25677 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25679 * org-docbook.el (org-export-as-docbook): Remove unnecessary
25681 (org-export-as-docbook): Remove unnecessary newline.
25682 (org-export-as-docbook): Fix problem with double footnote
25683 reference in one place.
25685 * org-exp.el (org-export-format-source-code-or-example):
25686 Remove unnecessary newline.
25688 * org.el (org-deadline, org-schedule): Allow rescheduling entries
25691 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25692 function calls that look like references.
25694 * org.el (org-open-at-point): Get link abbreviations from
25697 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25699 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25702 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25704 * org.el (org-link-unescape): Solve issue with lower-case escapes.
25706 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25708 * org-latex.el (org-export-latex-classes):
25709 Add \usepackage{latexsym} to all classes.
25711 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25713 * org-html.el (org-export-as-html): Do not allow protected lines
25714 into the table of contents.
25716 * org-latex.el (org-export-latex-special-chars): Find subsequent
25717 occurrences of special characters.
25718 (org-export-latex-tables): Do not convert table-like stuff that is
25721 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25723 * org-list.el (org-toggle-checkbox): No errors when updating
25724 checkbox count fails because there is no heading.
25726 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25728 * org-clock.el (org-clock-report-include-clocking-task):
25730 (org-clock-sum): Add the current clocking task.
25732 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25734 * org.el (org-cycle): Print a message when in a table.el table.
25735 (org-edit-special): Recognize the table.el context.
25736 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25738 * org-src.el (org-at-table.el-p): Declare.
25739 (org-edit-src-code): Handle a special case for table.el editing.
25740 (org-edit-src-find-region-and-lang): Recognize the table.el
25743 * org-latex.el (org-export-latex-tables): Convert table.el
25745 (org-export-latex-convert-table.el-table): New function.
25747 * org-html.el (org-html-expand): Fix table.el export.
25749 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25752 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25753 table for the id locations.
25755 * org.el (org-read-date-analyze): Match American-style dates, like
25756 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
25757 current year when reading ISO and American dates.
25759 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25761 * org.el (org-face-from-face-or-color): New function.
25762 (org-get-todo-face, org-font-lock-add-priority-faces)
25763 (org-get-tag-face): Use `org-face-from-face-or-color'.
25765 * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25766 Allow simple colors as values.
25767 (org-faces-easy-properties): New option.
25769 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25770 restricted, as an agenda mode.
25771 (org-agenda-fontify-priorities): Allow simple colors as values.
25773 2010-04-10 Bastien Guerry <bzg@gnu.org>
25775 * org-timer.el (org-timer-current-timer): Rename from
25776 `org-timer-last-timer'.
25777 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25778 (org-timer-cancel-timer, org-timer-show-remaining-time)
25779 (org-timer-set-timer): Update to use only one timer.
25781 * org.el (org-set-property): Remove useless space in the prompt.
25783 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25785 * org-html.el (org-export-html-style-default): Add a default style
25788 * org-exp.el (org-export-format-source-code-or-example):
25791 2010-04-10 Bastien Guerry <bzg@gnu.org>
25793 * org-clock.el (org-clock-current-task): New variable to store
25794 last clocked in task.
25795 (org-clock-set-current, org-clock-delete-current): New functions.
25797 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25799 * org-remember.el (org-remember-apply-template): Extend comment.
25800 (org-remember-handler): Implement clock sibling filing.
25802 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25804 * org-publish.el (org-publish-all, org-publish-current-file)
25805 (org-publish-current-project): When called with prefix argument
25806 FORCE, also rebuild the validation file list.
25808 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25811 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25813 * org-html.el (org-export-as-html-and-open): Kill product buffer
25814 if the user wants that.
25816 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25817 if the user wants that.
25819 * org-exp.el (org-export-kill-product-buffer-when-displayed):
25822 * org-agenda.el (org-batch-agenda-csv): Use the time property
25823 instead of the `time-of-day' property.
25825 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25827 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25828 (org-timer-pause-hook, org-timer-set-hook)
25829 (org-timer-cancel-hook): New hooks.
25830 (org-timer-start): Run `org-timer-start-hook'.
25831 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25832 (org-timer-stop): Run `org-timer-stop-hook'.
25833 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25835 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25837 * org.el (org-reveal): Double prefix arg shows the subtree of the
25840 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25842 * org-agenda.el (org-search-view): Fix bug with searching full
25843 words in headlines in search view.
25844 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25845 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25846 scheduled (if the user configures it so.
25848 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25850 * org.el (org-hide-archived-subtrees): Don't jump to end of
25851 subtree if the match was not in a headline.
25852 (org-inside-latex-macro-p): Allow more complex arguments.
25853 (org-emphasize): Protect against use at end of buffer.
25855 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25857 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25860 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25862 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25864 (org-agenda-todo-ignore-scheduled)
25865 (org-agenda-todo-ignore-deadlines): More control with different
25867 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25868 Honor the new option settings.
25870 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25872 * org.el (org-get-location): Make sure the selection buffer is
25873 shown in the current frame.
25875 * org-ascii.el (org-export-ascii-table-widen-columns):
25877 (org-export-ascii-preprocess): Realign tables to remove narrowing
25878 if `org-export-ascii-table-widen-columns' is set.
25880 * org-table.el (org-table-do-narrow): New variable.
25881 (org-table-align): Narrow only if `org-table-do-narrow' is t.
25883 * org.el (org-deadline, org-schedule): Allow updating if the
25884 relevant time stamp does not have a repeater, i.e. do not require
25885 that no time stamp has a repeater.
25887 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25888 new white space before the tags.
25890 * org-latex.el (org-export-as-latex): Do nit require the buffer to
25891 be visiting a file when only exporting to a buffer or string.
25892 (org-export-latex-fix-inputenc): Only save the buffer is there is
25893 a file name attached to it.
25895 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25897 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25899 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25901 * org.el (org-fontify-meta-lines-and-blocks):
25902 Honor `org-fontify-quote-and-verse-blocks'.
25904 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25906 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25908 * org.el (org-open-at-point): Also check for text property
25909 org-linked-text before offering collected links.
25911 2010-04-10 Stephen Eglen <stephen@gnu.org>
25913 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25914 Optionally extract time specification from text and add to the
25917 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25919 * org-exp.el (org-html-entities): Fix typo.
25921 * org-latex.el (org-export-latex-make-header): Use \providecommand
25922 to make sure the \alert macro is defined.
25924 * org.el (org-format-latex-signal-error)
25925 (org-create-formula-image): Use `org-format-latex-signal-error'.
25927 2010-04-10 Stephen Eglen <stephen@gnu.org>
25929 * org.el (org-store-link): For dired buffers, use
25930 default-directory as link name if dired-get-filename returns
25933 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25935 * org-exp.el (org-export-concatenate-multiline-links): The for
25936 protectedness at beginning of match.
25938 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25939 AUTO as a coding system, instead default to utf8.
25941 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25943 * org.el (org-block-todo-from-children-or-siblings-or-parent)
25944 (org-block-todo-from-checkboxes): Respect the local variable
25945 value when deciding if blocking should be active.
25947 * org-latex.el (org-export-latex-make-header): Define the align
25948 macro if it is not yet defined.
25950 * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25951 Call `org-insert-heading' with the INVISIBLE-OK argument.
25953 * org-mac-message.el (org-mac-message-insert-flagged):
25954 Call `org-insert-heading' with the INVISIBLE-OK argument.
25956 * org.el (org-insert-heading): New argument INVISIBLE-OK.
25958 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
25961 * org-html.el (org-html-level-start): Use the
25962 `html-container-class' text property to set an additional class
25963 for an outline container.
25965 * org-exp.el (org-export-remember-html-container-classes):
25967 (org-export-preprocess-string):
25968 Call `org-export-remember-html-container-classes'.
25970 * org.el (org-cycle): Mention level cycling in the docstring.
25971 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
25973 * org-remember.el (org-remember-apply-template): Do file insertion
25976 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25978 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
25979 problem with mis-aligned graphs when showing habits.
25981 2010-04-10 Mikael Fornius <mfo@abc.se>
25983 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
25984 when assigning. Begin using numerical characters when all in name
25985 is used up. This is to spare alphanumeric characters for better
25986 match with other keywords.
25988 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25990 * org-exp.el (org-export-preprocess-hook): Improve documentation.
25992 * org-latex.el (org-export-latex-preprocess): More consistent
25993 conversion and protection of the words LaTeX and TeX.
25994 (org-export-latex-fontify-headline, org-export-latex-preprocess):
25995 Allow angle brackets in commands, for beamer.
25997 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25999 * org-clock.el (org-clock-in): Improve the look of the clock line
26000 by formatting links.
26002 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26004 * org-latex.el (org-export-latex-classes): Use AUTO as the place
26005 holder string for the coding system. And improve the
26007 (org-export-latex-fix-inputenc): Only modify the coding system if
26008 it is given by the placeholder AUTO.
26010 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26012 * org-clock.el (org-task-overrun-text): New option.
26013 (org-task-overrun, org-clock-update-period): New variables.
26014 (org-clock-get-clock-string, org-clock-update-mode-line):
26015 Mark overrun clock.
26016 (org-clock-notify-once-if-expired): Check if clock is overrun.
26018 * org-faces.el: New face `org-mode-line-clock-overrun'.
26020 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
26022 * org.el (org-narrow-to-subtree): Position the end of the narrowed
26023 region before the line with the next heading, to prevent the user
26024 from prepending text to the next headline.
26026 2010-04-10 Stephen Eglen <stephen@gnu.org>
26028 * org-agenda.el (org-get-time-of-day):
26029 Use org-agenda-time-leading-zero to allow leading zero (rather than
26032 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26034 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26035 org-datetree.el is loaded.
26037 * org-datetree.el: Autoload `org-datetree-find-day-create'.
26039 * org-latex.el (org-export-latex-hyperref-format): New option.
26040 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
26042 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26044 * org-ctags.el (org-ctags-enable): Change order of functions.
26045 (org-ctags-create-tags): Add wildcard to file name expansion.
26047 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26049 * org.el (org-entry-properties): Fix some important bugs.
26051 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26053 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
26054 the table is not explicitly given.
26056 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26058 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
26060 (org-clock-out-if-current): Work with the new list value of
26061 `org-clock-out-when-done'.
26062 (org-clock-out, org-clock-out-if-current): Avoid circular logic
26063 between clocking out and state changes.
26065 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
26067 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
26068 accident protect a character that is before a backslash.
26070 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
26072 * org-ctags.el: New file.
26074 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26076 * org-agenda.el (org-diary-class):
26077 Use `org-order-calendar-date-args'.
26079 * org.el (org-order-calendar-date-args): New function.
26081 * org-exp.el (org-export-target-internal-links): Check for
26082 protectedness after the first bracket.
26084 * org.el (org-entry-properties): Don't match wrong-case TODO
26087 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
26088 Document that ARG is passed through to remove the date.
26089 (org-agenda-bulk-action): Accept prefix arg and pass it on.
26090 Do not read a date when the user has given a `C-u' prefix.
26092 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26094 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
26097 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26099 * org-latex.el (org-export-latex-fix-inputenc): New function.
26100 (org-export-latex-inputenc-alist): New option.
26102 * org-exp.el (org-export): New key SPC to publish enclosing
26105 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26107 * org-indent.el (org-indent-add-properties): Catch case when there
26108 is no headline in the buffer.
26110 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26112 * org-exp.el (org-html-entities): Add checkmark symbol.
26114 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
26115 verbatim code for ASCII export.
26117 * org.el (org-update-statistics-cookies): Also see checkboxes in
26120 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26122 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
26125 * org-beamer.el (org-beamer-amend-header): Change the location
26126 where `org-beamer-header-extra' is inserted.
26128 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
26129 just for computing this regexp.
26131 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26133 * org-beamer.el (org-beamer-frame-default-options): New option.
26134 (org-beamer-sectioning): Use default options if the user does not
26136 (org-beamer-fix-toc): Put a frame around the table of contents.
26138 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
26139 Make sure case-folding works well when processing comment stuff.
26141 * org-latex.el (org-export-latex-after-save-hook): New hook.
26142 (org-export-as-latex): Run the new hook.
26144 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26146 * org-beamer.el (org-beamer-environments-default): Add the note
26148 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
26149 lines and collect and combine the content.
26150 (org-beamer-after-initial-vars): Check for note tags and make sure
26151 they will be seen like a property.
26153 * org.el (org-offer-links-in-entry): Fix bug when there is a
26156 * org-exp.el (org-export): Make sure the mark is activated, also
26157 when `transient-mark-mode' is off.
26159 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
26160 (org-agenda-search-view-search-words-only): Obsolete variable, is
26161 now an alias for `org-agenda-search-view-always-boolean'.
26162 (org-agenda-search-view-force-full-words): New option.
26163 (org-search-view): Improve docstring, and implement a better logic
26164 for Boolean and phrase searches.
26165 (org-agenda-last-search-view-search-was-boolean): New variable.
26166 (org-agenda-manipulate-query): Consider the type of the last
26167 search when modifying the search string.
26169 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26171 * org-latex.el (org-export-as-latex): Do the first letbind in the
26174 * org-agenda.el (org-get-entries-from-diary): Add the new face to
26177 * org-faces.el (org-agenda-diary): New face.
26179 * org.el (org-make-link-regexps): Allow regexp-special characters
26181 (org-open-file): When in-emacs is `system', also force system
26182 opening, like when the value was `(16)'.
26183 (org-update-statistics-cookies): Handle entries without children.
26186 (org-export-preprocess-before-normalizing-links-hook): New hook.
26187 (org-export-preprocess-string): Run the new hook.
26189 * org.el (org-offer-links-in-entry): Make RET open all links.
26191 * org-html.el (org-export-as-html): Remove any leftover display
26192 properties in the html file.
26194 * org-wl.el (org-wl-store-link): Work-around for format bug with
26197 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
26198 invisibility while adding the graphs.
26200 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26202 * org-remember.el (org-select-remember-template): Use C letter to
26203 customize remember templates.
26205 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
26206 Move cursor to next visible line.
26208 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26210 * org-beamer.el (org-beamer-sectioning): Leave columns environment
26211 by specifying 0 or 1 for column width.
26212 (org-beamer-column-widths): Make 0 stand for 0.0.
26214 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26216 * org-exp.el (org-export-mark-radio-links): Don't match inside
26219 * org.el (org-format-latex-header-extra): New variable.
26220 (org-format-latex): Set org-format-latex-header-extra from
26222 (org-format-latex): Add org-format-latex-header-extra to the
26223 variables on which image creation depends.
26224 (org-create-formula-image): Add the header stuff from in-buffer
26226 (org-read-date-analyze): Base the analysis for future preference
26227 on NOW, not on the default date.
26229 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
26230 for TODO keyword in inline tasks.
26232 * org.el (org-log-note-headings): New headings for removing
26233 deadline or scheduling date.
26234 (org-deadline, org-schedule): Arrange for logging when removing a
26236 (org-add-log-note): Handle deadline and scheduling removal.
26238 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26240 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
26242 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26244 * org-agenda.el (org-diary-class): New function.
26246 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26248 * org-latex.el (org-export-latex-preprocess): Do process the text
26251 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26253 * org.el (org-entry-properties): Add TIMESTAMP properties back
26256 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26258 * org.el (org-all-time-keywords): New variable.
26259 (org-set-regexps-and-options): Set `org-all-time-keywords'.
26260 (org-entry-blocked-p): New function.
26261 (org-special-properties): Add BLOCKED as a new special property.
26262 (org-entry-properties): New optional argument SPECIFIC, only parse
26263 for this property when it is specified.
26264 (org-entry-get): Pass a SPECIFIC argument to
26265 `org-entry-properties'.
26267 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
26269 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26271 * org-latex.el (org-export-latex-tables): No forced line end if
26272 there is no caption.
26274 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26276 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
26279 * org-latex.el (org-export-latex-tables): Only add a caption when
26280 macro is in longtable environments if one has been defined.
26282 * org-html.el (org-export-as-html): Only take title from buffer if
26283 not exporting body-only.
26285 * org-latex.el (org-export-latex-preprocess): Better version of
26286 the regular expression for protecting LaTeX macros.
26287 (org-export-latex-preprocess): Start searching for macros to
26288 protect from beginning of buffer.
26290 * org-exp.el (org-export-target-internal-links): Check for
26291 protectedness earlier in the string.
26293 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
26296 * org-id.el (org-id-store-link): Match TODO keywords case
26299 * org.el (org-heading-components, org-get-outline-path)
26300 (org-display-outline-path): Match TODO keywords case sensitively.
26302 * org-latex.el (org-export-as-latex): Ignore read-only
26305 * org-exp.el (org-export-preprocess-string): Remove any
26306 `read-only' properties.
26308 * org-agenda.el (org-agenda-inactive-leader): New option.
26309 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
26310 (org-tags-view): Prompt for matcher if MATCH is an empty string.
26311 (org-todo-list): Prompt for matcher if ARG is an empty string.
26313 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26315 * org.el (org-open-link-functions): New hook.
26316 (org-open-at-point): Run `org-open-link-functions'.
26318 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26320 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
26323 * org.el (org-inhibit-startup-visibility-stuff): New variable.
26324 (org-mode): Don't do startup visibility if inhibited.
26325 (org-outline-overlay-data, org-set-outline-overlay-data):
26327 (org-save-outline-visibility): New macro.
26328 (org-log-note-headings): Document that one should not change the
26329 `state' note format.
26331 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26333 * org.el (org-make-link-regexps): Capture link path into a group.
26335 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26337 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
26340 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26342 * org.el (org-startup-with-beamer-mode): New option.
26343 (org-property-changed-functions)
26344 (org-property-allowed-value-functions): New hooks.
26345 (org-entry-put, org-property-get-allowed-values): Run the new
26347 (org-property-next-allowed-value): Run the new hooks.
26349 * org-exp.el (org-export-select-backend-specific-text): Add the
26350 special beamer tags.
26352 * org-beamer.el: New file.
26354 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
26355 (org-export-as-latex):
26356 Run `org-export-latex-after-initial-vars-hook'.
26357 (org-export-latex-format-toc-function)
26358 (org-export-latex-make-header):
26359 Call `org-export-latex-format-toc-function'.
26361 * org.el (org-fill-template): Make template searches case sensitive.
26363 * org-exp.el (org-export): Use "1" as a sign to export only the
26366 * org-colview.el (org-columns-edit-value):
26367 Use org-unrestricted property.
26369 * org.el (org-compute-property-at-point): Set org-unrestricted
26370 text property if the list contains ":ETC".
26371 (org-insert-property-drawer):
26372 Use org-unrestricted property.
26375 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
26376 (org-export-preprocess-string):
26377 Run `org-export-preprocess-before-selecting-backend-code-hook'.
26379 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
26381 * org-latex.el (org-export-region-as-latex):
26382 Run `org-export-first-hook'.
26384 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
26386 * org-docbook.el (org-export-as-docbook):
26387 Run `org-export-first-hook'.
26389 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
26391 * org-exp.el (org-export-first-hook): New hook.
26393 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26395 * org-list.el (org-previous-item): Exit at the beginning of the
26398 * org-id.el (org-id-locations-save): Only write the id locations
26399 if any are defined.
26401 * org-archive.el (org-archive-all-done): Make this work in a file
26402 with org-odd-levels-only set.
26404 * org.el (org-get-refile-targets): Catch the case when a buffer
26407 * org-latex.el (org-export-as-latex): Cleanup forced line ends
26408 where they are not needed.
26409 (org-export-latex-subcontent): Remove unnecessary newlines.
26411 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26413 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
26414 (org-export-latex-fontify): Fix regexp bug that takes special
26415 care of protecting the right boundary characters in emphasis
26417 (org-export-latex-preprocess): Allow multiple arguments to latex
26420 * org.el (org-make-link-regexps): Use John Gruber's regexp for
26423 * org-macs.el (org-re): Interpret :punct: in regexps.
26425 * org-exp.el (org-export-replace-src-segments-and-examples):
26426 Also take the final newline after the END line.
26428 * org.el (org-clean-visibility-after-subtree-move): Only fix
26429 entries that are not entirely invisible already.
26430 (org-insert-link): Respect org-link-file-path-type for
26431 "docview:" links in addition to "file:" links.
26433 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26435 * org-exp.el (org-export-format-source-code-or-example):
26436 Avoid additional extra white lines in LaTeX.
26438 * org-list.el (org-list-parse-list): Leave empty lines after the
26439 list, don't consider them as part of the list.
26441 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
26444 * org-clock.el (org-clock-select-task): Convert integer to
26445 character for XEmacs.
26447 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26449 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
26452 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
26454 * org.el (org-complete-tags-always-offer-all-agenda-tags):
26456 (org-set-tags): Use it.
26458 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26460 * org-list.el (org-empty-line-terminates-plain-lists):
26463 * org.el (org-format-latex): Fix link creation for processed latex
26466 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26468 * org-footnote.el (org-footnote-normalize): Protect replacement
26471 * org.el (org-inside-latex-macro-p): Save match data.
26473 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
26475 * org-docview.el: New file.
26477 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26479 * org-latex.el (org-export-latex-class-options): New variable.
26480 (org-export-latex-set-initial-vars): Use the class options.
26482 * org.el (org-forward-same-level): Stop at headings that start
26483 with an invisible character.
26484 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
26486 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26488 * org-footnote.el (org-footnote-normalize): Don't take optional
26489 arguments in LaTeX macros as footnotes.
26491 * org.el (org-inside-latex-macro-p): New function.
26493 * org-latex.el (org-latex-to-pdf-process): Change customization
26494 group to `org-export-pdf'.
26496 * org-agenda.el (org-agenda-get-blocks): Look at time string also
26497 on days after the first one.
26499 * org.el (org-insert-heading): Also check for item before assuming
26500 before-first-heading condition.
26502 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
26503 (org-export-pdf-logfiles): New option.
26504 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
26505 (org-export-pdf-logfiles): Fix customization type.
26507 * org.el (org-insert-link): Improve error message when there is no
26508 default link to select with RET.
26510 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
26513 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26515 * org-latex.el (org-export-latex-parse-global)
26516 (org-export-latex-parse-content)
26517 (org-export-latex-parse-subcontent):
26518 Use `org-re-search-forward-unprotected'.
26519 (org-export-as-pdf): Remove log files produced by XeTeX.
26521 * org-macs.el (org-re-search-forward-unprotected): New function.
26523 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
26525 * org-colview.el (org-agenda-colview-summarize): Sort out some
26526 confusion between properties and titles, which resulted in
26527 agenda summaries not working if a title was set for a column.
26529 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26531 * org-mobile.el (org-mobile-agendas): New option.
26532 (org-mobile-sumo-agenda-command): Select the right agendas.
26534 * org-latex.el (org-export-latex-format-image): Preserve the
26535 original-indentation property.
26537 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26539 * org-clock.el (org-clock-insert-selection-line): Catch error when
26540 an old tasks no longer exists.
26542 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
26543 (org-export-as-pdf): Don't remove the old PDF file before making
26546 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
26547 (org-mouse-context-menu): Use `org-looking-back'.
26549 * org.el (org-cycle-level): Use `org-looking-back'.
26551 * org-list.el (org-cycle-item-indentation):
26552 Use `org-looking-back'.
26554 * org-compat.el (org-looking-back): New function.
26556 * org.el (org-insert-heading): Catch before-first-headline when
26557 inserting a headline.
26559 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26561 * org-latex.el (org-export-latex-format-image): Indent figure
26562 environment, so that it does not interrupt plain list.
26564 * org.el (org-open-at-point): Allow long link descriptions.
26566 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26568 * org-html.el (org-export-as-html): Remove empty lines at the
26569 beginning of the exported text.
26571 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
26573 * org.el (org): Remove from hypermedia group.
26575 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
26579 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
26581 * org-freemind.el (org-freemind-from-org-mode-node)
26582 (org-freemind-from-org-mode)
26583 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
26584 Pass arg to called-interactively-p.
26586 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
26588 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
26589 Fix typos in docstrings.
26591 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
26593 * org.el (org-get-outline-path, org-speed-command-help):
26594 Fix typos in error messages.
26596 2009-12-14 Juri Linkov <juri@jurta.org>
26598 * org-html.el (org-export-html-style-include-default):
26599 Put `safe-local-variable booleanp' on
26600 `org-export-html-style-include-default' instead of mistakenly
26601 duplicate `org-export-html-style'.
26603 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
26605 * org-agenda.el (org-agenda-diary-entry-in-org-file):
26606 Rebuild agenda after adding new entry.
26608 * org-datetree.el (org-datetree-find-day-create): Fix regular
26611 * org.el (org-display-outline-path): Use a format specifier for
26612 message, to avoid problems with heading containing `%'.
26614 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26615 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26616 (org-agenda-fix-displayed-tags): New function.
26617 (org-agenda-do-context-action): Just call
26618 `org-display-outline-path', without piping the result through
26621 * org-latex.el (org-export-latex-preprocess): Protect secondary
26622 footnote references.
26624 * org-indent.el (org-indent-initialize): Avoid empty strings as
26627 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26628 hat checking for the mark does not throw an error.
26629 (org-agenda-diary-entry-in-org-file): Catch the case that there is
26630 not `day' text property in the cursor line.
26632 * org.el (org-sort-entries-or-items): Make sure that the final
26633 entry has a newline before doing the sorting.
26635 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26636 property at the beginning of the line.
26638 * org.el (org-make-link-string): Don't allow a description with
26641 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26642 (org-agenda-insert-diary-as-top-level): New function.
26643 (org-agenda-add-entry-to-org-agenda-diary-file):
26644 Call `org-agenda-insert-diary-as-top-level'.
26646 * org.el (org-occur-in-agenda-files): Make sure none of the
26647 buffers is narrowed.
26648 (org-activate-plain-links): Add the face property here.
26649 (org-set-font-lock-defaults): Do not add the face to plain links,
26650 the activator function does this.
26652 * org-habit.el (org-is-habit-p): Add doc string.
26654 * org-archive.el (org-archive-subtree-default-with-confirmation):
26657 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26658 after match optional (happens at the end of a line...).
26660 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26661 for special blocks.
26663 * org-faces.el (org-copy-face): Set lisp indentation.
26664 (org-quote, org-verse): New faces.
26666 * org-agenda.el (org-agenda-remove-date): Remove variable.
26668 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26670 * org-html.el (org-export-as-html): Move the home/up link into
26673 * org.el (org-export-latex-packages-alist): Option definition
26674 moved here from org-latex.el.
26676 * org-html.el (org-export-html-home/up-format): Add an ID to the
26679 * org-wl.el (org-wl-store-link): Handle the case that
26680 `wl-use-petname' is set.
26682 * org.el (org-set-effort): Improve prompt.
26683 (org-get-outline-path): Widen to get full path.
26684 (org-compact-display-after-subtree-move): Function removed.
26686 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
26688 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26689 hash keys to cache and re-use images generated by the
26690 org-exp-blocks interface to ditaa and dot.
26692 * org.el (org-format-latex): Latex images are now saved to files
26693 named by the sha1 hash of the latex source text avoiding
26694 regeneration of identical images.
26696 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26698 * org-latex.el (org-export-as-latex): Add the :drawers property.
26700 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26702 * org.el (org-speed-commands-user): Allow documentation headlines.
26703 (org-speed-commands-default): Organize the value of this constant
26704 with descriptive headlines.
26705 (org-print-speed-command): Output the headlines.
26707 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26709 * org-agenda.el (org-agenda-show-outline-path): New option.
26710 (org-agenda-do-context-action): New function.
26711 (org-agenda-next-line, org-agenda-previous-line):
26712 Use `org-agenda-do-context-action'.
26714 * org.el (org-use-speed-commands): Allow function value.
26715 (org-speed-commands-default): Make headline motion safe, so that
26716 these commands always end on a headline.
26717 (org-speed-commands-default): New key `v' for `org-agenda'.
26718 (org-speed-move-safe): New function.
26719 (org-self-insert-command): Use the function value of
26720 `org-use-speed-commands'.
26721 (org-get-outline-path): Improve docstring.
26722 (org-format-outline-path): New function.
26723 (org-display-outline-path): New function.
26725 2009-11-15 John Wiegley <jwiegley@gmail.com>
26727 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26728 a string, use that to find the LOGBOOK drawer.
26730 2009-11-15 Glenn Morris <rgm@gnu.org>
26732 * org-agenda.el (org-datetree-find-date-create)
26733 (org-habit-get-priority):
26734 * org.el (org-format-agenda-item): Fix declarations.
26736 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26738 * org.el (org-clone-subtree-with-time-shift): Make it work at the
26741 * org-mobile.el (org-mobile-write-checksums): Specify coding
26743 (org-mobile-timestamp-buffer): Keep local variable/mode line at
26744 beginning of buffer.
26746 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26748 * org.el (org-block-todo-from-children-or-siblings-or-parent)
26749 (org-block-todo-from-checkboxes): Do not block changes to a nil
26752 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26754 * org-habit.el (org-habit-parse-todo): Indicate which habit is
26755 wrongly set up in the error messages.
26757 * org-colview.el (org-columns-display-here): Don't try to
26758 calculate values if the underlying property is not set.
26759 (org-columns-string-to-number): Convert age strings back into
26761 (org-agenda-colview-summarize): Handle extended summary types
26764 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26766 * org-exp.el (org-export-format-drawer-function): New variable.
26767 (org-export-format-drawer): New function.
26768 (org-export-preprocess-string): Pass the backend as a parameter to
26769 `org-export-remove-or-extract-drawers'.
26770 (org-export-remove-or-extract-drawers): New parameter BACKEND.
26772 * org-protocol.el (org-protocol-char-to-string): New defsubst.
26774 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26776 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26777 message when no block is selected.
26779 * org-latex.el (org-export-latex-links): Check for protectedness
26780 in the last matched character, not after the match.
26782 * org-datetree.el (org-datetree-find-date-create):
26783 Respect restriction when KEEP-RESTRICTION is set.
26784 (org-datetree-file-entry-under): New function.
26785 (org-datetree-cleanup): New command.
26787 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26789 * org-src.el (org-edit-src-code): New optional argument context
26790 allows calling functions to avoid altering the saved window
26792 (org-edit-src-exit): Do not restore window configuration when this
26793 function is used in the context of saving the edit buffer.
26795 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26797 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26798 instances to switching to with-current-buffer, because these seem
26799 to cause problems - no idea why.
26801 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26802 Require diary-lib for (diary-date-display-form).
26804 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26806 * org.el (org-log-reschedule, org-log-redeadline): New options.
26807 (org-log-note-headings): Add templates for rescheduling and
26809 (org-startup-options): Add in-buffer settings for logging changing
26810 schedule and deadline time stamps.
26811 (org-deadline, org-schedule): Check for existing date and arrange
26812 for logging if the user requests it.
26813 (org-add-log-note): Prepare proper note buffers for rescheduling
26814 and deadline changes.
26816 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26818 * org-agenda.el (org-agenda-diary-entry-in-org-file)
26819 (org-agenda-add-entry-to-org-agenda-diary-file)
26820 (org-agenda-insert-diary-make-new-entry): New functions.
26821 (org-agenda-diary-entry):
26822 Call `org-agenda-diary-entry-in-org-file' when appropriate.
26824 * org.el (org-calendar-insert-diary-entry-key): New option.
26825 (org-agenda-diary-file): New option.
26826 ("calendar"): Install our insertion function in the calendar.
26828 * org-remember.el (org-datetree): Require.
26829 (org-remember-templates): Add new positioning option.
26830 (org-remember-reference-date): New variable.
26831 (org-remember-apply-template): Store the reference date in a local
26833 (org-remember-handler): Implement date tree positioning of entries.
26835 * org-datetree.el: New file.
26837 * org-latex.el (org-export-latex-preprocess): Protect targets in
26840 * org-html.el (org-export-as-html): Protect targets in verbatim
26843 * org-docbook.el (org-export-as-docbook): Protect targets in
26846 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26848 * org-clock.el (org-show-notification): Handle messages that
26849 contain a percent character.
26851 * org-remember.el (org-remember-apply-template): Turn of partial
26854 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26855 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26857 * org.el (org-indent-mode): Define variable already in org.el.
26858 (org-unfontify-region): Remove line-prefix and wrap-prefix
26859 properties only if org-indent-mode is active.
26861 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26863 * org-icalendar.el (org-print-icalendar-entries): Save match data
26864 around call to verify function.
26865 (org-print-icalendar-entries): Add a call to the verification
26868 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26869 save-restrivtion' form.
26871 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26873 * org-exp.el (org-export-format-source-code-or-example):
26874 Restrict scope of preserve-indentp to the let binding.
26875 (org-src): Require org-src, since org-src-preserve-indentation is used.
26877 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26879 * org-timer.el (org-timer-set-timer): Set variables
26880 org-timer-timer[123] correctly.
26882 * org-mobile.el (org-mobile-files-alist): Make it work when
26883 `agenda-archives' is included in
26884 `org-agenda-text-search-extra-files'.
26885 (org-mobile-push): Restore agenda after mobile push.
26887 2009-11-13 John Wiegley <jwiegley@gmail.com>
26889 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26890 way the amount of idle time is presented in the minibuffer.
26892 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26894 * org-icalendar.el (org-print-icalendar-entries):
26895 Use org-icalendar-verify-function only if non-nil.
26897 * org.el (org-refile): Refile to clock only if the prefix arg is
26899 (org-sparse-tree): Fix docstring to be in line with prompt.
26900 (org-update-parent-todo-statistics):
26901 Call `org-after-todo-statistics-hook' on each level.
26903 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26905 * org-remember.el (org-remember-apply-template): Make sure the
26908 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26910 * org.el (org-tab-ind-state): New variable.
26911 (org-cycle-level): New function.
26912 (org-cycle-level-after-item/entry-creation): New option.
26913 (org-flag-subtree): New function.
26914 (org-hide-archived-subtrees): Call `org-flag-subtree'.
26915 (org-set-effort): Indexed access.
26917 * org-list.el (org-cycle-item-indentation): New function.
26919 * org.el (org-refile): Make prefix argument 2 refile to current
26921 (org-priority): Interpret action `remove' as call to remove the
26924 * org-remember.el (org-remember-apply-template): Don't depend on
26925 buffer name being like file name.
26927 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26929 * org-clock.el (org-clock-play-sound): Expand file in
26930 org-clock-sound, to allow ~ for home.
26932 * org-remember.el (org-remember-handler):
26933 Set text-before-node-creation even if this already looks like a node,
26934 because the string might be needed on non-org-mode target files.
26936 * org-agenda.el (org-agenda-open-link): Make this work in agenda
26938 (org-agenda-switch-to): Follow a link at point if
26939 org-return-follows-link' is set and there is nothing else to do in
26942 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26944 * org-exp-blocks.el: Modify split separator regexp to avoid empty
26947 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26949 * org-colview.el (org-columns-new): Make this work with the new
26951 (org-columns-store-format): Make this work with the new operators.
26953 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26955 * org-src.el (org-src-preserve-indentation): Document that this
26956 variable is also used during export.
26958 * org-exp.el (org-export-format-source-code-or-example):
26959 Preserve indentation if a block has a -i option, or if
26960 `org-src-preserve-indentation' is set.
26962 * org-exp-blocks.el (org-export-blocks-preprocess):
26963 Preserve indentation if a block has a -i option, or if
26964 `org-src-preserve-indentation' is set.
26966 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26968 * org.el (org-mode-map): Define the new archiving keys.
26969 (org-speed-commands-default): Define an archiving key in the speed
26971 (org-org-menu): Improve the menu structure concerning archiving.
26973 * org-archive.el (org-archive-subtree-default-with-confirmation):
26976 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
26977 (org-agenda-menu): Add the new archiving commands to the menu.
26978 (org-agenda-archive-default)
26979 (org-agenda-archive-default-with-confirmation): New commands.
26980 (org-agenda-archive, org-agenda-archive-to-archive-sibling):
26981 Just call `org-agenda-archive-with'.
26982 (org-agenda-archive-with): New function.
26984 * org-table.el (org-table-convert-region): Inert spaces around "|"
26985 to avoid line beginnings like "|-1" which will be mistaken as
26988 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26990 * org.el (org-offer-links-in-entry): Return nil if there are no
26991 links, t if a link has been selected.
26992 (org-open-at-point): Open attachment directory when called in the
26993 headline and there are no links in the entry body.
26994 (org-speed-commands-default): Add "o" for open-at-point as a speed
26997 * org-attach.el (org-attach-reveal): Optional prefix arg
26998 IF-EXISTS, which avoids creating the attachment directory if it
26999 does not yet exist.
27001 * org-agenda.el (org-agenda, org-run-agenda-series):
27004 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27006 * org.el ("abbrev"): Work with abbrev tables only after they have
27009 * org-list.el (org-list-send-list): Fix bug related to match
27012 * org-latex.el (org-export-latex-fontify): Apply verbatim
27014 (org-export-latex-make-header): Insert \obeylines if line breaks
27015 should be preserved.
27017 * org-exp.el (org-export-protect-verbatim): Add an
27018 `org-verbatim-emph' property to such text.
27020 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27022 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
27023 (org-print-icalendar-entries): Skip entries where the timestamp is
27024 not a deadline and not scheduled, if the user requests that.
27026 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
27027 before an opening quote.
27029 * org-archive.el (org-archive-subtree): Keep archive after
27030 archiving something.
27032 * org-id.el (org-id-update-id-locations): Add archive files if
27033 that is required by `org-id-extra-files'.
27035 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27037 * org-src.el (org-src-window-setup): New option.
27038 (org-src-switch-to-buffer): New function.
27039 (org-edit-src-exit): Add optional argument CONTEXT and use it to
27040 restore window configuration.
27041 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
27042 Call `org-src-switch-to-buffer'.
27044 * org.el (org-default-properties): Add STYLE property.
27045 (org-files-list): Use the function call to get the files.
27046 (org-additional-option-like-keywords): Add SETUPFILE to completion
27049 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27051 * org-table.el (org-table-convert-region): Correctly interpret
27052 quoting in csv import.
27054 * org.el (org-icompleting-read): Make iswitchb completion work
27055 with lists and tables.
27057 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
27058 while pushing the mobile agenda.
27060 2009-11-13 John Wiegley <jwiegley@gmail.com>
27062 * org-clock.el (org-clock-auto-clock-resolution): Now takes three
27063 values: nil, t and `when-no-clock-is-running'.
27064 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
27065 whether or not to resolve Org buffers on clock in.
27067 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
27069 * org-colview.el (org-format-time-period): Function to format
27070 times in fractional days for display.
27071 (org-columns-display-here): Add support for showing a calculated
27072 value in place of the property.
27073 (org-columns): Set `org-columns-time' to the current time so time
27074 difference calculations will work.
27075 (org-columns-time): Use to store the current time when column view
27076 is displayed, so all time differences will use the same reference
27078 (org-columns-compile-map): There is now an extra position in each
27079 entry specifying the function to use to calculate the displayed
27080 value for the non-calculated properties in the column.
27081 (org-columns-compute-all): Set `org-columns-time' to the current
27082 time so time difference calculations will work.
27083 (org-columns-compute): Handle column operators where the values
27084 used are calculated from the underlying property.
27085 (org-columns-number-to-string): Handle the 'age' column format.
27086 (org-columns-string-to-number): Correct the function name (was
27087 org-column...). Add support for the 'age' column format.
27088 (org-columns-compile-format): Support the additional parameter in
27089 org-columns-compile-map.
27091 2009-11-13 Bastien Guerry <bzg@gnu.org>
27093 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
27096 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27098 * org-clock.el (org-clock-has-been-used): New variable.
27099 (org-clock-in): Set `org-clock-has-been-used'.
27100 (org-clock-save): Save only if clock data has been used or created
27101 during this session.
27103 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27105 * org-clock.el (org-clock-persist): New value, to store only the
27107 (org-clock-save): Don't save the clock if only the history should
27109 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
27110 when restoring a saved clock.
27112 2009-11-13 John Wiegley <jwiegley@gmail.com>
27114 * org-clock.el (org-clock-display, org-clock-put-overlay):
27115 Use `org-time-clock-use-fractional'.
27117 * org.el (org-time-clocksum-use-fractional)
27118 (org-time-clocksum-fractional-format): Two new customizable
27119 variables which allow the user to select fractional times (1.25
27120 instead of 1:25) in the `org-clock-display' report.
27122 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27124 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
27127 * org.el (org-tag-alist): Fix customization type.
27129 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27131 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
27132 Make sure the regexp search can fail without throwing an error.
27133 (org-mobile-apply): Save the inbox buffer after removing
27134 successfully applied changes.
27136 2009-11-13 John Wiegley <jwiegley@gmail.com>
27138 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
27139 time is reported after the user comes back (but before they
27142 * org.el (org-get-repeat): Change so that this function can be
27143 called with either `org-scheduled-string' or
27144 `org-deadline-string'.
27146 * org-clock.el (org-clock-auto-clock-resolution): Rename from
27147 `org-clock-disable-clock-resolution', since negatives don't sound
27148 good in customization variables.
27149 (org-clock-in): Don't use the auto-resolution logic if the user is
27150 clocking into a different task while an active clock is running.
27151 This then allows the default behavior of clocking out of the open
27152 task and then into the new task.
27154 * org.el (org-modules): Made this variable more consistent, since
27155 it was referring to Org, OrgMode and Org-mode, whereas the docs
27156 for the variable always refer to Org-mode.
27158 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
27160 * org.el (org-repeat-re): The changed org-repeat-re no longer
27161 matched simple +2d type repeaters. Fix it so it does.
27163 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27165 * org-latex.el (org-export-latex-preprocess): Protect the vspace
27166 macro in the VERSE environment.
27168 2009-11-13 John Wiegley <jwiegley@gmail.com>
27170 * org-habit.el (org-habit-get-priority): A new function that
27171 determines the relative priority of a habit, based on how long
27172 past its scheduled date it is, and how near the deadline is.
27174 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
27175 using `org-habit-get-priority'.
27177 * org-habit.el (org-habit-build-graph): Start displaying colors
27178 from the first scheduled date, if that date is earlier than the
27179 first completion date.
27181 * org-habit.el: Changed all "color" variables to faces, and made
27182 them appropriate for light and dark backgrounds.
27184 * org-habit.el (org-habit-duration-to-days): Made this function
27186 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
27188 * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
27189 habits, since they don't use DEADLINE anymore.
27191 * org.el (org-repeat-re, org-display-custom-time)
27192 (org-timestamp-change): Extend to support the new ".+N/N"
27193 syntax, used for habits.
27195 * org-clock.el (org-clock-resolve-clock): Fix an incorrect
27196 variable reference.
27198 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
27199 modeline when habits are being displayed (if that module is being
27202 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
27204 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
27205 idle time using the xscreensaver extension.
27206 (org-user-idle-seconds): Use X11 idle time if available.
27208 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27210 * org-agenda.el (org-agenda-next-line): New command.
27211 (org-agenda-previous-line): New commands.
27212 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
27214 (org-agenda-follow-mode): Do the follow immediately if the mode is
27216 (previous-line, next-line): Replace keys with the corresponding
27218 (org-agenda-mode-map): Bind backspace and delete to the scrolling
27221 * org.el (org-icompleting-read): Turn off partial completion mode
27222 for the duration of this completion round.
27224 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
27225 macros in author lines and similar stuff.
27227 * org.el (org-file-tags): Fix docstring.
27228 (org-get-buffer-tags): Add the #+FILETAGS tags.
27229 ("ecb"): Make ecb show context after jumping into an Org file.
27231 2009-11-13 John Wiegley <johnw@newartisans.com>
27233 * org-agenda.el (org-finalize-agenda): Draw habit consistency
27234 graphs after everything else in the buffer has been setup.
27236 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27238 * org-mobile.el (org-mobile-apply): Count success and failure.
27240 * org.el (org-indent-line-function): Fix regexp replace problem.
27242 2009-11-13 John Wiegley <johnw@newartisans.com>
27244 * org-clock.el (org-clock-disable-clock-resolution):
27245 New customization variable that disable automatic clock resolution on
27247 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
27248 not automatically resolve anything. This is does not affect
27249 idle-time resolution, however, if `org-clock-idle-time' is set.
27251 2009-11-13 John Wiegley <johnw@newartisans.com>
27253 * org-habit.el: New file, which implements code to build a "habit
27254 consistency graph".
27256 * org-agenda.el (org-agenda-get-deadlines)
27257 (org-agenda-get-scheduled): Display consistency graphs when
27258 outputting habits into the agenda. The graphs are always relative
27259 to the current time.
27260 (org-format-agenda-item): Add new parameter `habitp', which
27261 indicates whether we are formatting a habit or not. Do not
27262 display "extra" leading information if habitp is true.
27264 * org.el (org-repeat-re): Improve regexp to include .+ and ++
27265 leaders for repeat strings.
27266 (org-get-repeat): Now takes a string parameter `tagline', so the
27267 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
27269 2009-11-13 John Wiegley <johnw@newartisans.com>
27271 * org-agenda.el (org-agenda-auto-exclude-function):
27272 New customization variable for allowing the user to create an "auto
27273 exclusion" filter for doing context-aware auto tag filtering.
27274 (org-agenda-filter-by-tag): Changes to support the use of
27275 `org-agenda-auto-exclude-function'. See the new manual addition.
27277 2009-11-13 John Wiegley <johnw@newartisans.com>
27279 * org.el (org-files-list): Don't attempt to return a file name for
27280 Org buffers which have no associated file.
27282 * org-agenda.el (org-agenda-do-action): Fix a typo.
27284 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27286 * org-mobile.el (org-mobile-locate-entry): Interpret files
27287 relative to org-directory.
27288 (org-mobile-inbox-for-pull): Document the best location for this
27290 (org-mobile-check-setup): Verify `org-directory'.
27291 (org-mobile-create-index-file): Sort the files to be listed in
27294 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
27296 * org.el (org-fast-tag-selection): Add a way to display a
27297 description for a tag group. This is done by adding a string to
27298 either the startgroup or endgroup cell.
27300 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27302 * org-clock.el (org-clock-resolve, org-resolve-clocks)
27303 (org-emacs-idle-seconds): Use `org-float-time' instead of
27306 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27308 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
27311 * org.el (org-pre-cycle-hook): Document that `empty' can also be
27312 the value of ARG when doing local cycling.
27314 2009-11-13 John Wiegley <johnw@newartisans.com>
27316 * org-clock.el (org-clock-resolve-clock): If keeping or
27317 subtracting time results in a clock out at a time in the past, and
27318 if the resolution occurred due to idleness or invoking `M-x
27319 org-resolve-clocks', remember that past moment in time. On the
27320 next clock in, the user will be prompted to see if they want to
27321 back-date their new clock to then.
27322 (org-clock-resolve): Do not jump the user to the location of a
27323 dangling clock if the resolution is occurring due to an idle
27324 timeout. In that case there is typically only one dangling clock,
27325 the active one, and there is no value gained by shuffling their
27326 windows around to show it to them. Being prompted to resolve an
27327 idle clock should be as inobtrusive as possible.
27328 (org-resolve-clocks-if-idle): New function that resolves only the
27329 currently active clock if the user has exceeded the time returned
27330 by `org-user-idle-seconds', based on the value of
27331 `org-clock-idle-time'.
27332 (org-clock-in): If, after resolving clocks, (???)
27333 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
27335 * org-clock.el (org-clock-resolve-clock): New function that
27336 resolves a clock to a specific time, closing or resuming as need
27337 be, and possibly even starting a new clock.
27338 (org-clock-resolve): New function used by `org-resolve-clocks'
27339 that sets up for the call to `org-clock-resolve-clock'.
27340 It determines the time to resolve to based on a single-character
27341 selection from the user to either keep time, subtract away time or
27343 (org-resolve-clocks): New user command which resolves dangling
27344 clocks -- that is, open but not active -- anywhere in the file
27345 list returned by `org-files-list'.
27346 (org-clock-in): Automatically resolve dangling clocks whenever a
27348 (org-clock-cancel): If the user cancels the solely clock in a
27349 LOGBOOK, remove the empty drawer.
27351 * org-clock.el (org-clock-idle-time): New user customizable option
27352 for detecting whether the user has left a clock idle. Note: it is
27353 only used in this commit to test whether it's worthwhile to check
27354 OS X to get the Mac user's current idle time. If the Emacs idle
27355 time is less than the value, the user hasn't been away long enough
27356 to be worth checking (a more expensive test than just getting
27358 (org-user-idle-seconds, org-mac-idle-seconds)
27359 (org-emacs-idle-seconds): This three functions, in conjunction
27360 with the user customization variable `org-clock-idle-time', return
27361 the number of seconds (as a floating point) that the user has been
27362 away from their Emacs (or, if running on OS X, their computer).
27364 * org-clock.el (org-find-open-clocks): New function that returns a
27365 list of all open clocks in the given FILE. Note that each clock
27366 it returns is a cons cell of the format (MARKER . START-TIME).
27367 This "clock" value is used by several of the new clock module
27369 (org-is-active-clock): New inline function which tests whether the
27370 given clock value is the same as the currently active clock.
27371 Returns non-nil if this is the case.
27372 (org-with-clock-position): New macro that evaluates FORMS with
27373 point in the buffer and at the position of the given clock.
27374 Changes to the current clock are global.
27375 (org-with-clock): New macro that evaluates FORMS with point in the
27376 buffer and at the position of the given clock. However, changes
27377 to the current clock are local and have no effect on the user's
27378 active clock. This allows, for example, far any clock to be
27379 canceled without canceling the active clock.
27380 (org-clock-clock-in): New inline function that switches the active
27381 clock to the given clock. If either the argument RESUME, or the
27382 global `org-clock-in-resume', are non-nil, it will resume a clock
27383 that was previously left open.
27384 (org-clock-clock-out): New inline function that clocks out the
27385 given clock value without affecting the currently active clock.
27386 (org-clock-clock-cancel): New inline function that cancels the
27387 given clock value without affecting the currently active clock.
27389 * org-clock.el (org-clock-in): Before creating
27390 `org-clock-mode-line-timer', check to make sure an older timer is
27391 not currently running.
27392 (org-clock-out): Accept new third parameter `at-time', which
27393 permits a clock to be clocked out at a specific time. Note that
27394 no attempt is made to verify that the clock out time is later than
27397 * org.el (org-files-list): New utility function for returning a
27398 list of all open org-mode buffers, plus all files used to build
27399 the agenda buffer. Note that not all the files will necessarily
27400 be visited by a buffer at time of call.
27401 (org-entry-beginning-position): Like the function
27402 `line-beginning-position', this inline function returns the
27403 beginning position of the current heading/entry.
27404 (org-entry-end-position): Like the function `line-end-position',
27405 this inline function returns the end position of the current
27408 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27410 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
27413 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27415 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
27417 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27419 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
27420 entries that have no tags.
27421 (org-agenda-search-view): New customize group.
27422 (org-agenda-search-view-search-words-only): New option.
27423 (org-search-view): Implement substring search.
27425 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27427 * org.el (org-outline-level): Add doc string.
27429 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27431 * org-inlinetask.el (org-inlinetask-export): Re-introduce
27433 (org-inlinetask-export-handler): Only export inline task if the
27434 user option calls for it.
27436 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27438 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
27441 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27443 * org-latex.el (org-export-latex-tables): Don't format in
27446 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27448 * org-src.el (org-edit-src-code)
27449 (org-edit-src-find-region-and-lang, org-edit-src-exit):
27450 Handle macro editing.
27452 * org-agenda.el (org-prefix-category-max-length): New variable.
27453 (org-format-agenda-item): Use `org-prefix-category-max-length'.
27454 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
27456 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27458 * org-mobile.el (org-mobile-create-index-file): Improve the
27459 listing of tags and todo keywords.
27461 * org-latex.el (org-export-latex-format-image): New function.
27462 (org-export-latex-links): Use `org-export-latex-format-image'.
27464 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27466 * org-inlinetask.el (org-inlinetask-get-current-indentation)
27467 (org-inlinetask-remove-terminator): New functions.
27468 (org-inlinetask-export-handler): Terminate the description list.
27470 * org-exp.el (org-export-select-backend-specific-text): Remove the
27473 * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
27474 tasks without content.
27476 * org-clock.el: Make sure the clock-in target position does not
27477 move to a different node by widening the buffer.
27479 * org-html.el (org-export-html-format-image): Wrap image into
27480 figure div only when there is a caption.
27482 * org-archive.el (org-archive-mark-done): Change default value to
27485 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27487 * org.el (org-context): Call `bobp', not `eobp'.
27489 * org-clock.el (org-clock-cancel): Remove quotes from marker
27492 * org.el (org-read-date-prefer-future): New allowed value `time'.
27493 (org-read-date-analyze): Shift day to tomorrow depending on time
27494 entered and value of `org-read-date-prefer-future'.
27496 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
27498 * org.el (org-version, org-get-refile-targets, org-refile)
27499 (org-store-log-note, org-diary-to-ical-string)
27500 (org-speedbar-set-agenda-restriction):
27501 * org-publish.el (org-publish-find-title):
27502 * org-plot.el (org-plot/gnuplot):
27503 * org-mouse.el (org-mouse-do-remotely):
27504 * org-mobile.el (org-mobile-move-capture):
27505 * org-mac-message.el (org-mac-message-insert-flagged):
27506 * org-latex.el (org-replace-region-by-latex):
27507 * org-docbook.el (org-replace-region-by-docbook):
27508 * org-clock.el (org-clock-out, org-clock-cancel):
27509 * org-bibtex.el (org-execute-file-search-in-bibtex):
27510 Use with-current-buffer.
27512 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
27514 * org.el (org-directory, org-map-entries):
27515 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
27517 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27519 * org.el (org-set-tags-to): New command.
27521 * org-latex.el (org-export-latex-set-initial-vars): Also check in
27524 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
27527 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
27529 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27531 * org-inlinetask.el (org-inlinetask-export): Option removed.
27532 (org-inlinetask-export-handler): Better export.
27534 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
27535 (org-export-as-xoxo): Run the new hook.
27537 * org-html.el (org-export-html-final-hook): New hook.
27538 (org-export-as-html): Run the new hook.
27540 * org-docbook.el (org-export-docbook-final-hook): New hook.
27541 (org-export-as-docbook): Run the new hook.
27543 * org-ascii.el (org-export-ascii-final-hook): New hook.
27544 (org-export-as-ascii): Run the new hook.
27546 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
27547 space character as the character before the ^/_.
27548 (org-export-latex-final-hook): New hook.
27549 (org-export-as-latex): Run `org-export-latex-final-hook'.
27551 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27553 * org-macs.el (org-if-unprotected-at): Fix docstring.
27555 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
27556 text in the prefix (if category is a link).
27558 * org-latex.el (org-export-latex-preprocess): Deal properly with
27559 empty lines in verse environments.
27561 * org.el (org-format-latex-header): Inline fullpage.sty.
27563 * org-footnote.el (org-footnote-create-definition): Reveal context
27564 to add a new footnote definition.
27566 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
27567 org-table-recalculate when cursor is in TBLFM line.
27569 * org-list.el (org-renumber-ordered-list): Fix cursor position
27570 when bullet length has changed.
27572 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27574 * org.el (org-format-latex): Mention `org-format-latex-options' in
27577 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27579 * org.el (org-agenda-get): New function.
27581 * org-agenda.el (org-agenda-post-command-hook): No longer move
27582 point away from end of line.
27583 (org-agenda-add-entry-text, org-agenda-collect-markers)
27584 (org-finalize-agenda, org-agenda-mark-clocking-task)
27585 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
27586 (org-agenda-entry-text-show, org-agenda-highlight-todo)
27587 (org-agenda-compare-effort, org-agenda-filter-apply)
27588 (org-agenda-later, org-agenda-change-time-span)
27589 (org-agenda-post-command-hook, org-agenda-show-priority)
27590 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
27591 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
27592 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
27593 (org-agenda-open-link, org-agenda-copy-local-variable)
27594 (org-agenda-switch-to, org-agenda-check-no-diary)
27595 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
27596 (org-agenda-add-note, org-agenda-change-all-lines)
27597 (org-agenda-priority, org-agenda-set-tags)
27598 (org-agenda-set-property, org-agenda-set-effort)
27599 (org-agenda-toggle-archive-tag, org-agenda-date-later)
27600 (org-agenda-show-new-time, org-agenda-date-prompt)
27601 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
27602 (org-agenda-clock-in, org-agenda-bulk-mark)
27603 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
27604 Use `org-get-at-bol'.
27606 * org-colview.el (org-columns-display-here)
27607 (org-columns-edit-allowed, org-agenda-columns):
27608 Use `org-get-at-bol'.
27610 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27612 * org.el (org-special-ctrl-a/e): Improve documentation and
27614 (org-end-of-line): Don't jump to after the ellipsis.
27615 (org-mode-map): Bind <home> and <end> as well.
27617 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27619 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27620 space after #+ as comments.
27621 (org-open-at-point): Run `org-follow-link-hook' always.
27623 * org-latex.el (org-export-latex-emph-format): Use better commands
27624 to insert special characters in verbatim snippets.
27626 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27628 * org-faces.el (org-copy-face): New function. Use it to create
27629 various faces formerly created by using `copy-face'.
27631 * org-agenda.el (org-prepare-agenda): Don't officially mark this
27633 (org-agenda-quit): Kill the frame containing the agenda window if
27634 that frame was created for the agenda.
27636 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27638 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27639 stamp in the agenda.
27641 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27643 * org-agenda.el (org-prepare-agenda):
27644 Reset `org-drawers-for-agenda'.
27645 (org-prepare-agenda): Uniquify list of drawers.
27647 * org.el (org-complex-heading-regexp-format): New variable.
27648 (org-set-regexps-and-options):
27649 Define `org-complex-heading-regexp-format'.
27650 (org-drawers-for-agenda): New variable.
27651 (org-map-entries): Bind `org-drawers-for-agenda'.
27652 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27654 * org-remember.el (org-go-to-remember-target)
27655 (org-remember-handler): Use `org-complex-heading-regexp-format'.
27657 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27659 * org-agenda.el (org-agenda-highlight-todo): Fix text property
27662 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27663 always with `invisible-ok'.
27664 (org-store-link): No error when there is nothing to link to in the
27667 * org-list.el (org-update-checkbox-count): Insert changed cookie
27668 before the old, to avoid problems with invisibility at the end of
27670 (org-update-checkbox-count): Insert changed cookie before the old,
27671 to avoid problems with invisibility at the end of the line.
27673 * org.el (org-sort-entries-or-items): Include the final newline.
27674 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27675 lines for fontification.
27676 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27677 (org-prepare-dblock): Store the current indentation of the BEGIN
27679 (org-update-dblock): Apply the indentation of the begin line to
27680 the rest of the block.
27681 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27682 (org-startup-folded): New allowed value `showeverything'.
27683 (org-startup-options): Add STARTUP keyword `showeverything'.
27684 (org-set-startup-visibility): Respect value `showeverything' in
27685 org-startup-folded.
27687 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27689 * org.el (org-closest-date): Fix issue with past preference.
27691 * org-archive.el (org-archive-set-tag)
27692 (org-archive-subtree-default): New commands.
27694 * org-clock.el (org-clock-clocktable-default-properties):
27696 (org-clock-report):
27697 Use `org-clock-clocktable-default-properties'.
27699 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27701 * org.el (org-iswitchb-completing-read): Fix typo.
27703 * org-crypt.el: New file.
27705 * org.el: Add an entry for org-crypt.
27707 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27709 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27711 (org-batch-store-agenda-views): New function.
27712 (org-agenda-title-append): Define variable.
27713 (org-write-agenda): New export to Org files.
27714 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27715 (org-agenda): Allow to keep the restricted file list if a special
27716 variable is bound to t.
27717 (org-agenda): Define a special agenda view for working on flagged
27719 (org-agenda-get-restriction-and-command): List the new agenda
27721 (org-agenda-show-the-flagging-note): New command.
27722 (org-agenda-mode-map): New key `?' for looking at the flagging
27725 * org.el (org-autoload): Autoload org-mobile.el.
27726 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27728 * org-mobile.el: New file.
27730 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27732 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27734 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27736 (org-table-get-remote-range): Match indented #+TBLNAME
27739 * org.el (org-convert-to-odd-levels)
27740 (org-convert-to-oddeven-levels): Work also correctly if the file
27741 is in outline-mode.
27743 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27745 * org.el (org-store-link): When in agenda buffer, link to
27747 (org-add-planning-info): Remove spaces at eol.
27749 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27752 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27754 * org-latex.el (org-export-latex-first-lines): Fix problem with
27755 LaTeX export of first line and selected subtree.
27757 * org.el (org-shifttab): Interpret arg differently when using only
27760 2009-10-01 Bastien Guerry <bzg@gnu.org>
27762 * org.el (org-check-agenda-file): Use a more explicit message.
27764 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27766 * org-exp.el (org-export-remove-special-table-lines): Don't remove
27769 2009-10-01 Bastien Guerry <bzg@gnu.org>
27771 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27772 prompt in the temporary window.
27774 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27775 prefix for marked entries in the agenda view.
27777 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
27779 * org.el (outline-end-of-subtree): Bugfix: advise this function in
27780 a way that prevents any trailing character from being displayed.
27782 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27784 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27787 * org-exp.el (org-export-remove-special-table-lines): Remove bad
27790 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27792 * org-latex.el (org-export-latex-preprocess): Do not protect in
27795 * org-src.el (org-edit-src-save): Save window setup while saving.
27796 (org-edit-src-code): Use new buffer name construction scheme.
27798 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27800 * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27802 (org-agenda-entry-text-cleanup-hook): New hook.
27803 (org-agenda-get-some-entry-text): Remove matches of
27804 `org-agenda-entry-text-exclude-regexps' and run the hook
27805 `org-agenda-entry-text-cleanup-hook'.
27807 * org.el (org-offer-links-in-entry): New argument ZERO to
27808 implement a link with index zero.
27809 (org-cycle-show-empty-lines): Not keep empty line under header
27811 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27812 to nil for special completion.
27813 (org-store-link): Don't error before the first heading.
27815 * org-agenda.el (org-agenda-open-link): Pass the prefix to
27816 `org-offer-links-in-entry'.
27818 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27820 * org-agenda.el (org-agenda-quit): Provide the window argument for
27821 `window-dedicated-p', Emacs 22 needs it.
27822 (org-format-agenda-item): If the category is a link, arrange for
27823 invisible text to replaced with spaces.
27824 (org-compile-prefix-format): Add the extra space.
27825 (org-prefix-category-length): New variable.
27827 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27828 references from TOC lines.
27830 * org.el (org-selected-window): New variable.
27832 * org-table.el (org-table-edit-formulas): Remember the selected
27834 (org-table-fedit-finish, org-table-fedit-abort): Select the window
27835 that was originally selected.
27837 * org-exp.el (org-export-preprocess-apply-macros): Scan the
27838 expansion of a macro for more macro definitions.
27840 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27841 invisibility overlay starts on the newline.
27843 2009-10-01 Glenn Morris <rgm@gnu.org>
27845 * org-agenda.el (calendar-check-holidays):
27846 * org-exp.el (org-agenda-skip):
27847 * org-list.el (outline-back-to-heading):
27848 * org-wl.el (wl-summary-goto-folder-subr):
27849 * org.el (iswitchb-mode, remember, remember-buffer-desc)
27850 (remember-finalize, remember-save-after-remembering, remember-register)
27851 (remember-buffer, remember-handler-functions)
27852 (remember-annotation-functions): Remove unused declarations.
27854 * org.el (iswitchb-read-buffer): Fix declaration.
27856 2009-09-30 Glenn Morris <rgm@gnu.org>
27858 * org-compat.el (w32-focus-frame):
27859 * org-exp-blocks.el (R):
27860 * org-exp.el (htmlize-buffer):
27861 * org-protocol.el (server-edit):
27862 * org-table.el (org-format-org-table-html):
27863 * org.el (org-indent-mode): Fix declarations.
27865 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27866 free variable `fun'.
27868 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
27870 * org-agenda.el (org-agenda-restore-windows-after-quit):
27871 Fix typo in docstring.
27873 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
27875 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27876 (org-shiftselect-error, org-ctrl-c-ctrl-c):
27877 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27878 * org-attach.el (org-attach-check-absolute-path):
27879 * org-docbook.el (org-export-as-docbook):
27880 * org-html.el (org-export-as-html):
27881 * org-id.el (org-id-update-id-locations):
27882 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27883 Fix typos in error messages.
27885 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
27887 * org-ascii.el: Require CL for the `loop' macro.
27889 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
27891 * org-gnus.el (require): Wrap (require gnus-sum) into
27894 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
27896 * org-protocol.el (org-protocol-store-link)
27897 (org-protocol-remember, org-protocol-open-source): Remove autoload
27900 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27901 referencing the start of the line.
27903 * org-gnus.el: Remove unnecessary declare-function forms.
27904 (gnus-sum): Always require gnus-sum.
27906 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27908 * org-protocol.el (org-protocol-store-link)
27909 (org-protocol-remember, org-protocol-open-source): Add autoloads.
27911 * org-compat.el (org-float-time): New function.
27913 * org.el (org-clock-update-time-maybe)
27914 (org-sort-entries-or-items, org-do-sort)
27915 (org-evaluate-time-range, org-time-string-to-seconds)
27916 (org-closed-in-range): Use `org-float-time'.
27918 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27919 (org-timer-seconds): Use `org-float-time'.
27921 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27922 (org-clock-sum, org-dblock-write:clocktable)
27923 (org-clocktable-steps): Use `org-float-time'.
27925 * org-agenda.el (org-agenda-last-marker-time)
27926 (org-agenda-new-marker, org-diary): Use `org-float-time'.
27928 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27931 * org-exp.el (org-get-file-contents): Only protect lines that
27934 * org-html.el (require): Require cl for compilation.
27936 * org.el: Avoid using `default-major-mode'.
27938 * org-plot.el (require): Require CL only at compile time.
27940 * org-exp.el (require): Require CL only at compile time.
27942 * org-agenda.el (org-agenda-quit): When the agenda window is
27943 dedicated, remove other windows before exiting, so that the frame
27944 really will be killed.
27946 * org-exp.el (org-export-handle-include-files): Reset START and
27947 END for each loop cycle.
27949 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27951 * org.el (org-eval-in-calendar):
27952 Use `org-select-frame-set-input-focus'.
27954 * org-compat.el (org-select-frame-set-input-focus): New function.
27956 * org.el (org-update-statistics-cookies): New function.
27957 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
27959 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27961 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
27962 after the local variables are set.
27964 * org-latex.el (org-export-latex-protect-amp): New function.
27965 (org-export-latex-links): Protect link ampersands in tables.
27967 * org-exp.el (org-export-select-backend-specific-text): Match in
27968 two steps, to avoid regexp problems.
27970 * org.el (org-offer-links-in-entry): Improve working with many and
27973 * org-agenda.el (org-agenda-show-1): Make more consistent with
27975 (org-agenda-cycle-show): Make more consistent with normal cycling.
27977 * org-gnus.el (org-gnus-store-link): Restore the linking to a
27980 2009-09-02 Bastien Guerry <bzg@gnu.org>
27982 * org-latex.el (org-export-latex-first-lines): Bugfix.
27984 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27986 * org-clock.el (org-clock-modify-effort-estimate): Emit message
27989 * org.el (org-set-effort): New function.
27990 (org-mode-map): New key for effort setting command.
27992 * org-agenda.el (org-agenda): Keep window setup when calling
27993 agenda from within agenda window.
27994 (org-agenda-mode-map): New keys for effort setting commands.
27995 (org-agenda-menu): Add effort setting commands to menu.
27996 (org-agenda-set-property, org-agenda-set-effort): New functions.
27998 * org-latex.el (org-export-latex-tables):
27999 Fix `org-table-last-alignment' and `org-table-last-column-widths' if
28000 the first column has been removed.
28002 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28004 * org.el (org-remove-timestamp-with-keyword): Only remove in
28005 entry, not in subtree.
28007 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
28010 * org.el (org-open-at-point): When on headline, offer all strings
28013 * org-remember.el (org-remember-templates): Documentation fix.
28015 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
28016 `org-get-last-sibling' instead of the outline versions of these
28018 (org-get-last-sibling): New function.
28019 (org-refile): Use `org-get-next-sibling' instead of the outline
28020 version of this function.
28021 (org-clean-visibility-after-subtree-move):
28022 Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
28023 outline versions of these functions.
28025 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28027 * org-agenda.el (org-prepare-agenda): When creating a new frame
28028 for the agenda, make the window dedicated.
28030 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
28032 * org-table.el (org-table-align): Change the order of reinsertion
28033 and deletion, to avoid problems with overlays following the table.
28035 * org.el (org-parse-time-string): Better error message.
28036 (org-show-subtree): Use org-end-of-subtree.
28038 * org-macs.el (org-goto-line): New defsubst.
28040 * org.el (org-open-file, org-change-tag-in-region)
28041 (org-fast-tag-show-exit): Don't use `goto-line'.
28043 * org-table.el (org-table-align, org-table-insert-column)
28044 (org-table-delete-column, org-table-move-column)
28045 (org-table-sort-lines, org-table-copy-region)
28046 (org-table-paste-rectangle, org-table-wrap-region)
28047 (org-table-get-specials, org-table-rotate-recalc-marks)
28048 (org-table-get-range, org-table-recalculate)
28049 (org-table-edit-formulas, org-table-fedit-convert-buffer)
28050 (org-table-show-reference, org-table-highlight-rectangle):
28051 Don't use `goto-line'.
28053 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
28054 (org-edit-src-exit): Don't use `goto-line'.
28056 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
28058 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
28059 Don't use `goto-line'.
28061 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28063 * org-colview.el (org-columns, org-columns-redo)
28064 (org-agenda-columns): Don't use `goto-line'.
28066 * org-agenda.el (org-agenda-mode): Force visual line motion off.
28067 (org-agenda-add-entry-text-maxlines): Improve docstring.
28068 (org-agenda-start-with-entry-text-mode): New option.
28069 (org-agenda-entry-text-maxlines): New option.
28070 (org-agenda-entry-text-mode): New variable.
28071 (org-agenda-mode): Set initial value of
28072 `org-agenda-entry-text-mode'.
28073 (org-agenda-mode-map): Add the `E' key.
28074 (org-agenda-menu): Add entry text mode to the menu.
28075 (org-agenda-get-some-entry-text): Fix line count bug.
28076 (org-finalize-agenda): Apply entry text mode if appropriate.
28077 (org-agenda-entry-text-show-here): New function.
28078 (org-agenda-entry-text-show): New function.
28079 (org-agenda-entry-text-hide): New function.
28080 (org-agenda-view-mode-dispatch): Add entry text mode to the view
28082 (org-agenda-entry-text-mode): New command.
28083 (org-agenda-set-mode-name): Add entry text mode to the mode line
28085 (org-agenda-undo, org-agenda-get-restriction-and-command)
28086 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
28089 2009-09-02 Bernt Hansen <bernt@norang.ca>
28091 * org-clock.el (org-notify): Bugfix.
28093 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28095 * org-agenda.el (org-agenda-open-link): Handle multiple links and
28096 check for after-string.
28098 * org-gnus.el (org-gnus-store-link): Simplify.
28100 * org.el (org-latex-regexps): Don't add extra empty lines for
28103 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28105 * org-agenda.el (org-agenda-get-some-entry-text): New function.
28106 (org-agenda-add-entry-text):
28107 Use `org-agenda-get-some-entry-text'.
28109 * org.el (org-cycle-separator-lines): Update docstring.
28110 (org-cycle-show-empty-lines): Handle negative values for
28111 `org-cycle-show-empty-lines'.
28113 * org-exp.el (org-export-protect-sub-super): New function.
28114 (org-export-normalize-links): Protect the url of plain links from
28115 supscript and superscript processing.
28117 * org-remember.el (org-remember-escaped-%): New function.
28118 (org-remember-apply-template): Use `org-remember-escaped-%' to
28119 detect escaped % signs.
28121 2009-09-02 Bastien Guerry <bzg@gnu.org>
28123 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
28124 sound when showing the notification.
28126 * org-clock.el (org-notify): New function.
28127 (org-clock-notify-once-if-expired): Use `org-notify'.
28129 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
28130 and `gnus-article-mode' separately.
28131 (gnus-summary-article-header): Fix the declare-function.
28133 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28135 * org-exp.el (org-export-format-source-code-or-example):
28136 Translate language.
28138 * org-src.el (org-src-lang-modes): New variable.
28139 (org-edit-src-code): Translate language.
28141 * org-exp.el (org-export-format-source-code-or-example): Deal wit
28142 the new structure of the `org-export-latex-listings-langs'
28145 * org-latex.el (org-export-latex-listings-langs): Change structure
28146 of the variable from plist to alist.
28148 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28150 * org.el (org-in-commented-line): New function.
28152 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28154 * org.el (org-hide-block-toggle): Make folded blocks searchable.
28156 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
28158 * org.el (org-flag-drawer): More useful error.
28160 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28162 * org-remember.el (org-remember-apply-template):
28163 Use org-icompleting-read.
28165 * org-publish.el (org-publish): Use org-icompleting-read.
28167 * org-colview.el (org-columns-edit-value, org-columns-new)
28168 (org-insert-columns-dblock): Use org-icompleting-read.
28170 * org-attach.el (org-attach-delete-one, org-attach-open):
28171 Use org-icompleting-read.
28173 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28175 * org.el (org-hierarchical-todo-statistics): Improve docstring.
28176 (org-version): Return the version text.
28177 (org-org-menu): Add a menu entry for the new bug reporter.
28178 (org-submit-bug-report): New command.
28180 * org-list.el (org-hierarchical-checkbox-statistics):
28183 * org.el (org-emphasis-regexp-components): Add "`" to set of
28184 pre-emphasis characters.
28186 * org-latex.el (org-export-latex-classes): Always include the soul
28188 (org-export-latex-emphasis-alist): Use \st for strikethough.
28190 * org-exp-blocks.el (org-export-blocks-preprocess):
28191 Use `indent-code-rigidly' to indent.
28193 * org-agenda.el (org-agenda-get-restriction-and-command):
28194 Remove properties only if MATCH really is a string.
28196 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28198 * org-latex.el (org-export-latex-packages-alist):
28199 Fix customization type.
28201 * org.el (org-create-formula-image): Also use
28202 `org-export-latex-packages-alist'.
28204 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
28205 (org-export-as-html): Format footnotes correctly.
28207 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28209 * org.el (org-fast-tag-selection): Avoid text properties on tags
28212 * org-agenda.el (org-agenda-get-restriction-and-command):
28213 Avoid text properties on the match element.
28215 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28217 * org.el (org-set-regexps-and-options): Make sure the list of done
28218 keywords is not invalid.
28220 * org-exp.el (org-export-interpolate-newlines): New function.
28222 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28224 * org.el (org-format-latex): Avoid nested overlays.
28226 * org-latex.el (org-export-latex-listings-langs): Add a few more
28229 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
28230 ignore newlines and space before the first macro argument.
28232 * org-latex.el (org-export-latex-tables): Remove save-excursion
28233 around `org-table-align'.
28235 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28237 * org.el (org-export-html-special-string-regexps):
28238 Definition moved into org.el.
28240 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
28243 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28245 * org-latex.el (org-export-latex-listings)
28246 (org-export-latex-listings-langs): New options.
28248 * org-exp.el (org-export-format-source-code-or-example):
28249 Use listing package if requested by the user.
28251 2009-09-02 Bastien Guerry <bzg@gnu.org>
28253 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
28254 command before actually switching to a buffer.
28256 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28258 * org-exp.el (org-get-file-contents): Only quote org lines when
28259 the markup is src or example.
28261 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
28263 (org-agenda-get-day-entries): Remember deadline results and pass
28264 them on into the function getting the scheduling information.
28265 (org-agenda-get-scheduled): Accept deadline results as parameters
28266 and maybe skip some entries.
28267 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
28269 * org.el (org-insert-heading): When respecting content, do not
28270 convert current line to headline.
28272 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
28273 Also cheeeeeck the hd marker.
28274 (org-clock-in): Also set the hd marker.
28275 (org-clock-out): Also set the hd marker.
28276 (org-clock-cancel): Reset markers.
28278 * org.el (org-clock-hd-marker): New marker.
28280 * org-faces.el (org-agenda-clocking): New face.
28282 * org-agenda.el (org-agenda-mark-clocking-task): New function.
28283 (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
28285 * org.el (org-modules): Add org-track.el.
28287 * org-agenda.el (org-agenda-bulk-marked-p): New function.
28288 (org-agenda-bulk-mark, org-agenda-bulk-unmark):
28289 Use `org-agenda-bulk-marked-p'.
28290 (org-agenda-bulk-toggle): New command.
28292 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28294 * org.el (org-move-subtree-down): Hide subtree if it was folded,
28297 * org-remember.el (org-remember-finalize): Avoid buffer-modified
28300 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
28302 * org-html.el (org-export-as-html):
28303 * org-docbook.el (org-export-as-docbook):
28304 Use (default-value 'major-mode) instead of default-major-mode.
28306 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
28308 * org-docbook.el: Add arch-tag.
28310 * org-exp-blocks.el: Add arch-tag.
28312 * org-id.el: Add arch-tag.
28314 * org-indent.el: Add arch-tag.
28316 * org-inlinetask.el: Add arch-tag.
28318 * org-protocol.el: Add arch-tag.
28320 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28322 * org.el (org-create-formula-image): Remove the -E option for
28325 * org-exp.el (org-default-export-plist): Respect #+BIND.
28326 (org-export-confirm-letbind): New function.
28328 * org.el (org-paste-subtree): Test the kill ring entry if it is
28330 (org-copy-subtree): Use `org-forward-same-level'.
28331 (org-forward-same-level): Respect the `invisibe-ok' arg for
28334 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28336 * org.el (org-table-map-tables): Make sure cursor is back at table
28337 beginning after funcall.
28339 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
28340 handled before children, and do not error if an entry is not
28341 found, probably because it hase been remove when the parent was
28342 archived or refiled.
28344 * org.el (org-ido-completing-read): Accept straight lists for
28345 completion as well as alists.
28347 * org-timer.el (org-timer-cancel-timers): Rename from
28348 `org-timer-cancel-timers'.
28350 * org.el (org-cycle-internal-local): Fix problem with finding next
28353 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28355 * org-list.el (org-list-send-list):
28356 Call `org-list-goto-true-beginning' instead of
28357 `org-list-find-true-beginning', which does not exist.
28359 * org-timer.el (org-timer-reset-timers): Use `mapc'.
28360 (org-timer-set-timer): Do not assign to heading.
28362 * org-id.el (org-id-open): Quote function name.
28364 * org-macs.el (org-unmodified): Turn off recording undo
28365 information while running inside the macro.
28367 * org-table.el (org-table-export): Also work in file-less
28370 * org.el (org-startup-indented): New option.
28371 (org-startup-options): Add new options indent and noindent.
28372 (org-unfontify-region): Remove line-prefix and wrap-prefix
28374 (org-after-demote-entry-hook, org-after-promote-entry-hook):
28376 (org-promote, org-demote): Run the new hooks.
28378 * org-table.el (org-table-align): Replace leading \n as well.
28380 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
28381 and `line-wrap' text properties.
28383 * org-compat.el (org-kill-new): New function.
28385 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
28386 `line-wrap' text properties.
28388 * org-indent.el: New file.
28390 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28392 * org.el (org-provide-todo-statistics): Tweak docstring.
28394 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
28396 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28398 * org-exp.el (org-export-as-org): Insert the "-source" string
28399 before the extension.
28401 * org.el (org-read-date): Make sure the calendar is in the current
28403 (org-set-emph-re): Remove the ? from the post-match.
28404 (org-emphasis-regexp-components): Add backslash to the
28406 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
28407 optional so that also lines at the end of the buffers will still
28408 be matched as headlines.
28410 * org-table.el (org-table-error-on-row-ref-crossing-hline):
28411 Variable made obsolete.
28412 (org-table-relative-ref-may-cross-hline): New option.
28413 (org-table-find-row-type): Honow the new option
28414 `org-table-relative-ref-may-cross-hline'.
28416 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28418 * org-table.el (org-table-cut-region, org-table-copy-region):
28419 Work on single field if no active region.
28421 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28423 * org-latex.el (org-export-latex-make-header): Only insert title
28426 * org.el (org-make-options-regexp): Allow empty values.
28428 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28430 * org.el (org-cycle-internal-local): Improve version of finding
28432 (org-cycle-hide-drawers): Only hide drawers if this is really
28434 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
28435 org-version of this function in Org-mode. We use advice to
28436 implement this change, so that future changes to this function in
28437 outline.el wil be handled properly.
28438 (org-forward-same-level, org-backward-same-level): New commands.
28440 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28442 * org.el (org-remove-empty-overlays-at)
28443 (org-clean-visibility-after-subtree-move): New functions.
28444 (org-move-subtree-down): Simplify cleanup of display.
28446 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28448 * org-mac-message.el (org-mac-message-get-links): Improve
28449 docstring. Make argument SELECT-OR-FLAGGED optional, default to
28450 "s". Fix the return value.
28451 (org-mac-message-insert-flagged): Simplify.
28453 * org.el (org-refile-get-location): Tamper with refile history o
28454 that history contains compete matches instead of the entered
28457 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28459 * org.el (org-store-link): Never store a link to an inline task.
28461 * org-footnote.el (org-footnote-goto-local-insertion-point):
28462 Skip inline tasks when positioning footnotes.
28464 * org.el (org-refile): Remove the END line when archiving an
28465 inline task that does have an END line.
28467 * org-archive.el (org-archive-subtree): Remove the END line when
28468 archiving an inline task that does have an END line.
28470 * org-macs.el (org-with-limited-levels): New macro.
28471 (org-get-limited-outline-regexp): New function.
28473 * org-exp.el (org-export-format-source-code-or-example): Fix bug
28474 that did not enumerate first line.
28475 (org-export-mark-radio-links): Skip matches in links.
28477 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28479 * org.el (org-activate-plain-links): Make single-match.
28480 (org-adapt-indentation): Fix docstring.
28482 * org-macs.el (org-unmodified): Turn of modification hooks while
28483 running this macro.
28485 2009-08-06 Bastien Guerry <bzg@gnu.org>
28487 * org.el (org-adapt-indentation): Slightly improve the docstring.
28488 (org-occur): Sends an error when the user inputs an empty string.
28489 (org-priority): Bugfix: the tag alignement should happen within
28492 2009-08-06 Bastien Guerry <bzg@gnu.org>
28494 * org.el (org-make-link-regexps): Don't exclude parentheses from
28495 `org-plain-link-re'.
28496 (org-cycle-internal-local): When locally cycling, switch directly
28497 from CHILDREN to FOLDED if there is no subtree.
28498 (org-cycle): Update the docstring to document the new behavior of
28499 `org-cycle-internal-local'.
28501 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
28503 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
28504 an abbreviated format for days.
28506 2009-08-06 Bastien Guerry <bzg@gnu.org>
28508 * org-protocol.el (org-protocol-default-template-key):
28511 * org.el (org-refile): Bugfix: save-excursion before reading the
28512 refile target, otherwise cursor moves might confuse `org-refile'.
28514 * org.el (org-toggle-heading): Bugfix: correctly convert list
28515 items before the first headline.
28517 * org.el (org-provide-todo-statistics): Allow a list of TODO
28518 keywords to compute statistics against headlines containing a
28519 keyword from this list.
28520 (org-update-parent-todo-statistics): Possibly use the new allowed
28521 value of `org-provide-todo-statistics'.
28523 2009-08-06 Bastien Guerry <bzg@gnu.org>
28525 * org-timer.el: Add autoload cookie.
28527 * org.el (org-occur-link-in-agenda-files): New function.
28529 * org-timer.el (org-timer-last-timer): New variable.
28531 * org-agenda.el (org-agenda-mode-map): New key for
28532 org-timer-set-timer called from the agenda.
28534 * org.el (org-mode-map): New key for org-timer-set-timer.
28536 * org-timer.el (org-timer-reset-timers)
28537 (org-timer-show-remaining-time, org-timer-set-timer):
28540 * org-clock.el (org-show-notification): Update the docstring.
28542 * org.el (org-provide-todo-statistics): Allow new value
28543 'all-headlines for this option, which includes entries with no
28544 TODO keywords in the todo statistics.
28545 (org-update-parent-todo-statistics): Possibly use the new
28546 'all-headline value from `org-provide-todo-statistics'.
28548 2009-08-06 Bastien Guerry <bzg@gnu.org>
28550 * org-clock.el (org-dblock-write:clocktable): Add a new option
28551 :timestamp which allows display of timestamps in clock reports.
28553 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
28554 list to a subtree, preserving the structure of the list.
28555 (org-set-emph-re): Make the last element optional in the regexp.
28556 This regexp now matches an emphasized string at the end of a line.
28558 * org-list.el (org-list-goto-true-beginning)
28559 (org-list-make-subtree, org-list-make-subtrees): New functions.
28561 * org.el (org-eval-in-calendar): Select the right frame.
28562 (org-save-frame-excursion): Remove this macro.
28564 2009-08-06 Bastien Guerry <bzg@gnu.org>
28566 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
28567 trying to find the beginning of a list.
28569 * org-exp.el (org-get-file-contents): Use a new argument: markup.
28570 When present, tell org-get-file-contents not to protect org-like
28573 * org-id.el (org-id-uuid-program): New option to set the name of
28574 the uuidgen program.
28575 (org-id-method): Use `org-id-uuid-program'.
28576 (org-id-new): Use `org-id-uuid-program'.
28578 2009-08-06 Bastien Guerry <bzg@gnu.org>
28580 * org-exp.el (org-export-number-lines): Allow whitespace in code
28581 references. Allow the -r switch to remove the references in the
28582 source code even when the lines are not numbered: the labels can
28583 be explicit enough.
28585 * org.el (org-fontify-whole-heading-line): New option.
28586 (org-set-font-lock-defaults): Use the new option.
28588 * org-clock.el (org-show-notification-handler): New option.
28589 (org-show-notification): Use the new option.
28591 2009-08-06 Bastien Guerry <bzg@gnu.org>
28593 * org.el (org-eval-in-calendar): Fix a bug about calendar
28594 navigation when `calendar-setup' value is 'calendar-only.
28596 2009-08-06 Bastien Guerry <bzg@gnu.org>
28598 * org.el (orgstruct++-mode): Fix typo in docstring.
28599 (org-insert-link): Clean up: (or (...)) => (...)
28600 (org-insert-link): Use TAB for stored links completion.
28602 2009-08-06 Bastien Guerry <bzg@gnu.org>
28604 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
28605 building the list of targets.
28607 * org-remember.el (org-remember-delete-empty-lines-at-end):
28609 (org-remember-handler): Use the new option.
28611 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
28613 * org.el (org-tags-sort-function): New option for sorting tags.
28614 (org-set-tags): Use the new option to sort tags.
28616 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28617 premature deletion of the data when using org-plot in a script.
28619 2009-08-06 Bastien Guerry <bzg@gnu.org>
28621 * org-clock.el (org-clock-in-prepare-hook): New hook.
28622 (org-clock-in): Use this new hook.
28624 2009-08-06 Bastien Guerry <bzg@gnu.org>
28626 * org.el (org-special-ctrl-a/e): Explicitly bind the value
28627 'reversed for this option to the "true line boundary first"
28629 (org-tags-match-list-sublevels): Document the 'indented value for
28632 * org-latex.el (org-export-latex-first-lines): Fix problem with
28633 publishing the region.
28635 * org-exp.el (org-export-format-source-code-or-example):
28636 Fix bad line numbering when exporting examples in HTML.
28638 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
28640 * org-colview.el (org-format-time-period): Formats a time in
28641 fractional days as days, hours, mins, seconds.
28642 (org-columns-display-here): Add special handling for SINCE and
28643 SINCE_IA to format for display.
28645 * org.el (org-time-since): Add a function to get the time since an
28647 (org-entry-properties): Add two new special properties: SINCE and
28648 SINCE_IA. These give the time since any active or inactive
28649 timestamp in an entry.
28650 (org-special-properties): Add SINCE, SINCE_IA.
28651 (org-tags-sort-function): Add custom declaration for tags
28653 (org-set-tags): Sort tags if org-tags-sort-function is set.
28655 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28657 * org-clock.el (org-clock-goto): Find hidden headlines as well.
28659 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28661 * org-plot.el (org-plot/add-options-to-plist): Add timeind
28664 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28666 * org-publish.el (org-publish-remove-all-timestamps): New function.
28667 (org-publish-all): Remove all timestamp files if `org-publish-all'
28668 is called with a prefix argument.
28670 * org-list.el (org-indent-item): Fix typo.
28671 (org-item-indent-positions): Normalize ordered bullet.
28673 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28675 * org-macs.el (org-set-local): Make a local variable, do not make
28676 the variable buffer-local!
28678 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28680 * org-exp.el (org-infile-export-plist): Read BIND lines.
28681 (org-install-letbind): New function.
28682 (org-export-as-org, org-export-preprocess-string):
28683 Call `org-install-letbind'.
28685 * org-list.el (org-list-demote-modify-bullet): New option.
28686 (org-first-list-item-p): Save point.
28687 (org-fix-bullet-type): New optional argument FORCE-BULLET.
28688 (org-indent-item): Honor `org-list-demote-modify-bullet'.
28689 (org-item-indent-positions): Return bullet types along with
28692 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28694 * org.el (org-show-entry): Hide drawers.
28696 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28698 * org-footnote.el (org-footnote-auto-adjust): New option.
28699 (org-footnote-auto-adjust-maybe): New function.
28700 (org-footnote-new, org-footnote-delete):
28701 Call `org-footnote-auto-adjust-maybe'.
28703 * org.el (org-startup-options): Add new footnote-related
28706 * org-publish.el (org-publish-timestamp-filename): Additional
28707 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28708 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28709 TRUE-PUB-DIR. Pass them through to
28710 `org-publish-timestamp-filename'.
28711 (org-publish-update-timestamp): Additional arguments PUB-DIR and
28712 PUB-FUNC, which are included in the hash.
28713 (org-publish-file): Delay timestamp test until the publishing
28716 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28718 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28719 setting the deadline.
28721 * org.el (org-read-date-final-answer): New variable.
28722 (org-read-date): Store the final answer string, including the date
28723 from the calendar, for reuse by agenda bulk commands.
28725 * org-publish.el (org-publish-attachment): Fix publishing of
28728 * org-latex.el (org-export-latex-quotation-marks): Fix export of
28729 quotation makrs in parenthesis.
28730 (org-remove-initial-hash): New function.
28731 (org-export-latex-preprocess): Fix bug with infinite loop if
28732 environment is not properly closed.
28734 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28737 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28738 highlight also when indented.
28740 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28742 * org-footnote.el (org-footnote-renumber-fn:N): New command.
28743 (org-footnote-action): Offer renumbering.
28745 * org.el (org-cycle): Honor the `integrate' value of
28746 org-cycle-include-plain-lists'.
28748 * org-list.el (org-cycle-include-plain-lists): New allowed value
28749 `internal'. Improve the docstring.
28751 * org.el (org-set-autofill-regexps): Improve the paragraph-start
28752 regexp to work better with LaTeX commands.
28754 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28756 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28757 and eps extensions.
28759 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28761 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28764 * org.el (org-map-entries): No longer force
28765 `org-tags-match-list-sublevels' to t during a todo-only tags
28768 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28770 * org-latex.el (org-export-latex-low-levels): Allow user-defined
28772 (org-export-latex-subcontent): Handle user-defined environment.
28774 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28775 the View dispatcher.
28777 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28780 * org-latex.el (org-export-as-pdf): Protect match data during call
28781 to shell-quote-argument.
28783 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28784 (org-agenda-view-mode-dispatch): New function.
28786 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28788 * org-agenda.el (org-agenda-mode): Reset list of marks.
28789 (org-agenda-mode-map): Define new keys for refile and bulk action.
28790 (org-agenda-menu): Add menu itesm for refile and bulk action.
28791 (org-agenda-refile): New function.
28792 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28793 (org-agenda-marked-entries): New variable.
28794 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28795 (org-agenda-remove-all-bulk-action-marks)
28796 (org-agenda-bulk-action): New functions/commands.
28798 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28800 * org-exp.el (org-get-file-contents): Protect org-like lines in
28802 (org-export-format-source-code-or-example): Remove newlines.
28804 * org-latex.el (org-export-latex-links): Check for no-description
28807 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28808 argument separator back to comma.
28809 (org-export-normalize-links): Mark links without description.
28811 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28813 * org-exp.el (org-infile-export-plist): Fix bug in macro
28816 * org-agenda.el (org-agenda-clock-out): Update line after clocking
28818 (org-agenda-highlight-todo): Fix bug with highlighting.
28820 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28822 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28823 new alignment strings.
28825 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28827 (org-table-align): Check for forced align type.
28829 * org.el (org-self-insert-command): Add yas/expand to command
28832 * org-clock.el (org-clock-in-hook): New hook.
28833 (org-clock-in): Run `org-clock-in-hook.
28834 (org-clock-out-hook): New hook.
28835 (org-clock-out): Run `org-clock-out-hook.
28836 (org-clock-cancel-hook): New hook.
28837 (org-clock-cancel): Run `org-clock-cancel-hook.
28838 (org-clock-goto-hook): New hook.
28839 (org-clock-goto): Run `org-clock-goto-hook.
28841 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28843 * org.el (org-store-link): Better default description for link to
28846 * org-exp.el (org-export-generic): Autoload the generic exporter
28848 (org-export): Implement the `g' key for the generic exporter.
28850 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28852 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28855 * org-exp.el (org-infile-export-plist): Get macros also from
28858 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28860 * org-colview.el (org-columns-capture-view): Protect vertical bars
28862 (org-columns-capture-view): Exclude comment and archived trees.
28864 * org.el (org-quote-vert): New function.
28866 * org-latex.el (org-export-latex-verbatim-wrap): New option.
28868 * org-exp.el (org-export-format-source-code-or-example):
28869 Use `org-export-latex-verbatim-wrap'.
28871 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28874 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
28876 * org-exp-blocks.el: New file.
28878 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28880 * org-remember.el (org-remember-templates): Allow the headline
28881 element to be a function.
28882 (org-remember-apply-template): If the headline is a function, call
28883 it to get the true function.
28885 * org-clock.el (org-clock-menu): New function.
28886 (org-clock-update-mode-line): Update help string.
28887 (org-clock-modify-effort-estimate): New function.
28888 (org-clock-mark-default-task): New function.
28890 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28892 (org-org-menu): Add new clocking stuff.
28893 (org-clock-is-active): New function.
28895 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28897 * org.el (org-open-non-existing-files): Improve docstring.
28899 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28901 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28903 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28905 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28907 * org-list.el (org-get-checkbox-statistics-face): Use the new
28910 * org-faces.el (org-checkbox-statistics-todo)
28911 (org-checkbox-statistics-done): New faces.
28913 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28915 * org-latex.el (org-export-latex-use-verb): New variable.
28916 (org-export-latex-emph-format): Prefer \texttt over \verb when
28917 org-export-latex-use-verb is set.
28919 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28921 * org-remember.el (org-remember-handler): Abort remember if the
28924 * org-exp.el (org-export-format-source-code-or-example):
28925 Run `org-src-mode-hook'.
28927 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28929 * org.el (org-indent-line-function): Fix indentation of +#end lines.
28931 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
28933 * org-gnus.el (org-gnus-store-link): Require message.el in
28934 org-gnus-store-link.
28936 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28938 * org-src.el: New file, split out of org.el.
28940 * org-macs.el (org-replace-match-keep-properties): New function.
28942 * org-exp.el (org-export-mark-blockquote-verse-center):
28943 Better preprocessing of center and quote and verse blocks.
28945 * org-list.el (org-list-end): Respect the stored "original"
28946 indentation when determining the end of the list.
28948 * org-exp.el (org-export-replace-src-segments-and-examples):
28949 Remember indentation correctly.
28951 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28953 * org-clock.el (org-clock-update-mode-line): Apply face
28954 org-mode-line-clock.
28956 * org-faces.el (org-mode-line-clock): New face.
28958 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
28960 * org-gnus.el (org-gnus-store-link): Fix bug where
28961 `org-gnus-store-link' used wrong subject when called in an article
28962 buffer. Patch provided by fengli AT gmail DOT com.
28964 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28966 * org-exp.el (org-export-format-source-code-or-example):
28967 Remember the original indentation of source code snippets and examples.
28969 * org-latex.el (org-export-as-latex): Relocate the table of
28972 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
28974 * org-agenda.el (org-run-agenda-series): Scope global options also
28975 when creating the agenda buffer.
28977 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28979 * org.el (org-adapt-indentation): Improve documentation.
28980 (org-insert-property-drawer): Respect org-adapt-indentation when
28981 inserting the drawer.
28982 (org-remove-flyspell-overlays-in): New function.
28983 (org-do-emphasis-faces, org-activate-plain-links)
28984 (org-activate-code, org-fontify-meta-lines-and-blocks)
28985 (org-activate-angle-links, org-activate-footnote-links)
28986 (org-activate-bracket-links, org-activate-dates)
28987 (org-activate-target-links, org-activate-tags): Remove flyspell
28990 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28992 * org.el (org-edit-src-save): New function.
28994 * org-clock.el (org-clock-out-switch-to-state): New option.
28995 (org-clock-out): Honor `org-clock-out-switch-to-state'.
28997 * org-compat.el (org-compatible-face): Improve macro.
28999 * org.el (org-global-properties-fixed): Add default for
29000 CLOCK_MODELINE_TOTAL.
29002 * org-clock.el (org-clock-sum): Accept lists and strings as tstart
29004 (org-clock-sum-current-item): Optional argument TSTART, pass it to
29006 (org-clock-get-sum-start): New function.
29008 * org.el (org-startup-options): New keywords blockhide and
29010 (org-mode): Add new invisibility spec.
29011 (org-set-startup-visibility): Hide block on startup if so
29013 (org-hide-block-startup): New option.
29014 (org-block-regexp): New constant.
29015 (org-hide-block-overlays): New variable.
29016 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
29017 (org-show-block-all, org-hide-block-toggle-maybe)
29018 (org-hide-block-toggle): New functions.
29019 (org-edit-src-exit): Do not quote lines starting with # and no +
29021 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
29024 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29026 * org.el (org-buffer-property-keys): Add Effort property for
29029 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29031 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
29032 when retrieving total clocked time in the subtree.
29034 * org.el (org-quoting-blocks): New variable.
29036 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29038 * org-table.el (org-table-store-formulas)
29039 (org-table-get-stored-formulas, org-table-fix-formulas)
29040 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
29041 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
29043 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
29044 Allow indented #+TBLFM line.
29046 * org-footnote.el (org-footnote-goto-local-insertion-point):
29047 Allow indented #+TBLFM line.
29049 * org-colview.el (org-dblock-write:columnview): Allow indented
29052 * org-clock.el (org-dblock-write:clocktable): Allow indented
29055 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29057 * org-exp.el (org-export-format-source-code-or-example):
29058 Make editing indented blocks work correctly.
29060 * org.el (org-edit-src-nindent): New variable.
29061 (org-edit-src-code, org-edit-fixed-width-region)
29062 (org-edit-src-find-region-and-lang, org-edit-src-exit):
29063 Make editing indented blocks work correctly.
29065 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29067 * org-exp.el (org-export-replace-src-segments-and-examples):
29068 Find indented blocks.
29069 (org-export-format-source-code-or-example): Fix indentation of
29071 (org-export-remove-indentation): New function.
29072 (org-export-select-backend-specific-text): Allow backend-specific
29073 code to be indented.
29074 (org-export-mark-blockquote-verse-center): Allow markers to be
29077 * org.el (org-fontify-meta-lines): New function.
29078 (org-set-font-lock-defaults): Call the new fontification
29081 * org-faces.el (org-meta-line): New face.
29082 (org-block): New face.
29084 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29086 * org.el (org-treat-insert-todo-heading-as-state-change)
29087 (org-treat-S-cursor-todo-selection-as-state-change):
29089 (org-insert-todo-heading):
29090 Honor `org-treat-insert-todo-heading-as-state-change'.
29091 (org-shiftright, org-shiftleft):
29092 Honor `org-treat-S-cursor-todo-selection-as-state-change'.
29093 (org-inhibit-logging): New variable.
29095 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29097 * org-agenda.el (org-remove-subtree-entries-from-agenda):
29098 Reduce range for marker position checking.
29100 * org-latex.el (org-export-latex-first-lines): Fix bug when
29101 exporting a region.
29103 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29105 * org-exp.el (org-export-push-to-kill-ring): Protect using
29106 x-set-selection, because that does not always work.
29108 * org-agenda.el (org-agenda-list): Apply the new face
29109 `org-agenda-date-today'.
29111 * org-faces.el (org-agenda-date-today): New face.
29113 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29115 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
29116 creating appointments.
29118 * org-latex.el (org-export-latex-low-levels): Fix customization
29121 * org.el (org-priority, org-shiftup, org-shiftdown):
29122 Disable priority commands.
29124 * org-agenda.el (org-agenda-priority): Disable priority commands.
29126 * org.el (org-enable-priority-commands): New option.
29128 * org-colview.el (org-columns-compute)
29129 (org-columns-number-to-string): Fix problems with empty fields.
29131 * org-exp.el (org-export-push-to-kill-ring): New function.
29132 (org-export-copy-to-kill-ring): New option.
29134 * org-latex.el (org-export-as-latex):
29135 Call `org-export-push-to-kill-ring'.
29137 * org-exp.el (org-export-show-temporary-export-buffer):
29140 * org-latex.el (org-export-as-latex):
29141 Use `org-export-show-temporary-export-buffer'.
29143 * org-exp.el (org-export-show-temporary-export-buffer):
29145 (org-export-push-to-kill-ring): New function.
29147 * org-colview.el (org-columns-compile-map): New variable.
29148 (org-columns-new, org-columns-compute)
29149 (org-columns-number-to-string, org-columns-uncompile-format)
29150 (org-columns-compile-format): Implement new operators.
29152 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29154 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
29156 * org-list.el (org-update-checkbox-count): Make property
29159 * org.el (org-hierarchical-todo-statistics): New option.
29160 (org-update-parent-todo-statistics): Modify to handle recursive
29163 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29165 * org-publish.el (org-publish): Make this function behave
29166 correctly in interactive use when called with a prefix argument.
29168 * org.el (org-todo-statistics-hook): New hook.
29169 (org-update-parent-todo-statistics): Use new hook.
29170 (org-log-into-drawer): New function.
29171 (org-add-log-setup): Use the new `org-log-into-drawer' function to
29172 determine if we should be logging into a drawer.
29173 (org-log-into-drawer): Update docstring.
29174 (org-default-properties): Add LOG_INTO_DRAWER as a property.
29176 * org-list.el (org-checkbox-statistics-hook): New hook.
29177 (org-update-checkbox-count-maybe): Use new hook.
29179 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29181 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
29182 better buffer-generating mechanism.
29183 (org-edit-src-find-buffer): New function.
29185 * org-icalendar.el (org-print-icalendar-entries): Don't check for
29186 archive tag, this is already done by `org-agenda-skip'.
29187 data while constructing lost of tags.
29189 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29191 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
29192 as argument separator in macros.
29194 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29196 * org.el (org-after-sorting-entries-or-items-hook): New hook.
29197 (org-sort-entries-or-items): Run the new hook.
29198 (org-after-refile-insert-hook): New hook.
29199 (org-refile): Run `org-after-refile-insert-hook'.
29201 * org-agenda.el (org-agenda-get-progress): Never take time of day
29202 from headline when displaying progress.
29204 * org-latex.el (org-export-latex-complex-heading-re): New variable.
29205 (org-export-as-latex): Force the correct regexp in the
29206 preprocessor buffer.
29207 (org-export-latex-set-initial-vars):
29208 Set `org-export-latex-complex-heading-re'.
29210 * org-agenda.el (org-agenda-start-with-log-mode): New option.
29211 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
29213 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29215 * org-latex.el (org-export-latex-tables-centered): New option.
29216 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
29218 * org-exp.el (org-export-as-org): New command.
29219 (org-export-as-org): New command.
29221 * org-publish.el (org-publish-org-to-org): New function.
29223 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29225 * org.el (org-yank): Just call `org-yank-generic'.
29226 (org-yank-generic): New function, containing the formaer
29227 functionality of `org-yank'.
29229 * org-latex.el (org-export-latex-not-done-keywords)
29230 (org-export-latex-done-keywords): New variables.
29231 (org-export-latex-todo-keyword-markup): New option.
29232 (org-export-latex-set-initial-vars): Remember the TODO keywords.
29233 (org-export-latex-keywords-maybe): Apply the TODO markup.
29235 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29237 * org-exp.el (org-infile-export-plist): Add more default macros.
29238 (org-export-preprocess-apply-macros): Process macro arguments.
29240 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29242 * org-icalendar.el (org-icalendar-include-todo): New allowed value
29244 (org-print-icalendar-entries): Respect the new value of
29245 `org-icalendar-include-todo'.
29247 * org.el (org-link-try-special-completion)
29248 (org-file-complete-link): New functions.
29249 (org-insert-link): Add special completion support for some link
29252 * org-bbdb.el (org-bbdb-complete-link): New function.
29254 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29256 * org-list.el (org-update-checkbox-count): Allow recursive
29258 (org-hierarchical-checkbox-statistics): New option.
29260 * org.el (org-cycle): Remove erraneous space character.
29262 * org-icalendar.el (org-icalendar-timezone): Initialize from
29265 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29267 * org.el (org-autoload): Fix autoloading of ascii export
29269 (org-modules): Add org-special-blocks.
29271 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29273 * org-icalendar.el (org-start-icalendar-file): Use the new option.
29274 (org-ical-timezone): New option.
29276 * org-exp.el (org-export-get-coderef-format): Use the description
29279 * org.el (org-sort-entries-or-items): Improve docstring, and make
29280 better implementation for time sorting.
29282 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29284 * org.el (org-edit-src-persistent-message): New option.
29285 (org-edit-src-code, org-edit-fixed-width-region): Use the new
29288 * org-clock.el (org-clock-insert-selection-line): Fix prefious
29291 * org.el (org-edit-src-code, org-edit-fixed-width-region):
29292 Use separate buffer instead of indirect buffer to edit source code.
29293 (org-edit-src-exit): Make this function work with the new setup.
29295 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
29296 are properly fontified before shown in the selection menu.
29298 * org.el (org-fontify-like-in-org-mode): New function.
29300 * org-latex.el (org-export-latex-links): Use the property list to
29301 retrieve the default image attributes.
29303 * org-exp.el (org-export-plist-vars): Add a new option.
29305 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29307 * org-exp.el (org-export, org-export-visible): Support ASCII
29309 (org-export-normalize-links): Do not protect the description if it
29310 is explicitly given.
29312 * org-list.el (org-reset-checkbox-state-subtree): Move here from
29314 (org-reset-checkbox-state-subtree):
29315 Call `org-reset-checkbox-state-subtree'.
29317 * org-remember.el (org-select-remember-template): For the
29318 selection of a valid template.
29320 * org-latex.el (org-export-region-as-latex): Supply the
29321 force-no-subtree argument.
29322 (org-export-as-latex): Provide better limits when exporting the
29323 first line. When exporting to string, we still want the first
29325 (org-export-latex-first-lines): New argument END, to force the end
29327 (org-export-region-as-latex): Use the property list.
29328 (org-export-as-latex): ????
29330 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29332 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
29333 (org-export-latex-preprocess): Run the new hook.
29335 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
29336 (org-export-preprocess-string): Run the new hook.
29338 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29340 * org-macs.el (org-check-external-command): New defsubst.
29342 * org.el (org-mode-map): New key for reload.
29343 (org-format-latex): Better error message when external programs
29346 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
29348 * org.el (org-sort-entries-or-items): Explicit sorting function
29349 for priorities, needed for XEmacs compatibility.
29351 * org-remember.el (org-remember-apply-template): Improve auto-save
29354 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29356 * org-latex.el (org-export-latex-preprocess): Also protect
29357 environments ending in a star.
29359 * org-list.el (org-at-item-p): Fix regular expression.
29361 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29363 * org.el (org-end-of-subtree): Improve speed.
29365 * org-agenda.el (org-agenda-get-timestamps)
29366 (org-agenda-get-progress, org-agenda-get-deadlines)
29367 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
29368 in particular, wait as long as possible to collect the tags.
29369 (org-stuck-projects): Improve docstring.
29371 * org.el (org-store-link): No errors when getting custom id before
29373 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
29375 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29377 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
29379 * org-protocol.el: Remove dependency on url.el.
29380 (org-protocol-unhex-compound, org-protocol-open-source):
29381 Remove dependency on url.el.
29383 * org-latex.el (org-export-as-pdf):
29384 Use `org-latex-to-pdf-process'.
29386 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29388 * org-latex.el (org-latex-to-pdf-process): New option.
29390 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
29392 (org-agenda-get-timestamps):
29393 Honor `org-agenda-skip-additional-timestamps-same-entry'.
29395 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
29396 (org-clock-goto): Find recent task only if
29397 `org-clock-goto-may-find-recent-task' allows it.
29399 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
29400 drawers, and drawers that are missing the :END: line.
29402 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29404 * org-clock.el (org-clock-goto): Go to recently clocked task if no
29407 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29409 * org.el (org-update-parent-todo-statistics): Check for
29410 STATISTICS_FROM property.
29412 * org-list.el (org-update-checkbox-count): Check for
29413 STATISTICS_FROM property.
29415 * org.el (org-tab-first-hook)
29416 (org-tab-after-check-for-table-hook)
29417 (org-tab-after-check-for-cycling-hook): New hooks.
29418 (org-cycle-internal-global, org-cycle-internal-local):
29419 New functions, split out from `org-cycle'.
29420 (org-cycle): Call the new hooks.
29422 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29424 * org-exp.el (org-export-preprocess-string): Reset the list of
29425 preferred targets for each run of the preprocessor.
29427 * org.el (org-refile-target-verify-function):
29428 Improve documentation.
29429 (org-get-refile-targets): Respect point being moved by the
29430 verification function.
29432 * org-latex.el (org-export-latex-timestamp-keyword-markup):
29434 (org-export-latex-keywords): Use new option.
29436 * org.el (org-rear-nonsticky-at): New defsubst.
29437 (org-activate-plain-links, org-activate-angle-links)
29438 (org-activate-footnote-links, org-activate-bracket-links)
29439 (org-activate-dates, org-activate-target-links)
29440 (org-activate-tags): Place the rear-nonsticky properties at the
29443 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29445 * org-protocol.el (server-edit): Declare `server-edit'.
29446 (org-protocol-unhex-string, org-protocol-unhex-compound):
29448 (org-protocol-check-filename-for-protocol): Call `server-edit'.
29450 * org.el (org-default-properties): New default properteis for
29453 * org-exp.el (org-export-add-subtree-options): Add new properties
29454 for subtree export.
29456 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29458 * org-id.el (org-id-get-with-outline-path-completion): Turn off
29459 org-refile-target-verify-function for the duration of the command.
29461 * org.el (org-link-to-org-use-id): New possible value
29462 `create-if-interactive-and-no-custom-id'.
29463 (org-store-link): Use custom IDs.
29464 (org-link-search): Find custom ID properties from #link.
29465 (org-default-properties): Add CUSTOM_ID for property completion.
29466 (org-refile-target-verify-function): New option.
29467 (org-goto): Turn off org-refile-target-verify-function
29468 for the duration of the command.
29470 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29472 * org-exp.el (org-export-preferred-target-alist): New variable.
29473 (org-export-define-heading-targets): Find the new CUSTOM_ID
29475 (org-export-target-internal-links): Target the custom ids when
29478 * org-latex.el (org-export-latex-preprocess): Better regexp for
29479 matching latex macros with arguments.
29481 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29483 * org-remember.el (org-remember-handler): Allow filing to non-org
29486 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
29488 * org-table.el (org-table-fix-formulas): Do not change references
29490 (org-table-get-remote-range): Convert standard coordinates to RC
29493 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
29495 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29497 * org-compat.el (org-sha1-string): Function removed.
29499 * org.el (org-refile-allow-creating-parent-nodes): New option.
29500 (org-refile-get-location): New argument NEW-NODES.
29501 (org-refile): Call `org-refile-get-location' with the new
29503 (org-refile-get-location): Arrange for adding a new child.
29504 (org-refile-new-child): New function.
29506 * org-clock.el: Fix a number of docstrings.
29507 (org-clock-find-position): New argument
29508 FIND-UNCLOSED to make the function find an unclosed clock in the
29510 (org-clock-in): Call `org-clock-find-position' with the new
29511 argument if we might be resuming a clock.
29513 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29515 * org-latex.el (org-export-latex-display-custom-times): New variable.
29516 (org-export-latex-timestamp-markup): New option.
29517 (org-export-latex-set-initial-vars): Remember the local value of
29518 `org-display-custom-times'.
29519 (org-export-latex-content): Process time stamps.
29520 (org-export-latex-time-stamps): New function.
29522 * org-macs.el (org-maybe-intangible): Add intangible property
29523 again to invisible text.
29525 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29527 * org-exp.el (org-default-export-plist): Handle undefined
29530 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29532 * org.el (org-sort-entries-or-items): Match TODO keywords
29533 case-sensitively, when sorting.
29534 (org-priority): Do not match TODO keywords with wrong case.
29536 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29538 * org.el (org-todo): Honor the NOBLOCKING property.
29540 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
29541 NOBLOCKING property.
29543 * org.el (org-scan-tags): Fix bug in tag scanner.
29545 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29547 * org.el (org-modules): Mark obsolete packages.
29549 * org-html.el: New file, split out from org-exp.el.
29551 * org-icalendar.el: New file, split out from org-exp.el.
29553 * org-xoxo.el: New file, split out from org-exp.el.
29555 * org-ascii.el: New file, split out from org-exp.el.
29557 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29559 * org-compat.el (org-find-library-name): New function.
29561 * org.el (org-pre-cycle-hook): New hook.
29562 (org-cycle): Call the new hook in appropriate places.
29563 (org-reload): Only reload files that have been loaded before.
29565 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29567 * org.el (org-set-font-lock-defaults): Enforxe space or line end
29568 after todo keyword.
29569 (org-todo): When changing TODO state, do matching
29571 (org-map-continue-from): New variable.
29572 (org-scan-tags): Respect values in `org-map-continue-from'.
29573 (org-reload): Make XEmacs compatible.
29575 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29577 * org-protocol.el (org-protocol-flatten-greedy): New function.
29578 (org-protocol-flatten): New function.
29580 * org.el (org-open-link-from-string): Pass reference buffer to
29581 `org-open-at-point'.
29582 (org-open-at-point): New optional argument `reference-buffer'.
29584 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29586 * org.el (org-scan-tags): Make tag scan find headline in first
29588 (org-get-refile-targets): Add the naked file name.
29589 (org-refile): Store as top-level entry when only file name was
29592 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
29594 * org.el (org-block-todo-from-children-or-siblings-or-parent):
29595 Rename from org-block-todo-from-children-or-siblings, and
29596 enhanced to look for the parent's status as well.
29598 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
29599 (org-agenda-get-progress): Add first notes line to log entry if so
29602 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29604 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
29605 (org-agenda-cleanup-fancy-diary): Call the new hook.
29607 * org-remember.el (org-remember-apply-template): Take the default
29608 for the annotation from the :annotation property.
29610 * org-mac-message.el (org-mac-message-get-link): Remove the
29612 (org-mac-message-get-link): Return the result.
29614 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29616 * org.el (org-refile-get-location): Add file name only if not
29617 already included in outline path.
29619 * org-faces.el (org-n-level-faces): Fix customization type from
29622 * org-exp.el (org-export-headline-levels): Fix customization type
29623 from number to integer.
29625 * org-agenda.el (org-agenda-confirm-kill)
29626 (org-agenda-custom-commands-local-options)
29627 (org-timeline-show-empty-dates, org-agenda-ndays)
29628 (org-agenda-start-on-weekday, org-scheduled-past-days):
29629 Fix customization type from number to integer.
29631 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29633 * org-protocol.el: Declare some functions.
29635 * org-agenda.el (org-agenda-compare-effort):
29636 Honor `org-sort-agenda-noeffort-is-high'.
29637 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29638 (org-agenda-compare-effort): Implement the "?" operator for
29639 finding entries without effort setting.
29641 * org.el (org-extract-attributes-from-string): New function.
29643 * org-exp.el (org-export-splice-attributes): New function.
29645 2009-08-06 Bastien Guerry <bzg@gnu.org>
29646 Daniel M German <dmg@uvic.org>
29647 Sebastian Rose <sebastian_rose@gmx.de>
29648 Ross Patterson <me@rpatterson.net>
29650 * org-protocol.el: New file.
29652 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
29654 * org-docbook.el: New file.
29656 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29658 * org-mouse.el: XEmacs compatibility fixes.
29660 * org.el (org-modules): Add org-inlinetasks.el.
29661 (org-cycle): Implement limiting level on cycling.
29662 (org-move-subtree-down): Fix bug with swapping subtrees at end of
29665 * org-inlinetask.el: New file.
29667 * org.el (org-emphasis-regexp-components): Allow braces in
29668 emphasis pre and post match.
29670 * org-footnote.el (org-footnote-normalize): When only sorting, do
29671 not insert inline notes at the end.
29673 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29675 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29677 * org.el (org-reftex-citation): New command.
29679 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29681 * org-agenda.el (org-agenda-cmp-user-defined): New option.
29682 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29684 (org-entries-lessp): Apply the new sorting option.
29686 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29687 blocker code, when an older sibling has children.
29689 * org-mac-message.el (org-mac-message-get-link): Improve getting
29690 links from multiple selected messages.
29692 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29694 * org-remember.el (org-remember-finalize): Do not set buffer file
29696 (org-remember-handler): Mark buffer as unmodified.
29697 (org-remember-handler): Delete backup file and show message about
29698 remaining backup files.
29699 (org-remember-auto-remove-backup-files): New option.
29701 * org.el (org-store-link): Use buffer name as link description in
29703 (org-ido-switchb): Fix argument bug for completion.
29705 * org-remember.el (org-remember-apply-template): Set local
29706 variable `auto-save-visited-file-name' instead of global one.
29708 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29710 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29711 (org-agenda-get-todos): Mark file tags as inherited.
29712 (org-agenda-list): Always search diary lines for a time.
29714 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29716 * org-feed.el: New file.
29718 * org-exp.el (org-export-as-html): Close local lists depending on
29719 indentation, also when starting a table.
29721 * org-remember.el (org-remember-backup-directory)
29722 (org-remember-backup-name): New internal variable.
29724 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29726 * org-clock.el (org-clock-out-if-current): Make buffer detection
29727 work in indirect buffers as well.
29729 * org.el (org-emphasis-regexp-components): Add the exxclamation
29730 mark to the post-emphasis characters.
29732 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29734 * org.el (org-read-date-minibiffer-septup-hook): New hook.
29735 (org-read-date): Run the new hook.
29737 * org-mac-message.el (org-mac-flagged-mail): New group.
29738 (org-mac-mail-account): New variable.
29739 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29742 * org-remember.el (org-remember-backup-directory): New variable.
29743 (org-remember-apply-template): Write file to backup directory.
29745 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29747 * org-mouse.el (org-mouse-todo-menu): New function.
29748 (org-mouse-todo-keywords): Function removed.
29749 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29751 * org-table.el (org-table-beginning-of-field)
29752 (org-table-end-of-field): New commands.
29753 (org-table-previous-field, org-table-beginning-of-field):
29754 Better error messages.
29755 (orgtbl-setup): Include `M-a' and `M-e'.
29757 * org.el (org-backward-sentence, org-forward-sentence):
29760 * org-colview.el (org-colview-initial-truncate-line-value):
29762 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29763 (org-columns): Remember the value of `truncate-lines'.
29765 * org.el (org-columns-skip-arrchived-trees): New option.
29767 * org-agenda.el (org-agenda-export-html-style): Define color for
29768 org-agenda-done face.
29769 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29770 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29772 * org.el (org-scan-tags): Use the new face.
29774 * org-faces.el (org-agenda-done): New face.
29776 * org.el (org-scan-tags): Test the value org
29777 `org-tags-match-list-sublevels'.
29778 (org-tags-match-list-sublevels): New allowed value: indented.
29780 * org-latex.el (org-export-latex-make-header): Apply macros
29783 * org-exp.el (org-export-apply-macros-in-string): New function.
29785 * org-latex.el (org-export-latex-list-parameters): Fix bug
29786 with the definition of a checked box.
29788 * org-clock.el (org-clock-find-position): Fix drawer indentations.
29790 * org-latex.el (org-export-latex-low-levels): More options
29791 for how to process lower levels in LaTeX.
29792 (org-export-latex-subcontent): Better treatment for lists as a
29793 means of publishing lower levels.
29795 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29797 * org.el (org-set-font-lock-defaults): Use new checkbox face.
29799 * org-faces.el (org-checkbox): New face.
29801 * org-exp.el (org-export-html-preprocess): Only create LaTeX
29802 fragement images if there is an export file.
29804 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29806 * org-agenda.el (org-stuck-projects): Document that the subtree of
29807 projects that are not stuck will now be searched for stuck
29809 (org-agenda-skip-entry-when-regexp-matches)
29810 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29811 (org-agenda-list-stuck-projects):
29812 Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29814 * org-latex.el (org-export-latex-preprocess):
29815 Improve export of verses.
29817 * org-exp.el (org-export-as-html): Implement centering as a div
29818 rather than a paragraph. Do a better job with line-end in verse
29821 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29823 * org.el (org-open-at-point): Fix tags searches by mouse click.
29825 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29827 * org-latex.el (org-export-latex-preprocess): Implement the
29830 * org-exp.el (org-export-mark-blockquote-verse-center):
29831 Rename from `org-export-mark-blockquote-and-verse'.
29832 (org-export-as-html): Implement the centering markup.
29834 * org-latex.el (org-export-latex-tables): Fix vertical
29837 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29839 * org.el (org-read-date-history): New variable.
29840 (org-read-date): Use new history variable.
29841 (org-toggle-heading): Fix bug when used before first headline.
29842 (org-store-log-note): Remove drawer if empty while note is
29844 (org-remove-empty-drawer-at): New function.
29845 (org-check-after-date): New command.
29846 (org-sparse-tree): New sparse tree command "a".
29848 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29850 2009-08-06 Bastien Guerry <bzg@gnu.org>
29852 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29853 column and a space, not only a column.
29855 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29857 * org-latex.el (org-export-latex-emphasis-alist):
29858 Better defaults for verbose emphasis.
29859 (org-export-latex-emph-format): New function.
29860 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29862 * org-agenda.el (org-agenda-menu): Add new commands to menu.
29863 (org-agenda-do-date-later, org-agenda-do-date-earlier)
29864 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29865 (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29868 * org.el (org-timestamp-change): Move end-time along with start
29871 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29873 * org-exp.el (org-export-target-internal-links)
29874 (org-export-as-html): Protect links specified as #name.
29876 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29878 * org.el (org-clone-subtree-with-time-shift): New command.
29880 * org-latex.el (org-export-latex-special-chars)
29881 (org-export-latex-treat-sub-super-char): Fix subscript export.
29883 * org-exp.el (org-create-multibrace-regexp): Do not add
29884 backslashes to the class.
29886 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29888 * org-colview.el (org-columns-map): Better functions for moving up
29889 and down a row, even if `truncate-line' is nil.
29891 * org.el (org-insert-todo-heading): Make sure the keyword is
29892 inserted at the correct position.
29894 * org-publish.el (org-publish-project-alist)
29895 (org-publish-projects, org-publish-org-index): Change default anme
29896 for the index of file names to "sitemap.org".
29898 * org-latex.el (org-export-latex-tables):
29899 Use `org-split-string', for Emacs 21 compatibility.
29901 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29903 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29905 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29907 * org-exp.el (org-export-page-description)
29908 (org-export-page-keywords): New variables.
29909 (org-export-plist-vars): Add entries for :keywords and
29911 (org-infile-export-plist): Parse for new keywords.
29912 (org-get-current-options): Add new keywords.
29913 (org-export-as-html): Publish description and keywords.
29915 * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29917 (org-agenda-add-entry-text):
29918 Honor `org-agenda-add-entry-text-descriptive-links'.
29920 * org-latex.el (org-export-latex-preprocess): Make all
29921 external preprocess functions use a PARAMETER arg.
29923 * org-exp.el (org-export-preprocess-string)
29924 (org-export-select-backend-specific-text)
29925 (org-export-format-source-code-or-example)
29926 (org-format-org-table-html): Support docbook export.
29927 (org-export-preprocess-string): Make all external preprocess
29928 functions use a PARAMETER arg.
29930 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29932 * org-exp.el (org-export-html-style-include-scripts): New option.
29933 (org-export-plist-vars): Add new option
29934 `org-export-html-style-include-scripts'.
29935 (org-export-as-html): Honor new option
29936 `org-export-html-style-include-scripts'.
29937 (org-export-html-scripts, org-export-html-style-default):
29938 Fix xml issues with the Safari browser.
29940 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29942 * org-publish.el (org-publish-attachment): Only copy file when the
29943 directories differ.
29945 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29947 * org-clock.el (org-clocktable-steps): Use inactive time stamps
29948 for clocktable steps.
29950 * org.el (org-additional-option-like-keywords): Add two more
29953 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29955 * org-exp.el (org-export-format-source-code-or-example):
29956 Mark temporary buffer unmodified, so that it will be killed even if
29957 mode like message mode has decided to assign a file name.
29959 * org.el (org-scan-tags): Improve tag inheritance.
29960 (org-scan-tags, org-make-tags-matcher): Make tag comparison
29962 (org-scan-tags): Use the internal tags list instead of creating it
29964 (org-trust-scanner-tags, org-scanner-tags): New variables.
29965 (org-scan-tags): Set `org-scanner-tags'.
29966 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
29967 (org-map-entries): Document the possible speedup using scanner
29970 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29972 * org.el (org-add-planning-info): Fix bug with looking for keyword
29975 * org-agenda.el (org-agenda-custom-commands-local-options):
29976 Add option for tags filter preset.
29977 (org-prepare-agenda): Store filter preset as a property on the
29979 (org-finalize-agenda): Call the filter, if there is a preset.
29980 (org-agenda-filter-by-tag): Filter again after clearing the
29981 filter, when there still is a preset.
29982 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
29983 Include the preset filter.
29984 (org-agenda-redo): Apply the filter again, also the preset filter.
29986 * org-exp.el (org-export-as-html): Use IDs in the correct way.
29988 * org.el (org-uuidgen-p): New function.
29990 * org-agenda.el (org-agenda-fontify-priorities): New default value
29992 (org-agenda-fontify-priorities): Rename from
29993 org-fontify-priorities.
29995 * org.el (org-set-font-lock-defaults):
29996 Call `org-font-lock-add-priority-faces'.
29997 (org-font-lock-add-priority-faces): New function.
29999 * org-faces.el (org-set-tag-faces): New option.
30000 (org-priority-faces): New variable.
30002 * org-exp.el (org-export-as-html): Add a "content" div around the
30003 entire content of the body tag.
30004 (org-export-html-get-bibliography): New function.
30005 (org-export-html-validation-link): New variable.
30006 (org-export-as-html): Add validation link to exported page.
30008 * org.el (org-match-sparse-tree): Rename from
30009 `org-tags-sparse-tree'.
30010 (org-tags-sparse-tree): New alias.
30012 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30014 * org.el (org-get-valid-level): Catch the case where the level
30017 * org-clock.el (org-clock-find-position): Better indentation of
30020 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30022 * org-agenda.el (org-agenda-quit): Delete window only when the
30023 frame-setup was not `current-window'.
30025 * org.el (org-tag-persistent-alist): New option.
30026 (org-startup-options): Add keyword `noptag'.
30027 (org-fast-todo-selection): Handle :newline correctly.
30028 (org-set-tags): Handle :newline correctly.
30029 (org-fast-tag-selection): Handle :newline correctly.
30031 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30033 * org-exp.el (org-export-as-ascii): Reverse link buffer before
30035 (org-export-ascii-push-links): Fix bug with pussing links into the
30038 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30040 * org-archive.el (org-archive-subtree): Do not add 1 to level if
30041 pasting at top level.
30043 * org-bbdb.el: Improve documentation.
30045 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30047 * org-list.el (org-insert-item): Only consider insert empty lines
30048 is `org-empty-line-terminates-plain-lists' is not nil.
30050 * org.el (org-blank-before-new-entry): Mention the dependence on
30051 `org-empty-line-terminates-plain-lists' in the docstring.
30053 * org-publish.el (org-publish-get-project-from-filename):
30054 New optional argument UP. Only find the top project if UP is set.
30055 (org-publish-current-project): Find the top encloding project.
30057 * org-agenda.el (org-agenda-before-write-hook)
30058 (org-agenda-add-entry-text-maxlines): New options.
30059 (org-write-agenda): Run the new hook in the temporary buffer.
30060 (org-agenda-add-entry-text): New function.
30061 (org-write-agenda): Implement PDF export, using ps2pdf.
30063 * org.el (org-global-properties-fixed, org-global-properties):
30064 Improve documentation string.
30066 * org-exp.el (org-export-ascii-links-to-notes): New option.
30067 (org-export-as-ascii): Handle links better.
30068 (org-export-ascii-wrap, org-export-ascii-push-links):
30071 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30073 * org-agenda.el (org-agenda): Make prefix arg optional.
30074 (org-agenda-search-headline-for-time): New option.
30075 (org-format-agenda-item):
30076 Honor `org-agenda-search-headline-for-time'.
30078 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
30081 * org.el (org-self-insert-cluster-for-undo): New option.
30082 (org-self-insert-command): Cluster undo for 20 characters.
30083 (org-self-insert-command-undo-counter): New variable.
30085 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30087 * org-exp.el (org-export-as-html): Fix problem with closing colone
30090 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30092 * org-latex.el (org-export-as-latex)
30093 (org-export-latex-first-lines): Avoid modification flag when
30094 adding or removing text properties.
30095 (org-export-latex-fontify): Catch error when org-emph-alist has
30096 entries that are not defined for LaTeX export.
30098 * org-export-latex.el: Rename to org-latex.el.
30100 * org-latex.el: Rename from org-export-latex.el.
30102 * org.el (orgstruct++-mode): New function.
30103 (turn-on-orgstruct++): Call `orgstruct++-mode'.
30104 (org-context-p): Allow detecting item context after the first line
30106 (orgstruct-make-binding): Detect if item-body context should be
30108 (orgstruct-is-++): New variable.
30109 (org-add-planning-info): Catch the case when there is no planning
30110 info yet and the call does not want to add anything, only maybe
30111 tries to remove something.
30112 (org-special-ctrl-a/e): All value to be a cons cell with separate
30113 settings for `C-a' and `C-e'.
30114 (org-beginning-of-line, org-end-of-line): Honor separate values
30115 for `C-a' and `C-e'.
30117 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30119 * org.el (org-reload): New command.
30121 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
30123 * org-gnus.el (org-gnus-store-link): Fix bug where
30124 org-gnus-store-link used wrong subject when called in an article
30125 buffer. Patch provided by fengli AT gmail DOT com.
30127 2009-03-13 D. Goel <deego3@gmail.com>
30129 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
30130 replace ls by (values-list ls).
30132 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
30134 * org-remember.el (org-remember-apply-template): Turn off ido for
30137 * org.el (org-priority): Also find invisible headings, for remote
30139 (org-completing-read-no-ido): New function.
30140 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
30142 * org-colview.el (org-columns-edit-value): No special treatment of
30145 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
30147 * org.el (org-block-todo-from-children-or-siblings):
30148 Use `org-up-heading-all' so that this will work correctly with hidden
30149 property drawers and entries.
30150 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
30151 falling back to normal, default command.
30152 (org-get-location): Temporarily turn off special behavior.
30154 2009-02-13 Glenn Morris <rgm@gnu.org>
30156 * org-rmail.el (rmail-show-message): Restore argument list to the
30157 declaration now that this functions behaves in Emacs 23 as in 22.
30159 2009-02-12 Glenn Morris <rgm@gnu.org>
30161 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
30163 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
30165 * org-footnote.el (org-footnote-action): Fix doc typo.
30167 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
30169 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
30170 text before first headline.
30171 (org-export-remove-or-extract-drawers): Fix regular expression for
30172 extracting drawers.
30174 * org.el (org-format-latex): Stop LaTeX fragment processing in
30175 protected examples.
30177 2009-02-05 Glenn Morris <rgm@gnu.org>
30179 * org-rmail.el (rmail-show-message): Update declaration.
30180 (rmail-buffer, rmail-view-buffer): Declare.
30181 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
30183 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
30185 * org.el (org-return-follows-link): Revert setting
30186 `org-return-follows-link' to t by default.
30188 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
30190 * org.el (org-cycle-global-at-bob): Fix typo.
30192 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
30194 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
30196 * org.el (org-mode): Make dependence stuff work more reliably.
30197 (org-update-parent-todo-statistics): Fix bug with updating
30199 (org-yank-adjusted-subtrees, org-return-follows-link)
30200 (org-use-fast-todo-selection, org-tags-column): New default
30201 setting for variables.
30203 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
30204 ~ as verbatim delimiters, to avoid table bug.
30205 (org-export-latex-classes): Remove the a4paper option from the
30208 * org-exp.el (org-export-html-format-image): New argument
30209 PAR-OPEN, to fix XHTM validation bug.
30210 (org-export-as-html): Pass par-open to
30211 `org-export-html-format-image'.
30212 (org-export-html-footnotes-section): Use a more consistent id for
30215 * org-agenda.el (org-agenda-sorting-strategy)
30216 (org-agenda-tags-column): New default setting for variables, based
30217 on a poll what typical uses use.
30218 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
30219 setting the blocked tag.
30221 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
30223 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
30224 only checking for blocks.
30226 * org-exp.el (org-export-html-footnotes-section): Make the div id
30229 * org-export-latex.el (org-export-latex-classes):
30230 Remove paper size option from LaTeX classes.
30232 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
30234 * org.el (org-enforce-todo-checkbox-dependencies): New option.
30235 (org-block-todo-from-checkboxes): New function.
30236 (org-todo): Make triple prefix arg circumvent blocking.
30238 2009-01-30 Glenn Morris <rgm@gnu.org>
30240 * org-list.el (org-empty-line-terminates-plain-lists)
30241 (org-toggle-checkbox): Doc fixes.
30243 * org-table.el (org-table-clean-before-export): Fix declaration.
30245 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
30247 * org-timer.el (org-timer): Provide the timer feature.
30249 * org.el (org-require-autoloaded-modules): Add a few more files to
30250 the list of autoloaded modules.
30252 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
30254 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
30255 drawers that are unprotected.
30256 (org-export-html-format-image): Make sure inlined LaTeX fragment
30257 images remain inlined.
30259 * org.el (org-toggle-ordered-property): New function.
30260 (org-mode-map): Add a key for `org-toggle-ordered-property'.
30261 (org-org-menu): Add menu entries for TODO dependencies.
30263 * org.el (org-default-properties): Add ORDERED to the default
30264 properties, to get completion support for it.
30266 * org-list.el (org-update-checkbox-count): Update more than one cookie.
30268 * org.el (org-update-parent-todo-statistics): Update more than one
30271 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
30273 * org-agenda.el (org-agenda-get-todos): Start search from correct
30276 * org.el (org-fast-todo-selection): Make sure TODO selection does
30277 not change buffer position.
30279 * org-list.el (org-toggle-checkbox): Implement adding or removing
30280 checkboxes from line or region when called with a prefix
30283 * org-rmail.el (org-rmail-store-link): Protect the call to
30284 `rmail-narrow-to-non-pruned-header'.
30286 * org-clock.el (org-clock-special-range): Fix week display in
30289 * org-exp.el (org-get-current-options): Fix bug when in indirect
30292 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
30293 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
30294 (org-agenda-dim-blocked-tasks): New function.
30296 * org.el (org-enforce-todo-dependencies): New option.
30297 (org-block-todo-from-children-or-siblings): New function.
30299 * org-faces.el (org-agenda-dimmed-todo-face): New face.
30301 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
30303 * org.el (org-todo): Return correct state type even if the blocker
30305 (org-modifier-cursor-error): Rename from
30306 `org-shiftcursor-error'.
30307 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
30308 (org-shiftmetadown): Call `org-modifier-cursor-error'.
30310 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
30311 to get real errors from the blocker hook.
30313 * org.el (org-shiftselect-error, org-call-for-shift-select):
30315 (org-set-visibility-according-to-property): Turn off the setting
30316 of `org-show-entry-below', to avoid overruling a FOLDED visibility
30319 * org.el (org-support-shift-select): New option.
30320 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
30321 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
30322 selection outside contexts.
30324 * org-list.el (org-at-item-bullet-p): New function.
30326 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
30329 * org-footnote.el (org-footnote-normalize): Remove unnecessary
30331 (org-insert-footnote-reference-near-definition):
30332 Remove unnecessary let form.
30334 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
30336 * org-export-latex.el (org-export-as-latex):
30337 Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
30338 (org-export-latex-first-lines): New parameter OPT-PLIST.
30340 * org.el (org-yank): Tell `delete-selection-mode' about
30343 * org-faces.el (org-clock-overlay): Fix face definition.
30345 * org-export-latex.el (org-export-latex-first-lines):
30346 Pass timestamp and footnote parameters to the preprocessor.
30348 * org-exp.el (org-export-remove-timestamps): Do not remove time
30349 stamps inside tables.
30351 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30353 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
30355 * org.el (org-agenda-tags-todo-honor-ignore-options):
30358 * org-table.el (org-table-insert-hline): Fix typo in function call
30359 to `backward-char'.
30361 * org-exp.el (org-export-as-html): Remove the initial space from
30364 * org.el (org-scan-tags):
30365 Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30367 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
30368 New customization groups.
30369 (org-agenda-tags-todo-honor-ignore-options): New option.
30370 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
30372 (org-agenda-get-todos):
30373 Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30375 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30377 * org-exp.el (org-export-format-source-code-or-example):
30378 Escape HTML characters also in examples that anre not treated with
30379 htmlize. Also, just switch to EXAMPLE processing if we do not
30380 have a good version of htmlize.
30382 * org-rmail.el: Fix copyright notice.
30384 * org.el (org-activate-footnote-links): Improve footnote link
30387 * org-footnote.el (org-footnote-normalize): Fix finding the end of
30388 a footnote definition at the end of the file.
30390 * org-table.el (org-table-get-specials): Add an imagined hline at
30391 the end of the table. This can be useful for references that want
30392 to go to the end of the table. Also fix bug when computing last
30393 row constants, in tables that do not start right at the right
30395 (org-table-eval-formula): Match and replace remove references.
30396 (org-table-formula-substitute-names): Make sure that names inside
30397 a "remote" call are left alone, the will be replaced later when
30398 the remote call is handled.
30399 (org-table-convert-refs-to-rc): Do not convert things that might
30400 look like a reference, but are really part of an ID or namei n a
30402 (org-table-get-remote-range): New function.
30404 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30406 * org-faces.el (org-clock-overlay): Fix bug in face definition.
30408 * org-clock.el (org-clock-put-overlay): Use new face instead of
30409 `secondary-selection'.
30411 * org-faces.el (org-clock-overlay): New face.
30413 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30415 * org-exp.el (org-get-current-options): Include the option for
30416 publishing time stamps.
30418 * org.el (org-toggle-heading): Rename from
30419 `org-toggel-region-headings'.
30420 No longer needs a region defined, but will use it if there is one.
30421 (org-ctrl-c-star): Simplify, relying more on the internal
30422 workings of `org-toggle-heading'.
30423 (org-toggle-item): Rename from `org-toggle-region-items'.
30424 No longer needs a region defined, but will use it if there is one.
30425 (org-ctrl-c-minus): Simplify, relying more on the inernal
30426 workings of `org-toggle-item'.
30428 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
30429 environment detection. Also, do real changes only in unprotected
30432 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30434 * org-export-latex.el (org-export-latex-quotation-marks):
30435 Use `org-if-unprotected-1'.
30436 (org-export-latex-set-initial-vars): Check for class definition in
30439 * org-macs.el (org-if-unprotected-1): New macro.
30441 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30443 * org-compat.el (org-count-lines): New function.
30445 * org-exp.el (org-export-format-source-code-or-example):
30446 Handle switches related to text areas.
30448 * org.el (org-activate-footnote-links): Don't allow match inside a
30451 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
30453 * org-export-latex.el (org-export-latex-links): Keep a relative
30454 path relative also after export.
30456 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
30458 * org.el (org-make-tags-matcher): Never use IDO for completing the
30459 tags matcher match string.
30460 (org-completing-read): Also remove the special biding for "?".
30462 * org-attach.el (org-attach-allow-inheritance): New option.
30463 (org-attach-inherited): New variable.
30464 (org-attach-dir): Handle properties related to the attachment
30466 (org-attach-check-absolute-path): New function.
30467 (org-attach-set-directory, org-attach-set-inherit): New commands.
30468 (org-attach): Accommodate the new commands in the dispatcher.
30470 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30472 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
30473 `window-full-width-p'.
30475 * org-exp.el (org-export-as-html): Only check for images files
30476 that really can be inlined.
30478 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
30479 list of extensions to be a parameter.
30481 * org-exp.el (org-export-html-inline-image-extensions):
30484 * org-agenda.el (org-prepare-agenda):
30485 Use `org-agenda-block-separator'.
30486 (org-agenda-block-separator): New option.
30488 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30490 * org-export-latex.el (org-export-latex-tables):
30491 Call `org-table-clean-before-export' with the new optional argument.
30493 * org-exp.el (org-table-clean-before-export): New optional
30494 parameter MAYBE-QUOTED, allows for quoted characters like \# in
30497 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30499 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
30502 * org-colview.el (org-colview-construct-allowed-dates):
30503 Better error catching when a date/time property does not have allowed
30506 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30508 * org.el (org-map-entries): Restore point and restriction after
30511 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30513 * org.el (org-time=, org-time<, org-time<=, org-time>)
30514 (org-time>=, org-time<>): Make sure both values are dates.
30516 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30518 * org-archive.el (org-extract-archive-heading): Allow %s for file
30519 name also in achive location heading.
30521 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30523 * org-archive.el (org-add-archive-files): Uniquify the list before
30526 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30528 * org-compat.el (org-fit-window-to-buffer):
30529 Use `window-full-width-p'.
30531 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
30532 space after the colon in short examples.
30534 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
30535 enforce a space after the colon. However, we also allow lines
30536 that are *only* a colon.
30537 (org-export-as-html): Enforce the space after the colon in short
30539 (org-export-preprocess-string): Do the colon example protection
30541 (org-export-remove-timestamps): Do not check for protection at the
30544 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30546 * org.el (org-format-latex-options): Add new matcher for single
30547 letters between dollars.
30548 (org-get-header): Function removed.
30549 (org-heading-components): New function.
30551 * org-exp.el (org-export-define-heading-targets): Record ID's also
30552 as alternative targets.
30553 (org-export-as-html): Interpret "id:" links to other files by
30554 preserving the relative path.
30556 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
30559 * org-exp.el (org-export-normalize-links): Protect the main link,
30560 to avoid special character processing.
30562 * org-export-latex.el (org-export-latex-special-keyword-regexp):
30564 (org-export-latex-special-string-regexps): Variable removed.
30565 (org-export-latex-keywords): Use the new regexp.
30567 * org-exp.el (org-export-handle-include-files): Fetch switches and
30568 put them into the BEGIN statement.
30570 * org-timer.el (org-timer-mode-line-string): New variable.
30572 * org-clock.el (org-clock-mode-line-map): Rename from
30573 `org-clock-mode-map'.
30574 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
30575 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
30576 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
30577 (org-clock-remove-overlays): Rename from
30578 `org-remove-clock-overlays'.
30580 * org-timer.el (org-timer-pause-or-continue): Implement stopping
30581 and mode line display.
30582 (org-timer-stop): New command.
30583 (org-timer-seconds): Return correct time when timer is paused.
30584 (org-timer-mode-line-timer): New variable.
30585 (org-timer-set-mode-line, org-timer-update-mode-line):
30588 * org.el (org-insert-heading): Handle new value `auto' for
30589 `org-blank-before-new-entry'.
30590 (org-org-menu): Add new items for timer functions.
30592 * org-list.el (org-insert-item): Handle new value `auto' for
30593 `org-blank-before-new-entry'.
30595 * org.el (org-blank-before-new-entry): New value `auto', made
30598 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30600 * org-exp.el (org-export-normalize-links): If the link is also
30601 used as the description, protect the description.
30603 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30605 * org.el (org-closest-date): Fix bug with yearly repeats, in
30606 combination with preference of the past as it is used for deadline
30607 and scheduling search.
30609 * org-exp.el (org-html-handle-time-stamps): No longer check for
30610 the `org-export-with-timestamps' option, because the preprocesser
30611 has taken care of this already.
30613 * org.el (org-entry-properties): Catch the case when this is
30614 called in a non-org-mode file.
30616 * org-export-latex.el (org-export-latex-remove-from-headlines):
30617 Variable made obsolete, also LaTeX export now uses the standard
30619 (org-export-as-latex): Add the timestamps parameter to the
30620 preprocessor parameter list.
30621 (org-export-latex-content): Export the remaining keywords without
30622 considering to remove them.
30623 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30624 Use bold font instead of tt font for the keywords.
30625 (org-export-latex-fontify-headline): Format headlines, assuming
30626 that all keywords still present should be published.
30627 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30628 publish what ever remains of the time stamps.
30629 (org-export-latex-list-parameters): New option.
30630 (org-export-latex-lists): Pass additional parameters to the list
30633 * org-exp.el (org-export-preprocess-string): Remove clock lines
30634 and timestamps already in the preprocesor.
30635 (org-export-remove-timestamps, org-export-remove-clock-lines):
30637 (org-export-as-ascii, org-export-as-html): Add the timestamps
30638 parameter to the preprocessor parameter list.
30640 * org-list.el (org-list-parse-list): Parse for checkboxes.
30641 (org-list-to-generic): Introduce and handle new parameters :cbon
30643 (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30644 Add optional parameter PARAMS.
30646 * org-export-latex.el (org-export-latex-special-chars):
30647 Fix problems with interpreting dollar signs.
30648 (org-inside-latex-math-p): New function.
30649 (org-export-latex-preprocess): Protect all the math fragments.
30651 * org.el (org-latex-regexps): Allow a dash after a dollar.
30653 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30654 mark after copying.
30656 * org-agenda.el (org-run-agenda-series): Have series options set
30657 when finalizing the agenda.
30659 * org-exp.el (org-export-format-source-code-or-example):
30660 Protect the converted examples.
30662 * org.el (org-set-regexps-and-options): Fix the regexp
30663 `org-complex-heading-regexp'.
30665 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30667 * org.el (org-edit-src-get-label-format): New function.
30668 (org-coderef-label-format): New option.
30669 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30670 a label format specification and make sure it is used in the edit
30672 (org-edit-src-get-label-format): New function.
30673 (org-store-link): Handle new coderef formats.
30674 (org-link-search): Handle new coderef formats.
30676 * org-footnote.el (org-footnote-create-definition)
30677 (org-footnote-goto-local-insertion-point): Make footnote insertion
30678 work correctly when the "Footnotes" headline is the last line in
30681 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30684 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30686 * org-w3m.el (org-w3m): New customization group.
30687 (org-w3m-deactivate-mark): New option.
30688 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30691 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30693 * org.el (org-set-font-lock-defaults): Trigger footnote
30695 (org-activate-footnote-links): New function.
30696 (org-activate-links): New entry `footnote'.
30698 * org-faces.el (org-footnote): New face.
30700 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30702 * org-macs.el (org-re): Handle the [:word:] class.
30704 * org-exp.el (org-export-preprocess-string):
30705 Call `org-export-protect-colon-examples'.
30706 (org-export-protect-colon-examples): Rename from
30707 `org-export-protect-examples', and scope limited to lines starting
30710 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30712 * org-exp.el (org-export-preprocess-string): Move the preprocess
30713 hook to after turning on Org-mode.
30714 (org-export-preprocess-after-include-files-hook)
30715 (org-export-preprocess-after-tree-selection-hook)
30716 (org-export-preprocess-before-backend-specifics-hook)
30717 (org-export-preprocess-final-hook): New hooks.
30718 (org-export-preprocess-string): Run the new hooks.
30720 * org.el (org-ctrl-c-minus): Fix indentation for new items.
30722 * org-footnote.el: New file.
30724 * org.el (org-footnote): Require footnote code.
30725 (org-startup-options): Add new footnote options.
30726 (org-mode-map): New keybindig for footnotes.
30727 (org-ctrl-c-ctrl-c): Add function at footnotes.
30728 (org-org-menu): New menu entries for footnotes.
30730 * org-export-latex.el (org-export-as-latex): Pass footnote
30731 variable to preprocessor.
30732 (org-export-latex-preprocess): Treat multiple references to a
30735 * org-exp.el (org-export-preprocess-string):
30736 Call `org-footnote-normalize'.
30737 (org-export-as-ascii, org-export-as-html): Pass footnote variable
30739 (org-export-as-html): Treat multiple references to a footnote.
30741 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30743 * org-export-latex.el (org-export-latex-links): Handle coderef
30746 * org.el (org-bracket-link-analytic-regexp++): New variable.
30747 (org-make-link-regexps):
30748 Initialize `org-bracket-link-analytic-regexp++'.
30749 (org-store-link): Implement special case in edit-src buffer.
30750 (org-insert-link): No use of ide to insert stored links.
30751 (org-link-search): Implement special case for coderefs.
30753 * org-exp.el (org-export-html-scripts): New constant.
30754 (org-export-html-style-default): Add a new style for highlighted
30756 (org-export-code-refs): New variable.
30757 (org-export-preprocess-string): Initialize `org-export-code-refs'.
30758 Call `org-export-replace-src-segments-and-examples'
30759 No longer call `org-export-protect-examples'.
30760 (org-export-target-internal-links): Take care of coderef targets.
30761 (org-export-last-code-line-counter-value): New variable.
30762 (org-export-replace-src-segments-and-examples): Rename from
30763 `org-export-replace-src-segments', and modified.
30764 (org-export-format-source-code-or-example): Rename from
30765 `org-export-format-source-code'.
30766 (org-export-number-lines): New function.
30767 (org-export-as-ascii, org-export-as-html): Handle coderef links.
30769 2009-01-23 Glenn Morris <rgm@gnu.org>
30771 * org-rmail.el (rmail-narrow-to-non-pruned-header):
30772 Remove declaration of deleted function.
30774 2009-01-16 Glenn Morris <rgm@gnu.org>
30776 * org-mouse.el (org-mouse-show-context-menu):
30777 Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30778 mouse-major-mode-menu.
30780 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
30782 * org-remember.el (org-remember-handler): Safer way to get a new
30783 buffer accessing the target file.
30785 * org.el (org-refile-get-location): Handle case of current buffer
30786 not having a file associated with it.
30788 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
30790 * org-table.el (org-table-get-formula): Only ask to overwrite
30791 field formula if there really is one.
30793 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
30795 * org-export-latex.el (org-export-latex-make-header): Double the
30796 commenting % in the time stamp format.
30797 (org-export-latex-special-chars): Handle case where there is no
30800 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30802 * org.el (org-get-refile-targets, org-refile-get-location):
30803 Use expanded file name to improve comparison.
30805 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30807 * org.el (org-scan-tags): Rescan for tags, to get the correct
30808 upcase/downcase stuff. This slows things down for now, but it
30810 (org-mode): Make sure the tag-faces regexp is initialized.
30812 * org-export-latex.el (org-export-latex-links): Fix bug with
30815 * org-table.el (org-table-get-specials):
30816 Set `org-table-current-last-data-line'.
30817 (org-table-current-last-data-line): New variable.
30818 (org-table-insert-column, org-table-delete-column)
30819 (org-table-move-column, org-table-fix-formulas):
30820 Call `org-table-fix-formulas' a second time to fix the $LR references.
30821 (org-table-get-specials): Add the $LR references to the tables.
30822 (org-table-get-formula): Do not offer last-row names as LHS of
30825 * org.el (org-store-link): Capture link description from
30826 `org-id-store-link'.
30828 * org-exp.el (org-export-html-format-image): Add the / to the end
30830 (org-export-format-source-code): Surround example by empty lines,
30831 to make sure it will not be inside a paragraph.
30833 * org.el (org-ido-switchb): New function.
30835 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30837 * org-agenda.el (org-agenda-show): New prefix argument
30840 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30843 2008-12-20 Glenn Morris <rgm@gnu.org>
30845 * org.el (org-org-menu): Fix some more menu entries.
30847 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
30849 * org-table.el (org-table-get-specials): Revert introduction of @0
30850 as reference of the last table row, because of conflicts.
30852 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30853 argument, get the current tags directly.
30854 (org-agenda-set-tags): Leave getting current tags to
30855 `org-agenda-change-all-lines'.
30857 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
30859 * org.el (org-org-menu): Do not quote the set-tags command.
30861 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
30863 * Fix typos in comments and docstrings throughout Org-mode.
30865 * org.el (org-get-outline-path): Fix bug if level is not given.
30867 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30869 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30871 * org.el (org-refile): Avoid refiling to within the region to be
30874 * org-export-latex.el (org-export-latex-special-chars):
30875 Replace special characters also in tables.
30877 * org-agenda.el (org-agenda-change-all-lines): New argument
30879 (org-agenda-set-tags): Get the new tags and pass them to
30880 `org-format-agenda-item'.
30882 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30884 * org-export-latex.el (org-export-latex-classes): Add longable as
30885 a default package to all classes.
30886 (org-export-latex-tables): Handle the longtable attribute and the
30889 * org-table.el (orgtbl-to-generic): Handle tables that start with
30892 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30893 \verb for colde-like snippets.
30894 (org-export-as-latex): Fix issues with region export.
30896 * org.el (org-up-heading-safe): Speed up function by using a
30897 direct regexp search.
30898 (org-olpa): New variable.
30899 (org-get-outline-path): Speed-up path constructions in cases where
30900 this is possible because the entire hierarchy is scanned anyway.
30901 (org-refile-get-location): Don't compare the truenames of files,
30903 (org-goto-max-level): New option.
30904 (org-goto): Use `org-goto-max-level'.
30906 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
30908 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30909 Strip angle brackets from message-ids in the former and don't do
30911 (org-gnus-follow-link): Open summary reliable, even if the last
30912 messages were deleted, and handle empty groups, too.
30914 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30916 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30917 instead of \texttt for the =...= and ~===~ emphasis environments.
30918 (org-export-as-latex): Remove any old :org-license-to-kill text
30920 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30921 (org-export-latex-make-header): Add some hard space after the
30923 (org-export-latex-first-lines): Accept RBEG argument.
30924 Mark exported text so that it will be excuded in further steps.
30926 * org-table.el (org-table-get-specials): Make @0 reference the
30927 last line in a table.
30928 (org-table-recalculate): Improve docstring.
30930 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30932 * org.el (org-log-done): Fix docstring.
30934 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30936 * org-exp.el (org-export-html-format-image): Fix bugs.
30938 * org-export-latex.el (org-export-latex-tables)
30939 (org-export-latex-links): Implement attribute, label, and caption
30942 * org-exp.el (org-export-html-style-default): Add style
30943 definitions for the figure div.
30944 (org-export-preprocess-string, org-export-as-html):
30945 Implement attribute, label, and caption handling.
30946 (org-export-attach-captions-and-attributes): New function.
30947 (org-export-html-format-image): New function.
30948 (org-format-org-table-html): Implement attribute, label, and
30951 * org.el (org-find-text-property-in-string): New function.
30952 (org-extract-attributes): Use the property org-attr instead of
30953 org-attrobutes, because this property is now set with the #+ATTR
30956 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30958 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
30959 the case that FROM is nil.
30961 * org.el (org-before-first-heading-p): New function.
30963 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30965 * org-exp.el (org-export-as-html): Do not add a space before
30966 enforces line breaks.
30967 (org-export-as-html): Close paragraph before blockquote and verse
30970 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30972 * org-id.el (org-id-locations-file): Wrap file name with
30973 `convert-standard-filename'.
30974 (org-id-files): New variable.
30975 (org-id-use-hash): New option.
30976 (org-id-update-id-locations): Also search in all files current
30977 listed in `org-id-files'. Convert the resulting alist to a hash
30978 if the user customation says so.
30979 (org-id-locations-save): Handle he case if `org-id-locations' is a
30981 (org-id-locations-load): Convert the alist to a hash.
30982 (org-id-add-location): Handle the hast case.
30983 (kill-emacs-hook): Make sure id locations are saved when Emacs is
30985 (org-id-hash-to-alist, org-id-alist-to-hash)
30986 (org-id-paste-tracker): New functions.
30988 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30990 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
30991 bindings of calendar variables.
30993 * org-table.el (org-table-find-row-type): Rename from
30994 `org-find-row-type'.
30995 (org-table-rewrite-old-row-references): Rename from
30996 `org-rewrite-old-row-references'.
30997 (org-table-shift-refpart): Rename from `org-shift-refpart'.
30998 (org-table-cleanup-narrow-column-properties): Rename from
30999 `org-cleanup-narrow-column-properties'.
31001 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31003 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
31004 for better error messages.
31005 (org-table-get-descriptor-line): Supply the new arguments to
31006 `org-find-row-type'.
31007 (org-table-error-on-row-ref-crossing-hline): New option.
31009 * org.el (org-target-link-regexp): Make buffer-local.
31010 (org-move-subtree-down): Fix bug with trees at beginning of
31013 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31015 * org-faces.el (org-set-tag-faces): New function.
31016 (org-tags-special-faces-re): New variable.
31018 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
31020 * org-faces.el (org-tag-faces): New option.
31021 (org-tag): Mention `org-tag-faces' in the docstring.
31023 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31025 * org-exp.el (org-export-html-style-default): Implement new
31028 * org-jsinfo.el (org-infojs-template): Implement new quoting.
31030 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
31031 command to the `w3m-minor-mode-map'.
31033 * org-archive.el (org-archive-to-archive-sibling):
31034 Protect `this-command' to avoid appending kills during archiving.
31036 * org-exp.el (org-export-with-priority): New variable.
31037 (org-export-add-options-to-plist): Use `org-export-plist-vars'
31038 instead of internal list of strings and properties.
31039 (org-print-icalendar-entries): Retrieve the location property with
31042 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31044 * org-exp.el (org-export-with-todo-keywords): New option.
31045 (org-export-plist-vars): Include also the keys for the #+OPTIONS
31047 (org-default-export-plist, org-export-add-options-to-plist)
31048 (org-export-as-ascii, org-export-as-html): Use the new structure
31049 of `org-export-plist-vars'.
31051 * org.el (org-map-entries): Return all values.
31053 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31055 * org.el (org-matcher-time): Recognize more special values.
31057 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
31059 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31061 * org.el (org-tags-exclude-from-inheritance): New option.
31062 (org-tag-inherit-p, org-remove-uniherited-tags):
31063 Respect `org-tags-exclude-from-inheritance'.
31065 * org-agenda.el (org-agenda-show-inherited-tags): New option.
31066 (org-format-agenda-item): Add inherited tags to the agenda line
31067 string, and make sure that properties are kept when downcasing the
31069 (org-agenda-add-inherited-tags): New function.
31070 (org-downcase-keep-props): New function.
31072 * org.el (org-scan-tags): Mark inherited tags with a text
31074 (org-get-tags-at): Mark inherited tags with a text property.
31075 (org-add-prop-inherited): New function.
31077 * org-agenda.el (org-agenda-add-inherited-tags): New function.
31078 (org-agenda-show-inherited-tags): New option.
31080 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31082 * org.el (org-modules): Add org-w3m to the default modules.
31084 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
31086 (orgtabl-create-or-convert-from-region): New command.
31088 * org-exp.el (org-export-as-ascii): Remove the handling of
31090 (org-export-ascii-preprocess): Handle targets already in this
31093 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31095 * org-timer.el (org-timer-start-time): Define this variable.
31096 (org-timer-item): Make argument optional.
31098 * org-list.el (org-insert-item): Automatically insert a timer item
31099 if the current list is a timer list.
31101 * org-timer.el: New file.
31103 * org-publish.el (org-publish-org-index): Only exclude the index
31104 file in the main directory from being added to the site-map.
31105 (org-publish-get-project-from-filename): If the current project is
31106 a component, start publishing from the parent project.
31108 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31110 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
31112 * org-publish.el (org-publish-org-index): Improve removal of
31115 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
31117 * org-agenda.el (org-get-closed): Re-apply changes
31118 accidentially overwritten by last commit to Emacs.
31120 * org.el (org-outline-path-complete-in-steps): New option.
31121 (org-refile-get-location):
31122 Honor `org-outline-path-complete-in-steps'.
31123 (org-agenda-change-all-lines, org-tags-sparse-tree)
31124 (org-time-string-to-absolute, org-small-year-to-year)
31125 (org-link-escape): Re-apply changes accidentially overwritten
31126 by last commit to Emacs.
31128 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31130 * org-clock.el (org-dblock-write:clocktable): Make sure the
31131 clocktable sees the first line.
31132 (org-clock-in): Warn if the clock cannot be resumed.
31134 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31136 * org.el (org-open-at-point): Fix mixup about interactive and
31137 non-interactive elisp links.
31139 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31141 * org-exp.el (org-export-preprocess-string): Allow one comment
31142 line before the first headline to always be included. This is
31143 to not miss a commented target.
31145 * org-mouse.el (org-mouse-insert-item):
31146 Call `org-indent-to-column' instead of `indent-to', for XEmacs
31149 * org.el (org-refile-targets): Fix customize definition so
31150 that it works also in XEmacs.
31151 (org-fixup-indentation): Call `org-indent-to-column' instead
31152 of `indent-to', for XEmacs compatibility.
31154 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
31156 * org-mew.el (org-mew-store-link): Get the correct case folder
31157 for refiled messages.
31159 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31161 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
31162 line break indicators.
31164 * org.el (org-ido-completing-read): Remove the "i:" prefix for
31165 ido-completion propts.
31167 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31169 * org-remember.el (org-remember-apply-template):
31170 Use `org-substring-no-properties'.
31172 * org-compat.el (org-substring-no-properties): New function.
31174 * org-remember.el (org-remember-apply-template):
31175 Use `org-substring-no-properties' for compatibility.
31177 * org-list.el (org-list-two-spaces-after-bullet-regexp):
31179 (org-fix-bullet-type):
31180 Respect `org-list-two-spaces-after-bullet-regexp'.
31182 * org-clock.el (org-clock-load): Clean up the code.
31184 * org.el (org-adaptive-fill-function): Allow two spaces after
31185 "1." as a list bullet.
31187 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31189 * org-clock.el (org-clock-save, org-clock-load): Check for
31190 live buffers, existing files, and buffer file names to ensure
31191 consistent information.
31192 (org-clock-persist): Make `clock' a special value of this
31193 variable, and improve docstring.
31195 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
31196 (org-get-string-indentation): Adapt indentation when the bullet
31199 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31201 * org-remember.el (org-remember-finalize): Make interactive.
31202 (org-remember-kill): New command.
31203 (org-remember-finish-immediately): Call `org-remember-finalize'
31205 (org-remember-finalize): Make `org-remember-finalize' an interactive
31208 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31210 * org-remember.el (org-remember-apply-template): No ido completion
31211 for free prompts in remember templates.
31212 (org-remember-before-finalize-hook): New hook.
31213 (org-remember-mode): New minor mode.
31214 (org-remember-apply-template): Turn on `org-remember-mode'.
31216 * org-remember.el (org-remember-apply-template): Fix the way how
31217 the list of allowed properties is retrieved from the target file.
31219 * org.el (org-insert-link): Improve file link matching.
31221 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31223 * org-colview.el (org-columns-display-here): New argument
31224 DATELINE, to trigger using the new face.
31225 (org-agenda-colview-summarize): Call `org-columns-display-here'
31226 with the new argument.
31228 * org-faces.el (org-agenda-column-dateline): New face.
31230 * org-publish.el (org-publish-org-index): Use index-title at page
31231 title, not as section.
31233 * org-exp.el (org-export-html-format-desc): Respect the
31234 org-protect property.
31235 (org-export-as-html): Protect image specifiers that are in the
31236 description part of a link.
31238 * org.el (org-sort-entries-or-items, org-completing-read)
31239 (org-refile-get-location, org-olpath-completing-read, org-todo)
31240 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
31241 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
31242 (org-set-property, org-delete-property)
31243 (org-delete-property-globally): Use `org-ido-completing-read'.
31245 * org-remember.el (org-remember-apply-template):
31246 Use `org-ido-completing-read'.
31248 * org-publish.el (org-publish): Use `org-ido-completing-read'.
31250 * org-colview.el (org-columns-edit-value, org-columns-new)
31251 (org-insert-columns-dblock): Use `org-ido-completing-read'.
31253 * org-attach.el (org-attach-delete-one, org-attach-open):
31254 Use `org-ido-completing-read'.
31256 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
31257 Use `org-ido-completing-read'.
31259 * org.el (org-time-today): New function.
31260 (org-matcher-time): Use `org-time-today'. Add special treatment
31261 for "<tomorrow>" and "<yesterday>".
31262 (org-ido-completing-read): New function.
31263 (org-completion-use-ido): New option.
31265 * org-exp.el (org-export-format-source-code): Fix bug in require
31267 (org-export-target-internal-links): Fix bug in search for text
31270 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31272 * org-export-latex.el (org-export-latex-subcontent):
31273 Interpret target aliases as additional labels.
31275 * org-exp.el (org-export-target-aliases): New variable.
31276 (org-export-preprocess-string)
31277 (org-export-handle-invisible-targets): Fill the alias alist.
31278 (org-export-as-html): Remove the from the anchor, and also
31280 (org-html-level-start): Insert the target aliases as additional
31283 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
31286 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31288 * org.el (org-open-at-mouse): Ensure correct link abbreviations
31289 when following a link with the mouse from the agenda.
31291 * org-exp.el (org-export-as-html): Avoid lone </div> when no
31292 headlines are created.
31294 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31296 * org.el (org-link-translation-function): New option.
31297 (org-open-at-point): Call `org-link-translation-function' if
31299 (org-translate-link): New function.
31300 (org-translate-link-from-planner): New function.
31301 (org-open-at-point): Allow interactive commands in elisp links.
31303 * org-exp.el (org-icalendar-cleanup-string): Restore the old
31304 iCalendar quoting. The new one seems to caus problems with
31307 * org.el (org-yank): Set `this-command' to `yank', so that
31308 `yank-pop' will work.
31310 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31312 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
31313 compliance as far as quoting is concerned.
31315 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
31316 hexified version of the tag.
31318 * org-vm.el (org-vm-follow-link): Require `vm-search'.
31320 * org.el (org-up-heading-safe, org-forward-same-level):
31321 Always call `org-back-to-heading' instead of `outline-back-to-heading'.
31322 (org-back-to-heading): New wrapper around outline-back-to-heading,
31323 with a useful error message telling where the error happened.
31325 * org-list.el (org-update-checkbox-count): Always call
31326 `org-back-to-heading' instead of `outline-back-to-heading'.
31328 * org-exp.el (org-export-as-html): Make sure that each <img> tag
31329 has an `alt' attribute, to ensure XHTML validation.
31331 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31333 * org-publish.el (org-publish-attachment): Allow publishing to
31334 overwrite attachment files.
31336 * org-agenda.el (org-agenda-timerange-leaders): New option.
31337 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
31339 * org.el (org-edit-src-exit): Untabify ASCII image before
31342 2008-11-19 Glenn Morris <rgm@gnu.org>
31344 * org.el, org-mouse.el (org-agenda-change-all-lines):
31347 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
31349 * org.el ("speedbar"): Only show context if the file really is an
31352 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
31354 * org.el (org-time-string-to-absolute, org-small-year-to-year)
31355 (org-tags-sparse-tree): Fix typos in docstrings.
31357 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
31359 * org-publish.el (org-publish-attachment): Allow copy-file to
31362 2008-11-13 Glenn Morris <rgm@gnu.org>
31364 * org-agenda.el (org-get-closed): Fix alias.
31366 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
31368 * org.el (org-link-escape): Fix typo in docstring.
31370 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31372 * org.el (org-yank): Make any prefix force normal yanking.
31373 Suppress folding if text would be swallowed into a folded
31375 (org-yank-folded-subtrees, org-yank): Docstring updates.
31377 * org-agenda.el (org-agenda-compare-effort): Treat no effort
31380 * org-exp.el (org-export-language-setup): Add Catalan and
31381 Esperanto language entries.
31383 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31385 * org.el (org-refile): Allow refiling of entire regions.
31387 * org-clock.el (org-clock-time%): New function.
31389 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
31390 retrieve property values.
31392 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31394 * org-agenda.el (org-agenda-list): Handle the value `only' of
31395 org-agenda-show-log'.
31396 (org-agenda-log-mode): Interpret a double prefix arg.
31398 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31400 * org-exp.el (org-export-html-footnotes-section): New variable.
31401 (org-export-as-html): Use `org-export-html-footnotes-section' to
31402 insert the footnotes.
31403 (org-export-language-setup): Add "Footnotes" to language words.
31405 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31407 * org.el (org-yank): Fix bug when not inserting a subtree.
31409 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31411 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
31412 instead of `vm-beginning-of-message'.
31414 * org.el (org-make-link-regexps): Make sure that links to gnus can
31417 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31419 * org-attach.el (org-attach-dir): Remove duplicate ID creation
31422 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
31425 * org.el (org-link-abbrev-alist): Improve customization type.
31427 * org-attach.el (org-attach-expand-link, org-attach-expand):
31430 * org-agenda.el (org-agenda-get-progress): Rename from
31431 `org-get-closed'. Implement searching for state changes as well.
31432 (org-agenda-log-mode-items): New option.
31433 (org-agenda-log-mode): New option prefix argument, interpreted as
31434 request to show all possible progress info.
31435 (org-agenda-get-day-entries): Call `org-get-progress' instead of
31437 (org-agenda-set-mode-name): Handle the more complex log mode
31439 (org-get-closed): New alias, pointing to `org-get-progress'.
31441 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31443 * org.el (org-file-apps-defaults-gnu)
31444 (org-file-apps-defaults-macosx)
31445 (org-file-apps-defaults-windowsnt): Add an entry defining the
31447 (org-file-apps): Allow `system' as key and value.
31448 (org-open-at-point): Explain the effect of a double prefix arg.
31449 (org-open-file): If the argument `in-emacs' is (16),
31450 i.e. corresponding to a double prefix argument, try to open the
31453 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31455 * org.el (org-insert-link): Abbreviate absolute files names in
31456 links. Also, fix a bug in which the double C-u prefix would not
31459 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31461 * org.el (org-insert-heading): If buffer does not end with a
31462 newline, add one if necessary to insert headline correctly.
31464 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
31465 paragraphs, not inside.
31467 * org.el (org-todo):
31468 Quote `org-agenda-headline-snapshot-before-repeat'.
31470 * org-exp.el (org-export-as-html): Fully process link descriptions.
31471 (org-export-html-format-desc): New function.
31472 (org-export-as-html): Collect footnotes into the correct basket.
31473 (org-html-protect): No longer protect quotations marks here, this
31476 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
31479 * org-compat.el (org-fit-window-to-buffer): New function (not
31480 really, a preliminary and incomplete version was present earlier,
31483 * org.el (org-fast-todo-selection, org-fast-tag-selection):
31484 Use `org-fit-window-to-buffer'.
31486 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
31488 * org-agenda.el (org-agenda-get-restriction-and-command)
31489 (org-fit-agenda-window, org-agenda-convert-date):
31490 Use `org-fit-window-to-buffer'.
31492 * org-exp.el (org-export-as-html): Process href links through
31493 `org-export-html-format-href'.
31494 (org-export-html-format-href): New function.
31496 * org-agenda.el (org-agenda-todo): Update only the current
31497 headline if this is a repeated TODO, marked done for today.
31498 (org-agenda-change-all-lines): New argument JUST-THIS, to change
31499 only the current line.
31501 * org.el (org-todo): Take a snapshot of the headline if the
31502 repeater might change it.
31504 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31506 * org-publish.el (org-publish-find-title): Remove buffers visited
31507 only for extracting the title.
31509 * org-exp.el (org-export-html-style)
31510 (org-export-html-style-default): Mark style definitions as
31513 * org-publish.el (org-publish-validate-link):
31514 Function re-introduced.
31516 2008-11-12 Charles Sebold <csebold@gmail.com>
31518 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
31520 (org-plot-quote-timestamp-field): New function.
31521 (org-plot-quote-tsv-field): Call timestamp field function when
31522 necessary rather than just quoting as a string.
31523 (org-plot/gnuplot-to-data): Pass in timefmt property.
31524 (org-plot/gnuplot-script): Supports timefmt property.
31525 (org-plot/gnuplot): Checks for timestamp column before checking
31526 for text index column.
31528 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31530 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
31532 * org-publish.el (org-publish-org-index): Create a section in the
31534 (org-publish-org-index): Stop linking to directories.
31536 * org.el (org-emphasis-alist): Use span instead of <u> to
31539 * org-exp.el (org-export-as-html): Make sure <p> is closed before
31542 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
31544 * org-jsinfo.el (org-infojs-template): Remove language attribute
31547 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31549 * org-agenda.el (org-agenda-remove-marked-text): New function.
31550 (org-agenda-mark-filtered-text)
31551 (org-agenda-unmark-filtered-text): New functions.
31552 (org-write-agenda): Remove filtered text.
31554 * org.el (org-make-tags-matcher): Give access to TODO "property"
31555 without speed penalty.
31557 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31559 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
31561 (org-store-link-props): Make sure adding to the plist works
31564 * org-gnus.el (org-gnus-no-new-news): New function.
31565 (org-gnus-follow-link): Allow the article ID to be a message-id,
31566 in addition to allowing article numbers. Message IDs make much
31567 more roubust links.
31568 (org-gnus-store-link): Use message-id to create link.
31570 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31572 * org.el (org-emphasize): Reverse the selection array.
31573 (org-emphasis-alist): Set <code> tags for the verbatim
31576 * org-remember.el (org-remember-handler): Fix bug with
31577 prefix-related changing of the note storage target.
31579 * org-exp.el (org-print-icalendar-entries): Make the exported
31580 priorities compatible with RFC 2445.
31582 * org-clock.el (org-clock-save): Insert time stamp without
31583 dependence on time-stamp.el.
31585 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31587 * org.el ("saveplace"): If saveplace puts point into an invisible
31588 location, make it visible.
31589 (org-make-tags-matcher): Allow inactive time stamps in time
31591 (org-yank-adjusted-subtrees): New option.
31592 (org-yank): Incorporate adjusting trees.
31593 (org-paste-subtree): New argument FOR-YANK which will cause
31594 insertion at point without backing up over white lines, and leave
31595 point at the end of the inserted text. Also if the cursor is
31596 at the beginning of a headline, use the same level or the inserted
31599 * org-publish.el (org-publish-get-base-files-1): Deal correctly
31600 with broken symlinks.
31602 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31604 * org-exp.el (org-export-select-tags, org-get-current-options):
31607 2008-11-06 Glenn Morris <rgm@gnu.org>
31609 * org-publish.el (org-publish-attachment): Use copy-file rather than
31612 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
31614 * org.el (org-columns-modify-value-for-display-function):
31615 * org-table.el (org-table-convert-region): Fix typos in docstrings.
31617 2008-10-28 Glenn Morris <rgm@gnu.org>
31619 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31621 * org-list.el (outline-next-heading, outline-back-to-heading):
31624 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31626 * org-agenda.el (org-format-agenda-item)
31627 (org-agenda-filter-make-matcher): Make sure tags are stored and
31628 compared downcased.
31630 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31632 * org.el (org-insert-todo-heading): Fix bug with force-heading
31635 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31637 * org-exp.el (org-export-as-ascii): Handle the case that we are
31638 bulishing from an indirect buffer.
31640 * org-table.el (org-table-copy-down): Fix bug with time stamp
31643 * org-mouse.el (org-mouse-features): New option.
31644 (org-mode-hook): Turn on features depending on
31645 `org-mouse-features'.
31647 * org.el (org-insert-heading-respect-content): Force heading
31649 (org-insert-heading): Keep the folding state of the heading before
31652 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31654 * org-archive.el (org-archive-to-archive-sibling): Handle top
31655 level headlines better.
31657 2008-10-26 Bastien Guerry <bzg@gnu.org>
31659 * org-export-latex.el (org-export-latex-classes):
31660 Add \usepackage{graphicx} to the default list of packages.
31662 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31664 * org-agenda.el (org-agenda-filter): Rename from
31665 `org-agenda-filter-tags'.
31667 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31669 * org.el (org-entry-properties): Add CATEGORY property, iven if it
31670 is not defined as a property in this entry.
31671 (org-add-log-note): Mask prefix argument when immediately storing
31674 * org-agenda.el (org-agenda-filter-effort-default-operator):
31677 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
31679 * org.el (org-add-log-setup): Bugfix; code to find insertion point
31680 after drawers was skipping ahead one line too many, so notes were
31681 inserted after the first note instead of before it.
31683 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31685 * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31687 (org-prepare-agenda): Reset the filter tags.
31688 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31689 Show filter tags in mode line.
31691 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31694 * org-export-latex.el (org-latex-entities-regexp): New constant.
31695 (org-export-as-pdf): Use two calls to `shell-command'.
31697 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31699 * org-export-latex.el (org-export-latex-treat-sub-super-char):
31700 Honor the {} value of the subsuperscript setting. Make sure that
31701 longer subsuperscripts are typeset in a roman font.
31703 * org.el (org-clock-update-time-maybe): Compute negative clock
31704 intervals correctly.
31706 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31708 * org.el (org-add-log-setup):
31709 Respect `org-log-state-notes-insert-after-drawers'.
31710 (org-log-state-notes-insert-after-drawers): New option.
31711 (org-todo-trigger-tag-changes): New function.
31712 (org-todo): Call `org-todo-trigger-tag-changes'.
31714 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
31716 * org.el (org-add-log-setup): Only skip drawers if they are
31717 immediately after the scheduling keywords.
31719 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31721 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31722 call it with the current todo state to get the state to switch to
31724 (org-clock-in): Use org-indent-line-function to indent clock lines.
31725 (org-clock-find-position): Fix indentation of empty clock drawers.
31727 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31729 * org-publish.el (org-publish-org-to): Handle case when
31730 org-export-to-pdf does return a file name, not a buffer.
31731 (org-publish-org-to-pdf): New function.
31733 * org-export-latex.el (org-export-as-pdf)
31734 (org-export-as-pdf-and-open): New commands.
31736 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31739 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31740 things in protexted regions.
31742 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31744 * org-export-latex.el (org-export-latex-preprocess):
31745 Improve quoting of LaTeX environments.
31747 2008-10-19 Eli Zaretskii <eliz@gnu.org>
31749 * org.el (org-default-notes-file):
31750 * org-publish.el (org-publish-timestamp-directory):
31751 * org-id.el (org-id-locations-file): Run file names that begin
31752 with a period thru `convert-standard-filename'.
31754 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31756 * org-plot.el: Switch coding system to unix.
31758 2008-10-12 John Wiegley <johnw@newartisans.com>
31760 * org-attach.el: New file.
31762 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
31764 * org.el (org-edit-fixed-width-region): Exclude final newline from
31767 * org-export-latex.el (org-export-latex-subcontent): Add labels to
31768 sections, to make internal links work.
31769 (org-export-latex-fontify-headline): Do not remove all text
31770 properties, to make sure that target properties survive this
31773 * org-exp.el (org-export-preprocess-string): Change sequence of
31774 modifications, to make sure links are prepared before the LaTeX
31775 conversions do happen.
31777 * org-attach.el (org-attach-delete-all): Rename from
31778 `org-attch-delete'. Add a security query before deleting the
31779 entire directory. New optional argument FORCE can overrule the
31781 (org-attach-delete-one): New command.
31783 * org-attach.el (org-attach-file-list): Fix bug with directory.
31785 * org.el (org-apps-regexp-alist): New function.
31786 (org-file-apps): Add auto-mode to the default value.
31787 (org-open-file): Use the new structure of org-file-apps.
31789 * org-attach.el (org-attach): Support the new keys.
31790 (org-attach-method): New option.
31792 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31795 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31796 of the list value o `org-use-tag-inheritance'.
31798 * org-attach.el (org-attach-auto-tag): New option.
31799 (org-attach-tag, org-attach-untag): New functions.
31800 (org-attach-attach, org-attach-new, org-attach-sync):
31801 Call `org-attach-tag'.
31802 (org-attach-delete): Call `org-attach-untag'.
31804 * org-table.el (orgtbl-self-insert-command): Make this work for
31805 the keypad as well.
31807 * org.el (org-add-log-setup): Limit searc for drawers to entry
31808 text, not to subtree.
31810 * org-clock.el (org-clock-heading-for-remember): New variable.
31811 (org-clock-in): Set `org-clock-heading-for-remember'.
31813 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
31815 * org-remember.el (org-remember-apply-template): Add new
31816 expansions: %k, %K for currently clocked task and a link to the
31817 currently clocked task, and %< to file notes in the currently
31820 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31822 * org-export-latex.el (org-export-latex-make-header): Also insert
31823 the content of the property :latex-header-extra.
31825 * org-exp.el (org-infile-export-plist): Put the content of
31826 #+LATEX_HEADER: into the property :latex-header-extra.
31828 * org-colview.el (org-columns-get-format-and-top-level):
31829 Remove resetting the marker.
31831 * org.el (org-entry-property-inherited-from): Improve docstring.
31832 (org-entry-get-with-inheritance): Reset marker before starting the
31835 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31837 * org.el (org-entry-get-multivalued-property)
31838 (org-entry-protect-space, org-entry-restore-space):
31840 (org-file-apps-defaults-macosx): Let PostScript files be opened by
31842 (org-time-stamp-inactive): Call `org-time-stamp'.
31843 (org-time-stamp): New argument `inactive'. Also edit inactive
31844 stamps. Convert time stamp type.
31845 (org-open-file): Interpret the `default' value for the `command'
31846 in `org-file-apps'.
31848 * org-id.el (org-id-int-to-b36-one-digit)
31849 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31850 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31853 * org-id.el (org-id-reverse-string): New function.
31854 (org-id-new): Use `org-id-reverse-string' to make sure the
31855 beginning chars of the ID are mutating fast. This allows to use a
31856 directory structure to spread things better.
31857 (org-id-prefix): Change default to nil.
31859 * org-list.el (org-move-item-down, org-move-item-up): Remember and
31860 restore the column of the cursor position.
31862 * org-remember.el (org-remember-apply-template): Remove properties
31865 * org-wl.el (org-wl-open): Remove useless call to
31866 `wl-thread-open-all'.
31868 * org-remember.el (org-remember-handler): Fix bug with `bottom'
31871 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31872 `org-bbdb-anniversaries'.
31874 * org.el (org-get-next-sibling, org-forward-same-level):
31875 New functions, similar to the outline versions, but invisible headings
31878 2008-10-12 Bastien Guerry <bzg@gnu.org>
31880 * org.el (org-auto-repeat-maybe): Insert a space between
31881 the timestamp's type and the timestamp itself.
31883 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31885 * org-table.el (org-table-sum): Do not format the result with %g,
31886 it does rounding when there are too many digits.
31888 * org.el (org-map-entries): Protect the keyword-selecting variables.
31890 2008-10-12 Bastien Guerry <bzg@gnu.org>
31892 * org-agenda.el (org-agenda-to-appt): Make sure the function check
31893 against all agenda files.
31895 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31896 Bastien Guerry <bzg@gnu.org>
31898 * org-list.el: New file, aggregating list functions from org.el
31899 and org-export-latex.el.
31901 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31903 * org.el (org-edit-src-region-extra): New option.
31905 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31908 2008-10-12 Bastien Guerry <bzg@gnu.org>
31910 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31912 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
31914 * org-plot.el (org-plot/gnuplot): Make tables starting with a
31915 hline work correctly.
31916 (org-plot/gnuplot-script): Put commas at the end of each script
31919 * org.el (org-get-refile-targets): Replace links with their
31921 (org-imenu-get-tree): Replace links with their descriptions.
31923 * org-remember.el (org-remember-apply-template): Add a new
31924 expansion for adding properties to remember items.
31926 * org.el (org-add-log-setup): Skip over drawers (properties,
31927 clocks etc) when adding notes.
31929 * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31930 items as well as the start and end times.
31932 * org-compat.el (org-get-x-clipboard-compat): Add a compat
31933 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31935 * org-remember.el (org-get-x-clipboard): Use the compat
31936 function to get clipboard values when x-selection-value is
31937 unavailable. Use substring-no-properties instead of
31938 set-text-properties to remove text properties from the clipboard
31941 * org-clock.el (org-update-mode-line): Support limiting the
31942 modeline clock string, and display the full todo value in the
31943 tooltip. Set a local keymap so mouse-3 on the clock string goes to
31944 the currently clocked task.
31945 (org-clock-string-limit): Add a custom value for the maximum
31946 length of the clock string in the modeline.
31947 (org-clock-mode-map): Add a keymap for the modeline string.
31949 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31951 * org-compat.el (org-propertize): New function.
31953 2008-10-12 Bastien Guerry <bzg@gnu.org>
31955 * org-export-latex.el (org-export-latex-tables): Protect exported
31956 tables from further special chars conversion.
31957 (org-export-latex-preprocess): Preserve LaTeX environments.
31958 (org-list-parse-list): Parse descriptive lists.
31959 (org-list-to-generic, org-list-to-latex, org-list-to-html)
31960 (org-list-to-texinfo): Export descriptive lists.
31961 (org-quote-chars): Remove.
31962 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
31963 (org-export-latex-list-beginning-re): Rename to
31964 `org-list-beginning-re'.
31965 (org-list-item-begin): Rename to `org-list-item-beginning'.
31967 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
31969 * org-plot.el: New file.
31971 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31973 * org.el (org-refile): Allow refiling to the last entry in the
31975 (org-get-tags-at): Fix bug when inheritance is turned off.
31977 * org.el (org-indent-line-function): No longer check for src
31978 regions, this is too much overhead.
31980 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
31983 * org.el (org-scan-tags): Make sure that tags matching is not case
31984 sensitive. TODO keyword matching is case sensitive, however, to
31985 avoid confusion with similar words that are not meant to be
31988 * org.el (org-get-local-tags-at): New function.
31989 (org-get-local-tags): New function.
31991 * org-exp.el (org-export-get-categories): New function.
31993 * org-agenda.el (org-sorting-choice)
31994 (org-agenda-sorting-strategy, org-agenda-get-todos)
31995 (org-agenda-get-timestamps, org-agenda-get-deadlines)
31996 (org-agenda-get-scheduled, org-agenda-get-blocks)
31997 (org-entries-lessp): Implement sorting by TODO state.
31998 (org-cmp-todo-state): New defsubst.
32000 * org-colview.el (org-colview-construct-allowed-dates):
32002 (org-columns-next-allowed-value):
32003 Use `org-colview-construct-allowed-dates'.
32005 * org.el (org-protect-slash): New function.
32006 (org-get-refile-targets): Use `org-protect-slash'.
32008 * org-agenda.el (org-global-tags-completion-table): New variable.
32010 * org-exp.el (org-export-handle-export-tags): New function.
32011 (org-export-preprocess-string):
32012 Call `org-export-handle-export-tags'.
32014 * org-publish.el (org-publish-expand-components): Function removed.
32015 (org-publish-expand-projects): Allow components to have components.
32017 * org.el (org-indent-line-function): Do not indent in regions that
32018 are external source code.
32019 (org-yank-and-fold-if-subtree): New function.
32021 * org-agenda.el (org-agenda-todayp): New function.
32022 (org-agenda-get-deadlines, org-agenda-get-scheduled):
32023 Use `org-agenda-todayp'.
32025 * org.el (org-insert-heading-respect-content)
32026 (org-insert-todo-heading-respect-content): New commands.
32027 (org-insert-heading-respect-content): New option.
32028 (org-insert-heading): Respect `org-insert-heading-respect-content'.
32030 * org-clock.el (org-clock-find-position): Make sure the note after
32031 the clock line gets moved into the new clock drawer.
32033 * org-id.el (org-id-new): New option.
32035 * org-table.el (org-table-copy-down): Avoid overflow during
32036 increment. Use prefix argument 0 to temporarily disable the
32039 * org-exp.el (org-export-as-html): Do not turn on the major mode
32040 if the buffer will be killed anyway.
32041 (org-get-current-options): Exclude the #+TEXT field.
32042 (org-export-as-html): Make sure text before the first headline is
32045 * org-publish.el (org-publish-org-to): Tell the exporter that this
32046 buffer will be killed, so it is not necessary to do major mode
32049 * org-archive.el (org-archive-to-archive-sibling): Show empty
32050 lines after folding the archive sibling.
32052 * org.el (org-log-note-extra): New variable.
32054 2008-10-12 Bastien Guerry <bzg@gnu.org>
32056 * org.el (org-additional-option-like-keywords): Add keywords for
32057 the _QUOTE, _VERSE and _SRC environments.
32059 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
32060 exporting _QUOTE and _VERSE environments.
32062 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
32064 * org-agenda.el (org-agenda-filter-by-tag): New command.
32066 * org-exp.el (org-get-current-options): Remove angular brackets
32067 from the date entry.
32069 * org.el (org-edit-fixed-width-region): New function.
32070 (org-edit-fixed-width-region): Also try
32071 `org-edit-fixed-width-region'.
32072 (org-edit-fixed-width-region-mode): New option.
32073 (org-activate-code): Only interpret lines starting with colon
32074 plus a space as example lines.
32076 * org-remember.el (org-remember-templates): Add nil instead of
32077 empty strings to fix the length of remember templates.
32079 * org-table.el (org-calc-default-modes): Fix the time format for
32080 calc, from 12 hour to 24 hour clock.
32082 * org-agenda.el (org-agenda-get-deadlines)
32083 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
32084 entries that are pre-warnings of deadlines or reminders.
32086 * org.el (org-sort-entries-or-items): Make numeric and alpha
32087 comparisons ignore any TODO keyword and priority cookie.
32089 * org-remember.el (org-remember-handler): Reinterpretation of the
32092 * org-agenda.el (org-agenda-get-scheduled): Use new
32093 `org-scheduled' face.
32095 * org-faces.el (org-scheduled): New face.
32097 * org-wl.el (org-wl-open): Remove incorrect declaration.
32099 * org-gnus.el (org-gnus-store-link): Support for :to information
32102 * org-exp.el (org-export-as-html): Fix typo in creator
32104 (org-export-protect-examples): New parameter indent. Insert extra
32105 spaces only when this parameter is specified.
32106 (org-export-preprocess-string): Call `org-export-protect-examples'
32107 with an indentation parameter when exporting to ASCII.
32109 * org-remember.el (org-remember-templates)
32110 (org-remember-apply-template): Allow the file component to be a
32113 * org.el (org-goto-local-search-headings): Rename from
32114 `org-goto-local-search-forward-headings'. Added the possibility
32115 to search backwards.
32117 * org-export-latex.el (org-export-latex): New customization
32120 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
32122 * org-exp.el (org-html-do-expand): Allow {} to terminate
32125 * org.el (org-buffer-list): Select buffers based on major mode,
32128 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
32131 * org-colview.el (org-columns-display-here):
32132 Use `org-columns-modify-value-for-display-function'.
32134 * org.el (org-columns-modify-value-for-display-function): New option.
32136 * org-publish.el (org-publish-file): Make sure the directory match
32137 for the publishing directory works correctly.
32139 * org-agenda.el (org-agenda-execute-calendar-command)
32140 (org-agenda-diary-entry): Additional optional argument.
32142 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
32144 * org-exp.el (org-export-as-html): Add attributes also in mailto
32147 * org.el (org-autoload): Add `org-dblock-write:columnview'.
32149 2008-08-11 Glenn Morris <rgm@gnu.org>
32151 * org-mac-message.el (do-applescript): Fix declaration.
32153 2008-08-10 Glenn Morris <rgm@gnu.org>
32155 * org-exp.el (org-export-as-html): Let-bind `i'.
32157 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
32158 (org-extract-attributes): Let-bind `key', `value'.
32159 (org-make-tags-matcher): Let-bind `time-p'.
32161 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
32163 * org-install.el: New file.
32165 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
32167 * org-exp.el (org-export-html-style)
32168 (org-export-html-style-extra): Declare as safe-local-variable.
32170 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
32172 * org-publish.el (org-publish-file): Use the true name of the
32175 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
32178 * org-exp.el (org-export-plist-vars)
32179 (org-export-add-options-to-plist): Handle creator setting flag.
32180 (org-export-as-html): Handle attributes also for ftp and mailto
32183 * org-agenda.el (org-agenda-diary-entry)
32184 (org-agenda-execute-calendar-command): Cater for the second
32185 argument of `calendar-cursor-to-date'.
32187 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
32189 * org-exp.el (org-export-region-as-html, org-export-as-html):
32190 Make sure that calls from `org-export-region-as-html' do not do the
32191 special check for a subtree.
32193 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
32195 * org.el (org-open-file):
32196 Use `org-open-directory-means-index-dot-org'.
32197 (org-open-directory-means-index-dot-org): New option.
32199 * org.el (org-make-link-string): Remove link attributes from
32201 (org-open-at-point): Remove link attributes before using the path.
32203 * org-exp.el (org-export-as-html): Handle link attributes.
32205 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
32207 * org-table.el (org-table-to-lisp): New function.
32209 * org.el (org-narrow-to-subtree): Do not include the final newline
32210 into the narrowed region.
32212 * org-agenda.el (org-agenda-custom-commands-local-options):
32213 Fix bug with user-define skipping condition.
32215 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
32217 * org-exp.el (org-export-html-style-default): Automatic overflow
32218 handling for pre fields.
32219 (org-export-as-ascii, org-export-as-html): Change default format
32222 * org-table.el (org-table-export): Offer completion for translator
32223 functions, and do not require a heading above the table.
32225 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
32226 Cater for the case of a list starting in the first line of the
32229 * org-publish.el (org-publish-find-title): Bug fix.
32230 (org-publish-org-index): Implement new :index-style option.
32232 * org-publish.el (org-publish-timestamp-filename):
32233 Use SHA1-encoded file names in the timestamp directory.
32235 * org-publish.el (org-publish-needed-p): Be verbose about files
32236 published and files skipped.
32238 * org-exp.el (org-export-preprocess-string): Swap link
32239 normalization and internal link targeting.
32241 * org-publish.el (org-publish-needed-p): Create timestamp
32242 directory when it does not exist.
32244 * org-clock.el (org-clock-out-when-done): Doc fix.
32246 * org.el (org-agenda-skip-unavailable-files): Doc fix.
32248 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
32249 Ignore case when searching for the COMMENT cookie at export time.
32251 * org-exp.el (org-get-file-contents)
32252 (org-get-and-remove-property): New functions.
32253 (org-export-handle-include-files): Handle the new prefix options.
32254 (org-export-as-html): Fix the verse environment.
32256 * org.el (org-time=, org-time<, org-time<=, org-time>)
32257 (org-time>=, org-time<>, org-2ft): New functions.
32258 (org-op-to-function): Also provide for the time testing functions.
32260 * org-exp.el (org-export-html-style-default): New constant.
32262 * org-exp.el (org-export-html-style-extra): New variable.
32263 (org-export-splice-style): New function.
32265 * org-exp.el (org-export-plist-vars, org-export-as-html):
32266 Implement `org-export-creator-info'.
32267 (org-export-creator-info): New option.
32269 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
32270 (org-property-drawer-re, org-clock-drawer-re): New constants.
32272 * org-exp.el (org-icalendar-use-deadline)
32273 (org-icalendar-use-scheduled): New options.
32274 (org-icalendar-include-todo): Default changed to t.
32275 (org-print-icalendar-entries): Implement better utilization of
32276 scheduling and deadline time stamps.
32277 (org-export-target-internal-links, org-export-as-html): Allow file
32278 lines without the "file:" prefix if the file path is an absolute
32279 path or starts with ".".
32281 * org-clock.el (org-clocktable-shift): Also understand yesterday,
32283 (org-clock-special-range): Also understand yesterday, lastweek etc.
32285 * org.el (org-agenda-skip-archived-trees): Docstring now
32286 discourages using this.
32287 (org-scan-tags): Check for org-agenda-archives-mode.
32288 (org-map-entries): Make sure org-agenda-archives-mode is nil.
32289 (org-agenda-files): Functionality of second arg changed.
32291 * org-agenda.el (org-agenda-archives-mode): New variable.
32292 (org-write-agenda, org-prepare-agenda, org-agenda-list)
32293 (org-search-view, org-todo-list, org-tags-view)
32294 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
32296 (org-agenda-quit): Reset the archives mode.
32297 (org-agenda-archives-mode): New command.
32298 (org-agenda-set-mode-name): Include archives info.
32300 * org.el (org-paste-subtree): Make sure the yanked headline is
32301 visible if it was yanked at a visible point.
32302 (org-move-item-up): Fix the bug with moving white space at the end
32304 (org-show-empty-lines-in-parent): New function.
32306 2008-07-19 Juri Linkov <juri@jurta.org>
32308 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
32309 new keymap `narrow-map' instead of binding "\C-xns".
32311 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
32313 * org.el (org-agenda-skip-unavailable-files):
32314 * org-clock.el (org-clock-out-when-done): Doc fixes.
32316 2008-06-18 Glenn Morris <rgm@gnu.org>
32318 * org.el (org-map-entries): Let-bind `file'.
32320 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32322 * org-colview.el (org-columns-next-allowed-value): Bug fix.
32324 * org-agenda.el (org-agenda-get-closed): Get the end time into the
32325 agenda prefix as well.
32327 * org-publish.el (org-publish-org-index): Make a properly indented
32330 * org.el (org-calendar-agenda-action-key): New option.
32331 (org-get-cursor-date): New function.
32332 (org-mark-entry-for-agenda-action): New command.
32333 (org-overriding-default-time): New variable.
32334 (org-read-date): Respect `org-overriding-default-time'.
32336 * org-remember.el (org-remember-apply-template): Respect the
32337 overriding default time.
32339 * org-agenda.el (org-agenda-action-marker): New variable.
32340 (org-agenda-action): New command.
32341 (org-agenda-do-action): New function.
32343 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32345 * org.el (org-schedule, org-deadline): Protect scheduled and
32346 deadline tasks against changes that accidentally remove the
32347 repeater. Also show a message with the new date when done.
32349 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32351 * org.el (org-beginning-of-line): Cater for the case when there
32352 are tags but no headline text.
32353 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
32356 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32358 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
32359 the return value is nil instead of "nil" when there is no match.
32361 * org-exp.el (org-insert-centered): Use fill-column instead of
32363 (org-export-as-ascii): Use string-width to measure the width of
32366 * org.el (org-diary-to-ical-string): No longer kill buffer
32367 FROMBUF, this is now done by the caller.
32369 * org-exp.el (org-print-icalendar-entries): Move the call to
32370 `org-diary-to-ical-string' out of the loop, and kill the buffer
32373 * org-remember.el (org-remember-visit-immediately):
32374 Position cursor after moving to the note.
32375 (org-remember-apply-template): Use a text property to record the
32377 (org-remember-handler): Align tags after pasting the note.
32379 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32381 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
32383 * org-agenda.el (org-agenda-open-link): If there is an
32384 org-bbdb-name property in the current line, jump to that bbdb
32387 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
32388 text property, so that the agenda knows where this entry comes
32391 * org-agenda.el (org-agenda-clock-in): Fix bug in the
32392 interaction between clocking-in from the agenda, and automatic
32393 task state switching.
32395 * org-macs.el (org-with-point-at): Bug fix in macro definition.
32397 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
32398 zmacs-region stays after this command in XEmacs.
32400 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32402 * org.el (org-scan-tags): Allow new values for ACTION parameter.
32404 * org-remember.el (org-remember-templates): Fix bug in
32405 customization type definition.
32407 * org.el (org-map-entries): New function.
32409 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32411 * org-agenda.el (org-agenda-skip-comment-trees): New option.
32412 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
32414 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32416 * org-remember.el (org-jump-to-target-location): New variable.
32417 (org-remember-apply-template):
32418 Set `org-remember-apply-template' if requested by template.
32419 (org-remember-handler): Start an idle timer to jump to
32422 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
32424 * org.el (org-set-regexps-and-options): Fix bug with parsing of
32426 (org-get-tags-at): Add the content of `org-file-tags'.
32428 * org-exp.el (org-export-handle-comments): Fix bug with several
32429 comment lines after each other.
32430 (org-number-to-roman, org-number-to-counter): New functions.
32431 (org-export-section-number-format): New option.
32433 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32435 * org-exp.el (org-export-protect-examples): Catch the case of a
32436 missing end_example line.
32438 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
32439 `org-file-tags' to nil.
32441 * org-colview.el (org-columns-next-allowed-value): Handle next
32442 argument NTH to directly select a value.
32444 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32446 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
32448 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32450 * org.el (org-columns-ellipses): New option.
32452 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32454 * org-colview.el (org-columns-add-ellipses): New function.
32455 (org-columns-compact-links): New function.
32456 (org-columns-cleanup-item): Call `org-columns-compact-links'.
32457 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
32459 (org-columns-edit-value): Fix bug with editing values from
32460 agenda column view.
32461 (org-columns-redo): Also redo the agenda itself.
32463 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32465 * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
32468 * org-colview.el (org-agenda-columns-cleanup-item): New function.
32470 * org-exp.el (org-export-ascii-preprocess): Rename from
32471 `org-export-ascii-clean-string'.
32472 (org-export-kill-licensed-text)
32473 (org-export-define-heading-targets)
32474 (org-export-handle-invisible-targets)
32475 (org-export-target-internal-links)
32476 (org-export-remove-or-extract-drawers)
32477 (org-export-remove-archived-trees)
32478 (org-export-protect-quoted-subtrees)
32479 (org-export-protect-verbatim, org-export-protect-examples)
32480 (org-export-select-backend-specific-text)
32481 (org-export-mark-blockquote-and-verse)
32482 (org-export-remove-comment-blocks-and-subtrees)
32483 (org-export-handle-comments, org-export-mark-radio-links)
32484 (org-export-remove-special-table-lines)
32485 (org-export-normalize-links)
32486 (org-export-concatenate-multiline-links)
32487 (org-export-concatenate-multiline-emphasis): New functions,
32488 obtained from spliting the export preprocessor.
32490 * org-table.el (org-table-recalculate): Improve error message if
32491 the row number is invalid.
32493 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32495 * org-archive.el (org-archive-save-context-info): Fix bugs in
32496 customization setup and docstring.
32498 * org-exp.el (org-export-html-style): Change the size of in the
32499 <pre> element to 90%.
32501 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32503 * org.el (org-find-src-example-start): Function removed.
32504 (org-edit-src-find-region-and-lang): New function.
32506 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32508 * org.el (org-edit-src-exit): New function.
32509 (org-exit-edit-mode): New minor mode.
32511 * org-exp.el (org-export-preprocess-string): Fix bug with removing
32512 comment-like lines from protected examples.
32514 * org.el (org-edit-src-example, org-find-src-example-start)
32515 (org-protect-source-example, org-edit-special): New functions.
32517 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32519 * org-publish.el (org-publish-project-alist): Fix typo in
32521 (org-publish-project-alist): Handle :index-title property.
32523 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32525 * org-export-latex.el (org-export-as-latex): Make sure region
32526 bounds are correct. Parse subtree properties relating to export.
32528 * org-exp.el (org-export-add-options-to-plist): New function.
32529 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
32531 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32533 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
32536 * org-exp.el (org-export-get-title-from-subtree)
32537 (org-export-as-ascii, org-export-as-html): Make sure the original
32538 region-beginning and region-end are used, even after moving point.
32539 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
32542 * org-remember.el (org-remember-last-stored-marker): New variable.
32543 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
32544 (org-remember-handler): Also use marker to remember
32545 last-stored position.
32547 * org.el (org-goto-marker-or-bmk): New function.
32549 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32551 * org.el (org-file-properties): Rename from `org-local-properties'.
32552 (org-scan-tags): Take file tags into account.
32553 (org-tags-match-list-sublevels): Default changed to t.
32555 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
32557 * org.el (org-update-parent-todo-statistics): New function.
32559 * org-exp.el (org-icalendar-store-UID): New option.
32560 (org-icalendar-force-UID): Option removed.
32561 (org-print-icalendar-entries): IMplement UIDs.
32563 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32565 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
32567 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32569 * org-faces.el (org-column): Document how this face is being used
32570 and why sometimes the background faces shine through.
32572 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
32574 * org-publish.el (org-publish-attachment): Create publishing
32575 directory if it does not yet exist.
32577 * org-table.el (org-calc-default-modes): Change default number
32578 format to (float 8).
32580 * org.el (org-olpath-completing-read): New function.
32581 (org-time-clocksum-format): New option.
32582 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
32584 * org-clock.el (org-clock-display, org-clock-out)
32585 (org-update-mode-line): Use `org-time-clocksum-format'.
32587 * org-colview.el (org-columns-number-to-string):
32588 Use `org-time-clocksum-format'.
32590 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32592 * org-id.el: New file, move from contrib to core.
32594 * org-exp.el (org-icalendar-force-UID): New option.
32596 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32598 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
32599 shifted by one day if there is a date range without an end time.
32601 * org.el (org-try-structure-completion): New function.
32603 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32605 * org.el (org-set-font-lock-defaults): Improve fontification of
32607 (org-insert-item): Handle description lists.
32608 (org-adaptive-fill-function): Improve auto indentation in
32611 * org-exp.el (org-export-as-html, org-export-preprocess-string):
32612 Implement VERSE environment.
32613 (org-export-preprocess-string): Implement the COMMENT
32616 * org-export-latex.el (org-export-latex-preprocess):
32617 Implement VERSE environment.
32619 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32621 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32624 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32626 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32628 * org.el (org-quote-csv-field): New functions.
32630 * org-table.el (org-table-export-default-format): Remove :splice
32631 from default format, we get the same effect by not specifying
32633 (org-table-export): Improve setup, distinguish better between
32634 interactive and non-interactive use, allow specifying the format
32635 on the fly, better protection against wrong file names.
32636 (orgtbl-to-generic): Fix documentation. Do not require :tstart
32637 and :tend when :splice is omitted.
32639 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32641 * org-clock.el (org-clock-select-task): Make sure the selection
32642 letters are 1-9 and A-Z, no special characters.
32644 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32646 * org-exp.el (org-export-htmlize): New group.
32647 (org-export-htmlize-output-type)
32648 (org-export-htmlize-css-font-prefix): New options.
32649 (org-export-htmlize-region-for-paste): New function.
32650 (org-export-htmlize-generate-css): New command.
32652 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32654 * org.el (org-set-visibility-according-to-property): New function.
32655 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32656 and compute the regular expressions, and update font-lock.
32657 (org-property-re): Allow a dash in property names.
32659 * org-archive.el (org-extract-archive-file): Insert the file name
32660 without the path into the format, to allow the location format to
32661 contain a subdirectory.
32663 * org-agenda.el (org-agenda-post-command-hook): If point is at end
32664 of buffer, and the `org-agenda-type' property undefined, use the
32665 value from the character before.
32667 * org.el (org-add-planning-info): Don't let indentation for
32668 would-be timestamp become extra whitespace at the end of headline.
32670 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32672 * org.el (org-remove-double-quotes, org-file-contents):
32675 * org-exp.el (org-infile-export-plist): Also parse the
32676 contents of #+SETUPFILE files, recursively.
32678 * org.el (org-set-regexps-and-options): Also parse the
32679 contents of #+SETUPFILE files, recursively.
32681 * org-exp.el (org-export-handle-include-files): New function.
32682 (org-export-preprocess-string):
32683 Call `org-export-handle-include-files'.
32685 * org.el (org-delete-property-globally)
32686 (org-delete-property, org-set-property): Ignore case during
32688 (org-set-property): Use `org-completing-read' instead of
32691 * org.el (org-complete-expand-structure-template): New,
32692 experimental function.
32693 (org-structure-template-alist): New, experimental option.
32694 (org-complete): Call `org-complete-expand-structure-template'.
32696 2008-06-17 Bastien Guerry <bzg@gnu.org>
32698 * org-export-latex.el (org-export-latex-preprocess):
32699 Add support for blockquotes.
32701 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32703 * org.el (org-read-date-analyze): Catch the case where only a
32706 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32708 * org.el (org-set-font-lock-defaults): Make the description
32711 * org-exp.el (org-export-as-html, org-close-li):
32712 Implement description lists.
32714 2008-06-17 Jason Riedy <jason@acm.org>
32716 * org-table.el (*orgtbl-default-fmt*): New variable.
32717 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32718 when there is no other fmt available.
32720 (orgtbl-to-generic): Allow an explicitly nil :tstart or
32721 :tend to suppress the appropriate string.
32723 (orgtbl-to-orgtbl): New function for translating to another orgtbl
32726 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32728 * org.el (org-read-date-analyze): "." as an alias for "+0" in
32731 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32734 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32737 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32739 * org-clock.el (org-clock-find-position): Don't include notes
32742 * org-archive.el (org-archive-subtree): No longer remove an
32743 extra line after cutting the subtree. `org-cut-subtree' already
32744 takes care of this.
32746 * org-remember.el (org-remember-handler): Only kill the target
32747 buffer if it does not contain the running clock.
32749 * org.el (org-markers-to-move): New variable.
32750 (org-save-markers-in-region, org-check-and-save-marker)
32751 (org-reinstall-markers-in-region): New function.
32752 (org-move-subtree-down, org-copy-subtree): Remember relative
32753 marker positions before cutting.
32754 (org-move-subtree-down, org-paste-subtree): Restore relative
32755 marker positions after pasting.
32757 * org-remember.el (org-remember-clock-out-on-exit): New option.
32758 (org-remember-finalize): Clock out only if the setting in
32759 `org-remember-clock-out-on-exit' requires it.
32760 (org-remember-handler): Do the cleanup in the buffer, to make sure
32761 that the clock marker remains in tact.
32763 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32765 * org-clock.el (org-clock-goto): Widen buffer if necessary.
32766 (org-clock-in): Make sure that also tasks outside the narrowed
32767 region will be clocked in correctly.
32768 (org-clock-insert-selection-line): Widen the buffer so that we can
32769 find the correct task heading.
32771 * org.el (org-base-buffer): New function.
32773 * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32774 and ";" are escaped.
32775 (org-print-icalendar-entries): Also apply
32776 `org-icalendar-cleanup-string' to the headline, not only to the
32779 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32781 * org-exp.el (org-export-preprocess-hook): New hook.
32782 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32784 * org.el (org-font-lock-hook): New variable.
32785 (org-font-lock-hook): New function.
32786 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32788 ;; Local Variables:
32790 ;; add-log-time-zone-rule: t
32793 Copyright (C) 2008-2014 Free Software Foundation, Inc.
32795 This file is part of GNU Emacs.
32797 GNU Emacs is free software: you can redistribute it and/or modify
32798 it under the terms of the GNU General Public License as published by
32799 the Free Software Foundation, either version 3 of the License, or
32800 (at your option) any later version.
32802 GNU Emacs is distributed in the hope that it will be useful,
32803 but WITHOUT ANY WARRANTY; without even the implied warranty of
32804 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32805 GNU General Public License for more details.
32807 You should have received a copy of the GNU General Public License
32808 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.