1 2014-10-20 Glenn Morris <rgm@gnu.org>
3 * Merge in all changes up to 24.4 release.
5 2014-10-12 Marco Wahl <marcowahlsoft@gmail.com>
7 * org-agenda.el (org-get-entries-from-diary): Use
8 `diary-fancy-display' instead of the obsolete
11 2014-10-12 Nicolas Goaziou <mail@nicolasgoaziou.fr>
13 * ox.el (org-export-async-start): Limit first argument to lambda
16 * ox-publish.el (org-publish, org-publish-all)
17 (org-publish-current-file): Replace `ignore', per limit stated
20 2014-10-12 Christopher Schmidt <ch@ristopher.com>
22 * org.el (orgstruct-make-binding): Do not use loop in interpreted code.
24 2014-10-12 Mike McLean <mike.mclean@pobox.com> (tiny change)
26 * org-agenda.el (org-agenda-time-grid): Change docstring.
28 2014-10-12 Nicolas Goaziou <mail@nicolasgoaziou.fr>
30 * ox.el (org-export-async-start): Allow to use symbols as function.
32 2014-10-03 Achim Gratz <Stromeko@Stromeko.DE>
34 * ob-sh.el (org-babel-sh-initiate-session): After initiating a
35 session, initialize the marker `comint-last-output-start' since it
36 is going to be used by the ANSI color filter without further
37 checks in Emacs 23 and throws an error.
39 * ob-lilypond.el: Change prefix from `ly-' to
40 `org-babel-lilypond-' throughout.
42 * org-footnote.el: Forward declare `org-element-context',
43 `org-element-property' and `org-element-type'.
45 * org.el: Add forward declarations for a number of functions that
46 the compiler otherwise warns about as potentially undefined at
49 * ob-core.el: Add comment to forward declaration of
50 'org-src-preserve-indentations'.
52 * ob-exp.el: Require org-src to import
53 'org-src-preserve-indentations'.
55 * ob-haskell.el, ob-python.el: Remove superfluous forward
56 declaration of 'org-src-preserve-indentations', since it gets
57 imported by other requires.
59 * ob-core.el (org-every): Forward declare 'org-every'.
61 * ob-C.el: Require cl during compilation so that lexical-let is
64 * org-entities.el: Remove superfluous require of org-macs.
65 Forward declare 'org-toggle-pretty-entities' and
66 'org-pretty-entities'.
68 * ox.el (org-export-get-parent): Move definition of
69 'org-export-get-parent' before first use. Leave comment at original
72 * org.el (org-uniquify): Move definition of 'org-uniquify' before
73 first use. Leave comment at original place of definition.
75 * ob-tangle.el (org-babel-tangle): When `file-name-directory'
76 returns nil, do not run make-directory. Remove superfluous when
77 clauses by using short-circuiting `and' instead.
79 2014-10-03 Alex Kosorukoff <alex@3form.com> (tiny change)
81 * org-capture.el (org-capture-fill-template): Set `mark-active' to
84 2014-10-03 Bastien Guerry <bzg@gnu.org>
86 * org-agenda.el (org-agenda-prepare): Reset preset filters when
89 * org-agenda.el (org-agenda-get-sexps): Don't add tags as text
92 * org-capture.el (org-capture-fill-template): Take
93 `org-extend-today-until' into account when setting the format time
96 * org.el (org-paste-subtree): Fix match subexpression.
98 * org.el (org-fix-ellipsis-at-bol): Delete.
99 (org-mode, org-show-context, org-isearch-end): Don't use
100 `org-fix-ellipsis-at-bol'.
102 * org-agenda.el (org-agenda-filter-apply): Fix setting of
103 `org-agenda-filtered-by-category'.
105 * org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
106 of `org-hidden-keywords'.
108 * org-agenda.el (org-cmp-ts): Fix agenda entry type checking.
110 * org-agenda.el (org-entries-lessp): Fix inactive timestamp
113 * org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
114 when agenda are sticky.
115 (org-agenda-tag-filter-while-redo): Delete.
116 (org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
118 (org-agenda-clockreport-mode, org-agenda-set-mode-name): Don't
119 consider tag filters.
121 * org.el (org-fix-ellipsis-at-bol)
122 (org-first-headline-recenter): Use `set-window-start' instead
125 * org-agenda.el (org-recenter-heading): Delete.
127 * org.el (org-insert-heading): With one universal prefix argument
128 or `org-insert-heading-respect-content' set to `t', always respect
129 the content, i.e. don't insert a list item and don't convert
130 normal lines into headings. Update docstring.
131 (org-insert-heading-respect-content): Remove unused arg.
132 (org-insert-todo-heading-respect-content): Don't use
133 `org-insert-todo-heading-respect-content', use the second argument
134 of `org-insert-todo-heading' instead.
136 * org-mobile.el (org-mobile-edit): Use only one arg.
138 * org.el (org-overview): Don't call `recenter'.
140 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
143 * org.el (org-property-re): Also match null properties by default.
144 (org-entry-delete): Also delete null properties.
145 (org-read-property-value): Allow the empty string as a new value.
146 (org-delete-property): Throw a message when there is not property
149 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Fix
152 * org.el (org-re-property): New parameter `allow-null' to match
153 property with a null value.
154 (org-entry-put): Correctly update a property with a null
157 * ox-md.el (org-md-headline): When exporting with a HTML table of
158 contents, add HTML anchors to Markdown headlines.
160 * org.el (org-insert-heading): Don't insert an item when called
161 with two universal prefix arguments.
163 * org-agenda.el (org-agenda-finalize): Remove duplicate check for
166 * org-agenda.el (org-agenda-prepare-window): New parameter
167 `filter-alist' to set the filters correctly when
168 `org-agenda-persistent-filter' is on.
169 (org-agenda-prepare): Use the new parameter for
170 `org-agenda-prepare-window'.
172 * org-compat.el (org-in-invisibility-spec-p): Tiny code cleanup.
173 (org-move-to-column): Only remove '(org-filtered) from
174 `buffer-invisibility-spec'.
176 * org-agenda.el (org-agenda-mode): Add buffer invisibility specs.
177 (org-agenda-filter-hide-line, org-agenda-remove-filter): Set
178 the 'invisible text property to 'org-filtered.
179 (org-agenda-show-new-time): Add the default face to avoid the
180 foreground of the last character on the line to leak into the
181 timestamp notification.
183 * org-agenda.el (org-get-time-of-day): Don't return time string
186 * org-timer.el (org-timer-value-string): Always return a positive
187 value. Add docstring.
189 * org-capture.el (org-capture-steal-local-variables): Don't steal
190 `mark-active', which should be nil in the target buffer.
192 * org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.
194 * org.el (org-move-subtree-down): Use `org-end-of-subtree' instead
195 of `outline-end-of-subtree'.
196 (outline-end-of-subtree): Remove advice.
198 * org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely): Use
199 `org-end-of-subtree' instead of `outline-end-of-subtree'.
201 * org-agenda.el (org-cmp-ts): Argument `type' is not optional.
204 * org-habit.el (org-habit-insert-consistency-graphs): Don't remove
205 filter overlays as we don't use overlays for filters anymore.
207 * org-agenda.el (org-agenda-local-vars): Add
208 `org-agenda-top-headline-filter'.
209 (org-agenda-filter-by-category): Fix syntax.
210 (org-agenda-filter-show-all-top-filter): New function.
211 (org-agenda-filter-by-top-headline)
212 (org-agenda-filter-remove-all): Use the new function.
213 (org-agenda-filter-top-headline-apply): Use a dedicated symbol
216 * org.el (org-entry-properties): Ensure the special property is
217 not commented out when matched.
219 * org-agenda.el (org-agenda-write): Code cleanup.
220 (org-agenda-mark-filtered-text)
221 (org-agenda-unmark-filtered-text)
222 (org-agenda-fix-tags-filter-overlays-at): Delete.
223 (org-agenda-remove-marked-text): Use the `property' argument
224 instead of hard-coding 'org-filtered.
225 (org-agenda-filter-remove-all): Use `org-agenda-finalize'.
226 (org-agenda-filter-hide-line): Rewrite using text properties
228 (org-agenda-remove-filter): New function.
229 (org-agenda-filter-show-all-tag)
230 (org-agenda-filter-show-all-cat)
231 (org-agenda-filter-show-all-re): Rewrite using
232 `org-agenda-remove-filter'.
234 * org-attach.el (org-attach-dir): When the property is "inherited"
235 from a variable outside of the file, do not use
236 `org-entry-property-inherited-from' to find the attachment
237 position, assume we need to go back to the current headline.
239 * ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
240 one-dimensional value.
242 * org.el (org-insert-heading): Fix bug when trying to insert a
243 heading when point is before the first headline and not at the
246 * org-table.el (org-table-eval-formula): Fix conversion of
247 inactive timestamps to active ones.
249 * org.el (org-set-regexps-and-options): Allow
250 `org-complex-heading-regexp-format' to match [/] and [%] cookies
251 when they are both before and after the heading.
253 * org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
254 (org-agenda-max-effort): Fix type strings.
256 * org-capture.el (org-capture-fill-template): Deactivate region
257 while trying to align tags on the current headline.
259 * org-agenda.el (org-agenda-finalize): Filter by top headline if
260 `org-agenda-top-headline-filter' is set.
262 2014-10-03 Bernt Hansen <bernt@norang.ca>
264 * org-macs.el: Remove restriction when locating markers.
266 2014-10-03 Dmitry Gorbik <dgorbik@me.com> (tiny change)
268 * org.el (org-fast-tag-selection): Fix window splitting.
270 2014-10-03 Eric Schulte <schulte.eric@gmail.com>
272 * ob-screen.el (org-babel-screen-test): Use unpredictable name for
275 * ob-screen.el (org-babel-screen-session-write-temp-file): Use
276 unpredictable temp file name, fixes bug#17416.
278 2014-10-03 Ian Kelling <ian@iankelling.org>
280 * ob-core.el (org-babel-insert-result): Test all list elements
281 against listp and (eq element 'hline) instead of checking just the
284 2014-10-03 Konstantin Kliakhandler <kosta@slumpy.org> (tiny change)
286 * org-agenda.el (org-agenda-redo): Reapply the filters correctly.
288 2014-10-03 Kyle Meyer <kyle@kyleam.com> (tiny change)
290 * ox.el (org-export-show-temporary-export-buffer): Fix typo.
292 2014-10-03 Matt Lundin <mdl@imapmail.org>
294 * ox-publish.el (org-publish-find-title, org-publish-find-date):
295 Make sure to call org-export-get-environment in copy of buffer if
296 emacs is already visiting. Otherwise, #+bind variables meant for
297 export can be set in live buffers.
299 * org.el (org-agenda-inhibit-startup): fix docstring to reflect
302 * ox-publish.el (org-publish-find-title, org-publish-find-date):
303 Fix unnecessary invocations of org-mode with org-inhibit-startup.
305 2014-10-03 Nick Dokos <ndokos@gmail.com>
307 * org-table.el (org-table-clean-before-export): The regexes match
308 spaces in addition to the special characters that might be used in
309 the first column as special marking characters. Remove the space
310 from the character class.
312 * ox-ascii.el (org-ascii-superscript): Change _ to ^ in the
315 2014-10-03 Nick Dokos <ndokos@redhat.com>
317 * org-table.el (org-table-show-reference): Call `set-window-start'
318 with the calculated values `min' and `max', not with
319 (point-min) and (point-max).
321 2014-10-03 Nicolas Goaziou <n.goaziou@gmail.com>
323 * ox-latex.el (org-latex-link): Improve test for unnumbered
326 * ox-ascii.el (org-ascii--fill-string): Allow filling even when
327 `org-export-preserve-breaks' is non-nil.
329 * org.el (org-N-empty-lines-before-current): Make sure to delete
330 only empty lines, not trailing whitespaces.
332 * ox-html.el (org-html-headline): Make sure even listified
333 headlines have proper anchors so internal links can refer to them.
336 * org-src.el (org-edit-src-code): Fix regexp.
337 (org-edit-src-exit): Do not remove auto-save timer. This is
338 handled by the timer itself.
340 * org.el (org-re-property): Fix regexp. Improve docstring.
342 * org-element.el (org-element-property-drawer-parser)
343 (org-element-node-property-parser): Ignore lines that are not node
345 (org-element-node-property-interpreter): Allow nil properties.
347 * org.el (org-re-property): Fix regexp to match properties with
350 * org-element.el (org-element-headline-interpreter): Take into
351 consideration `org-odd-levels-only' value. Small refactoring.
353 * ox-texinfo.el (org-texinfo--get-node): Return a node or anchor
355 (org-texinfo--sanitize-content): Fix regexp.
356 (org-texinfo-link): Fix various bugs in link export.
358 * ox-beamer.el (org-beamer-link):
359 * ox-html.el (org-html-link):
360 * ox-latex.el (org-latex-link):
361 * ox-odt.el (org-odt-link): When radio link has no valid
362 target (e.g., this is a subtree export and the radio target is not
363 in the exported subtree), simply return contents.
365 * org.el (org-called-with-limited-levels): Initialize variable.
367 * org-agenda.el (org-agenda-write): Write headings in proper
370 * org-element.el (org-element-table-interpreter): Enhance
373 * ox-md.el (org-md-link): Allow custom link type export function.
375 * ox-texinfo.el (org-texinfo-template): Fix language and encoding
378 * ox-md.el (org-md-separate-elements): Outside of lists, preserve
379 blank lines between paragraphs and plain lists.
381 * org-element.el (org-element-normalize-contents): Fix indentation
382 removal when there is an empty line within a verse block.
384 * ox-texinfo.el (org-texinfo--normalize-headlines): Properly add a
385 section to the contents.
387 * ox-texinfo.el (org-texinfo--normalize-headlines): Do not set pre
388 blanks since the value is now hard-coded.
389 (org-texinfo-headline): Force one blank line before contents, when non
391 (org-texinfo-src-block): Refactor code. Comply to predicate naming.
393 * ox-texinfo.el (org-texinfo--sanitize-node): Handle
394 " (not)allowed" case.
396 * ox-texinfo.el (org-texinfo-headline): Remove wrong code
399 * ox-texinfo.el (org-texinfo-headline): Remove `not-in-toc'
400 special case for tags.
402 * ox-texinfo.el (org-texinfo-headline): Remove LaTeXism (optional
403 arguments within square brackets).
405 * ox-texinfo.el (org-texinfo-info-process): Fix docstring.
406 (org-texinfo-compile): Do not check for impossible cases (e.g., if the
407 previous variable contains a function).
409 * ox-texinfo.el (org-texinfo-max-toc-depth): Fix docstring.
411 * ox-texinfo.el (org-texinfo--make-option-string,
412 org-texinfo--sanitize-headline,
413 org-texinfo--sanitize-headline-contents): Remove.
415 * ox-texinfo.el (org-texinfo--sanitize-node): "@", "{" and "}"
416 characters are allowed in a node name. So are "(" and ")" unless
417 "(" starts the name and there is ")" somewhere in the name. Also
418 trim and collapse whitespace characters. Renamed from
419 `org-texinfo--sanitize-menu'.
420 (org-texinfo--get-node): Do not sanitize node names over zealously.
421 Ensure returned node names are unique.
422 (org-texinfo-headline): Only add @node command where it makes sense.
424 * ox-texinfo.el (org-texinfo--sanitize-menu)
425 (org-texinfo--sanitize-content): Fix docstrings.
427 * ox-texinfo.el (org-texinfo--normalize-headlines): Make sure a
428 blank line always follows nodes.
430 * ox-texinfo.el (org-texinfo-make-menu): Change signature. Remove
431 some intermediate functions. Generate the full master menu when
433 (org-texinfo--build-menu): Use a simpler algorithm.
434 (org-texinfo--format-entries): Fix entries when both node and title
436 (org-texinfo--menu-entries): Renamed from `org-texinfo--generate-menu-list'.
437 (org-texinfo-headline): Move menu handling to next function.
438 (org-texinfo-section): Handle menu for current parent.
439 (org-texinfo--menu-headlines, org-texinfo--generate-detailed): Remove
441 (org-texinfo--normalize-headlines): New function.
443 * ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
445 * ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
446 text for sectioning command.
448 * ox-texinfo.el (org-texinfo--generate-menu-list): ":COPYING: nil"
449 is expected to be equivalent to no COPYING property at all.
451 * ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
453 * ox-texinfo.el (org-texinfo-plain-list): Fix format string.
456 * ox-texinfo.el (texinfo): Provide new export property.
457 (org-texinfo-template): Use dedicated title for hard copy, when
460 * ox-texinfo.el (org-texinfo-headline): Always obey to a non-nil
461 :APPENDIX: property. Small refactoring.
463 * ox-texinfo.el (org-texinfo-verse-block): Generate somewhat
464 meaningful Texinfo code instead of LaTeX.
466 * ox-texinfo.el (org-texinfo-table): Remove reference to
467 "verbatim" attribute. Handle table.el tables. Tiny refactoring.
468 (org-texinfo-table--org-table, org-texinfo-table--table.el-table):
470 (org-texinfo-table-column-widths): Indent code correctly. Ignore
471 special column, if any. Add a comment about the limitation on the
473 (org-texinfo-table-row): Small refactoring.
475 * ox-texinfo.el (texinfo): Do not provide a default value for
477 (org-texinfo-filename): Remove variable.
478 (org-texinfo-template): Correctly find value for @setfilename command.
479 If none is possible, do not provide the command at all.
481 * ox.el (org-export-to-file): Provide output file name in
482 communication channel, through :output-file property.
484 * ox-texinfo.el (org-texinfo-template): Do not hardcode "Manual"
487 * ox-texinfo.el (org-texinfo-classes): Change default value.
489 (org-texinfo-template): Insert header string from current class after
490 "@settitle" command. Always provide "\input texinfo" at the beginning
493 * ox-texinfo.el (org-texinfo-template): Remove spurious blank
494 lines in output. Refactor code.
496 * ox-texinfo.el (org-texinfo-template): Fix multi-line subtitles.
498 * ox-texinfo.el (org-texinfo-template): Make sure table of
499 contents are allowed before inserting them.
501 * ox-texinfo.el (org-texinfo-template): Check if copying data is
502 not nil before using it.
504 * ox-texinfo.el (org-texinfo-template): Fix multi-line subauthors.
505 Correctly add email, when provided. Check if author info is
508 * ox-texinfo.el (org-texinfo-node-description-column)
509 (org-texinfo-format-drawer-function): Fix docstrings.
511 * ox-texinfo.el (texinfo): Make sure comments are ignored.
512 (org-texinfo-comment, org-texinfo-comment-block): Remove functions.
514 * ox-texinfo.el (org-texinfo-template): Properly pad @direntry
517 * org-element.el (org-element-headline-parser): Add missing
518 `:post-blank' property in docstring.
520 * ox-latex.el (org-latex-table-scientific-notation): Set
522 (org-latex-listings-options): Fix docstring.
524 * ox.el (org-export-raw-special-block-p): New function.
526 * org-element.el (org-element-link-parser): Properly handle
527 multi-line links according to RFC 3986 when enclosed within square
530 * org-element.el (org-element-parse-secondary-string): Clone all
531 local variables from current buffer before parsing a secondary
532 string. Small refactoring.
533 (org-element-object-variables): Remove variable.
535 * ox-odt.el (org-odt--format-paragraph): Change signature to
537 (org-odt-footnote-reference, org-odt-paragraph): Apply signature
540 * org-clock.el (org-clocktable-indent-string): Use "\emsp" instead
541 of "\__", which is not supported anymore since Org 8.0.
543 * ox-odt.el (org-odt--paragraph-style): New function.
544 (org-odt--format-paragraph): Use new function to get proper style
547 * org-element.el (org-element--current-element): Fix regexp.
549 * org-element.el (org-element--current-element): Fix regexp
550 matching latex environments. Discrepancy with regexp used in
551 `org-element-latex-environment-parser' introduced matching errors.
553 * ox-ascii.el (org-ascii--table-cell-width): Correctly export
554 tables with width cookies.
556 * org.el (org-insert-heading): Fix error when inserting a headline
557 before first headline, with point not at bol. Remove source block
558 check for consistency with behavior after first headline. Tiny
561 * org.el (org-scan-tags): Fix typo in docstring.
563 * ox.el (org-export--get-inbuffer-options): Return the empty
564 string instead of nil when TITLE keywords has no value.
565 (org-export--get-buffer-attributes): Do not set :title property
567 (org-export--get-global-options): Do not ignore anymore nil values.
569 (org-export-as): Correctly set :title here.
571 * org-list.el (org-list-repair): Fix typo in docstring.
573 * ox-ascii.el (org-ascii--current-text-width): Tiny fix.
575 * ox-org.el (org-org-section): Tiny refactoring. Use appropriate
578 * ox-org.el (org-org-headline): Ignore footnote sections.
579 (org-org-section): New function.
581 * ox-beamer.el (org-beamer-select-environment): Ignore persistent
582 tags when displaying environments.
584 * ox-ascii.el (org-ascii-indented-line-width): Update docstring.
585 (org-ascii-paragraph): Do not apply indentation to the very first line
588 * ox-latex.el (org-latex-inlinetask): Skip body if contents are
591 * ox-html.el (org-html-standalone-image-p): Ensure paragraph
592 contains at least a link before return a non-nil value. Clarify
595 * ox.el (org-export-data): Always return a string, as specified
598 * ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
599 stack overflow in regexp matcher on very long lines.
601 * org-element.el (org-element-timestamp-parser): Fix docstring.
603 * ox-icalendar.el (org-icalendar-include-sexps,
604 org-icalendar-blocked-headline-p): Fix docstrings.
605 (org-icalendar-clear-blank-lines): Fix docstring and regexp.
607 * ox-icalendar.el (org-icalendar-entry): Use
608 `org-icalendar-with-timestamps'.
610 2014-10-03 Nicolas Richard <theonewiththeevillook@yahoo.fr>
612 * org.el (org-cycle-internal-local): Don't show a trailing
613 character when cycling a subtree that ends with a non-newline
614 character at the end of the buffer or the narrowed region.
616 2014-10-03 Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
618 * ox-ascii.el (org-ascii--box-string): Choose more universal
619 Unicode characters for boxquote corners.
621 2014-10-03 Marco Wahl <marcowahlsoft@gmail.com> (tiny change)
623 * org-agenda.el (org-agenda-bulk-mark)
624 (org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all): Fix
625 org-agenda-bulk-mark-all when time-grid is shown.
627 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
629 * org-compat.el (activate-mark): Set transient-mark-mode buffer-locally.
631 2014-06-22 Mario Lang <mlang@delysid.org>
633 * org-list.el (org-list-insert-item): The the -> the.
635 * org-bibtex.el (org-bibtex-fields): The the -> the.
637 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
639 * ob-core.el (org-babel-insert-result): Prefer point-min-marker
640 and point-max-marker.
641 * org-mouse.el (org-mouse-do-remotely): Prefer point-marker
642 to copy-marker of point.
644 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
646 * org-compat.el (org-font-lock-ensure): New function.
647 * ox-odt.el (org-odt-do-format-code):
648 * ox-html.el (org-html-fontify-code):
649 * org.el (org-fontify-like-in-org-mode):
650 * org-src.el (org-src-font-lock-fontify-block):
651 * org-clock.el (org-clock-get-clocktable): Use it.
652 * ox-org.el (org-org-publish-to-org): Use it. Avoid using find-file
655 2014-05-12 Eric Schulte <eric.schulte@gmx.com>
657 * ob-screen.el (org-babel-screen-session-write-temp-file)
658 (org-babel-screen-test):
659 Use unpredictable names for temporary files. (Bug#17416)
661 2014-04-22 Aaron Ecay <aaronecay@gmail.com>
663 * org-src.el (org-edit-src-exit): Place an undo boundary before
664 writing changes back to parent buffer.
666 2014-04-22 Achim Gratz <Stromeko@Stromeko.DE>
668 * ob-gnuplot.el (org-babel-gnuplot-process-vars):
669 `org-babel-gnuplot-table-to-data´ expects a table, so we need to
670 construct one when Babel hands us a vector.
672 * ob-ref.el (org-babel-ref-parse):
673 If `org-babel-current-src-block-location' is a marker, it can be from
674 another buffer, use marker-position instead in this case.
676 2014-04-22 Arun Persaud <apersaud@lbl.gov> (tiny change)
678 * org-src.el (org-edit-src-exit): Don't add indentation on empty lines.
680 2014-04-22 Bastien Guerry <bzg@gnu.org>
682 * org.el (org-insert-heading): Fix behavior when point is at the
683 beginning of a heading or a list item. Enhance docstring.
685 * ox-html.el (org-html-infojs-install-script): Don't install
686 infojs scripts when #+INFOJS_OPT: is empty.
688 * org.el (org-mode): Fix the use of `org-*-element' functions for
689 C-M-a and C-M-e but fix C-M-e.
691 * org-agenda.el (org-agenda-search-view): Fix tag.
693 * org.el (org-check-before-invisible-edit): Don't just cycle, show
694 the subtree, as cycling may leave the current heading folded.
695 (org-contextualize-validate-key): Fix wrong test.
697 * org-bibtex.el (org-bibtex-headline): Don't throw an error when
698 trying to add a keyword field to a BibTeX entry that is not known
699 by BibTeX or defined by the user.
700 (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
702 * ox-latex.el (org-latex-src-block): Fix wrong propagation of
703 labels and captions when using the listings environment.
705 * org.el (org-sort-entries): Fix the number of blank lines to
706 keep for the last entry to sort.
708 * org-clock.el (org-clock-put-overlay): Fix display when
709 `org-indent-mode' is on.
711 * org.el (org-sort-entries): Allow to sort by clocking time.
713 * org-agenda.el (org-agenda-finalize): Apply all filters
716 * org.el (org-update-dblock): Use `save-excursion' instead of
717 `save-window-excursion' so that blocks can edit other windows and
718 change the window layout.
720 * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
721 (org-agenda-dim-blocked-tasks): Make overlays intangible.
722 (org-agenda-show-new-time): Fix bug when deleting a timestamp
723 right after changing it.
724 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
725 (org-agenda-get-sexps, org-agenda-filter-by-regexp)
726 (org-agenda-filter-top-headline-apply): Fix indentation.
728 * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
729 to edit/move as in a table.
731 * org-agenda.el (org-agenda-show-new-time): Don't use
732 `move-beginning-of-line' as it is slower and not needed.
734 * org-compat.el (org-move-to-column): Temporarily set
735 `buffer-invisibility-spec' more accurately.
737 * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
738 underlining instead of \uline{...} as requiring the hyperref
739 package makes \uline{...} unusable on headline.
741 * org.el (org-latex-default-packages-alist): Add the "soul"
744 * org.el (org-refresh-properties): Don't add the property to
745 the whole subtree, only to the part between the beginning of
746 the headline and the end of the "content", before any other
747 headline. This fix a bug about properties displayed as
748 inherited in the agenda, where Org properties are checked
749 against text properties.
751 * ox-latex.el (org-latex--text-markup): Replace newlines by
752 whitespaces in \verb constructs.
754 * org-agenda.el (org-agenda-filter-hide-line): Hide from the
755 beginning of the line to the beginning of the next line.
756 (org-agenda-show-new-time): Use `move-beginning-of-line' and
758 (org-agenda-drag-line-forward): Adapt to the new definition of
759 hidden filtered lines.
761 * org-compat.el (org-move-to-column): Always ignore invisible
762 text in agenda buffer, and when there is both a bracket link
763 and '(org-link) as a member of `buffer-invisibility-spec'.
766 * org.el (org-align-tags-here): Add docstring and remove useless
767 arguments when calling `org-move-to-column'.
769 * org-table.el (org-table-copy-down)
770 (org-table-find-dataline, org-table-move-row)
771 (org-table-insert-hline, org-table-kill-row):
772 * org-agenda.el (org-agenda-next-item)
773 (org-agenda-previous-item, org-agenda-todo)
774 (org-agenda-priority, org-agenda-show-new-time)
775 (org-agenda-clock-in, org-agenda-clock-out): Remove useless
776 arguments when calling `org-move-to-column'.
778 * org.el (org-refile): Fix calling with a numeric prefix argument
779 of 3 to refile and keep.
781 * org-clock.el (org-clock-get-table-data): When :link is `t' in
782 the clocktable parameters, bracket links in the clocktable should
783 only contain their description, other C-c C-o will try to open the
784 bracket link at point instead of the headline.
786 * org-agenda.el (org-agenda-todo): Always restore the window state
787 after `org-agenda-change-all-lines' has been called.
788 (org-agenda-open-link): Don't throw an error when trying to open a
789 link when the point is on a place that is not associated with a
792 * ox-latex.el (org-latex-link): Escape `%' characters.
794 * org.el (org-entry-get-with-inheritance): Remove wrong quote.
795 (org-entry-get): Only try to combine file properties with local
796 properties when the property drawer contains such local property,
797 not when the property drawer exists.
799 * ox-latex.el (org-latex-link):
800 * ox-html.el (org-html-link):
801 * ox-beamer.el (org-beamer-link): Fix links to radio targets.
803 * ox-ascii.el (org-ascii-link): For links to a radio target, use
804 the link, not the target.
806 * org.el (org-do-emphasis-faces): Explicitly prevent nested
808 (org-insert-heading): Don't remove whitespaces following an empty
811 * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
814 * org.el (org-store-link): Ensure desc is not nil before matching
815 a regexp against it. Fall back on an empty string when no
816 description is available.
818 * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
819 `org-agenda-buffer-name'.
821 * org-capture.el (org-capture-finalize): Ensure to widen the
822 buffer when the target buffer is not initially narrowed.
824 * org-compat.el (org-move-to-column): Fix bug about ignoring
825 bracket links visibility status in tables with S-RET.
827 * org-src.el (org-edit-src-find-region-and-lang): Check if we are
828 in a table.el table last.
830 * org.el (org-delete-property): Don't suggest to delete the
831 CATEGORY property when the category is not explicitely set in the
832 property drawer. Also enforce matching when completing.
833 (org-insert-heading): Fix regression: with two universal prefixes,
834 insert heading at the end of the subtree.
835 (org-insert-todo-heading): Bugfix: only enforce the first TODO
836 state when arg is '(4).
838 * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
840 * org.el (org-contextualize-validate-key): Fix bug: perform the
841 check even when (buffer-file-name) returns `nil'.
843 * org-colview.el (org-columns-display-here): Let-bind `fm'.
845 * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
846 and `org-code' for ~text~.
847 (org-open-link-marker): Fix typo in docstring.
849 * org-colview.el (org-columns-display-here): Fix the column
850 view for numbers with a format specifier (e.g. {+; %5.1f}).
852 * org-src.el (org-edit-src-code): Throw a warning instead of
853 an error when loading the mode fails, otherwise the user is
854 left with unusable buffers.
856 * org-table.el (org-table-copy-down)
857 (org-table-find-dataline, org-table-move-row)
858 (org-table-insert-hline, org-table-kill-row):
859 Use `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
860 that abbreviated rows don't interfer with setting the cursor back
861 at the correct position.
863 * org.el (org-agenda-prepare-buffers): Use `save-excursion'
864 instead of `save-window-excursion'.
865 (org-file-contents): Return an empty string instead of the
867 (org-open-at-point): Fix bug when opening a plain link followed by
869 (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
871 (org-refile--get-location): New internal function using a wider
872 set of possible refile locations.
873 (org-refile-get-location): Use it.
874 (org-refile): Fix bug when refiling the last subtree of the
875 buffer: don't leave out the last character.
876 (org-sort-entries): Restore the point location when there is
879 * org-table.el (org-table-field-info): Throw a user error when not
882 * org-agenda.el (org-agenda-drag-line-forward):
883 Call `org-agenda-mark-clocking-task' when done.
884 (org-agenda-mark-clocking-task): Small refactoring.
886 * org-compat.el (org-set-transient-map): Alias pointing at
887 `set-transient-map' if defined, at `set-temporary-overlay-map'
890 * org-agenda.el (org-agenda-next-item)
891 (org-agenda-previous-item, org-agenda-toggle-archive-tag)
892 (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
893 (org-agenda-clock-out): Put the cursor back on the correct
894 column, when possible.
895 (org-agenda-todo): When `org-clock-out-when-done' is `t', also
896 remove the current clock overlay.
898 * org.el (org-format-latex-options): Fix docstring.
900 * ox.el (org-export--get-subtree-options): When using the headline
901 as a title for a subtree export, only take the true heading, no
902 TODO keyword, no priority cookie, no tag.
904 * org.el (customize-package-emacs-version-alist): Fix Org version
907 * org.el (org-demote): Ignore invisible text when aligning tags.
908 (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
909 invisible text when restoring the cursor to the correct column.
911 * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
912 properties before formatting the results.
914 * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
916 (org-agenda-reapply-filters): New function.
917 (org-agenda-drag-line-forward): Rewrite to fix a bug when used
919 (org-agenda-drag-line-backward): Rewrite using
920 `org-agenda-drag-line-forward'.
922 * ob-table.el (org-sbe): Rename from `sbe'.
924 * org.el (org-store-link): When a link has been stored, always
927 * ob-python.el (org-babel-python-var-to-python): Fix code typo.
929 * org-entities.el (org-entities-help): Prevent the display of
930 pretty entities, as this help buffer is meant to list literal
931 strings, not utf-8 representations.
933 2014-04-22 Benjamin Drieu <bdrieu@april.org>
935 * org.el (org-store-link): Fix selection of the function to store
938 2014-04-22 Ilya Shlyakhter <ilya_shl@alum.mit.edu>
940 * org.el (org-entry-get-with-inheritance): Temporarily let-bind
941 `org-file-properties', `org-global-properties' and
942 `org-global-properties-fixed' to nil before calling
943 `org-entry-get' on entries up the hierarchy from the queried
946 2014-04-22 Justin Gordon <justin.gordon@gmail.com>
948 * ox-md.el (org-md-separate-elements): Fix blank line insertion
951 * ox-md.el (org-md-inner-template): New function.
953 2014-04-22 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
955 * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
956 of unknown BibTeX entries.
958 2014-04-22 Markus Hauck <markus1189@gmail.com> (tiny change)
960 * org-agenda.el (org-agenda-get-scheduled):
961 If `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
962 'repeated-after-deadline, still show tasks without any deadline
964 2014-04-22 Michael Brand <michael.ch.brand@gmail.com>
966 * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
967 lines with `forward-line'.
969 2014-04-22 Michael Weylandt <michael.weylandt@gmail.com> (tiny change)
971 * ox-latex.el (org-latex-export-to-latex): Downcase the language
972 name when using minted highlighting for src block exports.
974 2014-04-22 Nick Dokos <ndokos@gmail.com>
976 * org-mobile.el (org-mobile-create-index-file): delete :grouptags
977 entries from tags list when creating the org-mobile index file.
979 2014-04-22 Nicolas Goaziou <n.goaziou@gmail.com>
981 * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
984 * org.el (org-sparse-tree): Fix code typo. Small refactoring.
986 * ox-latex.el (org-latex-link):
987 * ox-html.el (org-html-link): Do not expand absolute file names
988 and do not try to fix hierarchy part, as it is already taken care of
991 * ox-md.el (org-md-link): Ditto. Also fix absolute file names.
993 * ox-odt.el (org-odt-link):
994 * ox-man.el (org-man-link):
995 * ox-texinfo.el (org-texinfo-link):
996 * org-element.el (org-element-link-parser): Fix ill-defined "file"
997 type links. Expand absolute file names in the process.
999 * org.el (org-make-link-regexps): Use `regexp-opt' instead of
1000 `mapconcat' and `regexp-quote'.
1002 * ox-html.el (org-html-link):
1003 * ox-latex.el (org-latex-link):
1004 * ox-man.el (org-man-link):
1005 * ox-odt.el (org-odt-link):
1006 * ox-html.el (org-html-link):
1007 * ox-latex.el (org-latex-link):
1008 * ox-man.el (org-man-link):
1009 * ox-odt.el (org-odt-link):
1010 * ox-texinfo.el (org-texinfo-link): Append "//" after some link
1013 * ox-md.el (org-md-link):
1014 * org.el (org-make-link-regexps): Allow optional double slashes
1015 after type. Small refactoring.
1017 * org-element.el (org-element-headline-parser): Tiny refactoring.
1019 * org-element.el (org-element-headline-parser): Correctly parse
1020 blank lines after a headline.
1022 * org-element.el (org-element-table-cell-parser)
1023 (org-element-table-cell-successor): Recognize cell even when last
1024 vertical bar is missing.
1026 * ox-md.el (org-md-example-block): handle switches and references
1029 * org.el (org-latex-packages-alist)
1030 (org-latex-default-packages-alist): Update docstrings.
1032 * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
1033 uniquifying links in section.
1035 * ox-odt.el (org-odt-template): Ignore blank titles.
1037 * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
1040 * ox-ascii.el (org-ascii-link):
1041 * ox-beamer.el (org-beamer-link):
1042 * ox-html.el (org-html-link):
1043 * ox-latex.el (org-latex-link):
1044 * ox-md.el (org-md-link):
1045 * ox-odt.el (org-odt-link): Update radio target export according
1048 * org-element.el (org-element-all-successors)
1049 (org-element-object-restrictions): Prioritize `link' over other
1050 successors in order to find radio links starting with another
1051 syntax object (e.g., an entity). Also allow text markup within
1053 (org-element-link-parser): Add contents to radio targets.
1055 * org.el (org-make-target-link-regexp): Fix regexp so it can match
1056 targets starting with an Org object (e.g., an entity).
1057 (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
1058 within a radio target.
1060 * org.el (org-mode): Change "\" and "~" characters syntax from
1061 `punctuation' to `symbol' so they are on par with other characters
1062 used in Org syntax (e.g., "/", "*"...).
1064 * ox-beamer.el (org-beamer-publish-to-pdf):
1065 * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
1066 generated in the same directory as the ".org" file.
1068 * ox-latex.el (org-latex-headline): Hard-code "\underline" in
1069 sections because "\uline" ("ulem" package) returns an error and
1070 "\ul" ("soul" package) doesn't support chinese characters.
1072 * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
1073 between radio targets and radio links.
1075 * org-element.el (org-element-link-parser): "radio" links have
1076 their path downcased to avoid introducing case mismatch with their
1077 relative radio target. With this change it is also necessary to
1078 add contents to them, since `:path' property no longer matches
1079 real value of the link.
1080 (org-element-radio-target-parser): Downcase value as explained
1081 above. Store the initial value in a new `:raw-value' property.
1083 * org-element.el (org-element-context): Fix parsing of bold
1084 objects at the beginning of a headline.
1086 * org-element.el (org-element-context): Fix timestamps parsing.
1088 * ox-beamer.el (org-beamer-item): Insert the export snippet right
1089 after the first \item, not all of them.
1091 * org-element.el (org-element--list-struct): Fix regexp.
1093 * org-element.el (org-element-inlinetask-parser): Fix parsing when
1094 regular and degenerate inlinetasks are mixed in the section.
1096 * ox-md.el (org-md-link): Generate md links to other Org files
1097 instead of html links. Do not confuse caption and alt-text.
1098 Provide "img" as default alt-text.
1100 * org-element.el (org-element-normalize-contents): Do not ignore
1101 empty lines when an object follows.
1102 (org-element-interpret-data): Do not remove properties by
1103 side-effect when interpreting a string, as it also removes them
1104 from the parse tree, making the string unusable without its
1107 * ob-exp.el (org-babel-exp-process-buffer): Also check
1108 `org-src-preserve-indentation' to know when to preserve indentation.
1109 (org-babel-exp-code-template): Include switches in template.
1110 (org-babel-exp-code): Provide %switches placeholder.
1112 * ox-latex.el (org-latex-plain-list): Do not automatically
1113 enclose value for :options attribute within square brackets.
1114 Instead, append them verbatim next to the block name, as special
1117 * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
1119 (org-babel-exp-process-buffer): Make processing more robust when
1120 results are inserted before source block or when source block is
1121 followed by multiple blank lines.
1123 * ox.el (org-export-insert-default-template): Only insert
1124 keywords and options relatives to the selected back-end.
1125 Ignore those relatives to its parent in the case of a derived back-end.
1127 * ox-beamer.el: Remove unnecessary package definitions in default
1130 * ox-latex.el (org-latex-headline, org-latex-item): Fix items
1131 starting with a square bracket.
1133 * org.el (org-mode-restart): Fix turning off `org-indent-mode'
1135 (org-get-previous-line-level): Do not call `org-current-level'
1136 twice unless necessary. Also, avoid using `line-number-at-pos'
1137 when the information needed is to know if point is in the first
1138 line of the visible part of the buffer.
1140 * ob-core.el (org-babel-get-inline-src-block-matches): Do not
1141 compute line number if all is needed is to know if we're on the
1144 * ox-md.el (org-md-item): Do not return an error when exporting
1147 * ox-beamer.el (org-beamer-select-environment): Function doesn't
1148 work if fast tag selection is disabled, so make sure it is always
1149 on, independently on user's configuration.
1151 2014-04-22 Nikolai Weibull <now@disu.se> (tiny change)
1153 * org.el (org-mode): Add guard around set-face-foreground.
1155 2014-04-22 Rasmus <w530@pank.eu>
1157 * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
1159 2014-04-22 Rick Frankel <rick@rickster.com>
1161 * ox-html.el (org-html-link): Unescape org-escaped links an
1162 re-escape for html (browser).
1164 2014-04-22 Sacha Chua <sacha@sachachua.com>
1166 * org.el (org-refresh-properties): Don't throw an error when
1167 reaching the end of the buffer.
1169 2014-04-22 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1171 * org-bibtex.el (org-bibtex-read): Check string length before
1174 2014-04-22 Yasushi SHOJI <yashi@atmark-techno.com>
1176 * ox-ascii.el (org-ascii--current-text-width): Convert `length'
1178 (org-ascii--build-title, org-ascii--build-toc)
1179 (org-ascii--list-listings, org-ascii--list-tables)
1180 (org-ascii-template--document-title)
1181 (org-ascii-inner-template, org-ascii-format-inlinetask-default)
1182 (org-ascii-format-inlinetask-default, org-ascii-item
1183 (org-ascii--table-cell-width, org-ascii-table-cell)
1184 (org-ascii--current-text-width): Likewise.
1186 2014-02-25 Glenn Morris <rgm@gnu.org>
1188 * org-version.el (org-odt-data-dir):
1189 Remove incorrect, duplicate definition. (Bug#16734)
1191 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1194 * org-irc.el (org-irc-ellipsify-description): Rename from
1195 org-irc-elipsify-description. All uses changed.
1197 2013-01-07 Bastien Guerry <bzg@gnu.org>
1199 * org-clock.el (org-clock-cancel-hook)
1200 (org-clock-leftover-time): Fix typo in docstring.
1202 * ox-odt.el (org-odt--frame): Add a draw:name property to the
1204 (org-odt-format-label): Don't use short-caption at all.
1206 * org-rmail.el (org-rmail-follow-link): Don't raise an error when
1207 no article is matched.
1209 * org.el (org-set-tags): Ignore invisible text when restoring
1211 (org-refile-get-location): Check for a refile position when the
1212 position is not nil, otherwise allow to create the parent node if
1213 the user requests it.
1214 (org-refile-allow-creating-parent-nodes): Fix typo in
1216 (org-entry-get): Minor docstring enhancement.
1217 (org-set-startup-visibility): Bugfix.
1218 (org-shiftcontrolup, org-shiftcontroldown):
1219 When `org-support-shift-select' is not `nil', let-bind it to nil if
1220 point is on a clock log. Otherwise throw an error.
1222 * ob-lob.el (org-babel-lob-files): Fix custom type.
1223 (org-babel-lob-ingest): Small docstring fix.
1225 * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
1226 `later than any date' instead of `later than today'.
1228 * org.el (org-do-emphasis-faces): Handle false positives by
1229 restarting the re-search one char after the beginning of the
1230 match, not one char before its ending.
1231 (org-entry-put): Check that the value provided is a string. If it
1232 is nil, convert it to the empty string.
1234 * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
1235 instead of list as the defcustom type.
1237 * ox.el (org-export-with-creator):
1238 * org.el (org-loop-over-headlines-in-active-region)
1239 (org-mouse-1-follows-link, org-provide-todo-statistics):
1240 * org-agenda.el (org-agenda-custom-commands-local-options)
1241 (org-agenda-start-with-log-mode)
1242 (org-agenda-show-inherited-tags): Don't quote const values.
1244 * ox-texinfo.el (org-texinfo-def-table-markup):
1245 * org-inlinetask.el (org-inlinetask-show-first-star):
1246 * ob-maxima.el (org-babel-maxima-command): Add type.
1248 * org-table.el (org-table-fix-formulas): Handle multiple
1251 * ox.el (org-export-to-file): Fix typo in docstring.
1253 * org.el (org-self-insert-command)
1254 (orgtbl-self-insert-command): Change the value of the
1255 `delete-selection' property to allow other commands like
1256 `electric-pair-will-use-region' to be run before deletion.
1258 * org-attach.el (vc-git): Require.
1259 (org-attach-commit): Check whether git is installed.
1261 2013-01-07 Nicolas Goaziou <n.goaziou@gmail.com>
1263 * ox-icalendar.el (org-icalendar--combine-files): Make sure
1264 anniversaries do not end up in *Message* buffer instead of the ICS
1267 * ox-html.el: Clean up "FIXME" comments.
1269 * ox-publish.el (org-publish-resolve-external-fuzzy-link):
1272 * ox.el (org-export-smart-quotes-regexps): Fix smart quote
1273 detection when it is followed by an open parenthesis syntax class.
1275 * org-element.el (org-element-inline-babel-call-successor):
1276 Use original regexp to stay up-to-date with Babel changes.
1277 (org-element--affiliated-re): Fix affiliated keyword regexp.
1279 * ox-org.el (org-org-identity): Since back-end specific keywords
1280 are stripped from output, also remove attr_backend keywords.
1281 (org-babel-exp-process-buffer): Fix duplicate evaluation with
1283 (org-babel-exp-non-block-elements): Remove function.
1285 2013-01-07 Ted Wiles <thewiles@wharton.upenn.edu> (tiny change)
1287 * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
1290 2013-01-07 Miguel Ruiz <rbenit68@yahoo.es> (tiny change)
1292 * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
1295 2013-01-07 Vladimir Lomov <lomov.vl@gmail.com> (tiny change)
1297 * ox-html.el (org-html-style-default): New classes caption.t-above
1298 and caption.t-bottom.
1299 (org-html-table): Use new classes.
1301 2013-12-23 Chong Yidong <cyd@gnu.org>
1303 * org.el (orgstruct-make-binding): Call set-transient-map instead
1304 of old name set-temporary-overlay-map.
1306 2013-12-06 Achim Gratz <Stromeko@Stromeko.DE>
1308 * org-crypt.el: Declare `epg-context´.
1309 (org-encrypt-string): Correct indentation.
1311 * org.el (org-version): Replace `_version´ by `version1´.
1313 2013-12-06 Alexander Vorobiev <alexander.vorobiev@gmail.com> (tiny change)
1315 * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
1316 to get the clipboard data under Windows.
1318 2013-12-06 Bastien Guerry <bzg@gnu.org>
1320 * ox.el (org-export-with-sub-superscripts):
1321 * org.el (org-use-sub-superscripts): Fix version and enhance
1324 * ox.el (org-export-with-sub-superscripts):
1325 * org.el (org-use-sub-superscripts): Enhance docstrings.
1327 * org-macs.el (org-autoload): Delete.
1329 * org-docview.el ("docview"): Fix declarations and require
1332 * org-id.el (org-id-copy)
1333 (org-id-get-with-outline-path-completion)
1334 (org-id-get-with-outline-drilling, org-id-new):
1337 (org-colview-initial-truncate-line-value)
1338 (org-columns-open-link, org-string-to-number):
1340 (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
1341 * org-archive.el (org-get-local-archive-location):
1342 * org-agenda.el (org-agenda-todo-custom-ignore-p):
1345 * org.el (org-return-follows-link):
1346 * ob-python.el (org-babel-python-command): Don't use :set.
1348 * ox-odt.el (org-odt-content-template-file): Fix version.
1350 * ox-texinfo.el (org-texinfo-filename): Fix default value.
1351 (org-texinfo-format-headline-function): Use 'ignore as the
1353 (org-texinfo-format-drawer-function): Use a function as the
1354 default value. Update docstring.
1355 (org-texinfo-drawer): Always use
1356 `org-texinfo-format-drawer-function' as it is now a function
1358 (org-texinfo-headline):
1359 Compare `org-texinfo-format-headline-function' against 'ignore.
1360 (org-texinfo-inlinetask):
1361 Compare `org-texinfo-format-inlinetask-function' against 'ignore.
1363 * ox-odt.el (org-odt-format-drawer-function): Use a function as
1364 the default value. Update docstring.
1365 (org-odt-format-headline-function)
1366 (org-odt-format-inlinetask-function): Fix default value.
1367 (org-odt-drawer): Always use `org-odt-format-drawer-function'
1368 as it is now a function by default.
1369 (org-odt-format-headline--wrap):
1370 Compare `org-odt-format-headline-function' against 'ignore.
1372 * ox-latex.el (org-latex-format-drawer-function): Use a function
1373 as the default value. Update docstring.
1374 (org-latex-format-inlinetask-function): Fix default value.
1375 (org-latex-drawer): Always use
1376 `org-latex-format-drawer-function' as it is now a function by
1378 (org-latex-inlinetask):
1379 Compare `org-latex-format-inlinetask-function' against 'ignore.
1381 * ox-html.el (org-html-format-drawer-function): Use a function as
1382 the default value. Update docstring.
1383 (org-html-format-headline-function)
1384 (org-html-format-inlinetask-function): Fix default value.
1385 (org-html--format-toc-headline)
1386 (org-html-format-headline--wrap):
1387 Compare `org-html-format-headline-function' against 'ignore.
1388 (org-html-inlinetask):
1389 Compare `org-html-format-inlinetask-function' against 'ignore.
1391 * ox-ascii.el (org-ascii-format-drawer-function): Use a
1392 function as the default value. Update docstring.
1393 (org-ascii-drawer): Always use
1394 `org-ascii-format-drawer-function' as it is now a function by
1396 (org-ascii-format-inlinetask-default): New function.
1397 (org-ascii-format-inlinetask-function):
1398 Use `org-ascii-format-inlinetask-default' as the default.
1400 * org.el (org-mouse-1-follows-link): Use :set to set the default
1401 value. Update custom type.
1402 (org-log-note-headings): Fix order or list items in the custom
1404 (orgstruct-heading-prefix-regexp): Use an empty string as the
1405 default value. Use 'regexp as the custom type.
1406 (orgstruct-make-binding): Tiny docstring enhancement.
1407 Assume `orgstruct-heading-prefix-regexp' is a string.
1409 * org-agenda.el (org-agenda-search-view-max-outline-level):
1410 Set default value to 0. Update docstring.
1411 (org-agenda-deadline-leaders): Fix custom type.
1413 Assume `org-agenda-search-view-max-outline-level' is a number.
1415 * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
1417 * ob-python.el (org-babel-python-mode): Use :set to set the
1419 (org-babel-python-None-to): Fix custom type.
1421 * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
1422 (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
1425 * ob-latex.el (org-babel-latex-htlatex): Fix default value.
1426 (org-babel-latex-htlatex-packages): Fix custom type.
1427 (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
1430 * ox-odt.el (org-odt-display-outline-level): Fix version.
1432 * ox-odt.el (org-odt-inline-formula-rules)
1433 (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
1434 and package-version.
1436 * ox-html.el (org-html-format-drawer-function)
1437 (org-html-format-headline-function)
1438 (org-html-format-inlinetask-function)
1439 (org-html-creator-string): Add version and package-version.
1441 * ox-html.el (org-html-text-markup-alist): Fix version.
1443 * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1445 * ob-calc.el (org--var-syms): Rename from `var-syms'.
1447 * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
1450 * ob-table.el (sbe): Move debug declaration.
1452 * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1454 2013-12-06 Nicolas Goaziou <n.goaziou@gmail.com>
1456 * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
1457 object, look for something to do at a higher level instead of
1460 * ox-html.el (org-html-format-latex): Add an argument. Ensure
1461 latex header is the same as specified in the original buffer when
1462 exporting a LaTeX fragment or environment.
1463 (org-html-latex-environment, org-html-latex-fragment):
1464 Apply signature change.
1466 * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
1467 when publishing a non-existent file.
1469 * org-element.el (org-element-paragraph-separate): More accurate
1472 * org.el (org-entry-get): Widen buffer in order to retrieve
1473 properties, as `org-entry-properties' and
1474 `org-entry-get-with-inheritance' already do.
1476 * ox-html.el (org-html--format-toc-headline): Add missing headline
1477 number in TOC entries.
1479 * org.el (org-entry-properties): Ignore narrowing when retrieving
1480 current headline properties.
1482 2013-12-06 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
1484 * org-crypt.el (org-encrypt-string, org-encrypt-entry)
1485 (org-decrypt-entry): Fix warning.
1487 2013-11-17 Paul Eggert <eggert@cs.ucla.edu>
1490 * ob-python.el (org-babel-python-with-earmuffs):
1491 Rename from org-babel-python-with-earmufs. All uses changed.
1492 (org-babel-python-without-earmuffs):
1493 Rename from org-babel-python-without-earmufs. All uses changed.
1495 2013-11-12 Bastien Guerry <bzg@gnu.org>
1497 * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1499 2013-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1501 Address some byte-compiler warnings.
1502 * ob-calc.el (org--var-syms): Rename from `var-syms'.
1503 * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
1504 * ob-table.el (sbe): Move debug declaration.
1505 * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1506 * org.el (org-version): Avoid var name starting with _.
1507 (org-inhibit-startup, org-called-with-limited-levels)
1508 (org-link-search-inhibit-query, org-time-was-given)
1509 (org-end-time-was-given, org-def, org-defdecode, org-with-time):
1510 * org-colview.el (org-agenda-overriding-columns-format):
1511 * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
1512 (org-agenda-show-log-scoped):
1513 * ob-python.el (py-which-bufname, python-shell-buffer-name):
1514 * ob-haskell.el (org-export-copy-to-kill-ring):
1515 * ob-exp.el (org-link-search-inhibit-query):
1516 * ob-R.el (ess-eval-visibly-p):
1517 * ob-core.el (org-src-window-setup): Declare before use.
1518 (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
1519 * ox-odt.el (org-odt-hfy-face-to-css):
1520 * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
1521 * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
1523 * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
1524 (org-babel-tangle-single-block, org-babel-tangle-comment-links):
1525 * ob-table.el (sbe):
1526 * ob-sqlite.el (org-babel-sqlite-expand-vars):
1527 * ob-sql.el (org-babel-sql-expand-vars):
1528 * ob-shen.el (org-babel-execute:shen):
1529 * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
1530 * ob-scala.el (org-babel-scala-evaluate):
1531 * ob-ruby.el (org-babel-ruby-table-or-string)
1532 (org-babel-ruby-evaluate):
1533 * ob-python.el (org-babel-python-table-or-string)
1534 (org-babel-python-evaluate-external-process)
1535 (org-babel-python-evaluate-session):
1536 * ob-picolisp.el (org-babel-execute:picolisp):
1537 * ob-perl.el (org-babel-perl-evaluate):
1538 * ob-maxima.el (org-babel-execute:maxima):
1539 * ob-lisp.el (org-babel-execute:lisp):
1540 * ob-java.el (org-babel-execute:java):
1541 * ob-io.el (org-babel-io-evaluate):
1542 * ob-haskell.el (org-babel-execute:haskell):
1543 * ob-fortran.el (org-babel-execute:fortran):
1544 * ob-exp.el (org-babel-exp-code):
1545 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
1546 * ob-ditaa.el (org-babel-execute:ditaa):
1547 * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
1548 (org-babel-parse-header-arguments, org-babel-reassemble-table)
1549 (org-babel-goto-src-block-head, org-babel-mark-block)
1550 (org-babel-expand-noweb-references, org-babel-script-escape)
1551 (org-babel-process-file-name):
1552 * ob-clojure.el (org-babel-execute:clojure):
1553 * ob-calc.el (org-babel-execute:calc):
1554 * ob-awk.el (org-babel-execute:awk):
1555 * ob-R.el (org-babel-expand-body:R):
1556 * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
1558 2013-11-12 Glenn Morris <rgm@gnu.org>
1560 * ox-html.el (org-html-scripts): Add 2013 to copyright years.
1561 (org-html-infojs-template): Copyright holder to FSF.
1563 2013-11-12 Aaron Ecay <aaronecay@gmail.com>
1565 * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
1566 supported filetypes.
1567 (org-latex--inline-image): Implement SVG files inclusion.
1568 (org-latex-headline): Don’t insert alternate title if identical to
1571 * ob-python.el: Update the arglist passed to `declare-function'
1574 * ob-tangle.el (org-babel-tangle): Use `light' argument to
1575 `org-babel-get-src-block-info'.
1577 * ob-core.el (org-babel-execute-src-block): Return nil in case of
1578 `:results none'. Also run `org-babel-after-execute-hook' in this
1581 * org-id.el (org-id-locations-save): Bind print-(level,length) to
1582 nil in this function.
1584 * ob-R.el (org-babel-R-graphics-devices): New defvar.
1585 (org-babel-R-construct-graphics-device-call): Use it instead of a
1586 hard-coded list of graphics devices.
1588 * ob-core.el (org-babel-when-in-src-block): New macro.
1589 (org-babel-execute-src-block-maybe)
1590 (org-babel-expand-src-block-maybe)
1591 (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
1593 (org-babel-execute-src-block): Use `copy-tree' to prevent setf
1594 from modifying users variables withing let-bound `info' variable.
1596 * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
1598 (org-babel-exp-results): Implement 'inline-only for
1599 `org-export-babel-evaluate'.
1601 * org.el (org-edit-special): Use prefix arg.
1603 * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
1604 (org-babel-expand-body:picolisp): Remove optional arg.
1606 * ob-R.el (org-babel-R-initiate-session): Handle case where the
1607 session buffer exists, but does not have a live process.
1608 (org-babel-R-construct-graphics-device-call): Change file
1609 extension of tikz graphics files to .tikz.
1611 * org-src.el (org-edit-src-exit): Don't modify the undo list when
1614 * ox-latex.el (org-latex-plain-text): Properly escape "~" for
1616 (org-latex-image-default-option): Change default value to "".
1617 (org-latex-image-default-width, org-latex-image-default-height):
1619 (org-latex-inline-image-rules): Make .tikz files as exportable
1621 (org-latex--inline-image): Support tikz images. Also support
1622 separate :width and :height parameters for images.
1624 * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1627 2013-11-12 Abdó Roig-Maranges <abdo.roig@gmail.com>
1629 * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1630 the image already exists.
1632 * org-agenda.el (org-agenda-search-view-max-outline-level):
1633 New option to define the max level for the entries shown by the search
1634 view. A value of 1 means to show the top parent of the entries.
1636 * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1637 this function fail with no :foreground and :background attributes
1638 set, due to bad handling of "Transparent" color. Fix bug when
1639 colors are not `default'.
1640 (org-format-latex-options): Add `auto' to docstring.
1641 (org-format-latex): Get face colors at point and put them inside
1643 (org-create-formula-image-with-imagemagick): Fix bug when handling
1644 "Transparent" bg color.
1645 (org-dvipng-color-format): Same as `org-latex-color-format' for
1646 dvipng-style color specification.
1648 2013-11-12 Achim Gratz <Stromeko@Stromeko.DE>
1650 * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1651 evaluating the function pointed to by `org-confirm-babel-evaluate'
1652 when it is a functionp and its value as a variable otherwise.
1653 (org-babel-get-rownames, org-table.el)
1654 (org-table-transpose-table-at-point): Replace the inadvertent use
1655 of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1656 (org-babel-params-from-properties):
1657 Use `org-babel-current-src-block-location' for evaluating new-style
1658 header-argument properties. Remove superfluous save-match-data
1659 clauses. Comment which properties get evaluated where.
1660 (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1661 Replace `if' with empty else part by `when' for readability.
1662 (org-babel-params-from-properties): Inquire for language specific
1663 and default header properties. Language specific header
1664 properties take precedence over default header properties and
1665 old-style header property specifications.
1667 * org.el (org-re-property): Re-implement using full regex for
1668 `org-re-property'. Add optional argument LITERAL to flag when
1669 PROPERTY should to be regex-quoted. Move before definition of
1671 (org-re-property-keyword): Remove, functionality is subsumed by
1673 (org-property-re): Define using `org-re-property'.
1674 Improve definition so that this regex can be
1675 (org-entry-get, org-property-values): Adjust match number for
1676 PROPVAL. (org-entry-put): Use `org-re-property' instead of
1677 `org-re-property-keyword'.
1678 used in all situations. Extend docstring with explanation of
1680 (org-at-property-p): Implement using `org-element-at-point'.
1681 (org-entry-properties, org-buffer-property-keys, org-indent-line):
1682 Use `org-property-re' and adjust match group numbers accordingly.
1684 * org-compat.el (define-obsolete-variable-alias)
1685 (define-obsolete-function-alias): Actually remove the third (and
1686 any following) argument from the argument list before calling the
1687 advised function. Extend eval-and-compile clause and add advices
1688 for functions that have different parameter lists in XEmacs.
1689 Add variable definitions that XEmacs lacks .
1691 * ob-fortran.el (org-every): Declare.
1693 * org-element.el (org-element-node-property-parser):
1694 Use `org-property-re' and adjust match group numbers accordingly.
1695 Move `looking-at' out of the let clause to not rely on the
1696 unspecified evaluation order inside the let.
1698 * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1699 and org-compat as necessary.
1701 * ob-tangle.el (org-edit-special, org-store-link)
1702 (org-open-link-from-string): Declare functions.
1704 * org-macs.el (declare-function): Define macro to use autoload
1707 * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1708 'noerror on the require form.
1710 * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1711 argument list that XEmacs complains about by adding parenthesis.
1713 * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1714 can't be loaded, try octave instead before giving up.
1715 Emacs 24.3.50 and upwards replaces octave-inf with just plain octave.
1717 * org-id.el (org-id-update-id-locations): Autoload interactive
1720 * ob-core.el (org-babel-parse-inline-src-block-match):
1721 * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1722 properties priority over default header arguments.
1724 * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1725 first line could be the symbol `hline' rather than a list of table
1726 cells, so check for that as well.
1728 * org.el (org-table-clean-did-remove-column):
1729 * org-table.el (org-table-clean-did-remove-column): Move defvar,
1730 this dynamic variable is only used in org-table.
1732 * org-table.el (org-table-colgroup-info): Remove unused defvar for
1733 `org-table-colgroup-info'.
1734 (org-table-clean-before-export): Let-bind regular expression
1735 strings and remove unused matching group.
1736 Use `org-table-clean-did-remove-column' in cond statement rather than
1737 branching via if to avoid code duplication. Remove the code
1738 associated with the removed `org-table-colgroup-info'.
1739 (orgtbl-export): Remove unused internal function.
1741 * org-macro.el (org-macro-expand): Do not try to interpret the
1742 macro replacement text as a regex so that escaped backslashes and
1743 commas in macro arguments will be interpreted correctly.
1745 * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1746 only after evaluation so that output is not mixed into results
1748 (org-babel-perl-evaluate): Fix the handling of results for
1749 ":results output" to also parse tables. Use the same lambda
1750 construction as in ob-sh.el to avoid code duplication.
1752 * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1753 Suppress user confirmation of the emacs-lisp wrapper execution
1756 * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1757 for table results as expected by
1758 `org-babel-import-elisp-from-file´.
1760 * ob-core.el (org-babel-number-p): String match for any number
1761 moved first so that the match data for the length check does not
1763 (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1764 variable, if bound non-nil the confirmation dialog will not be
1765 initiated and denial of evaluation is assumed.
1766 (org-babel-check-confirm-evaluate): New macro to establish
1767 bindings based on INFO.
1768 (org-babel-check-evaluate): New defsubst that checks if the
1769 evaluation of a code block is disabled. Refactors the first part
1770 of the original function `org-babel-confirm-evaluate´.
1771 (org-babel-confirm-evaluate): New defsubst that checks if the user
1772 should be queried and returns the answer. Keeps the second part
1773 of the original function `org-babel-confirm-evaluate´.
1774 Re-implement using bindings for common subexpressions.
1775 (org-babel-execute-src-block): Do not ask for confirmation if the
1776 cached result is current.
1777 (org-babel-call-process-region-original): Change declaration into
1778 definition with nil initial value at the beginning of the file and
1779 drop the later definition. Add comment that the dynamic scoping
1780 of this variable is done for tramp.
1782 * org-table.el (org-table-eval-formula): The condition-case to
1783 check for must be "error", not "user-error".
1785 * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1786 through to `org-babel-perl-evaluate´.
1787 (org-babel-variable-assignments:perl): Add "my" to variable
1788 declaration so that it becomes compatible with "use strict;".
1789 Use new internal formatting function `org-babel-perl--var-to-perl´.
1790 (org-babel-perl--var-to-perl): New internal function, uses Perl
1791 non-interpolating quoting on the string that defines the variable
1792 to suppress spurious interpretation of it as Perl syntax.
1793 (org-babel-perl-wrapper-method): Use a block and declare all
1794 variables as "my", also use Perl quoting throughout. Redirect
1795 STDOUT to the temporary file so that simply "print" will put the
1796 results there. Check the return value and output in table form if
1797 it is an ARRAY ref, otherwise print it without a final newline.
1798 (org-babel-perl-preface): Content of this variable is prepended to
1799 body before invocation of perl. Rename input parameter body to
1800 ibody and let-bind body to concatentation of
1801 `org-babel-perl-preface' and ibody. Implement results
1802 interpretation so that tables are easier to produce.
1804 * ob-eval.el (org-babel-eval): Use simplified version of
1805 `org-babel--shell-command-on-region´, we are the only caller of
1807 (org-babel--shell-command-on-region):
1808 Replace `org-babel-shell-command-on-region´ with a much more simplified
1809 internal version, remove superfluous DOCSTRING and interactive
1810 clause, strip out all conditionals which were never used. Prevent
1811 deletion of temporary input file to aid debugging when the symbol
1812 `org-babel--debug-input´ is bound and has non-nil value.
1814 * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1815 arg is even documented in the manual.
1817 * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1820 * ob-core.el (org-babel-execute-src-block): Add binding for
1821 merged-params to avoid multiple evaluation of
1822 `org-babel-merge-params´. Rename cache? to cache-p, add binding
1823 for cache-current-p and use it. Do not run
1824 `org-babel-confirm-evaluate´ if source block has a cache and the
1825 cache value is current (there is no evaluation involved in this
1828 * org.el (org-current-time): Replace call to obsolete function
1829 `time-to-seconds´ with a call to compatibility function
1832 * org-compat.el (user-emacs-directory): If not bound, define as an
1833 alias to `user-init-directory´ so that XEmacs continues to be
1836 * org-macs.el: New macro to allow the 5-argument form of load to
1837 be used where possible without breaking compatibility with XEmacs.
1839 * org.el (org-version, org-reload):
1840 Use `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1841 to load directly. Guard against undefined variable load-suffixes,
1842 which doesn't exist in XEmacs.
1845 `org-define-obsolete-{function,variable}-alias´instead of
1846 `define-obsolate{function,variable}-alias´.
1848 * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1851 * ob-python.el (org-babel-python-hline-to)
1852 (org-babel-python-None-to): Specify customize group as 'org-babel
1853 and widget type as 'string.
1855 * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1856 formal parameter `result-params´.
1858 * org.el (org-reload): Major rewrite.
1860 * org.el (org-clock-get-last-clock-out-time): Declare function.
1862 2013-11-12 Alan Schmitt <alan.schmitt@polytechnique.org>
1864 * ob-ocaml.el (org-babel-prep-session:ocaml):
1865 Use `save-window-excursion' around the code starting the tuareg
1867 (org-babel-ocaml-command): New option to specify the name of the
1869 (org-babel-prep-session:ocaml): Directly call
1870 `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1872 (org-babel-execute:ocaml): Always append ";;" at the end of the
1873 expression before sending it to the toplevel. Do not remove the
1874 type information if "verbatim" is a results parameter of the code
1876 (org-babel-ocaml-parse-output): Make sure the complete type is
1877 taken into account when matching against known types.
1879 * org-faces.el (org-footnote): Fix docstring.
1881 2013-11-12 Andreas Leha <andreas@lehas.net>
1883 * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1884 copies the body of the block into a tikz file.
1886 2013-11-12 Arun Persaud <apersaud@lbl.gov>
1888 * org-agenda.el (org-agenda-prefix-format): Add documentation for
1890 (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1891 (org-agenda-format-item): Add breadcrumbs if requested.
1892 (org-compile-prefix-format): Add compiled information for
1893 breadcrumbs, add %b option.
1895 2013-11-12 Aurélien Aptel <aurelien.aptel@gmail.com> (tiny change)
1897 * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1898 string replacements for code and verbatim text when exporting to
1901 2013-11-12 Bastien Guerry <bzg@gnu.org>
1903 * org.el (org-align-tags-here): Fix bug: move to the correct
1905 (org-agenda-prepare-buffers): Restore the point position.
1906 (org-insert-link): Don't remove brackets when they belong to a
1907 timestamp in a headline.
1909 * org-capture.el (org-capture-refile): Don't finalize prematurely.
1910 (org-capture): Store :return-to-wconf earlier.
1911 (org-capture-place-template): Don't store :return-to-wconf when
1912 called from a capture template using `function', rely on the early
1913 :return-to-wconf value store from `org-capture'.
1915 * org-compat.el (org-move-to-column): New argument
1916 `ignore-invisible' to turn on `buffer-invisibility-spec'.
1918 * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1919 when inserting the new time as a text property.
1920 (org-agenda-filter-make-matcher): When filtering tags and hitting
1921 space, filter out entries with tags, only keep those without tags.
1922 (org-agenda-drag-line-forward, org-agenda-drag-line-backward):
1923 Fix bugs: don't drag lines without text and don't drag lines
1924 before/after hidden lines.
1926 * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1927 rel-width property as a string.
1928 (org-odt-template): Fall back on a string for :rel-width.
1930 * org.el (org-directory, org-default-notes-file)
1931 (org-reverse-note-order): Don't use the `org-remember'
1932 customization group.
1933 (org-require-autoloaded-modules): Don't require
1936 * org-capture.el: Update commentary section to reflect the fact
1937 that org-remember.el is not used anymore.
1939 * org.el (org-babel-load-file): Set `exported-file' correctly, in
1940 case the file as been tangled using a buffer-local value.
1942 * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1945 * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1946 ensure to show all headings and all blocks before fontifying.
1948 * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1950 * ox.el: Fix comment: remove reference to the obsolete variable
1951 `org-export-language-setup'.
1953 * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1956 * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1958 * org.el (org-refile): With a numeric prefix argument of `3',
1959 emulate (setq org-refile-keep t) and copy the subtree to the
1960 target location, don't delete it.
1961 (org-set-regexps-and-options-for-tags): Fix the setting of tag
1962 groups when relying on `org-tag-alist', not on tags directly set
1963 in the buffer with the #+TAGS option.
1965 * org-agenda.el (org-agenda-archive-with): Save window excursion.
1967 * org.el (org-forward-element, org-backward-element): Throw a
1968 message instead of an error when trying to move from a position
1969 where there is no element.
1970 (org-clock-is-active): Fix docstring.
1972 * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1973 plain list by checked status.
1975 * org.el (org-structure-template-alist): Fix custom type and
1977 (org-set-regexps-and-options-for-tags): Enhance docstring.
1978 (org-set-regexps-and-options): Make sure not to add
1979 `org-tag-alist' twice when setting this variable through et
1980 #+setupfile: directive.
1981 (org-tags-expand): Use `with-syntax-table'.
1983 * org-list.el (org-sort-list): Implement sorting by "checked"
1984 status for check lists.
1986 * org-table.el (org-table-sum): Fix rounding error when summing
1989 * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
1990 typo. Add declarations.
1992 * ox-html.el (org-html-link-use-abs-url): New option.
1993 (org-html-link): Use it to prepend relative links with the value
1994 of HTML_LINK_HOME, when defined.
1996 * org.el (org-refile): Fix refiling the active region within an
1997 list. Don't store the last refiled subtree in the kill ring.
1999 * org.el (org-mode-map): Remap `forward-paragraph' and
2000 `backward-paragraph' to `org-forward-element' and
2001 `org-backward-element'.
2003 * ox-html.el (org-html-begin-plain-list): New parameter
2004 `ordered-num' to tell whether the list is ordered numerically.
2005 (org-html-plain-list): Handle alphabetical ordered list.
2007 * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
2008 to nil during batch export.
2010 * org.el (org-copy-subtree): Fix typo in docstring.
2011 (org-scan-tags): Don't disable `case-fold-search' too early.
2013 * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
2015 * org-capture.el (org-capture-set-target-location): Don't throw an
2016 error when `org-time-was-given' is not bound.
2018 * org-clock.el (org-clock-modify-effort-estimate):
2021 * org.el (org-set-regexps-and-options-for-tags): Return a list
2022 with tag-related variables.
2023 (org-set-regexps-and-options): Append tags from a setup file to
2024 the local tags of the file.
2025 (org-agenda-prepare-buffers): Set tags from a setup file by
2026 calling `org-set-regexps-and-options' when necessary.
2027 (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
2028 and `org-scheduled-time-hour-regexp'.
2030 * org-table.el (org-table-TBLFM-begin-regexp): Rename from
2031 `org-TBLFM-begin-regexp'.
2032 (org-table-calc-current-TBLFM): Rename from
2033 `org-calc-current-TBLFM'.
2035 * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
2036 (org-refresh-properties): Put the text property on the whole
2037 subtree, not just on the headline.
2038 (org-get-outline-path): Remove statistical and checkboxes cookies.
2040 * org-agenda.el (org-agenda, org-search-view, org-tags-view)
2041 (org-agenda-get-day-entries, org-agenda-set-restriction-lock):
2042 Use (current-buffer) as the value of `org-agenda-restrict'. Fix a bug
2043 about narrowing to wrong region boundaries when
2044 `org-agenda-restrict' is non-nil.
2046 * org.el (org-agenda-text-search-extra-files): Fix typos in
2048 (org-insert-heading): Fix case when there the first heading starts
2049 at the beginning of the buffer.
2051 * ob-core.el (org-babel-expand-src-block):
2052 Use `org-called-interactively-p'.
2054 * org.el (org-agenda-prepare-buffers): Avoid duplicates in
2055 `org-tag-alist-for-agenda' correctly.
2056 (org-read-date-minibuffer-local-map): Check if we are at the
2057 beginning of the prompt, not if we are after a whitespace.
2058 Bind C-. to `calendar-goto-today'.
2060 * org-clock.el (org-clock-in): Don't forward by one character when
2061 setting the marker in the clock history.
2063 * org.el (org-read-date-minibuffer-local-map):
2064 Call `calendar-goto-today' only if there is a space before point in the
2066 (org-insert-heading): Reveal context when called interactively.
2067 Fix bug about wrong conversion of lines with :END: or #+end_ into
2069 (org-in-drawer-p): New function.
2070 (org-meta-return): Use `org-catch-invisible-edits' and the
2071 `org-in-drawer-p' to check whether we are within a drawer.
2073 * org-list.el (org-sort-list): Fix infloop.
2075 * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
2076 for a time shift if there is a time-stamp. Don't ask for a time
2077 shift when called with a universal prefix argument.
2079 * ob-core.el (org-babel-insert-result): Fix bug when inserting
2080 results as a list: ensure we split a string containing "\n".
2082 * ox-html.el: Fix copyright header.
2084 * org.el (org-store-link): Don't add a search string when storing
2085 a link from a radio target.
2086 (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
2087 the simple target (<<target>>).
2089 * org-table.el (org-table-get-remote-range): Fix typo.
2091 * org-datetree.el (org-datetree-find-month-create)
2092 (org-datetree-find-day-create): Add a docstring.
2093 (org-datetree-find-year-create): Only match headlines with a
2094 year or a year and one or more tags.
2096 * org-crypt.el (org-crypt-check-auto-save)
2097 (org-crypt-use-before-save-magic): Use `org-add-hook' when the
2098 hooks are local hooks.
2100 * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
2101 upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
2103 * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
2104 (org-babel-pop-to-session-maybe): Use true function's name,
2107 * org-agenda.el (org-agenda-drag-line-forward)
2108 (org-agenda-drag-line-backward): New commands.
2109 (org-agenda-mode-map): Bind the new commands to M-<down> and
2110 M-<up> respectively.
2112 * org.el (org-insert-heading): Fix insertion of items.
2114 * org-capture.el (org-capture-use-agenda-date): Fix docstring.
2116 * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
2117 (org-agenda-bulk-toggle-all): New command.
2118 (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
2119 and `org-agenda-bulk-toggle-all' to `M-*'.
2120 (org-agenda-menu): Add `org-agenda-bulk-toggle' and
2121 `org-agenda-bulk-toggle-all'.
2122 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
2123 next headline, not the next line.
2125 * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
2126 to nil while matching the first letter of a multi-letters
2129 * org.el (org-store-link): When a bracket link is found in a
2130 headline, use the link description or the link path.
2131 (org-flag-drawer, org-hide-block-toggle)
2132 (org-goto-left, org-goto-right, org-promote)
2133 (org-paste-subtree, org-narrow-to-block, org-sort-entries)
2134 (org-insert-link, org-offer-links-in-entry, org-open-file)
2135 (org-refile, org-refile-get-location)
2136 (org-refile-check-position, org-prepare-dblock, org-todo)
2137 (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
2138 (org-occur, org-priority, org-scan-tags)
2139 (org-get-tags-string, org-property-action, org-set-effort)
2140 (org-entry-put, org-insert-drawer)
2141 (org-compute-property-at-point)
2142 (org-property-next-allowed-value, org-evaluate-time-range)
2143 (org-closest-date, org-timestamp-change)
2144 (org-revert-all-org-buffers, org-cycle-agenda-files)
2145 (org-agenda-file-to-front, org-remove-file)
2146 (org-preview-latex-fragment, org-format-latex)
2147 (org-create-math-formula, org-create-formula-image)
2148 (org-speed-command-help, org-check-before-invisible-edit)
2149 (org-modifier-cursor-error, org-hidden-tree-error)
2150 (org-mark-subtree, org-kill-line, org-first-sibling-p)
2151 (org-up-element, org-down-element)
2152 (org-drag-element-backward, org-drag-element-forward)
2153 (org-unindent-buffer, org-speedbar-set-agenda-restriction):
2154 Use `user-error' instead of `error'.
2156 * ox-latex.el (latex): Don't force exporting with smart quotes.
2158 * ox.el (org-export-with-smart-quotes): Mention the need to use
2159 the relevant Babel package when setting this option to non-nil.
2161 * org-src.el (org-edit-src-turn-on-auto-save): New option.
2162 (org-edit-src-code): Use it.
2163 (org-edit-src-auto-save-idle-delay): Enhance docstring.
2165 * org-capture.el (org-mks): Make cursor invisible.
2167 * org.el (org-link-expand-abbrev): Save match data before before
2168 calling the replacement function.
2170 * org-list.el (org-sort-list): Don't move point when matching time
2173 * org.el (org-shifttab): Show the correct number of empty
2174 headlines when called with a numeric prefix argument.
2176 (org-uniquify): Use `copy-sequence'.
2177 (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
2178 error message when parse an element fails in the current buffer.
2180 * ox.el (org-export-with-planning): Enhance docstring.
2182 * org.el (org-closed-keep-when-no-todo): New option.
2183 (org-todo): Use the new option.
2184 (org-open-line): Rename from `org-ctrl-o'.
2185 (org-mode-map): Use `remap'.
2186 (org-cycle-emulate-tab, org-file-apps)
2187 (org-set-font-lock-defaults)
2188 (org-translate-link-from-planner, org-link-search)
2189 (org-refile-get-targets, org-read-date-get-relative):
2190 Minor code clean-up: fix dangling parentheses.
2192 * org-agenda.el (org-agenda-entry-text-mode): Also check against
2194 (org-timeline): Handle `org-agenda-show-log'.
2196 * org-clock.el (org-clock-select-task): Remove successive
2197 duplicates in the clock history to consider.
2199 * org.el (org-uniquify-alist): Improve docstring.
2200 (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
2201 tags to the tags completion table.
2202 (org-tags-expand): Prevent circular replacement of group tags.
2203 Tiny docstring formatting.
2204 (org-uniquify): Make a defsubst. Use `delete-dups' instead of
2206 (org-todo): Also remove the CLOSED planning information when
2207 removing the TODO keyword.
2208 (org-forward-heading-same-level): Fix bug when forwarding
2209 to a hidden subtree of the same level.
2210 (org-tags-expand): Use word delimiters when building the tag
2213 * org-clock.el (org-clock-insert-selection-line): Don't display
2216 * org.el (org-emphasis-regexp-components): Make a defvar.
2217 (org-emphasis-alist): New default value: don't set HTML tags.
2218 (org-emphasize, org-set-emph-re): Use the new value of
2219 `org-emphasis-alist'.
2221 * org-mobile.el (org-mobile-edit): Insert new headings at the end
2222 of the parent subtree. Use `org-at-heading-p' instead of the
2223 obsolete `org-on-heading-p'.
2225 * org.el (org-insert-heading): When called from a list item and
2226 `org-insert-heading-respect-content' is non-nil, insert a heading,
2228 (org-insert-heading-respect-content): Fix docstring.
2229 (org-insert-heading): When in a non-empty non-headline line,
2230 convert the current line into a headline.
2232 * org-table.el (org-table-copy-down): Don't move cursor when
2235 * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
2236 evaluate babel code blocks.
2238 * ox-html.el (html): Add more options.
2240 * ox-publish.el (org-publish-project-alist): Add :with-planning in
2243 * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
2245 * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
2247 * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
2250 * ox.el (org-export-options-alist, org-export--skip-p):
2251 Use `:with-planning' instead of `:with-plannings', to keep in sync
2252 with the corresponding option's name.
2254 * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
2256 * org-agenda.el (org-agenda-undo, org-agenda)
2257 (org-agenda-append-agenda)
2258 (org-agenda-get-restriction-and-command, org-agenda-write)
2259 (org-agenda-clock-cancel)
2260 (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
2261 (org-agenda-execute-calendar-command)
2262 (org-agenda-goto-calendar, org-agenda-convert-date)
2263 (org-agenda-bulk-mark, org-agenda-bulk-action)
2264 (org-agenda-show-the-flagging-note): Use `user-error' instead of
2267 * org-macs.el (org-with-remote-undo): Normalize argument names.
2269 * org.el (org-store-log-note): Fix `buffer-undo-list' when called
2270 after `org-agenda-todo'.
2271 (org-add-log-note): Minor formatting fix.
2273 * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
2275 * org-clock.el (org-clock-select-task): Throw a user error when
2276 the clock history is empty.
2278 * org-table.el (org-table-get-remote-range): Fix docstring: use
2279 #+NAME instead of #+TBLNAME.
2281 * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
2283 * ox-html.el (org-html-table-row-tags): Better example.
2285 * org-clock.el (org-clock-select-task): Fix window to buffer.
2287 (org-clock-insert-selection-line): Add the clock-out time.
2289 * ox-html.el (org-html-table-row-tags): Allow new dynamically
2290 bound value `row-number'.
2291 (org-html-table-row): Bind `row-number' to the number of the
2292 row (first row is 0).
2294 * org.el (org-minutes-to-clocksum-string): Round fractions of
2297 * ox-html.el (org-html-table-row-tags): Fix example in docstring.
2299 * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
2300 (org-agenda-goto-date): Fix bug when going to a date in month
2302 (org-agenda-goto-date): Put the cursor on the agenda line with the
2304 (scheduled/deadline items with hour spec) then redo an agenda*.
2306 * org-clock.el (org-clock-resolve): Enhance the content of the
2309 * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
2311 * ox-odt.el (org-odt-link): Fix bug: convert & to & in
2314 * ox-html.el (org-html-table-row): Dynamically bind
2315 `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
2316 `top-row-p', `bottom-row-p'.
2317 (org-html-table-row-tags): Update docstring: tell what variables
2318 are dynamically bound.
2320 * org-src.el (org-edit-src-code): Don't set
2321 `buffer-auto-save-file-name' unless `auto-save-default' is
2324 * ox.el (org-export-table-row-group): Fix typo in docstring.
2326 * org-table.el (orgtbl-apply-fmt): Enhance docstring.
2328 * org.el (org-file-contents): Make the message more prominent.
2330 * ox.el (org-export-replace-region-by): New function.
2332 * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
2333 * ox-md.el (org-md-convert-region-to-md),
2334 * ox-latex.el (org-latex-convert-region-to-latex),
2335 * ox-html.el (org-html-convert-region-to-html): New functions to
2336 replace the active region by its export into various backends.
2338 * org-faces.el (org-agenda-restriction-lock): Use less flashy
2342 (org-agenda-restriction-lock-highlight-subtree): New option.
2343 (org-agenda-top-headline-filter): Rename from
2344 `org-agenda-top-headline-filter'.
2345 (org-find-top-headline): Rename from `org-find-top-category'.
2347 (org-agenda-filtered-by-top-headline): Rename from
2348 `org-agenda-filtered-by-top-category'.
2349 (org-agenda-filter-by-top-headline): Rename from
2350 `org-agenda-filter-by-top-category'. Fix docstring.
2351 (org-agenda-filter-top-headline-apply): Rename from
2352 `org-agenda-filter-top-category-apply'. Fix docstring.
2353 (org-agenda-mode-map): Update binding.
2354 (org-agenda-get-todos): Set `todo-state' earlier so that we can
2355 skip false-positives in time.
2357 * org.el (org-get-todo-state): Add a docstring.
2358 (org-ctrl-o): New command to insert a new row in tables
2359 (like `M-S-<down>' does) and open a line elsewhere.
2360 (org-mode-map): Bind the new command to `C-o'.
2361 (org-set-regexps-and-options): Process tags from an external setup
2364 * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
2365 (org-agenda-finalize-entries): Conditionally apply limits so
2366 that we don't manipulate big lists uselessly.
2367 (org-agenda-limit-entries): Limit exclusively. E.g., when
2368 limiting to a maximum of "2 tags", don't limit among tagged
2369 entries only, but limit among all entries.
2370 (org-agenda-limit-interactively): New command.
2371 (org-agenda-mode-map): Bind the new command to "~".
2372 (org-agenda-redo): Small fix: don't use `eval'.
2374 * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
2375 list beginning should be stored using a marker so that updating
2376 [%0] to [%50] will not throw an error.
2377 (org-babel-load-file): Move `org-babel-load-file' from
2378 ob-tangle.el to here so that it is correctly autoloaded by Emacs
2379 before Org is required.
2381 * org-mac-message.el: Delete.
2383 * org.el (org-modules): org-mac-message.el is not a core package
2386 * org-table.el (orgtbl-to-generic): Fix bug when exporting the
2387 cells of radio tables with 'hline.
2389 * org.el (org-speed-commands-default): Use ?s for
2390 `org-narrow-to-subtree'.
2392 * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
2393 (org-agenda-start-day): Enhance docstring.
2395 * org-src.el (org-src-native-tab-command-maybe): Check that we are
2396 in a source code block.
2398 * org-mobile.el: Remove useless defvar.
2400 * org.el (org-indent-line): A line just below a line with a list
2401 item is now indented depending on the indentation of this list
2404 * org.el (org-options-keywords): Add #+TARGET.
2406 * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
2407 last clock if the clock buffer still exists.
2408 (org-clock-out, org-clock-cancel): Set markers to nil.
2410 * ox-org.el (org-org-publish-to-org):
2411 * ox-html.el (org-html-publish-to-html): Use the custom extension.
2413 * org.el (org-cycle-internal-local): Fix invalid search bound when
2414 `org-cycle-include-plain-lists' is set to 'integrate.
2416 * org.el (org-sparse-tree-default-date-type): Add an option for
2418 (org-sparse-tree): Allow to check against closed time-stamps.
2419 (org-re-timestamp): Handle closed time-stamps.
2420 (org-closed-in-range): Delete.
2422 * org-capture.el (org-capture-import-remember-templates):
2423 Take care of adding :jump-to-captured option if needed.
2425 * org.el (org-toggle-pretty-entities): Enhance messages.
2426 (org-raise-scripts): Handle scripts like "a_b^c".
2428 * org-capture.el (org-capture-templates): Document new option
2429 :jump-to-captured in the docstring. Offer the complete list of
2430 options when customizing.
2431 (org-capture-finalize): Handle :jump-to-captured.
2433 * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
2434 `org-tag-alist' to nil and don't append duplicate tags to
2435 `org-tag-alist-for-agenda'.
2436 (org-store-link): Storing multiple links in the active region now
2437 requires a triple prefix argument.
2438 (org-store-link, org-link-search): Fix handling of links to #+NAME
2439 and #+TARGET keywords.
2441 * org-compat.el (org-ignore-region): Tiny docstring fix.
2443 * org-capture.el (org-capture): Don't store multiple links over
2444 lines in the active region.
2446 * ox-odt.el (org-odt-special-block): Don't wrap annotations into
2447 <text:p>...</text:p> at all.
2448 (org-odt--fix-annotations): New function.
2449 (org-odt--export-wrap): Use the new function to fix annotations
2450 insertion in content.xml.
2452 * org.el (org-mode-flyspell-verify): Require 'org-element so that
2453 `org-element-affiliated-keywords' is defined.
2455 * ox-odt.el (org-odt-special-block): Don't insert annotations
2456 using style "Text_20_body".
2458 * org.el (org-toggle-tags-groups): Correctly highlight group tags.
2459 (org-tags-expand): Expand tags as words, with characters ?@
2460 and ?_ being considered words constituents.
2461 (org-set-regexps-and-options): Don't read setup files from
2463 (org-file-contents): When no-error is non-nil, throw a less
2466 * org-agenda.el (org-agenda-scheduled-leaders)
2467 (org-agenda-deadline-leaders): Re-align leaders to the left,
2468 back to a 11 characters width.
2470 * org.el (org-refile-cache-check-set): More informative message.
2472 * org-agenda.el (org-tags-view): Set the matcher after preparing
2473 the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
2474 (org-agenda-filter-make-matcher): New parameter `filter' and
2475 `type'. Handle group tags.
2476 (org-agenda-filter-expand-tags): New function.
2477 (org-agenda-filter-apply): Handle group tags.
2479 * org.el (org-blank-before-new-entry): Tiny docstring fix.
2480 (org-tag-alist-for-agenda): Add docstring.
2481 (org-tag-groups-alist-for-agenda): New global variable.
2482 (org-tag-groups-alist): New buffer-local variable.
2483 (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
2484 (org-group-tags): New option.
2485 (org-toggle-group-tags): New command.
2486 (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
2487 (org-set-regexps-and-options-for-tags): New function, factored
2488 out from `org-set-regexps-and-options'.
2489 (org-set-regexps-and-options): Don't handle tags, they are now
2490 handled separately by `org-set-regexps-and-options-for-tags'.
2491 (org-assign-fast-keys): Handle :grouptags.
2492 (org-mode): Use `org-set-regexps-and-options-for-tags' on top
2493 of `org-set-regexps-and-options'.
2494 (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
2495 (org-make-tags-matcher): Expand group tags in the matcher.
2496 (org-tags-expand): New function.
2497 (org-tags-completion-function): Tiny code clean up.
2498 (org-set-current-tags-overlay): Add a docstring.
2499 (org-fast-tag-selection): Highlight group tags.
2500 (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
2501 and `org-tag-groups-alist-for-agenda'. Don't uniquify
2502 `org-tag-alist-for-agenda' as we may need the grouping
2503 information for filtering in the agenda buffer.
2504 (org-uniquify-alist): New function.
2506 * org-pcomplete.el (pcomplete/org-mode/file-option/tags):
2509 * org-faces.el (mode-line): New face for group tags.
2511 * ob-core.el (org-babel-hash-show-time): Tiny docstring
2514 * org-element.el (org-element-paragraph-separate): Use new name
2515 `org-list-allow-alphabetical'.
2517 * org-list.el (org-list-allow-alphabetical): Rename from
2518 `org-alphabetical-lists'.
2519 (org-list-empty-line-terminates-plain-lists): Rename from
2520 `org-empty-line-terminates-plain-lists'.
2521 (org-checkbox-hierarchical-statistics): Rename from
2522 `org-hierarchical-checkbox-statistics'.
2524 * org.el (org-image-actual-width): Update docstring.
2525 (org-display-inline-images): Use the #+attr_html: :width syntax.
2526 (org-modules): Remove deleted libraries, add new ones.
2528 * ox-html.el (org-html-indent): Default to nil, as non-nil can
2529 break indentation of source code blocks.
2530 (org-html-link): Don't insert nil if there is no attributes.
2531 (org-html-link--inline-image): Use the correct syntax for image
2532 attributes. Allow :width :height and :alt as predefined
2533 attributes for inline images.
2534 (org-html-link, org-html-table): Use the standard syntax---
2535 e.g. "#+attr_html: :options ..."--- to get attributes.
2537 * ox.el (org-export-table-cell-alignment): Treat an empty cell as
2538 a number if it follows a number.
2540 * ox.el (org-export-as): Allow user functions in
2541 `org-export-before-parsing-hook' to modify the point.
2543 * org.el (org-entry-add-to-multivalued-property): Add the new
2544 value by appending it at the end of the line.
2546 * org-table.el (orgtbl-to-generic): New parameter `backend' to
2547 export cells content using a specific backend.
2548 (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
2549 and Texinfo before sending the table.
2551 * ox.el (org-export-define-backend)
2552 (org-export-define-derived-backend): Make defuns and update
2555 * ox-texinfo.el (texinfo):
2560 * ox-latex.el (latex):
2561 * ox-icalendar.el (icalendar):
2562 * ox-html.el (html):
2563 * ox-beamer.el (beamer):
2564 * ox-ascii.el (ascii): Use `org-export-define-backend' and
2565 `org-export-define-derived-backend' as defuns, not macros.
2567 * org.el (org-set-regexps-and-options):
2568 Use `org-table-set-constants'.
2570 * org-table.el (org-table-set-constants): New function.
2571 (orgtbl-ctrl-c-ctrl-c): Use it.
2574 (pcomplete/org-mode/block-option/clocktable): Add parameters.
2576 * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
2577 through ox-html.el now.
2579 * org-agenda.el (org-agenda-redo): Set filters after agenda has
2582 * org.el (org-store-link): When there is an active region, store
2583 each line as a separate link.
2584 (org-insert-all-links): Use a default description when links
2585 do not have one already.
2587 * org-agenda.el (org-agenda-redo): Fix code typo.
2589 * org.el (org-link-display-format): Fix docstring.
2591 * ox-publish.el (org-publish-org-to)
2592 (org-publish-org-sitemap, org-publish-find-title)
2593 (org-publish-find-date)
2594 (org-publish-cache-file-needs-publishing):
2595 Set `org-inhibit-startup' to t when visiting files for
2598 * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
2601 * org.el (org-set-font-lock-defaults): Set font-lock keywords
2602 correctly for plain links.
2604 * ox-texinfo.el (org-texinfo-logfiles-extensions)
2605 (org-texinfo-remove-logfiles): New options.
2606 (org-texinfo-compile): Use the new options to remove files
2607 after compiling a Texinfo file.
2609 * ox-texinfo.el (org-texinfo-coding-system): New option.
2610 (org-texinfo-template): Add @documentlanguage and
2612 (org-texinfo-headline): Add a space before tags.
2613 (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
2614 Use `org-texinfo-coding-system' as the coding system for
2616 (org-texinfo-publish-to-texinfo): New function.
2618 * ox-texinfo.el (org-texinfo-filename)
2619 (org-texinfo-info-process, org-texinfo-max-toc-depth)
2620 (org-texinfo--sanitize-menu): Docstrings tiny fixes.
2622 * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
2623 message when called interactively. Fix docstring position in the
2626 * ox-html.el (org-html--build-meta-info): Fix setting of
2627 http-equiv="Content-Type".
2629 * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2630 regexp and ?| for removing all filters.
2631 (org-agenda-filter-remove-all): New command.
2632 (org-agenda-filter-show-all-re): Rename from
2633 `org-agenda-filter-show-all-regexp'.
2634 (org-agenda-filter-by-regexp):
2635 Call `org-agenda-filter-show-all-re'.
2637 * org-list.el (org-insert-item): Don't ask for a definition term
2638 when insert an item in a description list.
2640 * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2641 This prevents bugs when calling e.g., `org-diary' after quitting
2643 (org-agenda-entry-types): Move earlier in the file.
2644 (org-agenda-custom-commands-local-options, org-diary)
2645 (org-agenda-get-day-entries): Don't hardcode the default agenda
2646 entry types, use `org-agenda-entry-types'.
2647 (org-agenda-custom-commands): Fix default setting so that the
2648 customize interface does not complain about a mismatch.
2650 * org.el (org-export-backends): Add new backends.
2652 * ox-html.el (org-html-indent): New option.
2653 (org-html-use-unicode-chars): New option.
2654 (org-html-pretty-output): Delete.
2655 (org-html-final-function): Use the new options.
2657 * ox-html.el (org-html-link): Fix handling of abbreviated links
2658 which include a file: protocol.
2659 (org-html--build-postamble): Default to today's date.
2660 (org-html--build-meta-info): When #+DATE contains a time stamp,
2661 parse it as a RFC 822 time string, otherwise simply insert the
2664 * ox.el (org-export--copy-to-kill-ring-p): New function.
2665 (org-export-copy-to-kill-ring): Use 'if-interactive as the
2667 (org-export-to-buffer, org-export-to-file):
2668 Use `org-export--copy-to-kill-ring-p' and fix docstrings.
2670 * ox-odt.el (org-odt-export-as-odf):
2671 Use `org-export--copy-to-kill-ring-p'.
2673 * org.el (org-set-font-lock-defaults): Fontify macros.
2675 * org-faces.el (org-macro): New face.
2677 * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2678 time shift when the entry at point has a time stamp and when the
2679 command is called with a universal prefix argument.
2680 (org-execute-file-search-functions): Docstring fix.
2682 * org-compat.el (org-defvaralias): Fix declare form.
2684 * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2685 (org-clock-special-range): New argument mstart.
2686 (org-dblock-write:clocktable, org-dblock-write:clocktable)
2687 (org-clocktable-write-default, org-clocktable-steps)
2688 (org-clock-get-table-data): Handle the :mstart parameter.
2690 * org.el (org-map-entries): Use `save-window-excursion'.
2692 * org-compat.el (org-defvaralias): New compatibility function.
2694 * org-list.el (org-cycle-include-plain-lists): Also add to the
2695 'org-cycle customization group.
2696 (org-list-allow-alphabetical)
2697 (org-checkbox-hierarchical-statistics)
2698 (org-list-empty-line-terminates-plain-lists)
2699 (org-list-description-max-indent): Rename and add aliases to old
2702 * org-element.el (org-element-context): Prevent an error when
2703 getting the context of a table rule.
2705 * org.el (org-deadline-time-hour-regexp)
2706 (org-scheduled-time-hour-regexp): New buffer local variables.
2707 (org-set-regexps-and-options): Set the new variables.
2709 * org-agenda.el (org-agenda-custom-commands-local-options):
2710 Add :deadline* and :scheduled* to the list of possible agenda entry
2712 (org-agenda): Implement a new agenda type agenda* with :scheduled*
2713 and :deadline* replacing :scheduled and :deadline respectively in
2714 agenda entry types. In such agenda, only scheduled and deadline
2715 items with a time specification [h]h:mm will be considered.
2716 (org-agenda-entry-types): Document the new agenda entry types
2717 :scheduled* and :deadline*.
2718 (org-agenda-list): New parameter `with-hour'. Use :scheduled* and
2720 (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2721 (org-agenda-get-deadlines, org-agenda-get-scheduled):
2722 New parameter `with-hour'. Use `org-deadline-time-hour-regexp' or
2723 `org-scheduled-time-hour-regexp' as the search string if needed.
2724 (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2725 as other scheduled and deadline items don't have a time spec and
2726 cannot be turned into appointments. Trim bracket links and use
2727 only the description as the appointment text.
2728 (org-agenda-get-restriction-and-command):
2729 Add default description for the agenda* view.
2730 (org-agenda-run-series): Handle agenda* views.
2732 * org-faces.el (org-agenda-filter-tags)
2733 (org-agenda-diary, org-agenda-calendar-event)
2734 (org-agenda-calendar-sexp): Minor code clean up.
2735 (org-agenda-filter-category): Docstring fix.
2736 (org-agenda-filter-category): New face.
2738 * org-agenda.el (org-agenda-local-vars):
2739 Add `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2740 (org-agenda-mode-map): Use "|" for
2741 `org-agenda-filtered-by-regexp'.
2742 (org-agenda-re-filter-overlays): New variable.
2743 (org-agenda-mark-filtered-text):
2744 Use `org-agenda-re-filter-overlays'.
2745 (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2746 (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2747 here instead of within `org-agenda-apply-filter'.
2748 (org-agenda-regexp-filter): New variable.
2749 (org-agenda-filter-by-regexp): New function to filter agenda
2751 (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2752 (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2753 `org-agenda-category-filter'. Maybe apply regexp filter.
2754 (org-agenda-filter-hide-line): Add docstring.
2755 Hide regexp-filtered lines.
2756 (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2758 (org-agenda-filter-show-all-regexp): New function.
2759 (org-agenda-set-mode-name): Add regexp-filter information.
2760 (org-agenda-custom-commands-local-options): Add regexp filter.
2761 (org-agenda-regexp-filter-preset): New variable.
2762 (org-agenda-prepare): Use the new variable.
2764 * ox-odt.el (org-odt-code, org-odt-verbatim):
2765 Use `org-odt--encode-plain-text'.
2767 * ox-html.el (org-html-link): Minor code clean-up.
2769 * org.el (org-insert-heading): DTRT when in a narrowed region.
2771 * org-compat.el (org-buffer-narrowed-p): New compatibility
2774 * ox-html.el (org-html-format-inline-image): Fix missing string in
2777 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2778 New allowed value `repeated-after-deadline' which will prevent the
2779 display of scheduled items when repeated after the current
2781 (org-agenda-get-scheduled): Handle the new value.
2783 * org.el (org-time-string-to-absolute): Tiny docstring fix.
2785 * ox-html.el (org-html-style-default): New classes `footpara' and
2786 `footdef' for the footnotes paragraphs and definitions.
2787 (org-html-format-footnote-definition): Wrap the footnote
2788 defintions into their own div.
2789 (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2791 (org-html-container-element, org-html-divs): Mention that
2792 org-info.js will not work when changing the defaults.
2794 * ox-md.el (md): Export underlined text as verbatim.
2796 * ox-html.el (org-html-style-default): New CSS .underline and
2797 #org-div-home-and-up.
2798 (org-html-text-markup-alist): Don't hardcode the style, use the
2799 new class .underline.
2800 (org-html-home/up-format): Don't hardcode the style, use
2801 #org-div-home-and-up.
2802 (org-html-center-block): Use the .center class.
2804 * ox-md.el (org-md-underline): New function.
2806 * org-agenda.el (org-sorting-choice): Fix default value.
2808 * ox-html.el (org-html-format-footnote-definition)
2809 (org-html-footnote-section): Don't wrap footnote definitions into
2811 (org-html-paragraph): Add HTML style and class parameter when the
2812 paragraph is in a footnote definition. Also allow to add an extra
2813 string after the paragraph. Further parameters can be added for
2814 paragraphs in other environments.
2815 (org-html-template): Always include the title as <h1
2816 class="title"></h1>, even when there is no title, as org-info.js
2819 * org-element.el (org-element-map): Fix tiny typo in docstring.
2821 * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2823 * ox-html.el (org-html-format-inline-image): Don't add superfluous
2824 <p></p> when there is an empty caption.
2826 * org-agenda.el (org-agenda-refile): Enhance docstring. Allow to
2827 clear the refile cache with C-0 or C-u C-u C-u.
2829 * ox-md.el (org-md-export-as-markdown): Tiny docstring fix. Fix a
2830 library keyword in the comment section.
2832 * org.el (org-toggle-item): Convert all normal lines as items when
2833 there is a region, and only convert the first line when called
2834 with a universal prefix argument. This is consistent with the
2835 behavior of `org-toggle-heading'.
2836 (org-toggle-heading): When the region contains only normal lines,
2837 a universal prefix arg will only convert the first line. This is
2838 more consistent with `org-toggle-item'.
2839 (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2840 (customize-package-emacs-version-alist):
2841 Update `customize-package-emacs-version-alist'.
2843 * ox-texinfo.el (org-export-texinfo)
2844 (org-texinfo-filename, org-texinfo-classes)
2845 (org-texinfo-format-headline-function)
2846 (org-texinfo-node-description-column)
2847 (org-texinfo-active-timestamp-format)
2848 (org-texinfo-link-with-unknown-path-format)
2849 (org-texinfo-tables-verbatim)
2850 (org-texinfo-table-scientific-notation)
2851 (org-texinfo-text-markup-alist)
2852 (org-texinfo-format-drawer-function)
2853 (org-texinfo-format-inlinetask-function)
2854 (org-texinfo-info-process):
2855 * ox-odt.el (org-odt-format-drawer-function)
2856 (org-odt-format-headline-function)
2857 (org-odt-format-inlinetask-function):
2858 * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2859 and :package-version keywords.
2861 * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2862 by default as it will change many clocktables out there. Let the
2863 user decides whether she wants to turn this on.
2865 * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2867 * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2870 * ox-html.el (org-html-style-default): More cosmetic tweaks.
2871 (org-html-head-include-default-style): Minor docstring update.
2873 * ox.el (org-export-snippet-translation-alist)
2874 (org-export-coding-system, org-export-in-background)
2875 (org-export-async-init-file, org-export-invisible-backends)
2876 (org-export-dispatch-use-expert-ui):
2877 * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2878 (org-texinfo-format-headline-function)
2879 (org-texinfo-node-description-column)
2880 (org-texinfo-active-timestamp-format)
2881 (org-texinfo-link-with-unknown-path-format)
2882 (org-texinfo-tables-verbatim)
2883 (org-texinfo-table-scientific-notation)
2884 (org-texinfo-text-markup-alist)
2885 (org-texinfo-format-drawer-function)
2886 (org-texinfo-format-inlinetask-function)
2887 (org-texinfo-info-process):
2888 * ox-man.el (org-man-tables-centered)
2889 (org-man-table-scientific-notation)
2890 (org-man-source-highlight, org-man-source-highlight-langs)
2891 (org-man-pdf-process, org-man-logfiles-extensions):
2892 * ox-html.el (org-html-allow-name-attribute-in-anchors)
2893 (org-html-coding-system, org-html-divs):
2894 * ox-ascii.el (org-ascii-text-width)
2895 (org-ascii-headline-spacing, org-ascii-indented-line-width)
2896 (org-ascii-paragraph-spacing, org-ascii-charset)
2897 (org-ascii-underline, org-ascii-bullets)
2898 (org-ascii-links-to-notes)
2899 (org-ascii-table-keep-all-vertical-lines)
2900 (org-ascii-table-widen-columns)
2901 (org-ascii-table-use-ascii-art)
2902 (org-ascii-format-drawer-function)
2903 (org-ascii-format-inlinetask-function):
2904 * org.el (org-modules, org-export-backends)
2905 (org-highlight-latex-and-related, orgstruct-setup-hook):
2906 * org-attach.el (org-attach-git-annex-cutoff):
2907 * org-archive.el (org-archive-file-header-format):
2908 * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2909 * ob-python.el (org-babel-python-hline-to)
2910 (org-babel-python-None-to):
2911 * ob-ditaa.el (org-ditaa-eps-jar-path):
2912 * ob-core.el (org-babel-results-keyword): Add :version and
2915 * ox-ascii.el: Use utf-8-emacs as the file coding system.
2917 * org-capture.el (org-capture-templates, org-capture-string)
2918 (org-capture-steal-local-variables)
2919 (org-capture-empty-lines-before)
2920 (org-capture-empty-lines-after)
2921 (org-capture-insert-template-here)
2922 (org-capture-import-remember-templates): Fix or add docstring.
2924 * ox-html.el (org-html-style-default): Cosmetic changes.
2925 (org-html-postamble, org-html-preamble)
2926 (org-html-preamble-format): Update docstring.
2928 * org-agenda.el (org-agenda-format-date-aligned)
2929 (org-agenda-time-of-day-to-ampm-maybe)
2930 (org-scheduled-past-days)
2931 (org-agenda-normalize-custom-commands)
2932 (org-agenda-run-series, org-store-agenda-views): Fix or add
2936 (org-latex-table-scientific-notation, org-latex-verse-block):
2937 Fix typos in docstrings.
2939 * ox-html.el (org-html-text-markup-alist)
2940 (org-html-pretty-output, org-html-link-org-files-as-html)
2941 (org-html-postamble, org-html-preamble)
2942 (org-html-format-inline-image, org-html-splice-attributes)
2943 (org-export-splice-style, org-html-htmlize-region-for-paste)
2944 (org-html-fix-class-name)
2945 (org-html-format-footnote-reference)
2946 (org-html-format-footnotes-section)
2947 (org-html-footnote-section, org-html--anchor)
2948 (org-html--todo, org-html--tags, org-html-format-headline)
2949 (org-html-toc, org-html-format-section, org-html-checkbox)
2950 (org-html-format-list-item, org-html-format-latex)
2951 (org-html-encode-plain-text)
2952 (org-html-table-first-row-data-cells)
2953 (org-html-table--table.el-table, org-html-final-function):
2954 Fix or add docstring.
2956 * org.el (org-insert-heading): If the current item has a checkbox,
2957 insert the new item with a checkbox.
2959 * org.el (org-insert-heading): Don't delete spaces in empty
2962 * ox-odt.el (org-odt-keyword): Fix typo.
2964 * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2966 * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2968 * org-faces.el (org-column): Update docstring.
2970 * org-colview.el: Update error message.
2972 * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2973 org-w3m.el, org-wl.el as these files are now part of contrib/.
2978 * org-wl.el: Delete (moved to Org's contrib/ directory.)
2980 * org-capture.el (org-mks): Move from org-mks.el.
2982 * org-mks.el: Delete.
2984 * ox-html.el (html): Update HTML options names.
2986 * org.el (org-show-context): Don't try to fix ellipsis when
2987 showing a subtree in agenda.
2989 * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
2990 known as HTML_STYLE_EXTRA.
2991 (org-html-head): Enhance docstring.
2992 (org-html-head-extra): Reintroduce. Was `org-html-style-extra'.
2993 (org-html--build-head): Rename from `org-html--build-head'.
2994 Add information from `org-html-head-extra'.
2995 (org-html-template): Use `org-html--build-head'.
2997 * ox-html.el (org-html-display-buffer-mode): Delete.
2998 (org-html-export-as-html): Use `set-auto-mode' instead of
2999 `org-html-display-buffer-mode'.
3001 * org-agenda.el (org-agenda-write): Overwrite file when called
3004 * org-mobile.el (org-mobile-edit): Workaround a
3005 `org-insert-heading-respect-content' bug which prevents correct
3006 insertion when point is invisible
3008 * org.el (org-previous-line-empty-p): New parameter to allow
3009 checking next line. Add a docstring.
3010 (org-insert-heading): Handle two universal prefix arguments as
3011 advertised in the docstring. Don't insert new lines when
3012 creating a heading after the first heading in the current
3014 (org-insert-heading-respect-content): New optional argument
3015 arg, passed to `org-insert-heading'.
3017 * org.el (org-mode): Remove syntax entries.
3018 Use `org-backward-element' and `org-forward-element' for
3019 `beginning-of-defun-function' and `end-of-defun-function': this
3020 allows using C-M-a and C-M-e before the first headline.
3022 * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
3024 * ox-org.el (org-org-htmlized-css-url): Rename from
3025 `org-html-htmlized-org-css-url' and moved here from ox-html.el.
3026 (org-org-publish-to-org): Handle :htmlized-source in
3027 publishing projects.
3029 * ox-html.el (org-html-style-default): Update docstring.
3030 (org-html-infojs-install-script, org-html--build-style):
3031 Update property names.
3032 (org-html-head-include-scripts)
3033 (org-html-head-include-default-style, org-html-head):
3034 Respectively rename from `org-html-style-include-scripts',
3035 `org-html-style-include-default' and `org-html-style', now
3037 (org-html-style-extra): Delete.
3039 * org-clock.el (org-clock-out): Fix bug: if a closing note needs
3040 to be stored in the drawer where clocks are stored, let's
3041 temporarily remove `org-clock-remove-empty-clock-drawer' from
3042 `org-clock-out-hook'.
3044 * ob-tangle.el (org-babel-tangle): Remove unused attempt of
3045 prompting the user of the tangle file name since :tangle is always
3046 set. Don't prompt for a tangle file name when called with two
3047 universal prefix arg outside of a src block.
3048 Use `org-babel-tangle-single-block'.
3049 (org-babel-tangle-single-block): New function.
3050 (org-babel-tangle-collect-blocks): Use the new function.
3052 * org-table.el (org-table-convert-region, org-table-export)
3053 (org-table-align, org-table-beginning-of-field)
3054 (org-table-copy-down, org-table-check-inside-data-field)
3055 (org-table-insert-column, org-table-find-dataline)
3056 (org-table-delete-column, org-table-move-column)
3057 (org-table-insert-row, org-table-insert-hline)
3058 (org-table-kill-row, org-table-paste-rectangle)
3059 (org-table-wrap-region, org-table-sum, org-table-get-formula)
3060 (org-table-get-formula, org-table-get-stored-formulas)
3061 (org-table-fix-formulas, org-table-maybe-eval-formula)
3062 (org-table-rotate-recalc-marks, org-table-eval-formula)
3063 (org-table-get-range, org-table-get-descriptor-line)
3064 (org-table-find-row-type, org-table-recalculate)
3065 (org-table-iterate, org-table-iterate-buffer-tables)
3066 (org-table-formula-handle-first/last-rc)
3067 (org-table-edit-formulas, org-table-fedit-shift-reference)
3068 (org-rematch-and-replace, org-table-shift-refpart)
3069 (org-table-fedit-finish, org-table-fedit-lisp-indent)
3070 (org-table-show-reference, org-table-show-reference)
3071 (org-table-show-reference, org-table-show-reference)
3072 (org-table-force-dataline, orgtbl-error, orgtbl-export)
3073 (orgtbl-send-replace-tbl, org-table-to-lisp)
3074 (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
3075 (orgtbl-toggle-comment, orgtbl-insert-radio-table)
3076 (orgtbl-to-unicode, org-table-get-remote-range)
3077 (org-table-get-remote-range, org-table-copy-dow)
3078 (org-table-check-inside-data-field, org-table-insert-colum)
3079 (org-table-find-dataline, org-table-delete-colum)
3080 (org-table-move-column, org-table-insert-ro)
3081 (org-table-insert-hline, org-table-kill-ro)
3082 (org-table-paste-rectangle, org-table-wrap-regio)
3083 (org-table-sum, org-table-get-formul)
3084 (org-table-get-stored-formulas, org-table-fix-formula)
3085 (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
3086 (org-table-eval-formul, org-table-get-range)
3087 (org-table-get-descriptor-lin, org-table-find-row-type)
3088 (org-table-recalculat, org-table-iterate)
3089 (org-table-iterate-buffer-table)
3090 (org-table-formula-handle-first/last-r)
3091 (org-table-edit-formulas, org-table-fedit-shift-referenc)
3092 (org-rematch-and-replace, org-table-shift-refpar)
3093 (org-table-fedit-finish, org-table-fedit-lisp-inden)
3094 (org-table-show-reference, org-table-force-datalin)
3095 (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
3096 (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
3097 (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
3098 (org-table-get-remote-range): Use `user-error' instead of
3099 `error' for user errors.
3101 * ob-core.el (org-babel-load-in-session): Throw a useful error
3102 when there is no code block at point.
3104 * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
3105 parameter to ARG. Allow two universal prefix arguments to tangle
3106 by the target file of the block at point.
3107 (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
3108 to restrict the collection of blocks to those who will be
3109 tangled in TARGET-FILE.
3111 * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
3112 by default (i.e., deactivate auto-saving.)
3113 (org-edit-src-code): Set `buffer-auto-save-file-name' for
3114 auto-saving with `auto-save-mode'.
3116 * org.el (org-deadline, org-schedule): When called with two
3117 universal prefix arguments, set the warning time or the delay
3118 relatively to the current timestamp, not to today's date.
3120 * org-agenda.el (org-agenda-filter-apply):
3121 Deactive `org-agenda-entry-text-mode' when filtering.
3122 (org-agenda-entry-text-mode): Don't allow in filtered views.
3123 Don't show the maximum number of lines when turning off.
3125 * ox-html.el (org-html-headline): Add comment.
3127 * org.el (org-mode): Set `paragraph-start'.
3129 * org-agenda.el (org-agenda-entry-text-leaders): New option.
3130 (org-agenda-entry-text-show-here): Use it.
3132 * ox-html.el (org-html-link--inline-image): Always retrieve
3133 attributes for inline images.
3134 (org-html-link): Fix trailing whitespace at the end of the opening
3136 (org-html-headline): For headlines whose first element is a
3137 headline and not a section, pretend there is an empty section (as
3138 "") for the correct HTML div to be inserted.
3140 * org-agenda.el (org-agenda-collect-markers)
3141 (org-create-marker-find-array): Move to ox-icalendar.el.
3142 (org-agenda-marker-table, org-check-agenda-marker-table):
3145 * ox-icalendar.el (org-icalendar-create-uid): New parameter
3146 H-MARKERS to only update some headlines, not the whole file.
3147 (org-icalendar--combine-files): When exporting to an .ics file
3148 only add UID to the headlines shown in the agenda buffer.
3149 (org-agenda-collect-markers, org-create-marker-find-array):
3152 * org-agenda.el (org-agenda-write): Ask before overwriting an
3155 * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
3156 Use `org-html-infojs-opts-table'.
3158 * ox-html.el (org-html-infojs-opts-table):
3159 (org-html-use-infojs, org-html-infojs-options)
3160 (org-html-infojs-template): Move from ox-jsinfo.el. Rename using
3161 the org-html- prefix.
3162 (org-html-infojs-install-script): Move from ox-jsinfo.el.
3164 * ox-jsinfo.el: Delete.
3166 * ox-html.el (org-html-section): Fix indentation.
3167 (org-html-inner-template): Add the document title here, within the
3168 "content" class, as the org-info.js needs it.
3169 (org-html-template): Don't include the document's title here.
3170 (org-html-format-inlinetask-function): Remove wrong example.
3172 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
3173 blocks in commented out headings.
3175 * ox-latex.el (org-latex-logfiles-extensions)
3176 (org-latex-remove-logfiles): Improve docstrings.
3178 * org-capture.el (org-capture): Cosmetic fix.
3180 * org-protocol.el (org-protocol-create-for-org)
3181 (org-protocol-create): Small docstrings enhancements.
3183 * org-protocol.el (org-protocol-capture): Small docstring fix.
3185 * org.el (org-speed-command-activate): Only forbid in src code
3189 (org-indent-add-properties): Bugfix: prevent negative value for
3190 `added-ind-per-lvl'.
3192 * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
3193 `isearch-mode-end-hook' so that any isearch fixes the problem with
3194 ellipsis on the first line.
3195 (org-fix-ellipsis-at-bol): New defsubst.
3196 (org-show-context, org-isearch-end): Use it.
3198 * org-agenda.el (org-agenda-deadline-leaders): New formatting
3199 string for past deadlines.
3200 (org-agenda-scheduled-leaders): Small change.
3201 (org-agenda-get-deadlines): Use the new formatting string.
3203 * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
3205 * org.el (org-speed-command-activate): Don't activate speed
3206 commands within blocks.
3208 * org.el (org-show-context): Remove useless catch. Make sure the
3209 top of the window is a visible headline.
3210 (org-activate-plain-links): Remove unused catch.
3212 * org-macs.el (org-get-alist-option): Return nil, not (nil), so
3213 that `org-show-context' DTRT.
3215 * org.el (org-imenu-get-tree): Fix bug when matching against empty
3217 (org-overview): Stay on current line.
3218 (org-map-entries): Fix docstring.
3220 * org-macs.el (org-unmodified): Update comment. Don't define
3221 `with-silent-modifications' for emacsen that don't have it.
3223 * org-compat.el (org-with-silent-modifications):
3224 New compatibility macro.
3226 * org.el (org-refresh-category-properties)
3227 (org-refresh-properties, org-entry-blocked-p)
3228 (org-agenda-prepare-buffers):
3230 * org-indent.el (org-indent-remove-properties)
3231 (org-indent-add-properties):
3233 * org-colview.el (org-columns-display-here)
3234 (org-columns-remove-overlays, org-columns-quit)
3235 (org-columns-edit-value, org-columns-compute-all)
3236 (org-columns-compute, org-agenda-colview-compute):
3238 * org-clock.el (org-clock-sum): Use the compatibility macro
3239 `org-with-silent-modifications' instead of
3240 `with-silent-modifications'.
3242 * org.el (org-sort-remove-invisible): Remove emphasis markers.
3244 * org.el (org-sort-remove-invisible): Use defsust. Do not only
3245 check against invisible links, truly returns the visible part of
3247 (org-sort-remove-invisible): Add a docstring.
3248 (org-sort-entries): Remove hidden links when comparing entries.
3250 * org-list.el (org-sort-list): Remove hidden links when comparing
3253 * ox-html.el (org-html-headline): Fix typo.
3254 (org-html-format-headline--wrap): Cosmetic change.
3256 * org.el (org-at-clock-log-p): Delete.
3258 * org-clock.el (org-at-clock-log-p): Move here.
3260 * ox-html.el (org-html-format-headline-function): Fix docstring.
3262 * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
3263 both mysql and postgresql.
3265 * org.el (org-agenda-prepare-buffers): Don't use
3266 `with-silent-modifications' too early.
3268 * org-macs.el: Add a comment on when to use `org-unmodified' and
3269 when to use `with-silent-modifications'.
3271 * org-colview.el (org-columns-display-here)
3272 (org-columns-remove-overlays, org-columns-quit)
3273 (org-columns-edit-value, org-columns-compute-all)
3274 (org-columns-compute, org-agenda-colview-compute):
3275 * org-clock.el (org-clock-sum):
3276 * org.el (org-refresh-category-properties)
3277 (org-refresh-properties, org-entry-blocked-p)
3278 (org-agenda-prepare-buffers): Use `with-silent-modifications'
3279 instead of `org-unmodified'.
3281 * ox-publish.el (org-publish-sitemap-date-format): Small docstring
3284 * ox-latex.el (org-latex-format-headline-default-function):
3286 (org-latex-format-headline-function): Use the new option as
3288 (org-latex-toc-command): Don't add vertical space after the table
3291 * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
3292 `org-with-buffer-modified-unmodified'.
3293 (org-agenda-prepare-buffers): Fix indentation.
3295 * org-macs.el (org-unmodified): Rename from
3296 `org-with-buffer-modified-unmodified'.
3297 (org-with-buffer-modified-unmodified): Delete.
3299 * ob-python.el (org-babel-python-command): Use a defcustom.
3300 (org-babel-python-mode): Use a defcustom and default to
3301 'python-mode when featured.
3303 * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
3306 * ox-org.el (org-org-publish-to-org): Autoload.
3309 * org-bibtex.el: Remove remember support.
3311 * org-clock.el (org-clock-heading-for-remember): Delete.
3312 (org-clock-in): Do not set the heading for remember.
3314 * org.el (org-move-subtree-down, org-forward-element)
3315 (org-backward-element):
3317 * org-table.el (org-table-previous-field)
3318 (org-table-move-column, org-table-move-row):
3320 * org-list.el (org-move-item-down, org-move-item-up)
3321 (org-cycle-item-indentation): Use `user-error' when moving or
3322 modifying the element at point is not possible.
3324 * ox-html.el (org-html-table-header-tags)
3325 (org-html-table-data-tags, org-html-table-row-tags)
3326 (org-html-table-align-individual-fields): Use the
3327 org-export-html group.
3328 (org-html-inline-src-block, org-html-link): Fix error messages.
3329 (org-html-begin-plain-list): Fix formatting, better FIXME
3332 * org.el (org-fill-paragraph): Fill using
3333 `org-mode-transpose-word-syntax-table'.
3335 * ox-org.el (org-org-publish-to-org): New defun.
3337 * ox-html.el (org-export-htmlize): Delete group.
3338 (org-html-htmlize-output-type)
3339 (org-html-htmlized-org-css-url)
3340 (org-html-htmlize-region-for-paste): Rename from
3341 org-export-htmlize-*.
3342 (org-html-htmlize-generate-css, org-html-fontify-code):
3343 Use the correct names.
3345 * org-compat.el (org-file-equal-p): New compatibility function.
3347 * ox.el (org-export-output-file-name): Use the new function.
3349 * org-clock.el (org-clock-set-current)
3350 (org-clock-delete-current): Delete.
3351 (org-clock-in, org-clock-out): Set and delete
3352 `org-clock-current-task'. Minor code clean-up.
3354 * org-clock.el (org-clock-in, org-clock-in-last):
3355 Tell `org-current-time' to always return a past time.
3357 * org.el (org-current-time): New argument `past' to force
3358 returning a past time when rounding.
3360 * org-agenda.el (org-agenda-unmark-clocking-task): New function.
3361 (org-agenda-mark-clocking-task): Use it.
3362 (org-agenda-clock-in): Let the cursor where it is.
3363 (org-agenda-clock-out): Ditto. Also remove the
3364 `org-agenda-clocking' overlay.
3366 * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
3367 so that it ends at the beginning of the next headline at the same
3370 * org.el (org-set-effort, org-property-next-allowed-value):
3371 When needed, update the current clock effort time.
3372 (org-next-link): New parameter `search-backward'. Fix bug when at
3373 a link with no 'org-link face, e.g., in a DONE headline. Throw a
3374 message instead of an error.
3375 (org-previous-link): Use `org-next-link'.
3377 * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
3378 when `org-prefix-has-breadcrumbs' is non-nil.
3380 * org.el (org-mode): Don't make characters from
3381 `org-emphasis-alist' word constituents.
3382 (org-mode-transpose-word-syntax-table): Rename from
3384 (org-transpose-words):
3385 Use `org-mode-transpose-word-syntax-table'.
3387 * ox.el (org-export--dispatch-ui)
3388 (org-export--dispatch-action): Use integers for control chars.
3390 * org-agenda.el (org-agenda-set-restriction-lock): Put the
3391 overlay until the end of the subtree, not the end of the
3394 * org.el (org-entry-delete, org-delete-property): New optional
3395 arg delete-empty-drawer, a string, to delete any empty drawer
3397 (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
3400 * org-src.el (org-src-mode-map, org-edit-src-code)
3401 (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
3402 for `org-edit-src-abort'.
3404 * org.el (org-mode): Use org-unmodified during startup
3405 initialization for functions that may be inhibited.
3407 * org-table.el (org-table-align): Only set the window start
3408 when table alignment is performed in the selected window.
3410 * org-src.el (org-edit-src-auto-save-idle-delay): New option.
3411 (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
3412 (org-edit-src-code-timer): New timer variable.
3413 (org-edit-src-code): Run the timer.
3414 (org-edit-fixed-width-region): Enhance message.
3415 (org-edit-src-exit): Cancel the timer.
3416 (org-edit-src-save): Prevent saving when editing fixed-width
3417 buffer, exiting will save already.
3418 (org-edit-src-exit): Inconditionally kill the src/example
3421 * org-pcomplete.el (pcomplete/org-mode/file-option):
3422 Require 'org-element. This fixes a bug about unbound variable
3423 `org-element-affiliated-keywords' when trying to complete a
3424 keyword before 'org-element was required.
3426 * org-list.el (org-list-bullet-string): Replace match when there
3427 is a match, otherwise just return the bullet.
3429 * org-src.el (org-src-mode-map): New binding C-c k to abort
3431 (org-edit-src-code): Mention the keybinding to abort editing
3432 and go back to the correct position.
3433 (org-edit-src-abort): New command to abort editing.
3435 * ox-html.el (org-html--build-meta-info): Add a newline before
3436 the title meta information.
3438 * org.el (org-return-follows-link): Mention that this does not
3439 affect the behavior of RET in tables.
3441 * ox-html.el (org-html--build-mathjax-config): Only include
3442 MathJax configuration if the resulting HTML contains LaTeX
3445 * org.el (org-syntax-table, org-transpose-words): Delete.
3446 (org-mode): Syntactically Define {} and <> as parentheses.
3447 (org-drag-line-forward, org-drag-line-backward):
3449 (org-shiftmetaup, org-shiftmetadown): Fall back on the new
3450 functions instead of throwing an error.
3451 (org-make-org-heading-search-string): Don't use statistic or [x/y]
3452 cookies when creating a link.
3454 * ox-html.el (org-html-table): Append #+attr_html attributes.
3456 * org.el (org-emphasis-alist, org-protecting-blocks):
3457 * org-src.el (org-edit-src-find-region-and-lang):
3458 * org-list.el (org-list-forbidden-blocks):
3459 * org-footnote.el (org-footnote-forbidden-blocks):
3460 Remove references to the deleted DocBook exporter.
3462 * org.el (org-end-of-line): Don't throw an error outside elements.
3464 * ox-html.el (org-html-link): Don't throw an error if the value
3465 of the :ID: property has not been generated by uuidgen.
3467 * org-pcomplete.el (pcomplete/org-mode/file-option/x):
3468 Resurrect. Use `org-default-options' to initialize completion
3469 fonctions for the most important keywords.
3471 * org-macs.el (org-default-options): Rename and adapt from
3472 `org-get-current-options'.
3474 * org.el (org-options-keywords): Add keywords.
3476 * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
3478 * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
3480 * ox-html.el (org-html-display-buffer-mode): New option.
3481 (org-html-export-as-html): Use it.
3483 * ob-core.el (org-babel-insert-result): Fix bug when inserting
3484 an empty string as the result.
3486 * org.el (org-timestamp-change): New optional parameter
3487 `suppress-tmp-delay' to suppress temporary delay like "--2d".
3488 (org-auto-repeat-maybe): Suppress temporary delays.
3490 * org-agenda.el (org-agenda-get-scheduled): When the delay is
3491 of the form "--2d" and there is a repeater, ignore the delay
3492 for further repeated occurrences.
3494 * org-agenda.el (org-agenda-get-deadlines)
3495 (org-agenda-get-scheduled): Minor refactoring.
3497 * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
3498 (org-edit-special): Don't allow to edit when buffer is read only.
3500 * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
3501 and `cache-dir' when `processing-type' is 'mathjax.
3502 (org-html-format-latex): Fix conversion in non-file buffers.
3504 * org.el (org-speed-commands-default): Bind `B' and `F' to
3505 `org-previous-block' and `org-next-block'.
3506 (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
3507 see today's diary as "?" is already bounded by Calendar.
3508 (org-read-date-minibuffer-local-map): Use "." to go to today's
3511 * ob-core.el (org-babel-next-src-block)
3512 (org-babel-previous-src-block): Rewrite using
3515 * org.el (org-next-block, org-previous-block): New navigation
3517 (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
3520 * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
3521 when writing to an .org file.
3523 * org.el (org-copy-subtree): New parameter `nosubtrees'.
3525 * org-agenda.el (org-agenda-write): Allow writing to an .org file.
3527 * org.el (org-paste-subtree): Fix typo in docstring.
3529 * org-agenda.el (org-agenda-get-todos)
3530 (org-agenda-get-timestamps): Use nil as `ts-date' for diary
3532 (org-agenda-get-todos): Skip diary sexps when trying to sort by
3534 (org-agenda-max-entries, org-agenda-max-todos)
3535 (org-agenda-max-tags, org-agenda-max-effort): New options.
3536 (org-timeline, org-agenda-list, org-search-view)
3537 (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
3538 what agenda type we are currently finalizing for.
3539 (org-agenda-finalize-entries): Limit the number of entries
3540 depending on the new options.
3541 (org-agenda-limit-entries): New function.
3543 * org.el (org-deadline): Allow a double universal prefix argument
3544 to insert/update a warning cookie.
3545 (org-deadline): Allow a double universal prefix argument to
3546 insert/update a delay cookie.
3548 * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
3549 New option. The structure of the possible values is copied
3550 from `org-agenda-skip-deadline-prewarning-if-scheduled'.
3551 (org-agenda-get-scheduled): Honor the two new option,
3552 `org-scheduled-delay-days' and
3553 `org-agenda-skip-deadline-prewarning-if-scheduled'. I.e. if a
3554 scheduled entry has a delay cookie like "-2d" (similar to the
3555 prewarning cookie for deadline), don't show the entry until
3558 * org.el (org-deadline-warning-days): Small docstring fix.
3559 (org-scheduled-delay-days): New option (see
3560 `org-deadline-warning-days'.)
3561 (org-get-wdays): Use the new option.
3563 * org-agenda.el (org-agenda-sorting-strategy): Document the
3564 new sorting strategies.
3565 (org-agenda-get-todos, org-agenda-get-timestamps)
3566 (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
3567 `ts-date' text property with scheduled, deadline or timetamp
3569 (org-cmp-ts): New function to compare timestamps.
3570 (org-em): Add a docstring.
3571 (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
3572 Implement the following sorting strategies: timestamp-up/down,
3573 scheduled-up/down, deadline-up/down, ts-up/down (for active
3574 timestamps) and tsia-up/down (for inactive timestamps.)
3576 * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
3578 * org.el (org-contextualize-validate-key): Check against two new
3579 context predicates [not-]in-buffer.
3581 * org-agenda.el (org-agenda-custom-commands-contexts):
3582 Document the new [not-]in-buffer context predicates.
3584 * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
3585 (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
3588 * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
3589 friends, rely on the extension of the output file.
3591 * org-archive.el (org-archive-file-header-format): New option.
3592 (org-archive-subtree): Use it.
3594 * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
3595 set the output type.
3597 * org.el (org-read-date-minibuffer-local-map): New variable.
3598 (org-read-date): Use it.
3599 (org-read-date-minibuffer-setup-hook): Mark as obsolete.
3600 (org-read-date): Bind `!' to `diary-view-entries' in order to
3601 check diary entries while setting an Org date.
3603 * org-agenda.el (org-diary): Only keep the descriptions of the
3604 links since Org links are not active in the diary buffer.
3606 * org-faces.el (org-priority): New face.
3608 * org.el (org-font-lock-add-priority-faces): Use the new face.
3610 * org-agenda.el (org-agenda-fontify-priorities): Use the
3611 org-priority face and add specific agenda face on top of it.
3613 * org-agenda.el (org-agenda-show-clocking-issues)
3614 (org-agenda-format-item): Let-bind
3615 `org-time-clocksum-use-effort-durations' to nil.
3617 * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
3618 universal prefix arguments on a list where all items are already
3619 in a transitory state. Refine the error when the checkbox cannot
3622 * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
3623 requiring any org library. Also use `load', not
3624 `org-load-noerror-mustsuffix'.
3625 (org-effort-durations): Move up to fix a compiler warning.
3626 (org-edit-special): Fix typo in docstring.
3627 (org-time-clocksum-format): Add a version tag and add to the
3629 (org-time-clocksum-use-fractional): Ditto.
3630 (org-time-clocksum-use-effort-durations): New option to allow
3631 using `org-effort-durations' when computing clocksum durations.
3632 (org-minutes-to-clocksum-string): Use the new option.
3634 * org-clock.el (org-clocktable-write-default): Let-bind
3635 `org-time-clocksum-use-effort-durations' to a new clocktable
3636 parameter ":effort-durations".
3638 * org-entities.el (org-entities): "neg" should be used in LaTeX
3639 math mode. Add the "neg" entity.
3641 * org-mobile.el (org-mobile-allpriorities): New option.
3642 (org-mobile-create-index-file): Use the new option.
3644 * org-latex.el (org-export-latex-inline-images): New option.
3646 * org.el (org-forward-heading-same-level): Before the first
3647 headline, go to the first headline.
3648 (org-backward-heading-same-level): Before the first headline,
3649 go to the beginning of the buffer, like
3650 `outline-previous-visible-heading' does.
3652 * org-exp.el (org-export-plist-vars): Don't use
3653 `org-export-html-inline-images' to set the :inline-images
3654 property, use distinct properties for the various backends.
3656 * org-publish.el (org-publish-project-alist): Ditto.
3658 * org-latex.el (org-export-latex-links): Use :latex-inline-images
3659 instead of :inline-images.
3661 * org-odt.el (org-compat): Require.
3663 * org.el (org-parse-time-string): Allow strings supported by
3664 tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3666 * org-clock.el (org-clock-rounding-minutes): New option to round
3667 the time by N minutes in the past when clocking in or out.
3668 (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3671 * org.el (org-current-time): New optional parameter
3672 `rounding-minutes' to override the use of
3673 `org-time-stamp-rounding-minutes' for rounding.
3675 * org-clock.el (org-clock-special-range): Small docstring fix.
3676 New parameter 'weekstart to define the week start day.
3677 (org-clock-special-range, org-dblock-write:clocktable)
3678 (org-dblock-write:clocktable, org-clocktable-write-default)
3679 (org-clocktable-steps, org-clock-get-table-data): Use the new
3681 (org-clocktable-defaults): Set monday as the starting day of the
3682 week by setting :wstart to 1.
3684 * org.el (org-store-link): Fix the naming of internal links to
3685 lines starting with a keyword.
3687 * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3688 (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3691 * org.el (org-last-set-property-value): New variable.
3692 (org-read-property-name): Fix dangling parentheses.
3693 (org-set-property-and-value): New command to manually set
3694 both the property and the value. A prefix arg will use the
3695 last property-value pair set without prompting the user.
3696 (org-set-property): Set `org-last-set-property-value'.
3697 (org-mode-map): Bind the new command to `C-c C-x P'.
3698 (org-find-invisible-foreground): Delete.
3699 (org-mode): Use `face-background' instead of
3700 `org-find-invisible-foreground'.
3701 (org-startup-options): New startup keywords.
3702 (org-log-into-drawer): Update docstring to explain how to set this
3703 variable through the startup keyword "logdrawer" and "nologdrawer".
3704 (org-log-states-order-reversed): Document the new startup keywords
3705 "logstatesreversed" and "nologstatesreversed".
3706 (org-mode-map): Use `org-remap' instead of binding `M-t' to
3707 `org-transpose-words' directly.
3708 (org-syntax-table): New variable.
3709 (org-transpose-words): New command, simply wrapping the new
3710 syntax table around `transpose-words'.
3711 (org-mode-map): Bind `org-transpose-words' to `M-t'.
3712 (org-store-link): Use keyword at point as the search string.
3713 Use `delq nil' instead of `delete nil'.
3714 (org-make-org-heading-search-string): Rewrite using
3715 org-element.el. Not an interactive function anymore.
3717 * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3719 * org-mobile.el (org-mobile-files-alist): Ditto.
3721 * org.el (org-store-link): When creating a link to a heading with
3722 a bracket link, don't escape this link with curly braces as the
3723 escaped link is not active anyway; use the description instead.
3724 If the headline only consists of a bracket link, add a star to the
3725 description so that the user knows this is an internal link.
3727 * org-w3m.el (org-w3m-store-link): New function.
3729 * org.el (org-store-link): Update the error message when no method
3730 is available for storing a link. Use `user-error' for this.
3731 Remove handling w3m links from this function.
3732 (org-insert-heading, org-insert-todo-heading): A double prefix arg
3733 force the insertion of the subtree at the end of the parent
3735 (org-store-link): A double prefix argument now skips module
3736 store-link functions to only use Org's core functions. Also, when
3737 several modular store-link functions match, ask for which one to
3739 (org-cycle, org-cycle-internal-global)
3740 (org-cycle-internal-local, org-display-outline-path): Let-bind
3741 `message-log-max' to nil so that messages don't populate the
3744 * org-table.el (org-table-eval-formula): Handle localized
3745 time-stamps by internally converting them to english during
3746 formulas evaluation.
3748 * org.el (org-clock-timestamps-up): Fix declarations.
3750 * ob-core.el (org-split-string): Declare function.
3752 * org-html.el (org-html-export-list-line): Add CSS classes to
3753 these list HTML tags: <ul> <dl> and <ol>.
3755 * org-clock.el (org-clock-timestamps-up)
3756 (org-clock-timestamps-down, org-clock-timestamps-change):
3757 Add an optional argument N to change timestamps by several units.
3759 * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3761 * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3762 'if-interactive and use it as the default.
3763 (org-export-push-to-kill-ring): Use the new choice.
3765 * org.el (org-block-entry-blocking): New variable.
3766 (org-todo): Use it. Also use `user-error' when a TODO state
3768 (org-block-todo-from-children-or-siblings-or-parent):
3769 Display `org-block-entry-blocking' in the user-error message.
3771 * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3772 add the time of the day.
3774 * org-capture.el (org-capture): When capturing from the agenda and
3775 with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3776 prefix will set the capture time to the HH:MM of the current line
3777 or the current HH:MM.
3779 * org-agenda.el (org-agenda-capture): New optional argument
3780 WITH-TIME: when set to 1, the capture time will be set to the
3781 HH:MM time of the current line, or the current HH:MM time.
3783 * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3785 (org-deadline-close): Use `org-time-stamp-to-now'.
3786 (org-time-stamp-to-now): Use `org-float-time' instead of the
3787 obsolete `time-to-seconds' function.
3788 (org-format-outline-path): Fix bug: add the separator string after
3790 (org-display-inline-images): Search for #+ATTR within the current
3792 (org-days-to-time): Make obsolete.
3793 (org-time-stamp-to-now): Rename from `org-days-to-time'.
3794 Allow to compare time-stamps based on seconds.
3796 * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3797 New option to compare time stamps using seconds, not days.
3798 (org-agenda-todo-custom-ignore-p)
3799 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3800 Use the new function's name and the new option.
3802 * org-clock.el (org-clock-sound): Enhance docstring.
3803 (org-notify): Use the parameter `play-sound' as argument for
3804 `org-clock-play-sound'.
3805 (org-clock-play-sound): New optional argument `clock-sound' to
3806 override `org-clock-sound'.
3808 * org-agenda.el (org-agenda-format-item): Fix initialization
3809 of the level text property.
3811 * org.el (org-format-outline-path): Small docstring
3813 (org-display-outline-path): Fix order or arguments.
3815 * org.el (org-activate-plain-links)
3816 (org-activate-bracket-links): Add a new 'htmlize-link text
3817 property, so that htmlize (> version 1.42) can linkify the
3819 (org-display-outline-path): Allow a string value for the
3820 `as-string' parameter. Such a value will replace the "/"
3821 separator in the output. New argument `as-string'.
3822 (org-refile-keep): New variable.
3823 (org-copy): New command to copy notes.
3824 (org-refile): New parameter msg to override the "Refile" string in
3826 (org-mode-map): Bind "C-c M-w" to `org-copy'.
3827 (org-refile-get-location): Use the current file name as the
3828 default target when there is no refile history.
3829 (org-cycle-hide-inline-tasks): New function to hide inline tasks
3831 (org-cycle-hook): Use the new function.
3832 (org-entry-put): Fix bug when updating the last clock.
3833 (org-use-last-clock-out-time-as-effective-time): New option.
3834 (org-current-effective-time): Use the new option.
3836 * org-clock.el (org-clock-get-last-clock-out-time):
3839 * org.el (org-toggle-inline-images): Only send a message when
3840 called interactively.
3841 (org-scan-tags): Fix the declaration and the use of
3842 `org-agenda-format-item'.
3844 * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3845 correct number of parameters for `org-agenda-format-item'.
3848 * org.el (org-outline-level): Go at the beginning of the
3849 headline first to always return a sensible result.
3851 * org-agenda.el (org-search-view, org-agenda-get-todos)
3852 (org-agenda-get-timestamps, org-agenda-get-sexps)
3853 (org-agenda-get-progress, org-agenda-get-deadlines)
3854 (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3855 correct level depending on `org-odd-levels-only'.
3856 (org-agenda-prefix-format): A new specifier `%l' allows to insert
3857 X spaces when the item is of level X.
3858 (org-search-view, org-get-entries-from-diary)
3859 (org-agenda-get-todos, org-agenda-get-timestamps)
3860 (org-agenda-get-sexps, org-agenda-get-progress)
3861 (org-agenda-get-deadlines, org-agenda-get-scheduled)
3862 (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3863 new text property 'level, a string with as many whitespaces as
3864 the level of the item.
3865 (org-agenda-format-item, org-compile-prefix-format):
3866 Handle the new `%l' specifier.
3868 * org-colview.el (org-columns-next-allowed-value): Add the
3869 CLOCKSUM property to the list of properties that can be
3870 changed interactively from the column view.
3872 * org.el (org-entry-put): Allow to set the CLOCKSUM property
3873 by updating the most recent clock. This is useful in the
3874 column view when you want to use S-<left/right> to update the
3875 last clock of the entry at point.
3876 (org-image-actual-width): New choice: use #+ATTR* or fall back on
3878 (org-display-inline-images): Implement the new choice.
3879 (org-image-actual-width): Rename from `org-image-fixed-width'.
3880 Update the docstring. Give more choice.
3881 (org-display-inline-images): Use the option new choices.
3882 (org-image-fixed-width): New option to set a fixed width for
3884 (org-display-inline-images): Use the new option.
3886 * org-agenda.el (org-class): Allow to use holiday strings for
3887 the `skip-weeks' arguments.
3889 * org.el (org-mode): Set the syntax of the " character to "string
3892 * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3893 check whether we are in `org-agenda-mode'.
3894 (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3895 agendas and non-custom commands.
3897 2013-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3899 * org-src.el (org-edit-src-exit): Let overlay survive after the
3900 buffer has been saved.
3902 * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3904 (org-texinfo-export-to-info): Use new style backquoting.
3906 * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3907 instead of `file-base-name'.
3909 * org.el (org-insert-heading): Improve whitespace behavior at
3911 (org-latex-default-packages-alist): Add the `rotating' package to
3912 the list of default packages. Improve docstring.
3913 (org-insert-property-drawer): Insert only after space in current
3915 (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3917 (org-special-ctrl-o): New option.
3918 (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3921 * org-agenda.el (org-agenda-custom-commands-local-options):
3922 (org-agenda-span, org-agenda-ndays-to-span)
3923 (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3924 (org-agenda-change-time-span, org-agenda-compute-starting-span):
3925 Add support for fortnight view.
3926 (org-agenda-menu): Add fortnight view command.
3927 (org-agenda-fortnight-view): New command.
3929 * org-timer.el (org-clock-sound): Silence compiler.
3931 * org.el (org-beginning-of-line, org-end-of-line):
3932 Bind deactivate-mark to avoid that this command deactivates it.
3933 (org-make-tags-matcher): Do not interpret / in property value as
3934 starter of TODO match.
3935 (org-overview): Preserve point.
3936 (org-read-date-minibuffer-local-map): Don't replace disputed keys
3937 when defining this keymap.
3938 (org-read-date): Remove unnecessary binding of
3939 `org-replace-disputed-keys'.
3940 (org-insert-heading): Allow to remove blank lines if the user does
3942 (org-unlogged-message): Fix typo in dostring.
3944 * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3945 `org-babel-ruby-nil-to'
3946 (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3947 (org-babel-ruby-table-or-string): Convert outgoing nils.
3949 * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3950 files where available.
3952 * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3954 * org.el (org-unlogged-message): New function.
3955 (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3956 (org-global-cycle, org-display-outline-path):
3957 Use `org-unlogged-message'.
3959 * org-pcomplete.el (org-make-org-heading-search-string):
3960 Fix function declaration.
3961 (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3962 to `org-make-org-heading-search-string'.
3964 * org.el (org-read-date): Turn off replacing disputed keys when
3965 defining the minibuffer keys during date selection.
3966 (org-insert-heading): Improve the empty line insertion behavior.
3967 Basically, never remove empty lines, only add them.
3969 * org-attach.el (org-attach-commit): Use vc-git to find the git
3972 * org-compat.el (org-move-to-column): Turn off invisibility stuff
3973 for moving the cursor to a column.
3975 * org.el (org-modules): Update with the new module org-mac-link.
3976 (org-display-outline-path): Do not log outline path in Message
3978 (org-agenda-ignore-drawer-properties): New option.
3979 (org-agenda-prepare-buffers):
3980 Honour `org-agenda-ignore-drawer-properties'.
3982 * org-clock.el (org-clock-goto): Recenter to thrd line
3984 * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
3985 between keywords in RECEIVE ORGTBL lines.
3987 * org.el (org-bookmark-names-plist): New user option.
3988 (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
3989 (org-refile): Use `org-bookmark-names-plist'.
3991 * org-capture.el (org-capture-bookmark-last-stored-position):
3992 Use `org-bookmark-names-plist'.
3994 * org.el (org-insert-heading): Rewritten from scratch.
3995 (org-N-empty-lines-before-current): New function
3996 (org-insert-heading-respect-content): Set the correct argument to
3997 force a heading even in lists.
3999 * org-colview.el (org-columns-display-here): Enforce fixed width
4002 * org-faces.el (org-column): Setting font width has been shifted
4005 * org.el (org-mode-flyspell-verify): Check for src block.
4007 * org-table.el (org-table-convert-region): Fix interactive
4010 * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
4012 * org.el (org-beginning-of-line, org-end-of-line):
4013 Set disable-point-adjustment when the command ends next to invisible
4016 * ob-lob.el (org-babel-lob-files): Fix custom type.
4018 * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
4019 (org-agenda-inactive-leader, org-agenda-day-face-function)
4020 (org-agenda-auto-exclude-function): Fix custom type.
4022 * org-bibtex.el (org-bibtex-prefix): Fix custom type.
4024 * org-clock.el (org-clock-heading-function):
4025 (org-show-notification-handler): Fix custom type.
4027 * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
4029 * org-protocol.el (org-protocol-default-template-key): Fix custom
4032 * org.el (org-make-link-description-function):
4033 (org-link-translation-function):
4034 (org-link-frame-setup):
4035 (org-refile-target-verify-function):
4036 (org-get-priority-function):
4037 (org-use-fast-tag-selection):
4038 (org-columns-modify-value-for-display-function):
4039 (org-sparse-tree-default-date-type):
4040 * ox-html.el (org-html-postamble):
4041 (org-html-postamble-format):
4042 (org-html-preamble-format):
4043 * ox-odt.el (org-odt-content-template-file):
4044 * ox.el (org-export-with-archived-trees):
4045 (org-export-initial-scope): Fix custom type.
4047 * org.el (org-insert-heading): Fix problem with inserting heading.
4048 Check for checkbox at the beginning of the item, not just at the
4049 beginning of the line.
4050 (org-small-year-to-year): Fix docstring typo.
4051 (org-show-siblings): By default, also show siblings from a
4054 * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
4055 the headline when agenda is restricted to a subtree. Do not
4056 highlight the entire subtree.
4058 * org-table.el (org-table-eval-formula): Work-around for calc-eval
4061 * ox.el (org-export-dispatch): Make sure the last position marker
4062 uses the base buffer if there is one.
4063 (org-export-dispatch-last-position): New variable.
4064 (org-export-dispatch): Save position of cursor at the moment when
4065 the export command is called. Restore that position temporarily
4066 when repeating the previous export command.
4068 * org.el (org-insert-heading): Shrink whitespace at end of subtree
4069 when `org-insert-heading-respect-content' is on.
4071 * org-list.el (org-sort-list): Respect sorting-type and
4072 getkey-func when they are specified in the call.
4074 * org.el (org-sort-entries): Respect sorting-type and getkey-func
4075 when they are specified in the call.
4076 (org-format-outline-path): New argument SEPARATOR to specify a
4077 string that is inserted between parts of the outline path.
4078 (org-display-outline-path): New argument SEPARATOR, to specify a
4079 string that is inserted between parts of the outline path.
4081 * org-colview.el (org-dblock-write:columnview): Change the capture
4082 of pos to after inserting the original content
4084 2013-11-12 Christian Moe <mail@christianmoe.com>
4086 * ox-odt.el (org-odt-line-break, org-odt-plain-text):
4087 Remove newline after line-break tag.
4089 2013-11-12 Christophe Junke <christophe.junke@inria.fr> (tiny change)
4091 * org.el (org-set-font-lock-defaults): Let footnote fontifications
4092 be done before other links' fontification. This allows links
4093 appearing inside footnotes to be both visible and active.
4095 2013-11-12 Christopher Schmidt <christopher@ch.ristopher.com>
4097 * org.el (orgstruct-setup): Major rewrite.
4098 (orgstruct++-mode): Overwrite local non-org vars again.
4099 (orgstruct-mode): Simplify implementation. Emulate outline's
4100 buffer-invisiblity-spec.
4101 (orgstruct-heading-prefix-regexp): Change default value to nil.
4102 (orgstruct-error): Use `user-error' if available.
4103 {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
4104 non-nil. Always use `org-outline-level'. Bind org-shift*.
4105 (orgstruct-make-binding): Major rewrite.
4106 (org-cycle-global-status, org-cycle-subtree-status): Set state
4108 (org-heading-components): Use `org-heading-regexp' in
4110 (orgstruct-heading-prefix-regexp, orgstruct-setup-hook):
4112 (orgstruct-initialized): New variable.
4113 (org-get-local-variables): Honour state property.
4114 (org-run-like-in-org-mode): Use `let' instead of `progv'. Do not
4115 override variables with non-default values.
4116 (org-forward-heading-same-level): Do not skip to headlines on
4117 another level. Handle negative prefix argument correctly.
4118 (org-backward-heading-same-level):
4119 Use `org-forward-heading-same-level'.
4121 2013-11-12 Craig Tanis <craig-tanis@utc.edu> (tiny change)
4123 * ox-latex.el (org-latex-src-block): Change format string to position
4124 caption after figure content.
4126 2013-11-12 Eric Abrahamsen <eric@ericabrahamsen.net>
4128 * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
4129 no-op. If that link is in a headline, act as if the `C-c C-c' was
4130 called on the headline, not the link.
4132 * ox-html.el (org-html-doctype-alist): New variable holding an
4133 alist of (X)HTML doctypes
4134 (org-html-xhtml-p, org-html-html5-p, org-html-close-tag):
4136 (org-html-html5-fancy): New export option, determining whether or
4137 not to use HTML5-specific elements.
4138 (org-html-html5-elements): New variable, new HTML5 elements.
4139 (org-html-special-block): Export special blocks to new HTML5
4141 (org-html-format-inline-image): Use <figure> and <figcaption> for
4143 (org-html-format-inline-image, org-html--build-meta-info)
4144 (org-html--build-head, org-html--build-pre/postable)
4145 (org-html-template, org-html-horizontal-rule)
4146 (org-html-format-list-item, org-html-line-break, org-html-table)
4147 (org-html-verse-block): Changes to allow flavored export.
4149 * ox-latex.el (org-latex--org-table, org-latex-table-row):
4150 Allow use of the "tabu" and "longtabu" table environments. New table
4151 attribute :spread handles the width specification syntax of "tabu"
4152 and "longtabu" table environments.
4154 2013-11-12 Eric Schulte <eric.schulte@gmx.com>
4156 * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
4158 (org-bibtex-read-file): Read all bibtex entries in a file.
4159 (org-bibtex-import-from-file): Import all bibtex entries from a
4160 file into the current buffer.
4162 * ob-tangle.el (org-babel-load-file): When called with a prefix
4163 argument the tangled emacs-lisp file will be byte compiled.
4165 * ob-tangle.el (org-babel-tangle): Tangled files should not be
4168 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
4169 when to fully escape the results or just print them close to
4172 * ob.el (org-babel-result-cond): This function should now be used
4173 by all language backends to handle the processing of raw code
4174 block output into scalar results, table results, or ignored
4175 results depending on the value of result-params.
4177 * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
4179 * ob-R.el (org-babel-R-evaluate-external-process)
4180 (org-babel-R-evaluate-session):
4181 * ob-awk.el (org-babel-execute:awk):
4182 * ob-clojure.el (org-babel-execute:clojure):
4183 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
4184 * ob-fortran.el (org-babel-execute:fortran):
4185 * ob-io.el (org-babel-io-evaluate):
4186 * ob-java.el (org-babel-execute:java):
4187 * ob-lisp.el (org-babel-execute:lisp):
4188 * ob-maxima.el (org-babel-execute:maxima):
4189 * ob-picolisp.el (org-babel-execute:picolisp):
4190 * ob-python.el (org-babel-python-evaluate-external-process):
4191 (org-babel-python-evaluate-session):
4192 * ob-scala.el (org-babel-scala-evaluate):
4193 * ob-sh.el (org-babel-sh-evaluate):
4194 * ob-shen.el (org-babel-execute:shen):
4195 * ob-sql.el (org-babel-execute:sql):
4196 * ob-sqlite.el (org-babel-execute:sqlite):
4197 Use `org-babel-result-cond'.
4199 * ob.el (org-babel-common-header-args-w-values): Add a new "none"
4201 (org-babel-execute-src-block): Don't do *any* result processing if
4202 the "none" header argument has been specified.
4203 (org-babel-sha1-hash): Remove the none header argument from header
4204 arg lists when calculating cache sums.
4205 (org-babel-insert-result): Flesh out some documentation.
4207 * ob.el (org-babel-insert-result): Don't escape results in
4210 * ob-python.el (org-babel-python-hline-to): Customize hline
4211 conversion to python.
4212 (org-babel-python-None-to): Customize none conversion from python.
4213 (org-babel-python-var-to-python): Use new variable.
4214 (org-babel-python-table-or-string): Use new variable.
4216 * org.el (org-babel-load-languages): Add ob-makefile to
4217 `org-babel-load-languages'.
4219 * ob-makefile.el: New file.
4221 * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
4223 * org.el (org-format-latex): Simplify and now make use of the new
4224 `org-create-formula-image' function.
4225 (org-create-formula-image): Provides a simpler interface to the
4226 two backend-specific functions.
4228 * ob-core.el (org-babel-default-header-args): It is likely that
4229 someone meant to set :padlines to "yes", but accidentally set
4230 :padnewlines to "yes". Either way lets just remove this which
4231 shouldn't have any functional effect.
4233 * ob-haskell.el (org-babel-default-header-args:haskell):
4234 Set :padlines to "no" by default.
4236 * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
4237 source block on #+ prefixed lines.
4239 * ob-core.el (org-babel-merge-params): Replace `remove-if' with
4240 `org-remove-if'. More careful to check that the colname- and
4241 rowname-names header arguments exist during merge. When merging
4242 parameters, if a variable is replaced with a new value, then
4243 delete colnames/rownames for the original value of that variable.
4245 * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
4246 configurable for ditaa blocks.
4248 * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
4249 dealing with list variables.
4251 * ob-core.el (org-babel-demarcate-block):
4252 Include `org-src-lang-modes' in block demarcation options.
4254 * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
4257 * ob-latex.el (org-babel-latex-htlatex): Set this variable to
4258 "htlatex" (or path to said) to enable svg generation from latex
4260 (org-babel-latex-htlatex-packages): Libraries required for
4261 automatic svg generation.
4262 (org-babel-execute:latex): Generate SVG images directly from latex
4263 code blocks (assumes tikz).
4265 * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
4268 * ob-scheme.el (org-babel-scheme-get-repl)
4269 (org-babel-scheme-make-session-name)
4270 (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
4271 Fix whitespace and indentation.
4273 * ob-core.el (org-babel-set-current-result-hash): Update the
4274 match-string holding the hash data, and correct overlay
4276 (org-babel-find-named-result): Call lines are not results.
4277 (org-babel-where-is-src-block-result): Don't implicitly name the
4278 results of call lines.
4279 (org-babel-exp-non-block-elements): There is now another element
4280 on the call line info list.
4282 * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
4283 the end of the info list.
4284 (org-babel-lob-execute): Pass the name through to execution.
4286 * ob-core.el (org-babel-execute-src-block): Ensure that the
4287 location is set before anything else is done.
4289 * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
4290 header arguments at the location of the original code block.
4292 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
4295 * ob-core.el (org-babel-common-header-args-w-values): Mention new
4297 (org-babel-expand-body:generic): Use new header arguments.
4298 (org-babel-read-result): More robust matching of examplized
4300 (org-babel-result-end): More robust matching of examplized ranges.
4302 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
4303 output terminal when opened.
4304 (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
4306 (org-babel-expand-body:gnuplot): Customization variable prefix
4307 gnuplot code blocks.
4309 * ob-core.el (org-babel-params-from-properties): Now returns a
4310 list of alists and does *not* call `org-babel-merge-params'.
4311 (org-babel-parse-src-block-match):
4312 (org-babel-parse-inline-src-block-match):
4313 * ob-exp.el (org-babel-exp-src-block):
4314 (org-babel-exp-non-block-elements):
4315 * ob-lob.el (org-babel-lob-execute): Handle new list of lists
4316 output of `org-babel-params-from-properties'.
4318 * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
4321 * ob-tangle.el (org-babel-tangle): Fix bug in tangle-file.
4322 Collect tangle modes, and only apply them to the file after all
4323 tangling has completed, including the post-tangle-hook.
4325 * ob-core.el (org-babel-read): Do not read #-prefix header-arg
4326 value as emacs lisp.
4328 * ob-core.el (org-babel-current-src-block-location):
4329 (org-babel-execute-src-block):
4330 * ob-exp.el (org-babel-exp-results):
4331 * ob-lob.el (org-babel-lob-execute):
4332 Rename `org-babel-current-exec-src-block-head' to
4333 `org-babel-current-src-block-location'.
4335 * ob-core.el (org-babel-common-header-args-w-values): Adding the
4336 new :tangle-mode header argument.
4337 (org-babel-read): Read values starting with a "#" character as
4340 * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
4343 * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
4344 new :tangle-mode header argument.
4346 * ob-exp.el (org-babel-exp-results): Save the code block location
4347 into `org-babel-current-exec-src-block-head' during export.
4349 * ob-comint.el (org-babel-comint-with-output): More robust edebug
4352 * ob-lob.el (org-babel-lob-execute): Set the
4353 `org-babel-current-exec-src-block-head' variable when executing
4354 inline or lob style code.
4356 * ob-core.el (org-babel-execute-src-block):
4357 The `org-babel-current-exec-src-block-head' variable should point to
4358 the outermost code block.
4360 * org.el (org-some): An org-mode version of the cl some function.
4362 * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
4363 check if values are matrices.
4365 * org.el (org-every): An Org-mode version of the cl every
4368 * ob-tangle.el (org-babel-tangle-jump-to-org):
4369 Use `org-src-switch-to-buffer' to jump from src to org. Use the
4370 existing `org-edit-src' functionality to jump back to the correct
4371 point in the code block in the original Org-mode buffer.
4373 * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
4374 gnuplot data values in " when necessary. Replace missing values
4375 with blank space in gnuplot.
4376 (org-babel-expand-body:gnuplot):
4377 (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
4378 (org-babel-header-args:gnuplot): Declare the.
4379 (org-babel-expand-body:gnuplot): Params is an alist not a plist.
4380 (org-babel-header-args:gnuplot): Declare gnuplot-specific header
4382 (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
4383 value of the missing header argument.
4384 (org-babel-gnuplot-process-vars): Wrap in local binding for
4386 (org-babel-gnuplot-quote-tsv-field): Replace missing value with
4387 the missing header argument value when present.
4389 * ob-org.el (org-babel-expand-body:org): Allow insertion of
4390 non-strings into Org code blocks.
4391 (org-babel-inline-result-wrap): New option controlling the
4392 wrapping of inline results.
4393 (org-babel-examplize-region): Use the new defcustom.
4395 * ox-beamer.el (org-beamer--format-frame): If contents is nil,
4396 then replace it with an empty string.
4398 * ob-core.el (org-babel-read): More restrictive elisp eval of
4401 * ob-lob.el (org-babel-lob-execute): Include default elisp header
4404 * ob-core.el (org-babel-result-cond): Don't over-evaluate
4405 result-params in macro.
4407 * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
4408 in Ruby code blocks.
4409 (org-babel-ruby-evaluate): Delay table processing.
4411 * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
4412 JavaScript code blocks.
4414 * ob-scheme.el (org-babel-execute:scheme):
4415 Use `org-babel-result-cond' in scheme code blocks.
4417 * ob-ocaml.el (org-babel-execute:ocaml):
4418 Use `org-babel-result-cond' in OCaml code blocks.
4420 * ob-haskell.el (org-babel-execute:haskell):
4421 Use `org-babel-result-cond' in Haskell code blocks.
4423 * ob-core.el (org-babel-result-cond): The "raw", "org" and
4424 "drawer" :results header argument values preclude table processing
4425 unless the "table" argument is given as well.
4426 (org-babel-execute-src-block): Make sure we process file results
4427 before they are passed to the post-processing code block, and not
4428 afterwards. Tangles these two header arguments in the code, but
4429 makes for more intuitive behavior and enables important use cases.
4430 (org-babel-read): Read code block values with earmuffs as Emacs
4432 (org-babel-common-header-args-w-values): Add :post to the list of
4434 (org-babel-execute-src-block): Post process results when the :post
4435 header argument has been supplied.
4437 * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
4438 save-excursion nested inside a save-window-excursion.
4440 * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
4441 used to match code block names.
4442 (org-babel-get-src-block-info): Remove the code used to parse this
4443 alternate variable specification syntax.
4444 (org-babel-insert-result): Cycle tables for :results org and
4447 * ob-python.el (org-babel-python-initiate-session-by-key): Fix a
4448 bug pointed out by Gary Oberbrunner.
4449 (org-babel-python-initiate-session-by-key): Add "-i" to the python
4450 command on windows sessions. Actually setting new session names.
4451 Pass Python buffer names to the new `run-python' command.
4452 (org-babel-python-with-earmufs): Add earmufs to a buffer name.
4453 (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
4454 (org-babel-python-initiate-session-by-key): Set the buffer name in
4455 a way which is understandable by the new python.el
4456 (org-babel-python-buffers): Change the default python buffer name.
4458 * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
4461 * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
4462 with a format string.
4464 * ob-core.el (org-babel-where-is-src-block-result): Allow comments
4465 between code blocks and un-named results.
4467 * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
4468 sqlite output as lisp.
4470 * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
4471 (org-babel-confirm-evaluate): Fix whitespaces.
4472 (org-babel-execute-src-block): A cond makes it more clear that we
4473 definitely do not execute without user confirmation.
4474 (org-babel-call-process-region-original): Fix line over 80 chars
4477 * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
4478 to reflect changed variable name.
4480 * ob-core.el (org-babel-expand-src-block): Return value of
4481 expanded code block on non-interactive calls.
4483 * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
4484 variables in perl code.
4485 (org-babel-perl-var-to-perl): Use said wrapper.
4487 * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
4488 command instead of shell-command.
4490 * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
4491 `tuareg-run-caml' is defined before use.
4492 (tuareg-run-ocaml): Declare for compiler.
4494 * ob-core.el (org-babel-result-regexp): Simplify regexp given new
4496 (org-babel-current-result-hash): New match string.
4497 (org-babel-hide-hash): New match string.
4498 (org-babel-where-is-src-block-result): New match string, and
4499 insert hashes in the new format.
4501 * ob-core.el (org-ts-regexp): Declare.
4502 (org-babel-result-regexp): Now matching time stamp as well.
4503 (org-babel-hash-show-time): New variable controlling the display
4505 (org-babel-current-result-hash):
4506 (org-babel-hide-all-hashes):
4507 (org-babel-where-is-src-block-result): Use hash time stamps.
4509 * ob-core.el: New file.
4511 * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
4513 2013-11-12 Feng Shu <tumashu@gmail.com>
4515 * ox-odt.el (org-odt--translate-latex-fragments):
4516 * ox-html.el (org-html-latex-environment)
4517 (org-html-latex-fragment): Fix imagemagick support.
4519 * org.el (org-create-formula-image-with-imagemagick):
4520 Generate correct size formula image.
4521 (org-format-latex-header): Change pagestyle command position.
4523 * ox-latex.el (org-latex--caption/label-string): Allow to build a
4524 caption string from `:caption' attribute of #+ATTR_LATEX.
4526 * ox.el (org-export-dictionary): Add Simplified Chinese
4527 translations for `org-export-dictionary'.
4529 2013-11-12 Florian Beck <fb@miszellen.de> (tiny change)
4531 * org.el (org-activate-bracket-links): Remove escapes from the
4534 2013-11-12 Francesco Pizzolante <xxx@public.gmane.org> (tiny change)
4536 * ox-html.el (org-html-headline): Normalize the construction of
4537 outline-container DIVs by always using the inner headline ID.
4539 * org.el (org-agenda-prepare-buffers): Protect with
4542 2013-11-12 Gregor Kappler <gregor@alcedo.(none)> (tiny change)
4544 * ox.el (org-export-as): Make sure org-export-babel-evaluate is
4545 not nil before calling `org-export-execute-babel-code'.
4547 2013-11-12 Grégoire Jadi <gregoire.jadi@gmail.com>
4549 * org.el (org-reftex-citation): Fix contrib package name in the
4551 (org-preview-latex-fragment, org-display-inline-images):
4552 Detect whether a graphic display is available before inlining images to
4554 (org-startup-with-latex-preview): New option.
4555 (org-startup-options): New startup keywords for the new option.
4556 (org-mode): Turn on/off LaTeX preview depending on the new option.
4557 (org-reverse-string): Add `org-reverse-string' to reverse a
4560 * org-id.el (org-id-new, org-id-decode):
4561 Replace `org-id-reverse-string' by `org-reverse-string'.
4563 * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
4564 by `org-reverse-string' and declare it.
4566 2013-11-12 Gustav Wikström <gustav.erik@gmail.com> (tiny change)
4568 * org-agenda.el (org-agenda-filter-by-category): Display all
4569 filtered out categories.
4571 2013-11-12 Ilya Zonov <izonov@gmail.com> (tiny change)
4573 * org-mouse.el (org-mouse-context-menu): Add a correct newtext
4574 parameter for "All Set" and "All Clear" menu items.
4576 2013-11-12 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
4578 * org.el (org-insert-todo-heading-respect-content): Pass correct
4579 prefix arg to always insert heading.
4582 (org-agenda-propertize-selected-todo-keywords): New function to
4583 highlight the current agenda todo keywords depending on
4584 `org-todo-keyword-faces'.
4585 (org-todo-list): Use the new function.
4587 2013-11-12 Ippei FURUHASHI <top.tuna+orgmode@gmail.com>
4589 * org-table.el (org-calc-current-TBLFM): New function to
4590 re-calculate the table by applying the #+TBLFM in the line where
4591 the point is. Ensure to remove the currently inserted TBLFM line,
4592 when calling `org-table-recalculate' returns an error and the
4595 * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
4596 point is in the #+TBLFM line.
4598 * org-table.el (org-TBLFM-begin): New function.
4599 (org-TBLFM-begin-regexp): New variable.
4601 * org.el (org-at-TBLFM-p): New function.
4602 (org-TBLFM-regexp): New defconst.
4604 2013-11-12 Ivan Vilata i Balaguer <ivan@selidor.net> (tiny change)
4606 * org-clock.el (org-clock-get-table-data): Pass tstart and tend
4607 time strings through `org-matcher-time' to allow relative times
4608 besides absolute ones, convert result to encoded time.
4610 2013-11-12 Jambunathan K <kjambunathan@gmail.com>
4612 * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
4613 (org-html--tags, org-html-format-headline)
4614 (org-html--format-toc-headline, org-html-checkbox)
4615 (org-html-table-cell, org-html-timestamp)
4616 (org-html-verse-block, org-html-special-string-regexps): Replace
4617 named HTML entities with their numeric counterparts. This keeps
4618 Freemind backend happy.
4620 * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
4621 change in rnc file names.
4623 * org-lparse.el (org-lparse-and-open)
4624 (org-lparse-do-convert): Open exported files with system-specific
4627 * org-odt.el: Don't meddle with `org-file-apps'.
4629 2013-11-12 Jarmo Hurri <jarmo.hurri@syk.fi>
4631 * org-table.el (org-define-lookup-function): New macro. Call it
4632 to generate new lookup functions `org-lookup-first',
4633 `org-lookup-last' and `org-lookup-all'.
4635 * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4637 (org-gnus-no-new-news): Use the new option.
4639 2013-11-12 Jonas Hoersch <coroa@online.de> (tiny change)
4641 * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4642 switching to 'children visibility state.
4644 * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4645 `org-show-entry' as it cannot unfold an inlinetask properly.
4647 2013-11-12 Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
4649 * ox-texinfo.el: New file.
4651 2013-11-12 Joost Diepenmaat <joost@zeekat.nl> (tiny change)
4653 * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4654 not be considered part of the source block for the purposes of
4657 2013-11-12 Justus Piater <justus-dev@piater.name>
4660 (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4661 to skip the deadline prewarning if the scheduled date is in the
4664 2013-11-12 Kodi Arfer <git@arfer.net> (tiny change)
4666 * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4667 root element when appropriate.
4668 (org-html-paragraph): Wrap "Figure %d:" in <span
4669 class="figure-number">.
4670 (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4671 <span class="table-number">.
4672 (org-html-list-of-listings): Wrap "Listing %d:" in
4673 <span class="listing-number">.
4674 (org-html-table): For HTML5, omit :html-table-attributes but not
4676 (org-html--build-meta-info): Insert no timestamp when
4677 :time-stamp-file is nil.
4679 2013-11-12 Lawrence Mitchell <wence@gmx.li>
4681 * ox-html.el (org-html-close-tag): Add space before attr.
4683 * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4684 cache before trying to resolve it in the parse tree.
4686 2013-11-12 Le Wang <le.wang@agworld.com.au>
4688 * org-src.el (org-edit-src-code): Use marker with insertion type t
4689 to track end and remove hack requiring delete from beg to (1-
4692 2013-11-12 Max Mikhanosha <max@openchat.com>
4694 * org-habit.el (org-habit-get-faces): Add show done days green
4697 * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4700 2013-11-12 Michael Brand <michael.ch.brand@gmail.com>
4702 * org-table.el (org-table-eval-formula): Align the arrow pointing
4703 to the error in a Calc formula to the other fomula debugger logs.
4705 * org.el (org-link-escape-chars-browser): Add char double quote.
4706 (org-open-at-point): Use the constant
4707 `org-link-escape-chars-browser'.
4709 * org-table.el (org-table-get-remote-range): Extend regexp to
4710 match "#+NAME: table" additionally to "#+TBLNAME: table".
4712 * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4713 places. Keep empty fields during preprocessing.
4714 (org-table-make-reference): Use nan (not a number) for empty
4715 fields in Calc formulas. A range with only empty fields should
4716 not always return 0 but also empty string, consistent with field
4717 reference of an empty field. Use future design for nan but
4718 replicate current behavior.
4719 (org-table-number-regexp): Extend 0x hex to fixed-point number,
4720 add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4723 2013-11-12 Muchenxuan Tong <demon386@gmail.com> (tiny change)
4725 * org-mobile.el (org-mobile-push): Add `save-restriction'.
4727 2013-11-12 Nicolas Goaziou <n.goaziou@gmail.com>
4729 * ox-latex.el (org-latex-compile): Remove all numbered temporary
4730 files after compiling.
4732 * org-element.el (org-element-headline-interpreter): Take into
4733 consideration `org-odd-levels-only' when building a headline.
4735 * ox-org.el (org-org-headline): Correctly set transcoded headline
4736 level during subtree export.
4738 * ox-html.el (org-html--format-toc-headline): TOC entries are
4739 closer to regular headline formatting.
4741 * org-element.el (org-element-context): Fix error when parsing
4742 affiliated keywords, e.g. "caption".
4744 * org.el (org-do-emphasis-faces): Look for verbatim status at
4746 (org-open-at-point): Check if link is non-nil before matching it.
4747 (org-export-insert-default-template): Make sure strings are
4748 properly quoted when inserting a template. Specifically, default
4749 value for drawers should be d:(not "LOGBOOK"), not d:(not
4751 (org-insert-heading): Do not error out when inserting is to be
4752 done at one of the buffer's boundaries.
4754 * ox-latex.el (org-latex-listings-options): Use correct number of
4755 backslash characters in the example.
4757 * org-element.el (org-element-latex-or-entity-successor)
4758 (org-element-latex-fragment-parser): Use `org-latex-regexps'
4759 instead of `org-format-latex-options'.
4765 * ox-md.el: Remove comments at the beginning of the file since
4766 the library is documented in Org manual.
4768 * org-element.el (org-element--list-struct):
4769 Use `org-match-string-no-properties'. Fix block parsing in lists.
4771 * ox-publish.el (org-publish-all): Fix compilation problem.
4773 * org-element.el (org-element-timestamp-interpreter):
4774 Correctly interpret timestamps with delays.
4775 (org-element-timestamp-parser)
4776 (org-element-timestamp-interpreter): Parse warning delays.
4778 * ox-beamer.el (org-beamer--format-section): Fix regression which
4779 prevents frames from being propely exported.
4781 * ox.el (org-export-with-backend): Ensure function will use
4784 * org-list.el (org-list-allow-alphabetical): Remove reference to
4787 * ox-beamer.el (org-beamer--format-section): Protect fragile
4788 commands in sections.
4790 * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4791 point on a link, make sure checkbox, if any, is toggled.
4793 * ox-beamer.el (org-beamer--format-block): Return an error message
4794 when using a special environment as a block type. Also check for
4795 incomplete environment definitions.
4797 * org-element.el (org-element-at-point): If point is at the end of
4798 the buffer, and that buffer ends with a list, and there's no final
4799 newline, return last element in last item instead of plain list.
4800 Fix infloop when called on a blank line at the end of the buffer
4803 * org.el (org-forward-paragraph, org-backward-paragraph):
4806 * org.el (org-meta-return): Allow M-RET to insert items within
4807 drawers. Rewrite function.
4809 * org-element.el (org-element-footnote-definition-parser):
4810 Fix value for :contents-begin when first line of footnote definition
4811 is empty besides the label.
4812 (org-element-at-point): Return correct element when point is on a
4813 blank line just below a headline.
4814 (org-element-paragraph-parser):
4815 Use `org-match-string-no-properties'. Small fixes to paragraph
4818 * org.el (org-adaptive-fill-function): Do not handle
4819 `adaptive-fill-regexp' in comments as the behavior is not
4822 * org-list.el (org-list-struct-apply-struct): Do not move item's
4823 contents within a child above when repairing indentation.
4825 * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4826 when properties are present.
4828 * ox.el (org-export-collect-headlines): Do not build TOC for
4829 headlines below H value.
4831 * org-element.el (org-element-context): Modify misleading
4833 (org-element-text-markup-successor)
4834 (org-element-latex-or-entity-successor)
4835 (org-element-export-snippet-successor)
4836 (org-element-footnote-reference-successor)
4837 (org-element-inline-babel-call-successor)
4838 (org-element-inline-src-block-successor)
4839 (org-element-line-break-successor, org-element-link-successor)
4840 (org-element-plain-link-successor, org-element-macro-successor)
4841 (org-element-radio-target-successor)
4842 (org-element-statistics-cookie-successor)
4843 (org-element-sub/superscript-successor)
4844 (org-element-table-cell-successor, org-element-target-successor)
4845 (org-element-timestamp-successor): Remove LIMIT argument.
4846 (org-element--parse-objects, org-element--get-next-object-candidates):
4847 Apply signature change to successors.
4848 (org-element-context): Narrow buffer around object containers so
4849 parsing of objects when using this function is done under the same
4850 restrictions as in buffer parsing.
4852 * ox.el (org-export-table-cell-alignment): Ensure required
4853 variables are available. Use correct :test.
4854 (org-export-table-cell-width): Modify key (now an element) and
4855 value structure (now a vector) of cache so it can use `eq' as
4856 test. Elements are circular lists so `equal' cannot apply on them.
4858 * ox-publish.el (project-plist): Remove variable.
4860 * ox.el (org-export-to-buffer, org-export-to-file):
4863 * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4864 which is always nil in this back-end.
4866 * org.el (org-adaptive-fill-function): Look for a fill prefix at
4867 the beginning of the paragraph and subsquently on its second line
4868 instead of the current line.
4870 * ob-core.el (org-babel-get-src-block-info): Look for indentation
4871 value at the correct location.
4873 * ox.el (org-export-data-with-backend): Set temporary back-end as
4874 the new back-end in local communication channel.
4875 (org-export-filter-apply-functions): Handle corner case where
4876 back-end is nil. Only provide back-end name (a symbol) as second
4877 argument of filters, not the full back-end (a vector).
4879 * ox-publish.el (org-publish-find-title): Fix title when no
4880 #+TITLE property is provided.
4882 * ox.el (org-export-store-default-title): Remove-function.
4883 (org-export--default-title): Remove variable.
4884 (org-export-options-alist): Do not use a default value.
4885 (org-export--get-buffer-attributes): Store a default title.
4886 (org-export-as): Apply function removal.
4887 (org-export--get-global-options): Do not set a property with an
4888 explicitly nil value.
4890 * ox-publish.el (org-publish-sitemap-sort-files)
4891 (org-publish-sitemap-sort-folders)
4892 (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4893 (org-publish-sitemap-date-format)
4894 (org-publish-sitemap-file-entry-format): Set prefix to
4895 "org-publish-sitemap" instead of "org-sitemap".
4896 (org-publish-compare-directory-files)
4897 (org-publish-get-base-files-1, org-publish-projects)
4898 (org-publish-format-file-entry): Use new prefix.
4900 * org-clock.el (org-clock-total-time-cell-format)
4901 (org-clock-file-time-cell-format): Use correct type.
4904 * ox-ascii.el (org-ascii-export-as-ascii)
4905 (org-ascii-export-to-ascii):
4906 * ox-beamer.el (org-beamer-export-as-latex)
4907 (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4908 * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4909 * ox-icalendar.el (org-icalendar-export-to-ics):
4910 * ox-latex.el (org-latex-export-as-latex)
4911 (org-latex-export-to-pdf):
4912 * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4913 * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4914 * ox-odt.el (org-odt-export-to-odt):
4915 * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4916 * ox-publish.el (org-publish-org-to):
4917 * ox-texinfo.el (org-texinfo-export-to-texinfo)
4918 (org-texinfo-export-to-info):
4919 * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4920 asynchronous export and the other to do extra processing from
4922 (org-export-to-file): Add two arguments: one to trigger
4923 asynchronous export and the other to do extra processing on the
4925 (org-export-async-start): Small clean up.
4927 * ox.el (org-export-as): Use new back-end structure.
4928 (org-export-current-backend): New variable.
4929 (org-export-as): Use new variable.
4931 * ox-ascii.el (org-ascii-table): Remove spurious new line between
4932 a table and the caption below.
4934 * ox.el (org-export-to-file): Preserve coding system when writing
4936 (org-export-stack-mode-map): Fix compilation error with Emacs <
4938 (org-export--dispatch-action): Maintain compatibility with Emacs
4941 * org.el (org-adaptive-fill-function, org-fill-paragraph):
4942 Add support for `adaptive-fill-regexp' in paragraphs and comments.
4943 (org-indent-line): Fix indentation after a list.
4945 * ox.el (org-export--get-inbuffer-options): Multiple options can
4946 now be set through the same buffer keyword.
4948 * org-element.el (org-element-plain-list-parser): Fix infloop when
4949 parsing a list at the end of buffer, if buffer doesn't end at a
4951 (org-element-link-parser): Do not url-decode parsed links.
4953 * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4954 spurious white spaces, excepted for source blocks' opening string.
4956 (pcomplete/org-mode/file-option): Remove spurious colons from
4959 * ox-publish.el (org-publish-find-date): Also return date for
4961 (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4962 extension restriction.
4964 * ox-beamer.el: Remove strange indentation in default header.
4965 (org-beamer-template): Fix missing newlines in header.
4967 * ox-latex.el (org-latex-template): Fix missing newlines in
4970 * ox.el (org-export-insert-default-template):
4971 Fix "wrong-type-argument" error in template insertion.
4973 * org.el (org-fill-paragraph): Use empty commented lines as
4974 separators when filling comments. This mimics default behavior
4975 from "newcomment.el", which is not used in Org.
4977 * ox-html.el (org-html-link): Add image attributes to "img" tag,
4978 not to the "a" container. Also fix spacing for attributes.
4980 * org.el (org-fill-paragraph): Do not mix consecutive comments
4981 when filling any of them.
4983 * ox-html.el (org-html-format-headline--wrap): Fix number of
4984 arguments when setting `org-html-format-headline-function'.
4986 * org-element.el (org-element-item-interpreter): This patch fixes
4987 "(wrong-type-argument arrayp nil)" error when trying to interpret
4988 empty items. Correctly interpret back plain lists with "*" items.
4989 This fixes "This is not a list" error returned in this case.
4991 * ox-latex.el (org-latex-listings): Update docstring.
4993 * org-pcomplete.el (pcomplete/org-mode/file-option/options):
4994 Apply changes to export back-end definiton.
4996 * org.el (org-get-export-keywords): Apply changes to export
4999 * ox-html.el (org-html--format-toc-headline): Make use of
5000 anonymous back-ends.
5002 * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
5004 (org-odt-format-label, org-odt-toc)
5005 (org-odt-format-headline--wrap): Use `org-export-with-backend'
5006 instead of `org-export-with-translations'.
5008 * ox.el (org-export--registered-backends): Rename from
5009 `org-export-registered-backends'.
5010 (org-export-invisible-backends): Remove variable.
5011 (org-export-get-backend, org-export-get-all-transcoders
5012 org-export-get-all-options, org-export-get-all-filters):
5013 New functions. It replaces `org-export-backend-translate-table'.
5014 (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
5015 org-export-define-backend, org-export-define-derived-backend):
5016 Rewrite functions using new representation.
5017 (org-export-backend-translate-table): Remove function.
5018 (org-export-get-environment): Use new function.
5019 (org-export--get-subtree-options, org-export--parse-option-keyword,
5020 org-export--get-inbuffer-options, org-export--get-global-options,
5021 org-export-to-buffer org-export-to-file, org-export-string-as
5022 org-export-replace-region-by): Update docstring.
5023 (org-export-data-with-translations): Remove function.
5024 Use `org-export-data-with-backend' with a temporary back-end instead.
5025 (org-export-data-with-backend, org-export-as): Reflect new definition
5027 (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
5028 definition for back-ends and variable removal. Refactoring.
5029 (org-export-filter-apply-functions): Call functions with
5030 current back-end's name, not full back-end.
5032 * org.el (org-export-backends, org-create-formula--latex-header):
5033 Use new structure and variables.
5035 * ox-html.el (org-html-inline-images): Change default value and
5037 (org-html-format-inline-image): Remove functions.
5038 (org-html--wrap-image, org-html--format-image)
5039 (org-html-inline-image-p): New functions.
5040 (org-html-latex-environment, org-html-latex-fragment): Use new
5042 (org-html-standalone-image-p): Use new functions. Also remove an
5043 unused optional argument.
5044 (org-html-link, org-html-paragraph): Correctly export hyperlinked
5047 * ox.el (org-export-dictionary): Update some translations.
5049 * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
5051 (org-odt-format-label): Add docstring. Internationalize prefix.
5053 * ox.el (org-export-dictionary): Add entry for colons.
5055 * ox-odt.el (org-odt--suppress-some-translators): Remove function.
5057 * ox-html.el (org-html-link): Remove left-over binding.
5059 * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
5060 title in environment definition.
5061 (org-beamer--format-block): Handle new placeholders.
5063 * ox-html.el (org-html-link): Small refactoring.
5065 * org-element.el (org-element--current-element):
5066 Fix org-meta-return error at the end of buffer.
5068 * ox-odt.el (org-odt-category-map-alist): Fix internationalization
5069 of "Table" and "Listing".
5071 * ox.el (org-export-dictionary): Remove useless dictionary
5074 * ox-ascii.el (org-ascii--build-caption): Apply removal.
5076 * ox.el (org-export-dictionary): Add spanish and german
5079 * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
5080 description always use that description, even if the description
5081 is the same as the headline title.
5082 (org-odt-plain-text): Allow to turn smart quotes off.
5084 * ox-latex.el (org-latex--get-footnote-counter): Remove function.
5086 * org.el (org-setup-filling): Set `paragraph-start' and
5087 `paragraph-separate'.
5088 (org-fill-paragraph-separate-nobreak-p): Remove function.
5089 (org-mode): Do not set `paragraph-start'.
5091 * ox-html.el (html): Replace "HTML_HTML5_FANCY",
5092 "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
5093 respectively, ":html5-fancy", "html-style" and "html-scripts"
5095 (org-html-html5-fancy): Reformat docstring.
5096 (org-html-template): Fix typo preventing insertion of link up/link
5099 * org.el (org-create-formula--latex-header): Replace AUTO with
5100 appropriate language when previewing snippets.
5102 * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
5103 items description tags. Also remove a unnecessary hack allowing
5104 footnotemark with an optional argument in the tag.
5106 * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
5107 link lives before the first headline.
5109 * org-element.el (org-element-special-block-parser): Fix typo in
5110 regexp matching block type. Also quote the type so it can contain
5113 * ox-latex.el (org-latex-pdf-process): This argument can cause
5114 problem with links with a relative path, since compilation happens
5115 in a different directory.
5117 * org.el (org-latex-default-packages-alist): Load "ulem" package
5118 by default. Use "[normalem]" option to preserve \emph definition.
5120 * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
5121 "\sout" commands from "ulem" package.
5123 * org.el (org-latex-default-packages-alist): Document need for
5126 * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
5127 package) instead of \underline for underline text.
5129 * ox.el (org-export-read-attribute): Fix "Wrong argument type"
5130 error when attributes start with :key "".
5132 * org.el (org-fill-paragraph-separate-nobreak-p)
5133 (org-fill-line-break-nobreak-p)
5134 (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
5136 * org-element.el (org-element--list-struct): Fix failing
5137 "plain-list-parser" test.
5139 * ox-latex.el (org-latex-src-block): Handle :float attribute.
5140 Its value can be set to "t", "multicolumn" or "nil". Also remove
5141 :long-listing attribute, which is now replaced with :float nil.
5142 (org-latex--org-table): Replace :float table with :float t.
5143 (org-latex--inline-image): Replace :float figure with :float t.
5144 (org-latex-long-listings): Remove variable.
5146 * org-element.el (org-element--list-struct): New function.
5147 (org-element-plain-list-parser, org-element--current-element):
5150 * ox-man.el (org-man-compile):
5151 * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
5153 * ox-latex.el (org-latex-compile):
5154 * ox-man.el (org-man-compile):
5155 * ox-texinfo.el (org-texinfo-compile): Properly set working
5158 * ox-latex.el (org-latex-compile):
5159 * ox-texinfo.el (org-texinfo-compile): Make sure generated file
5160 can be found by `file-exists-p'.
5162 * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
5164 * org-element.el (org-element--remove-indentation):
5166 (org-element--remove-indentation): New function.
5167 (org-element-example-block-parser, org-element-src-block-parser):
5169 (org-element-src-block-interpreter): Update function according to
5172 * ox.el (org-export-unravel-code): Do not remove any indentation
5173 since it now happens at the parser level.
5174 (org-export-table-cell-width): Be sure to use cache even when
5175 stored value is nil.
5176 (org-export--default-title): Fix "Symbol's value as variable is
5177 void: org-export--default-title".
5179 * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
5180 internal function since it is called at each cell, though its
5181 value only change column wise.
5183 * ox.el (org-export-resolve-fuzzy-link): Change property name
5185 (org-export-table-has-header-p, org-export-table-row-group)
5186 (org-export-table-cell-width, org-export-table-cell-alignment):
5188 (org-export-table-cell-address): Refactor.
5189 (org-export-get-parent): Inline function.
5190 (org-export-options-alist): Change default value for :title
5192 (org-export--default-title): New dynamically scoped variable.
5193 (org-export-store-default-title): New function.
5194 (org-export--get-buffer-attributes): Remove title handling.
5195 (org-export--get-global-options): Revert "ox: Fix default title".
5198 * ox-html.el (org-html-format-latex): Provide a prefix for
5199 temporary file when using dvipng, even if the current buffer isn't
5200 associated to a file.
5202 * ox.el (org-export-resolve-radio-link): Ignore whitespace
5203 differences when resolving a radio link.
5204 (org-export-resolve-radio-link): Fix radio target resolution.
5206 * org-element.el (org-element--current-element): Be stricter when
5207 matching arguments in LaTeX environments. In particular, do not
5208 allow anything else than options and arguments in the opening
5211 * ox-html.el (org-html-inner-template): Remove code relative to
5213 (org-html-bibliography): Remove function.
5215 * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
5216 not only \^, so it doesn't become a diacritic.
5218 * ox-html.el (org-html--build-meta-info): Fix code typo.
5220 * ox.el (org-export-expand-include-keyword): Avoid using `read' to
5221 determine file name.
5222 (org-export--get-global-options): Properly set default title,
5223 i.e. when to TITLE keyword is provided.
5225 * org-element.el (org-element--parse-elements): Also parse visible
5226 headlines within an otherwise compacted headline.
5228 * ox.el (org-export-expand-include-keyword): Tolerate included
5229 file names without double quotes.
5230 (org-export-resolve-fuzzy-link): Fix caching process.
5232 * ox-publish.el (org-publish-find-date): Fix "Invalid time
5233 specification" error with timestamps in DATE.
5235 * org-element.el (org-element--current-element): Allow the opening
5236 string of a LaTeX environment to contain additional arguments.
5238 * org.el (org-insert-heading): Refactor to use `org-in-item-p'
5241 * ox.el (org-export-expand): Optionally add affiliated keywords to
5244 * ox-org.el (org-org-identity): Use new argument for
5245 `org-export-expand'.
5247 * org.el (org-fill-paragraph): Move to table beginning before
5248 aligning the table when M-q is called from an affiliated keyword.
5250 * org-list.el (org-list-allow-alphabetical): Properly update
5251 `org-list-allow-alphabetical' when changed after org.el has been
5254 * org-element.el (org-element-fixed-width-interpreter):
5255 Fix interpretation of fixed-width elements with a nil or empty string
5258 * ox-html.el (org-html-link): Don't skip the link description when
5259 it matches the name of the headline it targets.
5261 * ox-html.el (org-html-link): Don't skip the link description when
5262 it matches the name of the headline it targets.
5264 * ox-ascii.el (ascii): Remove inexistant function.
5266 * ox-icalendar.el (icalendar): Ignore footnotes.
5267 (org-icalendar--combine-files): Small refactoring.
5269 * ox.el (org-export--skip-p, org-export--interpret-p):
5270 When `org-export-with-footnotes' is nil, ignore completely footnotes
5271 references and definitions instead of exporting them verbatim.
5273 * ox-beamer.el (org-beamer--frame-level): Small refactoring.
5274 (org-beamer--format-block, org-beamer-headline): Do not systematically
5275 downcase environment names as some require upper case in their
5276 names (e.g. noteNH and CJK).
5278 * ox.el (org-export-with-timestamps): Only applies to isolated
5279 timestamps, i.e. timestamps in a paragraph containing only
5280 timestamps and empty strings.
5281 (org-export--skip-p): Skip timestamps according to new behavior.
5283 * ox-latex.el (org-latex--script-size): Handle consecutive
5284 alterning sub and superscript.
5286 * ox-org.el (org-org-identity): Fix docstring. Tiny refactoring.
5287 (org-org-headline, org-org-keyword): Fix docstring.
5289 * ox-latex.el (org-latex--script-size): Use \text command for
5290 subscript and superscript. This is far superior to \mathrm, but
5291 it requires "amstext" package. In particular, accented characters
5292 are now allowed within sub/superscript.
5294 * org.el (org-latex-default-packages-alist): Add "amstext"
5297 * ox-latex.el (org-latex--script-size): Fix error when using
5298 sub/superscript within sub/superscript.
5300 * ox-latex.el (org-latex--script-size): New function.
5301 (org-latex-subscript, org-latex-superscript): Use new function.
5302 Remove instructions since everything is documented in Org manual.
5304 * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
5305 for keywords, the latter being hard to type, somewhat difficult to
5306 read, and overall just pedantic.
5308 * ox-latex.el (org-latex-classes): Be more explicit about
5311 * ox-html.el (org-html--build-meta-info): Fix invalid characters
5314 * ox.el (org-export-filters-alist): Remove macro filter.
5315 (org-export-filter-macro-functions): Remove variable.
5317 * ox-beamer.el (beamer): Install a default class set-up when
5320 * ox-latex.el (org-latex-classes): Update docstring.
5322 * ox-latex.el (org-latex--inline-image): Remove specific default
5323 image width for floats. If no width nor height is provided, it
5324 should default to `org-latex-image-default-width' value.
5326 * org.el (org-extract-attributes-from-string)
5327 (org-attributes-to-string): Remove functions.
5329 * ox-html.el (html): Rename :html-table-tag property into
5330 :org-table-attributes.
5331 (org-html-table-default-attributes): New variable.
5332 (org-html-table-tag): Remove variable.
5333 (org-html--make-attribute-string): New function.
5334 (org-html-link--inline-image, org-html-table): Use new function.
5335 (org-html-splice-attributes, org-export-splice-style):
5337 (org-html-inline-image-rules): Remove out of context part of the
5340 * ox.el (org-export-read-attribute): Allow to use empty strings in
5343 * ox-html.el (org-html-metadata-timestamp-format): New variable,
5344 renamed from `org-html--timestamp-format'.
5345 (org-html--build-meta-info, org-html-format-spec,
5346 org-html--build-pre/postamble): Use new variable.
5348 * ox.el (org-export-table-row-number): New function.
5349 (org-export-table-cell-address): Use new function.
5351 * org-element.el (org-element-table-cell-successor): Parse table
5352 cells with missing ending space.
5354 * ox-latex.el (org-latex--math-table): Fix inline-math table
5357 * ox-html.el (org-html-doctype): Make value fit on a single line
5358 so `org-export-insert-default-template' can handle it.
5359 (org-html-creator-string): Change default value.
5361 * ox.el (org-export-creator-string): Change default value.
5363 * ox-html.el (org-html-postamble-format)
5364 (org-html-preamble-format): Allow last modification time of source
5365 in template. Fix docstrings.
5366 (org-html-format-spec): Produce last modification time when the source
5369 * ox.el (org-export-with-archived-trees, org-export-with-author)
5370 (org-export-with-clocks, org-export-with-date)
5371 (org-export-creator-string, org-export-with-drawers)
5372 (org-export-with-email, org-export-with-emphasize)
5373 (org-export-exclude-tags, org-export-with-fixed-width)
5374 (org-export-with-footnotes, org-export-with-latex)
5375 (org-export-headline-levels, org-export-default-language)
5376 (org-export-preserve-breaks, org-export-with-entities)
5377 (org-export-with-inlinetasks, org-export-with-planning)
5378 (org-export-with-priority, org-export-with-section-numbers)
5379 (org-export-select-tags, org-export-with-smart-quotes)
5380 (org-export-with-special-strings)
5381 (org-export-with-statistics-cookies)
5382 (org-export-with-sub-superscripts, org-export-with-toc)
5383 (org-export-with-tables, org-export-with-tags)
5384 (org-export-with-tasks, org-export-time-stamp-file)
5385 (org-export-with-timestamps, org-export-with-todo-keywords):
5388 * ox-html.el (org-html-postamble-format): Slightly change default
5389 value so "Generated by" string doesn't get duplicated.
5390 (org-html-creator-string): Fix docstring.
5392 * ox.el (org-export--get-inbuffer-options)
5393 (org-export--list-bound-variables)
5394 (org-export--generate-copy-script, org-export-string-as)
5395 (org-export-expand-include-keyword)
5396 (org-export--prepare-file-contents): Inhibit startup process when
5399 * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
5400 with some DATE values: :date property in communication channel is
5403 * ox.el (org-export-insert-default-template): New function.
5404 (org-export--dispatch-ui, org-export--dispatch-action): Access to
5405 the function through the dispatcher.
5407 * ox-icalendar.el (org-icalendar-convert-timestamp):
5409 (org-icalendar-dtstamp): New function.
5410 (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
5412 * ox-ascii.el (org-ascii-link):
5413 * ox-html.el (org-html-keyword):
5414 * ox-latex.el (org-latex-keyword, org-latex-link):
5415 * ox-man.el (org-man-keyword):
5416 * ox-md.el (org-md-link):
5417 * ox-odt.el (org-odt-keyword):
5418 * org.el (org-store-link, org-link-search, org-options-keywords):
5419 Remove reference to TARGET keyword.
5421 * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
5422 Do not use TARGET as a destination for links anymore.
5424 * ox-org.el (org): Add a menu entry for the back-end.
5425 (org-org-export-as-org, org-org-export-to-org): New functions.
5427 * org.el (org-export-backends): Accept `org' as a loadable
5430 * ox-ascii.el (org-ascii-template--document-title): Use new function.
5432 * ox-beamer.el (org-beamer-template): Use new function.
5434 * ox-html.el (org-html-format-spec): Use new function.
5436 * ox-latex.el (org-latex-template): Use new function.
5437 (org-latex-date-timestamp-format): Remove variable.
5439 * ox.el (org-export-date-timestamp-format): New variable.
5440 (org-export-get-date): New function.
5442 * ox-odt.el (org-odt--format-paragraph): New function.
5443 (org-odt-paragraph): Use new function to limit code duplication.
5444 (org-odt-footnote-reference): Change default style for paragraphs
5445 when transcoding a footnote definition.
5447 * org-macro.el (org-macro--collect-macros): Fix a bug where
5448 reading a macro in a setup file would remove other macros read so
5449 far from template. Change function signature.
5450 (org-macro-initialize-templates): Apply signature change from function
5453 * ox.el (org-export--list-bound-variables): Rename from
5454 `org-export--install-letbind-maybe'. Though, only return list of
5455 bound variables instead of installing them as buffer-local
5457 (org-export-get-environment): Use new function. Take care of the
5458 installation of bound variables.
5459 (org-export--generate-copy-script): Make sure non-Org variables are
5460 also installed in buffer copy.
5462 * ox.el (org-export-get-environment): Update comment.
5463 (org-export--install-letbind-maybe): Go into SETUPFILE files and
5464 handle BIND keywords there.
5466 * ox-latex.el (org-latex-link): Do not prefix relative paths with
5469 * org.el (org-link-search): Preserve priority of #+TARGET over
5470 #+NAME when resolving a link.
5472 * ox-latex.el (org-latex-long-listings): New variable.
5473 (org-latex-src-block): Use new variable.
5475 * ox.el (org-export-data): White spaces after export snippets are
5478 * org-element.el (org-element-macro-parser): Allow to escape
5479 escaping character before a comma. Also do not trim spaces at
5480 argument boundaries.
5482 * ox.el (org-export-async-start): Use correct coding system so
5483 unibyte characters do not appear in the resulting buffer or file.
5484 (org-export--copy-to-kill-ring-p): Move function elsewhere in the
5487 * ox-latex.el (org-latex--inline-image): Fix error when no default
5488 width, height and option are provided and no attribute is set for
5491 * org.el (org-comment-or-uncomment-region): Fix commenting lines
5492 beginning with a link.
5493 (org-delete-char): Fix "Invalid use of `\\' in replacement text"
5494 when deleting a character in a cell which contains "\"
5495 (org-export-backends): Remove duplicates. Reorder alphabetically.
5497 * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
5498 `memq' when matching strings.
5500 * ox.el (org-export-read-attribute): Do not use `read' to read
5501 attributes. Instead, extract keywords and values from it, which
5502 means each value will be a string when non-nil.
5504 * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
5506 * ox-html.el (org-html--textarea-block): Use new attribute syntax.
5508 * ox-latex.el (org-latex--inline-image, org-latex--org-table)
5509 (org-latex--math-table): Use new attribute syntax.
5511 * ox-man.el (org-man-table--org-table): Use new attribute syntax.
5514 * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell):
5515 Use new attribute syntax.
5517 * ox.el (org-export-async-start): Remove code evaluation queries
5518 from asynchronous export.
5520 * ox-latex.el (latex): Activate smart quotes by default.
5521 (org-latex--inline-image): Don't insert a default width when
5522 height is provided in a figure environment.
5523 (org-latex--inline-image): Do not use default width
5524 (resp. height) when an user height (resp. width) is provided.
5525 Also, default height is only used when image is not wrapped within
5526 a figure or wrapfigure environment, in order to preserve ratio.
5527 (org-latex-image-default-width, org-latex-image-default-height):
5530 * ox-icalendar.el (org-icalendar-create-uid): Fix error when
5531 `org-icalendar-store-UID' is non-nil.
5533 * ox-latex.el (latex): Introduce new buffer keyword.
5534 (org-latex-template): Use new keyword.
5536 * ox-beamer.el (org-beamer-template): Use new keyword.
5538 * org.el (org-create-formula--latex-header): Use new keyword.
5540 * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
5541 (org-beamer-environments-extra): Add :version and
5544 * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
5545 Add :version and :package-version.
5547 * ox-latex.el (org-latex-inline-image-rules)
5548 (org-latex-default-table-environment)
5549 (org-latex-default-table-mode, org-latex-tables-booktabs)
5550 (org-latex-table-scientific-notation, org-latex-known-errors):
5551 Add :version and :package-version.
5553 * ox-md.el (org-md-headline-style): Add :version and
5556 * ox-odt.el (org-odt-with-latex): Add :version
5557 and :package-version.
5559 * ox.el (org-export-with-drawers, org-export-with-latex)
5560 (org-export-with-inlinetasks, org-export-with-planning)
5561 (org-export-with-smart-quotes, org-export-with-statistics-cookies)
5562 (org-export-allow-bind-keywords, org-export-async-init-file):
5563 Add :version and :package-version.
5565 * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
5566 name from `e-ascii' to `ascii'.
5568 * ox.el (org-export--generate-copy-script): Call `org-mode' when
5569 duplicating a buffer. It will properly set every variable, like
5571 (org-export-async-start): Do not call `org-mode' since this is done
5572 already in the previous function.
5574 * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
5575 generated from a TOC keyword.
5577 * org.el (org-export-backends): Do not reset list of loaded
5578 back-ends to variable's value after a reload.
5580 * ox-latex.el (org-latex-src-block): Do not overwrite provided
5581 numbering options in minted and listings.
5582 (org-latex-headline): Don't add optional title on unnumbered
5585 * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
5586 keywords. Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
5589 * org.el (org-fill-paragraph): Small refactoring to
5590 `org-fill-paragraph'. Do not look for table cells in a paragraph.
5592 * org-element.el (org-element-object-restrictions):
5593 Simplify restrictions within secondary strings and objects.
5595 * org-list.el (org-list-send-list): Do not rely on
5596 `org-list-parse-list'.
5597 (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
5598 Use appropriate export back-end instead of using
5599 `org-list-to-generic'.
5601 * ox-html.el (org-html-inner-template): Remove contents div and
5603 (org-html-template): Add contents div and title.
5604 (org-html-infojs-install-script): Can't activate jsinfo script
5605 during a body-only export.
5607 * ox.el (org-export-as): Store export options in :export-options
5608 porperty within communication channel.
5610 * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
5611 is set in an ordered list while its parent is not ordered.
5613 * ox.el (org-export-format-code-default): Handle empty source
5614 blocks more gracefully.
5616 * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
5619 * org.el (org-export-backends): Update variable. `infojs' was
5620 merged into ox-html and `freemind' was added.
5622 * ox.el (org-export--selected-trees): Also mark inlinetasks with a
5624 (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5626 * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5627 for unescaping code.
5629 * ox-html.el (org-html-link): Silence byte-compiler.
5630 (html): Add infojs installation script in options filter.
5631 (org-html-infojs-install-script): Remove check for back-end as we
5632 can safely assume the function will be called from `html' back-end
5633 or one of its derivative.
5635 * ox-icalendar.el (org-agenda-collect-markers)
5636 (org-create-marker-find-array): Remove functions.
5637 (org-icalendar-export-current-agenda): Integrate previous
5640 * ox-latex.el (org-latex-format-headline-default-function):
5641 Use declarative shape to nest makup for TODO keywords.
5642 Previous syntax generated errors during export.
5644 * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5645 `kill-emacs-hook'. The first one has been run in the original
5646 buffer. The second is not necessary and can pollute output to a
5647 temporary buffer (e.g. with `org-clock-persistence-insinuate').
5649 * ox-html.el (org-html-inner-template): Remove title.
5650 (org-html-template): Add title.
5652 * ox.el (org-export--get-min-level): Ignore footnote section when
5653 computing minimal headline level.
5655 * org.el (org-do-latex-and-related): Fix infloop when user
5656 provides a wrong value for `org-highlight-latex-and-related'.
5657 In this case, `org-latex-and-related-regexp' is the empty string and
5658 generates an infloop since matching it doesn't move point.
5660 * org-element.el (org-element-headline-parser):
5661 Rename :optional-title into :alt-title.
5663 * ox.el (org-export-get-alt-title): Rename from
5664 `org-export-get-optional-title'.
5666 * ox-ascii.el (org-ascii--build-title):
5667 * ox-html.el (org-html--format-toc-headline):
5668 * ox-latex.el (org-latex-headline):
5669 * ox-texinfo.el (org-texinfo--get-node)
5670 (org-texinfo--generate-menu-items): Apply name change.
5672 * ox.el (org-export--get-inbuffer-options): Remove an optional
5673 argument. Rewrite function. Properties read from a setupfile do
5674 not overwrite anymore previously computed properties.
5675 (org-export-get-environment): Apply changes to previous function.
5677 * org.el (org-create-formula--latex-header): Apply arity change
5678 from `org-export--get-inbuffer-options'.
5680 * ox-latex.el (org-latex-compile): Add an optional argument for
5681 latex snippet previewing.
5683 * org.el (org-create-formula-image-with-imagemagick):
5684 Use `org-latex-compile' instead of rewriting it.
5686 * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5687 regexps that may match large strings.
5689 * org.el (org-create-formula--latex-header): New function.
5690 (org-create-formula-image-with-dvipng)
5691 (org-create-formula-image-with-imagemagick): Use new function.
5693 * ox.el (org-export-get-previous-element): Change order of retured
5694 elements in `org-export-get-previous-element'.
5696 * org-element.el (org-element-all-successors): Add `plain-link'
5698 (org-element-object-restrictions): Remove `link' within `link'.
5699 Allow `plain-link' instead.
5700 (org-element-plain-link-successor): New function.
5702 * org.el (org-match-substring-regexp)
5703 (org-match-substring-with-braces-regexp): Update regexp.
5704 A sub/superscript cannot start anymore at the beginning of the line
5707 * org-element.el (org-element--get-next-object-candidates):
5708 Rewrite function to simplify algorithm.
5709 (org-element-context, org-element--parse-elements): Apply changes.
5711 * org.el (org-fill-paragraph): Apply changes.
5713 * ox-html.el (org-html-link, org-html-link--inline-image):
5714 Attributes specified to a paragraph only apply to first link
5717 * ox-latex.el (org-latex-headline): Do not add optional section
5718 name when section is unnumbered.
5720 * org.el (org-in-verbatim-emphasis): Fix false positive when point
5721 is just after the closing emphasis marker.
5722 (org-fill-paragraph): Do not move point when filling a table.
5724 * ox-ascii.el (ascii): Add new filter.
5725 (org-ascii-filter-comment-spacing): New function.
5726 (org-latex-keyword): Remove "figures" value.
5728 * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5730 * ox-html.el (org-html--format-toc-headline): Fix function name.
5731 (org-html-toc, org-html--toc-text): Change to docstring.
5732 (org-html-list-of-listings, org-html-list-of-tables):
5734 (org-html-keyword): Use new functions.
5735 (org-html-src-block): Add an ID attribute when a name is given.
5737 * org-element.el (org-element-footnote-definition-parser):
5738 Require 2 blank lines to separate footnote definition.
5740 * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5741 lines to separate footnote definition.
5743 * ox.el (org-export-stack): Rewrite.
5744 (org-export-stack-refresh): Refactor.
5745 (org-export-stack-remove, org-export-stack-view): Apply renaming.
5746 (org-export-stack-mode-map): Use tabulated list map as a basis.
5747 (org-export-stack--generate, org-export-stack--num-predicate):
5749 (org-export-get-optional-title): Return regular title when no
5750 optional title is found.
5752 * ox-ascii.el (org-ascii--build-title): Apply change to
5753 `org-export-get-optional-title'.
5755 * ox-html.el (org-html--format-toc-headline): Apply change to
5756 `org-export-get-optional-title'.
5758 * ox-latex.el (org-latex-headline): Apply change to
5759 `org-export-get-optional-title'.
5761 * ox-ascii.el (org-ascii--build-title): Add an argument.
5762 Use optional title when building a toc line.
5763 (org-ascii--build-toc): Call `org-ascii--build-title' with
5764 appropriate arguments.
5766 * ox-latex.el (org-latex-headline): Use optional title for table
5769 * ox-html.el (org-html--toc-text): Rename from
5770 `org-html-toc-text'. Add docstring.
5771 (org-html--format-toc-headline): Rename from
5772 `org-html-format-toc-headline'. Add docstring. Use optional
5774 (org-html-toc): Add docstring.
5776 * org-element.el (org-element-headline-parser): Node property
5777 :OPTIONAL_TITLE: in a headline will be parsed and stored under
5778 :optional-title property.
5780 * ox.el (org-export-get-optional-title): New function.
5782 * ox-latex.el (org-latex-format-headline-default-function):
5783 Make the variable a function.
5785 * ox-publish.el (org-publish-resolve-external-fuzzy-link):
5786 No error when resolving external fuzzy links outside publishing.
5787 Though search option for these links will not be resolved.
5789 * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5790 according to `org-export-coding-system'.
5792 * ox.el (org-export--generate-copy-script):
5793 Clone `buffer-file-coding-system' when creating a buffer copy.
5795 * ox-html.el (org-html-link): Resolve external links with search
5796 options like [[file.org::#custom-id]] or
5797 [[file.org::*headline-search]].
5799 * ox-publish.el (org-publish-collect-numbering)
5800 (org-publish-resolve-external-fuzzy-link): New functions.
5801 (org-publish-org-to): Add new collecting function to final output
5802 filter. Move index collecting function to the same filter.
5803 (org-publish-collect-index): Called from final output filter.
5805 * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5806 Use :CUSTOM_ID, not :custom-id.
5808 * org-element.el (org-element-latex-environment-parser): Fix wrong
5809 value for :post-affiliated property when parsing a latex
5812 * ox-latex.el (org-latex-property-drawer): Remove function.
5814 * ox-ascii.el (org-ascii-filter-paragraph-spacing):
5815 Remove reference to now renamed `e-ascii' back-end.
5817 * ox-beamer.el (org-beamer-template): Allow to span documentclass
5818 options accross multiple lines in template.
5820 * ox-latex.el (org-latex-template): Allow to span documentclass
5821 options accross multiple lines in template.
5823 * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5824 (org-texinfo--get-node): New function.
5825 (org-texinfo-headline, org-texinfo-link): Use new function.
5827 * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5828 contents. Just indent them.
5830 * ox-publish.el (org-publish-index-generate-theindex): Do not
5831 create an "* Index" headline in "theindex.inc". Though, create an
5832 "Index" title in fallback "theindex.org".
5834 * ox-publish.el (org-publish-projects): Publish "theindex.org"
5835 last, so that "theindex.inc" can be completed.
5837 * ox-publish.el (org-publish-project-alist): Fix docstring.
5838 (org-publish-collect-index): Fix typo.
5840 * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5841 highlighting brackets in UI
5843 * org-element.el (org-element-headline-parser)
5844 (org-element-inlinetask-parser): Fix docstring.
5846 * org.el (org-export-backends): Add new back-end in customize
5849 * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5850 (org-beamer--format-section, org-beamer--format-frame)
5851 (org-beamer--format-block, org-beamer-headline): Apply changes to
5854 * ox-html.el (org-html-headline, org-html-link, org-html-section):
5855 Apply changes to properties.
5857 * ox-icalendar.el (org-icalendar-create-uid)
5858 (org-icalendar-blocked-headline-p, org-icalendar-entry)
5859 (org-icalendar--valarm): Apply changes to properties.
5861 * ox-odt.el (org-odt-headline): Apply changes
5863 * ox-publish.el (org-publish-collect-index): Apply changes to
5866 * ox-texinfo.el (org-texinfo--generate-menu-list)
5867 (org-texinfo--generate-menu-items, org-texinfo-template)
5868 (org-texinfo-headline, org-texinfo-link): Apply changes to
5871 * ox.el (org-export-resolve-id-link, org-export-get-category):
5872 Apply changes to properties.
5873 (org-export-get-node-property): Update docstring.
5875 * org-element.el (org-element-headline-parser)
5876 (org-element-inlinetask-parser): Upcase properties. This is done
5877 to avoid confusion between properties from parser (e.g. `:end')
5878 and properties from the property drawer (e.g. :END:).
5880 * ox-publish.el (org-publish-index-generate-theindex): Preserve
5881 order in file. Fix error when two index entries were identical.
5882 Create again theindex.inc.
5884 * org-element.el (org-element-map): Allow to map over any list.
5885 Do not restrict mapping to object types.
5887 * org-faces.el (org-latex-and-related): Rename from
5888 `org-latex-and-export-specials', which wasn't appropriate anymore.
5890 * org.el (org-highlight-latex-and-related)
5891 (org-latex-and-related-regexp): New variables.
5892 (org-compute-latex-and-related-regexp, org-do-latex-and-related):
5893 New function, revived from a previous commit.
5894 (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5896 (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5899 * ox-publish.el (org-publish-org-to): Small refactoring.
5901 * ox.el (org-export-install-filters): Properly install filters
5902 send through ext-plist mechanism.
5904 * ox-publish.el (org-publish-org-to): Small refactoring.
5906 * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5907 ox-publish.el takes care of it already.
5909 * org-macro.el: New file.
5911 * org.el: Remove macro code.
5913 * ox.el: Require new library
5915 * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5916 when matching an headline.
5917 (org-export--dispatch-ui): Display a help message in header line
5918 for scrolling dispatcher's buffer
5919 (org-export-resolve-radio-link): Radio targets are
5922 * ox-icalendar.el (org-export-icalendar): Fix docstring.
5924 * ox.el (org-export-dispatch): Fix docstring.
5925 (org-export--dispatch-action): Small improvement to line by line
5927 (org-export-resolve-fuzzy-link): Refactor. Whitespaces are not
5928 significant when matching a fuzzy link.
5930 * org-element.el (org-element-link-parser): Do not remove newlines
5931 characters in paths anymore, since this is not required.
5933 * ox.el (org-export--dispatch-ui): Rename from
5934 `org-export-dispatch-ui'. Handle scrolling.
5935 (org-export--dispatch-action): Rename from
5936 `org-export-dispatch-action'. Implement scrolling.
5937 (org-export-dispatch): Apply renaming.
5939 * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5940 but still run `org-ctrl-c-ctrl-c-final-hook'.
5941 (org-end-of-line): Remove `ignore-error'.
5943 * org-element.el (org-element-at-point): Return nil when in the
5944 first empty lines of the buffer. Return headline when in empty
5945 lines just after the headline.
5947 * ox.el (org-export-output-file-name): Add a protection when
5948 output file name is the same as the original org.
5950 * ox-beamer.el (org-beamer-template): Add missing `class' argument
5951 for `format-string'.
5953 * ox-latex.el (org-latex-template): Add missing `class' argument
5954 for `format-string'.
5956 * ox.el (org-export-stack-mode): Fix docstring.
5958 * org-pcomplete.el (pcomplete/org-mode/file-option):
5959 Allow completion for ATTR_ prefixed keywords.
5961 * org.el (org-options-keywords): Add missing colons.
5963 * org-macs.el (org-default-options): Remove function.
5965 * org-pcomplete.el (org-command-at-point): Fix bug with some file
5967 (pcomplete/org-mode/file-option/x): Remove macro.
5968 (pcomplete/org-mode/file-option): Refactor code.
5969 (pcomplete/org-mode/file-option/author)
5970 (pcomplete/org-mode/file-option/date)
5971 (pcomplete/org-mode/file-option/title)
5972 (pcomplete/org-mode/file-option/tags)
5973 (pcomplete/org-mode/file-option/select_tags)
5974 (pcomplete/org-mode/file-option/priorities)
5975 (pcomplete/org-mode/file-option/language)
5976 (pcomplete/org-mode/file-option/filetags)
5977 (pcomplete/org-mode/file-option/exclude_tags)
5978 (pcomplete/org-mode/file-option/email): New functions.
5980 * ox.el (org-export--collect-headline-numbering): Remove footnote
5982 (org-export-collect-headlines): Do not count footnote section when
5983 numbering a headline.
5985 * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
5986 attributes in order to determine list's options.
5988 * ox-ascii.el (org-ascii-inner-template): New function.
5989 (org-ascii-template): Use new function.
5990 (org-ascii-export-as-ascii, org-ascii-export-to-ascii):
5993 * org-element.el (org-element-link-parser): Take into
5994 consideration links filled and indented.
5996 * org-element.el (org-element-link-parser): Remove all newline
5997 characters in path property.
5999 * ox.el (org-export-as): Call `inner-template' function, if
6002 * ox-html.el (org-html-inner-template): New function.
6003 (org-html-template): Move all parts that should be inserted even
6004 in a body-only export into `org-html-inner-template'.
6006 * org.el (org-forward-element, org-backward-element): When no
6007 headline is found at the same level, still move forward or
6010 * org-element.el (org-element--current-element): Add a limit
6012 (org-element--collect-affiliated-keywords): Fix parsing of orphaned
6013 keyword at the end of an element.
6015 * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
6016 character as `org-export-format-code-default' already makes sure
6017 the string returned will end with a single one.
6019 * ox-latex.el (org-latex-headline): When a function returns a
6020 sectioning command, only one placeholder should be required.
6022 * org-element.el (org-element-nested-p): Do not inline function.
6024 * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
6025 (org-export--generate-copy-script): Move earlier in the file.
6027 * ox-texinfo.el (org-texinfo-link): Do not transform path part of
6030 * org.el (org-org-menu): Small refactoring.
6032 * ox-beamer.el (require):
6033 * ox-icalendar.el (require):
6034 * ox-jsinfo.el (require):
6035 * ox-md.el (require): Require cl when compiling.
6037 * org.el (org-export-backends):
6038 * ox.el (org-export-dispatch): Fix docstring.
6040 * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
6042 * ox-latex.el (org-latex-special-block): Add :options attribute to
6043 special blocks to specify options.
6045 * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
6048 * ox-latex.el (org-latex-format-headline-function): Fix missing
6049 parens in the docstring.
6051 * org.el (org-export-backends): Remove `:initialize' function.
6053 * org.el (org-reload): Also reload export back-ends in use.
6055 * ox-latex.el (org-latex-example-block, org-latex-src-block):
6056 Ignore element if it's empty. This fixes error "apply: Wrong
6057 number of arguments: max, 0".
6059 * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
6062 * ox-latex.el (org-latex-template): Provide an error when LaTeX
6065 * org.el (org-modules): Remove export back-ends from the list.
6067 (org-export-backends): New variable.
6069 * ox.el (org-export-async-start): Make sure export framework is
6070 required in the external process.
6072 * org.el (org-format-latex-header-extra, org-export-have-math):
6074 (org-latex-default-packages-alist): Rename from
6075 `org-export-latex-default-packages-alist'.
6076 (org-latex-packages-alist): Rename from
6077 `org-export-latex-packages-alist'.
6078 (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
6079 org-cdlatex-math-modify): Reorder in file.
6080 (org-format-latex): Remove `org-format-latex-header-extra'.
6081 (org-create-formula-image-with-dvipng,
6082 org-create-formula-image-with-imagemagick): Apply variables renaming
6085 * org-entities.el (org-entities-user): Update docstring.
6087 * ox-latex.el (org-latex-classes, org-latex-listings):
6089 (org-latex-guess-inputenc): Rename from `org-latex--guess-inputenc'.
6090 (org-latex-guess-babel-language): Rename from
6091 `org-latex--guess-babel-language'.
6092 (org-latex-template): Apply renaming.
6094 * ox-beamer.el (org-beamer-template): Apply renaming.
6096 * ob-latex.el (org-babel-execute:latex): Apply variable renaming
6098 (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
6101 * org-macs.el (org-if-unprotected, org-if-unprotected-1)
6102 (org-if-unprotected-at): Remove macros.
6103 (org-re-search-forward-unprotected): Remove function.
6105 * org.el (org-format-latex):
6106 * org-list.el (org-list-struct):
6107 * org-footnote.el (org-footnote-at-reference-p):
6108 * org-capture.el (org-capture-fill-template): Remove reference to
6111 * ob-exp.el (org-babel-exp-process-buffer): Rename from
6112 `org-export-blocks-preprocess'.
6114 * ox.el (org-export-execute-babel-code): Apply previous renaming.
6116 * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
6117 keywords for completion without requiring the whole export
6119 (pcomplete/org-mode/file-option/options): Rewrite using new export
6120 framework. Only complete up to the colon.
6121 (pcomplete/org-mode/file-option/x): Remove macro.
6122 (pcomplete/org-mode/file-option/title)
6123 (pcomplete/org-mode/file-option/author)
6124 (pcomplete/org-mode/file-option/email)
6125 (pcomplete/org-mode/file-option/date): Remove functions.
6126 (pcomplete/org-mode/file-option/infojs_opt): New function.
6128 * org-clock.el (org-clocktable-defaults)
6129 (org-clocktable-write-default): Avoid requiring the whole export
6130 framework just to check one variable.
6132 * org-footnote.el (org-footnote-section): Update docstring.
6133 (org-footnote-normalize): Remove all export related part from the
6136 * org-inlinetask.el (org-inlinetask-export)
6137 (org-inlinetask-export-templates): Remove variables.
6138 (org-inlinetask-export-handler): Remove function.
6140 * org-plot.el: Remove dependency on `org-exp' library.
6142 * org.el (org-additional-option-like-keywords): Remove variable.
6143 (org-get-export-keywords): New function.
6144 (org-options-keywords): Update default list of keywords.
6145 (org-remove-flyspell-overlays-in): Apply changes to keywords
6147 (org-highlight-latex-fragments-and-specials)
6148 (org-latex-and-specials-regexp)
6149 (org-export-html-special-string-regexps): Remove variables.
6150 (org-compute-latex-and-specials-regexp)
6151 (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
6153 (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
6155 (org-use-sub-superscripts): Fix docstring. Remove unused group.
6156 (org-match-sexp-depth): Make it a defconst instead of a defcustom
6157 in order to remove `org-export-translation' group completely.
6159 * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
6162 * ob-latex.el (org-babel-execute:latex): Use new exporter.
6164 * ob-org.el (org-babel-execute:org): Use new exporter.
6166 * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
6167 iCalendar export back-end.
6169 * org-table.el (org-table-export, orgtbl-export):
6170 Remove dependency on `org-exp' library.
6171 (org-table-clean-before-export): New function.
6172 (org-table-colgroup-info): New variable.
6173 (orgtbl-to-html): Use to new HTML export back-end.
6175 * org.el (org-modules): Remove modules relative to obsolete export
6176 framework and add those relative to the new one.
6177 (org-create-formula-image-with-dvipng, org-format-latex
6178 org-create-formula-image-with-imagemagick): Use new exporter.
6179 (org-indent-line): INCLUDE keywords are indented like regular
6181 (org-mode-map): Bind C-c C-e to new export dispatcher.
6182 (org-menu): Install new exporter in menu.
6187 * org-exp-blocks.el:
6197 * org-special-blocks.el:
6198 * org-taskjuggler.el:
6199 * org-xoxo.el: Remove
6214 * ob-exp.el (org-export-blocks-preprocess): Do not use
6215 `indent-code-rigidly' as it doesn't indent contents of strings.
6217 * org-element.el (org-element-map): Change to function
6218 indentation. Also complete docstring.
6220 * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
6223 * org-element.el (org-element-at-point): When point is before any
6224 element, in the first blank lines of the buffer, return nil.
6225 When point is within blank lines just after a headline, return that
6227 (org-element-context): Return nil when point is within the blank at
6228 the beginning of the buffer.
6230 * org.el (org-edit-special): Fix regression.
6231 (org-timestamp-has-time-p, org-timestamp-format)
6232 (org-timestamp-split-range, org-timestamp-translate):
6235 * org-element.el (org-element-timestamp-interpreter):
6236 Interpret timestamps ranges with repeaters.
6238 * org.el (org-edit-special): Rewrite `org-edit-special' using Org
6239 Elements tools. Behavior should be unchanged.
6241 * org-element.el (org-element-context): Add an optional argument
6242 so that (org-element-context) and (org-element-context
6243 (org-element-at-point)) are equivalent.
6245 * ob.el: Only use the :wrap argument up to the first space when
6246 creating the #+END_ directive.
6248 * org-element.el (org-element-object-variables): New variable.
6249 (org-element-parse-secondary-string): Copy some buffer-local
6250 variables to the temporary buffer created to parse the string so
6251 links can still be properly expanded.
6252 (org-element-link-parser): Link expansion and translation are applied
6253 transparently for the parser.
6255 * org-element.el (org-element-line-break-parser): Line break
6256 includes the newline character following the backslashes.
6257 (org-element-line-break-interpreter): Apply changes to line break
6260 * org.el (org-all-targets): Fix radio targets detection when
6261 object is directly followed by a non-whitespace character.
6263 * ob.el (org-babel-use-quick-and-dirty-noweb-expansion):
6264 Rename from `org-babel-use-quick-and-dirty-noweb-expansion'.
6265 (org-babel-expand-noweb-references): Use new variable name.
6267 * org-element.el (org-element-timestamp-interpreter):
6268 Fix timestamp interpreter when raw value isn't available.
6270 * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
6271 inline babel call or inline src block instead of the following
6274 * org-element.el (org-element-timestamp-parser): Timestamp with
6275 time range has active/inactive-range type.
6276 (org-element-block-name-alist): Do not reset
6277 `org-element-block-name-alist' at each reload.
6278 (org-element-object-restrictions): Allow timestamps in parsed
6279 keywords (i.e. DATE).
6281 * org-agenda.el (org-agenda-show-clocking-issues)
6282 (org-agenda-format-item): Silence byte compiler.
6284 * org-colview.el (org-agenda-columns): Silence byte compiler.
6286 * org.el (org-properties-postprocess-alist): Silence byte
6289 * org-element.el (org-element-timestamp-parser): Return nil for
6290 unspecified :hour-end and :minute-end properties.
6291 (org-element-object-restrictions): Add footnote references objects
6293 (org-element-interpret-data): Clear text properties when
6294 interpreting a string .
6296 * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6299 * org.el (org-adaptive-fill-function): Items do not have
6300 a :post-affiliated property. Use :begin property instead.
6302 * org-element.el (org-element-headline-parser)
6303 (org-element-inlinetask-parser): Remove :clockedp property.
6305 * org.el (org-adaptive-fill-function): All elements do not have a
6306 :post-affiliated property.
6307 (org-macro-replace-all): Signal an error when a circular macro
6309 (org-macro-initialize-templates): Fix docstring.
6311 * org-element.el (org-element-map): Fix docstring.
6312 (org-element-contents, org-element-set-contents)
6313 (org-element-adopt-elements): Fix accessors and setters wrt
6315 (org-element-headline-parser)
6316 (org-element-inlinetask-parser): Fix void-function
6317 `org-clocking-buffer' error.
6318 (org-element-context): Fix org-element-context on parsed keywords.
6319 (org-element-context): Find objects in document and parsable
6320 affiliated keywords.
6321 (org-element-center-block-parser)
6322 (org-element-drawer-parser, org-element-dynamic-block-parser)
6323 (org-element-footnote-definition-parser)
6324 (org-element-plain-list-parser)
6325 (org-element-property-drawer-parser)
6326 (org-element-quote-block-parser, org-element-special-block-parser)
6327 (org-element-babel-call-parser, org-element-comment-parser)
6328 (org-element-comment-block-parser, org-element-diary-sexp-parser)
6329 (org-element-example-block-parser)
6330 (org-element-export-block-parser, org-element-fixed-width-parser)
6331 (org-element-horizontal-rule-parser, org-element-keyword-parser)
6332 (org-element-latex-environment-parser)
6333 (org-element-paragraph-parser, org-element-src-block-parser)
6334 (org-element-table-parser, org-element-verse-block-parser):
6335 Add `:post-affiliated' property to elements.
6336 (org-element-inlinetask-parser): Remove affilated keywords.
6338 * org.el (org-adaptive-fill-function): Use new property.
6340 * org-element.el (org-element--collect-affiliated-keywords):
6341 Allow duals keywords with only secondary value.
6342 (org-element-timestamp-parser): Modify timestamp objects
6344 (org-element-headline-parser, org-element-inlinetask-parser): Remove
6345 `:timestamp' and `:clock' property. Add `:clockedp' property. Also,
6346 set `:closed', `:deadline' and `:scheduled' values to timestamp
6347 objects, not strings. Small refactoring.
6348 (org-element-clock-parser): Rename `:time' property into `:duration'.
6349 Also, set `:value' value as a timestamp object, not a string.
6350 (org-element-planning-parser): Set `:closed', `:deadline' and
6351 `:scheduled' values to timestamp objects, not strings.
6352 (org-element-clock-interpreter, org-element-planning-interpreter)
6353 (org-element-timestamp-interpreter): Update interpreters.
6354 (org-element--current-element): Tiny refactoring.
6356 * ob.el (org-babel-where-is-src-block-result): Insert new results
6357 keyword in current narrowed part of buffer, if necessary.
6359 (org-babel-insert-result): Do not widen buffer when new results have
6360 to be inserted. Therefore, results inserted after the last block of
6361 a narrowed buffer still belong to the narrowed part of the buffer.
6363 * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
6365 * org-element.el (org-element-paragraph-separate): Diary-sexp
6366 elements can separate paragraphs.
6367 (org-element-all-elements): Install new `diary-sexp' type.
6368 (org-element--current-element): Recognize new `diary-sexp' elements.
6369 (org-element-diary-sexp-parser)
6370 (org-element-diary-sexp-interpreter): New functions.
6371 (org-element-horizontal-rule-parser)
6372 (org-element-keyword-parser, org-element--current-element):
6374 (org-element-property): Access to text properties when argument is
6376 (org-element-put-property): Correctly set property when target is
6378 (org-element-adopt-elements): Also put :parent properties on
6381 * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
6383 (org-export-blocks-preprocess): Pos can sometimes be set to a
6384 value greater than start, because of indentation, and lead to a
6386 (org-babel-exp-code): Remove comma-escaping special rule for Org
6388 (org-export-blocks-preprocess): Results of an evaluated code block
6389 can be inserted within the blank lines after the block. Hence, if
6390 the block has to be removed, delete everything down to the first
6391 non-blank line after the end of block closing string, instead of
6392 removing everything down to the very end of the block.
6394 * org.el (org-all-targets): Make sure the regexp really matched a
6396 (org-macro-expand, org-macro-replace-all): Change signature.
6397 The function now accepts an alist of templates so it doesn't have to
6398 rely only on `org-macro-templates'.
6399 (org-macro-initialize-templates): {{{date}}} is not anymore an
6400 alias for {{{time}}}. During export, it will provide the value
6401 stored in DATE keyword instead.
6403 * org-element.el (org-element-object-restrictions): Allow links in
6404 caption. Also allow inline-src-blocks and inline-babel-calls.
6405 (org-element-map): Change signature.
6406 (org-element-parsed-keywords): Remove document properties from the
6408 (org-element-dual-keywords): Fix docstring.
6409 (org-element-document-properties): New variable
6410 (org-element-all-elements): Add `node-property' as a new element
6412 (org-element-greater-elements): Add property-drawer element to
6413 greater elements since they now contain node-property elements.
6414 (org-element-drawer-parser): Small refactoring.
6415 (org-element-property-drawer-parser): Move into Greater Elements
6417 (org-element-node-property-parser,
6418 org-element-node-property-interpreter): New functions.
6419 (org-element--current-element, org-element-at-point)
6420 (org-element--parse-elements): Handle new element type.
6421 (org-element--collect-affiliated-keywords): Fix return value.
6422 (org-element-center-block-parser)
6423 (org-element-drawer-parser, org-element-dynamic-block-parser)
6424 (org-element-footnote-definition-parser)
6425 (org-element-plain-list-parser, org-element-quote-block-parser)
6426 (org-element-special-block-parser, org-element-babel-call-parser)
6427 (org-element-comment-parser, org-element-comment-block-parser)
6428 (org-element-example-block-parser)
6429 (org-element-export-block-parser, org-element-fixed-width-parser)
6430 (org-element-horizontal-rule-parser, org-element-keyword-parser)
6431 (org-element-latex-environment-parser)
6432 (org-element-paragraph-parser, org-element-property-drawer-parser)
6433 (org-element-src-block-parser, org-element-table-parser)
6434 (org-element-verse-block-parser): Change signature. Now use an
6435 additional argument: affiliated.
6436 (org-element--current-element): Skip affiliated keywords and pass
6437 them as an argument to parsers. It prevents to walk through these
6438 keywords twice: the first time to get to the first line of the
6439 element, and a second time to collect the affiliated keywords.
6441 * ob-exp.el (org-babel-exp-non-block-elements): More accurate
6442 white space handling when evaluating inline-src-block, babel-call
6443 and inline-babel-call elements or objects. Also removed use of
6444 `org-babel-examplize-region' since it would never be called
6445 anyway; return value from `org-babel-exp-do-export' is never nil.
6446 (org-export-blocks-preprocess): Preserve affiliated keywords when
6447 replacing a code block.
6449 * org-element.el (org-element-multiple-keywords): Allow multiple
6452 * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
6453 when results are before the block.
6454 (org-export-blocks-preprocess): Improve blank lines handling in
6455 function. Add comments. Remove `org-export-blocks-postblock-hook'
6456 since it's defined nowhere now (and doesn't need to, there's
6457 `org-export-before-parsing-hook' already).
6459 * org-exp-blocks.el: Delete.
6461 * ob-exp.el (org-export-blocks-preprocess):
6462 * ob-ditaa.el (org-ditaa-jar-path): Move from
6463 "org-export-blocks.el".
6465 * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
6466 (org-babel-exp-non-block-elements): Rewrite function using Org
6469 * org-exp-blocks.el (org-export-blocks-preprocess):
6470 Rewrite function using Org Element.
6472 * org-element.el (org-element-recursive-objects)
6473 (org-element-object-restrictions): Remove `macro' from recursive
6476 * org.el (org-macro-initialize-templates): Small refactoring.
6477 (org-mode): Initialize macros templates.
6478 (org-macro-templates): New variable.
6479 (org-macro-expand, org-macro-replace-all)
6480 (org-macro-initialize-templates): New functions.
6482 * org-element.el (org-element-link-type-is-file): New variable.
6483 (org-element-link-parser): Extract search option and application
6484 in "file"-type links.
6486 * org.el (org-mode): Set back comment-start-skip so comment-dwin
6487 can tell a keyword from a comment.
6489 2013-11-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6491 * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
6492 inactive timestamp also with double universal argument.
6493 (org-set-regexps-and-options): Don't set font-lock defaults here.
6494 (org-mode): Set font-lock defaults here.
6495 (org-insert-link): Call `org-link-try-special-completion' from the
6498 2013-11-12 Oleh <oleh.krehel@gmail.com>
6500 * org.el (org-open-at-point): The new code is being run in the
6501 same spot as `org-open-link-functions'. In case they failed,
6502 check if link matches "^id:" and if so, load the id interface and
6505 2013-11-12 Rasmus <rasmus@gmx.us> (tiny change)
6507 * ox-latex.el (org-latex--inline-image): The pgf format is
6508 associated to an inline image and treated like tikz files.
6510 2013-11-12 Richard Lawrence <richard.lawrence@berkeley.edu> (tiny change)
6512 * org-agenda.el (org-cmp-ts): Avoid error when trying to
6513 `string-match' against nil.
6515 2013-11-12 Rick Frankel <rick@rickster.com>
6517 * ox-html.el (org-html-doctype): New function.
6518 (org-html-template): Use `org-html-doctype' instead of inline
6520 (org-html-headline): Use the new
6521 `org-html--container' function to set container element.
6522 (org-html--container): Returns appropriate element for headline
6524 (org-html-divs): Extra character in doc string.
6525 (org-babel-execute:sql): Unquote cmdline argument in
6526 format string, dbish requires three separate arguments. Add dbi
6527 to the list of engines with automatically added header separator.
6528 (org-html--build-pre/postamble): Add css class to wrapper div
6529 (defaults to `org-pre/postamble-class'). Move spec building to
6530 separate function (`org-html-format-spec').
6531 (org-html-format-spec): New function.
6532 (org-pre/postamble-class): New variable.
6533 (org-html--timestamp-format): New variable used in the metadata
6534 and the pre/postamble.
6535 (org-html-style-default): Make the preamble and postamble use the
6536 same style. Make all anchors font-size %100. Remove margin from
6537 the content section.
6538 (org-html-container-element): Fix docstring.
6539 (org-html-postamble-format, org-html-preamble-format):
6541 (org-html-template): Use `org-html--build-pre/postamble'.
6542 (org-html--build-pre/postamble): New function, combining the
6543 pre/postamble generator. Merge lists of formatters from the
6544 preamble and postamble. Fix bug, using :time-stamp-file instead
6545 of :with-date for auto display of date: this brings usage in-line
6546 with the latex and beamer exporter.
6547 (org-html--build-postamble, org-html--build-postamble): Delete.
6548 (define-backend): Add :html-doctype and :html-container
6550 (org-html-doctype): New option for doctype declaration.
6551 (org-html-container-elemnt): New option for specifying the wrapper
6553 (org-html-divs): Change to alist of three entries each containing
6554 a key ('preamble, 'content, 'postamble), an HTML element type and
6555 an id to allow setting container elements.
6556 (org-html--build-preamble, org-html--build-postamble): Modify to
6557 use `org-html-divs'.
6558 (org-html-template): Modify to use doctype and container-element
6560 (org-export-define-backend): Add css url option.
6561 (org-export-htmlized-org-css-url): Modify docstring and options.
6562 (org-html--build-style): Include css-url if specified.
6564 2013-11-12 Roberto Huelga Díaz <rhuelga@gmail.com> (tiny change)
6566 * org-timer.el (org-timer-set-timer): Use the variable
6567 `org-clock-sound' when calling `org-notify'.
6569 2013-11-12 Ryo TAKAISHI <ryo.takaishi.0@gmail.com>
6571 * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6573 (org-capture-expand-embedded-elisp): Use the new function.
6575 * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
6576 name collid `org-babel-map-src-blocks' variable 'lang'.
6578 * org-protocol.el (org-protocol-convert-query-to-plist):
6580 (org-protocol-do-capture): Use new function.
6581 (org-protocol-data-separator): Change default separator.
6583 2013-11-12 Rémi Vanicat <vanicat@debian.org> (tiny change)
6585 * org-table.el (orgtbl-format-line): Fix bug when formatting line.
6587 2013-11-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6589 * ox-latex.el (org-latex-listings): Don't quote const value.
6591 * ob-C.el (org-babel-C-var-to-C): Add list support
6592 (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
6593 (org-babel-C-format-val): New functions.
6594 (org-babel-C-ensure-main-wrap, org-babel-execute:C)
6595 (org-babel-execute:C++, rg-babel-execute:cpp)
6596 (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
6598 * org-entities.el (org-entities): Add support for hbar.
6600 2013-11-12 Sacha Chua <sacha@sachachua.com> (tiny change)
6602 * org.el (org-read-date-get-relative): Handle positive and
6603 negative weekday specifications so that they don't return today.
6604 If today is Friday, "fri" should mean next Friday. This changes
6605 the previous behavior, which required you to specify "+2fri" in
6606 order to mean next Friday if today was Friday. If you want to
6607 schedule something for today, you can use ".".
6609 2013-11-12 Samuel Loury <konubinix@gmail.com> (tiny change)
6611 * org.el (org-open-at-point): Open a plain link even if the cursor
6612 is before it, which is consistent with the behavior with respect
6613 to bracket and angle links.
6615 2013-11-12 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
6617 * ob.el (org-babel-expand-noweb-references): Capture current noweb
6618 start and end patterns then use them to set buffer locals in a
6619 (with-temp-buffer ...) form.
6621 2013-11-12 Sebastien Vauban <xxx@public.gmane.org>
6623 * ox-latex.el (org-latex-listings-langs): Update custom variable.
6625 * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6626 of header arguments.
6628 * org-clock.el (org-clock-goto-before-context): New option.
6629 (org-clock-goto): Use the new option.
6630 (org-clocktable-write-default): Insert the summary as a standard
6631 #+CAPTION keyword for the (clock) table.
6633 2013-11-12 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> (tiny change)
6635 * org-agenda.el (org-agenda-prefix-format): Small docstring
6638 2013-11-12 Suhail Shergill <suhailshergill@gmail.com> (tiny change)
6640 * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6641 prefix and leave `temporary-file-directory' unchanged.
6643 2013-11-12 Suvayu Ali <fatkasuvayu+linux@gmail.com> (tiny change)
6645 * org.el (org-speed-commands-default): Change default binding for
6646 org-mark-subtree from "." to "@" to be more consistent with "C-c
6649 2013-11-12 Tim Burt <tcburt@rochester.rr.com> (tiny change)
6651 * org-datetree.el (org-datetree-find-year-create): Also match
6652 headlines with tags.
6654 2013-11-12 Toby S. Cubitt <tsc25@cantab.net>
6656 * org.el (org-time-clocksum-format)
6657 (org-time-clocksum-fractional-format): In addition to a single
6658 format string, the clocksum formats can now be plists specifying
6659 separate formats for different time units.
6660 (org-minutes-to-clocksum-string): New function to replace
6661 `org-minutes-to-hh:mm-string', which converts a number of minutes
6662 to a string according to the customization options.
6664 * org-colview.el (org-columns-number-to-string): Use the new
6665 `org-minutes-to-clocksum-string' function to format clocksum
6668 * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6669 function when formatting time durations, instead of calling
6670 `org-minutes-to-hh:mm-string' or passing
6671 `org-time-clocksum-format' directly to format.
6673 2013-11-12 Tokuya Kameshima <kametoku@gmail.com>
6675 * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6676 (org-mew-subject-alist, org-mew-capture-inbox-folders)
6677 (org-mew-capture-guess-alist): New options.
6678 (org-mew-store-link, org-mew-open): Rewrite.
6679 (org-mew-folder-name, org-mew-follow-link)
6680 (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6681 (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6682 (org-mew-capture-guess-selection-keys): New functions.
6684 2013-11-12 Trevor Murphy <trevor.m.murphy@gmail.com> (tiny change)
6686 * org.el (org-get-compact-tod): Always pad minutes to two places.
6688 2013-11-12 Viktor Rosenfeld <listuser36@gmail.com> (tiny change)
6690 * org.el (org-agenda-prepare-buffers): Add tags defined in
6691 `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6693 2013-11-12 Vitalie Spinu <spinuvit@gmail.com>
6695 * ob-tangle.el (org-babel-find-file-noselect-refresh):
6696 Call `find-file-noselect' with 'nowarn argument to surpress
6697 `yes-or-no-p' reversion message.
6699 * ob-core.el (org-babel-where-is-src-block-head):
6700 Return `point-marker' instead of `point'.
6702 2013-11-12 Yann Hodique <yann.hodique@gmail.com>
6704 * org-publish.el (org-publish-org-to-taskjuggler): New function to
6705 publish taskjuggler projects.
6707 2013-11-12 Yasushi Shoji <yashi@atmark-techno.com>
6709 * org-clock.el (org-clock-x11idle-program-name): New option.
6710 (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6712 2013-11-12 Yoshinari Nomura <nom@quickhack.net>
6714 * ox-html.el (org-html--has-caption-p): New function.
6715 (org-html-link--inline-image, org-html-table): Prepend ordinal
6717 (org-html-link): Make numbered link by counting captioned figures
6720 * ox.el (org-export-dictionary): Add Japanese translations for
6721 figures and tables. Add "Figure %d:" entry in the same manner
6724 2013-11-12 Nicolas Richard <nrichard@ulb.ac.be>
6726 * ob.el (org-babel-edit-distance): When insertion or deletion are
6727 needed, make sure the distance is incremented. In addition, the
6728 now obsolete mmin function was removed.
6730 2013-11-12 Oleh Krehel <wave@mail.ua>
6732 * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6733 if result is not a string and not nil. If the result is nil,
6734 treat it as if it was the empty string.
6736 * org-clock.el (org-clock-notify-once-if-expired):
6737 Honor `org-clock-sound'.
6739 2013-11-12 Rasmus Pank <rasmus.pank@gmail.com>
6741 * org.el (org-format-latex-header): Remove eucal and amsmath.
6742 (org-latex-default-packages-alist): Remove amstext and add
6745 * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6747 * org.el (org-latex-default-packages-alist): Remove latexsym.
6749 * org-entities.el (org-entities): Add support for ell, imath,
6750 jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6751 dag, ddag, colon, therefore, because, triangleq, leq, geq,
6752 lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6753 succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6754 diamond. Changes loz, vert, checkmark, smile and tilde.
6756 * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6759 * org-src.el (org-src-lang-modes): Add association between
6760 language C++ and `c++-mode'.
6762 * ox.el (org-export-smart-quotes-alist): Add ("da" "no" "nb"
6764 (org-export-dictionary): Add some entries ("da" "no" "nb" "nn"
6766 (org-export-default-language): Mention other variables affected by
6769 * ox-latex.el (org-latex-babel-language-alist): Add 'nb', 'nn',
6770 and 'no' for Norwegian. Removed 'no-no'.
6771 (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6772 and change the wording of the docstring.
6773 (org-latex-guess-babel-language): Replace AUTO with language if
6774 AUTO is the option of the LaTeX package Babel.
6775 (org-latex-classes): Update documentation with respect
6776 to `org-latex-guess-babel-language'.
6778 2013-11-12 Дядов Васил Стоянов <vdyadov@elvees.com> (tiny change)
6780 * org-docview.el (org-docview-export): New function to export
6783 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6785 * org-agenda.el (org-agenda-mode):
6786 * org-indent.el (org-indent-mode): Use the `local' arg of
6787 add-hook/remove-hook.
6789 2013-03-08 Bastien Guerry <bzg@gnu.org>
6791 * org-exp.el (org-export-normalize-links): Fix critical bug: do
6792 not rely on `org-context' to guess where to prevent links
6795 2013-02-28 Achim Gratz <Stromeko@Stromeko.DE>
6797 * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6798 org-reload uncompiled in the menu.
6800 2013-02-28 Bastien Guerry <bzg@gnu.org>
6802 * org-indent.el (org-indent-add-properties): Bugfix: prevent
6803 negative value for `added-ind-per-lvl'.
6805 * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6806 `isearch-mode-end-hook' so that any isearch fixes the problem with
6807 ellipsis on the first line.
6808 (org-fix-ellipsis-at-bol): New defsubst.
6809 (org-show-context, org-isearch-end): Use it.
6811 * org.el (org-show-context): Remove useless catch.
6812 Make sure the top of the window is a visible headline.
6813 (org-activate-plain-links): Remove unused catch.
6815 * org-macs.el (org-get-alist-option): Return nil, not (nil),
6816 so that `org-show-context' DTRT.
6818 * org.el (org-imenu-get-tree): Fix bug when matching against empty
6821 * org.el (org-overview): Stay on current line.
6822 (org-map-entries): Fix docstring.
6823 (org-at-clock-log-p): Delete.
6824 * org-clock.el (org-at-clock-log-p): Move here.
6826 * org.el (org-tsr-regexp-both): Don't activate dates in links.
6827 (org-activate-dates): Change match boundaries according to the new
6828 value of `org-tsr-regexp-both'.
6830 * org-agenda.el (org-agenda-to-appt): Fix typos.
6832 * org-agenda.el (org-agenda-local-vars): Don't include
6833 `org-agenda-show-window' as it needs to be checked outside of the
6836 * org.el (org-set-tags-command): Fix bug when setting tags for
6837 multiple headlines in an active region.
6839 * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6840 in an invisible region.
6842 * org.el (org-insert-heading-respect-content): Add docstring.
6843 New `invisible-ok' parameter.
6844 (org-insert-todo-heading-respect-content): Add docstring.
6846 * ob-tangle.el (org-babel-tangle-collect-blocks):
6847 Bugfix: remove code references from blocks.
6849 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6851 (org-agenda-show-new-time): Fix bug when displaying a temporary
6852 overlay with the scheduled/deadline information.
6854 * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6855 (org-setup-filling): Use it to prevent breaking a timestamp when
6856 filling a paragraph.
6858 * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6860 2013-02-28 Tim Burt <tcburt@rochester.rr.com> (tiny change)
6862 * org-datetree.el (org-datetree-find-year-create):
6863 Match headlines with tags.
6865 2013-02-07 Bastien Guerry <bzg@gnu.org>
6867 * org-agenda.el (org-agenda-get-deadlines)
6868 (org-agenda-get-scheduled): Fix bug: use text properties for the
6869 headline text since we rely on properties to get e.g. the effort.
6871 * org-exp.el (org-export-normalize-links): Don't match links
6874 * org-html.el (org-export-html-preamble-format)
6875 (org-export-html-postamble-format): Mention that
6876 org-export-html-preamble/postamble need to be `t' in order for
6877 these variables to have any effect.
6879 * org-html.el (org-html-handle-links): When the link description
6880 is an image and the attribute is "width", pass the attribute to
6883 * org.el (org-mode): Always honor `org-startup-indented', even
6884 when `org-inhibit-startup' is non-nil.
6886 * org-indent.el (org-indent-mode): Don't check
6887 `org-inhibit-startup'.
6889 * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6890 text properties outside of the buffer.
6892 * org.el (org-agenda-inhibit-startup): Rename from
6893 `org-agenda-inhibit-startup-visibility-cycling'.
6894 (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6895 `org-agenda-inhibit-startup'.
6897 * org.el (org-mode): Don't initialize `org-beamer-mode' when
6898 `org-inhibit-startup' is non-nil.
6900 * org-footnote.el (org-footnote-create-definition): Prevent
6901 `electric-indent-mode' from inserting the definition at the wrong
6904 * org-agenda.el (org-agenda-no-heading-message): Delete.
6905 (org-agenda-get-timestamps, org-agenda-get-progress)
6906 (org-agenda-get-deadlines, org-agenda-get-scheduled)
6907 (org-agenda-get-blocks): Don't use
6908 `org-agenda-no-heading-message', skip the entry.
6910 * org.el (org-agenda-inhibit-startup-visibility-cycling):
6912 (org-agenda-prepare-buffers): Use it to speed up the agenda
6915 * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6916 commented scheduled/deadline lines.
6918 * org-clock.el (org-clock-in): Fix bug when fetching the effort
6921 * ob-python.el (org-babel-python-command): Fix docstring.
6922 (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6923 from Emacs >24.1 requires a python command as an argument.
6925 * org-element.el (org-element-at-point): Fix typo in docstring.
6927 * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6928 `org-agenda-show-inherited-tags'.
6930 * org-agenda.el (org-agenda-skip): Correctly handle commented out
6931 scheduled/deadline lines. Refactor.
6933 * org-install.el: Do not warn users.
6935 * org.el (org-adaptive-fill-function): In message-mode, don't
6936 lines in the message header, nor table lines in the body.
6937 Correctly fill lines starting with `org-outline-regexp' in the
6940 * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6943 2013-02-07 Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org> (tiny change)
6945 * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6947 * org-macs.el (org-unmodified): Inhibit modification hooks.
6949 2013-02-07 John K. Luebs <jkluebs@luebsphoto.com> (tiny change)
6951 * org.el (org-get-wdays): Handle matching a lead time specified in
6954 2013-02-07 Muchenxuan Tong <demon386@gmail.com> (tiny change)
6956 * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6957 only when it exists.
6959 2013-02-07 Nicolas Goaziou <n.goaziou@gmail.com>
6961 * org-element.el (org-element-macro-parser): Fix error when last
6962 argument ends with a protected comma.
6964 * org-element.el (org-element-parse-buffer, org-element-map)
6965 (org-element-at-point, org-element-context): Be more verbose in
6966 docstrings. Also fix typos.
6968 * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6969 resetted because of a non-nil ORDERED property value, make sure it
6970 had a checkbox already.
6972 2013-02-07 Tokuya Kameshima <kametoku@gmail.com> (tiny change)
6974 * org-agenda.el (org-search-view): Fix checking
6975 `org-agenda-show-inherited-tags'.
6977 2013-02-07 racin <racin@free.fr> (tiny change)
6979 * org-bibtex.el (org-bibtex-search): Don't throw an error when
6980 `org-bibtex-prefix' is nil.
6982 2013-01-13 Bastien Guerry <bzg@gnu.org>
6984 * org-compat.el (org-condition-case-unless-debug): Delete.
6986 * org-odt.el (org-odt-cleanup-xml-buffers):
6987 Use `condition-case' instead of `org-condition-case-unless-debug',
6988 which is now deleted.
6990 * org-capture.el (org-capture-templates-contexts):
6991 * org-agenda.el (org-agenda-custom-commands-contexts):
6994 * org.el (org-get-tags-at): Remove duplicate inherited tags.
6996 * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
6997 to 'always or to a list of agenda types.
6998 (org-agenda-finalize): Rework conditions under which inherited
6999 tags should be made available even when not displayed.
7000 (org-search-view, org-agenda-get-todos)
7001 (org-agenda-get-timestamps, org-agenda-get-sexps)
7002 (org-agenda-get-progress, org-agenda-get-scheduled)
7003 (org-agenda-get-blocks): Use new possible values of
7004 `org-agenda-show-inherited-tags'.
7006 * org.el (org-open-at-point): Fix opening all links at point.
7008 * org-agenda.el (org-get-entries-from-diary): Turn off
7009 `diary-file-name-prefix' instead of
7010 `diary-file-name-prefix-function', the former is checked before
7013 * org.el (org-edit-special): Check for table.el before checking
7016 2013-01-13 Michael Albinus <michael.albinus@gmx.de>
7018 * ob-eval.el (org-babel-shell-command-on-region):
7019 Use `executable-find' for local `shell-file-name'.
7021 2013-01-09 Achim Gratz <Stromeko@Stromeko.de>
7023 * org-faces.el: Define face alias mode-line for XEmacs (it's
7024 called modeline there).
7026 * org-compat.el (org-no-popups): New wrapper macro which let-binds
7027 the correct variables to suppress popup windows depending on the
7028 Emacs version in use. This is a compile-time decision when
7031 * org.el (org-get-location, org-switch-to-buffer-other-window):
7032 Use the wrapper `org-no-popups' to let-bind the correct variables
7033 for suppression of popup windows.
7035 * org-compat.el (user-error): Defalias to `error' for Emacsen that
7038 * org-agenda.el (org-agenda-write): Use org-called-interactively-p
7039 instead of called-interactively-p.
7041 * org.el (org-find-invisible-foreground): Do not use the value of
7042 variables `default-frame-alist', `initial-frame-alist' and
7043 `window-system-default-frame-alist' when their symbol is not bound.
7045 2013-01-09 Bastien Guerry <bzg@gnu.org>
7047 * org-src.el (org-edit-src-code): Fix bug when trying to edit a
7050 * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
7053 * org.el (org-entry-get): Speed up by let-binding some variables
7054 only if needed. Also fix a bug: consider an empty drawer as no drawer.
7056 * org-agenda.el (org-search-view, org-agenda-get-todos)
7057 (org-agenda-get-timestamps, org-agenda-get-sexps)
7058 (org-agenda-get-progress, org-agenda-get-deadlines)
7059 (org-agenda-get-scheduled, org-agenda-get-blocks)
7060 (org-agenda-change-all-lines): Get local tags only.
7061 (org-agenda-use-tag-inheritance): New option.
7062 (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
7063 is non-nil, possibly reset tags in the agenda buffer.
7064 (org-agenda-check-type): Enhance docstring.
7066 * org.el (org-use-tag-inheritance): Fix typo in docstring.
7068 * org-agenda.el (org-float): Don't alias `org-float'.
7070 * org.el (org-scan-tags): The skipper already checks for archived
7073 * org.el (org-refresh-properties): Rename from
7074 `org-refresh-effort-properties' and use two new parameters.
7075 (org-agenda-prepare-buffers): Use `org-refresh-properties'.
7076 Also refresh the 'org-appt-warntime text property.
7078 * org-clock.el (org-clock-in): Use the renamed defun.
7080 * org-icalendar.el (org-icalendar-print-entries):
7081 Refresh the 'org-appt-warntime property.
7082 (org-icalendar-print-entries):
7083 * org-agenda.el (org-agenda-get-timestamps)
7084 (org-agenda-get-sexps, org-agenda-get-deadlines)
7085 (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
7086 "APPT_WARNTIME" property value.
7088 * org.el (org-id-link-to-org-use-id): Fix compiler warning.
7090 * org-agenda.el (org-agenda-format-item): Do not use
7091 `org-get-effort' to get the effort text property.
7092 (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
7094 * org-clock.el (org-clock-in): Refresh effort properties.
7096 * org.el (org-refresh-effort-properties): New defun.
7097 (org-get-effort): Delete.
7099 (org-property-next-allowed-value): Set the 'org-effort text property.
7100 (org-agenda-prepare-buffers): Refresh effort properties.
7102 * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
7103 nil so that the mouse doesn't jump when the option is set to t globally.
7105 * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
7106 (org-agenda-dim-blocked-tasks): Make interactive and allow an
7107 optional parameter 'invisible to hide blocked tasks instead of
7109 (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
7111 * org-agenda.el (org-agenda-finalize): Don't try to align tags
7112 when there are no tags. Only try to draw the habit consistency
7113 graph when there is a habit in the buffer. Only mark clocking
7114 task when there is one.
7116 * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
7118 * org.el (org-get-priority): Save match data even when using
7119 `org-get-priority-function'.
7121 * org-mobile.el (org-mobile-create-index-file):
7122 Possibly normalize `org-todo-keywords'.
7124 * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
7126 * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
7127 of the obsolete variable name.
7129 * org.el (org-fontify-meta-lines-and-blocks-1):
7130 Fix bug when fontifying keywords with no value.
7132 * org.el (org-goto-auto-isearch): Enhance docstring.
7133 (org-goto-map): Make a defun, so that the customized value of
7134 org-goto-auto-isearch is correctly initialized.
7135 (org-goto): Initialize the keymap with `org-goto-map'.
7136 (org-get-location): Use *Org Help* as a temporary buffer.
7137 Tell whether auto-isearch is on or off.
7139 * org-exp.el (org-export-as-org): Remove useless argument.
7141 * org-docbook.el (org-export-as-docbook-batch)
7142 (org-export-region-as-docbook, org-export-as-docbook-pdf):
7143 Fix the number of arguments.
7144 (org-export-as-docbook): Remove useless argument.
7146 * org.el (org-speed-commands-default): Use ":" instead of ";" for
7147 `org-set-tags-command', which is consistent with ":" in agenda
7148 view. Use "=" for `org-columns".
7150 * org.el (org-sparse-tree): Fix redundant information in prompt.
7152 * org-exp.el (org-export-string): Fix number of arguments passed
7153 to the org-export-as-* functions.
7155 * org-latex.el (org-export-as-latex): Fix typo in docstring.
7157 * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
7159 * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
7160 bug when fontifying a keyword with no associated value.
7161 (org-cycle-internal-local): Don't run hooks when cycling a plain
7162 list before first headline.
7163 (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
7165 (org-indent-line): Fix table formulas indenting.
7167 * org-agenda.el (org-agenda-open-link): Fix bug when no link is
7168 matched. Return a message instead of an error.
7169 (org-agenda-priority): Remove useless parameter and fix showing
7170 priority in agenda buffers.
7172 * org-macs.el (org-with-buffer-modified-unmodified): New macro.
7174 * org.el (org-entry-blocked-p): Use the new macro.
7176 * org-src.el (org-edit-src-exit): Don't comma-escape the content
7177 of a fixed width region.
7179 * org.el (org-blocker-hook): Update the docstring to mention that
7180 functions in this hook should not modify the buffer.
7181 (org-trigger-hook): Small docstring fix.
7182 (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
7183 so that the function never modifies the buffer.
7185 * org-agenda.el (org-agenda-open-link): Allow to open an internal
7186 link by using the new `org-offer-links-in-entry' function.
7188 * org.el (org-offer-links-in-entry): Do not open the link directly
7189 through `org-open-link-from-string', only offer to select a link
7190 and return a cons with the link (as a string) and the end of entry.
7191 (org-open-at-point): Use `org-offer-links-in-entry' correctly.
7193 * org.el (org-cycle-internal-local):
7194 Fix bug: allow headings with leading blank characters.
7196 * org-clock.el (org-clock-persist):
7197 Docstring fix: document the 'history value.
7199 * org.el (org-insert-link): Fix bug when inserting links to
7200 headlines containing the ">" character.
7202 * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
7204 * org-compat.el (org-delete-directory): New compatibility function
7205 for Emacs 22, where `delete-directory' does not support recursive
7208 * org-odt.el (org-odt-cleanup-xml-buffers):
7209 Use the new compatibility function.
7211 * org.el (org-table-map-tables): Fix allowed blocks.
7213 * org.el (org-edit-special):
7214 * org-src.el (org-edit-src-code): Fix regression: allow editing
7215 HTML and LaTeX source blocks again.
7217 * org.el (org-nonsticky-props): Add `htmlize-link'.
7218 (org-nonsticky-props): Add `htmlize-link'.
7220 * org.el (org-edit-special):
7221 * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
7223 * org-table.el (org-table-fedit-lisp-indent)
7224 (orgtbl-self-insert-command): Use `org-delete-backward-char'
7225 instead of `backward-delete-char'.
7227 * org-src.el (org-edit-src-code): Fix another bug about editing
7228 special blocks "example" and "verbatim".
7230 * org.el (org-structure-template-alist): Add verbatim.
7231 (org-edit-special): Fix bug about editing special blocks
7232 "example" and "verbatim".
7234 * org.el (org-delete-backward-char, org-delete-char):
7235 Save match data, `delete-backward-char' and `delete-char' don't.
7237 * org.el (org-enable-table-editor, org-insert-heading)
7238 (org-remove-timestamp-with-keyword, org-self-insert-command):
7239 * org-table.el (org-table-fedit-lisp-indent)
7240 (orgtbl-self-insert-command):
7241 * org-latex.el (org-export-latex-subcontent):
7242 * org-clock.el (org-clocktable-write-default):
7243 * org-ascii.el (org-export-ascii-preprocess):
7244 Use `delete-backward-char' instead of `backward-delete-char'.
7246 * org.el (org-todo): Ignore the comment string when changing the
7247 TODO state of a headline.
7248 (org-edit-special): Fix docstring.
7249 (org-in-src-block-p): Small enhancement.
7251 * org-publish.el (org-publish-org-to): Call `org-export-as-*'
7252 functions with the correct list of arguments.
7254 * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
7255 (org-export-as-html-and-open, org-export-as-html-batch)
7256 (org-export-region-as-html): Don't use obsolete arg.
7258 * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
7259 (org-export-as-ascii-to-buffer): Don't use obsolete arg.
7261 * org.el (org-in-fixed-width-region-p): Save match data.
7262 (org-in-src-block-p): Use case-folding for searching the block
7264 (org-activate-plain-links, org-activate-angle-links)
7265 (org-activate-bracket-links): Prevent link activation in
7268 * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
7269 setting the correct buffer before marking it unmodified to
7272 * org.el (org-set-font-lock-defaults): Don't activate links in
7273 source code blocks and fixed-width regions.
7275 * org-agenda.el (org-agenda-finalize): Fix links activation.
7277 * org.el (org-open-at-point): Throw the correct error on
7278 non-links. Use `user-error' instead of `error'.
7280 * org.el (org-in-fixed-width-region-p): Define before use.
7282 * org-src.el (org-in-src-block-p): Declare function.
7284 * org-compat.el: Fix bug: don't use `eval-when-compile' when
7285 aliasing `user-error'.
7287 * org-agenda.el (org-agenda-skip): Only check if point is
7288 inside a code block, not at a code block.
7290 * org.el (org-in-fixed-width-region-p):
7291 Rewrite using org-element.el.
7293 * org.el (org-fill-paragraph): Fill correctly in source code block.
7295 * org.el (org-in-fixed-width-region-p): New function.
7296 (org-edit-special): Fix bug: make sure to DTRT in every
7297 special environment. Also use the new function to check
7298 against fixed-width environment.
7300 * org-src.el (org-edit-src-code): Check if we are in a source code
7301 block with `org-in-src-block-p'. Slightly reformat the docstring.
7303 * org.el (org-in-src-block-p): Return t when point is at the
7304 #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
7305 'inside is set to t.
7307 * ob-exp.el (obe-marker): Delete useless var.
7309 * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
7310 (copy-marker nil) on Emacs <24.1.
7312 2013-01-09 Dmitry Antipov <dmantipov@yandex.ru>
7314 * org-agenda.el (org-agenda-get-restriction-and-command):
7315 * org-capture.el (org-capture-place-template):
7316 * org-colview.el (org-dblock-write:columnview):
7317 * org-mobile.el (org-mobile-locate-entry):
7318 * org-table.el (org-table-convert-region):
7319 * org.el (org-update-statistics-cookies): Use `point-marker'.
7321 2013-01-09 Eric Schulte <eric.schulte@gmx.com>
7323 * org-exp.el (org-export-string): Pass the dir option on through
7324 to any subsequent export functions.
7326 2013-01-09 Henning Weiss <hdweiss@gmail.com> (tiny change)
7328 * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
7329 description from block agendas when they have a title.
7331 2013-01-09 Jambunathan K <kjambunathan@gmail.com>
7333 * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
7334 Fix Emacs Bug#13254.
7336 * org-odt.el (org-odt-format-org-link): Add check for presence of
7337 description in headline links.
7339 2013-01-09 Michael Gauland <mike_gauland@stanfordalumni.org> (tiny change)
7341 * org-src.el: Create a marker to pass to copy-marker.
7343 2013-01-09 Nicolas Goaziou <n.goaziou@gmail.com>
7345 * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
7346 nil because `org-adaptive-fill-function' already determines which
7347 lines should be filled.
7349 * org.el (org-fill-paragraph): Small refactoring.
7351 * org-element.el (org-element--parse-elements)
7352 (org-element-at-point): Fix parsing of a list in a block in a list.
7354 2013-01-09 Sebastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
7356 * org.el (org-copy-subtree, org-paste-subtree):
7357 Fix whitespace handling when copying/pasting a subtree.
7359 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
7361 * ob.el (org-babel-temp-file): Fix setting of
7362 `temporary-file-directory' on remote hosts.
7364 * ob-eval.el (org-babel-shell-command-on-region):
7365 Use `process-file' instead of `call-process-region'. The latter one
7366 does not work on remote hosts.
7368 2012-12-13 Bastien Guerry <bzg@gnu.org>
7370 * org-latex.el (org-export-latex-links): Escape raw path when
7371 exporting links to files.
7373 * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
7374 S-TAB key should not trigger a native TAB command.
7376 * org.el (org-open-at-point): Allow to open any link within
7377 footnotes definition, not only bracket links.
7379 * org.el (org-sort-entries): Bugfix: keep track of the clock
7380 marker when sorting entries. Enhance the docstring.
7382 * org-clock.el (org-clock-out): Use `user-error' when the user
7383 tries to clock out while there is no running clock.
7385 * org-table.el (org-table-sort-lines): Ensure coordinates are
7386 correctly displayed when sorting.
7388 * org.el (org-do-sort): Enhance prompt.
7390 * org-agenda.el (org-agenda-finalize): Also activate plain links.
7392 * org-timer.el (org-timer-stop): Add message.
7394 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
7395 Fix redundant messages.
7397 * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
7399 * org.el (org-additional-option-like-keywords): Add "INDEX:".
7401 * org-install.el: Enhance warning.
7403 2012-12-13 Erik Hetzner <egh@e6h.org> (tiny change)
7405 * org.el (org-log-into-drawer): Honor the nil value for the
7406 :LOG_INTO_DRAWER: property.
7408 2012-12-13 Le Wang <l26wang@gmail.com> (tiny change)
7410 * org-src.el (org-edit-src-exit): Fix editing source section with
7413 2012-12-13 Le Wang <le.wang@agworld.com.au>
7415 * org-src.el (org-edit-src-code): Use marker with insertion type
7416 t to track end and remove hack requiring delete from beg to (1- end).
7418 2012-12-13 Nicolas Goaziou <n.goaziou@gmail.com>
7420 * org-element.el (org-element-context): When point is between two
7421 objects, be sure to return the second one.
7423 * org-list.el (org-list-separating-blank-lines-number):
7424 When computing number of blank lines separating items, also count those
7425 in unparsed blocks, like example blocks.
7427 * org.el (org-end-of-line): When visual line mode is on, really
7428 move by visual lines. Small refactoring.
7430 * org.el (org-end-of-line): On a hidden block make sure to
7431 delegate motion to `end-of-line' instead of `move-end-of-line' in
7432 order to stay on the current line.
7434 2012-12-13 Rafael Laboissiere <rafael@laboissiere.net> (tiny change)
7436 * org-bibtex.el: In the documentation section of the file, fix the
7437 broken URL to Andrew Roberts' document on BibTeX entries.
7439 * org-remember.el (org-remember-handler): Correctly strip the
7440 comment lines in the temporary buffer *Remember* when handling a
7443 * org-remember.el (org-remember-apply-template): Start the
7444 commented lines in the Remember temporary buffer with the
7445 appropriate characters.
7447 2012-12-13 Toby S. Cubitt <tsc25@cantab.net>
7449 * org.el (org-beginning-of-line): Check `visual-line-mode' instead
7450 of `line-visual-mode' to determine whether to move by visual lines.
7452 * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
7454 2012-12-04 Chong Yidong <cyd@gnu.org>
7456 * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
7459 2012-10-26 Achim Gratz <stromeko@stromeko.de>
7461 * ob-ditaa.el: Needs to (require 'org-compat) for
7462 org-find-library-dir.
7464 * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
7465 work when loaded from compressed files.
7467 * org-compat.el: Make sure that file-name-directory is getting a
7468 stringp. This avoids a possible " (wrong-type-argument stringp
7469 nil)" error when the library in question does not exist.
7471 * org-odt.el: Replace arc-mode.el by arc-mode.
7473 * org.el: Replace org-macs.el by org-macs.
7475 * org-install.el: Provide an empty file that prints a warning
7476 about an outdated configuration.
7478 2012-10-26 Bastien Guerry <bzg@gnu.org>
7480 * org-latex.el (org-export-as-latex): Remove obsolete argument
7481 `hidden'. Also fix the docstring: using 'string as the value
7482 for `to-buffer' outputs a string with no LaTeX header.
7483 (org-export-as-latex-batch)
7484 (org-export-as-latex-to-buffer, org-export-region-as-latex)
7485 (org-export-as-pdf): Don't use the obsoleted argument.
7487 * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
7490 * org.el (org-refile): Run within `with-demoted-errors' so that a
7491 corrupted bookmark file does not stop the refile process.
7493 * org-capture.el (org-capture-bookmark-last-stored-position):
7494 Ditto for the capture process.
7496 * org-src.el (org-edit-src-exit): Fix bug when saving an empty
7499 * org-lparse.el (org-lparse): Fix bug by returning the output
7502 * org.el (org-refile-check-position): Throw an error when the
7503 refile target is the current buffer and is not a file.
7504 (org-agenda-file-to-front, org-remove-file): Throw an error
7505 when the current buffer is not a file.
7506 (org-check-agenda-file): Enhance the message.
7507 (org-element-type): Autoload.
7508 (org-element-context, org-element-paragraph-parser):
7509 Don't declare as these two functions are not used in org.el.
7511 * org-lparse.el (browse-url-file-url): Declare.
7513 * org.el (org-refile-check-position): Fix typo in docstring.
7515 * org-clock.el (org-clock-modeline-total): Make obsolete.
7516 (org-clock-mode-line-total): Rename from
7517 `org-clock-modeline-total'.
7518 (org-clock-get-sum-start): Fix references to
7519 `org-clock-modeline-total'.
7521 * org-faces.el (org-agenda-filter-tags)
7522 (org-agenda-filter-category, mode-line): Use the 'mode-line
7523 face instead of the obsolete 'modeline.
7525 * org-odt.el (org-odt-styles-dir): Try more directories.
7526 Don't throw an error, just send a message.
7528 * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
7529 (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
7530 (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
7531 correct directories without requiring other variables.
7533 * org-loaddefs.el: New file.
7535 * org.el ("org-loaddefs.el"): Don't throw an error if the file
7537 (org-version): Use org-loaddefs.el instead of org-install.el.
7539 * org.el: Don't dynamically autoload already autoloaded
7541 (org-clock-update-time-maybe): Move to org-clock.el.
7543 * org-exp.el (org-insert-export-options-template):
7544 Remove autoload cookie.
7546 * org-clock.el (org-resolve-clocks, org-clock-in)
7547 (org-clock-out, org-clock-cancel, org-clock-goto)
7548 (org-clock-sum, org-clock-display, org-clock-report)
7549 (org-dblock-write:clocktable): Add autoload cookie.
7550 (org-clock-update-time-maybe): Move from org.el.
7552 * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
7554 * org-ascii.el (org-export-ascii-preprocess): Ditto.
7556 * org-archive.el (org-archive-subtree)
7557 (org-archive-to-archive-sibling, org-toggle-archive-tag):
7558 Add autoload cookie.
7560 * org-colview.el (org-columns, org-dblock-write:columnview)
7561 (org-insert-columns-dblock, org-agenda-columns): Ditto.
7563 * org-table.el (org-table-create-with-table.el)
7564 (org-table-create-or-convert-from-region, org-table-create)
7565 (org-table-convert-region, org-table-import)
7566 (org-table-export, org-table-align)
7567 (org-table-justify-field-maybe, org-table-next-field)
7568 (org-table-previous-field, org-table-next-row)
7569 (org-table-copy-down, org-table-field-info)
7570 (org-table-current-dline, org-table-goto-column)
7571 (org-table-insert-column, org-table-delete-column)
7572 (org-table-move-column-right, org-table-move-column-left)
7573 (org-table-move-column, org-table-move-row-down)
7574 (org-table-move-row-up, org-table-move-row)
7575 (org-table-insert-row, org-table-insert-hline)
7576 (org-table-hline-and-move, org-table-kill-row)
7577 (org-table-sort-lines, org-table-cut-region)
7578 (org-table-copy-region, org-table-paste-rectangle)
7579 (org-table-convert, org-table-wrap-region)
7580 (org-table-edit-field, org-table-sum)
7581 (org-table-get-stored-formulas)
7582 (org-table-maybe-eval-formula)
7583 (org-table-rotate-recalc-marks)
7584 (org-table-maybe-recalculate-line, org-table-eval-formula)
7585 (org-table-recalculate, org-table-iterate)
7586 (org-table-edit-formulas)
7587 (org-table-toggle-coordinate-overlays)
7588 (org-table-toggle-formula-debugger, orgtbl-to-generic)
7589 (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
7590 (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
7592 * org.el (turn-on-orgtbl): Move here from org-table.el.
7593 (org-clock-persistence-insinuate): Move here from org-clock.el.
7594 (org-update-all-dblocks, org-map-entries)
7595 (org-require-autoloaded-modules, org-forward-element)
7596 (org-backward-element, org-up-element)
7597 (org-element-greater-elements, org-drag-element-backward)
7598 (org-drag-element-forward, org-mark-element)
7599 (org-narrow-to-element, org-transpose-element)
7600 (org-unindent-buffer): Don't autoload.
7602 * org-clock.el (org-clock-get-clocktable): Rename from
7603 `org-get-clocktable'.
7604 (org-clock-persistence-insinuate): Move to org.el.
7606 * org-capture.el: Do no set `generated-autoload-file' locally.
7607 Minor code clean up.
7609 * org-agenda.el (org-agenda-list):
7610 Use `org-clock-get-clocktable'. Do no set
7611 `generated-autoload-file' locally.
7613 * org-table.el (org-table-iterate-buffer-tables):
7615 (turn-on-orgtbl): Move to org.el.
7617 * org-html.el (org-export-htmlize-generate-css): Don't autoload.
7619 * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7622 * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
7624 * ob-lob.el (org-babel-lob-ingest): Ditto.
7626 * org-id.el (org-id-copy)
7627 (org-id-get-with-outline-path-completion)
7628 (org-id-get-with-outline-drilling): Ditto.
7630 * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7631 (org-lparse-to-buffer, org-replace-region-by)
7632 (org-lparse-region): Ditto.
7634 * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7636 * org.el (org-cycle): Fix misplaced autoload cookie.
7638 * org-agenda.el (org-agenda-get-timestamps): Check if the item
7639 is an habit when formatting it with `org-agenda-format-item'.
7640 (org-agenda-get-blocks): Fix bug: don't assume the item is an
7641 habit when formatting with `org-agenda-format-item'.
7643 * org.el (org-calendar-agenda-action-key): Delete an option.
7644 (org-mode-map): Delete its keybinding.
7645 (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7648 * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7649 being used outside of Org agendas, as it can be used in
7650 calendar buffers too.
7652 2012-10-26 Caio Tiago Oliveira <asrail@gmail.com> (tiny change)
7654 * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7655 block enclosing the submitted code.
7657 2012-10-26 Myles English <mylesenglish@gmail.com> (tiny change)
7659 * org-clock.el (org-clock-in): Move the call to
7660 org-clock-in-prepare-hook until the task's properties
7663 2012-10-26 Nicolas Goaziou <n.goaziou@gmail.com>
7665 * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7666 mode is nil when pre-computed `fill-prefix' is the empty string.
7667 Otherwise filling functions from fill.el think it has to be computed
7668 again and overwrite it.
7670 * org.el: Make `org-closest-date' aware of hours repeaters.
7672 * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7673 moving to the end of line. Also improve behavior on elements that
7676 * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7679 * org-element.el (org-element--get-next-object-candidates):
7680 Fix parsing of objects of the same type in a single paragraph.
7682 * org-element.el (org-element-sub/superscript-successor):
7683 Fix parsing of sub/superscript at beginning of item.
7684 (org-element-latex-or-entity-successor): Fix parsing of latex
7685 fragments at beginning of item.
7687 * org-agenda.el (org-agenda-later): Fix function when span is
7688 a number and an argument was provided. Also fix typo in docstring.
7690 * org.el (org-read-date-analyze): Fix analyzing for dates like
7693 * org-element.el (org-element-center-block-parser)
7694 (org-element-drawer-parser, org-element-footnote-definition-parser)
7695 (org-element-inlinetask-parser, org-element-plain-list-parser)
7696 (org-element-quote-block-parser, org-element-special-block-parser)
7697 (org-element-babel-call-parser, org-element-clock-parser)
7698 (org-element-comment-parser, org-element-comment-block-parser)
7699 (org-element-example-block-parser, org-element-export-block-parser)
7700 (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7701 (org-element-keyword-parser, org-element-latex-environment-parser)
7702 (org-element-paragraph-parser, org-element-planning-parser)
7703 (org-element-property-drawer-parser, org-element-src-block-parser)
7704 (org-element-table-parser)
7705 (org-element-verse-block-parserorg-element-dynamic-block-parser):
7706 Make sure element never ends at the end of a blank non-empty line.
7708 * org-element.el (org-element-context)
7709 (org-element--get-next-object-candidates): Fix `org-element-context'.
7710 In particular, the restrictions for an object may be different from
7711 those of its container (i.e. table rows and table cells).
7713 * org-element.el (org-element-example-block-parser)
7714 (org-element-src-block-parser): Store value of example-blocks and
7715 src-blocks unescaped.
7716 (org-element-example-block-interpreter)
7717 (org-element-src-block-interpreter): Escape value again when storing
7720 * org-src.el (org-escape-code-in-string)
7721 (org-unescape-code-in-string, org-escape-code-in-region)
7722 (org-unescape-code-in-region): New functions.
7723 (org-edit-src-code, org-edit-src-exit): Use new functions.
7725 * org.el (org-strip-protective-commas): Remove function.
7727 * org-exp.el (org-export-select-backend-specific-text): Use new
7730 * ob.el (org-babel-parse-src-block-match)
7731 (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7732 Always escape produced blocks, independently on the language of the
7733 block, if any. Use new functions.
7735 * org-element.el (org-element-paragraph-parser): Fix regexp
7738 * org-element.el (org-element-center-block-parser):
7739 (org-element-drawer-parser, org-element-dynamic-block-parser)
7740 (org-element-example-block-parser, org-element-export-block-parser)
7741 (org-element-latex-environment-parser, org-element-paragraph-parser)
7742 (org-element-property-drawer-parser, org-element-src-block-parser)
7743 (org-element-verse-block-parser): Use stricter regexps for boundaries
7746 2012-10-26 Toby S. Cubitt <tsc25@cantab.net>
7748 * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7749 beginning of re-search-forward loop, otherwise next iteration picks up
7750 `extra' value from previous entry.
7752 2012-09-30 Abdó Roig-Maranges <abdo.roig@gmail.com>
7754 * org-html.el (org-export-html-preprocess)
7755 (org-export-html-format-image):
7756 Use `org-latex-preview-ltxpng-directory'.
7758 * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7761 * org.el (org-latex-preview-ltxpng-directory): New option.
7762 (org-preview-latex-fragment): Store LaTeX preview images in
7763 `org-latex-preview-ltxpng-directory'.
7765 2012-09-30 Achim Gratz <Stromeko@Stromeko.DE>
7767 * ob-R.el (org-babel-R-initiate-session): Protect against use of
7768 unbound variable `ess-ask-for-ess-directory´. The default for this
7769 variable is true, so act accordingly if it is found unbound.
7771 * ob-R.el: Remove initialization with `nil´ from
7772 `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7773 Remove second declaration for `ess-local-process-name´.
7775 * org-gnus.el: Add a missing require for gnus-util.
7777 * org-compat.el: Rename utils to make throughout.
7779 * org.el: Move check for outline-mode-keymap after (require
7782 * org-element.el: New file. Do not (require 'org).
7784 * org-agenda.el: Remove duplicate requires.
7786 * org.el (org-mode-map): Add keybindings to
7787 `org-element-transpose' and `org-narrow-to-element'.
7788 (org-metaup): Fall back on `org-element-drag-backward'.
7789 (org-metadown): Fall back on `org-element-drag-forward'.
7790 Also move chunks of declarations and require statements to get rid of
7793 * org-exp-blocks.el (org): Don't require org. Add declarations.
7795 * org-clock.el (org): Don't require org.
7797 * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7799 * ob.el (org-babel-exeext): New defconst to hold extension for
7800 executables or nil if none. Should be ".exe" for both Windows and
7803 * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7804 constructing the target file name for the compiled executable.
7806 * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7807 when constructing the target file name for the compiled
7810 * org-version.el: New file.
7812 * org-compat.el (org-check-version): New macro. Check if
7813 org-version.el exists and provide autoloads to that. Otherwise
7814 check if org-fixup.el exists and use it to provide definitions.
7815 Finally if nothing worked, complain about a botched installation
7816 and provide fallback definitions.
7818 * org.el: Use org-check-version.
7820 * org.el: Fix a subtle error resulting in version functions
7821 sometimes not being defined and byte-compiling failing.
7822 Always compile in fallback definitions into org.elc -- org-fixup either
7823 provides re-definitions at compile-time or checks org-version.el
7824 and then the git work tree when run uncompiled. So the fallback
7825 definitions will only come into effect when org-fixup is not
7828 * org.el (org-version): Make org-version more robust, e.g. when
7829 byte-compiling single files with 'make compile-dirty'.
7831 * org.el (org-reload): Revert an undesirable change in org-reload.
7832 Do not prepend org-dir to babel-files, which prevents the files
7833 from being found in load-path.
7835 * org.el (org-version): Add optional parameters 'full and 'message
7836 to optionally return the full version string and echo to message
7837 area in non-interactive calls.
7839 * org.el (org-submit-bug-report): Add optional parameter 'full to
7840 call of (org-version) so that the bug report has all version
7843 * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7844 exist anymore). Keep org-*.el at the end of the files list.
7845 Explicitly load org-version.el (since it doesn't provide feature
7846 'org-version) at the very end, but ignore errors when it doesn't
7847 exist. Add parameters 'full and 'message to the call of
7848 (org-version) so that after reload the full version information is
7849 displayed in the message area again.
7851 * org-agenda.el: Replace with-no-warnings with org-no-warnings
7852 (defined in org-macs.el).
7854 * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7855 (defined in org-macs.el).
7857 * org-clock.el: Replace with-no-warnings with org-no-warnings
7858 (defined in org-macs.el).
7860 * org.el: Replace with-no-warnings with org-no-warnings (defined
7863 * org.el: Add with-not-warnings around call of (org-fixup).
7865 * org-compat.el (org-find-library-dir):
7866 Rename org-find-library-name (misleading) and implement with a function
7867 that exists identically in Emacs/XEmacs.
7869 * org-exp-blocks.el: Change calls to org-find-library-dir.
7871 * org.el: change calls to org-find-library-dir. Make require for
7872 noutline fail silently because it is missing from XEmacs.
7874 * org.el (org-version): Use functions instead of global variables
7875 to get the version strings and remove the defvaralias to
7876 org-version. Warn when encountering a mixed installation (org and
7877 org-install.el should be found in the same directory).
7879 * org.el: Add with-no-warning to defvar for two unprefixed global
7880 variables from calendar.el (there's nothing else we can do inside
7881 org until it is fixed in calendar.el).
7883 * org.el: Require find-func and remove declare-function for
7884 find-library-name, otherwise autoloaded org-version doesn't show
7887 * org.el (org-version): Show the full path to org-install.el in
7888 the version string to avoid confusion if multiple installations
7889 exist or a previously loaded org-install.el has already defined a
7890 version string that is now out of date.
7892 * org.el (org-version): Remove determination of version
7893 information, show "N/A" if the information is not provided via
7896 * org.el (org-git-version): Placeholder for recording the Git
7897 version of org during install
7899 * org.el (org-version): Initialize local git-version with
7900 placeholder and fall through using it when org is not installed in
7903 2012-09-30 Adam Spiers <orgmode@adamspiers.org> (tiny change)
7905 * org-html.el: Add hyperlink to http://orgmode.org/ from export
7908 * org-clock.el (org-clock-modify-effort-estimate): Display a
7909 message when no clock is currently active.
7911 2012-09-30 Andrew Hyatt <ahyatt@gmail.com> (tiny change)
7913 * org-archive.el (org-archive-subtree): Allow archiving to a
7916 * org.el (org-archive-location): Ditto.
7918 2012-09-30 Bastien Guerry <bzg@gnu.org>
7920 * ob-io.el: New file.
7922 * ob-scala.el: New file.
7924 * org.el (org-url-hexify-p, org-doi-server-url)
7925 (org-latex-preview-ltxpng-directory, org-custom-properties)
7926 (org-sparse-tree-default-date-type): Add :version "24.3".
7928 * org-agenda.el (org-agenda-sticky)
7929 (org-agenda-custom-commands-contexts): Ditto.
7931 * org-capture.el (org-capture-bookmark)
7932 (org-capture-templates-contexts) (org-capture-use-agenda-date):
7935 * org-latex.el (org-export-latex-hyperref-options-format)
7936 (org-export-latex-link-with-unknown-path-format): Ditto.
7938 * org-id.el (org-id-link-to-org-use-id): Ditto.
7940 * org-datetree.el (org-datetree-add-timestamp): Ditto.
7942 * org.el (org-make-link-description-function): Enhance docstring.
7943 (org-insert-link): Fall back on interactive prompt when
7944 `org-make-link-description-function' fails.
7946 * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7947 `org-agenda-sticky' is non-nil.
7949 * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7950 (org-agenda-pre-follow-window-conf): New variable.
7951 (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7952 window when there an indirect buffer is already displayed.
7954 * org-agenda.el (org-agenda-manipulate-query)
7955 (org-agenda-goto-date, org-agenda-goto-today)
7956 (org-agenda-find-same-or-today-or-agenda, )
7957 (org-agenda-later, org-agenda-change-time-span)
7958 (org-agenda-change-all-lines)
7959 (org-agenda-execute-calendar-command)
7960 (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7961 get a property from (1- (point-max)), not (point-max)).
7963 * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7966 * org-table.el (org-table-eval-formula): Convert time-stamps to
7967 inactive time-stamp so that Calc can handle them correctly.
7969 * org-table.el (org-table-fix-formulas): Warn with a message when
7970 formulas have been updated.
7972 * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7973 base-dir argument and use (file-name-directory file) to get the
7975 (org-publish-update-timestamp)
7976 (org-publish-cache-file-needs-publishing):
7977 Call `org-publish-cache-ctime-of-src' with only one argument.
7979 * org.el (org-follow-timestamp-link): Fix bug when using sticky
7980 agenda. Add a docstring.
7982 * org-agenda.el (org-agenda-sticky): Don't use a function to set.
7983 Add a :version string.
7985 * org.el (org-priority): Use a new argument to show priority
7986 instead of setting it.
7987 (org-show-priority): New function to show priority both in normal
7988 Org buffers and in Org Agenda buffers.
7989 (org-speed-commands-default): Use "," as a speed command for
7992 * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
7993 to `C-c ,' as it was before.
7994 (org-agenda-show-priority): Delete.
7995 (org-agenda-priority): Use a new argument to show priority instead
7998 * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
8000 (org-display-inline-remove-overlay): Rename from
8001 `org-display-inline-modification-hook'.
8002 (org-speed-command-activate): Rename from
8003 `org-speed-command-default-hook'.
8004 (org-babel-speed-command-hook): Rename from
8005 `org-babel-speed-command-activate'.
8007 * org-agenda.el (org-agenda-update-agenda-type): Rename from
8008 `org-agenda-post-command-hook'.
8009 (org-agenda-mode): Use the new name.
8010 (org-agenda-post-command-hook): Define as obsolete function.
8012 * org-lparse.el (org-lparse): Temporarily activate the hooks
8013 needed for the ODT conversion.
8014 (org-lparse-preprocess-after-blockquote): Rename from
8015 `org-lparse-preprocess-after-blockquote-hook'.
8016 (org-lparse-strip-experimental-blocks-maybe): Rename from
8017 `org-lparse-strip-experimental-blocks-maybe'.
8018 (org-lparse-preprocess-after-blockquote-hook)
8019 (org-lparse-strip-experimental-blocks-maybe-hook): Define as
8022 * ob.el (org-babel-insert-result): Comma-escape results inserted
8023 with ":results org".
8025 * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
8026 saving the source editing window with the default value for
8027 `org-src-window-setup' (i.e. 'reorganize-frame).
8029 * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
8030 fontify the last character.
8032 * org.el (org-open-at-point): Don't follow timestamp within
8035 * org-capture.el (org-capture-templates): Fix typo in docstring.
8037 * org-agenda.el (org-agenda-skip): Skip information retrieved from
8040 * ob.el (org-babel-common-header-args-w-values)
8041 (org-babel-insert-result): Reintroduce ":results org" but using
8042 "#+BEGIN_SRC org", not "#+BEGIN_ORG".
8044 * ob.el (org-babel-common-header-args-w-values): Remove "org" the
8045 list of predefined values for the ":results" parameter.
8047 * ob.el (org-babel-insert-result): Remove support for ":results
8050 * ob.el (org-babel-common-header-args-w-values)
8051 (org-babel-insert-result): Deprecate ":results wrap" in favor of
8054 * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
8055 happens before the first headline.
8057 * org-capture.el (org-at-encrypted-entry-p)
8058 (org-encrypt-entry, org-decrypt-entry): Declare.
8059 (org-capture-set-target-location): Check whether `org-crypt' has
8062 * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
8065 * org-capture.el (org-capture-finalize): Maybe re-encrypt the
8066 target headline if it was decrypted.
8067 (org-capture-set-target-location): Maybe decrypt the target
8070 * org-crypt.el (org-at-encrypted-entry-p): New function.
8072 * org.el (org-options-keywords): Add "STYLE:".
8074 * org-agenda.el (org-agenda-ndays): Don't make an alias, as
8075 `org-agenda-span' is defined separately.
8077 * org.el (org-in-subtree-not-table-p): New utility function for
8079 (org-org-menu): Add an item for refiling. Check more contexts
8080 when activating items.
8081 (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
8083 * org-agenda.el (org-agenda-tree-to-indirect-buffer)
8084 (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
8086 * org-capture.el (org-capture-set-target-location): Set a correct
8087 time value when storing a note in a datetree and prompting the
8090 * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
8093 * org-agenda.el (org-agenda-menu-two-column)
8094 (org-finalize-agenda-hook, org-agenda-ndays):
8095 Use `define-obsolete-variable-alias' instead of
8096 `make-obsolete-variable'.
8098 * org.el (org-link-to-org-use-id): Move to org-id.el.
8100 * org-id.el (org-id-link-to-org-use-id): Rename from
8101 `org-link-to-org-use-id'. Use `nil' as the default value.
8102 (org-link-to-org-use-id): Alias and define as obsolete.
8104 * org-agenda.el (org-search-view, org-agenda-get-todos)
8105 (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
8106 parameter of `org-agenda-format-item' so that 'time-up and
8107 'time-down agenda sorting strategies are handled correctly.
8109 * org-capture.el (org-capture-fill-template): Fix checking of
8110 protected template entries.
8112 * org.el (org-cycle-global-at-bob): Fix typo in docstring.
8114 * org.el (org-insert-drawer): Deactivate the mark before trying to
8115 indent the :END: of the drawer.
8117 * org-agenda.el (org-agenda-export-html-style): Default to nil as
8118 any string value will replace the htmlize style.
8120 * org.el (org-cycle-hook): Fix tiny typo in docstring.
8122 * org.el (org-time-string-to-time)
8123 (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
8125 * org-freemind.el (org-freemind-write-node): Enhance links
8126 conversion in nodes.
8128 * org-freemind.el (org-freemind-write-node): Convert links in
8131 * org.el (org-link-to-org-use-id, org-directory)
8132 (org-default-notes-file, org-reverse-note-order)
8133 (org-extend-today-until, org-finish-function)
8134 (org-store-link-functions): Use "capture" instead of "remember" in
8135 docstrings. Also use the `org-capture' group when it makes sense.
8137 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
8138 correct agenda buffer. Don't split the agenda window when the
8139 indirect buffer is displayed in another frame.
8141 * org.el (org-mode): Try to set the org-hide face correctly.
8143 * org-exp.el (org-export): Set the mark correctly when exporting a
8146 * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
8147 display of the number of commands for block agendas.
8149 * org-agenda.el (org-agenda-before-write-hook)
8150 (org-agenda-add-entry-text-maxlines): Enhance phrasing.
8151 (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
8152 buffer is writable when the hook is called.
8153 (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
8156 * org-agenda.el (org-habit-show-all-today): Only use defvar to
8157 silent the byte-compiler.
8158 (org-agenda-get-scheduled): Check whether some org-habit.el
8159 options have been defined.
8161 * org-capture.el (org-capture-entry): New variable.
8162 (org-capture-string, org-capture): Use it to possibly skip the
8163 interactive prompt for a capture template.
8165 * org.el (org-activate-plain-links): Don't try to check if we are
8166 in a bracket link already.
8168 * org.el (org-read-date-analyze): Fix bug introduced in commit
8169 cc5f9f: adding a time should not prevent relative answers to be
8172 * org-agenda.el (org-agenda-bulk-action): Always read the date
8173 through `org-read-date'. When possible, use the date at point as
8176 * org-agenda.el (org-agenda-bulk-action): Fix bug when
8177 bulk-shifting timestamps.
8179 * org.el (org-version): New constant.
8181 * org-compat.el (org-random): New compatibility function.
8183 * org-id.el (org-id-uuid): Use it.
8185 * org-capture.el (org-capture-use-agenda-date): New option.
8186 (org-capture): Use it.
8188 * org-agenda.el (org-agenda-capture): New command.
8189 (org-agenda-mode-map): Bind it to `k'.
8190 (org-agenda-menu): Add it to the menu.
8192 * org-capture.el (org-capture): Update docstring.
8194 * org-capture.el (org-capture): When called from an agenda buffer,
8195 use the cursor date at the default date.
8197 * org-agenda.el (org-agenda-bulk-action): Use the let-bound
8198 `entries' instead the variable.
8200 * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
8201 persistent marks too early.
8203 * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
8204 point to reset the scheduled or deadline cookie. On date headers,
8205 use it without prompting the user. On an item, use the item's
8206 date as the default prompt for `org-read-date'.
8208 * org.el (org-read-date): Docstring fix.
8210 * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
8213 * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
8214 (org-agenda-mode-map): Delete related keys.
8216 * org-agenda.el (org-agenda-menu): Fix a keybinding.
8218 * org-colview.el (org-columns-goto-top-level): Correctly move the
8219 marker `org-columns-top-level-marker'.
8220 (org-agenda-columns): Don't set
8221 `org-agenda-overriding-columns-format' as a buffer variable, as we
8222 only need it dynamically.
8223 (org-agenda-colview-summarize): Fix a bug in returning the match
8226 * org-agenda.el (org-agenda-span-to-ndays): Make the second
8227 argument `starting-day' optional.
8228 (org-agenda-goto-date): Keep parameters of custom agendas.
8230 * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
8231 name through a temporary variable.
8232 (org-agenda-buffer-tmp-name): New variable to temporary store the
8235 * org-agenda.el (org-agenda-goto-date): Fix behavior when using
8238 * org-agenda.el (org-diary): Don't check whether there is an
8239 agenda buffer when trying to compile the prefix format.
8240 (org-compile-prefix-format): Check if there is an agenda buffer.
8241 If not, use the current buffer.
8243 * org-agenda.el (org-agenda-get-day-entries): Set the agenda
8244 buffer inconditionnally.
8246 * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
8247 more general regexp.
8249 * ob.el (org-babel-where-is-src-block-head): Find a src block head
8250 correctly when #+header(s) is before #+name.
8252 * org-agenda.el (org-agenda-finalize-hook)
8253 (org-agenda-finalize, org-agenda-finalize-entries): Rename from
8254 org-finalize-agenda-*.
8255 (org-agenda-run-series, org-agenda-finalize, org-timeline)
8256 (org-agenda-list, org-search-view, org-todo-list)
8257 (org-tags-view, org-diary, org-agenda-finalize-entries)
8258 (org-agenda-change-all-lines): Use the new names.
8260 * org-agenda.el (org-agenda-local-vars):
8261 Remove ̀org-agenda-last-arguments' from the list of local variables.
8262 (org-agenda-mode-map): `g' does the same than `r' in buffers with
8263 only one agenda view, but its behavior differs when there are
8264 several views. In manually appended agendas (with `A'), `g'
8265 displays only the agenda under the point. With multiple agenda
8266 blocks, `g' reinitializes the view by discarding any temporary
8267 changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
8268 changes for the agenda view under the point.
8269 (org-agenda-run-series, org-agenda-redo): Implement the above
8271 (org-agenda-mark-header-line): Don't set useless properties.
8272 (org-agenda-list, org-todo-only, org-search-view)
8273 (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
8274 (org-agenda-manipulate-query, org-agenda-goto-today)
8275 (org-agenda-later, org-agenda-change-time-span): Use text
8276 properties for storing the last command and the last arguments for
8278 (org-unhighlight-once): Delete.
8280 * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
8283 * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
8284 check whether we are in org-agenda-mode.
8286 * org-agenda.el (org-agenda-pre-window-conf): Rename from
8287 `org-pre-agenda-window-conf'.
8288 (org-agenda-local-vars, org-agenda-prepare-window)
8289 (org-agenda-Quit, org-agenda-quit): Use the new name.
8291 * org-agenda.el (org-keys, org-match): New variable, dynamically
8292 scoped in `org-agenda'.
8293 (org-agenda, org-agenda-list, org-search-view, org-todo-list)
8294 (org-tags-view): Use the new variables.
8295 (org-batch-store-agenda-views): Let-bind `match'.
8297 * org-agenda.el (org-search-view, org-todo-list)
8298 (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
8299 these functions programmatically. Also use the sticky agenda
8302 * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
8303 correctly with sticky agendas and non-custom commands.
8305 * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
8306 `org-fit-agenda-window'.
8307 (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
8308 (org-search-view, org-todo-list, org-tags-view): Use the new name.
8310 * org-agenda.el (org-agenda-prepare): Let `throw' display an
8313 * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
8314 when called from programs as (org-agenda-list).
8316 * org-agenda.el (org-todo-list): Make arg optional.
8318 * org.el (org-agenda-prepare-buffers): Rename from
8319 `org-prepare-agenda-buffers'.
8320 (org-match-sparse-tree, org-map-entries): Use the new names.
8322 * org-agenda.el (org-agenda-prepare-window): Rename from
8323 `org-prepare-agenda-window'.
8324 (org-agenda-prepare): Rename from `org-prepare-agenda'.
8325 (org-agenda-run-series, org-agenda-prepare, org-timeline)
8326 (org-agenda-list, org-search-view, org-todo-list)
8327 (org-tags-view, org-agenda-list-stuck-projects, org-diary)
8328 (org-agenda-to-appt): Use the new names.
8330 * org-mobile.el (org-mobile-create-index-file): Ditto.
8332 * org-icalendar.el (org-export-icalendar): Ditto.
8334 * org-clock.el (org-dblock-write:clocktable)
8335 (org-dblock-write:clocktable): Ditto.
8337 * org-agenda.el (org-agenda): In sticky agendas, use the current
8338 command's match to set the buffer name. This gives more
8339 information to the user and allows to distinguish various agendas
8340 triggered by the same key.
8341 (org-batch-store-agenda-views): Handle the new sticky agenda
8344 * org-agenda.el (org-agenda)
8345 (org-agenda-get-restriction-and-command): Use `S' as a key for
8346 searching words in TODO-only entries.
8348 * org-agenda.el (org-prepare-agenda): Fit agenda window when
8349 displaying a sticky agenda.
8351 * org-table.el (org-table-number-regexp): Allow the user to set it
8352 to a new regexp, which allows commas as decimal mark. The default
8353 is to not use this setting, but the one before commit 7ff8c1,
8354 which has ben reverted.
8356 * org-agenda.el (org-agenda-overriding-cmd)
8357 (org-agenda-multi-current-cmd)
8358 (org-agenda-multi-overriding-arguments): New variables.
8359 (org-agenda-run-series): `org-agenda-overriding-arguments'
8360 defaults to the last agenda block arguments, so don't use it
8362 (org-agenda-mark-header-line): Add properties needed so that
8363 `org-agenda-overriding-arguments', `org-agenda-current-span' and
8364 `org-agenda-last-arguments' can be set to their correct contextual
8366 (org-agenda-multi-back-to-pos): New variable.
8367 (org-agenda-later): Retrieve `org-agenda-current-span' and
8368 `org-agenda-overriding-arguments' from text properties.
8369 Also handle numeric span.
8370 (org-agenda-later, org-agenda-change-time-span):
8371 Set `org-agenda-overriding-cmd' so that we to take overriding
8372 arguments into account for this command only.
8374 * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
8375 Fix bug when called with a non-nil value of `org-agenda-stick'.
8377 * org-agenda.el (org-agenda-refile): Fix bug when refiling an
8378 entry from a sticky agenda.
8380 * org-agenda.el (org-prepare-agenda-window):
8381 Use `org-pre-agenda-window-conf' if already set.
8382 (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
8384 (org-agenda-quit): Ditto.
8386 * org-capture.el (org-capture-fill-template): Protect the text
8387 used for replacement from being further replaced.
8389 * org.el (org-contextualize-validate-key): Fix the check against a
8392 * org.el (org-contextualize-keys): Rename from
8393 `org-contextualize-agenda-or-capture'. Fix normalization to
8394 handle empty key replacement string.
8395 (org-contextualize-validate-key): Rename from
8396 `org-contexts-validate'. Allow checking against a custom
8399 * org-agenda.el (org-agenda-custom-commands-contexts): Update.
8400 (org-agenda): Use `org-contextualize-keys'.
8402 * org-capture.el (org-capture-templates-contexts): Ditto.
8404 * org.el (org-contextualize-agenda-or-capture):
8407 * org.el (org-contextualize-agenda-or-capture): Handle key
8408 replacement depending on the contexts.
8410 * org-capture.el (org-capture-templates-contexts): Allow to use
8411 the context as a way to replace one capture template by another
8414 * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
8415 use the context as a way to replace one agenda custom command by
8418 * org.el (org-contextualize-agenda-or-capture)
8419 (org-rule-validate): New functions, implement context filtering
8420 for agenda commands and capture templates.
8422 * org-agenda.el (org-agenda-custom-commands-contexts): New option.
8423 (org-agenda): Use it.
8425 * org-capture.el (org-capture-templates-contexts): New option.
8426 (org-capture-select-template): Use it.
8428 * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
8429 (org-mode): Set `beginning-of-defun-function' and
8430 `end-of-defun-function' directly.
8432 * org.el (org-insert-link): Fix bug: include links abbreviations
8435 * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
8436 `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
8437 items should not be ignored.
8439 * org.el (org-ds-keyword-length, org-make-tags-matcher):
8442 * org-freemind.el (org-freemind-convert-links-from-org): Replace
8443 literally to prevent errors when replacing with string containing
8446 * org-pcomplete.el (org-thing-at-point): Allow to match (and then
8447 complete) a "thing" containing dashes.
8449 * org-table.el (org-table-toggle-coordinate-overlays):
8450 Better message when interactively toggling.
8452 * org-table.el (org-table-number-regexp): Update the docstring to
8453 show an example of a decimal number using the comma as a
8456 * org-agenda.el (org-prepare-agenda): Minor code clean-up.
8457 (org-agenda-filter-by-category): Filtering must be turned off only
8458 when a category filter has been set and this filter is not empty.
8460 * org-agenda.el (org-search-view, org-agenda-get-todos)
8461 (org-agenda-get-timestamps, org-agenda-get-sexps)
8462 (org-agenda-get-progress, org-agenda-get-deadlines)
8463 (org-agenda-get-scheduled, org-agenda-get-blocks):
8464 Use `category-pos' instead of `org-category-pos'.
8466 * ob-fortran.el (org-babel-fortran-transform-list): Rename from
8467 `ob-fortran-transform-list'.
8468 (org-babel-fortran-var-to-fortran): Use the new function's name.
8470 * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
8471 `ob-calc-maybe-resolve-var'.
8472 (org-babel-execute:calc): Use the new function's name.
8474 * org-jsinfo.el (org-infojs-template): Add a license.
8475 (org-infojs-handle-options): Replace all template elements.
8477 * org-html.el (org-export-html-scripts): Add a license.
8478 (org-export-html-mathjax-config): Replace all template elements.
8479 (org-export-html-mathjax-template): Add a license.
8480 (org-export-as-html): Minor code clean-up.
8482 * org.el (org-options-keywords): Add "#+MATHJAX" and
8483 "#+INFOJS_OPT" to the list of keywords for completion.
8485 * org.el (org-src-prevent-auto-filling): Remove unused and useless
8488 * org.el (org-element-at-point): Autoload.
8489 (org-element-up): Remove useless declaration.
8490 (org-fill-context-prefix, org-fill-paragraph)
8491 (org-mark-element, org-narrow-to-element)
8492 (org-transpose-element, org-unindent-buffer): Do not require
8495 * org.el (org-fill-paragraph): Require org-element.
8497 * org-agenda.el (org-agenda-persistent-marks): Minor docstring
8500 * org.el (org-create-math-formula): Use the compatibility function
8501 `org-region-active-p'.
8503 * org-odt.el (org-export-as-odf): Ditto.
8505 * ob.el (org-babel-demarcate-block): Ditto.
8507 * org.el (org-mark-subtree): Maybe call `org-mark-element'
8509 (org-mark-element): Only mark further elements when called
8512 * org.el (org-mark-element, org-narrow-to-element)
8513 (org-transpose-element): Require org-element.
8515 * org-agenda.el (org-agenda-get-timestamps)
8516 (org-agenda-get-sexps, org-agenda-get-deadlines)
8517 (org-agenda-get-scheduled): Add the 'warntime as a text property,
8518 getting its value from the APPT_WARNTIME property.
8519 (org-agenda-to-appt): Use the 'warntime text property.
8521 * org-capture.el (org-capture-place-table-line): Fix bug.
8523 * org.el (org-activate-plain-links): Don't activate a plain link
8524 when it is part of a bracketed link, unless bracketed links are
8525 not enlisted in `org-activate-links'.
8526 (org-open-at-point): Don't consider the text immediately after a
8527 bracketed link is part of a plain link.
8529 * org.el (org-compute-latex-and-specials-regexp)
8530 (org-paste-subtree, org-sort-entries, org-store-link)
8531 (org-open-at-point, org-file-remote-p, org-add-log-setup)
8532 (org-set-tags-to, org-fast-tag-selection)
8533 (org-diary-sexp-entry): Ditto.
8535 * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
8536 (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
8537 (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
8538 end of (cond ...) constructs.
8540 * org-mobile.el (org-mobile-create-index-file): Ditto.
8542 * org-lparse.el (org-lparse-format-table-row): Ditto.
8544 * org-list.el (org-sort-list): Ditto.
8546 * org-id.el (org-id-get): Ditto.
8548 * org-html.el (org-export-html-preprocess): Ditto.
8550 * org-exp.el (org-default-export-plist)
8551 (org-table-clean-before-export): Ditto.
8553 * org.el (org-options-keywords): Add "TODO".
8554 (org-make-options-regexp): Make the hashtag mandatory for options
8555 and don't allow whitespaces between the hashtag and the plus sign.
8557 * org.el (org-refresh-category-properties)
8558 (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
8559 Allow lowercase "#+category" and "#+begin:" dynamic blocks.
8561 * org.el (org-context): Use case-folding when trying to match
8562 clocktables and source blocks contexts.
8564 * org-clock.el (org-clock-put-overlay): Put the overlay on the
8565 whole headline, not only on the last character. This fixes a bug
8566 with overlays on headlines ending with a bracketed link.
8568 * org-html.el (org-export-as-html): Make sure we always process a
8571 * org-exp.el (org-export-cleanup-toc-line): Always return a
8574 * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
8575 metalines with #+results[...]:.
8577 * org-exp.el (org-export-handle-metalines): Rename from
8578 `org-export-handle-table-metalines'. Now also handle source block
8580 (org-export-res/src-name-cleanup): Delete.
8581 (org-export-preprocess-string): Use `org-export-handle-metalines'.
8582 Don't use `org-export-res/src-name-cleanup' anymore.
8584 * org-html.el (org-format-org-table-html): Don't include the
8585 caption tag for empty captions in HTML export. Keep it in the
8586 DocBook export so that it produces valid DocBook XML.
8588 * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
8589 8am" to be parsed correctly with respect to possible values of
8590 `org-read-date-prefer-future'.
8591 (org-read-date-prefer-future): Update docstring to remove the
8592 restriction about inserting only the time. The user can now
8593 insert the time and the day.
8595 * org-icalendar.el (org-icalendar-print-entries): Rename from
8596 `org-print-icalendar-entries'.
8597 (org-icalendar-start-file): Rename from
8598 `org-start-icalendar-file'.
8599 (org-icalendar-finish-file): Rename from
8600 `org-finish-icalendar-file'.
8601 (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
8602 (org-export-icalendar): Use the correct functions.
8604 * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
8607 * org.el (org-fill-context-prefix): Require org-element.
8608 (org-timestamp-change): Fix bug by saving excursion when adjusting
8611 * org.el (org-read-date-prefer-future): Fix docstring formatting.
8612 (org-read-date-analyze): Fix the interpretation of
8613 `org-read-date-prefer-future'.
8615 * org-agenda.el (org-agenda-menu-two-column): Rename to
8616 `org-agenda-menu-two-columns'.
8618 * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
8619 Replace `org-labels' by `let*'.
8621 * org-bibtex.el (org-bibtex-headline): Ditto.
8623 * org-compat.el: Delete `org-labels'.
8625 * ob.el (org-babel-get-src-block-info)
8626 (org-babel-check-src-block, org-babel-current-result-hash)
8627 (org-babel-parse-src-block-match, org-babel-read-link)
8628 (org-babel-insert-result, org-babel-clean-text-properties):
8629 Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8630 (org-babel-clean-text-properties): Delete redundant function
8631 `org-babel-clean-text-properties'.
8633 * ob-tangle.el (org-babel-tangle-collect-blocks)
8634 (org-babel-tangle-comment-links): Ditto.
8636 * ob-table.el (sbe): Ditto.
8638 * ob-lob.el (org-babel-lob-get-info)
8639 (org-babel-lob-execute): Ditto.
8641 * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8643 * org-macs.el (org-no-properties): Allow a new parameter
8644 `restricted' to restrict the properties removal to those in
8645 `org-rm-props'. The default is now to remove all properties.
8647 * org-compat.el (org-substring-no-properties): Remove unused
8650 * org-remember.el (org-remember-apply-template): Remove redundant
8651 removal of text properties.
8652 (org-remember-apply-template): Use `org-no-properties'.
8654 * org-capture.el (org-capture-fill-template): Remove redundant
8655 removal of text properties.
8656 (org-capture-fill-template): Use `org-no-properties'.
8658 * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8659 Use `org-no-properties'.
8661 * org-colview.el (org-columns-display-here): Ditto.
8663 * org-table.el (org-table-eval-formula): Ditto.
8665 * org.el (org-entry-properties): Ditto.
8667 * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8668 handling `alarm-time'.
8670 * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8672 * org.el (org-store-log-note): Only skip comments starting with "#
8673 " when storing a note.
8675 * org.el (org-custom-properties): New option.
8676 (org-custom-properties-overlays): New variable.
8677 (org-toggle-custom-properties-visibility): New command to toggle
8678 the visibility of custom properties.
8679 (org-check-before-invisible-edit): Also prevent errors when trying
8680 to edit invisible properties.
8682 * org-datetree.el (org-datetree-add-timestamp): New option.
8683 (org-datetree-insert-line): Use it.
8685 * org.el (org-fill-template): Fix bug when filling template for a
8686 key associated to the nil value.
8688 * org-agenda.el (org-diary): Fix tiny typo.
8690 * org.el (message-in-body-p): Move declaration up to fix compiler
8693 * org.el (org-fill-context-prefix): Fix auto-filling in
8696 * org.el (org-fill-paragraph): Correctly fill paragraph in
8698 (org-indent-line): Correctly indent according to mode when
8699 `orgstruct++-mode' is on.
8700 (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8701 stored in `org-fb-vars'.
8703 * org.el (org-fill-paragraph): Make a command. Fix bug about
8704 filling message headers and citations.
8706 * org.el (org-redisplay-inline-images): New command.
8707 (org-mode-map): Bind it to C-c C-x C-M-v.
8709 * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8710 (org-columns-get-format): Fix compiler warning.
8712 * org-feed.el: Add declarations.
8714 * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8715 allow tag inheritance.
8717 * org-capture.el (org-capture): Fix bug introduced by commit
8720 * org-publish.el (org-publish-needed-p)
8721 (org-publish-update-timestamp, org-publish-file)
8722 (org-publish-cache-file-needs-publishing): New argument
8724 (org-publish-cache-ctime-of-src): Use the new argument to make
8725 sure we find the file according to :base-directory.
8727 * org-capture.el (org-capture-string): New command to prompt for
8728 the interactive text interactively. This can also be used in
8729 Elisp programs to use ̀org-capture' with some initial text.
8730 (org-capture-initial): New variable to store the initial text.
8731 (org-capture): Use `org-capture-initial'.
8733 * org.el (org-emph-re): Tiny docstring formatting fix.
8735 * org-compat.el (org-labels): Remove.
8737 * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8739 * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8741 * org.el (org-emph-re): Tiny formatting fix.
8743 * org.el (orgstruct-setup): Require `org-element'.
8745 * org.el (org-store-link, org-open-at-point): New link type
8748 * org-compat.el (org-flet): Remove alias.
8750 * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8751 (org-babel-get-rownames, org-babel-insert-result)
8752 (org-babel-merge-params)
8753 (org-babel-expand-noweb-references): Don't use `org-flet'.
8754 Also indent some functions correctly.
8756 * ob.el (org-babel-execute-src-block)
8757 (org-babel-join-splits-near-ch, org-babel-format-result)
8758 (org-babel-examplize-region): Don't use `org-flet'.
8759 (org-babel-tramp-handle-call-process-region): Fix typo.
8761 * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8763 * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8765 * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8766 Don't use `org-flet'.
8768 * org-pcomplete.el (org-compat): Require.
8770 * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8772 * org-bibtex.el (org-bibtex-write): Use let*.
8774 * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8776 * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8777 (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8779 * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8781 * org-pcomplete.el (org-thing-at-point): Ditto.
8783 * org.el (org-timestamp-change): Ditto.
8785 * org-mouse.el (org-mouse-timestamp-today)
8786 (org-mouse-set-priority, org-mouse-popup-global-menu)
8787 (org-mouse-context-menu): Don't use ̀org-flet'.
8789 * org.el (org-priority): Fix docstring.
8791 * org-publish.el (org-publish-write-cache-file)
8792 (org-publish-initialize-cache)
8793 (org-publish-cache-file-needs-publishing)
8794 (org-publish-cache-get): Small code clean-up.
8796 * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8798 * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8799 agenda entries created from sexps.
8801 * org-capture.el (org-capture-templates): Docstring clean up.
8802 (org-capture-place-entry, org-capture-place-item)
8803 (org-capture-place-plain-text, org-capture-place-table-line):
8804 Ensure to always position the point according to %?.
8806 * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8807 converting remote table references.
8809 * org-agenda.el (org-agenda-switch-to): Run hooks in
8810 ̀org-agenda-after-show-hook'.
8812 * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8813 variable `length' to `lgth'.
8815 * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8818 * org-exp.el (org-export-format-source-code-or-example): Ditto.
8820 * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8822 * ob.el (org-babel-view-src-block-info)
8823 (org-babel-execute-src-block, org-babel-edit-distance)
8824 (org-babel-switch-to-session-with-code)
8825 (org-babel-balanced-split, org-babel-insert-result): Ditto.
8827 * ob-ref.el (org-babel-ref-index-list): Ditto.
8829 * ob-python.el (org-babel-python-evaluate-session): Ditto.
8831 * ob-lob.el (org-babel-lob-get-info): Ditto.
8833 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8835 * ob-exp.el (org-babel-exp-do-export): Ditto.
8837 * org-table.el (orgtbl-to-generic): Fix docstring.
8839 * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8840 argument `switch-to-state' set to nil. Fix docstring.
8841 (org-clock-in-last): Prompt for a todo state to switch to when
8842 called with three universal prefix arguments. Don't display a
8843 message when the clock is already running. Update docstring.
8844 (org-clock-out): New argument `switch-to-state'. When this
8845 argument is non-nil, prompt for a state to switch the clocked out
8846 task to, overriding `org-clock-out-switch-to-state'.
8848 * org.el (org-entry-get): Don't use `org-flet'.
8850 * org.el (org-forward-heading-same-level): Rename from
8851 `org-forward-same-level'.
8852 (org-backward-heading-same-level): Rename from
8853 `org-backward-same-level'.
8855 * org.el (org-forward-element): Rename from `org-element-forward'.
8856 (org-backward-element): Rename from `org-element-backward'.
8857 (org-up-element): Rename from `org-element-up'.
8858 (org-down-element): Rename from `org-element-down'.
8859 (org-drag-element-backward): Rename from
8860 `org-element-drag-backward'.
8861 (org-drag-element-forward): Rename from
8862 `org-element-drag-forward'.
8863 (org-mark-element): Rename from `org-element-mark-element'.
8864 (org-transpose-element): Rename from `org-element-transpose'.
8865 (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8866 (org-mode-map): Update the names of a commands. Remove useless
8869 * org-element.el (org-element-forward, org-element-backward)
8870 (org-element-up, org-element-down)
8871 (org-element-drag-backward, org-element-drag-forward)
8872 (org-element-mark-element, org-narrow-to-element)
8873 (org-element-transpose, org-element-unindent-buffer): Move to
8876 * org.el (org-forward-same-level): Fix typo in docstring.
8878 * org-agenda.el (org-agenda-mode-map):
8879 Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8880 (org-agenda-next-item, org-agenda-previous-item): New commands to
8881 move by one item down/up in the agenda.
8882 (org-agenda-mode-map): Bind `org-agenda-next-item' and
8883 `org-agenda-previous-item' to `N' and `P' respectively.
8885 * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8886 Toggle headers when necessary.
8888 * org-element.el (org-narrow-to-element): Autoload.
8890 * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8891 (org-mark-subtree): Allow a numeric prefix argument to move up
8892 into the hierarchy of headlines.
8894 * org-element.el (org-element-up, org-element-down): Autoload.
8896 * org.el: Declare functions and don't require org-element.
8898 * org-element.el (org-element-at-point, org-element-forward)
8899 (org-element-backward, org-element-drag-backward)
8900 (org-element-drag-forward, org-element-mark-element)
8901 (org-element-transpose, org-element-unindent-buffer): Autoload.
8902 Require 'org and remove all declarations.
8904 * org.el (org-outline-regexp-bol, org-heading-regexp):
8905 Use variables instead of constants.
8907 * org-archive.el (org-datetree-find-date-create): Declare.
8909 * org.el (org-open-at-point): Only set
8910 `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8913 * org-icalendar.el (org-print-icalendar-entries):
8914 Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8916 * org.el (org-special-properties): New special property
8918 (org-entry-properties): Handle the new special property.
8920 * org-colview.el (org-columns): Handle a new special property
8922 (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8924 * org-clock.el (org-clock-sum-today): New function.
8925 (org-clock-sum): New argument PROPNAME to set a custom text
8926 property instead of :org-clock-minutes.
8928 * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8929 error message when no agenda is currently being displayed.
8931 * org.el (org-get-property-block): Find blocks before the first
8933 (org-entry-properties): Minor code cleanup.
8934 (org-entry-get, org-entry-get-with-inheritance): Get property
8935 before the first headline.
8937 * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8939 * org.el (org-make-link): Delete.
8940 (org-store-link, org-insert-link)
8941 (org-file-complete-link): Don't use `org-make-link'.
8943 * org-wl.el (org-wl-store-link-folder)
8944 (org-wl-store-link-message): Ditto.
8946 * org-vm.el (org-vm-store-link): Ditto.
8948 * org-rmail.el (org-rmail-store-link): Ditto.
8950 * org-mhe.el (org-mhe-store-link): Ditto.
8952 * org-mew.el (org-mew-store-link): Ditto.
8954 * org-irc.el (org-irc-erc-store-link): Ditto.
8956 * org-info.el (org-info-store-link): Ditto.
8958 * org-id.el (org-id-store-link): Ditto.
8960 * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8962 * org-eshell.el (org-eshell-store-link): Ditto.
8964 * org-bbdb.el (org-bbdb-store-link): Ditto.
8966 * org.el (org-url-hexify-p): New option. When non-nil (the
8967 default), hexify URLs when creating a link.
8969 * org.el (org-insert-link): Make sure point is at the beginning of
8972 * org.el (clean-buffer-list-kill-buffer-names): Declare.
8973 (org-open-at-point): Allow opening multiple shell links by
8974 creating a new output buffer for each shell process. The new
8975 buffer is added to `clean-buffer-list-kill-buffer-names'.
8977 * org-mobile.el (org-mobile-create-index-file):
8978 Use `org-global-tags-completion-table' instead of
8979 `org-tag-alist-for-agenda' to get the tags for the index file.
8981 * org.el (org-global-tags-completion-table): Fix typo in
8984 * org.el (org-link-to-org-use-id): Use `org-capture' instead of
8985 `org-remember' in the docstring.
8986 (org-link-fontify-links-to-this-file): New function to fontify
8987 links to the current buffer in `org-stored-links'.
8988 (org-store-link): Small code simplification.
8989 (org-link-prettify): Enclose literal links into <...> instead of
8991 (org-insert-link): Use `org-link-fontify-links-to-this-file'.
8992 Also allow completion over links' descriptions, as well as links
8993 destinations. When the user uses the description for completion,
8994 don't prompt again for a description.
8996 * org-capture.el (org-capture-templates): Fix docstring by adding
8997 Gnus to the list of mail clients.
8999 * org.el (org-log-repeat): Enhance docstring.
9001 * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
9002 `org-element-backward/forward' as these functions stops when there
9003 is no element of the same type before/after point. It is useful
9004 to navigate with `forward/backward-paragraph' with no stop in most
9007 * org-capture.el (org-capture-templates): New template %l to
9008 insert the literal link pointing at the current buffer.
9010 * org.el (org-todo-keywords): Ditto.
9012 * org.el (org-fill-paragraph): Falls back on
9013 `message-fill-paragraph' if required in `message-mode'.
9015 * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
9016 (pcomplete/org-mode/file-option/options)
9017 (pcomplete/org-mode/file-option/title)
9018 (pcomplete/org-mode/file-option/author)
9019 (pcomplete/org-mode/file-option/email)
9020 (pcomplete/org-mode/file-option/date): Use the new macro to offer
9021 completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
9024 * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
9025 an external file while `org-agenda-sticky' is non-nil.
9027 * org.el (org-speed-commands-default): New speedy command to
9028 quickly add the :APPT_WARNTIME: property.
9030 * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
9031 property to override `appt-message-warning-time' when adding an
9032 appointment from an entry.
9034 * org.el (org-version): Improve docstring.
9035 (org-self-insert-cluster-for-undo): The default value should be
9036 nil for Emacs >=24.1. See bug#11774.
9038 * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
9041 * org.el (org-options-keywords): New constant.
9042 (org-additional-option-like-keywords): Remove duplicates with
9043 keywords in the new constant.
9044 (org-additional-option-like-keywords-for-flyspell): Use the new
9046 (org-mode-flyspell-verify): Exclude keywords from the new
9049 * org-pcomplete.el (pcomplete/org-mode/file-option):
9050 Use `org-options-keywords'.
9052 * org.el (org-toggle-heading): Bugfix: use
9053 `org-element-mark-element' instead of `org-mark-list'.
9055 * org-list.el (org-mark-list): Delete.
9057 * org.el: Update a few keybindings.
9059 * org-element.el (org-element-down): Throw an error when the
9060 element has no content.
9062 * org-table.el (orgtbl-radio-table-templates): Add a template for
9064 (orgtbl-to-orgtbl): Complete and align the table created with
9065 orgtbl-to-orgtbl, in case the user use the function for radio
9067 (orgtbl-to-table.el): New function to export a table to another
9068 one using the table.el format.
9069 (orgtbl-to-unicode): New function to export a table using unicode
9072 * org-exp.el (org-export-language-setup): Use "Sommaire" for the
9073 french translation of "Table of contents", to avoid a possible bug
9074 when exporting to ODT.
9076 * org.el (org-additional-option-like-keywords): Add keywords.
9077 (org-additional-option-like-keywords-for-flyspell): New constant
9078 to use with flyspell.
9079 (org-mode-flyspell-verify): Use the dedicated constant and don't
9080 check `org-startup-options'.
9082 * org-agenda.el (org-batch-store-agenda-views): Use the sticky
9083 agenda buffer name, if required.
9084 (org-agenda-write): New parameter `agenda-bufname' to allow
9085 setting the agenda buffer name.
9087 * org.el (org-mode-map): Add keybindings for
9088 `org-element-forward', `org-element-backward', `org-element-up'
9089 and `org-element-down'.
9091 * org.el (org-auto-fill-function): Don't call `do-auto-fill'
9092 within (org-let org-fb-vars ...) as `do-auto-fill' should do the
9093 right thing whether orgstruct++-mode is turned on or off.
9095 * org.el (org-sparse-tree-default-date-type): New option.
9096 (org-ts-type): New variable.
9097 (org-sparse-tree): New argument `type'. Use the new option
9098 `org-sparse-tree-default-date-type' as the default value for
9099 `type'. Fix docstring.
9100 (org-re-timestamp): New function.
9101 (org-check-before-date, org-check-after-date)
9102 (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
9103 to tell compute the date regexp.
9105 * org.el (orgstruct++-mode, org-get-local-variables): Also set
9106 `normal-auto-fill-function' when turning on/off orgstruct++-mode.
9108 * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
9109 customization types.
9111 * org-faces.el (org-document-title): Use the normal height.
9113 * org-clock.el (org-x11idle-exists-p): New variable.
9114 (org-user-idle-seconds): Use it.
9116 * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
9119 * org.el (org-insert-all-links): New command.
9120 (org-insert-link): `org-keep-stored-link-after-insertion' is now
9121 checked when the link to insert has been defined, regardless on
9122 how it has been defined. Also don't read the description
9123 interactively when the `default-description' parameter was given.
9124 (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
9126 * org.el (org-inc-effort): New command to increment the effort
9128 (org-set-effort): Use it.
9129 (org-mode-map): Bind it to `C-c C-x E'.
9130 (org-speed-commands-default): Use `E' as a speed command for it.
9132 * org.el (org-re-property-keyword): New function.
9133 (org-entry-put): Use it to fix a bug with respect to setting the
9134 value of a property when a property line with no value already
9137 * org.el (org-timestamp-change): Adjust clock in other org files
9140 * org-clock.el (org-user-idle-seconds): Simplify.
9142 * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
9145 * org.el (org-mode-map): Add keybindings to
9146 `org-element-transpose' and `org-narrow-to-element'.
9147 (org-metaup): Fall back on `org-element-drag-backward'.
9148 (org-metadown): Fall back on `org-element-drag-forward'.
9149 Also move chunks of declarations and require statements to get rid of
9152 * org-exp-blocks.el (org): Don't require org. Add declarations.
9154 * org-clock.el (org): Don't require org.
9156 * ob-exp.el (org-list-forbidden-blocks): Add declarations.
9158 * org.el (org-timestamp-change): Don't use the `position'.
9160 * org.el (org-clock-history, org-clock-adjust-closest):
9162 (org-timestamp-change): Maybe adjust the next or previous clock in
9163 `org-clock-history'.
9164 (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
9165 timestamp at point and adjust the next or previous clock in
9166 `org-clock-history', when possible.
9168 * org-clock.el (org-clock-in): Set the marker for
9169 `org-clock-history' at a safer position.
9171 * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
9174 * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
9176 * org.el (org-indent-line): Fix indentation of a property line
9177 starting at the beginning of a line.
9179 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9181 * org-compat.el: Alias `org-condition-case-unless-debug' to
9182 `condition-case-unless-debug' or `condition-case-no-debug'.
9184 * org.el (org-todo-keywords): Ditto.
9186 * org.el (org-use-fast-todo-selection): Reformat docstring.
9188 * org.el (org-flag-drawer): Add a docstring.
9189 (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
9190 `org-clock-in-last' to "C-cC-xC-x". This fixes a bug in the
9191 previous keybinding for `org-clock-in-last', which would override
9192 the one for `org-clock-in'.
9194 * org-clock.el (org-clock-in-last): Prevent errors when there is
9195 no clocking history.
9196 (org-clock-cancel): Fix bug when checking against a clock log in a
9199 * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
9200 new specifier. Update the docstring.
9202 * org.el (org-startup-options): Fix docstring formatting.
9204 * org.el (org-use-sub-superscripts): Fix typo in docstring.
9206 * org.el (org-refile): Fix bug: prevent looping when calling
9207 `org-set-tags' internally.
9209 * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
9210 `org-clock-in-last'.
9212 * org-clock.el (org-clock-continuously): New option.
9213 (org-clock-in): Three universal prefix arguments set
9214 `org-clock-continuously' to `t' temporarily.
9215 (org-clock-in-last): Fix call to `org-clock-select-task' and
9216 support continuous clocking.
9217 (org-clock-out-time): New variable.
9218 (org-clock-out): Set `org-clock-out-time' when clocking out.
9219 Small docstring rewriting.
9220 (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
9221 bug when trying to delete empty logbook drawer.
9222 (org-clock-cancel): If the clock log is gone, send a warning
9223 instead of deleting the region that is supposed to contain it.
9225 * org.el (org-move-line-down, org-move-line-up): Remove.
9226 (org-metaup, org-metadown): When the region is active, move it
9227 up/down by one line, with no regard to the context.
9229 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9231 * org-compat.el: Alias `org-condition-case-unless-debug' to
9232 `condition-case-unless-debug' or `condition-case-no-debug'.
9234 * org-pcomplete.el (org-thing-at-point): Ignore trailing
9235 whitespaces while looking-back at properties.
9237 * org.el (org-mode): Set `indent-region-function'.
9238 (org-indent-region): New function.
9239 (org-fill-paragraph): When in a src block, use `indent-region' to
9240 indent the whole source code instead of falling back on
9241 `fill-paragraph', as this function messes up the code.
9243 * org-src.el (org-edit-src-code): Fix docstring formatting.
9245 * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
9247 * org.el (org-mode, org-add-log-setup)
9248 (org-get-property-block, org-entry-put)
9249 (org-property-next-allowed-value, org-return)
9250 (org-indent-line): Rename `org-indent-line-function' to
9253 * org-timer.el (org-timer-item): Ditto.
9255 * org-table.el (org-table-store-formulas): Ditto.
9257 * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
9259 * org-src.el (org-src-font-lock-fontify-block)
9260 (org-src-strip-leading-and-trailing-blank-lines)
9261 (org-src-ask-before-returning-to-edit-buffer)
9262 (org-edit-src-code, org-edit-src-continue)
9263 (org-edit-fixed-width-region)
9264 (org-src-do-key-sequence-at-code-block)
9265 (org-src-font-lock-fontify-block, org-src-fontify-buffer):
9266 Fix typos in docstrings.
9268 * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
9269 use "format string" instead of "formatting string".
9271 * org-latex.el (org-export-latex-emphasis-alist)
9272 (org-export-latex-title-command, org-export-latex-tables): Ditto.
9274 * org-html.el (org-export-html-postamble): Ditto.
9276 * org-latex.el (org-export-latex-hyperref-options-format):
9278 (org-export-latex-make-header): Use it.
9280 * ob.el (org-babel-confirm-evaluate): Prevent errors when
9281 `org-current-export-file' is void.
9283 * org-table.el (org-table-export): Use the file name extension to
9284 suggest the right conversion format. Also amend the docstring.
9286 * org.el (org-speed-commands-default): Two new speed commands.
9287 Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
9289 * org.el (org-time-stamp): With two universal arguments, insert an
9290 active timestamp with the current time without prompting the user.
9292 * org-clock.el (org-clock-in-last): New command.
9294 * org-clock.el (org-clock-in): Fix typo in docstring.
9296 * org-mobile.el (org-mobile-edit): Fix reference to a free
9299 * org.el (org-doi-server-url): Update :group.
9301 * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
9304 * org.el (org-doi-server-url): New option.
9305 (org-open-at-point): Use it.
9307 * org.el (org-at-comment-p): New function.
9308 (org-toggle-heading): Use `org-at-comment-p' to skip comments.
9310 * org-html.el (org-export-as-html): Add links to the Org mode and
9311 GNU Emacs websites When :html-postamble is set to 't.
9313 * org-export.el (org-export-creator-string): Add links to the Org
9314 mode and GNU Emacs websites.
9316 * org-special-blocks.el
9317 (org-special-blocks-convert-html-special-cookies): Prevent errors
9318 by first checking `org-line' is not nil.
9320 * org-clock.el (org-clock-string-limit)
9321 (org-clock-modeline-total, org-clock-task-overrun-text)
9322 (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9324 * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
9325 point is right after the timestamp. `org-at-timestamp-p' still
9326 returns `t' in this case, as this is more practical.
9327 (org-return): Check against ̀org-ts-what' to verify that point is
9328 really within the timestamp (if any).
9330 * org.el (org-return): Follow time-stamp links when point is an a
9333 * org-capture.el (org-capture-bookmark): New option.
9334 (org-capture-finalize): Use it.
9336 * org-publish.el (org-publish-cache-file-needs-publishing):
9337 Make the column mandatory after #+include:.
9339 * org-exp.el (org-export-handle-include-files): Ditto.
9341 * org-bibtex.el (org-bibtex-entries): Rename from
9342 (org-bibtex-read, org-bibtex-write): Use the new name.
9344 * org-exp.el (org-export-handle-include-files): Allow to use
9345 #+include with no column.
9347 * org-publish.el (org-publish-cache-file-needs-publishing):
9348 Make quotes mandatory around the file name and allow spaces in it.
9350 * org-html.el (org-export-as-html): Add link to Org's and Emacs's
9354 (org-export-latex-link-with-unknown-path-format): New option.
9355 (org-export-latex-links): Use it.
9357 * org-agenda.el (org-agenda-get-timestamps): Remove any active
9358 timestamp from the headline text, not only those for the current
9361 * org.el (org-set-tags): Allow setting tags for headlines in the
9362 region when `org-loop-over-headlines-in-active-region' is non-nil.
9364 * org.el (org-allow-promoting-top-level-subtree): New option to
9365 allow promoting a top-level subtree.
9366 (org-called-with-limited-levels): New variable, dynamically bound
9367 within the `org-with-limited-levels' macro.
9368 (org-promote): Use the new option to allow promoting a top-level
9371 * org-macs.el (org-with-limited-levels): Let-bind
9372 `org-called-interactively-p' to t.
9374 * org.el (org-create-formula-image-with-dvipng)
9375 (org-create-formula-image-with-imagemagick): Make sure a file
9376 exists before trying to delete it.
9378 * org.el (org-scan-tags): Correctly match TODO keywords.
9380 * org-agenda.el (org-agenda-bulk-action): Fix bug: use
9381 `org-agenda-bulk-unmark-all'.
9383 * org.el (orgstruct++-mode): Fix docstring.
9384 (org-fill-paragraph): Use the 'justify parameter when falling back
9385 on `fill-paragraph'.
9387 * org.el (org-indent-line-function): Use `org-let' instead of
9388 `orgstruct++-ignore-org-filling'.
9389 (org-fill-paragraph, org-auto-fill-function): Ditto.
9391 * org-macs.el (orgstruct++-ignore-org-filling): Delete.
9393 * org-table.el (org-table-time-string-to-seconds): Return the
9394 empty string if provided.
9395 (org-table-eval-formula): When assigning a duration string, handle
9396 it correctly -- i.e. don't make any computation on it, except the
9397 one to insert it using the correct duration format.
9399 * org.el (org-indent-line-function): Fix bug.
9401 * org-clock.el (org-frame-title-format-backup): New variable to
9402 store the value of `frame-title-format' before `org-clock' might
9403 replace it by `org-clock-frame-title-format'.
9404 (org-clock-frame-title-format): New option.
9405 (org-frame-title-string): Delete.
9406 (org-clock-update-mode-line): Minor code reformatting.
9407 (org-clock-in, org-clock-out, org-clock-cancel):
9408 Use `org-clock-frame-title-format'.
9410 * org-clock.el (org-clock-get-clock-string): Add a space.
9412 * org-list.el (org-mark-list): Return an error when there is no
9415 * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
9416 at point before converting items to headings. With a simple
9417 universal-argument, set `current-prefix-arg' to 1, otherwise keep
9420 * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
9423 * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
9424 all entries for bulk action.
9425 (org-agenda-menu): New menu item for marking all entries.
9426 (org-agenda-bulk-mark-all): New function to mark all entries.
9427 (org-agenda-bulk-mark-regexp): Minor docstring fix.
9428 (org-agenda-bulk-unmark): With a prefix argument, unmark all.
9429 Also send a better message.
9430 (org-agenda-bulk-remove-all-marks): Rename to
9431 `org-agenda-bulk-unmark-all'. Check against
9432 `org-agenda-bulk-marked-entries' before trying to unmark entries.
9433 Minor docstring fix.
9434 (org-agenda-bulk-unmark-all): Rename from
9435 ̀org-agenda-bulk-remove-all-marks'.
9437 * org-agenda.el (org-agenda-bulk-mark-char): New option.
9438 (org-agenda-bulk-mark): Use the new option.
9440 * org.el (org-src-prevent-auto-filling): New option to prevent
9441 auto-filling in src blocks. This defaults to nil to avoid people
9442 being surprised that no auto-fill occurs in Org buffers where they
9443 use `auto-fill-mode'.
9444 (org-auto-fill-function): Use the new option.
9446 * org.el (org-properties-postprocess-alist): Better customization
9448 (org-set-property): Fix the check against
9449 `org-properties-postprocess-alist'.
9451 * org-macs.el (orgstruct++-ignore-org-filling):
9452 Set `def-edebug-spec' correctly.
9454 * org-colview.el (org-columns-string-to-number): When computing
9455 the values for the colview, match durations and convert them to
9458 * org.el (org-duration-string-to-minutes): Match non-round
9459 numbers. Add a new optional parameter to allow returning the
9462 * org.el (org-auto-fill-fallback-function)
9463 (org-indent-line-fallback-function)
9464 (org-fill-paragraph-fallback-function)
9465 (org-auto-fill-fallback-function)
9466 (org-indent-line-fallback-function)
9467 (org-fill-paragraph-fallback-function): Remove.
9468 (org-fb-vars): New buffer-local variable.
9469 (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
9470 store, use and restore variables if needed.
9471 (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
9473 (org-auto-fill-function, org-indent-line-function): Ditto.
9475 * org-macs.el (orgstruct++-ignore-org-filling): New macro.
9477 * org-exp-blocks.el: Use `org-find-library-name' instead of
9478 `find-library-name'.
9480 * org-compat.el (org-find-library-name): Convert into a macro to
9481 avoid compilation of a function from XEmacs in Emacs and vice
9484 * org-table.el (org-table-store-formulas): Fix typo.
9485 (org-table-maybe-eval-formula): Fix the regexp to only match
9486 formulas, which never end with the `=' character. If the field
9487 only contain this character, don't eval either.
9489 * org.el (org-set-property): Perform the correct check against
9490 `org-properties-postprocess-alist'.
9492 * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
9494 (name): Suppress (defvar 'name) as name is not eval'ed when
9495 setting `org-bbdb-anniversary-format-alist'.
9497 * org.el (org-version): When called non-interactively, insert the
9498 short version string, otherwise send a message with the complete
9501 * org-odt.el (org-odt-update-meta-file): Use (org-version) and
9502 delegate checking whether `org-version' is known as a variable
9505 * org-html.el (org-export-as-html): Use (org-version).
9507 * org-docbook.el (org-export-as-docbook): Ditto.
9509 * org-latex.el (org-export-latex-make-header): Ditto.
9511 * org-clock.el (org-clocktable-write-default): Temporarily disable
9512 `delete-active-region' so that we don't accidently delete an
9513 active region when exporting a subtree/region.
9515 * org-clock.el (org-program-exists): Remove.
9516 (org-show-notification, org-clock-play-sound):
9517 Use `executable-find' instead of `org-program-exists'.
9519 * org-agenda.el (org-diary): Prevent failure from
9520 `org-compile-prefix-format' when there is no agenda buffer.
9522 * org-agenda.el (org-agenda-mode): Replace obsolete variable
9523 `buffer-substring-filters'.
9525 * org-indent.el (org-indent-mode): Ditto.
9527 * org-compat.el (org-find-library-name): Silent the byte-compiler
9528 about a warning related to XEmacs support.
9530 * org-special-blocks.el
9531 (org-special-blocks-convert-html-special-cookies): Use `org-line'
9534 * org-html.el (org-html-handle-links, org-export-as-html)
9535 (org-format-org-table-html, org-format-table-table-html)
9536 (org-html-export-list-line): Use `org-line' instead of `line' as
9537 the free variable name.
9539 * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
9541 * org-faces.el (org-list-dt): New face.
9543 * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
9544 face for definition terms in definition lists.
9546 * org.el (org-fill-paragraph): Pass the `justify' argument to
9547 `org-fill-paragraph-fallback-function'.
9549 * org.el (org-eval-in-calendar): Fix docstring to mention the
9552 * org.el (org-refresh-category-properties): Let-bind
9553 `inhibit-read-only' to t.
9555 * org.el (org-auto-fill-fallback-function)
9556 (org-indent-line-fallback-function)
9557 (org-fill-paragraph-fallback-function): New variables to store
9558 some fall-back functions when turning `orgstruct++-mode' on.
9559 (orgstruct++-mode): Set the new variables.
9560 (org-indent-line-function, org-fill-paragraph)
9561 (org-auto-fill-function): Use them.
9563 * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
9564 the 'keepdate parameter set to t when setting the cursor type.
9566 * org-agenda.el (org-agenda-persistent-marks): New option to keep
9567 marks after a bulk action. The option defaults to nil.
9568 (org-agenda-bulk-action): Use the new option.
9570 * org-capture.el (org-capture-fill-template): Use %\n instead of
9571 %n as a template element to be replaced with the nth prompted
9573 (org-capture-templates): Update docstring.
9575 * org.el (org-goto): Fix docstring and document what C-u does.
9577 * org-publish.el (org-publish-cache-file-needs-publishing):
9578 Use (case-fold-search t) when looking for #+INCLUDE:.
9580 * org.el: Use (case-fold-search t).
9581 (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
9584 (org-table-store-formulas, org-table-get-stored-formulas)
9585 (org-table-fix-formulas, org-table-edit-formulas)
9586 (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
9587 (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
9590 (org-footnote-goto-local-insertion-point): Ditto.
9592 * org-exp.el: Ditto.
9595 (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
9597 * org-clock.el (org-clocktable-write-default): Ditto.
9599 * org-capture.el (org-capture-place-table-line): Ditto.
9601 * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
9602 (org-babel-src-block-names)
9603 (org-babel-where-is-src-block-result, org-babel-result-end)
9604 (org-babel-where-is-src-block-head)
9605 (org-babel-find-named-result, org-babel-result-names): Ditto.
9607 * org-table.el (orgtbl-send-table): Escape special characters.
9608 Introduce a new parameter :no-escape to prevent escaping.
9610 * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
9611 when called interactively.
9612 (org-agenda-get-restriction-and-command):
9613 Call `org-toggle-sticky-agenda' interactively.
9615 * org-agenda.el (org-agenda-top-category-filter): New variable for
9616 storing the current top-category filter.
9617 (org-agenda-redo): Apply a top-category filter, if any.
9618 (org-agenda-filter-by-top-category)
9619 (org-agenda-filter-top-category-apply):
9620 Set `org-agenda-top-category-filter' to the right value.
9622 * org-clock.el (org-clock-out, org-clock-cancel)
9623 (org-clock-in): Don't modify `frame-title-format' if it is a
9626 * org-latex.el (org-export-latex-special-chars): Fix bug when
9627 escaping special characters in a table.
9629 * org.el (org-read-date): Set cursor-type to nil in the calendar.
9631 * org-faces.el (org-date-selected): Use inverse video.
9632 Don't explicitly set bold to nil as it causes `customize-face' to show
9633 the weight property and thus encourage the user to change it.
9634 Warn in the docstring that using bold might cause problems when
9635 displaying the calendar.
9637 * org-id.el (org-id-update-id-locations): New parameter to silent
9639 (org-id-find): Use the new parameter.
9641 * org.el (org-show-hierarchy-above, org-cycle)
9642 (org-global-cycle, org-files-list, org-store-link)
9643 (org-link-search, org-open-file, org-display-outline-path)
9644 (org-refile-get-location, org-update-all-dblocks)
9645 (org-change-tag-in-region, org-entry-properties)
9646 (org-save-all-org-buffers, org-revert-all-org-buffers)
9647 (org-buffer-list, org-cdlatex-mode)
9648 (org-install-agenda-files-menu, org-end-of-subtree)
9649 (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9650 'org-mode) instead of (eq major-mode 'org-mode).
9652 * org-timer.el (org-timer-set-timer): Ditto.
9654 * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9656 * org-src.el (org-edit-src-exit, org-edit-src-code)
9657 (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9659 * org-remember.el (org-remember-handler): Ditto.
9661 * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9663 * org-macs.el (org-get-limited-outline-regexp): Ditto.
9665 * org-lparse.el (org-replace-region-by): Ditto.
9667 * org-latex.el (org-latex-to-pdf-process)
9668 (org-replace-region-by-latex): Ditto.
9670 * org-indent.el (org-indent-indent-buffer): Ditto.
9672 * org-id.el (org-id-store-link, org-id-update-id-locations)
9673 (org-id-store-link): Ditto.
9675 * org-html.el (org-export-html-preprocess)
9676 (org-replace-region-by-html): Ditto.
9678 * org-footnote.el (org-footnote-normalize)
9679 (org-footnote-goto-definition)
9680 (org-footnote-create-definition, org-footnote-normalize): Ditto.
9682 * org-docbook.el (org-replace-region-by-docbook): Ditto.
9684 * org-ctags.el (find-tag): Ditto.
9686 * org-colview.el (org-columns-redo)
9687 (org-columns-display-here, org-columns-edit-value)
9688 (org-columns-redo): Ditto.
9690 * org-capture.el (org-capture-insert-template-here)
9691 (org-capture, org-capture-finalize)
9692 (org-capture-set-target-location)
9693 (org-capture-insert-template-here): Ditto.
9695 * org-ascii.el (org-replace-region-by-ascii): Ditto.
9697 * org-archive.el (org-archive-subtree): Ditto.
9699 * org-agenda.el (org-agenda)
9700 (org-agenda-get-restriction-and-command)
9701 (org-agenda-get-some-entry-text, org-search-view)
9702 (org-tags-view, org-agenda-get-day-entries)
9703 (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9704 (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9706 * org.el (org-repeat-re)
9707 (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9708 (org-deadline, org-schedule, org-matcher-time)
9709 (org-time-stamp, org-read-date, org-read-date-get-relative)
9710 (org-display-custom-time, org-get-wdays)
9711 (org-time-string-to-absolute, org-closest-date)
9712 (org-timestamp-change): Allow to set hourly repeat cookie.
9713 Send an error when an hourly repeat cookie is set and no hour is
9714 specified in the timestamp.
9716 * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9719 * org-clock.el (org-program-exists): Fix docstring.
9721 * org-clock.el (org-clock-file-time-cell-format): New option.
9722 (org-clocktable-write-default): Use it.
9724 * org-faces.el (org-date-selected): New face.
9726 * org.el (org-date-ovl): Use `org-date-selected'.
9728 * org.el (org-mode): Don't use `buffer-face-mode' by default.
9730 * org-agenda.el (org-agenda-mode-map): Bind `^' to
9731 `org-agenda-filter-by-top-category'.
9733 * org-ascii.el (org-export-ascii-underline): Change the default
9734 underlining characters for headlines of level 1 and 2.
9735 Also introduce \. as the underline character for headlines of level 5.
9737 * org-table.el (org-table-recalculate-buffer-tables)
9738 (org-table-iterate-buffer-tables): Add autoload cookie.
9740 * org.el (org-table-map-tables): Exclude tables in src and example
9743 * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9744 untouched when filling an adjacent paragraph.
9746 * org-html.el (org-export-html-preamble-format)
9747 (org-export-html-postamble-format): Improve the docstring.
9749 * org.el (org-todo): Fix regression: rename `state' to
9752 * org-clock.el (org-show-notification): Use `fboundp' instead of
9753 `featurep' and the additional `require'.
9755 * org-clock.el (org-clock-in-prepare-hook): New option to format
9756 the total time cells.
9757 (org-clocktable-write-default): Use the new option.
9759 * org.el (org-open-at-point): Allow to open the agenda from an
9760 active or inactive timestamp in a headline.
9762 * org-html.el (org-export-html-date-format-string): Make a
9765 * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9767 2012-09-30 Carsten Dominik <carsten.dominik@gmail.com>
9769 * org-table.el (org-table-expand-lhs-ranges): Allow hline
9770 references to be expanded correctly in LHS of formulas.
9772 * org-beamer.el (org-beamer-inherited-properties): New option.
9773 (org-beamer-after-initial-vars): Use new option to look for
9774 inherited properties.
9776 * org.el (org-ts-regexp0): Allow time stamps without name of day.
9778 * org-agenda.el (org-toggle-sticky-agenda):
9779 (org-agenda-sticky): Improve :set property.
9781 * org-agenda.el (org-agenda-local-vars): Clean up the variable
9783 (org-agenda-get-restriction-and-command): Add a key for toggling
9784 sticky agenda views.
9786 * org-agenda.el (org-agenda-local-vars): Final decisions about
9789 * org-agenda.el (org-agenda-force-single-file): Variable removed.
9790 (org-prepare-agenda-window): Store pre-agenda window config
9792 (org-timeline): Introduce a scoped version of
9793 `org-agenda-show-log'.
9794 (org-agenda-list): Introduce a scoped version of
9795 `org-agenda-show-log'.
9796 (org-agenda-get-progress): Use the scoped version of
9797 `org-agenda-show-log'.
9798 (org-agenda-local-vars): Write the analysis result as a comment -
9799 to be cleaned up in the next iteration.
9801 * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9802 buffers when toggling sticky-agendas.
9803 (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9804 to explicitly kill all agenda buffers.
9805 (org-agenda-run-series): Remove any old agenda markers in the
9806 buffer that is going to take the new block agenda.
9807 (org-prepare-agenda): Reset markers before erasing the buffer anc
9808 running `org-agenda-mode', because after that the local variable
9809 `org-agenda-markers' will have gone away.
9811 (org-finalize-agenda): Install the marker resetter into the
9813 (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9815 (org-agenda-kill-all-agenda-buffers): New function.
9817 2012-09-30 Chris Gray <chrismgray@gmail.com>
9819 * org-html.el (org-export-as-html): Remove the check for body-only
9820 in the code for generating tables of contents.
9822 2012-09-30 Christoph Dittmann <github@christoph-d.de> (tiny change)
9824 * org-beamer.el (org-beamer-auto-fragile-frames):
9825 Make [fragile] work with overlay specifications.
9827 2012-09-30 Christophe Junke <christophe.junke@inria.fr> (tiny change)
9829 * org-agenda.el (org-agenda-list): Ensures that the list returned
9830 by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9831 checking if the latter is empty.
9833 2012-09-30 Christophe Rhodes <csr21@cantab.net> (tiny change)
9835 * org-latex.el (org-export-latex-tables): Support setting the
9836 :hfmt parameter from #+ATTR_LaTeX.
9838 2012-09-30 Daniel Dehennin <daniel.dehennin@baby-gnu.org> (tiny change)
9840 * org-exp.el (org-export-handle-include-files)
9841 (org-get-file-contents): Handle new parameter :addlevel.
9843 2012-09-30 Dave Abrahams <dave@boostpro.com> (tiny change)
9845 * org.el (org-link-prettify): New function to prettify links while
9846 displaying them with `org-insert-link'.
9847 (org-insert-link): Use the new function.
9849 2012-09-30 David Maus <dmaus@ictsoc.de>
9851 * org-exp.el (org-export-language-setup): Use numeric character
9852 entities for proper rendering of non-UTF8 documents.
9854 * org-exp.el (org-export-language-setup): Add japanese
9857 2012-09-30 Eric Schulte <eric.schulte@gmx.com>
9859 * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9861 * ob.el (org-babel-insert-result): Replace key sequence with
9862 function call. Use a more informative flag to the local function.
9863 (org-add-protective-commas): Declare a new external function.
9865 * org-src.el (org-add-protective-commas): This should be its own
9867 (org-edit-src-exit): Use the new function.
9869 * org-compat.el (org-labels): Remove.
9871 * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9873 * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9875 * ob.el (org-babel-string-read): Don't automatically evaluate code
9876 block results which look like elisp.
9877 (org-babel-import-elisp-from-file): Raise a warning message when
9878 the process of reading code block results raises an error.
9880 * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9881 macro argument multiple times.
9883 * org.el (org-compat): Require org-compat before we first use one
9884 of its functions (a macro actually).
9886 * ob-comint.el (org-babel-comint-with-output): Don't name the
9887 filter function, but rather pass through the anonymous lambda
9890 * org.el (org-babel-load-languages): Common lisp should be
9891 mentioned as a supported babel language.
9893 * org-clock.el (org-clock-special-range): "concat 'string" ->
9895 (org-clocktable-shift): "concat 'string" -> "concat"
9897 * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9900 * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9901 calc internal representations.
9903 * org-clock.el (org-clock-special-range): Replacing cl concatenate
9905 (org-clocktable-shift): Replacing cl concatenate with concat.
9907 * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9909 * org-compat.el (org-flet): Compatibility function now that flet
9910 has been removed from cl-macs.
9911 (org-labels): Compatibility function now that labels has been
9912 removed from cl-macs.
9914 * ob-R.el (org-compat): Require org-compat.
9916 * ob-comint.el: Require org-compat.
9918 * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9921 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9922 compatibility function.
9924 * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9926 (org-babel-lob-execute): Switch to compatibility function.
9928 * ob-python.el (org-babel-python-evaluate-session): Switch to
9929 compatibility function.
9931 * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9934 * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9937 * ob-tangle.el (org-babel-load-file): Switch to compatibility
9939 (org-babel-tangle): Switch to compatibility function.
9940 (org-babel-spec-to-string): Switch to compatibility function.
9942 * ob.el (org-babel-view-src-block-info): Switch to compatibility
9944 (org-babel-execute-src-block): Switch to compatibility function.
9945 (org-babel-edit-distance): Switch to compatibility function.
9946 (org-babel-switch-to-session-with-code): Switch to compatibility
9948 (org-babel-sha1-hash): Switch to compatibility function.
9949 (org-babel-balanced-split): Switch to compatibility function.
9950 (org-babel-join-splits-near-ch): Switch to compatibility function.
9951 (org-babel-get-rownames): Switch to compatibility function.
9952 (org-babel-format-result): Switch to compatibility function.
9953 (org-babel-insert-result): Switch to compatibility function.
9954 (org-babel-examplize-region): Switch to compatibility function.
9955 (org-babel-merge-params): Switch to compatibility function.
9956 (org-babel-noweb-p): Switch to compatibility function.
9957 (org-babel-expand-noweb-references): Switch to compatibility
9960 * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9962 (org-bibtex-fleshout): Switch to compatibility function.
9963 (org-bibtex-read): Switch to compatibility function.
9964 (org-bibtex-write): Switch to compatibility function.
9966 * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9967 compatibility function.
9969 * org-exp.el (org-export-format-source-code-or-example): Switch to
9970 compatibility function.
9972 * org-macs.el (org-called-interactively-p): Indentation fix.
9974 * org-mouse.el (org-mouse-timestamp-today): Switch to
9975 compatibility function.
9976 (org-mouse-set-priority): Switch to compatibility function.
9977 (org-mouse-popup-global-menu): Switch to compatibility function.
9978 (org-mouse-context-menu): Switch to compatibility function.
9980 * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
9981 compatibility function.
9982 (org-plot/gnuplot-script): Switch to compatibility function.
9984 * org.el (org-entry-get): Switch to compatibility function.
9985 (org-fill-paragraph): Switch to compatibility function.
9986 (org-auto-fill-function): Switch to compatibility function.
9988 * ob-lob.el (org-babel-lob-execute): Only try to insert extant
9991 * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
9993 * ob.el (org-babel-set-current-result-hash): Change the hash of
9994 the results for the current code block.
9995 (org-babel-current-result-hash): Fix documentation.
9997 * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
9998 function if the current call line hash matches that in its
10001 * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
10002 a table is a sequence.
10004 * ob-R.el (org-babel-R-assign-elisp): Clean up the code
10005 implementing reads of irregular data into R.
10007 * ob.el (org-babel-header-arg-expand): In new buffers
10008 (char-before) may return nil so use equal rather than =.
10010 * ob-R.el (org-babel-header-args:R): Adding values.
10012 * ob-clojure.el (org-babel-header-args:clojure): Adding values.
10014 * ob-lisp.el (org-babel-header-args:lisp): Adding values.
10016 * ob-sql.el (org-babel-header-args:sql): Adding values.
10018 * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
10020 * ob.el (org-babel-combine-header-arg-lists): Combine lists of
10021 arguments and values.
10022 (org-babel-insert-header-arg): Use new combined header argument
10024 (org-babel-header-arg-expand): Add support for completing-read
10025 insertion of header arguments after ":"
10026 (org-babel-enter-header-arg-w-completion): Completing read
10027 insertion of header arguments
10028 (org-tab-first-hook): Adding header argument completion.
10029 (org-babel-params-from-properties): Combining header argument
10032 * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
10035 * ob.el (org-babel-result-to-file): New optional description
10037 (org-babel-insert-result): Move description logic to another
10040 * ob.el (org-babel-insert-result): Change name of filelinkdescr to
10042 (org-babel-common-header-args-w-values): Change name of
10043 filelinkdescr to file-desc.
10045 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
10048 * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10051 * ob.el (org-babel-parse-src-block-match): Make use of the new
10052 language argument to org-babel-strip-protective-commas.
10053 (org-babel-parse-inline-src-block-match): Make use of the new
10054 language argument to org-babel-strip-protective-commas.
10055 (org-babel-strip-protective-commas): Now accepts a language
10058 2012-09-30 Fabrice Niessen <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org> (tiny change)
10060 * org-agenda.el (org-agenda-write-buffer-name): Remove the test
10061 for the presence of <style> tag.
10063 2012-09-30 Feng Shu <tumashu@gmail.com>
10065 * org.el (org-create-formula-image-with-imagemagick):
10066 Use 'call-process to launch latex so that no shell output buffer will
10067 be shown when previewing formulas.
10069 * org.el (org-create-formula-image-with-imagemagick): Fix typo.
10071 * org.el (org-latex-create-formula-image-program): New option to
10072 use either dvipng or imagemagick to convert and preview LaTeX
10074 (org-preview-latex-fragment, org-format-latex): Handle the new
10076 (org-create-formula-image-with-dvipng): Rename from
10077 `org-create-formula-image'.
10078 (org-create-formula-image-with-imagemagick): New defun to handle
10079 LaTeX preview with imagemagick.
10080 (org-latex-color, org-latex-color-format): New defuns to handle
10083 * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
10084 Allow to use imagemagick to convert LaTeX fragments.
10086 * org-html.el (org-export-html-preprocess): Ditto.
10088 * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
10090 2012-09-30 George Kettleborough <g.kettleborough@member.fsf.org>
10092 * org-clock.el: New option `org-clock-clocked-in-display' to
10093 control whether the current clock is displayed in the mode line
10094 and/or frame title.
10096 * org-timer.el: New option `org-timer-display' to control whether
10097 the current timer is displayed in the mode line and/or frame
10100 2012-09-30 Hans-Peter Deifel <hpdeifel@gmx.de> (tiny change)
10102 * ob.el (org-babel-execute-src-block): Allow the :dir header
10103 argument to take relative file names.
10105 2012-09-30 Harri Kiiskinen <harri@pp-kaitue.(none)> (tiny change)
10107 * org-protocol.el: New option.
10108 (org-protocol-store-link, org-protocol-do-capture): Use it.
10110 2012-09-30 Henning Weiss <hdweiss@gmail.com>
10112 * org-mobile.el (org-mobile-edit): Add handling of addheading,
10113 refile, archive, archive-sibling and delete edit nodes.
10114 (org-mobile-locate-entry): Olp links containing only a file are
10115 now be located correctly.
10116 (org-mobile-apply): Instead of finding the location of all target
10117 headings for edit nodes in a separate loop, they will be found
10118 immediately before applying edits.
10120 * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
10123 2012-09-30 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10125 * org.el (org-parse-time-string): Allow strings supported by
10126 tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
10127 starts with < and ends with >. This means that e.g. in the
10128 clocktable parameters you can specify :tstart "<-1w>" :tend
10131 2012-09-30 Ippei FURUHASHI <top.tuna+orgmode@gmail.com> (tiny change)
10133 * org-colview.el (org-columns): New argument `columns-fmt-string'.
10135 * org-colview.el (org-columns-get-format-end-top-level):
10136 Split into `org-columns-get-format' and `org-columns-goto-top-level'.
10138 * org-colview.el (org-dblock-write:columnview): Add a new
10139 parameter :format which specifies the column view format for the
10140 output of the columnview dynamic block.
10142 2012-09-30 Jambunathan K <kjambunathan@gmail.com>
10144 * org-lparse.el (org-lparse-and-open)
10145 (org-lparse-do-convert): Open exported files with system-specific
10148 * org-odt.el: Don't meddle with `org-file-apps'.
10150 * org-compat.el (org-condition-case-unless-debug): Alias to
10151 `condition-case' when both `condition-case-no-debug' and
10152 `condition-case-unless-debug' is unavailable.
10154 * org-odt.el (org-odt-do-image-size): Replace `flet' with
10155 equivalent construct.
10157 * org-odt.el (org-odt-cleanup-xml-buffers):
10158 Use `condition-case-no-debug' instead of
10159 `condition-case-unless-debug'. This ensures backward
10160 compatibility with Emacs versions < 24.1.
10162 * org-odt.el (org-odt-zip-dir)
10163 (org-odt-cleanup-xml-buffers): New.
10164 (org-export-as-odt-and-open, org-export-as-odt)
10165 (org-odt-init-outfile, org-odt-save-as-outfile)
10166 (org-export-as-odf, org-export-as-odf-and-open):
10167 Use `org-odt-cleanup-xml-buffers'.
10169 * org-odt.el (org-export-odt-default-org-styles-alist):
10170 Add default character style.
10172 * org-odt.el (org-export-odt-default-org-styles-alist):
10173 Add default character style.
10175 * org-lparse.el (org-do-lparse): Remove stray call to
10176 `org-export-html-after-blockquotes-hook'.
10178 * org-bbdb.el (org-bbdb-export): Add support for ODT format.
10180 * org-odt.el (org-odt-update-meta-file): Check for `org-version'
10181 is bound before accessing it.
10183 * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
10184 moved away from $(git-root)/contrib/odt/etc/schema/ to
10185 $(git-root)/etc/schema/.
10187 * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10188 internal links destined for headlines provide a description or
10189 not. In fact, the `org-store-link' and `org-insert-link' create
10190 internal links which do have a description.
10192 * org-lparse.el (org-lparse-insert-org-table): Consider short
10193 caption as plain text and not as org text.
10195 * org-odt.el (org-export-odt-format-formula)
10196 (org-export-odt-format-image): Ditto.
10198 * org-odt.el (org-odt-begin-table)
10199 (org-export-odt-format-formula, org-export-odt-format-image)
10200 (org-odt-format-entity): Handle short caption.
10202 * org-lparse.el (org-lparse-insert-org-table)
10203 (org-lparse-insert-list-table, org-lparse-insert-table-table):
10206 2012-09-30 Jay McCarthy <jay.mccarthy@gmail.com> (tiny change)
10208 * org-colview.el (org-columns-new-overlay): Make sure to add a
10209 face to a string that has no face.
10211 2012-09-30 Jérémie Courrèges-Anglas <jca@wxcvbn.org> (tiny change)
10213 * org-latex.el: Ensure a final newline is appended to the export
10216 2012-09-30 Levin Du <zslevin@gmail.com> (tiny change)
10218 * org-clock.el (org-clock-in): Fix bug in setting the clock
10221 2012-09-30 Madan Ramakrishnan <madanr79@gmail.com> (tiny change)
10223 * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10224 advertised by the function.
10226 2012-09-30 Mark E. Shoulson <mark@kli.org> (tiny change)
10228 * org.el (org-fontify-entities): Hide {} when prettifying
10231 2012-09-30 Mark Shoulson <mark@kli.org> (tiny change)
10233 * org-entities.el (org-entities): Add new entities for characters
10234 which could cause formatting changes if typed directly.
10236 * org-entities.el (org-entities): Add \asciicirc entity for ^;
10237 also fixed \circ expansion in latex.
10239 * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
10240 and \there4 were not "prettified" when org-pretty-entities was
10243 2012-09-30 Mats Lidell <matsl@xemacs.org> (tiny change)
10245 * org-element.el (org-element-paragraph-separate):
10246 Remove redundant and misplaced t clause in case.
10248 2012-09-30 Matt Lundin <mdl@imapmail.org>
10250 * org-datetree.el: Fix regexp to allow datetree to find headings
10251 with trailing whitespace. This fixes a bug in which an existing
10252 datetree heading (e.g., "* 2012 ") would not be found by
10253 org-datetree-find-year-create if it had trailing whitespace.
10254 This can cause problems, for instance, if one is using column view on
10255 the date tree, since editing subheadings with column view adds
10256 whitespace at the end of the top heading.
10258 * org-footnote.el (org-footnote-new): Don't call
10259 org-footnote-unique-label if org-footnote-auto-label is set to
10262 * org-gnus.el (org-gnus-follow-link): Fix argument to
10263 gnus-group-read-group so that following a link does not result in
10264 unread article being selected.
10266 * org-bbdb.el (org-bbdb-anniv-extract-date)
10267 (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
10268 to accommodate BBDB 3.x. There are two major changes in BBDB 3.x
10269 that need to be taken into account. The first is that
10270 `bbdb-split' reverses the order of its parameters in 3.x.
10271 The second is that `bbdb-record-getprop' is replaced by
10272 bbdb-record-note in 3.x.
10274 2012-09-30 Max Mikhanosha <max@openchat.com>
10276 * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
10277 a single line of agenda by narrowing the agenda buffer to just
10278 that line before calling `org-agenda-finalize'.
10280 * org.el (org-mode): Don't set org-hide's foreground to
10282 (org-find-invisible-foreground): New function.
10284 * org-agenda.el (defvar org-habit-show-all-today): New variable
10285 (org-agenda-get-scheduled): Show all habits if user wants it
10287 * org-habit.el (defcustom org-habit-show-all-today): New variable
10289 * org-agenda.el (org-agenda-quit): Copy the code for optionally
10290 restoring window configuration after burying the sticky agenda
10293 * org-agenda.el (org-agenda-new-marker): Check for NIL
10295 (org-agenda-to-appt): Bind org-agenda-buffer to NIL
10297 * org-agenda.el (org-agenda-change-all-lines): Move accessing of
10298 'extra text property outside of with-current-buffer for original
10301 * org-agenda.el (defvar org-habit-show-habits-only-for-today):
10304 2012-09-30 Michael Brand <michael.ch.brand@gmail.com>
10306 * org-id.el (org-id-link-to-org-use-id): Align the doc string to
10307 the changed default.
10309 * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
10310 when heading has no text.
10312 * org-capture.el (org-capture-inside-embedded-elisp-p):
10315 * org-feed.el (org-feed-format-entry): Require `org-capture'.
10316 Expand Elisp %(...) templates.
10317 (org-feed-default-template): Update docstring.
10319 * org-capture.el (org-capture-expand-embedded-elisp):
10321 (org-capture-fill-template): Use it.
10322 (org-capture-inside-embedded-elisp-p): New function to tell if we
10323 are within an Elisp %(...) template.
10325 * org-list.el (org-at-item-description-p)
10326 (org-list-item-body-column): Make the inline regexp more
10327 consistent with `org-list-full-item-re', the inline regexp
10328 "Description list items" from `org-set-font-lock-defaults and
10331 2012-09-30 Mike Sperber <sperber@deinprogramm.de>
10333 * org.el (org-fill-paragraph): Pass optional argument to
10334 `fill-paragraph' to fix compatibility with XEmacs.
10336 * org.el (org-self-insert-cluster-for-undo):
10337 Default `org-self-insert-cluster-for-undo' also on XEmacs.
10339 * org.el (org-kill-line): Access `visual-line-mode' only if it's
10342 2012-09-30 Muchenxuan Tong <demon386@gmail.com> (tiny change)
10344 * org-timer.el (org-timer-set-mode-line):
10345 Check `org-timer-display' when value is 'off.
10347 2012-09-30 Nicolas Calderon Asselin <nicolas.calderon.asselin@gmail.com> (tiny change)
10349 * org-clock.el (org-clock-idle-time): Org-mode assumed that
10350 x11idle was an available command, and returned an idle time of 0
10352 (never idle): Add checks so that org-idle-time will come from
10353 emacs' own current-idle-time if x11idle cannot be found or if it
10354 cannot retrieve the idle time from X11
10356 2012-09-30 Nicolas Goaziou <n.goaziou@gmail.com>
10358 * org-element.el: Properly remove COMMENT and QUOTE keywords from
10361 * org-element.el (org-element-headline-parser): Fix parsing for
10362 headlines with a single COMMENT or QUOTE keyword.
10364 * ob-org.el (org-babel-default-header-args:org): By default,
10365 export code from Org src blocks.
10367 * org-element.el (org-element-inline-src-block-successor):
10368 Fix inline-src-block parsing at the beginning of an item.
10370 * org-element.el (org-element--collect-affiliated-keywords):
10371 Fix caption parsing.
10373 * org-element.el (org-element--current-element): At the very
10374 beginning of a footnote definition or an item, next element is
10375 always a paragraph.
10377 * org-element.el (org-element-headline-parser): Handle nil titles.
10378 (org-element-inlinetask-parser): Add :raw-value property.
10379 Also handle nil titles.
10381 * org.el (org-set-regexps-and-options): Don't consider tags as a
10382 replacement for a missing title in an headline.
10384 * org.el (org-setup-filling): Remove duplicate code.
10386 * org.el (org-adaptive-fill-function): Make sure fill prefix is
10387 computed from beginning of line.
10389 * org-element.el (org-element-section-parser): Make sure section
10390 cannot contain an headline.
10391 (org-element--current-element): Fix bug requiring to parse a quote
10392 section even when point is at an headline.
10394 * org.el (org-adaptive-fill-function): Remove occasional spurious
10395 space character when auto-filling.
10397 * org.el (org-mode): Call external initalizers. Now both filling
10398 code and comments code have their own independant part in org.el.
10399 (org-setup-filling): Rename from `org-set-autofill-regexps'.
10400 (org-setup-comments-handling): New function.
10402 * org.el (org-fill-paragraph): Refine filling in comments and in
10403 paragraphs. Allow commented blank lines. Take into consideration
10404 the indentation of the second line of the paragraph being filled.
10405 (org-comment-or-uncomment-region): Rewrite function. Now comment
10406 region at a fixed column: the minimal indentation of the region.
10407 (org-fill-context-prefix): Rename function into
10408 `org-adaptive-fill-function'. Also, In a paragraph, choose the
10409 same prefix as the current line.
10411 * org-exp.el (org-export-handle-comments): Also remove comments at
10414 * org-exp.el (org-export-handle-comments): Handle inline comments
10417 * org.el (org-structure-template-alist): Add missing colon to
10420 * org.el (org-backward-element): When called at the beginning of
10421 first element in section, the function shouldn't return an error
10422 but move point to headline or point-min instead.
10424 * org-element.el (org-element-paragraph-parser): Tiny refactoring.
10426 * org-element.el (org-element-paragraph-parser): Remove trailing
10429 * org.el (org-fill-context-prefix): Fix incorrect output when
10430 called at the beginning of a plain list with an affiliated
10432 (org-fill-paragraph): Remove useless variable.
10434 * org-element.el (org-element-paragraph-parser): Fix parsing of
10435 paragraph at the beginning of an item.
10437 * org.el (org-mode): Set back comment-start-skip so comment-dwim
10438 can tell a keyword from a comment.
10440 * org.el (org-set-autofill-regexps): Install new comment line
10442 (org-comment-line-break-function): New function.
10443 (org-mode): Remove unnecessary line.
10445 * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
10446 fill verse blocks contents. Verse blocks can be used to format
10447 free-form poetry, so filling has to be done manually.
10449 * org.el (org-fill-paragraph-separate-nobreak-p): New function.
10450 (org-set-autofill-regexps): Introduce new predicate.
10451 (org-fill-item-nobreak-p): Remove function.
10453 * org-element.el (org-element-paragraph-separate): Since this
10454 variable is meant to be searched forward, \end{...} shouldn't
10455 trigger the end of a paragraph before checking if it is the end of
10456 a complete environment.
10457 (org-element-latex-environment-parser): Slight change to the
10458 regexp matching the beginning of a latex environment.
10459 (org-element-paragraph-parser): Paragraphs don't end at incomplete
10460 latex environments.
10461 (org-element-latex-or-entity-successor): Remove paragraph
10462 environments from latex fragment search.
10464 * org-table.el (org-table-number-regexp): By default, accept comma
10465 as a decimal mark to represent numbers.
10467 * org-element.el (org-element-map): Fix comment typo.
10469 * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
10470 returning funny results.
10472 * org.el (org-fill-paragraph): Try not to include message header
10473 and citation lines in a paragraph when filling it.
10475 * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
10476 (org-fill-context-prefix): Fill prefix doesn't depend on current
10479 * org.el (org-mode): Line with a single hash sign on it is a
10482 * org.el (org-set-font-lock-defaults): Fix comment fontification.
10484 * org-element.el (org-element-item-parser): Do not remove tag from
10485 body if list isn't descriptive.
10487 * org-list.el (org-insert-item): Only ask about a term for
10489 (org-list-struct, org-list-insert-item): Do not recognize a tag in
10492 * org-element.el (org-element-set-element): Rewrite function.
10493 (org-element-adopt-elements): New function.
10494 (org-element-adopt-element): Remove function.
10495 (org-element--parse-elements, org-element--parse-objects): Use new
10498 * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
10499 which is now hard-coded.
10500 (org-cycle-list-bullet): Hard code `bullet' rule.
10501 (org-list-get-list-type): Make sure a list with numbered bullets
10502 cannot have `descriptive' type.
10504 * org-element.el (org-element-paragraph-parser): Fix previous
10507 * org.el (org-fill-paragraph): No need to use
10508 `org-element-paragraph-separate' in a verse block since blank
10509 lines only can end a "paragraph".
10511 * org-element.el (org-element-paragraph-separate): Apply changes
10513 (org-element-paragraph-parser): Correctly find end of paragraphs.
10514 (org-element--current-element): Require colons for Babel calls.
10515 (org-element-center-block-parser)
10516 (org-element-dynamic-block-parser, org-element-quote-block-parser)
10517 (org-element-special-block-parser)
10518 (org-element-comment-block-parser)
10519 (org-element-example-block-parser)
10520 (org-element-export-block-parser, org-element-src-block-parser)
10521 (org-element-verse-block-parser): Fall-back to paragraph parsing
10522 when incomplete or ill-formed.
10524 * org-element.el (org-element-swap-A-B): Small refactoring.
10526 * org-element.el (org-element-text-markup-successor): Fix typo in
10529 * org-element.el (org-element-at-point): Return consistent value
10530 when function is called on a blank line within a plain list.
10532 * org-element.el (org-element-paragraph-separate): Fix comments in
10533 paragraph separator regexp. Optimize it.
10535 * org-element.el: Update code commets.
10537 * org.el (org-mark-subtree): Fix bug when marking subtree with
10538 point on an inlinetask. Refactor code.
10540 * org.el (org-mark-subtree): Do not make a special case for
10541 inlinetasks when marking a subtree. These are handled by
10542 `org-element-mark-element'.
10544 * org-element.el (org-element-comment-parser): Consider first "+"
10545 as a comment when parsing an ill-defined keyword.
10547 * org-element.el (org-element-item-interpreter): Simplify bullet
10549 (org-element-plain-list-interpreter): Fix wrong bullets, if
10552 * org-element.el (org-element-comment-parser): Fix parsing when a
10553 keyword follows the commented line.
10555 * org.el (org-fill-context-prefix): Auto-fill first paragraph in
10556 footnote definitions.
10558 * org.el (org-mode): Define new comment syntax.
10559 (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
10560 (org-fill-context-prefix, org-insert-comment)
10561 (org-comment-or-uncomment-region): Use new comment syntax.
10563 * org-element.el (org-element-comment-parser)
10564 (org-element-comment-interpreter, org-element--current-element):
10565 Use new comment syntax.
10567 * org.el (org-fill-paragraph): When at an item or a footnote
10568 definition, fill first paragraph instead.
10570 * org.el (org-fill-paragraph): Fix filling when point is at the
10571 very end of a paragraph.
10573 * org.el (org-mode): Set comments related variables.
10574 (org-insert-comment, org-comment-or-uncomment-region):
10577 * org.el (org-fill-context-prefix): Small refactoring.
10578 (org-fill-paragraph): Add code comments.
10580 * org-element.el (org-element-at-point): Add :parent property to
10582 (org-element-context): Add :parent property to output.
10583 Also return a single element or object instead of a list of parents.
10584 (org-element-forward, org-element-up): Apply changes.
10586 * org.el (org-fill-context-prefix): New function.
10587 (org-fill-paragraph, org-auto-fill-function): Use new function.
10588 Also handle comments.
10589 (org-adaptive-fill-function): Remove function.
10590 (org-get-local-variables, orgstruct++-mode): Don't store now
10591 unused adaptive-fill* functions.
10593 * org-element.el (org-element-at-point): Fix function when buffer
10594 starts with an inlinetask. Also fix it when called on the last
10595 element in a greater element or the buffer.
10597 * org-element.el (org-element-center-block-parser)
10598 (org-element-dynamic-block-parser)
10599 (org-element-footnote-definition-parser)
10600 (org-element-headline-parser, org-element-inlinetask-parser)
10601 (org-element-quote-block-parser, org-element-special-block-parser)
10602 (org-element-plain-list-parser): Refactor code.
10603 (org-element-drawer-parser): Fall-back to paragraph parser when
10604 drawer is incomplete.
10606 * org-macs.el (org-with-limited-levels): Fix typo.
10608 * org-element.el (org-element-paragraph-separate): Refactor.
10609 (org-element-paragraph-parser): Fix paragraph parsing.
10611 * org.el (org-fill-paragraph): Rewrite function using
10612 `org-element-at-point'.
10614 * org-element.el (org-element-fill-paragraph): Remove function.
10616 * org.el (org-planning-or-clock-line-re): Make it a defconst.
10617 It's no use to make it a buffer-local variable since variables on
10618 which it depends are not buffer-local anyway.
10620 * org.el (org-drawer-regexp): Provide default value for
10621 `org-drawer-regexp' in non-Org buffers.
10623 * org-entities.el (org-entities-create-table): Function chokes
10624 when CAR of `org-entities' is a string.
10626 * org-list.el (org-list-automatic-rules): Allow check-boxes in
10628 (org-list-struct-apply-struct, org-insert-item): Remove rule
10631 * org-footnote.el (org-footnote-normalize): Fix positionning in
10632 HTML export without a footnote section.
10634 * org-list.el (org-list-struct-indent):
10635 Follow `org-list-demote-modify-bullet' specifications for ordered
10637 (org-list-indent-item-generic, org-indent-item-tree)
10638 (org-outdent-item-tree): Fix bug when operating on a region.
10639 (org-outdent-item, org-indent-item): Allow to operate on a region.
10641 * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10644 * org-footnote.el (org-footnote-delete-definitions): Remove blank
10645 lines before the footnote definition instead of removing those
10648 * org-footnote.el (org-footnote-at-definition-p): Don't grab
10649 trailing blank lines in a footnote definition.
10650 (org-footnote-delete-definitions): Remove both footnote definition
10651 and trailing blank lines.
10653 2012-09-30 Rick Frankel <rick@rickster.com>
10655 * ob-sql.el: Add dbi engine type and pre/post processing.
10657 2012-09-30 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
10659 * ob.el (org-babel-expand-noweb-references): Capture current noweb
10660 start and end patterns then use to set buffer locals in
10661 (with-temp-buffer) form.
10663 2012-09-30 Sebastien Vauban <sva@mygooglest.com> (tiny change)
10665 * org.el (org-update-all-dblocks): Autoload function.
10667 2012-09-30 Simon Thum <simon.thum@gmx.de> (tiny change)
10669 * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10672 2012-09-30 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> (tiny change)
10674 * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10677 2012-09-30 Stuart Hickinbottom <stuart@hickinbottom.com> (tiny change)
10679 * org-clock.el (org-x11idle-exists-p): Only shell out when running
10682 2012-09-30 Suhail Shergill <suhailshergill@gmail.com> (tiny change)
10684 * org-html.el (org-export-as-html): If possible, use the
10685 :CUSTOM_ID: property to assign unique ids to footnotes.
10687 2012-09-30 T.F. Torrey <tftorrey@tftorrey.com> (tiny change)
10689 * org-exp.el (org-export-remember-html-container-classes):
10690 Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10692 * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10693 of `widen' and don't toggle header as `rmail-widen' already takes
10696 2012-09-30 Tim Howe <vsync@quadium.net> (tiny change)
10698 * org-clock.el (org-clocktable-defaults): Revert extra layer of
10701 2012-09-30 Toby S. Cubitt <tsc25@cantab.net>
10703 * org-capture.el (org-capture-fill-template): Expand %<num> escape
10704 sequences into text entered for <num>'th %^{PROMPT} escape.
10706 * org-capture.el (org-capture-fill-template): Fix regexp for
10707 %<n> expandos to match any positive integer.
10708 (org-capture-templates): Update docstring accordingly.
10710 * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10711 Skip timestamp items in agenda view if item is already shown as a
10713 (org-agenda-skip-deadline-if-done): Pass deadline results to
10714 org-agenda-get-timestamps.
10715 (org-agenda-get-timestamps): Optionally take list of deadline
10716 results, so that timestamp results can be skipped if already
10717 included in deadline results.
10719 * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10720 deadline/scheduling information to be displayed in diary sexp
10722 (org-agenda-get-sexps): Extract deadline/scheduling information
10723 from diary sexp entries.
10725 * org-capture.el (org-capture-place-entry): Place captured entry
10726 immediately after last subheading of target, instead of just
10727 before next heading at same level as target.
10729 * org-capture.el (org-capture-templates): Document new capture
10730 template properties.
10732 * org-capture.el (org-capture-place-entry)
10733 (org-capture-empty-lines-before): Make new :empty-lines-before
10734 property override :empty-lines when inserting empty lines before
10735 captured captured entry.
10737 * org-capture.el (org-capture-finalize)
10738 (org-capture-empty-lines-after): Make new :empty-lines-after
10739 property override :empty-lines when inserting empty lines after
10740 captured captured entry.
10742 * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10743 Add new todo-unblocked and nottodo-unblocked skip conditions.
10744 These match as for todo and nottodo, but only for unblocked todo items.
10746 2012-09-30 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
10748 * org.el (org-read-date-display): Fix bug when displaying the
10751 2012-09-30 Niels Giesen <niels.giesen@gmail.com>
10753 * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10754 When present, the :hline following the head will be skipped.
10755 This is necessary to avoid doubling of horizontal rules in LaTeX
10756 longtable environments and consequent width problems.
10758 * org-latex.el (org-export-latex-tables-tstart)
10759 (org-export-latex-tables-hline)
10760 (org-export-latex-tables-tend): New options.
10761 (org-export-latex-tables): Use the new options.
10763 2012-09-30 Feng Shu <tumashu@gmail.com> (tiny change)
10765 * org-exp.el (org-export-language-setup): Add simplified chinese
10768 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10770 Better seed support for (random).
10771 * org-id.el (org-id-uuid):
10772 Change (random t) to (random), now that the latter is more random.
10774 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10776 Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10777 * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10778 (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10779 (ly-w32-midi-path): Rename from ly-win32-midi-path.
10780 (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10781 Check for "windows-nt", not "win32", in system-type.
10783 2012-06-02 Chong Yidong <cyd@gnu.org>
10785 * org-clock.el (org-clock-string-limit)
10786 (org-clock-modeline-total, org-clock-task-overrun-text)
10787 (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10789 2012-05-27 Mark Shoulson <mark@kli.org> (tiny change)
10791 * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10792 \there4 were not "prettified" when org-pretty-entities was enabled.
10794 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10796 * org.el (org-font-lock-add-priority-faces):
10797 Restrict priorities fontification to headlines and inlinetasks.
10799 2012-05-27 Jambunathan K <kjambunathan@gmail.com>
10801 * org-odt.el (org-odt-init-outfile)
10802 (org-odt-write-manifest-file):
10803 Disable `nxml-auto-insert-xml-declaration-flag'.
10805 * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10807 2012-05-27 Bastien Guerry <bzg@gnu.org>
10809 * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10811 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10813 * ob.el (org-babel-capitalize-examplize-region-markers):
10814 Controls the capitalization of begin and end example blocks.
10815 (org-babel-examplize-region):
10816 Optionally capitalize example block delimiters.
10818 * ob-plantuml.el (org-babel-execute:plantuml):
10819 Add a :java header argument to plantuml.
10821 * org-exp-blocks.el (org-export-blocks-preprocess):
10822 Even when the body of a block is not indented the boundary markers
10823 should be indented to their original positions so things like list
10824 indentation still work.
10826 * ob.el (org-babel-parse-src-block-match):
10827 Save match data during indentation check.
10829 2012-05-27 Bastien Guerry <bzg@gnu.org>
10831 * org.el (org-scan-tags): Correctly match TODO keywords.
10833 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10835 * org-list.el (org-list-struct): Fix white spaces.
10836 (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10838 * org-list.el (org-list-swap-items, org-list-send-item):
10839 Preserve visibility when moving items.
10841 2012-05-27 Mark E. Shoulson <mark@kli.org> (tiny change)
10843 * org.el (org-fontify-entities): Hide {} when prettifying entities.
10845 2012-05-27 Bastien Guerry <bzg@gnu.org>
10847 * org.el (org-cycle-internal-global): Prevent the display of
10848 messages when cycling from with a Gnus article buffer.
10850 * org-table.el (org-table-time-seconds-to-string):
10851 Fix bug about handling a negative duration value.
10853 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10855 * org.el (org-link-expand-abbrev): Fix docstring.
10857 * org.el (org-translate-link): Fix bug.
10859 2012-05-27 Bastien Guerry <bzg@gnu.org>
10861 * org-agenda.el (org-agenda-bulk-mark-regexp):
10862 Fix bug when setting the number of marked entries.
10864 * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10865 (org-set-calc-mode, org-table-eval-formula): Use it.
10867 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10869 * ob.el (org-babel-find-named-result):
10870 Fix bug finding empty named results.
10872 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10874 * org.el (org-set-regexps-and-options):
10875 Fix `org-planning-or-clock-line-re' regexp. Indeed "\\>" will never
10876 match since time keywords must end with colons, which are not word
10879 2012-05-27 Bastien Guerry <bzg@gnu.org>
10881 * org-ctags.el (org-ctags-new-topic-template):
10882 Fix the option default value back again.
10884 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10886 * org-bibtex.el (org-bibtex-export-to-kill-ring):
10887 Don't rely on kill-new to return a string.
10889 * org-bibtex.el (org-bibtex-headline):
10890 Remove call to bibtex-reformat which often hangs.
10892 2012-04-27 Glenn Morris <rgm@gnu.org>
10894 * org-ctags.el (org-ctags-new-topic-template):
10895 Revert 2012-04-09 removal of * from defcustom value, not doc.
10897 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10899 * org-table.el (org-table-number-fraction): Fix typo.
10901 2012-04-27 Eric Schulte <eric.schulte@gmx.com>
10903 * ob-python.el (org-babel-execute:python): Ensure newline precedes
10904 automatically-added returns.
10906 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10908 * org-mouse.el (org-mode-hook): Do not move point when clicking on
10909 a footnote reference.
10911 2012-04-27 Bastien Guerry <bzg@gnu.org>
10913 * org-faces.el (org-date-selected): Fix docstring.
10915 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10917 * org-list.el (org-list-struct-indent):
10918 Follow `org-list-demote-modify-bullet' specifications for ordered
10920 (org-list-indent-item-generic, org-indent-item-tree)
10921 (org-outdent-item-tree): Fix bug when operating on a region.
10922 (org-outdent-item, org-indent-item): Allow to operate on a region.
10924 * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10927 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10929 * org-footnote.el (org-footnote-normalize): Fix positioning in
10930 HTML export without a footnote section.
10932 2012-04-27 Madan Ramakrishnan <madanr79@gmail.com> (tiny change)
10934 * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10935 advertised by the function.
10937 2012-04-27 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
10939 * org.el (org-read-date-display): Fix bug when displaying the
10942 2012-04-27 Bastien Guerry <bzg@gnu.org>
10944 * org.el (org-mode): Don't use `buffer-face-mode' by default.
10946 2012-04-27 Bastien Guerry <bzg@gnu.org>
10948 * org-faces.el (org-date-selected): New face.
10950 2012-04-27 Jambunathan K <kjambunathan@gmail.com>
10952 * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10953 internal links destined for headlines provide a description or
10954 not. In fact, the `org-store-link' and `org-insert-link' create
10955 internal links which do have a description.
10957 2012-04-27 Bastien Guerry <bzg@gnu.org>
10959 * org-clock.el (org-program-exists): Fix docstring.
10961 2012-04-14 Bastien Guerry <bzg@gnu.org>
10963 * org.el (org-point-at-end-of-empty-headline): Only try to match
10964 `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10966 (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10967 to fontify beyond (point-max).
10969 * org-clock.el (org-clock-task-overrun-text)
10970 (org-task-overrun, org-clock-get-clock-string)
10971 (org-clock-update-mode-line)
10972 (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10973 and `org-task-overrun-text' to `org-clock-task-overrun' and
10974 `org-clock-task-overrun-text' respectively.
10975 (org-task-overrun-text): New alias.
10977 * org-table.el (org-table-eval-formula): Fix bug about handling
10978 remote references as durations.
10979 (org-table-get-range): Fix bug: make sure references to $0 are
10982 * org-pcomplete.el (pcomplete/org-mode/file-option):
10983 Fix bug in `pcomplete/org-mode/file-option'.
10984 (org-thing-at-point): Also match line options like LATEX_CLASS
10985 when pcompleting from LATEX_.
10987 * org-agenda.el (org-agenda-filter-make-matcher)
10988 (org-agenda-filter-apply): Allow filtering entries out by
10989 category. Using `C-u <' from the agenda view will redisplay
10990 the agenda without entries from categories of the current line.
10992 2012-04-14 Eric Schulte <eric.schulte@gmx.com>
10994 * ob-C.el (org-babel-C-ensure-main-wrap):
10995 Add an explicit return to automatically generated main methods.
10997 2012-04-14 Matt Lundin <mdl@imapmail.org>
10999 * org.el (org-after-todo-state-change-hook):
11000 Fix docstring to reflect name change of state to `org-state'.
11002 2012-04-14 Mike Sperber <sperber@deinprogramm.de> (tiny change)
11004 * org-footnote.el (org-footnote-normalize):
11005 Correctly pass keyword arguments to `org-export-preprocess-string'.
11007 2012-04-03 Bastien Guerry <bzg@gnu.org>
11009 * org.el (org-todo): Fix regression: rename `state' to
11011 (org-use-effective-time): Fix group and type.
11013 2012-04-02 Bastien Guerry <bzg@gnu.org>
11015 * org-clock.el (org-clock-out-if-current): Fix regression: rename
11016 `org-clock-state' to `org-state' to match the name of the
11017 dynamically-scoped variable in `org-todo'.
11019 * org-agenda.el (entry, org-diary, org-class): Fix regression:
11020 rename `org-entry' to `entry'.
11022 2012-04-01 Bastien Guerry <bzg@gnu.org>
11024 * org.el (org-todo): Fix regression in `org-todo'.
11026 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11028 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
11029 C files on windows.
11031 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11033 * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
11036 * ob.el (org-babel-parse-src-block-match): Make use of the new
11037 language argument to org-babel-strip-protective-commas.
11038 (org-babel-parse-inline-src-block-match): Make use of the new
11039 language argument to org-babel-strip-protective-commas.
11040 (org-babel-strip-protective-commas): Now accepts a language
11043 2012-04-01 Bastien Guerry <bzg@gnu.org>
11045 * org.el (org-fast-tag-selection): Fix an bug when listing tags
11048 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11050 * org.el (org-delete-property-globally): Fix a bug that left
11051 blank line in place of the property, instead of removing the line.
11053 2012-04-01 Bastien Guerry <bzg@gnu.org>
11055 * ob-maxima.el (org-babel-maxima-command): Add group information
11058 2012-04-01 Bastien Guerry <bzg@gnu.org>
11060 * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
11061 face to 'org-default.
11063 2012-04-01 Bastien Guerry <bzg@gnu.org>
11065 * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
11068 2012-04-01 Bastien Guerry <bzg@gnu.org>
11070 * org.el: Prevent a bug while defining the menu by requiring
11071 `org-beamer' when necessary.
11073 2012-04-01 Bastien Guerry <bzg@gnu.org>
11075 * org-table.el (orgtbl-self-insert-command):
11076 Use `backward-delete-char' instead of `delete-backward-char' as this
11077 last command gets caught by the compiler which says to not use it
11078 in programs. `backward-delete-char' is just an alias for
11079 `delete-backward-char' which is internally remapped to
11080 `org-delete-backward-char' for optimization purpose.
11082 2012-04-01 Bastien Guerry <bzg@gnu.org>
11084 * org-latex.el (org-export-latex-subcontent): Bugfix: when
11085 `org-export-latex-low-levels' is nil, do not export low levels.
11087 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11089 * ob.el (org-babel-insert-result): Fix bug in indented wrapped
11092 2012-04-01 Bastien Guerry <bzg@gnu.org>
11094 * org.el (org-set-tags): Include `org-tag-alist' in the list of
11095 possible completions, even when there are tags defined in the
11098 2012-04-01 Bastien Guerry <bzg@gnu.org>
11100 * org.el (org-set-tags): Don't add a column when there is only one
11101 tag offered for completion.
11103 2012-04-01 Bastien Guerry <bzg@gnu.org>
11105 * org.el (org-fast-tag-selection): Include tags from
11106 `org-tag-alist' when completing with the TAB key.
11108 2012-04-01 Shoji Nishimura <nishimura.shoji@gmail.com> (tiny change)
11110 * org.el (org-display-inline-images): Honor the ̀beg' parameter.
11112 2012-04-01 Bastien Guerry <bzg@gnu.org>
11114 * org-latex.el (org-export-latex-subcontent): Don't insert a
11115 linebreak when itemizing a subtree that is just a headline.
11117 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11119 * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
11120 parsing inline call_foo lines.
11122 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11124 * ob-maxima.el (org-babel-maxima-command): The maxima command used
11125 should be configurable (defaults to maxima-command if defined).
11126 (org-babel-execute:maxima): The maxima command used should be
11127 configurable (defaults to maxima-command if defined).
11129 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11131 * ob-C.el (org-babel-C-execute): Add the local directory to the
11132 library search path for C/C++ block compilation.
11134 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11136 * ob.el (org-babel-where-is-src-block-result): Don't truncate
11137 results name on call line execution.
11139 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11141 * org-colview.el (org-columns-cleanup-item): Handle case of empty
11144 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11146 * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
11147 export error when a src block produces fake footnotes.
11149 2012-04-01 Bastien Guerry <bzg@gnu.org>
11151 * org.el (org-read-date): Don't mention `parse-time-weekdays' and
11152 `parse-time-months' in the docstring.
11154 2012-04-01 Bastien Guerry <bzg@gnu.org>
11156 * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
11159 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11161 * org-colview.el (org-columns-compute): Also consider inline tasks
11162 when computing the sum.
11164 2012-04-01 Thomas Morgan <tlm@ziiuu.com> (tiny change)
11166 * org-habit.el (org-habit-insert-consistency-graphs):
11167 Fix alignment of consistency graph in filtered agenda view.
11169 2012-04-01 Bastien Guerry <bzg@gnu.org>
11171 * org-latex.el (org-export-as-latex): Fix bug in setting the
11172 export directory according to the LaTeX options.
11174 2012-04-01 K.Nagashima <uni.naga@gmail.com> (tiny change)
11176 * org.el (org-show-subtree): Make interactive.
11178 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu>
11180 * org-clock.el (org-clock-get-table-data): Make sure todo-only
11181 does not leak when it is set by make-org-tags-macher.
11183 2012-04-01 Bastien Guerry <bzg@gnu.org>
11185 * org.el (org-cycle-internal-local): Don't try to hide drawers
11186 within subtrees in this function, it slows cycling down.
11188 2012-04-01 Bastien Guerry <bzg@gnu.org>
11190 * org-agenda.el (org-agenda-custom-commands-local-options):
11191 Fix incorrect custom option definition.
11193 2012-04-01 Bastien Guerry <bzg@gnu.org>
11195 * org-colview.el (org-columns-display-here): Bugfix: use the date
11196 as the value for the ITEM column when displaying a summary.
11198 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11200 * ob-lilypond.el: Re-direct homepage to Worg.
11202 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11204 * ob-lilypond.el: Leave versioning to Org.
11206 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11208 * ob-lilypond.el: Fix compiler warning.
11210 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11212 * org-odt.el (org-odt-format-entity-caption): Enumerate entities
11213 that have either a caption or a label.
11214 (org-odt-label-styles, org-odt-category-map-alist): Add a
11215 separator between sequence number and caption. Introduced two
11216 new label styles for handling of math formula and math label.
11217 (org-odt-format-label-definition)
11218 (org-export-odt-format-formula): Propagate above changes.
11220 2012-04-01 Bastien Guerry <bzg@gnu.org>
11222 * org.el (org-enforce-todo-dependencies): Fix docstring.
11224 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11226 * org-odt.el (org-export-odt-category-strings): New custom
11228 (org-odt-category-map-alist): Modify interpretation.
11229 Don't use the same field to double up as both a OpenDocument
11230 variable and a category string. Entries in this list now
11231 specify only the OpenDocument variable. Category strings are
11232 obtained through an indirect lookup of
11233 `org-export-odt-category-strings'. Use same OpenDocument
11234 variables as what LibreOffice uses for various entities.
11236 (org-odt-add-label-definition)
11237 (org-odt-format-label-definition)
11238 (org-odt-format-label-reference): Propagate above changes.
11240 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11242 * org-latex.el (org-export-as-latex): Check TeX-master correctly.
11244 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11246 * org-odt.el (org-odt-category-map-alist): Update docstring.
11247 (org-export-odt-user-categories)
11248 (org-export-odt-get-category-from-label)
11249 (org-odt-get-label-category-and-style): Remove.
11250 (org-odt-add-label-definition): Propagate above changes.
11252 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11254 * org.el (org-refile): Don't allow creation of parents when using
11255 the refile command to go to a headline.
11257 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11259 * org-odt.el (org-odt-format-org-link): Resolve links to headlines
11260 as section numbers only if section numbering is on.
11262 2012-04-01 Bastien Guerry <bzg@gnu.org>
11264 * org.el (format-spec): Require 'format-spec.
11266 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11268 * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
11270 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11272 * org.el (org-imenu-get-tree): Check that looking-at succeeds
11273 before using match results.
11275 2012-04-01 Bastien Guerry <bzg@gnu.org>
11277 * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
11279 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11281 * org-lparse.el (org-do-lparse): Make effective setting of
11282 `org-export-headline-levels' available to the ODT exporter.
11283 Also remove some stale comments.
11285 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11287 * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
11288 per-language string for "Table Of Contents".
11290 2012-04-01 Bastien Guerry <bzg@gnu.org>
11292 * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
11294 2012-04-01 Shaun Johnson <shaun@slugfest.demon.co.uk> (tiny change)
11296 * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
11299 2012-04-01 Suvayu Ali <fatkasuvayu+linux@gmail.com>
11301 * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
11302 case-fold-search is bound to nil globally, the
11303 (case-fold-search t) doesn't work until we get to the body.
11305 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11307 * org-latex.el (org-export-latex-tables): Allow to use
11310 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11312 * ob.el (org-babel-expand-noweb-references): Fix bug in src name
11313 regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
11315 2012-04-01 David Maus <dmaus@ictsoc.de>
11317 * org.el (org-scan-tags): Require one or more spaces (+) between
11318 keyword and headline.
11320 2012-04-01 David Maus <dmaus@ictsoc.de>
11322 * org-agenda.el (org-prepare-agenda): Don't reset
11323 `org-done-keywords-for-agenda' when `org-agenda-multi'.
11325 2012-04-01 Thomas Morgan <tlm@ziiuu.com> (tiny change)
11327 * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
11328 while inserting habit graph in the agenda buffer.
11330 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11332 * org-src.el (org-src-edit-buffer-p): New function.
11334 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11336 * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
11337 being checked. Also enhance the docstring a bit.
11339 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11341 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
11342 display of indirect agenda window.
11344 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
11346 * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
11349 2012-04-01 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
11351 * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
11352 to tags-list and org-trust-scanner-tags to t while evaluating the
11353 matcher, since the matcher is always evaluated at the current
11356 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11358 * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
11359 evaluating the matcher, since the matcher is always evaluated at
11362 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
11364 * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
11365 quoting expression.
11367 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11369 * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
11371 (org-babel-noweb-p): The "eval" argument only expands during
11374 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11376 * ob.el (org-strip-protective-commas): Declared.
11378 * org-agenda.el (org-agenda-filtered-by-category): Declared.
11379 (org-agenda-filter-apply): Capture free variable.
11381 * org-footnote.el (org-skip-whitespace): Declared.
11383 * org-mobile.el (org-agenda-filter): Declared.
11385 * org-src.el (org-strip-protective-commas): Declared.
11387 2012-04-01 Sebastien Vauban <sva@mygooglest.com> (tiny change)
11389 * org.el (org-version): Add autoload cookie.
11391 2012-04-01 David Maus <dmaus@ictsoc.de>
11393 * org-attach.el (org-attach-store-link-p): Remove spurious quote
11394 in customization form choice.
11396 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11398 * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
11399 (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
11402 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11404 * ob.el (org-babel-insert-result): Ensure correct order for empty
11405 result wrapping blocks.
11407 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11409 * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
11410 and add easy pdf generation in the form of `ly-gen-pdf' variable.
11412 2012-04-01 Deech <deech@deech-ThinkPad-X200.none> (tiny change)
11414 * ob-tangle.el (org-babel-spec-to-string): The link generated by
11415 org-store-link is escaped twice when tangling with ":comments yes"
11418 2012-04-01 Bastien Guerry <bzg@gnu.org>
11420 * org-html.el (org-export-as-html): Remove another useless space
11423 2012-04-01 Bastien Guerry <bzg@gnu.org>
11425 * org-html.el (org-export-as-html): Remove another useless space
11428 2012-04-01 Bastien Guerry <bzg@gnu.org>
11430 * org-html.el (org-export-as-html): Remove useless space before
11433 2012-04-01 Sebastien Vauban <sva@mygooglest.com> (tiny change)
11435 * org.el (org-version): Add autoload cookie.
11437 2012-04-01 Bastien Guerry <bzg@gnu.org>
11439 * org.el (org-get-category): Save match data.
11441 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11443 * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
11444 :tangle is specified.
11446 * ob.el (org-babel-expand-noweb-references): Widen buffer when
11447 expanding noweb references.
11449 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11451 * ob-table.el (sbe): Don't accidentally leave a `t' value when
11452 variables are force interpreted as strings.
11454 2012-04-01 David Maus <dmaus@ictsoc.de>
11456 * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
11457 (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
11459 2012-04-01 David Maus <dmaus@ictsoc.de>
11461 * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
11462 (bbdb-search-organization): Declare functions to silence byte
11465 2012-04-01 Bernt Hansen <bernt@norang.ca>
11467 * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
11468 repeating tasks using .+n and ++n syntax.
11470 2012-04-01 Karl Fogel <kfogel@red-bean.com> (tiny change)
11472 * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
11473 heading that has a date but no todo keyword.
11475 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11477 * ob.el (org-babel-find-named-result): Fix code block replacement
11480 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11482 * org-footnote.el (org-footnote-normalize): Do not normalize
11483 labels when sort-only is non-nil.
11485 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11487 * org-footnote.el (org-footnote-normalize): Remove an useless part
11489 (org-insert-footnote-reference-near-definition): Remove function.
11491 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11493 * org-footnote.el (org-footnote-normalize): Fix normalization of
11494 inline footnotes with no footnote section.
11496 2012-04-01 David Maus <dmaus@ictsoc.de>
11498 * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
11499 to check for old or new version by a check for the required
11500 function in `org-bbdb-open' and `org-bbdb-store-link'.
11501 (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
11504 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11506 * ob.el (org-babel-find-named-result): Don't miss a code block
11507 when there are confounding spaces after the result name.
11509 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11511 * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
11512 regular expressions.
11513 (org-babel-inline-lob-one-liner-regexp): Less greedy regular
11516 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11518 * ob.el (org-babel-examplize-region): Fix bug in examplization.
11520 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11522 * org.el (org-link-search): Search for #+name affiliated keywords
11523 and invisible targets.
11525 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11527 * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
11528 newlines in a transcoded footnote definition. This ensures that
11529 the line that is currently being processed by `org-do-lparse' loop
11530 doesn't get broken up into multiple lines. Fix for the following
11533 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11535 * org-footnote.el (org-footnote-normalize): Force a paragraph
11536 break after the last footnote definition. This is an an implicit
11537 assumption made by the org-lparse.el library. With this change,
11538 footnote definitions can reliably be exported with ODT backend.
11539 See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
11541 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11543 * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
11545 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11547 * org-list.el (org-list-struct): Fix small bug introduced by
11548 commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
11550 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11552 * ob-ditaa.el (org-ditaa-jar-path): Already defined in
11555 * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
11556 for the fact that this is really now a Babel thing -- even if it
11557 is used here and the definition should remain here for reasons of
11560 2012-04-01 David Maus <dmaus@ictsoc.de>
11562 * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
11563 defined after bbdb was loaded.
11565 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11567 * org-latex.el (org-export-latex-tables): Don't add spurious
11568 preceding newline if caption is not above a longtable.
11570 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11572 * org-odt.el (org-odt-insert-toc): Remove this stray,
11573 dysfunctional routine. This possibly has crept in because of the
11574 broken merges between "maint" and "origin" branches.
11575 (org-odt-begin-table): Don't emit an empty paragraph when a table is
11576 neither labeled nor captioned.
11577 (org-odt-init-outfile): Remove reference to an unused variable.
11579 2012-04-01 Viktor Rosenfeld <listuser36@googlemail.com>
11581 * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
11584 2012-04-01 Andreas Leha <andreas.leha@med.uni-goettingen.de>
11586 * ob.el (org-babel-goto-named-src-block): Pushing the point to the
11587 org-mark-ring and guessing at the code block name to jump to.
11589 2012-04-01 David Maus <dmaus@ictsoc.de>
11591 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
11592 of indirect buffer and window.
11594 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11596 * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11599 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11601 * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11604 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11606 * org-exp.el (org-table-clean-before-export): Ignore table rows
11607 defining parameters for formulas during export.
11609 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11611 * org-list.el (org-list-get-item-number): New function.
11613 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11615 * org-list.el (org-list-ending-method, org-list-end-regexp):
11617 (org-in-item-p, org-list-separating-blank-lines-number)
11618 (org-list-parse-list, org-list-struct): Apply changes.
11620 * org-exp.el (org-export-mark-list-end)
11621 (org-export-mark-list-properties): Apply changes.
11623 * org-latex.el (org-export-latex-lists): Apply changes.
11625 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11627 * org.el (org-cycle-internal-local): Correctly unfold headlines
11628 containing an inlinetask.
11630 2012-04-01 Bastien Guerry <bzg@gnu.org>
11632 * org.el (org-structure-template-alist): Fix missing angle
11633 brackets for muse export style.
11635 2012-04-01 David Maus <dmaus@ictsoc.de>
11637 * org.el (org-recenter-calendar): Use `with-selected-window' to
11638 select calendar window and save currently selected window and
11641 2012-04-01 Toby S. Cubitt <tsc25@cantab.net> (tiny change)
11643 * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11644 argument set, otherwise not only are headlines in the current
11645 subtree excluded, but it throws an error if point happens not to
11646 be within a subtree (e.g. at start of buffer).
11648 2012-04-01 David Maus <dmaus@ictsoc.de>
11650 * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11652 2012-04-01 David Maus <dmaus@ictsoc.de>
11654 * org-clock.el (org-in-clocktable-p): Move to org.el.
11656 * org.el (org-in-clocktable-p): New function. Moved from
11659 2012-04-01 David Maus <dmaus@ictsoc.de>
11661 * org-exp.el (org-export-get-title-from-subtree): Don't format
11662 tags in title if title headline does not have tags.
11664 2012-04-01 Bastien Guerry <bzg@gnu.org>
11666 * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11669 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11671 * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11672 Delay it till the end of export.
11673 (org-odt-begin-document-body): Make a note of the default
11674 position of TOC in `org-lparse-dyn-first-heading-pos'.
11675 (org-odt-insert-toc): Insert TOC as directed by
11676 [TABLE-OF-CONTENTS] line or at the default position.
11677 (org-odt-end-export): Call `org-odt-insert-toc'.
11679 2012-04-01 Bastien Guerry <bzg@gnu.org>
11681 * org.el (org-preview-latex-fragment): Throw an error when called
11682 from a non-file buffer.
11684 2012-04-01 David Maus <dmaus@ictsoc.de>
11686 * org-capture.el (org-capture-place-item): Don't search for
11687 position in existing list if :exact-position was supplied.
11689 2012-04-01 Bastien Guerry <bzg@gnu.org>
11691 * org.el (org-set-font-lock-defaults): Fix bug in done headline
11694 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11696 * org-odt.el (org-odt-format-textbox): Honor user-specified width
11697 in captioned images.
11699 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11701 * org.el (org-update-property-plist): Fix bug in property list
11704 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11706 * ob.el (org-babel-balanced-split): Explicit checking if list
11707 before calling member.
11709 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11711 * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11712 as the separator to `org-table-convert-region'. Fixes errors when
11713 only one result per line of output.
11715 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11717 * ob.el (org-babel-strip-protective-commas):
11718 Use `org-strip-protective-commas'.
11720 * org-exp.el (org-export-select-backend-specific-text):
11721 Use `org-strip-protective-commas'.
11723 * org-src.el (org-edit-src-code):
11724 Use `org-strip-protective-commas'.
11726 * org.el (org-strip-protective-commas): Single definition for this
11729 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11731 * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11733 2012-04-01 David Maus <dmaus@ictsoc.de>
11735 * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11736 Run before the finalization process starts.
11737 (org-capture-finalize): Run new hook.
11739 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11741 * org.el (org-entry-get): Generalize to multiple "prop+"
11744 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11746 * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11747 the `org-src-mode-map'.
11749 2012-04-01 David Maus <dmaus@ictsoc.de>
11751 * org.el (org-recenter-calendar): Use `with-selected-window' to
11752 select calendar window and save currently selected window and
11755 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11757 * org-list.el (org-list-ending-method, org-list-end-regexp):
11759 (org-in-item-p, org-list-separating-blank-lines-number)
11760 (org-list-parse-list, org-list-struct): Apply changes.
11762 * org-exp.el (org-export-mark-list-end)
11763 (org-export-mark-list-properties): Apply changes.
11765 * org-latex.el (org-export-latex-lists): Apply changes.
11767 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11769 * org.el (org-entry-get): Accumulate properties from subtree
11772 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11774 * org.el (org-entry-get): Accumulate properties from subtree
11777 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11779 * org-odt.el (org-export-odt-image-size-probe-method)
11780 (org-odt-do-image-size): Use imagemagick preferentially to
11781 determine image sizes.
11783 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11785 * org-odt.el (org-export-as-odt-to-buffer)
11786 (org-replace-region-by-odt, org-export-region-as-odt):
11787 Remove these interactive functions. They are of questionable value.
11789 2012-04-01 Toby S. Cubitt <tsc25@cantab.net> (tiny change)
11791 * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11792 argument set, otherwise not only are headlines in the current
11793 subtree excluded, but it throws an error if point happens not to
11794 be within a subtree (e.g. at start of buffer).
11796 2012-04-01 Bastien Guerry <bzg@gnu.org>
11798 * org-exp.el (org-export-kill-product-buffer-when-displayed)
11799 (org-export-initial-scope, org-export-date-timestamp-format)
11800 (org-export-with-tasks, org-export-email-info)
11801 (org-export-table-remove-empty-lines): Add version tag.
11803 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11805 * org.el (org-cycle-internal-local): Correctly unfold headlines
11806 containing an inlinetask.
11808 2012-04-01 Bernt Hansen <bernt@norang.ca>
11810 * org-clock.el (org-clock-out): Do not delete the current clocking
11811 task when org-clock-out-hook clocks in another task.
11813 2012-04-01 David Maus <dmaus@ictsoc.de>
11815 * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11817 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11819 * org-odt.el (org-export-odt-convert-processes): Re-define
11820 (org-export-odt-convert-capabilities): Fix an accidental
11823 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11825 * org-odt.el (org-export-odt-convert-capabilities): Change the
11828 2012-04-01 David Maus <dmaus@ictsoc.de>
11830 * org-clock.el (org-in-clocktable-p): Move to org.el.
11832 * org.el (org-in-clocktable-p): New function. Moved from org-clock.el.
11834 2012-04-01 David Maus <dmaus@ictsoc.de>
11836 * org-exp.el (org-export-get-title-from-subtree): Don't format
11837 tags in title if title headline does not have tags.
11839 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11841 * org-footnote.el (org-blank-before-new-entry)
11842 (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11845 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11847 * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11848 and C-e behavior with visual lines.
11850 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11852 * org-exp-blocks.el (org-export-blocks): Change the name of
11853 exporting comment blocks given that it seems regular comment
11854 blocks no longer export.
11856 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11858 * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11860 (org-babel-exp-in-export-file): Access current export buffer.
11861 (org-babel-exp-src-block): Access current export buffer.
11862 (org-babel-exp-inline-src-blocks): Access current export buffer.
11864 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11866 * ob-exp.el (org-babel-exp-in-export-file)
11867 (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11868 Allow org-current-export-file to contain a buffer.
11870 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11872 * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11873 with `shell-command-to-string'.
11875 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11877 * org-footnote.el (org-footnote-create-definition): Fix space
11878 insertion when creating a new footnote. This fixes newline
11879 munching when `org-footnote-section' is nil and blank lines
11880 stacking when it isn't nil.
11882 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11884 * org-footnote.el (org-footnote-normalize): Make sure that
11885 footnotes are moved to a single place during export.
11887 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11889 * org-footnote.el (org-footnote-normalize): Ensure footnote
11890 definition will be inserted at the end of the section
11891 corresponding to to its first reference.
11893 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11895 * org-footnote.el (org-footnote-at-definition-p): Make sure to
11896 move point at the beginning of the separator before skiping white
11897 spaces. Refactor code.
11899 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11901 * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11902 export when "strip-export".
11904 * ob.el (org-babel-common-header-args-w-values): New noweb
11906 (org-babel-merge-params): New noweb header value.
11907 (org-babel-noweb-p): New noweb header value.
11909 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11911 * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11913 * ob.el (org-babel-noweb-wrap): Add default value.
11914 (org-babel-expand-noweb-references): Just use default value.
11916 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11918 * org-exp.el (org-export-select-backend-specific-text): Always
11919 preserve original indentation as a text property so that lists do
11920 not get broken by indentation at column 0.
11922 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11924 * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11925 in source names in noweb references.
11927 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11929 * org.el (org-fill-line-break-nobreak-p): New function.
11930 (org-set-autofill-regexps): Add previous function to
11931 `fill-nobreak-predicate'.
11933 2012-04-01 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
11935 * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11936 visibility regardless of local user customization.
11938 2012-04-01 Carsten Dominik <carsten.dominik@gmail.com>
11940 * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11941 (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11943 * org-indent.el (org-indent-set-line-properties):
11944 Honor `org-inlinetask-show-first-star'.
11946 2012-04-01 Bastien Guerry <bzg@gnu.org>
11948 * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11949 doesn't contain duplicates.
11951 2012-04-01 Bastien Guerry <bzg@gnu.org>
11953 * org.el (org-at-drawer-p): Normalize the docstring to match other
11954 `org-at-*-p' docstrings.
11955 (org-indent-block, org-indent-drawer, org-at-block-p):
11957 (org-metaright): Use the new functions to indent a drawer or a
11958 block depending on the context. Also update the docstring.
11960 2012-04-01 Bastien Guerry <bzg@gnu.org>
11962 * org.el (org-set-regexps-and-options): Set the value of
11963 `org-drawers' by adding the value of the infile #+DRAWERS option
11964 to that of the existing `org-drawers'.
11966 2012-04-01 Bastien Guerry <bzg@gnu.org>
11968 * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11971 2012-04-01 Bastien Guerry <bzg@gnu.org>
11973 * org-inlinetask.el (org-inlinetask-toggle-visibility):
11974 Use `org-show-entry' instead of `outline-flag-region' to keep the
11975 drawers folded when unfolding an inline task.
11977 2012-04-01 Torsten Anders <torsten.anders@beds.ac.uk> (tiny change)
11979 * org-beamer.el (org-beamer-environments-default): Add support and
11980 keybinding for the `exampleblock' environment.
11982 2012-04-01 Michael Brand <michael.ch.brand@gmail.com>
11984 * org.el (org-open-link-from-string): Regard `reference-buffer'
11985 when setting `org-inhibit-startup'.
11987 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11989 * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
11990 space between inline src block and results on export.
11992 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11994 * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
11995 punctuation to proceed an inline src block.
11997 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11999 * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
12000 list of characters allowed to proceed an inline src block.
12002 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12004 * ob-tangle.el (org-babel-tangle-clean): Use the customizable
12007 * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
12008 (org-babel-noweb-wrap-end): End a noweb reference.
12009 (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
12010 (org-babel-expand-noweb-references): Use the customizable noweb
12013 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12015 * org.el (org-beginning-of-line): Handle case when there's no
12016 character after box.
12018 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12020 * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
12021 Delay it till the end of export.
12022 (org-odt-begin-document-body): Make a note of the default
12023 position of TOC in `org-lparse-dyn-first-heading-pos'.
12024 (org-odt-insert-toc): Insert TOC as directed by
12025 [TABLE-OF-CONTENTS] line or at the default position.
12026 (org-odt-end-export): Call `org-odt-insert-toc'.
12028 2012-04-01 Bastien Guerry <bzg@gnu.org>
12030 * org.el (org-preview-latex-fragment): Throw an error when called
12031 from a non-file buffer.
12033 2012-04-01 Bastien Guerry <bzg@gnu.org>
12035 * org.el (org-insert-property-drawer): Not an interactive
12037 (org-insert-drawer): With a prefix argument, insert a property
12038 drawer. Check for headline within the region before inserting the
12039 drawer. Don't include special drawers in the completion table.
12040 (org-mode-map): New keybinding `C-c C-x d' for
12041 `org-insert-drawer'.
12043 2012-04-01 Bastien Guerry <bzg@gnu.org>
12045 * org.el (org-insert-drawer): Support completion over known drawer
12046 names and inserting a drawer around the current region.
12048 2012-04-01 Bastien Guerry <bzg@gnu.org>
12050 * org.el (org-insert-drawer): New function.
12051 (org-insert-property-drawer): Use it.
12053 2012-04-01 Bastien Guerry <bzg@gnu.org>
12055 * org-list.el (org-mark-list): New function.
12057 2012-04-01 Bastien Guerry <bzg@gnu.org>
12059 * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
12060 complete drawer at point.
12061 (org-thing-at-point): Use it.
12063 2012-04-01 Bastien Guerry <bzg@gnu.org>
12065 * org.el (org-meta-return): Use `newline-and-indent' when in a
12068 2012-04-01 Bastien Guerry <bzg@gnu.org>
12070 * org.el (org-structure-template-alist): Fix docstring: the
12071 feature is not experimental anymore.
12073 2012-04-01 Bastien Guerry <bzg@gnu.org>
12075 * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
12076 display the item without unfolding drawers and logbooks.
12078 2012-04-01 Bastien Guerry <bzg@gnu.org>
12080 * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
12083 2012-04-01 Bastien Guerry <bzg@gnu.org>
12085 * org.el (org-structure-template-alist): Fix missing angle
12086 brackets for muse export style.
12088 2012-04-01 Bastien Guerry <bzg@gnu.org>
12090 * org.el (org-read-date): New parameter `inactive' when reading
12091 for insertion of inactive timestamps.
12092 (org-time-stamp, org-read-date-display): Use the new
12095 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12097 * ob.el (org-babel-expand-noweb-references): Only allow
12098 reference names which start and end with non-whitespace characters.
12099 Also, raise errors as appropriate given org-babel-noweb-error-langs.
12101 2012-04-01 Bastien Guerry <bzg@gnu.org>
12103 * org-src.el (org-src-in-org-buffer): Save and restore
12104 `buffer-undo-list' after editing.
12106 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12108 * ob.el (org-babel-common-header-args-w-values): Add new header
12110 (org-babel-expand-noweb-references): Use header argument rather than
12111 customization variable.
12113 2012-04-01 David Maus <dmaus@ictsoc.de>
12115 * org-capture.el (org-capture-place-item): Don't search for
12116 position in existing list if :exact-position was supplied.
12118 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12120 * ob.el (org-babel-noweb-separator): Custom variable for
12121 accumulated noweb references.
12122 (org-babel-expand-noweb-references): Allow separator for noweb
12125 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12127 * org.el (org-beginning-of-line): In an item, special position
12128 for C-a is after check-box, if any.
12129 (org-special-ctrl-a/e): Modify doc-string accordingly.
12131 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12133 * org-odt.el (org-export-odt-format-formula): Use :style
12134 property to specify custom table styles.
12136 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12138 * ob-exp.el (org-babel-exp-call-line-template): Control export of
12139 additional call line information.
12140 (org-babel-exp-non-block-elements): Fancier call line export.
12142 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12144 * org-odt.el (org-odt-entity-frame-styles): Add frame params
12145 for images that are anchored as character.
12146 (org-export-odt-format-image): Handle new anchor type
12148 (org-export-odt-default-image-sizes-alist): Misc. change.
12149 (org-export-odt-format-formula): Misc. change.
12151 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12153 * ob.el (org-babel-check-src-block): Don't report valid header
12154 arguments as suspicious.
12156 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12158 * ob-exp.el (org-babel-exp-non-block-elements): Map over both
12159 inline src blocks and call lines on export.
12161 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12163 * org-odt.el (org-odt-label-styles): Add a new style.
12164 (org-odt-category-map-alist): Use it.
12166 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12168 * org-odt.el (org-odt-table-style-format): New. Template for
12169 auto-generated table styles.
12170 (org-odt-automatic-styles, org-odt-object-counters):
12172 (org-odt-add-automatic-style): New function.
12173 (org-odt-write-automatic-styles): New function.
12174 Create automatic styles for tables that have custom :rel-width.
12175 (org-odt-begin-table): Parse attributes specified with
12176 "#+ATTR_ODT: " option and use it to create an automatic table
12178 (org-odt-save-as-outfile):
12179 Call `org-odt-add-write-automatic-styles'.
12180 (org-odt-init-outfile): Init newly add variables.
12181 (org-odt-section-count): Remove it.
12182 (org-odt-begin-section): Use `org-odt-add-automatic-style' to
12183 generate an automatic section name.
12185 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12187 * ob.el (org-babel-map-executables): Correctly position point when
12188 mapping hits an inline code block.
12190 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12192 * ob.el (org-babel-execute-src-block): Ensure params are
12193 incorporated *before* checking if evaluation is legal.
12195 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12197 * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
12198 marker so it is updated as required during export.
12200 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12202 * org-src.el (org-src-in-org-buffer): Run commands in the parent
12204 (org-edit-src-save): Use new macro.
12205 (org-src-tangle): Tangle the parent buffer.
12207 2012-04-01 Bastien Guerry <bzg@gnu.org>
12209 * org.el (org-set-font-lock-defaults): Fix bug in done
12210 headline fontification.
12212 2012-04-01 Bastien Guerry <bzg@gnu.org>
12214 * org.el (org-set-font-lock-defaults): Fix bug in done
12215 headline fontification.
12217 2012-04-01 Bastien Guerry <bzg@gnu.org>
12219 * org.el (org-return): Act normally when in code blocks.
12221 2012-04-01 Bastien Guerry <bzg@gnu.org>
12223 * org.el (org-in-src-block-p): New function.
12224 (org-context): Return new contexts :clocktable and :src-block.
12226 2012-04-01 Bastien Guerry <bzg@gnu.org>
12228 * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
12229 C-q' do the right thing even when point is before the first
12232 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12234 * ob.el (org-babel-noweb-p): Disambiguate intersection name.
12236 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
12238 * org-odt.el (org-odt-format-textbox): Honor user-specified
12239 width in captioned images.
12241 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12243 * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
12244 (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
12245 (org-babel-map-call-lines): Replace gensym with make-symbol.
12246 (org-babel-map-executables): Replace gensym with make-symbol.
12248 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12250 * ob-exp.el (org-babel-exp-results): Alter a copy of info.
12252 2012-04-01 Bastien Guerry <bzg@gnu.org>
12254 * org-html.el (org-export-as-html):
12255 Initialize `html-pre-real-contents' correctly.
12257 2012-04-01 Bastien Guerry <bzg@gnu.org>
12259 * org-html.el (org-export-as-html):
12260 Initialize `html-pre-real-contents' correctly.
12262 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12264 * ob-exp.el (org-babel-exp-code): Ensure code block name is a
12267 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12269 * ob-exp.el (org-babel-exp-code-template): Customizable code
12270 block export format string.
12271 (org-babel-exp-code): Customizable code block export.
12273 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12275 * ob-clojure.el (org-babel-execute:clojure): Remove dependency
12276 on deprecated swank-clojure.
12278 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12280 * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
12281 (org-babel-map-inline-src-blocks): Don't pollute symbol space.
12282 (org-babel-map-call-lines): Don't pollute symbol space.
12283 (org-babel-map-executables): Map over *all* executable Org-mode
12285 (org-babel-execute-buffer): Execute elements in buffer order instead
12288 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12290 * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
12291 Those must be done with `copy-tree'.
12293 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12295 * org-src.el (org-edit-src-code): Referenced code block should
12296 not be evaluated on code block edit.
12298 2012-04-01 Bastien Guerry <bzg@gnu.org>
12300 * org.el (org-structure-template-alist): Use uppercase for
12303 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12305 * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
12306 code block results.
12308 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12310 * ob.el (org-babel-results-keyword): New user-configurable
12312 (org-babel-where-is-src-block-result): Use new user-configurable
12315 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12317 * org-indent.el (org-indent-refresh-maybe): Check for new
12318 headlines from the beginning of the line to be sure to catch
12319 any newly inserted headline there.
12321 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12323 * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
12324 (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
12326 * ob-tangle.el (org-babel-tangle-collect-blocks):
12327 Use `org-babel-noweb-p'.
12329 * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
12330 (org-babel-expand-src-block): Use `org-babel-noweb-p'.
12331 (org-babel-load-in-session): Use `org-babel-noweb-p'.
12332 (org-babel-merge-params): Use `org-babel-noweb-p'.
12333 (org-babel-noweb-p): New function used to determine if noweb
12334 expansion should be carried out in a given context.
12336 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12338 * org.el (org-update-property-plist): Fix bug in property list
12341 2012-04-01 François Pinard <pinard@iro.umontreal.ca> (tiny change)
12343 * org.el (org-kill-line): Use `kill-visual-line' in
12344 `visual-line-mode'.
12346 2012-04-01 Bernt Hansen <bernt@norang.ca>
12348 * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
12349 is outside the current restriction.
12351 2012-04-01 Bernt Hansen <bernt@norang.ca>
12353 * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
12354 in from the agenda.
12356 2012-04-01 Bernt Hansen <bernt@norang.ca>
12358 * org.el: Honor existing restrictions when regenerating the agenda.
12360 2012-04-01 Bastien Guerry <bzg@gnu.org>
12362 * org-agenda.el: New alias for `list-diary-entries-hook'.
12364 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12366 * ob.el (org-babel-common-header-args-w-values): Add the new
12367 header argument name.
12368 (org-babel-insert-result): Respect the value of the :wrap header
12369 argument when inserting results.
12370 (org-babel-result-end): Find the end of arbitrarily named result
12373 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
12375 * org-indent.el (org-indent-refresh-maybe): Check for new
12376 headlines from the beginning of the line to be sure to catch
12377 any newly inserted headline there.
12379 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12381 * org.el (org-update-property-plist): Remove old instances of
12382 property when adding a new value for property.
12384 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
12386 * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
12387 code block would cause an error when the block is was executed.
12388 This fix cures this behavior.
12390 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12392 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12393 pieces of a previous patch.
12395 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12397 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12399 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12401 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12402 pieces of a previous patch.
12404 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12406 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12408 2012-04-01 Bastien Guerry <bzg@gnu.org>
12410 * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12411 instead of (end-of-buffer).
12413 2012-04-01 Bastien Guerry <bzg@gnu.org>
12415 * org-bbdb.el (name): Declare variable.
12416 (bbdb-record-get-field, bbdb-search-name)
12417 (bbdb-search-organization): Declare as part of ext:bbdb.
12419 2012-04-01 Bastien Guerry <bzg@gnu.org>
12421 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12422 instead of the obsolete `org-agenda-filter'.
12424 2012-04-01 Bastien Guerry <bzg@gnu.org>
12426 * org-agenda.el: Add an alias for `org-agenda-filter'.
12427 (diary-list-entries-hook): Use the non-obsolete hook.
12428 (org-agenda-filter-apply): Silent compiler warning.
12430 2012-04-01 Bastien Guerry <bzg@gnu.org>
12432 * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
12433 (org-ditaa-jar-option): New option.
12434 (org-babel-execute:ditaa): Use it.
12436 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12438 * ob.el (org-babel-balanced-split): Explicit checking if list
12439 before calling member.
12441 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
12443 * ob.el (org-babel-balanced-split): Explicit checking if list
12444 before calling member.
12446 2012-02-14 Chong Yidong <cyd@gnu.org>
12448 * org-footnote.el: Remove bogus defvar values (Bug#10745).
12450 2012-01-05 Eric Schulte <eric.schulte@gmx.com>
12452 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12453 pieces of a previous patch.
12455 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12457 2012-01-05 Bastien Guerry <bzg@gnu.org>
12459 * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12460 instead of (end-of-buffer).
12462 * org-bbdb.el (name): Declare variable.
12463 (bbdb-record-get-field, bbdb-search-name)
12464 (bbdb-search-organization): Declare as part of ext:bbdb.
12466 * org-agenda.el: Add an alias for `org-agenda-filter'.
12467 (diary-list-entries-hook): Use the non-obsolete hook.
12468 (org-agenda-filter-apply): Silent compiler warnings.
12470 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12471 instead of the obsolete `org-agenda-filter'.
12473 2012-01-03 Bastien Guerry <bzg@gnu.org>
12475 * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
12476 and removing checkboxes with `C-u C-c C-c' on the first item
12477 of a list. Also, don't reinitialize checkboxes that are
12480 2012-01-03 Bastien Guerry <bzg@gnu.org>
12482 * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
12483 value with only one digit for the hours.
12485 2012-01-03 Bastien Guerry <bzg@gnu.org>
12487 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12488 Remove deleted function `org-encode-for-stdout'.
12490 2012-01-03 Bastien Guerry <bzg@gnu.org>
12492 * org.el (org-show-context): Complete docstring.
12494 2012-01-03 Bastien Guerry <bzg@gnu.org>
12496 * org-agenda.el (org-agenda-filter-by-tag):
12497 Use `read-char-exclusive' instead of `read-char'.
12499 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
12501 * org-clock.el (org-clock-in, org-clock-find-position):
12502 Remove erraneous space in regexp.
12504 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12506 * ob.el (org-babel-expand-noweb-references): Rather than using
12507 a pure regexp solution to resolve noweb references, actually
12508 check the information of every code block in the buffer.
12509 This will cause a slowdown in noweb reference expansion, but is
12510 necessary for correct behavior.
12512 2012-01-03 Bastien Guerry <bzg@gnu.org>
12514 * org.el (org-map-continue-from): Fix typo in docstring.
12516 2012-01-03 Bastien Guerry <bzg@gnu.org>
12518 * org.el (org-property-re): Also match cumulating properties
12521 2012-01-03 Bastien Guerry <bzg@gnu.org>
12523 * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
12524 matching the end of a block.
12526 2012-01-03 David Maus <dmaus@ictsoc.de>
12528 * org.el (org-open-at-point): Escape link path for http:,
12529 https:, ftp:, news:, and doi: links only if the path contains
12530 space or non-ascii character.
12532 2012-01-03 David Maus <dmaus@ictsoc.de>
12534 * org.el (org-refile-get-targets): Ignore headlines without a
12537 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12539 * ob.el (org-babel-map-call-lines): Move this file from
12540 ob-lob.el into ob.el to ease dependency pains.
12542 2012-01-03 Bastien Guerry <bzg@gnu.org>
12544 * org-publish.el (org-publish-index-generate-theindex):
12545 Use theindex.inc for storing index entries, and theindex.org for
12546 including theindex.inc.
12548 2012-01-03 Bastien Guerry <bzg@gnu.org>
12550 * org-publish.el (org-publish-index-generate-theindex):
12551 Create proper file target for index entries in subdirectories.
12553 2012-01-03 Bastien Guerry <bzg@gnu.org>
12555 * org-protocol.el (org-protocol-check-filename-for-protocol):
12556 Fix spelling mistake.
12558 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12560 * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
12561 for title and subtitle.
12562 (org-odt-format-toc): New.
12563 (org-odt-format-preamble): New. Users can redefine this to
12564 customize what goes before the document body. Currently it
12565 outputs title, author and email, date and toc.
12566 (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12567 (org-odt-format-date): Rename from
12568 `org-odt-iso-date-from-org-timestamp'. Also added an
12569 additional param for format string.
12570 (org-odt-begin-annotation, org-odt-update-meta-file):
12571 Use `org-odt-format-date'.
12573 2012-01-03 Bastien Guerry <bzg@gnu.org>
12575 * org.el (org-at-drawer-p): New function.
12576 (org-end-of-line): Use it.
12578 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12580 * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
12581 Controls the method in which noweb references are expanded.
12582 (org-babel-expand-noweb-references): Bring back the option for
12583 regexp-based noweb expansion.
12585 2012-01-03 Bastien Guerry <bzg@gnu.org>
12587 * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
12588 with only one digit for the hours.
12590 2012-01-03 Bastien Guerry <bzg@gnu.org>
12592 * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
12593 when ticking the checkbox of the first item.
12595 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12597 * org-list.el (org-list-write-struct): Add an optional
12598 argument for structure changes happening outside the function.
12600 * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
12601 item of a sub-list should toggle check-box presence of every
12602 item in the same sub-list. Also fix check-box insertion on a
12605 2012-01-03 Bastien Guerry <bzg@gnu.org>
12607 * org-agenda.el (org-agenda-filter-preset): New alias.
12608 (org-agenda-filter-by-category): New command.
12609 (org-agenda-mode-map): Add the new command.
12610 (org-agenda-custom-commands-local-options): Add category
12612 (org-agenda-mark-filtered-text): Mark both tag and filter
12614 (org-agenda-category-filter-preset): New variable.
12615 (org-finalize-agenda, org-agenda-redo)
12616 (org-agenda-filter-make-matcher, org-agenda-filter-apply):
12617 Handle both category and tag filters.
12618 (org-agenda-filter-show-all-tag): Rename from
12619 `org-agenda-filter-by-tag-show-all'.
12620 (org-agenda-filter-show-all-cat): New function.
12621 (org-agenda-set-mode-name): Show the category filter in the
12624 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12626 * org-bbdb.el (org-bbdb-old): New variable.
12627 (org-bbdb-store-link, org-bbdb-open): Check for
12629 (org-bbdb-open-old, org-bbdb-open-new): New functions.
12631 2012-01-03 Bastien Guerry <bzg@gnu.org>
12633 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12634 Remove deleted function `org-encode-for-stdout'.
12636 2012-01-03 Bastien Guerry <bzg@gnu.org>
12638 * org.el (org-check-dates-range): New command.
12639 (org-sparse-tree): Use it.
12641 2012-01-03 Bastien Guerry <bzg@gnu.org>
12643 * org-agenda.el (org-agenda-write): Rename from
12644 `org-write-agenda'.
12645 (org-agenda-mode-map, org-agenda-menu)
12646 (org-batch-store-agenda-views): Use new name
12647 `org-agenda-write'.
12649 2012-01-03 Bastien Guerry <bzg@gnu.org>
12651 * org.el (org-loop-over-headlines-in-active-region):
12653 (org-todo, org-deadline, org-schedule): Honor the 'start-level
12654 value of `org-loop-over-headlines-in-active-region'.
12656 2012-01-03 Bastien Guerry <bzg@gnu.org>
12658 * org-archive.el (org-archive-subtree)
12659 (org-archive-to-archive-sibling, org-toggle-archive-tag):
12660 Bugfix: use 'region-start-level.
12662 2012-01-03 Bastien Guerry <bzg@gnu.org>
12664 * org.el (org-show-context): Complete docstring.
12666 2012-01-03 Bastien Guerry <bzg@gnu.org>
12668 * org-agenda.el (org-agenda-filter-by-tag):
12669 Use `read-char-exclusive' instead of `read-char'.
12671 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12673 * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12676 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
12678 * org-clock.el (org-clock-in, org-clock-find-position):
12679 Remove erraneous space in regexp.
12681 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12683 * org-odt.el (org-odt-lib-dir): Add docstring.
12684 (org-odt-data-dir): New variable. Use this variable to
12685 control the locations from which the ODT exporter picks the
12686 OpenDocument styles and schema files from. Set this variable
12687 explicitly only if the in-built heuristics for locating the
12689 (org-odt-styles-dir-list, org-odt-schema-dir-list):
12690 New variables. Pay specific attention to (eval-when-compile ...)
12691 form through which Makefile's $(datadir) - contained in
12692 `org-odt-data-dir' - gets compiled in as a "hard coded"
12694 (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12697 2012-01-03 Bastien Guerry <bzg@gnu.org>
12699 * org-archive.el (org-archive-subtree)
12700 (org-archive-to-archive-sibling, org-toggle-archive-tag)
12701 (org-archive-set-tag): Handle the 'start-level value for
12702 `org-loop-over-headlines-in-active-region'.
12704 2012-01-03 Bastien Guerry <bzg@gnu.org>
12706 * org.el (org-scan-tags): New parameter `start-level' to scan only
12707 through headlines of that level.
12708 (org-map-entries): New allowed value `region-start-level' for
12709 the `scope' parameter, to allow scanning through headlines of
12710 the same level than the first headline in the region.
12711 (org-loop-over-headlines-in-active-region): New allowed value
12714 2012-01-03 Bastien Guerry <bzg@gnu.org>
12716 * org-archive.el (org-archive-subtree)
12717 (org-archive-to-archive-sibling, org-archive-set-tag)
12718 (org-toggle-archive-tag): Allow to loop over the active region by
12719 using `org-loop-over-headlines-in-active-region'.
12721 2012-01-03 Bastien Guerry <bzg@gnu.org>
12723 * org.el (org-todo): Allow to loop over the active region by
12724 using `org-loop-over-headlines-in-active-region'.
12726 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12728 * ob.el (org-babel-expand-noweb-references): Rather than using
12729 a pure regexp solution to resolve noweb references, actually
12730 check the information of every code block in the buffer.
12731 This will cause a slowdown in noweb reference expansion, but is
12732 necessary for correct behavior.
12734 2012-01-03 Bastien Guerry <bzg@gnu.org>
12736 * org.el (org-map-continue-from): Fix typo in docstring.
12738 2012-01-03 Bastien Guerry <bzg@gnu.org>
12740 * org-agenda.el (org-agenda-write-buffer-name): New variable.
12741 (org-write-agenda): Use it.
12743 2012-01-03 Bastien Guerry <bzg@gnu.org>
12745 * org-exp.el (org-export-date-timestamp-format): New option to
12746 define the way a timestamp in #+DATE will be exported.
12747 (org-infile-export-plist): Use the new option.
12749 2012-01-03 Bastien Guerry <bzg@gnu.org>
12751 * org.el (org-property-re): Also match cumulating properties
12754 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12756 * org-odt.el (org-odt-styles-dir): Assume that the styles
12757 files are located under `data-directory' of Emacs distribution
12758 as etc/org/OrgOdtStyles.xml and
12759 etc/org/OrgOdtContentTemplate.xml. Also update docstring.
12760 (org-export-odt-schema-dir): Update docstring.
12762 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12764 * org-odt.el (org-odt-format-preamble): Honor following user
12765 options: author, timestamp and email.
12767 2012-01-03 Bastien Guerry <bzg@gnu.org>
12769 * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12770 for matching the end of a block.
12772 2012-01-03 Bastien Guerry <bzg@gnu.org>
12774 * org-eshell.el: New file.
12776 2012-01-03 David Maus <dmaus@ictsoc.de>
12778 * org.el (org-open-at-point): Escape link path for http:,
12779 https:, ftp:, news:, and doi: links only if the path contains
12780 space or non-ascii character.
12782 2012-01-03 Bastien Guerry <bzg@gnu.org>
12784 * org-beamer.el (org-beamer-fragile-re): Also recognize
12785 \lstinline and \verb as commands that make a frame fragile.
12787 2012-01-03 David Maus <dmaus@ictsoc.de>
12789 * org.el (org-refile-get-targets): Ignore headlines without a
12792 2012-01-03 Litvinov Sergey <slitvinov@gmail.com>
12794 * ob-octave.el: Add graphical output to png file.
12796 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12798 * ob.el (org-babel-map-call-lines): Move this file from
12799 ob-lob.el into ob.el to ease dependency pains.
12801 2012-01-03 Bastien Guerry <bzg@gnu.org>
12803 * org-publish.el (org-publish-index-generate-theindex):
12804 Use theindex.inc for storing index entries, and theindex.org for
12805 including theindex.inc.
12807 2012-01-03 Bastien Guerry <bzg@gnu.org>
12809 * org-publish.el (org-publish-index-generate-theindex):
12810 Create proper file target for index entries in subdirectories.
12812 2012-01-03 Bastien Guerry <bzg@gnu.org>
12814 * org-protocol.el (org-protocol-check-filename-for-protocol):
12815 Fix spelling mistake.
12817 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12819 * org-odt.el (org-export-odt-default-org-styles-alist):
12820 Add styles for title and subtitle.
12821 (org-odt-format-toc): New.
12822 (org-odt-format-preamble): New. Users can redefine this to
12823 customize what goes before the document body. Currently it
12824 outputs title, author and email, date and toc.
12825 (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12826 (org-odt-format-date): Rename from
12827 `org-odt-iso-date-from-org-timestamp'. Also added an
12828 additional param for format string.
12829 (org-odt-begin-annotation, org-odt-update-meta-file):
12830 Use `org-odt-format-date'.
12832 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12834 * ob-ref.el (org-babel-ref-split-args): Now uses
12835 `org-babel-balanced-split'.
12837 2012-01-03 Bastien Guerry <bzg@gnu.org>
12839 * org-html.el (org-export-html-preamble)
12840 (org-export-html-postamble): Fix docstrings.
12841 (org-export-as-html): Insert the string used by a custom
12842 function for `org-export-html-pre/postamble'.
12844 2012-01-03 Bastien Guerry <bzg@gnu.org>
12846 * org.el (org-block-regexp)
12847 (org-heading-keyword-regexp-format)
12848 (org-heading-keyword-maybe-regexp-format): Move up to keep the
12849 byte-compiler happy.
12851 2012-01-03 Dave Abrahams <dave@boostpro.com> (tiny change)
12853 * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12855 (org-agenda-tree-to-indirect-buffer): Use the new function.
12857 2012-01-03 Bastien Guerry <bzg@gnu.org>
12859 * org-html.el (org-export-as-html): Fix bug when inserting the
12860 output of a custom function for the pre/postamble.
12862 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12864 * org-odt.el (org-odt-format-source-code-or-example):
12865 Try loading htmlfontify safely.
12867 2012-01-03 Bastien Guerry <bzg@gnu.org>
12869 * org-odt.el (require): Require htmlfontify.el only if
12870 emacs-version is greater than 23.2.
12872 2012-01-03 Bastien Guerry <bzg@gnu.org>
12874 * org-faces.el (org-agenda-calendar-event)
12875 (org-agenda-calendar-sexp): Use the default face.
12877 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12879 * ob.el (org-babel-expand-noweb-references): Fix regexp.
12881 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
12883 * org.el (Key bindings): Remap the Outline functions from
12884 `outline-mode-prefix-map' where possible.
12886 2012-01-03 Christian Moe <mail@christianmoe.com> (tiny change)
12888 * org-html.el (org-export-as-html):
12889 Apply `org-export-html-get-todo-kwd-class-name' to the class
12890 attribute of the todo-keyword span tag, not to its text
12893 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
12895 * org-agenda.el (org-agenda-get-timestamps)
12896 (org-agenda-get-sexps): Use face for highlighting "calendar"
12899 2012-01-03 Peter Münster <pmlists@free.fr> (tiny change)
12901 * org.el (org-add-planning-info): Treat absolute time too.
12903 2012-01-03 Bastien Guerry <bzg@gnu.org>
12905 * org-table.el (org-table-transpose-table-at-point): Don't use
12908 2012-01-03 Dave Abrahams <dave@boostpro.com> (tiny change)
12910 * org-clock.el (org-clock-out-if-current): Check the clock
12911 buffer is existing.
12913 2012-01-03 Bernt Hansen <bernt@norang.ca>
12915 * org-clock.el (org-clock-out-if-current): Fix marker in no
12916 buffer error for task state change in an indirect buffer.
12918 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
12920 * org.el (org-offer-links-in-entry): Make list when assigning
12923 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12925 * ob.el (org-babel-expand-noweb-references): Rather than
12926 collect the info from *every* block in the current buffer,
12927 simply regexp search for those blocks which appear to match
12928 the continued source name.
12930 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12932 * ob.el (org-babel-insert-result): Do not examplize wrapped
12933 scalar results, simply wrap them.
12934 (org-babel-result-end): Find the end of results wrapped in a
12937 2012-01-03 Bastien Guerry <bzg@gnu.org>
12939 * org.el (org-todo-yesterday): When called from the agenda,
12940 use `org-agenda-todo-yesterday' instead.
12942 2012-01-03 Bastien Guerry <bzg@gnu.org>
12944 * org-table.el (org-table-transpose-table-at-point): New command.
12946 2012-01-03 Bastien Guerry <bzg@gnu.org>
12948 * org-html.el (org-export-html-headline-anchor-format):
12950 (org-html-level-start): Use the new option.
12952 2012-01-03 Rob Giardina <rob@giardina.us> (tiny change)
12954 * org-agenda.el (org-agenda-with-point-at-orig-entry):
12957 2012-01-03 Christian Moe <mail@christianmoe.com> (tiny change)
12959 * org-special-blocks.el
12960 (org-special-blocks-convert-html-special-cookies):
12961 Close paragraph before opening or closing the <div>, and open
12962 paragraph after. Also changed newline placement to be the same
12963 as for other blocks.
12965 2012-01-03 Roberto Huelga <rhuelga@gmail.com>
12967 * org-clock.el (org-program-exists): Make the function
12968 compatible with darwin systems.
12970 2012-01-03 David Maus <dmaus@ictsoc.de>
12972 * org-exp.el (org-export-normalize-links): Mark bracket links
12973 before normalization to avoid erroneous normalization of
12974 bracket link parts.
12976 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12978 * org-odt.el (org-odt-data-dir): Remove.
12979 (org-odt-styles-dir, org-export-odt-schema-dir):
12982 * org-odt.el, org-lparse.el: New files.
12984 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12986 * org-capture.el (org-capture-set-target-location): Set the
12987 capture default time also to the prompt time.
12989 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12991 * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
12992 and #+results lines during preprocess.
12994 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12996 * ob-picolisp.el (ob-comint): Required.
12997 (comint): Required.
12999 (run-picolisp): Declared.
13000 (org-babel-execute:picolisp): Capture free variable, and replace
13001 function from cl-extra with core function.
13003 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
13005 * ob-picolisp.el: New file.
13007 * org.el (org-babel-load-languages): Add Pico Lisp to the list
13008 of supported code block languages.
13010 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
13012 * org-bibtex.el (org-bibtex): Now catches bibtex errors and
13013 directs the user to the location of the error.
13015 2012-01-03 Bastien Guerry <bzg@gnu.org>
13017 * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
13019 2012-01-03 Bastien Guerry <bzg@gnu.org>
13021 * ob.el (org-babel-execute-src-block): Fix typo.
13023 2012-01-03 Bastien Guerry <bzg@gnu.org>
13025 * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
13027 2012-01-03 Bastien Guerry <bzg@gnu.org>
13029 * org.el (org-link-unescape, org-link-unescape-compound):
13030 Fix two typos in docstrings.
13032 2012-01-03 Thomas Dye <dk@poto.local>
13034 * ob-R.el: Added tikzDevice support.
13036 2012-01-03 David Maus <dmaus@ictsoc.de>
13038 * org.el (org-clone-subtree-with-time-shift): Remove clocking
13039 information and empty drawers when preparing a clone.
13041 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13043 * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
13044 `org-export-blocks-postblock-hook'.
13046 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13048 * ob.el (org-babel-hide-result-toggle): Skip over header
13049 argument lines when toggling named code block visibility.
13051 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13053 * org-exp.el (org-export-grab-title-from-buffer):
13054 Don't license to kill text inside blocks when getting a title.
13056 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13058 * ob.el (org-babel-confirm-evaluate): Adding support for new
13059 range of :eval header arguments.
13061 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13063 * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
13064 during export when eval is set to "non-export".
13066 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13068 * ob-ref.el (org-babel-update-intermediate): New custom
13070 (org-babel-ref-resolve): Optionally update the in-buffer results
13071 of code blocks which are evaluated to resolve references.
13073 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13075 * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
13076 split string when a character appears on either side of the
13078 (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
13080 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13082 * org.el (org-reduce): Add a less functional Org-mode copy of
13083 the cl reduce function.
13085 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13087 * org.el (org-fontify-meta-lines-and-blocks-1):
13088 Recognize "name" as a valid keyword that can preceed a block.
13090 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13092 * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
13093 in-verbatim check to inline code blocks, do lob code blocks as
13096 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13098 * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
13100 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13102 * ob.el (org-babel-named-src-block-regexp-for-name):
13103 Ensure that partial names are not matched.
13104 (org-babel-named-data-regexp-for-name): Ensure that partial names
13107 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13109 * ob-ref.el (org-babel-ref-resolve): Search for named code
13110 blocks before named data.
13112 * ob.el (org-babel-named-data-regexp-for-name): New function for
13113 finding named data.
13115 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13117 * ob.el (org-babel-insert-result): Gracefully handle results
13118 which are neither lists nor strings.
13120 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13122 * ob-ref.el (org-babel-ref-resolve): Don't change location when
13123 looking at the contents.
13125 2012-01-03 Milan Zamazal <pdm@zamazal.org>
13127 * org.el (org-set-outline-overlay-data):
13128 Use outline-flag-region to make a region invisible. This ensures
13129 all necessary actions, especially adding
13130 isearch-open-invisible property, are applied.
13132 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13134 * ob-lob.el (org-babel-in-example-or-verbatim):
13135 Fix compilation warning.
13137 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13139 * ob.el (org-babel-find-named-result): Downcase "name" before
13142 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13144 * ob-lisp.el (org-babel-execute:lisp): Fix typo.
13145 (org-babel-lisp-vector-to-list): Fix typo.
13147 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13149 * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
13150 execution contexts (e.g., call lines) look like commented
13153 * ob.el (org-babel-get-src-block-info): Empty match string doesn't
13155 (org-babel-process-params): Always process parameters, even if
13156 you don't to table splitting.
13158 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13160 * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
13162 * ob-lob.el (org-babel-block-lob-one-liner-regexp):
13163 Update regular expression.
13164 (org-babel-inline-lob-one-liner-regexp): Update regular
13167 * ob-ref.el (org-babel-ref-resolve): Notice when something that
13168 looks like a data results may actually be a code block.
13170 * ob-table.el: Updated documentation.
13172 * ob.el (org-babel-src-name-regexp): Simplify regexp.
13173 (org-babel-get-src-block-info): Update match strings.
13174 (org-babel-data-names): Simplify acceptable names.
13175 (org-babel-find-named-block): Indentation.
13176 (org-babel-find-named-result): Update to not return a code block
13179 * org.el (org-fontify-meta-lines-and-blocks-1):
13180 Removing references to old syntactic elements.
13181 (org-additional-option-like-keywords): Removing references to
13182 old syntactic elements.
13184 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13186 * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
13187 and `buffer-substring'.
13189 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13191 * org-agenda.el (org-agenda-get-todos): Prevent an error when
13192 encountering tasks with only the TODO keyword.
13194 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13196 * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
13197 environment when at an item or an headline, but allow LaTeX
13199 (org-cycle): Try to call `cdlatex-tab' before cycling item's or
13200 headline's visibility, in order to catch LaTeX fragments within.
13202 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13204 * org-exp-blocks.el (org-export-blocks-preprocess): Require a
13205 newline and spaces before a code block.
13207 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13209 * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
13210 over all call lines in a buffer.
13212 * ob.el (org-babel-execute-buffer): Execute call lines when
13213 executing an entire buffer.
13215 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13217 * ob.el (org-babel-process-params): Don't disassemble tables
13220 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13222 * org-clock.el (org-clock-in, org-clock-find-position): Make space
13223 after date optional.
13225 * org.el (org-set-regexps-and-options)
13226 (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
13227 (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
13229 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13231 * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
13232 inside a verbatim block.
13234 * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
13237 2012-01-03 Litvinov Sergey <slitvinov@gmail.com>
13239 * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
13240 (org-babel-maxima-expand): Add input variables and graphic output.
13241 (org-babel-execute:maxima): Add input variables and graphic output.
13242 (org-babel-maxima-var-to-maxima): Add input variables and graphic
13244 (org-babel-maxima-graphical-output-file): Add input variables and
13246 (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
13249 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13251 * ob-fortran.el: New file. Adding support for Fortran code blocks.
13252 * org.el (org-babel-load-languages): Adding fortran to this list.
13254 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13256 * org-footnote.el (org-footnote-new): Cannot insert an inline
13257 footnote at beginning of line anymore.
13258 (org-footnote-at-reference-p): Don't recognize inline footnotes at
13261 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13263 * org.el (org-set-font-lock-defaults): Fix small error in matching
13264 group that prevented fontification of keywords like
13265 org-comment-string and stars in headlines.
13267 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13269 * org.el (org-catch-invisible-edits): New option.
13270 (org-self-insert-command, org-delete-backward-char)
13271 (org-delete-char): Call `org-check-before-invisible-edit'.
13272 (org-check-before-invisible-edit): New function.
13274 2012-01-03 Suvayu Ali <fatkasuvayu+linux@gmail.com>
13276 * org-exp.el (org-solidify-link-text): Respect
13277 org-export-with-tags when forming the export title during subtree
13280 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13282 * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
13283 (org-heading-keyword-maybe-regexp-format): Globalize variables so
13284 they are accessible even in buffers not in Org mode.
13286 2012-01-03 David Maus <dmaus@ictsoc.de>
13288 * org.el (org-insert-link): Don't use default-description if a
13289 `org-make-link-description-function' is defined.
13291 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13293 * org.el (org-set-regexps-and-options): Use property blocks for
13294 multi-line properties.
13296 2012-01-03 Bastien Guerry <bzg@gnu.org>
13298 * org.el (org-self-insert-command): Don't throw an error when
13299 editing takes place at the first point of the buffer.
13301 2012-01-03 Bastien Guerry <bzg@gnu.org>
13303 * org.el (org-self-insert-command): Unfold invisible region at
13304 point or right before point when editing.
13306 2012-01-03 Bastien Guerry <bzg@gnu.org>
13308 * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
13311 2012-01-03 Bastien Guerry <bzg@gnu.org>
13313 * org-html.el (org-html-expand): Prevent a nil value for STRING to
13314 return an error, just return nil.
13316 2012-01-03 Bastien Guerry <bzg@gnu.org>
13318 * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
13319 character in the #+LaTeX_CLASS option.
13321 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13323 * org-footnote.el (org-footnote-at-reference-p)
13324 (org-footnote-at-definition-p): Don't store text-properties of
13325 footnote definitions.
13327 2012-01-03 Bastien Guerry <bzg@gnu.org>
13329 * org-html.el (org-export-as-html): Convert special characters in
13330 meta tag "author", "date", "keyword" and "description".
13332 2012-01-03 Bastien Guerry <bzg@gnu.org>
13334 * org-capture.el (org-capture-before-finalize-hook): Docstring
13335 improvement: mention that the buffer is widened when this hook is
13338 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
13340 * org-html.el (org-export-as-html): Make sure the div for preamble
13341 is not inserted when the preamble is empty.
13343 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
13345 * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
13346 for filtering (shown in the mode-line).
13348 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13350 * ob.el (org-babel-parse-multiple-vars): Trimming excess white
13351 space from split variables.
13353 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13355 * org.el (org-link-search): Add an optional argument preventing
13356 function from revealing context around match.
13358 2012-01-03 Bastien Guerry <bzg@gnu.org>
13360 * org-agenda.el (calendar-check-holidays): Declare function.
13362 2012-01-03 Bastien Guerry <bzg@gnu.org>
13364 * org.el (org-return): Fix bug when matching the face property
13365 before following a link.
13367 2012-01-03 Matt Lundin <mdl@imapmail.org>
13369 * org-agenda.el (org-class): Fix holidays symbol in org-class.
13370 This was resulting in an "Bad sexp..." warning.
13372 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13374 * org.el (org-scan-tags): Also remember
13375 `org-complex-heading-regexp' in a property.
13377 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13379 * org-latex.el (org-export-as-latex): Turn off auto-insert and set
13380 TeX-master to t when creating new TeX buffers.
13382 * org-docbook.el (org-export-as-docbook): Turn off auto-insert
13383 when creating new buffers.
13385 * org-html.el (org-export-as-html): Turn off auto-insert
13386 when creating new buffers.
13388 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13390 * org-table.el (org-table-formula-handle-first/last-rc): Do not
13391 expand pointers to first/last row/column that are inside a call to
13393 (org-table-get-remote-range): Expand pointers to first/last
13396 2012-01-03 Michael Sperber <sperber@deinprogramm.de> (tiny change)
13398 * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
13399 compatibility issue when creating an indirect buffer.
13401 2012-01-03 Christophe Rhodes <csr21@cantab.net>
13403 * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
13404 the same way than LATEX_CLASS.
13406 2012-01-03 Bastien Guerry <bzg@gnu.org>
13408 * org.el (org-return): Check the presence of the 'org-link face
13409 even in contexts where there is more than one face.
13411 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13413 * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
13414 argument names which should be inherited.
13416 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13418 * org.el (org-in-block-p): Return matched name of block, if any.
13419 It can be useful when a list of block names is provided as
13422 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13424 * org-docbook.el (org-export-as-docbook): Fix regexp.
13426 * org-html.el (org-export-as-html): Fix regexp.
13428 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13430 * org-agenda.el (org-class): Allow holidays to be skipped.
13432 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13434 * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
13436 2012-01-03 Peter Münster <pmrb@free.fr> (tiny change)
13438 * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
13439 strings before calling `string-match'.
13441 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13443 * org-footnote.el (org-footnote-at-reference-p)
13444 (org-footnote-at-definition-p): Remove text-properties from label.
13446 2012-01-03 Bastien Guerry <bzg@gnu.org>
13448 * org-html.el (org-export-as-html): Add a "title" meta tag.
13450 2012-01-03 Bastien Guerry <bzg@gnu.org>
13452 * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
13453 entries to pass to `org-agenda-get-day-entries' and allow to
13454 filter out entries using a function.
13456 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13458 * org-agenda.el: Fix small display bug.
13460 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13462 * org.el (org-set-regexps-and-options): Fix small bug introduced
13463 by commit dfcb6faef11a2439b56b18a6289803361d402130.
13465 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13467 * org-agenda.el (org-search-view): Simplify regexp.
13468 (org-agenda-get-todos): Use new format string.
13470 * org-archive.el (org-archive-all-done): Simplify regexp.
13472 * org-ascii.el (org-export-as-ascii): More accurate regexp.
13474 * org-colview.el (org-columns-capture-view): Use new format string
13477 * org-docbook.el (org-export-as-docbook): More accurate
13478 regexp. Also use new regexp to match generic headlines.
13480 * org-exp.el (org-export-protect-quoted-subtrees): More accurate
13481 regexp. Also use new regexp to match generic headlines.
13483 * org-html.el (org-export-as-html): More accurate regexp.
13484 Also use new regexp to match generic headlines.
13486 * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
13487 and now erroneous function.
13489 * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
13491 (org-set-regexps-and-options): Create regexps according to the
13492 following rule: use spaces only to separate elements from an headline,
13493 while allowing mixed tabs and spaces for any indentation job.
13494 (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
13495 (org-set-font-lock-defaults): Fontify again headlines with a keyword
13496 and no other text. Use new format strings.
13497 (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
13498 (org-toggle-fixed-width-section): Use new format string.
13499 (org-todo): More accurate regexps.
13500 (org-point-at-end-of-empty-headline): Simplify regexp.
13501 (org-insert-heading): Headline can sometimes be nil.
13503 2012-01-03 David Maus <dmaus@ictsoc.de>
13505 * org-agenda.el (org-agenda-bulk-action): Bind
13506 `org-loop-over-headlines-in-active-region' to nil to avoid conflict
13509 2012-01-03 David Maus <dmaus@ictsoc.de>
13511 * org.el (org-deadline, org-schedule): Skip invisible headlines when
13512 mapping over headlines in active region.
13514 2012-01-03 David Maus <dmaus@ictsoc.de>
13516 * org.el (org-loop-over-headlines-in-active-region):
13517 New customization variable. Loop over headlines in active region.
13518 (org-schedule, org-deadline): Apply to headlines in region depending
13519 on new customization variable.
13521 2012-01-03 David Maus <dmaus@ictsoc.de>
13523 * org.el (org-map-entries): Immediately return if scope is 'region
13524 but no region is active.
13526 2012-01-03 David Maus <dmaus@ictsoc.de>
13528 * org.el (org-map-entries): Extend scope 'region to include entire
13529 body of last headline in active region.
13531 2012-01-03 Bastien Guerry <bzg@gnu.org>
13533 * org-src.el (org-edit-src-code): Fix typo-bug.
13535 2012-01-03 Bastien Guerry <bzg@gnu.org>
13537 * org.el (org-format-agenda-item, org-scan-tags):
13538 Rename `org-format-agenda-item' to `org-agenda-format-item'.
13540 2012-01-03 Bastien Guerry <bzg@gnu.org>
13542 * org-agenda.el: Replace `category-pos' by `org-category-pos' to
13543 silent byte-compiler.
13545 2012-01-03 Bastien Guerry <bzg@gnu.org>
13547 * org.el: Declare external function `cdlatex-compute-tables'.
13549 2012-01-03 Bastien Guerry <bzg@gnu.org>
13551 * org-latex.el (org-export-latex-set-initial-vars): Fix problem
13552 when matching #+LaTeX_CLASS.
13554 2012-01-03 Rafael Laboissiere <rafael@laboissiere.net> (tiny change)
13556 * org.el (org-link-search-must-match-exact-headline): Fix typos.
13558 2012-01-03 Bastien Guerry <bzg@gnu.org>
13560 * org-latex.el (org-export-latex-make-header): Add some hyperref
13563 2012-01-03 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
13565 * org-publish.el (org-publish-file): Add 'eval'ing the value of
13566 the :publishing-directory property before using it as destination
13567 of the publishing project. This allows to construct the publish
13568 destination directory dynamically at run-time using the return
13569 value of a function.
13571 2012-01-03 Bastien Guerry <bzg@gnu.org>
13573 * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
13575 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13577 * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
13579 (org-agenda-date-later): Improve the logical structure.
13581 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13583 * ob-calc.el (featurep): Require calc-store.
13585 * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
13588 * org-compat.el (fboundp): Support for XEmacs.
13590 * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
13592 * org-footnote.el (org-footnote-re): Optimize macro processing.
13594 * org.el (org-set-autofill-regexps): Xemacs compatibility.
13596 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13598 * ob.el (org-babel-balanced-split): Balance both [] and ()
13600 (org-babel-parse-header-arguments): Be sure to replace removed ":"
13603 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13605 * ob.el (org-babel-parse-header-arguments): Quick fix for a
13608 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13610 * ob.el (org-babel-params-from-properties): Now splits
13611 multiple var arguments behind a single ":var".
13612 (org-babel-balanced-split): Separated balanced splitting of
13613 strings out into a new function.
13614 (org-babel-parse-multiple-vars): Splits multiple var arguments
13615 behind a single ":var".
13617 2012-01-03 Bastien Guerry <bzg@gnu.org>
13619 * org.el: Remap `outline-promote' and `outline-demote' keys to
13620 `org-promote-subtree' and `org-demote-subtree'.
13622 2012-01-03 Leo Liu <sdl.web@gmail.com>
13624 * org-agenda.el (org-agenda-do-context-action): Check if marker is
13627 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13629 * org-agenda.el (org-agenda-date-later): Fix shifting of date
13632 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13634 * ob.el: Removing `org-babel-params-from-buffer' and
13635 #+PROPERTIES: entirely.
13637 * ob-exp.el (org-babel-exp-src-block):
13638 Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13640 * ob-lob.el (org-babel-lob-execute):
13641 Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13643 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13645 * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13646 lines in favor of general #+PROPERTIES: lines.
13648 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13650 * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13653 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13655 * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13656 update the internal cdlatex tables.
13658 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13660 * ob-sql.el (org-babel-execute:sql): Respect literal-results
13663 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13665 * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13666 code block colname and rowname handling.
13668 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13670 * org-publish.el (org-publish-cache-file-needs-publishing):
13671 Fix regexp to not inlcude newlines.
13673 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13675 * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13678 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13680 * org.el (org-fontify-entities): Match entities before
13681 numbers, as in `\sim2'.
13683 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13685 * org-agenda.el (org-agenda-date-later): Make pushing forward
13686 a past date to jump immedialtely to today.
13688 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13690 * org-exp.el (org-store-forced-table-alignment): Parse the
13691 column cookie for both alignment and width
13692 specification. Store the resulting value in `org-col-cookies'
13693 property. Retire the previously used `org-forced-aligns'
13694 property for consistency. Renamed local variable `aligns' to
13697 * org-html.el (org-format-org-table-html):
13698 Use `org-col-cookies'. Renamed local variable forced-aligns to
13701 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13703 * org.el (org-latex-to-mathml-jar-file)
13704 (org-latex-to-mathml-convert-command): New user-customizable
13706 (org-format-latex-mathml-available-p, org-create-math-formula)
13707 (org-format-latex-as-mathml): New functions.
13708 (org-format-latex): Add a new local variable block-type that notes
13709 the nature of the equation - inline or display. Associate it's
13710 value to `org-latex-src-embed-type' property of dvipng links.
13711 Add mathml as new processing type.
13713 2012-01-03 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
13715 * org.el (org-refile): Add tree name to prompt.
13717 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13719 * org-latex.el (org-export-latex-tables):
13720 Honor `org-export-latex-table-caption-above'
13721 (org-export-latex-table-caption-above): New option.
13723 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13725 * ob.el (org-babel-insert-header-arg): Now including language
13726 specific header arg values in insertion options.
13728 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13730 * ob.el (org-babel-insert-header-arg): Fix typo.
13732 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
13734 * org-exp.el (org-export-number-lines): Modify. Add a new
13735 parameter `preprocess' and use this for backend-agnostic
13736 handling of literal examples.
13738 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13740 * org.el (org-match-substring-regexp)
13741 (org-match-substring-with-braces-regexp): Allow subscripts and
13742 superscripts to start at beginning of line.
13744 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13746 * ob.el (org-babel-common-header-args-w-values): New variable to
13747 hold common header arguments and their default values.
13748 (org-babel-header-arg-names): Redefined using the new common
13749 header arg variable.
13750 (org-babel-insert-header-arg): New function to help when inserting
13753 2012-01-03 David Maus <dmaus@ictsoc.de>
13755 * org-html.el (org-html-handle-links): Remove unnecessary
13756 protection markers when publishing link in default format.
13758 2012-01-03 Pieter Praet <pieter@praet.org> (tiny change)
13760 * org-crypt.el (org-crypt-check-auto-save): New function, see
13763 * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13764 check out into a separate function, and call it at a later
13765 point, to assure it only runs when visiting an encrypted
13768 2012-01-03 John J Foerch <jjfoerch@earthlink.net> (tiny change)
13770 * org.el (org-log-note-headings): Document new %d and %D
13772 (org-store-log-note): Implement new %d and %D escapes.
13774 2012-01-03 Dave Abrahams <dave@boostpro.com>
13776 * org-agenda.el (org-agenda-follow-indirect): New option.
13777 (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13779 (org-agenda-do-context-action): Also do indirect follow mode
13782 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13784 * ob-table.el (sbe): Fix typo in new sbe specification.
13786 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13788 * ob-table.el (sbe): If first variable is a string and not a
13789 cons cell, then interpret it as a string of header arguments
13790 to be passed to the code block.
13792 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13794 * ob-shen.el (shen-eval-defun): Declare external function.
13795 (org-babel-execute:shen): Move requirement of inf-shen into
13796 the function in which it is used to fix build error.
13798 * ob-shen.el: New file.
13800 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13802 * org.el (org-open-at-point): Make `org-open-at-point' only
13803 ask once about creating a new headline.
13805 2012-01-03 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13807 * org.el (org-refile-targets): Elaborated the documentation of
13808 the variable as suggested by Dave Abrahams.
13810 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13812 * org.el (org-align-tags-here): Allow tags to be placed right
13814 (org-tags-column): Document the meaning of tags column 0.
13816 2012-01-03 Niels Giesen <niels.giesen@gmail.com>
13818 * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13819 in agenda if start day is same as end day.
13821 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13823 * org.el (org-refile-get-location): Ignore errors when
13824 collection heading to be excluded.
13826 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13828 * org-special-blocks.el
13829 (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13830 strict problems by not enclosing special blocks in paragraph tags.
13832 2012-01-03 Bernt Hansen <bernt@norang.ca>
13834 * org-html.el (org-export-as-html): Check string-match
13836 (org-html-handle-time-stamps): Check string-match argument.
13838 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13841 (org-agenda-skip-additional-timestamps-same-entry):
13842 Change default value.
13844 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13846 * org.el (org-time-string-to-time):
13847 (org-time-string-to-absolute): Add optional arguments BUFFER and
13848 POS for error reporting.
13850 * org-agenda.el (org-get-all-dates):
13851 (org-agenda-get-timestamps, org-agenda-get-deadlines)
13852 (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13853 stamp parsing functions with information on where the
13854 timestamp was taken from.
13856 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13858 * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13859 after `show-all' in indirect buffer.
13861 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13863 * org-list.el (org-list-parents-alist): When no parent is found
13864 for an item, set it as the closest less indented item above.
13865 If none is found, make it a top level item.
13866 (org-list-write-struct): Externalize code.
13867 (org-list-struct-fix-item-end): New function.
13868 (org-list-struct): Remove a now useless fix.
13870 * org.el (org-ctrl-c-ctrl-c): Use new function.
13872 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13874 * org.el (org-end-of-line): When on an item, move point at the
13875 end of the line, but before any hidden text. Thus, it's still
13876 possible to use commands, like `C-c C-c', acting at
13877 items. This is still disabled if `org-special-ctrl-a/e'
13880 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13882 * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13884 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13886 * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13889 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13891 * org-footnote.el (org-footnote-at-definition-p):
13892 Remove useless `org-re'.
13894 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13896 * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13897 is at a real footnote reference or definition before
13900 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13902 * org-footnote.el (org-footnote-goto-definition): This patch
13903 makes sure the function says when a definition has been
13904 found. Thus, moving from the reference to the definition
13905 doesn't offer to create the latter again.
13907 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13909 * org-footnote.el (org-footnote-create-definition):
13910 Explicitly move point after tag, if it has just been
13913 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13915 * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13916 names on Windows systems.
13918 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13920 * org-footnote.el (org-footnote-create-definition): When the
13921 tag is missing, it is created before any existing footnote, or
13922 at end of buffer. In the latter case, the marker pointing at
13923 the position where the new footnote is going to be inserted
13924 (at end of buffer) stays before the tag. This patch makes
13925 sure that the marker will be kept after the tag.
13927 2012-01-03 Eli Zaretskii <eliz@gnu.org>
13929 * org.el (org-mode): Force left-to-right paragraphs in Org
13930 buffers. For a related discussions, see
13931 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13933 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13935 * ob-asymptote.el (org-babel-asymptote-define-type):
13936 Silence byte-compiler.
13938 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13940 * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13943 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13945 * org-bibtex.el (org-bibtex-type-property-name):
13946 Configurable property name for bibtex entry types.
13947 (org-bibtex-headline): Use new configurable property name.
13948 (org-bibtex-check): Use new configurable property name.
13949 (org-bibtex-create): Use new configurable property name.
13950 (org-bibtex-write): Use new configurable property name.
13952 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13954 * org.el (org-paste-subtree): Remove unnecessary `concat'.
13956 2012-01-03 Bastien Guerry <bzg@gnu.org>
13958 * org.el (org-paste-subtree): Remove useless (concat ...).
13960 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13962 * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13963 characterp with integerp (which should work w/Emacs22).
13965 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13967 * org-footnote.el (org-footnote-at-definition-p): Context must
13968 be valid at the beginning of line, not at point.
13970 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13972 * ob-tangle.el (org-babel-tangle-collect-blocks):
13973 Better delimiting of Org-mode text preceding a code block.
13975 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13977 * ob.el (org-babel-get-src-block-info): Fixing bug,
13978 accidentally deleted variable values.
13980 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13982 * ob-tangle.el (org-babel-process-comment-text):
13983 Customizable function to process comment text.
13984 (org-babel-tangle-collect-blocks): Make use of new
13985 customizable processing function.
13986 (org-babel-spec-to-string): Call customizable function rather than
13989 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13991 * ob-R.el (org-babel-execute:R): Collect and pass along the
13993 (org-babel-R-evaluate): Accept result-params and if "scalar" or
13994 "verbatim" don't process output.
13995 (org-babel-R-evaluate-session): Accept result-params and if
13996 "scalar" or "verbatim" don't process output.
13998 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14000 * ob.el (org-babel-merge-params): Differentiate between result
14001 types and wrappers.
14003 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14005 * ob.el (org-babel-get-src-block-info): Check that
14006 functional-syntax variables are initialized.
14008 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14010 * ob.el (org-babel-check-src-block): Adding a note for a
14011 future enhancement.
14013 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
14015 * org-exp.el (org-export): Restore point when exporting a subtree.
14017 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14019 * ob.el (org-babel-parse-src-block-match): More robust to code
14020 blocks with empty bodies.
14022 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14024 * ob.el (org-babel-parse-src-block-match): Don't error on empty
14027 2012-01-03 David Maus <dmaus@ictsoc.de>
14029 * org.el (org-open-at-point): Unescape plain link.
14031 2012-01-03 David Maus <dmaus@ictsoc.de>
14033 * org-html.el (org-html-handle-links): Remove unnecessary link
14036 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14038 * ob.el (org-babel-merge-params): Better error message for
14039 unassigned variables.
14041 2012-01-03 Christian Egli <christian.egli@alumni.ethz.ch>
14043 * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
14044 buffer local variables to the temporary buffer before
14047 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14049 * org-exp.el (org-export-select-backend-specific-text):
14050 Only remove commas on the front line of a code block.
14052 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14054 * ob.el (org-babel-demarcate-block): Copy headers and indent to
14055 column of point when a block is split.
14057 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14059 * ob.el (org-babel-insert-result): Corrected file insertion
14060 for inline results.
14062 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14064 * org-footnote.el (org-footnote-in-valid-context-p):
14065 No footnote in latex fragments.
14067 2012-01-03 Martin Rudalics <rudalics@gmx.at>
14069 * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14070 argument from `pop-to-buffer-same-window' call.
14072 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14074 * ob-R.el (org-babel-R-evaluate-session): Improve prompt
14077 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14079 * org-inlinetask.el (org-inlinetask-goto-end):
14082 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14084 * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14086 (org-babel-asymptote-table-to-array): Remove function.
14088 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14090 * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14091 recognize non-nested lists as uni-dimensional arrays.
14093 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14095 * ob.el (org-babel-params-from-properties): Don't check for
14096 header arguments in properties with leading ":"s.
14098 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14100 * org-inlinetask.el (org-inlinetask-goto-end):
14101 Correctly detect the end of an inlinetask when the next one starts
14102 immediately after the current one. Also, return position of
14105 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14107 * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
14110 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14112 * ob-asymptote.el (org-babel-asymptote-define-type):
14113 Elisp floats are asymptote reals.
14115 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14117 * ob-asymptote.el (org-babel-asymptote-table-to-array):
14118 Require a new argument TYPE specifying the detected type of
14119 array. If it's a string array, make sure every element is
14120 returned as a string. Also improve doc-string.
14121 (org-babel-asymptote-var-to-asymptote): Fill new argument.
14123 (org-babel-asymptote-define-type): Rewrite to avoid stopping
14124 search at first float found, as strings have precedence over
14127 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14129 * org-footnote.el (org-footnote-normalize): Be sure to separate
14130 the last footnote definition from the rest of the buffer.
14132 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14134 * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
14137 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14139 * org.el (org-latex-regexps): Allow matching latex fragments
14140 of type "$" and "$1" at beginning of line.
14142 2012-01-03 Bastien Guerry <bzg@gnu.org>
14144 * org-agenda.el (org-search-view, org-agenda-get-todos)
14145 (org-agenda-get-deadlines, org-agenda-get-scheduled):
14146 Add `category-pos' in let construct.
14148 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14150 * org-footnote.el (org-footnote-get-definition): The function has
14151 to widen buffer if definition has not been found in the current
14152 narrowed part. Be sure to restore that restriction once the
14153 definition is found.
14155 2012-01-03 Michal Sojka <sojka@os.inf.tu-dresden.de> (tiny change)
14157 * org-icalendar.el (org-print-icalendar-entries): Make alarm
14158 duration RFC5545 compliant.
14160 2012-01-03 Bastien Guerry <bzg@gnu.org>
14162 * org-agenda.el (org-agenda-get-timestamps)
14163 (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
14164 the `org-category-pos' property.
14166 2012-01-03 Bastien Guerry <bzg@gnu.org>
14168 * org-html.el (org-export-html-divs): Improve docstring.
14170 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
14172 * org-table.el (org-table-fix-formulas): Throw error when
14173 changing formula leads to an invalid formula.
14175 2012-01-03 Bastien Guerry <bzg@gnu.org>
14177 * org.el (org-archive-location): Minor docstring fix.
14179 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14181 * org.el (org-block-todo-from-checkboxes):
14182 `org-list-search-forward' should be used when looking for an
14183 item, as it filters out contexts where match couldn't be in a
14184 list. Also use a correct item regexp, taking into account
14185 alphabetical ordered lists and counters.
14187 2012-01-03 Bastien Guerry <bzg@gnu.org>
14189 * org-html.el (org-html-make-link): Minor fix to the
14192 2012-01-03 Suvayu Ali <fatkasuvayu+linux@gmail.com> (tiny change)
14194 * org-inlinetask.el (org-inlinetask): New customizable face
14197 2012-01-03 Bastien Guerry <bzg@gnu.org>
14199 * org-agenda.el (org-agenda-get-todos): Properly set
14202 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14204 * org-list.el (org-list-struct-apply-struct): Don't use
14205 (copy-marker (point)) instead of (point-marker).
14207 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14209 * ob.el (org-babel-where-is-src-block-result): Don't try to
14210 resolve variables when simply checking if we're inside of a
14213 2012-01-03 Bastien Guerry <bzg@gnu.org>
14215 * org.el (org-refresh-category-properties): New text property
14216 'org-category-position to point at the beginning of the
14217 headline from which the category is set.
14219 2012-01-03 Matt Lundin <mdl@imapmail.org>
14221 * org.el (org-refile): Don't call `org-back-to-heading' with
14224 2012-01-03 Bastien Guerry <bzg@gnu.org>
14226 * org.el (org-link-display-descriptive): Remove this option and
14227 rely on the existing `org-descriptive-links' instead.
14228 (org-toggle-link-display): Use `org-descriptive-links'.
14230 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14232 * ob-ref.el (org-babel-ref-resolve): Allow matching of results
14233 with tags after the result name.
14235 2012-01-03 Bastien Guerry <bzg@gnu.org>
14237 * org-table.el (org-table-get-specials): Allow the use of the
14238 underscore character in column names.
14239 (org-table-get-specials): Allow the use of the underscore
14240 character in field names.
14242 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14244 * org-exp-blocks.el (org-export-blocks-preprocess):
14245 Explicitly cleaning up markers.
14247 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14249 * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
14250 around `org-babel-exp-do-export' which now searches in this case.
14251 (org-babel-exp-results): Position the point in the inline source
14252 block during export evaluation.
14254 * ob.el (org-babel-insert-result): More readable code.
14256 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14258 * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
14259 in function rather than the superfluous (and now removed)
14260 org-specific function.
14262 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14264 * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
14265 inline code blocks which are already escaped.
14267 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14269 * org-exp-blocks.el (org-marker-from-point): Helper function to
14270 create markers at specific points in source buffers.
14271 (org-export-blocks-preprocess): Use markers instead of points
14272 to delimit code blocks.
14274 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14276 * org-list.el (org-list-separating-blank-lines-number):
14277 The behavior of `org-back-over-empty-lines' depends on the
14278 associated value of `headline' in
14279 `org-blank-before-new-entry', which is out of context in a
14282 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14284 * org-indent.el (org-indent-initialize-agent): When the current
14285 buffer isn't being watched, resume initialization of other watched
14286 buffers. In that case, give hand to others idle timers or
14287 processes more frequently.
14288 (org-indent-agent-active-delay): Rename from
14289 `org-indent-agent-process-duration'.
14290 (org-indent-agent-passive-delay): New variable.
14291 (org-indent-agent-resume-delay): Change value.
14292 (org-indent-initialize-buffer): Change argument name.
14293 (org-indent-add-properties): Change argument name and type
14294 expected. It must be a time value now.
14296 2012-01-03 Bastien Guerry <bzg@gnu.org>
14298 * org.el (org-set-property): Bugfix.
14300 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14302 * ob.el (org-babel-remove-result): Idempotent code block
14303 evaluation and result removal.
14305 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14307 * ob-ruby.el (org-babel-ruby-initiate-session): No longer
14308 require inf-ruby when no session evaluation takes place.
14310 2012-01-03 Bastien Guerry <bzg@gnu.org>
14312 * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
14315 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
14317 * org-agenda.el (org-agenda-custom-commands): Set a default
14318 value for this command.
14320 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
14322 * org-agenda.el (org-agenda-include-all-todo): Declare this option
14323 as no longer working.
14324 (org-timeline): Rename the include-all argument to dotodo.
14325 (org-arg-loc): Rename from` org-include-all-loc'.
14326 (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
14327 because its function has changed.
14329 2012-01-03 Bastien Guerry <bzg@gnu.org>
14331 * org.el (org-fixup-indentation): Fix various small bugs.
14333 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14335 * org-indent.el (org-indent-agent-timer)
14336 (org-indent-agentized-buffers, org-indent-agent-resume-timer)
14337 (org-indent-agent-process-duration)
14338 (org-indent-agent-resume-delay): New variables.
14339 (org-indent-initial-marker): More accurate doc-string.
14340 (org-indent-initial-timer, org-indent-initial-resume-timer)
14341 (org-indent-initial-process-duration)
14342 (org-indent-initial-resume-delay)
14343 (org-indent-initial-lock): Remove variables.
14344 (org-indent-mode): Set up an agent to watch current buffer, or
14345 add it to the list of already watched buffers.
14346 (org-indent-initialize-agent): New function.
14347 (org-indent-initialize-buffer): Now requires a mandatory
14349 (org-indent-add-properties): Reflect changes to variables.
14350 The resume timer is now global.
14352 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14354 * org-footnote.el (org-footnote-normalize): Refactor, and fix
14355 some blank lines deletion.
14357 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14359 * org-indent.el (org-indent-mode):
14360 `org-indent-initial-resume-timer ' needs to be local.
14362 2012-01-03 Bastien Guerry <bzg@gnu.org>
14364 * org.el (org-fixup-indentation): Correctly indent meta lines.
14366 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14368 * org-indent.el (org-indent-set-line-properties): Add text
14369 properties down to the beginning of the next line.
14370 (org-indent-add-properties): When last position to add
14371 properties to is at the beginning of a line, all that line
14372 will have properties.
14374 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14376 * org-indent.el (org-indent-initial-resume-timer): New variable.
14377 (org-indent-initialize-buffer): Also resume after a small break.
14378 (org-indent-add-properties): When in asynchronous mode,
14379 proceed for 2 seconds, then take a break.
14381 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14383 * org-indent.el (org-indent-set-line-properties): New function.
14384 (org-indent-add-properties): Externalize worker function.
14386 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14388 * org-indent.el (org-indent-indent-buffer): Take into account
14391 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14393 * org-indent.el (org-indent-modified-headline-flag): Rename from
14394 `org-indent-deleted-headline-flag'
14395 (org-indent-notify-modified-headline): Rename from
14396 `org-indent-notify-deleted-headline'. Handle situations when
14397 the stars of an headline are modified.
14398 (org-indent-refresh-maybe): Remove case now handled by
14400 (org-indent-mode): Apply renames.
14402 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14404 * org-indent.el (org-indent-inlinetask-first-star):
14406 (org-indent-add-properties): Set the first star of inline-tasks'
14407 virtual indentation in `org-warning' face.
14409 * org-inlinetask.el (org-inlinetask-insert-task): Create a new
14410 inline-task slightly differently, so virtual indentation can
14411 be applied normally.
14413 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14415 * org-indent.el (org-indent-initial-marker)
14416 (org-indent-initial-timer, org-indent-initial-lock):
14418 (org-indent-mode): At initialization, start an idle timer to indent
14419 the whole buffer. When the user is asking for control, interrupt the
14420 process, and resume at the same point when idle again.
14421 (org-indent-initialize-buffer): New function.
14422 (org-indent-add-properties): Throw an interrupt when indentation of
14423 buffer is stopped during initialization.
14425 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14427 * org-indent.el (org-indent-indent-buffer): Send more
14428 appropriate messages.
14430 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14432 * org-indent.el (org-indent-notify-deleted-headline)
14433 (org-indent-refresh-maybe): Replace `org-indent-outline-re'
14434 with `org-outline-regexp-bol'.
14436 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14438 * org-indent.el (org-indent-max-levels): Modify default value and
14440 (org-indent-add-properties): Pay attention to `org-indent-max'
14441 and `org-indent-max-levels' values.
14442 (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
14445 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14447 * org-table.el (org-table-align): Remove now useless hack.
14449 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14451 * org-indent.el (org-indent-fix-section-after-idle-time):
14453 (org-indent-initialize): Remove timer.
14454 (org-indent-add-properties): Refactor code.
14455 (org-indent-refresh-subtree, org-indent-refresh-section)
14456 (org-indent-refresh-buffer, org-indent-set-initial-properties):
14458 (org-indent-deleted-headline): New variable.
14459 (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
14461 (org-indent-mode): Insert new functions into a hook.
14463 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14465 * org-indent.el (org-indent-mode): Completely refresh buffer
14466 before starting org-indent-mode. Also set idle timer to refresh
14467 only visible portion of buffer, and refresh the subtree instead of
14468 section when promoting or demoting it.
14469 (org-indent-add-properties): Rewrite function to proceed line by
14470 line, as required by `wrap-prefix' specificity.
14471 (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
14472 (org-indent-refresh-view): New function.
14473 (org-indent-refresh-to, org-indent-refresh-section):
14476 * org.el (org-unfontify-region): Do not remove prefix
14477 properties when unfontifying a region.
14479 2012-01-03 Bastien Guerry <bzg@gnu.org>
14481 * org-colview.el (org-columns-cleanup-item): Correctly remove
14482 leading stars in items displayed in the agenda column view.
14484 2012-01-03 Bastien Guerry <bzg@gnu.org>
14486 * org-colview.el (org-columns-display-here): Clean up items in
14487 `org-agenda-mode' too.
14488 (org-columns-cleanup-item): Take a new argument CPHR to allow
14489 passing a complex heading regexp. Rewrite to cleanup ITEM
14490 correctly in `org-agenda-mode'.
14492 2012-01-03 Bastien Guerry <bzg@gnu.org>
14494 * org-clock.el (org-duration-string-to-minutes)
14495 (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
14498 2012-01-03 Bastien Guerry <bzg@gnu.org>
14500 * org.el (org-refile-active-region-within-subtree): New option to
14501 allow refiling a region that is part of a subtree without
14502 containing a subtree itself. This default to `nil'.
14503 (org-refile): Use the new option. Put point at the beginning
14504 of the region/subtree to be refiled, so that users understand
14505 what will be refiled. Also improve the prompt to tell whether
14506 the user is refiling a region or a headline.
14508 2012-01-03 Bastien Guerry <bzg@gnu.org>
14510 * org.el (org-properties-postprocess-alist): New option to allow
14511 postprocessing the values of properties set through
14512 `org-set-property'.
14513 (org-set-property): Use this option.
14515 2012-01-03 Bastien Guerry <bzg@gnu.org>
14517 * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
14520 2012-01-03 Bastien Guerry <bzg@gnu.org>
14522 * org-archive.el (org-archive-to-archive-sibling):
14523 Use `org-outline-regexp' instead of `outline-regexp'.
14525 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14527 * org.el (org-between-regexps-p): Searching up to pos may
14528 match again beginning regexp.
14530 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14532 * org-footnote.el (org-footnote-goto-definition): Don't send
14533 erroneous message: suggested bindings might not be set outside
14536 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14538 * org-footnote.el (org-footnote-normalize): Effectively remove
14539 any footnote tag in non Org buffers, as detailled in the
14540 docstring of `org-footnote-tag-for-non-org-mode-files'.
14542 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14544 * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
14545 notify the opportunity to set the variable to the empty string.
14546 (org-footnote-normalize, org-footnote-create-definition):
14547 Carefully check for inserted newlines and presence of the
14550 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14552 * org-footnote.el (org-footnote-at-definition-p): Re-use
14553 `org-footnote-definition-re'.
14555 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14557 * org-footnote.el (org-footnote-definition-re): Remove an
14559 (org-footnote-at-definition-p): Reflect removal of the group.
14561 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14563 * org.el (org-set-regexps-and-options): Enforce white space
14564 after todo keyword, as word boundary isn't sufficient (i.e. in
14565 matches * TODO/this).
14567 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
14569 * org-inlinetask.el (org-inlinetask-export-templates):
14570 Fix template for html so that the exported file is valid
14571 xhtml. Added template for odt.
14572 (org-inlinetask-export-handler): Fix typo in the regexp that
14573 trims content. Make sure that the content is flanked by
14574 paragraph boundaries on either side.
14576 2012-01-03 Bastien Guerry <bzg@gnu.org>
14578 * org.el (org-add-planning-info): Don't insert superfluous
14579 space when updating timestamps.
14581 2012-01-03 Bastien Guerry <bzg@gnu.org>
14583 * org-agenda.el (org-cmp-effort): Fix docstring.
14585 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14587 * org-list.el (org-list-full-item-re): When an item has only a
14588 bullet and no space after it, list structure would not be
14589 recognized correctly.
14591 2012-01-03 Bastien Guerry <bzg@gnu.org>
14593 * org.el (org-overview): Use `outline-regexp' instead of
14594 `org-outline-regexp' so that global cycling using
14595 `orgstruct-mode' works outside of Org buffers.
14597 2012-01-03 Bastien Guerry <bzg@gnu.org>
14599 * org-table.el (org-table-eval-formula): Fix missing variable
14601 (org-table-time-string-to-seconds): Fix missing variable in
14604 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
14606 * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
14607 case of wdays being 0. Don't pass wdays to
14608 org-agenda-deadline-face, like before the old fix.
14609 (org-agenda-deadline-face): Revert to old state that was without
14612 2012-01-03 Bastien Guerry <bzg@gnu.org>
14614 * org-latex.el (org-export-latex-fixed-width): Only add one
14615 line break after exporting verbatim environments.
14617 2012-01-03 Bastien Guerry <bzg@gnu.org>
14619 * org-list.el (org-list-item-trim-br): New function.
14620 (org-list-to-generic): New parameter :nobr to use the new
14623 2012-01-03 David Maus <dmaus@ictsoc.de>
14625 * org.el (org-paste-subtree): Fix wrong order of lines to move
14628 2012-01-03 David Maus <dmaus@ictsoc.de>
14630 * org.el (org-paste-subtree): Paste subtree above target
14631 headline if point is at bol.
14633 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14635 * org-list.el (org-toggle-checkbox): Don't clear lim-down
14636 while used in the while loop.
14638 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14640 * org-list.el (org-toggle-checkbox): Lim-down must be a
14643 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14645 * org.el (org-activate-code): Correct regexp so ":.*" isn't
14648 2012-01-03 David Maus <dmaus@ictsoc.de>
14650 * org-macs.el (org-with-gensyms, org-called-interactively-p)
14651 (with-silent-modifications, org-bound-and-true-p)
14652 (org-unmodified, org-re, org-preserve-lc)
14653 (org-without-partial-completion, org-with-point-at)
14654 (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14655 (org-if-unprotected-at, org-with-remote-undo)
14656 (org-no-read-only, org-save-outline-visibility)
14657 (org-with-wide-buffer, org-with-limited-levels)
14658 (org-eval-in-environment): Provide edebug specifications.
14660 * org-src.el (org-src-do-at-code-block): Dto.
14662 * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14664 * org-compat.el (org-xemacs-without-invisibility): Dto.
14666 * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14668 * org-agenda.el (org-agenda-with-point-at-orig-entry)
14669 (org-batch-agenda, org-batch-agenda-csv)
14670 (org-batch-store-agenda-views): Dto.
14672 * ob.el (org-babel-do-in-edit-buffer)
14673 (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14675 * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14677 * ob-table.el (sbe): Dto.
14679 * ob-exp.el (org-babel-exp-in-export-file): Dto.
14681 * ob-comint.el (org-babel-comint-in-buffer)
14682 (org-babel-comint-with-output): Dto.
14684 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14686 * org-inlinetask.el (org-inlinetask-export-templates):
14689 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14691 * org-inlinetask.el (org-inlinetask-insert-task): Error when
14692 trying to nest inline tasks.
14694 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14696 * org.el (org-activate-code, org-toggle-fixed-width-section)
14697 (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14698 fixed-width section.
14700 2012-01-03 David Maus <dmaus@ictsoc.de>
14702 * org.el (org-paste-subtree): Don't eat headline when called
14703 with point at existing headline.
14705 2012-01-03 David Maus <dmaus@ictsoc.de>
14707 * org.el (org-paste-subtree): Fix typo in variable name.
14709 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
14711 * org-inlinetask.el (org-inlinetask-export-handler):
14712 Don't export inline tasks if the current backend has provided no
14713 entries in `org-inlinetask-export-templates'.
14715 2012-01-03 Valentin Wüstholz <wuestholz@gmail.com> (tiny change)
14717 * org.el (org-indent-line-function): Made the way in which
14718 example blocks are indented more flexible.
14720 2012-01-03 David Maus <dmaus@ictsoc.de>
14722 * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14723 when creating final parameter alist.
14725 2012-01-03 David Maus <dmaus@ictsoc.de>
14727 * org-agenda.el (org-batch-store-agenda-views): Use macro
14728 `org-eval-in-environment'.
14730 2012-01-03 David Maus <dmaus@ictsoc.de>
14732 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14733 Use `org-eval-in-environment.
14735 2012-01-03 David Maus <dmaus@ictsoc.de>
14737 * org-macs.el (org-make-parameter-alist): New function.
14738 Turn flat list of alternating symbol names and values into an alist
14739 with symbol name in car and value in cdr.
14741 2012-01-03 David Maus <dmaus@ictsoc.de>
14743 * org-agenda.el (org-agenda-with-point-at-orig-entry):
14744 Use macro `org-with-gensyms'.
14746 2012-01-03 David Maus <dmaus@ictsoc.de>
14748 * org-macs.el (org-substitute-posix-classes):
14749 New function. Substitute posix classes in regular expression.
14750 (org-re): Use new function.
14752 2012-01-03 David Maus <dmaus@ictsoc.de>
14754 * org-macs.el (org-eval-in-environment): New macro. Evaluate FORM
14757 2012-01-03 David Maus <dmaus@ictsoc.de>
14759 * org-macs.el (org-preserve-lc, org-with-point-at)
14760 (org-with-remote-undo, org-save-outline-visibility): Use new
14761 macro `org-with-gensyms'.
14763 2012-01-03 David Maus <dmaus@ictsoc.de>
14765 * org-macs.el (org-with-gensyms): New macro. Wrap let-binding
14766 of SYMBOLS to new uninterned symbols around BODY.
14768 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14770 * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14771 the task starts a paragraph or the HTML exporter will produce
14772 an incorrect output.
14774 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14776 * org.el (org-return): When filling happens, `newline' can
14777 change match data, hence modifying the indent column.
14779 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14781 * org-footnote.el (org-footnote-new): Only forbid non-inlined
14782 footnotes at column 0, as only them can be confused with a
14783 footnote definition.
14785 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14787 * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14788 when available when prompted for a label. Also rename a local
14789 variable to avoid confusion with an existing function.
14791 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14793 * org-footnote.el (org-footnote-label-history):
14795 (org-footnote-new): Remove call to that variable.
14797 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14799 * org.el (org-insert-heading): With `force-heading' non-nil,
14800 inserting an heading before any headline, and just after a
14801 list would return an error.
14803 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14805 * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14807 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14809 * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14810 non-special when resolving bibtex values.
14812 2012-01-03 David Maus <dmaus@ictsoc.de>
14814 * org.el (org-back-over-empty-lines): Don't move line upward
14815 if point is at eob.
14817 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14819 * org-footnote.el (org-footnote-in-valid-context-p):
14820 Check `org-protected' property before allowing to match a footnote.
14821 (org-footnote-at-reference-p): Remove an obsolete test. It is now
14822 done in the previous function.
14824 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14826 * org.el (org-between-regexps-p): Previous name implied the
14827 function was related to blocks, which isn't mandatory.
14828 (org-narrow-to-block, org-in-block-p)
14829 (org-indent-line-function): Applied the rename.
14831 * ob-exp.el (org-babel-in-example-or-verbatim):
14832 Applied rename. Also removed a white space.
14834 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14836 * org.el (org-in-regexps-block-p): Return an useful value when
14837 point is between START-RE and END-RE. No incomplete block is
14838 allowed anymore. Add another optional argument to bound the
14839 bottom part of the search.
14840 (org-narrow-to-block, org-in-block-p): Apply modifications.
14842 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14844 * ob.el (org-babel-src-block-regexp): If a code block has a
14845 body, its last character must be a newline.
14847 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14849 * org-footnote.el (org-footnote-next-reference-or-definition):
14850 If no more footnote is found, be sure to go back to the
14851 original position. Otherwise, point might be left on a
14852 footnote-like element that has been dished out.
14854 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14856 * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14859 * ob.el (defvar): Wrap variable declaration in
14860 `eval-when-compile'.
14862 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14864 * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14866 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14868 * ob-java.el (org-babel-execute:java): Allow cmdline flags
14869 during compilation and evaluation.
14871 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14873 * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14874 * ob-ref.el (org-babel-ref-parse): Fix typos.
14876 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14878 * ob.el (org-babel-execute-src-block): Fix typo.
14880 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14882 * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14884 2011-11-20 Andreas Schwab <schwab@linux-m68k.org>
14886 * org-list.el (org-list-send-item): Use sort instead of sort*.
14888 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14890 * org-table.el (org-table-line-to-dline): Fix typo.
14892 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14894 * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14895 (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14896 (org-search-syntax-table, org-modify-diary-entry-string)
14897 (org-write-agenda):
14898 * org-bbdb.el (org-bbdb-anniv-export-ical):
14899 * org-bibtex.el (org-bibtex-fields):
14900 * org-icalendar.el (org-icalendar-date-time-format):
14901 * org-latex.el (org-export-latex-inline-image-extensions):
14902 * org-list.el (org-list-insert-item): Fix typos.
14904 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14906 * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14908 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14910 * org.el (org-mode): Force left-to-right paragraphs in Org
14911 buffers. For a related discussions, see
14912 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14914 2011-09-17 Juanma Barranquero <lekktu@gmail.com>
14916 * org.el (org-toggle-pretty-entities): Fix typo in message.
14918 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14920 * org-compat.el (org-pop-to-buffer-same-window): Delete.
14922 * ob-ref.el (org-babel-ref-goto-headline-id):
14923 * org.el (org-get-location, org-tree-to-indirect-buffer)
14924 (org-mark-ring-goto, org-refile, org-add-log-note)
14925 (org-revert-all-org-buffers, org-switchb)
14926 (org-cycle-agenda-files, org-submit-bug-report)
14927 (org-goto-marker-or-bmk):
14928 * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14929 * org-capture.el (org-capture-goto-target)
14930 (org-capture-fill-template):
14931 * org-clock.el (org-clock-goto):
14932 * org-ctags.el (org-ctags-visit-buffer-or-file):
14933 * org-exp.el (org-export-as-org):
14934 * org-feed.el (org-feed-show-raw-feed):
14935 * org-html.el (org-export-htmlize-generate-css):
14936 * org-id.el (org-id-goto):
14937 * org-irc.el (org-irc-visit-erc):
14938 * org-mobile.el (org-mobile-apply):
14939 * org-publish.el (org-publish-org-to, org-publish-find-date):
14940 * org-remember.el (org-go-to-remember-target):
14941 * org-src.el (org-src-switch-to-buffer)
14942 (org-edit-fixed-width-region): Use switch-to-buffer.
14944 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14946 * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14947 argument from pop-to-buffer-same-window call.
14949 2011-07-30 Carsten Dominik <carsten.dominik@gmail.com>
14951 * ob.el (org-babel-src-block-regexp): If a code block has a body,
14952 its last character must be a newline.
14954 2011-07-28 Bastien Guerry <bzg@gnu.org>
14956 * org-pcomplete.el: New file. Rename from org-complete.el.
14957 * org-complete.el: Delete file.
14959 2011-07-28 Bastien Guerry <bzg@gnu.org>
14961 * org-publish.el (org-publish-index-generate-theindex):
14962 Rename from `org-publish-index-generate-theindex.inc'. Use the file
14963 theindex.org directly instead of including theindex.inc.
14964 (org-publish-projects): Don't delete .orgx files.
14965 (org-publish-aux-preprocess): Use .file.orgx.
14967 2011-07-28 Bastien Guerry <bzg@gnu.org>
14969 * org-html.el (org-export-html-preamble-format): New default for
14970 the HTML preamble: don't include the title. Also improve the
14972 (org-export-html-postamble-format): Improve the docstring.
14973 (org-export-as-html): Add the title within the "content" div.
14974 This is necessary for interaction with the org-info.js script.
14976 2011-07-28 Michael Brand <michael.ch.brand@gmail.com>
14978 * org-table.el (org-table-edit-field): Display field coordinates.
14980 2011-07-28 Bastien Guerry <bzg@gnu.org>
14982 * org-publish.el (org-publish-find-title): Bugfix: kill buffers
14983 unless they were already visited.
14984 (org-sitemap-sort-files, org-sitemap-sort-folders)
14985 (org-sitemap-ignore-case, org-sitemap-requested)
14986 (org-sitemap-date-format, org-sitemap-file-entry-format):
14987 Use a correct prefix.
14988 (org-publish-projects): Make sure to delete .orgx files.
14989 (org-publish-index-generate-theindex.inc): Small docstring fix.
14991 2011-07-28 Bastien Guerry <bzg@gnu.org>
14993 * org-table.el (org-table-duration-custom-format): New defcustom
14994 to select output format of durations computations.
14995 (org-table-time-seconds-to-string): Use the new variable.
14996 (org-table-eval-formula): Allow `t' as a flag, on top of `T'. `t'
14997 will use the custom output format defined in
14998 `org-table-duration-custom-format'.
15000 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15002 * org-list.el: Search blank lines down to the end of the item
15003 instead of stopping at the item, in order to possibly match such
15004 lines within the item.
15006 2011-07-28 Bastien Guerry <bzg@gnu.org>
15008 * org-latex.el (org-export-latex-href-format): Docstring fix to
15009 reflect the fact that you can use only one "%s".
15010 (org-export-latex-links): Allow `org-export-latex-href-format' to
15011 have only one "%s".
15013 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15015 * org.el (org-org-menu): Add `org-copy-visible' to the menu.
15017 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15019 * org.el (org-copy-visible): New command.
15021 2011-07-28 Bastien Guerry <bzg@gnu.org>
15023 * org-capture.el (org-capture-templates): Docstring fix.
15025 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15027 * ob.el (org-babel-view-src-block-info): New function to inspect
15030 * ob-keys.el (org-babel-key-bindings): Key bindings for
15031 `org-babel-view-src-block-info'.
15033 2011-07-28 Bastien Guerry <bzg@gnu.org>
15035 * org-exp.el (org-infile-export-plist): Handle recursively
15036 included setup files. The value of the last included file always
15037 takes precedence over previous values.
15039 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15041 * org.el (org-timestamp-change): Keep point in the same category
15042 when updating a time-stamp. This requires to be careful, as,
15043 depending on the locale, name of day might change of length during
15046 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15048 * org-footnote.el (org-footnote-create-definition): When skipping
15049 already written footnotes definition, the algorithme would assume
15050 each one was only one-line long.
15052 2011-07-28 Bastien Guerry <bzg@gnu.org>
15054 * org-table.el (org-table-eval-formula): Fix bug when a formula
15055 "range" is just one cell.
15056 (org-table-time-string-to-seconds): Don't check whether we
15057 manipulate a string.
15059 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15061 * org-exp.el (org-export-mark-list-end)
15062 (org-export-mark-list-properties): Don't remove the ending regexp
15063 when it consists in blank lines.
15065 * org-list.el (org-list-parse-list): Ditto, but remove it
15066 completely when it isn't made of blank lines (i.e. during export
15069 2011-07-28 Bastien Guerry <bzg@gnu.org>
15071 * org-table.el (org-table-time-string-to-seconds): Match either
15072 HH:MM:SS or HH:MM (instead of MM:SS).
15074 2011-07-28 Bastien Guerry <bzg@gnu.org>
15076 * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
15077 `org-ctrl-c-ctrl-c' cannot do anything useful in the given
15080 2011-07-28 Bastien Guerry <bzg@gnu.org>
15082 * org-html.el (org-export-html-with-timestamp)
15083 (org-export-html-html-helper-timestamp): These are obsolete
15084 variables as of Org version 7.7 as you can already export the
15085 timestamp from the preamble or the postamble.
15086 (org-export-html-before-content-div): Delete variable.
15087 (org-export-html-content-div): Obsolete variable as of 7.7.
15088 (org-export-html-divs): New variable to define divs used in
15090 (org-export-as-html): Now the preamble and the postamble are
15091 surrounded by a <div ...>. The name of the div is defined through
15092 `org-export-html-divs'.
15094 2011-07-28 Bastien Guerry <bzg@gnu.org>
15096 * org-table.el (org-table-eval-formula): Throw an error when
15097 trying to replace complex range with invalid references.
15099 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15101 * org-macs.el (org-with-limited-levels): Some functions, like
15102 `org-back-to-heading', being deeply based on outline-mode, still
15103 refer to `outline-regexp' instead of `org-outline-regexp'.
15105 2011-07-28 Bastien Guerry <bzg@gnu.org>
15107 * org.el (org-refile-get-targets): New optional argument
15108 `excluded-entries' to exclude entries from the targets.
15109 (org-refile-get-location): From an org-mode buffer, exclude
15110 current heading and subheadings from the list of targets when
15111 `org-refile-use-cache' is nil.
15113 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15115 * org.el (org-imenu-get-tree): Headlines start at bol.
15117 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15119 * ob-maxima.el: New file. Fixed self-proclaimed file name.
15121 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15123 * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
15126 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15128 * org.el (org-kill-is-subtree-p): Matched string needs to start at
15131 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15133 * org.el (org-paste-subtree, org-kill-is-subtree-p)
15134 (org-yank-folding-would-swallow-text, org-yank-generic):
15135 Use `org-with-limited-levels' macro.
15137 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15139 * org-macs.el (org-with-limited-levels): Also modify, when
15140 appropriate, `org-outline-regexp-at-bol'.
15142 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15144 * org.el (org-timestamp-change): Some locales don't use the same
15145 length for date abbreviations. Set a marker at origin in case
15146 length of new timestamp is different.
15148 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15150 * org.el (org-imenu-get-tree): Browse only true headlines.
15152 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15154 * org-archive.el (org-archive-subtree): While it might be possible
15155 to archive an headline of a temporary buffer (i.e. not visiting a
15156 file), it wouldn't be really sensible.
15158 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15160 * org-archive.el (org-extract-archive-file)
15161 (org-extract-archive-heading, org-archive-subtree):
15162 `buffer-file-name' is nil in an indirect buffer. Thus, use
15163 `(buffer-file-name (buffer-base-buffer))', which will, in any
15164 case, return the file name.
15166 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15168 * org-capture.el (org-capture): If dired isn't loaded,
15169 `dired-buffers' isn't defined, and %F will fail.
15171 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15173 * ob-java.el (org-babel-execute:java): Don't create empty package
15176 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15178 * ob-java.el: New file.
15180 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15182 * ob.el (org-babel-execute-src-block): Replace call to defunct
15183 function `org-babel-result-hash'.
15185 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15187 * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
15188 lines and headers in `message-mode'.
15189 (org-footnote-at-reference-p): Remove check for cited lines, this
15190 is now handled by the previous function. Refactor.
15192 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15194 * org-capture.el (org-capture): If no file is associated to
15195 current buffer, check dired buffer and try to retrieve a possibly
15196 directory associated.
15198 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15200 * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
15201 (not original) file buffer.
15203 * ob.el (org-babel-current-result-hash): More informative name,
15204 and remove useless optional argument.
15206 2011-07-28 Bastien Guerry <bzg@gnu.org>
15208 * org.el (org-refile-get-location): Exclude current heading from
15211 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15213 * org-footnote.el (org-footnote-at-reference-p): Test if match is
15214 in cited text, when replying to a message.
15215 (org-footnote-new): Do not create a new footnote at bol, as it
15216 might be seen as a definition.
15217 (org-footnote-at-definition-p): Ignore definitions in forbidden
15218 blocks, as it is already the case for references.
15220 2011-07-28 Matt Lundin <mdl@imapmail.org>
15222 * org-bibtex.el (org-bibtex-create, org-bibtex-write):
15223 Change argument of `org-toggle-tag' to 'on. (Other arguments, e.g., t,
15226 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15228 * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
15229 into empty strings.
15231 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15233 * org-list.el (org-list-insert-item): Actualize code comments.
15234 (org-insert-item): For consistency, point cannot be moved at a
15235 surprising place when the user is being asked to choose a new
15236 description term to insert in the list. Point should stay where
15237 the user called the command.
15239 2011-07-28 Bastien Guerry <bzg@gnu.org>
15241 * org.el (org-outline-regexp-bol): New defconst.
15242 (org-outline-level, org-set-font-lock-defaults, org-cycle)
15243 (org-overview, org-content, org-flag-drawer)
15244 (org-first-headline-recenter, org-insert-todo-heading)
15245 (org-map-region, org-move-subtree-down, org-paste-subtree)
15246 (org-kill-is-subtree-p, org-context-p, org-refile)
15247 (org-refile-new-child, org-toggle-comment, org-todo)
15248 (org-add-planning-info, org-add-log-setup, org-scan-tags)
15249 (org-set-tags, org-insert-property-drawer)
15250 (org-prepare-agenda-buffers, org-preview-latex-fragment)
15251 (org-speed-command-default-hook, org-check-for-hidden)
15252 (org-toggle-item, org-toggle-heading)
15253 (org-indent-line-function, org-set-autofill-regexps)
15254 (org-fill-paragraph, org-toggle-fixed-width-section)
15255 (org-yank-generic, org-yank-folding-would-swallow-text)
15256 (org-first-sibling-p, org-goto-sibling)
15257 (org-goto-first-child, org-show-entry):
15258 Use `org-outline-regexp' and `org-outline-regexp-bol'.
15260 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15262 * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
15263 be checked for parent, not current headline. Also, this function
15264 doesn't need to be interactive.
15266 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15268 * org-list.el (org-list-send-item, org-list-struct-apply-struct)
15269 (org-apply-on-list, org-toggle-checkbox): Make markers point
15270 nowhere when they have become useless.
15272 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15274 * org-list.el (org-list-insert-item): When insertion point is in
15275 some white line after the end of the list, remove all unnecessary
15276 white lines there before proceeding. Also refactor a snippet of
15279 2011-07-28 Bastien Guerry <bzg@gnu.org>
15281 * org-latex.el (org-export-latex-image-default-option):
15282 Change default value.
15284 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15286 * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
15287 correctly fontified when the buffer is missing a final newline.
15289 2011-07-28 Bastien Guerry <bzg@gnu.org>
15291 * ob.el (org-babel-strip-protective-commas): Return `nil' instead
15292 of an error if no argument is given.
15293 (org-babel-parse-src-block-match): Make sure body is defined in
15296 2011-07-28 Jon Anders Skorpen <jonas@ifi.uio.no> (tiny change)
15298 * org-publish.el (org-publish-cache-file-needs-publishing):
15299 Regexp did not find includes with double quoted file names.
15301 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15303 * org-footnote.el (org-footnote-normalize): Footnote section
15304 should be inserted only if there are footnotes to insert.
15306 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15308 * org-footnote.el (org-footnote-at-definition-p)
15309 (org-footnote-normalize): Do not grab signature in the definition
15310 of the last footnote.
15312 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15314 * org-bibtex.el (org-babel-trim): Declare this function to the
15316 (org-bibtex-get): Trimming whitespace off of bibtex fields read from
15319 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15321 * org-exp.el (org-export-preprocess-string): Add the possibility
15322 to call recursively the function. Also change order of some
15323 function calls. Comment export process for footnotes.
15325 * org-footnote.el (org-footnote-normalize): Change the export
15326 specific parameter to hold properties of export. Thus, the
15327 function can send every footnote definition in the buffer through
15328 `org-export-process-string'.
15330 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15332 * org-latex.el (org-export-latex-preprocess): First insert
15333 footnotes in the temporary buffer so their contents can properly
15334 be protected from further transformations if required.
15336 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15338 * org-list.el (org-list-indent-offset): New variable.
15339 (org-list-struct-fix-ind): Make use of the new variable.
15341 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15343 * org-latex.el (org-export-latex-list-parameters):
15344 Complete default value with cbtrans option.
15346 * org-list.el (org-list-to-latex): Set a more consistent default
15349 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15351 * org-list.el (org-list-swap-items): Move it to a meaningful
15352 position in source code (i.e. before any function using it), and
15353 rename it to an easier name.
15355 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15357 * org-list.el (org-list-separating-blank-lines-number): If there
15358 are blank lines already in the whole list, add a blank line.
15360 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15362 * org-list.el (org-list-use-circular-move): New variable.
15363 (org-previous-item, org-next-item): Make use of the new variable.
15364 (org-move-item-down, org-move-item-up): Make use of the new
15365 variable. Simplify code.
15367 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15369 * org-list.el (org-list-delete-item, org-list-send-item):
15372 2011-07-28 Bastien Guerry <bzg@gnu.org>
15374 * org-agenda.el (org-agenda-bulk-custom-functions): New variable
15375 for custom bulk action functions.
15376 (org-agenda-bulk-action): Use it.
15378 2011-07-28 Bastien Guerry <bzg@gnu.org>
15380 * org-latex.el (org-export-latex-quotes): New defcustom.
15381 (org-export-latex-quotation-marks): Use it.
15383 2011-07-28 Bastien Guerry <bzg@gnu.org>
15385 * org-capture.el (org-capture-finalize): Bugfix about inserted
15386 blank line when killing the capture buffer and
15387 `org-blank-before-new-entry' tells to not insert anything before a
15390 2011-07-28 Bastien Guerry <bzg@gnu.org>
15392 * org-html.el (org-export-html-content-div): Rename from
15393 `org-export-content-div'.
15394 (org-export-as-html): Use new name.
15396 2011-07-28 Bastien Guerry <bzg@gnu.org>
15398 * org-latex.el (org-export-latex-header-defs-re): Delete.
15400 2011-07-28 Bastien Guerry <bzg@gnu.org>
15402 * org.el (org-last-set-property): New variable.
15403 (org-read-property-name): Use the new variable: the prompt
15404 defaults to the last property set, unless there is a property in
15407 2011-07-28 David Maus <dmaus@ictsoc.de>
15409 * org-capture.el (org-capture-before-finalize-hook)
15410 (org-capture-after-finalize-hook, org-capture-mode-map)
15411 (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
15412 consistently refer to capture, not remember.
15414 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15416 * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
15417 "verbatim" results params.
15419 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15421 * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
15424 * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
15427 * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
15428 synonym for "scalar".
15430 * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
15433 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15435 * ob.el (org-babel-script-escape): Parse odd parens when nested
15438 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15440 * ob-clojure.el (org-babel-execute:clojure): No longer force
15441 results into elisp if they don't naturally fit.
15443 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15445 * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
15446 already parsed lisp results.
15448 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15450 * org-list.el (org-plain-list-ordered-item-terminator):
15451 Remove incorrect assumption.
15453 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15455 * org-footnote.el (org-footnote-forbidden-blocks): Add missing
15456 exporter specific blocks.
15458 * org-list.el (org-list-forbidden-blocks): Ditto.
15460 2011-07-28 Bastien Guerry <bzg@gnu.org>
15462 * org-latex.el (org-export-latex-tables): Bugfix: remove
15463 properties from fields.
15465 2011-07-28 Bastien Guerry <bzg@gnu.org>
15467 * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
15468 to use `org-clock-timestamps-change'.
15470 2011-07-28 Bastien Guerry <bzg@gnu.org>
15472 * org.el (org-timestamp-up, org-timestamp-down): Mention time
15473 changes in the docstring.
15475 2011-07-28 Bastien Guerry <bzg@gnu.org>
15477 * org-clock.el (org-clock-remove-empty-clock-drawer): New function
15478 to remove empty clock drawer.
15479 (org-clock-out-hook): Add the new function as a hook.
15481 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15483 * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
15485 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15487 * org.el (org-in-block-p): New function.
15489 * org-footnote.el (org-footnote-forbidden-blocks): New variable.
15490 (org-footnote-in-valid-context-p): New function.
15491 (org-footnote-at-reference-p): Use new function. Allow inline
15492 footnotes to start at bol.
15494 2011-07-28 Bastien Guerry <bzg@gnu.org>
15496 * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
15497 (org-lparse-warn): Use it.
15499 2011-07-28 Bastien Guerry <bzg@gnu.org>
15501 * org-ascii.el (org-export-as-utf8): Fix call to
15502 `org-called-interactively-p': it requires an argument. Also fix
15505 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15507 * ob-lilypond.el (show-all): Declaring function from outline.el.
15508 (org-babel-default-header-args:lilypond): Declared.
15509 (ly-process-basic): Use the appropriate prefix for the temporary
15510 file, and don't call a function from ob-dot.el.
15511 (ly-version): Let-bind a free variable.
15513 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15515 * ob-lilypond.el: New file.
15517 2011-07-28 Bastien Guerry <bzg@gnu.org>
15520 (org-publish-cache-file-needs-publishing): Only check against .org
15523 2011-07-28 Bastien Guerry <bzg@gnu.org>
15525 * org.el (org-mode): Use `org-default' as the default face in
15528 2011-07-28 Bastien Guerry <bzg@gnu.org>
15531 (org-publish-cache-file-needs-publishing): Takes care of more
15532 recently included files, returning `t' in case the file including
15533 them needs to be republished.
15535 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15537 * org-exp.el (org-export-preprocess-string): If the last subtree
15538 is a task, footnotes may be removed along with the subtree.
15539 This patch ensures footnotes are put at the end of the buffer after the
15540 subtree has been removed.
15542 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15544 * org-footnote.el (org-footnote-at-reference-p): Verify that what
15545 looks like a footnote doesn't belong to a link.
15546 (org-footnote-next-reference-or-definition): Check more strictly
15547 footnote definitions.
15549 2011-07-28 Deech <deech@deech-ThinkPad-X200.(none)> (tiny change)
15551 * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
15554 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15556 * ob-python.el (org-babel-python-evaluate-session): Inhibit return
15557 of the eoe string during session evaluation.
15559 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15561 * ob-python.el (org-babel-python-evaluate-session):
15562 Enough newlines to ensure a return when ":results output :session".
15564 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15566 * ob-python.el (org-babel-python-evaluate-session): Introduced a
15567 new local function for sending input with a slight delay to allow
15568 pythong to re-draw the prompt. No longer removing newlines inside
15569 code block bodies (was due to a defective regexp).
15571 2011-07-28 Bastien Guerry <bzg@gnu.org>
15573 * org-table.el (org-table-time-seconds-to-string):
15574 Use `org-format-seconds' instead of `format-seconds'.
15576 2011-07-28 David Maus <dmaus@ictsoc.de>
15578 * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
15581 2011-07-28 David Maus <dmaus@ictsoc.de>
15583 * org-latex.el (org-export-latex-preprocess): Use function
15584 argument instead of dynamically scoped symbol.
15586 2011-07-28 David Maus <dmaus@ictsoc.de>
15588 * org-freemind.el (org-freemind-convert-links-helper)
15589 (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
15590 (org-freemind-get-node-style): Use org-string-match-p for backward
15591 compatibility with Emacs 22.
15593 2011-07-28 David Maus <dmaus@ictsoc.de>
15595 * org-html.el (org-export-html-protect-char-alist): Add missing
15596 :group keyword in defcustom.
15598 2011-07-28 David Maus <dmaus@ictsoc.de>
15600 * ob-haskell.el (org-babel-haskell-export-to-lhs):
15601 Call `kill-buffer' with argument indiciating to kill current
15602 buffer. Emacs 22 compatibility.
15604 2011-07-28 David Maus <dmaus@ictsoc.de>
15606 * org-macs.el (org-without-partial-completion):
15607 Toggle partial-completion-mode only if it is turned on.
15609 2011-07-28 Bastien Guerry <bzg@gnu.org>
15611 * org.el (org-add-planning-info): Fix issues with timestamps not
15612 being inserted at the same position.
15614 2011-07-28 Bastien Guerry <bzg@gnu.org>
15616 * org-table.el (org-table-time-string-to-seconds)
15617 (org-table-time-seconds-to-string): New functions.
15618 (org-table-eval-formula): Implement the "T" (time) flag for
15619 computing durations.
15621 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15623 * org.el (org-modules): Add org-lparse and org-odt as contrib
15626 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15628 * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15630 (org-additional-option-like-keywords): Include data as a synonym
15633 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15635 * ob.el (org-babel-sha1-hash): Improving code layout and removing
15636 export-variable headers in cache sha1.
15638 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15640 * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15641 rescan all IDs when trying to resolve a reference.
15643 2011-07-28 Julien Barnier <julien@nozav.org>
15645 * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15646 blocks lang attribute.
15648 2011-07-28 Eric S Fraga <e.fraga@ucl.ac.uk>
15650 * org-latex.el (org-export-latex-timestamp-inactive-markup):
15651 New option to allow different markup for inactive timestamps.
15653 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15655 * ob-org.el (org-babel-expand-body:org): Implemented this
15656 function, only action is to expand variables.
15657 (org-babel-execute:org): Uses the new body-expansion function.
15659 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15661 * org-list.el (org-list-full-item-re): Allow counter and check-box
15662 to be separated by white spaces.
15663 (org-list-struct-apply-struct): Reflect changes made to
15664 `org-list-full-item-re'.
15666 * org-html.el (org-html-export-list-line): Recognize spaces
15667 between counter and check-boxes as valid.
15669 * org-docbook.el (org-export-docbook-list-line): Ditto.
15671 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15673 * org-list.el (org-list-insert-item): Make sure point is moved to
15674 the specified POS before starting the function.
15676 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15678 * org.el (org-activate-footnote-links): Properly fontify inline
15680 (org-set-font-lock-defaults): Apply changes to previous function.
15682 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15684 * org-footnote.el (org-footnote-at-reference-p): First check if
15685 point is at the beginning of a footnote. Indeed `org-in-regexp'
15686 first checks backwards and might find an incorrect footnote if
15687 they are side-by-side.
15689 2011-07-28 Michael Brand <michael.ch.brand@gmail.com>
15691 * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15692 (org-agenda-block-separator): Add nil to docstring and customization.
15693 (org-prepare-agenda): Skip agenda block separator additionally if
15694 `org-agenda-block-separator' is nil.
15695 (org-agenda-overriding-header): Improve docstring.
15697 2011-07-28 Bastien Guerry <bzg@gnu.org>
15699 * org.el (org-set-tags): Remove useless
15700 `org-without-partial-completion'.
15702 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15704 * org-footnote.el (org-fill-paragraph): Declare function for the
15707 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15709 * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15711 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15713 * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15714 to appease compiler.
15716 2011-07-28 Michael Markert <markert.michael@googlemail.com>
15718 * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15719 all `org-called-interactively-p' function invocations.
15721 * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15722 to all `org-called-interactively-p' function invocations.
15723 (org-agenda-show-1): Adding optional argument KIND to all
15724 `org-called-interactively-p' function invocations.
15725 (org-agenda-set-tags): Adding optional argument KIND to all
15726 `org-called-interactively-p' function invocations.
15728 * org-ascii.el (org-export-as-latin1): Adding optional argument
15729 KIND to all `org-called-interactively-p' function invocations.
15730 (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15731 all `org-called-interactively-p' function invocations.
15732 (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15733 `org-called-interactively-p' function invocations.
15734 (org-export-region-as-ascii): Adding optional argument KIND to all
15735 `org-called-interactively-p' function invocations.
15737 * org-docbook.el (org-export-region-as-docbook): Adding optional
15738 argument KIND to all `org-called-interactively-p' function
15741 * org-html.el (org-export-region-as-html): Adding optional
15742 argument KIND to all `org-called-interactively-p' function
15745 * org-latex.el (org-export-region-as-latex): Adding optional
15746 argument KIND to all `org-called-interactively-p' function
15749 * org-table.el (org-table-blank-field): Adding optional argument
15750 KIND to all `org-called-interactively-p' function invocations.
15751 (org-table-current-column): Adding optional argument KIND to all
15752 `org-called-interactively-p' function invocations.
15753 (org-table-current-dline): Adding optional argument KIND to all
15754 `org-called-interactively-p' function invocations.
15755 (org-table-sort-lines): Adding optional argument KIND to all
15756 `org-called-interactively-p' function invocations.
15757 (org-table-sum): Adding optional argument KIND to all
15758 `org-called-interactively-p' function invocations.
15759 (org-table-rotate-recalc-marks): Adding optional argument KIND to
15760 all `org-called-interactively-p' function invocations.
15761 (org-table-eval-formula): Adding optional argument KIND to all
15762 `org-called-interactively-p' function invocations.
15763 (orgtbl-send-table): Adding optional argument KIND to all
15764 `org-called-interactively-p' function invocations.
15766 * org.el (org-mode): Adding optional argument KIND to all
15767 `org-called-interactively-p' function invocations.
15768 (org-copy-subtree): Adding optional argument KIND to all
15769 `org-called-interactively-p' function invocations.
15770 (org-paste-subtree): Adding optional argument KIND to all
15771 `org-called-interactively-p' function invocations.
15772 (org-store-link): Adding optional argument KIND to all
15773 `org-called-interactively-p' function invocations.
15774 (org-todo): Adding optional argument KIND to all
15775 `org-called-interactively-p' function invocations.
15776 (org-occur): Adding optional argument KIND to all
15777 `org-called-interactively-p' function invocations.
15779 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15781 * org-footnote.el (org-footnote-action): Offer to create
15782 definition when none is found.
15784 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15786 * org-footnote.el (org-footnote-re): Avoid matching inactive
15787 time-stamps or check-box cookies.
15788 (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15790 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15792 * org-exp.el (org-export-preprocess-string): If the last subtree
15793 is commented, footnotes inserted during normalizing at the end of
15794 the buffer may get deleted. This patch ensures deletion comes
15795 first, normalization second.
15797 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15799 * org-exp.el (org-export-footnotes-data): Change docstring.
15800 (org-export-footnotes-seen): Rename from
15801 org-export-footnotes-markers.
15803 * org-ascii.el (org-export-as-ascii): Apply change.
15805 * org-docbook.el (org-export-as-docbook): Apply change.
15807 * org-footnote.el (org-footnote-normalize): Apply change.
15809 * org-html.el (org-export-as-html): Apply change.
15811 * org-latex.el (org-export-as-latex): Apply change.
15813 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15815 * org-latex.el (org-export-latex-preprocess): Rely on
15816 `org-export-footnotes-markers' to retrieve definition of the
15817 current footnote during export.
15819 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15821 * org-footnote.el (org-footnote-normalize): Remember footnotes
15822 seen so far by the exporter when choosing the new marker.
15824 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15826 * org-footnote.el (org-footnote-normalize): Make use of
15827 `org-footnote-insert-pos-for-preprocessor'.
15829 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15831 * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15832 property to footnote markers when preparing for exportation.
15834 * org-html.el (org-export-as-html): Read new property to decide
15835 when to export a footnote.
15837 * org-docbook.el (org-export-as-docbook): Read new property to
15838 decide when to export a footnote.
15840 * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15841 column 0 cannot end a list containing it by adding
15842 `original-indentation' property to it.
15844 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15846 * org-exp.el (org-export-preprocess-string): Normalize footnotes
15847 before marking lists ending.
15849 * org-latex.el (org-export-latex-preprocess): Work with labels as
15850 strings and not as numbers.
15852 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15854 * org-docbook.el (org-export-docbook-footnote-separator):
15856 (org-export-as-docbook): Add a separator between footnotes.
15858 * org-html.el (org-export-html-footnote-separator): New variable.
15859 (org-export-as-html): Add a separator between footnotes.
15861 * org-latex.el (org-export-latex-footnote-separator):
15863 (org-export-latex-preprocess): Add a separator between footnotes.
15865 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15867 * org-exp.el (org-export-footnotes-markers)
15868 (org-export-footnotes-data): New variables.
15869 (org-export-preprocess-string): Use a more explicit argument.
15871 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15873 * org-footnote.el (org-footnote-goto-definition): Now, determining
15874 if point is at a footnote reference is entirely determined by
15875 `org-footnote-at-reference-p'. No need to check if pattern isn't
15876 at beginning of the line elsewhere.
15878 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15880 * org-footnote.el (org-footnote-next-reference-or-definition):
15883 * org.el (org-activate-footnote-links): Activate the whole
15884 footnote, but only fontify its label.
15886 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15888 * org-footnote.el (org-footnote-normalize): Make use of changes to
15889 `org-footnote-at-reference-p' and creation of various functions..
15891 (org-footnote-get-next-reference, org-footnote-delete-references)
15892 (org-footnote-delete-definitions): New functions.
15893 (org-footnote-goto-previous-reference, org-footnote-all-labels)
15894 (org-insert-footnote-reference-near-definition, org-footnote-delete):
15895 Rewrite to use org-footnote-get-next-reference.
15897 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15899 * org-footnote.el (org-footnote-re): Don't end an inline footnote
15900 at unrelated closing square brackets.
15901 (org-footnote-at-reference-p): Improve accuracy of the function to
15902 determine if point is at a reference and to extract definition of an
15904 (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15905 (org-footnote-auto-adjust-maybe): Make use of previous function.
15907 2011-07-28 Bastien Guerry <bzg@gnu.org>
15909 * org.el (org-deadline, org-schedule):
15910 keep warning cookie when rescheduling/redeadlining.
15911 (org-time-stamp): Fix problem with warning cookie.
15913 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15915 * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15916 clojure source into elisp source.
15918 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15920 * ob.el (org-babel-script-escape): Treats {} in the same manner as
15921 [] and allows for forcing string conversion.
15923 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15925 * org-exp.el (org-export-select-backend-specific-text):
15926 Strip protective commas from literal code blocks.
15928 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15930 * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15932 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15934 * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15936 (org-babel-ref-headline-body): Split out into its own function.
15937 (org-babel-ref-resolve): Using new functions, and alignment.
15939 * ob.el (org-babel-ref-goto-headline-id): Declare function.
15940 (org-babel-ref-headline-body): Declare function.
15941 (org-babel-expand-noweb-references): Now expands noweb references to
15942 headlines during expansion.
15944 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15946 * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15947 headlines by either global or custom id, in which case the
15948 contents of the headline are returned literally.
15950 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15952 * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15954 (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15957 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15959 * org-list.el (org-cycle-item-indentation): Cycling back to
15960 original position deleted any additional information in the item,
15961 like a counter or a tag.
15963 2011-07-28 Pieter Praet <pieter@praet.org>
15965 * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15966 (org-decrypt-entry): Before decrypting, check whether
15967 `auto-save-mode' is enabled for the current buffer, and act on it
15968 according to how `org-crypt-disable-auto-save' is set. Remove
15969 comment re "encrypt[ing] Org auto-saved buffers". Remove on-init
15970 check for `auto-save-default'.
15972 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15974 * ob.el (org-babel-merge-params): Ensure variable parameters are
15977 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15979 * ob.el (org-babel-insert-result): Fix results insertion for
15980 inline blocks which happen to start a line.
15982 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15984 * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
15985 if a call line is commented.
15987 2011-07-28 Vincent Belaïche <vincentb1@users.sourceforge.net>
15989 * org.el (org-read-property-name): Propose default property name.
15991 2011-07-28 Achim Gratz <stromeko@nexgo.de>
15993 * org.el (org-log-into-drawer): Correct typo.
15995 * org-clock.el (org-clock-into-drawer): New function to change the
15996 location of clock events based on properties CLOCK_INTO_DRAWER or,
15997 as fallback, LOG_INTO_DRAWER, like it is already possible for
16000 * org-clock.el (org-clock-jump-to-current-clock): Add statement to
16001 let clause to bind `org-clock-into-drawer' to result of function
16004 * org-clock.el (org-clock-find-position): Add statement to let
16005 clause to bind `org-clock-into-drawer' to result of function eval,
16006 change let to let* since the binding is used later in the same
16009 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16011 * ob-lob.el (require): Ensure 'cl is loaded during compilation so
16014 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16016 * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
16017 non-inline call lines.
16019 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16021 * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
16022 call_ blocks which aren't whitespace padded.
16024 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16026 * ob.el (org-babel-merge-params): Do not reverse variable order,
16027 and be sure to increment variable index as appropriate.
16029 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16031 * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
16032 successfully match optional trailing header arguments in square
16034 (org-babel-lob-get-info): Update to match the new regexp.
16036 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16038 * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
16039 then allow them to be so.
16041 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16043 * ob.el (org-babel-merge-params): If variables are not named they
16044 are assigned in order.
16046 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16048 * ob.el: Remove code comment about online documentation.
16050 * ob-exp.el: Remove code comment about online documentation.
16052 * ob-lob.el: Remove code comment about online documentation.
16054 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16056 * org-exp.el (org-export-format-source-code-or-example):
16057 Fix signature of org-<backend>-format-source-code-or-example function.
16059 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16061 * ob.el (org-babel-sha1-hash): Replace call to
16062 called-interactively-p with backwards-compatible interactive-p.
16064 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16066 * ob-exp.el (org-babel-exp-lob-one-liners):
16067 Appropriate replacement of inline call blocks with their results.
16069 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16071 * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
16072 trailing space ensures that the insertion of the results looks
16075 * ob.el (org-babel-insert-result): Insert inline lob line results
16078 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16080 * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
16081 appropriately given the style (block or inline) of the lob line.
16083 * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
16084 specific for block lob lines.
16085 (org-babel-inline-lob-one-liner-regexp): New regexp specific for
16087 (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
16088 (org-babel-lob-get-info): Return info from *either* the block or
16091 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16093 * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
16094 structure of the resulting info list.
16096 * ob-lob.el (org-babel-default-lob-header-args): Export the
16097 results of call lines by default.
16099 2011-07-28 Niels Giesen <niels.giesen@gmail.com> (tiny change)
16101 * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
16102 property based on the ID property of the org entry to the first
16103 character of the diary entry.
16105 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16108 (org-footnote-insert-pos-for-preprocessor): New variable.
16109 (org-footnote-normalize): Use it.
16111 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16113 * org-exp.el (org-export-format-source-code-or-example):
16114 Simplify. Also add `org-native-text' as a text property to the
16115 formatted text and throw error for unknown backends.
16117 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16119 * org-exp.el (org-export-format-source-code-or-example):
16120 Add support for: - custom formatters for existing backends - seamless
16121 plugging in of new backends.
16123 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16125 * org-exp.el (org-export-backends): New variable.
16126 (org-export-select-backend-specific-text): Use above
16127 variable. Also mark text between #+BACKEND and
16128 #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
16129 This text property is currently used only by the new line-oriented
16130 generic exporter (which is not yet part of the repo).
16132 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16134 * org-exp.el (org-export): Reserve keys 'o' and 'O' for
16135 OpenDocumentText export and bind them to `org-export-as-odt' and
16136 `org-export-as-odt-and-open'.
16138 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16140 * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
16143 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16145 * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
16146 lists before reading into emacs-lisp.
16148 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16150 * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
16152 * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
16154 * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
16156 * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
16158 * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
16160 * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
16162 * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
16164 * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
16166 * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
16168 * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
16170 * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
16172 * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
16174 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16176 * ob-awk.el: New file.
16178 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16180 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
16181 Respects ":results verbatim".
16183 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16185 * org-agenda.el (org-float): Aliases for `diary-float'.
16187 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16189 * ob-python.el (org-babel-python-evaluate-session):
16190 Send comint-send-input after every line when interacting with an
16191 interactive python process.
16193 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16195 * org-list.el (org-reset-checkbox-state-subtree): Make the command
16196 more robust, and correctly update check-boxes in the whole
16198 (org-update-checkbox-count): Fix bug accumulating count of checkboxes
16199 when walking a subtree.
16200 (org-update-checkbox-count-maybe): Add an optional argument passed to
16201 org-update-checkbox-count.
16203 2011-07-28 Teodor Zlatanov <tzz@lifelogs.com>
16205 * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
16207 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16209 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
16210 ":results scalar" header argument combination.
16212 2011-07-28 Dan Davison <dandavison7@gmail.com>
16214 * org-src.el: Append a space character to copied text so that the
16215 final text property change is picked up correctly.
16217 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16219 * ob-tangle.el (org-babel-tangle-file): Use the new argument list
16220 to org-babel-tangle.
16221 (org-babel-tangle): Now when called with a prefix argument, only the
16222 current code block is tangled.
16224 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16226 * org-list.el (org-list-parse-list): Replace transitional
16227 check-boxes with "[CBTRANS]" string during parsing.
16228 (org-list-to-generic): Use the new property `:cbtrans' to configure
16229 export string for transitional check-boxes.
16231 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16233 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16234 Use stable internal `org-anniversary' instead of
16236 (org-class): New function.
16237 (org-diary-class): Use `org-class'.
16238 (org-anniversary, org-cyclic, org-date, org-block): New functions.
16240 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16242 * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
16243 of header argument names.
16245 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16247 * ob.el (org-babel-expand-noweb-references): Concatenating all
16248 bodies with the appropriate name or :noweb-ref header argument.
16250 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16252 * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
16253 work also when #+begin line is indentex.
16255 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16257 * ob.el (org-babel-src-block-regexp): Babel: code block may have
16260 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16262 * org-macs.el (org-without-partial-completion): Avoid calling by
16263 name a function unknown to the compiler but explicitly checked by
16266 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16268 * org-mouse.el (org-agenda-earlier): Declaring previously unknown
16270 (org-agenda-later): Declaring previously unknown function.
16271 (org-agenda-mode-map): Declaring previously unknown variable.
16273 * org.el (org-read-date-analyze): Explicitly ignore the return
16274 value of a function.
16276 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16278 * org-agenda.el (org-agenda-mode): Globally replace
16279 buffer-substring-filters with filter-buffer-substring-functions.
16281 * org-indent.el (org-indent-mode): Globally replace
16282 buffer-substring-filters with filter-buffer-substring-functions.
16284 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16286 * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
16289 * org-attach.el: Replacing '(λ...) with #'(λ...).
16290 (org-attach-commit): Replacing '(λ...) with #'(λ...).
16292 * org-exp.el: Replacing '(λ...) with #'(λ...).
16293 (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
16295 * org-html.el: Replacing '(λ...) with #'(λ...).
16296 (org-export-as-html): Replacing '(λ...) with #'(λ...).
16298 * org-mouse.el: Replacing '(λ...) with #'(λ...).
16299 (org-mouse-popup-global-menu): Replacing '(λ...) with
16300 (org-mode-hook): Replacing '(λ...) with #'(λ...).
16301 (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
16303 * org-src.el: Replacing '(λ...) with #'(λ...).
16304 (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
16306 * org-table.el: Replacing '(λ...) with #'(λ...).
16307 (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
16309 * org.el: Replacing '(λ...) with #'(λ...).
16310 (org-confirm-shell-link-function): Replacing '(λ...) with
16311 (org-category): Replacing '(λ...) with #'(λ...).
16313 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16315 * org.el (mailcap-parse-mailcaps): Declaring functions used by
16317 (mailcap-extension-to-mime): Declaring functions used by
16319 (mailcap-mime-info): Declaring functions used by `org-open-file'.
16321 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16323 * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
16324 function `interactive-p'.
16325 (org-agenda-show-1): Replacing call to now-defunct function
16327 (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
16329 * org-ascii.el: Replacing call to now-defunct function
16331 (org-export-as-latin1): Replacing call to now-defunct function
16333 (org-export-as-latin1-to-buffer): Replacing call to now-defunct
16334 function `interactive-p'.
16335 (org-export-as-utf8): Replacing call to now-defunct function
16337 (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
16339 (org-export-region-as-ascii): Replacing call to now-defunct
16340 function `interactive-p'.Replacing call to now-defunct function
16343 * org-docbook.el: Replacing call to now-defunct function
16345 (org-export-region-as-docbook): Replacing call to now-defunct
16346 function `interactive-p'.Replacing call to now-defunct function
16349 * org-html.el: Replacing call to now-defunct function
16351 (org-export-region-as-html): Replacing call to now-defunct
16352 function `interactive-p'.Replacing call to now-defunct function
16355 * org-latex.el: Replacing call to now-defunct function
16357 (org-export-region-as-latex): Replacing call to now-defunct
16358 function `interactive-p'.Replacing call to now-defunct function
16361 * org-macs.el: Replacing call to now-defunct function
16363 (org-called-interactively-p): Replacing call to now-defunct
16364 function `interactive-p'.Replacing call to now-defunct function
16367 * org-table.el: Replacing call to now-defunct function
16369 (org-table-blank-field): Replacing call to now-defunct function
16371 (org-table-current-column): Replacing call to now-defunct function
16372 `interactive-p'.Replacing call to now-defunct function
16374 (org-table-current-dline): Replacing call to now-defunct function
16375 `interactive-p'.Replacing call to now-defunct function
16377 (org-table-sort-lines): Replacing call to now-defunct function
16379 (org-table-sum): Replacing call to now-defunct function
16381 (org-table-rotate-recalc-marks): Replacing call to now-defunct
16382 function `interactive-p'.
16383 (org-table-eval-formula): Replacing call to now-defunct function
16385 (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
16387 * org.el: Replacing call to now-defunct function `interactive-p'.
16388 (org-mode): Replacing call to now-defunct function
16390 (org-copy-subtree): Replacing call to now-defunct function
16392 (org-paste-subtree): Replacing call to now-defunct function
16394 (org-store-link): Replacing call to now-defunct function
16396 (org-todo): Replacing call to now-defunct function `interactive-p'.
16397 (org-occur): Replacing call to now-defunct function `interactive-p'.
16399 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16401 * ob-R.el (ess-local-process-name): This variable wasn't known to
16404 * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
16407 * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
16408 known to be defined.
16409 (org-babel-tangle-combine-named-blocks): Roll my own version of a
16410 forbidden common lisp function.
16412 * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
16413 called-interactively.
16415 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16417 * org-latex.el (org-export-latex-tables): Check for the
16418 "multiline" option and set the `floatp' option to true when
16419 multicolumn tables are requested.
16421 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16423 * org-html.el (org-export-as-html, org-html-level-start):
16424 Only convert section number underscores to dashes.
16426 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16428 * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
16429 `days-to-time, converting relative to 1 BC, while the code assumed
16430 it would return a time relative to 1970.
16432 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16434 * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
16435 inserting newlines between appended code blocks.
16437 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16439 * ob-exp.el: We may no longer need to export names along with code
16442 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16444 * org-exp-blocks.el (org-export-blocks-preprocess):
16445 Ensure balanced nested begin/end blocks in block bodies.
16447 2011-07-28 Dan Davison <dandavison7@gmail.com>
16449 * org-latex.el: Add -shell-escape to pdflatex commands.
16451 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16453 * ob-tangle.el (org-babel-tangle-named-block-combination):
16454 Block combination can now take a number of values.
16455 (org-babel-tangle-combine-named-blocks): More sophisticated block
16456 combination behavior.
16458 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16460 * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
16461 Switch to turn on the combination of code blocks of the same name.
16462 (org-babel-tangle-combine-named-blocks): Combine blocks of the same
16465 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16467 * ob-ruby.el (xmp): Declaring this function to appease the
16469 (org-babel-execute:ruby): "xmp" result option for outputting
16470 annotated source code.
16472 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> (tiny change)
16474 * org-list.el (org-list-to-latex): The enumerate environment in
16475 latex increments the counter before using it. Therefore, org-mode
16476 should set the enumeration counter to the desired value minus one.
16478 2011-07-28 Michael Brand <michael.ch.brand@gmail.com> (tiny change)
16480 * org.el (org-toggle-heading): More comments and fix number of
16481 stars when toggling from list items.
16483 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16485 * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
16486 effort that is accepted by `org-duration-string-to-minutes´.
16488 2011-07-28 Julien Barnier <julien@nozav.org>
16490 * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
16491 wait until previous line execution is finished.
16493 * ob-comint.el (org-babel-comint-with-output): When looking for
16494 end-of-evaluation indicator, search forward for the indicator
16495 before searching forward for the prompt.
16497 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16499 * org-entities.el (org-entities): Fix HTML entity for degree.
16501 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16503 * org.el (org-auto-align-tags): Change docstring.
16504 (org-update-parent-todo-statistics): Keep tags aligned even when
16505 statistics cookies are shifting them.
16507 * org-list.el (org-update-checkbox-count): Keep tags aligned even
16508 when statistics cookies are shifting them.
16510 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16512 * ob.el (org-babel-sha1-hash): Don't modify info argument by
16513 side-effect when sorting result-params list.
16515 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16517 * ob.el (org-babel-result-regexp): Use non-shy group around
16518 `org-babel-data-names'.
16520 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16522 * org.el (org-insert-link): Set truncate-line in the *Org Link*
16523 buffer and make sure that it really is set there.
16525 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16527 * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
16528 changing how/if the current directory is represented to lisp code.
16529 (org-babel-execute:lisp): More general handling of the default
16532 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16534 * ob-lisp.el (org-babel-execute:lisp): Setting the value of
16535 *default-pathname-defaults* to either the value of the :dir header
16536 argument or the directory of the containing Org-mode file.
16538 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16540 * ob-lisp.el (org-babel-execute:lisp): No real functional change,
16543 2011-07-28 Sébastien Delafond <sdelafond@gmail.com> (tiny change)
16545 * org.el (org-mode-flyspell-verify): This is useful when using
16546 flyspell with a non-English dictionary, or if some of your
16547 keywords are in another language.
16549 2011-07-28 David Maus <dmaus@ictsoc.de>
16551 * org-exp.el (org-export): Use new compatibility function
16552 `org-activate-mark'.
16554 * org-compat.el (org-activate-mark): New function.
16555 Provide `activate-mark' if not present (e.g. Emacs 22).
16557 2011-07-28 David Maus <dmaus@ictsoc.de>
16559 * org-table.el (org-table-follow-field-mode): Declare variable to
16560 keep byte compiler happy.
16562 2011-07-28 David Maus <dmaus@ictsoc.de>
16564 * org-footnote.el (org-id-uuid): Declare function, silence byte
16567 2011-07-28 David Maus <dmaus@ictsoc.de>
16569 * org-bibtex.el (org-bibtex-headline): Don't use equalp at
16570 run-time, compare downcased strings.
16572 2011-07-28 David Maus <dmaus@ictsoc.de>
16574 * org-bibtex.el (org-id-locations): Declare variable to silence
16577 2011-07-28 David Maus <dmaus@ictsoc.de>
16579 * org-id.el (org-id-locations): Fix docstring, remove reference to
16580 non-existent option.
16582 2011-07-28 David Maus <dmaus@ictsoc.de>
16584 * org.el (org-self-insert-command): Use `delete-char' instead of
16585 `delete-backward-char'.
16587 * org-table.el (orgtbl-self-insert-command): Ditto.
16589 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16591 * org-latex.el (org-export-latex-special-chars): Save match data
16592 when checking for table.el table.
16594 2011-07-28 David Maus <dmaus@ictsoc.de>
16596 * org.el (org-re-property): Move before its first use.
16598 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16600 * org-latex.el (org-export-latex-preprocess):
16601 Add `original-indentation' property to footnotes so they cannot
16602 possibly end a list by being less indented than the item they
16605 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16607 * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
16609 (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
16612 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16614 * org-clock.el (org-clocktable-write-default): Implement adding
16615 property columns to the clock table.
16617 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16619 * org.el (org-toggle-item): Move parenthesis to correct location.
16621 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16623 * org.el (org-default-priority):
16624 (org-priority-start-cycle-with-default): Improve docstring.
16625 (org-priority): Throw error when priority is out of range.
16627 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16629 * org.el (org-self-insert-command): Catch the case of
16630 `buffer-undo-list' eq t.
16632 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16634 * org.el (org-toggle-heading): Region should be considered as made
16635 of full lines, without the last one if region-end is at bol.
16636 Removed unused variables. Refactored and commented code.
16638 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16640 * org.el (org-toggle-item): When region includes an headline less
16641 indented than first one, set it as the new reference.
16643 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16645 * org-list.el (org-list-to-subtree): If the list is before first
16646 heading and `org-odd-levels-only' is non-nil, the first item gets
16647 two stars instead of one.
16649 * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16650 `org-odd-levels-only' non-nil.
16652 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16654 * org.el (org-toggle-item): Converting an heading to an item would
16655 sometimes insert unnecessary spaces before it, and unwanted space
16656 with `org-indent-mode' on. Changing some text into an item
16657 wouldn't always preserve indentation.
16659 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16661 * org-capture.el (org-capture-current-plist): Improve docstring.
16662 (org-capture-put): Add docstring.
16663 (org-capture-get): Add docstring.
16664 (org-capture-member): Add LOCAL argument. Add docstring.
16665 (org-capture-set-target-location): Store the time received from a
16666 date prompt into the :prompt-time property.
16668 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16670 * org-exp.el (org-export-mark-list-properties): Even if context is
16671 invalid, mark list item with `list-context' property.
16673 * org-list.el (org-list-forbidden-blocks): Add exporters specific
16674 blocks to the list of forbidden blocks.
16676 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16678 * org-list.el (org-sort-list): Function tries to intern
16679 getkey-func before it is defined, so it's always nil.
16681 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16683 * org.el (org-babel-load-languages): Adding ob-awk to the list of
16684 executable languages.
16686 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16688 * org-table.el (org-table-get-field): Make sure the new field
16689 content is at least one space character.
16691 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16693 * org-crypt.el: Check for `daemonp' before using it.
16695 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16697 * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16698 :stdin header argument.
16699 (org-babel-execute:sh): Use the :stdin header argument.
16700 (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16702 (org-babel-sh-var-to-string): New function for converting elisp
16703 values to strings that make sense for parsing with sh.
16704 (org-babel-sh-evaluate): Adding "stdin" option to session and
16705 external evaluation options.
16707 2011-07-28 Roland Kaufmann <rlndkfmn+orgmode@gmail.com> (tiny change)
16709 * org-exp.el (org-remove-formatting-on-newlines-in-region):
16711 (org-export-format-source-code-or-example):
16712 Call `org-remove-formatting-on-newlines-in-region'.
16714 2011-07-28 David Maus <dmaus@ictsoc.de>
16716 * org.el (org-entry-put): Prevent adding of extra space to value
16717 if property already exists.
16719 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16721 * org-html.el (org-export-as-html): Don't expand non-data lines of
16723 (org-html-expand): Remove the (buggy) test for non-data lines
16724 in table.el tables. The test is now done as part of
16725 org-export-as-html.
16726 (org-format-table-table-html-using-table-generate-source):
16727 Add test for spanning of cells in table.el tables using
16728 table.el's own library routine. Optionally suppress export of
16729 simple table.el tables.
16730 (org-format-table-html): Remove the (buggy) test for spanned
16731 table.el tables. The test is now done as part of
16732 org-format-table-table-html-using-table-generate-source.
16734 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16736 * org-latex.el (org-export-latex-special-chars): Do nothing in
16739 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16741 * org-capture.el (org-capture): Ignore errors when creating a
16744 2011-07-28 Nick Dokos <nick@dokosmarshall.org> (tiny change)
16746 * org-exp.el (org-export-define-heading-targets): Use dash instead
16747 of underscore to make labels valid.
16749 2011-07-28 Dan Davison <dandavison7@gmail.com>
16751 * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16752 is written to the results file before Emacs notices that the file
16755 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16757 * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16758 defined locally on my system, but not globally in Emacs.
16760 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16762 * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16763 generate code block output.
16764 (org-babel-exp-code): Re-create the code block body for exporting
16767 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16769 * org.el (org-read-date): Bury Calendar buffer after using it for
16772 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16774 * org-list.el (org-list-separating-blank-lines-number):
16775 Fix confusion between point and item beginning. Now, if no
16776 information is available, truly follow user preference when it
16777 inserts blank lines manually.
16778 (org-list-insert-item): Send correct argument to the preceding
16781 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16783 * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16784 newline inside of the code block body.
16786 2011-07-28 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
16788 * ob.el: Avoid spurious matches to literal.
16790 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16792 * org.el (org-indent-line-function): Don't include #+include
16795 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16797 * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16798 org-babel-check-src-block.
16800 * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16801 (org-babel-edit-distance): Returns the edit distance of two
16803 (org-babel-check-src-block): Check a code block for errors.
16805 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16807 * org-capture.el (org-capture-templates): Fix bug in customization
16810 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16813 (org-table-exit-follow-field-mode-when-leaving-table): New option.
16814 (org-table-check-inside-data-field): New optional argument
16815 `noerror'. When set, the function will only return nil instead of
16817 (org-table-edit-field): Interpret double prefix argument, and improve
16818 the properties of the editing window.
16819 (org-table-follow-field-mode): New minor mode.
16820 (org-table-follow-fields-with-editor): New function.
16822 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16824 * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16825 first, then check if timestamps cause exclusion.
16827 * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16828 if timestamps cause exclusion.
16830 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16832 * org-list.el (org-list-full-item-re): Allow description term to
16833 have a newline character after the colons.
16835 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16837 * org-list.el (org-sort-list): No longer ignore with-case
16838 argument: the function sorted case-sensitively, regardless of
16841 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16843 * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16845 * ob.el (org-babel-data-names): Configurable list of names of
16847 (org-babel-result-regexp): Using new results regexp.
16849 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16851 * org.el (org-special-properties): Add CLOCKSUM to the special
16854 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16856 * ob-exp.el (org-babel-exp-in-export-file):
16857 Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16859 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16861 * org-exp.el (org-export-add-options-to-plist): Use the right
16864 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16866 * org-latex.el (org-export-latex-preprocess): Protect index string.
16868 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16870 * org-latex.el (org-export-latex-preprocess): Pipe index entries
16871 through `org-export-latex-fontify-headline'.
16873 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16875 * org-exp.el (org-export-add-options-to-plist): Fix the option
16878 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16880 * org-latex.el (org-export-latex-preprocess): Replace index
16883 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16885 * org.el (org-structure-template-alist): Add an easy template for
16886 index (i), and move include file to I from i.
16888 2011-07-28 Matt Lundin <mdl@imapmail.org>
16890 * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16891 line to `org-offer-links-in-entry'.
16893 2011-07-28 Matt Lundin <mdl@imapmail.org>
16895 * org-bibtex.el (org-bibtex-search): New function.
16896 (org-bibtex-export-to-kill-ring): New function. Export to kill
16898 (org-bibtex-create-in-current-entry): New function
16899 (org-bibtex-create): Make it easier to add bib fields to an
16901 (org-bibtex-export-arbitrary-fields)
16902 (org-bibtex-treat-headline-as-title): Fix typos
16903 (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16904 from type completion.
16906 2011-07-28 Matt Lundin <mdl@imapmail.org>
16908 * org-bibtex.el (org-bibtex-treat-headline-as-title):
16910 (org-bibtex-headline): Only use headline text (not TODO or other
16911 metadata) to generate title field and auto key.
16912 (org-bibtex-fleshout): Allow user to choose whether to treat
16915 2011-07-28 Tom Dye <tsd@tsdye.com>
16917 * org-bibtex.el: Added crossref field to other fields.
16919 2011-07-28 Tom Dye <tsd@tsdye.com>
16921 * org-bibtex.el: Add crossref option to incollection.
16923 2011-07-28 Matt Lundin <mdl@imapmail.org>
16925 * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16928 2011-07-28 Matt Lundin <mdl@imapmail.org>
16930 * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16931 warn if a duplicate ID is generated.
16933 2011-07-28 Matt Lundin <mdl@imapmail.org>
16935 * org-bibtex.el (org-bibtex-tags): New variable.
16936 (org-bibtex-tags-are-keywords): New variable.
16937 (org-bibtex-no-export-tags): New variable.
16938 (org-bibtex-headline): Export tags as comma-separated bibtex
16940 (org-bibtex-read): Import bibtex keywords field as tags.
16942 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16944 * org-publish.el (org-publish-find-date): Optimization.
16946 2011-07-28 Tassilo Horn <tassilo@member.fsf.org>
16948 * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16949 when following link.
16951 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16953 * org-publish.el (org-publish-project-alist): Document new
16954 :sitemap-sans-extension property.
16955 (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16958 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16960 * org.el (org-remove-uninherited-tags): Rename from
16961 `org-remove-iniherited-tags'.
16962 (org-scan-tags): Fix typo in function call.
16963 (org-get-tags-at): Fix typo in function call.
16965 2011-07-28 Matt Lundin <mdl@imapmail.org>
16967 * org.el (org-get-tags-at): Don't include filetags if local is t.
16969 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16971 * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16972 dispatch functions, wrap body in `(do )'.
16974 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16976 * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
16977 resulted in the creation of multiple overlays in src blocks.
16979 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16981 * ob-clojure.el (org-babel-execute:clojure): If results are not
16982 readable by lisp, then return them as a string.
16984 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16986 * org-bibtex.el (org-bibtex): Now prompts for a file name.
16988 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16990 * org-bibtex.el (org-bibtex-create): Adding prefix argument which
16991 will result in prompting for optional fields.
16993 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16995 * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
16996 which was causing compile problems.
16997 (org-bibtex-fleshout): Rename flet function `get' which was causing
16999 (org-bibtex-write): Rename flet function `get' which was causing
17002 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
17004 * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
17005 never starts with a number.
17007 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17009 * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
17010 (org-bibtex-key-property): New option.
17011 (org-bibtex-put): Make use of new `org-bibtex-key-property'
17013 (org-bibtex-headline): Make use of new
17014 `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
17016 (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
17018 (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
17020 (org-bibtex-write): Make use of new `org-bibtex-key-property'
17023 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17025 * org-bibtex.el: Updating Copyright dates, author information,
17026 commentary and history notes.
17027 (org-bibtex-types): List of bibtex types with descriptions and
17028 required and optional fields.
17029 (org-bibtex-fields): List of bibtex fields with descriptions.
17030 (*org-bibtex-entries*): Special variable to hold parsed bibtex
17032 (org-bibtex-autogen-keys): Custom variable controlling whether
17033 bibtex keys are automatically generated
17034 (org-bibtex-prefix): Custom variable allowing use of optional prefix
17035 for bibtex properties in Org-mode headlines.
17036 (org-bibtex-get): Helper function for accessing bibtex elements of a
17038 (org-bibtex-put): Helper function for inserting bibtex element into
17040 (org-bibtex-headline): Return a bibtex entry of the given headline
17042 (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
17044 (org-bibtex-autokey): Generate a bibtex key for the current
17046 (org-bibtex-fleshout): Fill in missing bibtex properties of the
17048 (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
17049 (org-bibtex-check): Check that all bibtex properties are present in
17050 the current headline.
17051 (org-bibtex-check-all): Check all headlines in the current buffer.
17052 (org-bibtex-create): Create a new bibtex headline at the current
17054 (org-bibtex-read): Read the current bibtex entry from a bibtex file.
17055 (org-bibtex-write): Write the most recently read bibtex entry into
17058 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17060 * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
17062 (org-agenda-show-clocking-issues): Handle faces.
17064 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17066 * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
17067 content by default with "-Dfile.encoding=UTF-8".
17069 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17071 * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
17074 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17076 * org-exp.el (org-export-preprocess-string): Mark list end before
17077 expanding macros. Thus, a macro inside a list and containing
17078 blank lines cannot break the list structure.
17079 (org-export-preprocess-apply-macros): Multi-lines macros get
17080 indented with the same indentation as the first line. Thus, we
17081 are sure that every line belongs to the same list as the first
17082 line, if such list exists. Also add comments in code.
17084 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17086 * org-agenda.el (org-agenda-clock-consistency-checks): New option.
17087 (org-agenda-list): Handle display change to clock check.
17088 (org-agenda-get-progress): Show only clock entries if we are doing
17089 the consistency check.
17090 (org-agenda-show-clocking-issues): New function.
17091 (org-agenda-check-clock-gap): New function.
17092 (org-agenda-view-mode-dispatch): Offer consistency check.
17093 (org-agenda-log-mode): Handle switch to clock only display.
17094 (org-agenda-set-mode-name): Show lighter for Clockcheck.
17096 * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
17097 and return it unchanged.
17099 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17101 * org-list.el (org-list-struct): When walking down the list, the
17102 function would not pay attention to drawers or blocks indentation.
17103 Thus, such constructs couldn't consistently end an item or a list.
17104 This patch ensures line indentation is stored (if applicable)
17105 before skipping them. Also fixed doc-string and comments.
17107 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17109 * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
17112 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17114 * org-exp.el (org-export): Define a bound for finding enclosing
17115 tree with class/title definition.
17117 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17119 * org-exp.el (org-export): Go to next heading before searching
17120 backward, so make this also work if we are on the headline of the
17121 entry with the property.
17123 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17125 * org.el (org-promote):
17126 (org-demote): Soften the previous change, by only removing the
17127 flyspell function from after-change functions, because that was
17128 the one causing the slowdown - at least much of it.
17130 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17132 * org.el (org-promote, org-demote): Turn off
17133 after-change-functions to speed up the reindentation of text.
17135 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17137 * ob-ocaml.el (org-babel-ocaml-read-list):
17138 Use `org-babel-script-escape'.
17139 (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
17141 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17143 * org-html.el (org-html-handle-links): Add an alternate for inline
17146 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17148 * org-agenda.el (org-agenda-bulk-action): Do not use the entries
17149 variable before it is defined.
17151 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17153 * org-src.el (org-src-lang-modes): Add a language alias of "C"
17156 2011-07-28 Shaun Johnson <shaun@slugfest.demon.co.uk> (tiny change)
17158 * ob-tangle.el (org-babel-tangle): Make it work in an indirect
17161 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17163 * org-html.el (org-html-make-link): Correct a bug in coderef link.
17165 2011-07-28 Bernt Hansen <bernt@norang.ca>
17167 * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
17170 2011-07-28 Bernt Hansen <bernt@norang.ca>
17172 * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
17173 when headlines are missing.
17175 2011-07-28 Bastien Guerry <bzg@gnu.org>
17177 * org-mobile.el (org-mobile-push): Move call to hook, make it the
17178 first thing of the push operation.
17180 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17182 * ob.el (org-babel-params-from-buffer): Now looking for header
17183 arguments in #+Properties: as well as #+Babel:. Also, we're no
17184 longer caching these results into a file local variable.
17186 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17188 * ob-python.el (org-babel-python-evaluate-external-process):
17189 Allow parsing as a table in the case of ":results output table".
17190 (org-babel-python-evaluate-session): Allow parsing as a table in
17191 the case of ":results output table".
17193 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17195 * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
17196 all possible agenda views. Use `org-agenda-schedule' instead of
17197 `org-agenda-date-later'.
17199 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17201 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
17204 2011-07-28 Julien Danjou <julien@danjou.info>
17206 * org.el (org-entry-get, org-entry-delete, org-entry-put)
17207 (org-property-values, org-delete-property-globally):
17208 Use `org-re-property'.
17209 (org-re-property): New function allowing to build a regexp to
17212 2011-07-28 Julien Danjou <julien@danjou.info>
17214 * org.el (org-property-values): Enhance docstring.
17216 2011-07-28 Ethan Ligon <ligon@are.berkeley.edu> (tiny change)
17218 * org-html.el (org-html-export-list-line): Fix regexp for
17219 detecting description lists to allow "::" marker to be last
17220 visible element at end of line.
17221 * org-docbook.el (org-docbook-export-list-line): Fix regexp for
17222 detecting description lists to allow "::" marker to be last
17223 visible element at end of line.
17225 2011-07-28 Julien Danjou <julien@danjou.info>
17227 * org-table.el (org-table-cleanup-narrow-column-properties):
17228 Use point-min rather than 1 when moving in the buffer.
17230 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17232 * org-list.el (org-list-in-valid-context-p): Rename from
17233 `org-list-in-valid-block-p'.
17234 (org-at-item-p, org-list-search-generic): Use renamed function.
17236 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17238 * org.el (org-set-font-lock-defaults): Be more strict when
17239 recognizing description items, and do not fontify wrong cases
17240 like: "- term ::description" or "1. term :: description".
17242 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17244 * org-latex.el: Pay attention to end of footnote. Before closing
17245 the command, ensure that list is properly closed or that last link
17246 is separated from the curly brace.
17248 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17250 * org.el (org-indent-line-function): Footnote definition must stay
17251 at column 0 to be recognized as such. Body below can have normal
17252 indentation, so it should ignore its definition when computing
17255 2011-07-28 Bastien Guerry <bzg@gnu.org>
17257 * org-protocol.el (org-protocol-remember, org-protocol-capture):
17258 More appropriate message.
17260 2011-07-28 Bastien Guerry <bzg@gnu.org>
17262 * org-capture.el (org-capture-clock-keep): New local variable.
17263 (org-capture, org-capture-finalize): Use it and fix a bug when
17264 :clock-keep is set to `t'.
17266 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
17268 * org-exp.el (org-export-preprocess-string): Handle include files
17269 before processing macros.
17271 2011-07-28 Bernt Hansen <bernt@norang.ca>
17273 * org-agenda.el: Remove obsolete code for adding todo list in
17274 front of the agenda.
17276 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17278 * org-latex.el (org-export-latex-convert-table.el-table):
17279 Fix format-string for insertion of captions.
17281 2011-07-28 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
17283 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
17286 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
17288 * org.el (org-read-date-analyze): Help matching dotted European
17289 dates, like 31. 12. 2007
17291 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17293 * ob-lisp.el (org-babel-execute:lisp): Fix typo.
17295 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17297 * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
17298 before reading by elisp.
17299 (org-bable-lisp-vector-to-list): Stub of a vector->list function,
17300 should be replaced with a cl-vector->el-vector function.
17302 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17304 * ob-lisp.el (org-babel-execute:lisp): Now using
17305 `org-babel-reassemble-table' to apply the appropriate header
17306 arguments to results.
17308 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17310 * org.el (org-end-of-meta-data-and-drawers): New function.
17312 * org-capture.el (org-capture-place-plain-text): Implement adding
17313 plain text templates to Org nodes.
17315 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17317 * org-beamer.el (org-beamer-environments-extra): Fix docstring.
17319 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17321 * org-exp.el (org-export-handle-comments): Add the org-protected
17322 property to the replacement string.
17324 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17326 * org-html.el (org-export-as-html, org-html-level-start):
17327 Fix logic for section number printing when NUM is an integer.
17329 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17331 * org-latex.el (org-export-latex-special-chars): Fix regexp for
17332 `single' special characters and ellipsis.
17334 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17336 * org.el (org-point-at-end-of-empty-headline):
17337 Bind `case-fold-search' to nil.
17339 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17341 * org-capture.el (org-capture-fill-template): Resolve new %<...>
17343 (org-capture-templates): Document new %<...> template escape.
17345 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17347 * ob.el (org-babel-process-params): Make this function idempotent,
17348 as it will sometimes be called multiple times.
17350 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17352 * org.el (org-ts-regexp-both): Add "]" to class of characters that
17353 should not be matched.
17354 (org-ts-regexp0, org-ts-regexp1): Do not start a class with
17355 "^]-+", because that tries to (not) match characters between "]"
17356 and "+". Instead, move the "-" to the end of the class where it
17359 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17361 * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
17362 process with the edit buffer when :session is specified.
17364 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17366 * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
17367 extraction code into line with a newer version of the
17368 `org-store-link' function.
17370 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17372 * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
17373 wrapping the expression in either a let or progn, and possibly a
17374 pretty-print function invocation.
17375 (org-babel-execute:lisp): Greatly simplified method of executing
17378 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17380 * org-list.el: Move `org-update-checkbox-count-maybe' call outside
17381 of ̀save-excursion' to get back to original position.
17383 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17385 * org.el (org-numbered-action-format): New option.
17386 (org-new-numbered-action): New command.
17387 (org-collect-todos-in-subtree): New command.
17389 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17391 * org-exp.el (org-export-with-tasks): New option.
17392 (org-export-plist-vars): Add :tasks property.
17394 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17396 * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
17397 property to the export preprocessor.
17399 * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
17400 property to the export preprocessor.
17402 * org-html.el (org-export-as-html): Pass the :done-tasks property
17403 to the export preprocessor.
17405 * org-latex.el (org-export-as-latex): Pass the :done-tasks
17406 property to the export preprocessor.
17408 * org-exp.el (org-export-with-done-tasks): New option.
17409 (org-export-plist-vars): Add entry for :done-tasks.
17410 (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
17411 (org-export-remove-done-tasks): New function.
17413 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17415 * org-latex.el (org-export-latex-keywords-maybe): Protect # in
17418 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17420 * org.el (org-find-olp): Use the level of the correct match to
17423 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17425 * org-list.el (org-toggle-checkbox): Build value of
17426 org-keyword-time-regexp instead of using it directly, as it's
17427 buffer-local, and function might be called outside Org.
17429 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17431 * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
17432 blocks or drawers necessarily start somewhere. It it isn't the
17433 case, treat them as normal text.
17435 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17437 * ob-exp.el (org-babel-exp-results): Use code block name when
17438 finding cached results.
17440 2011-07-28 Julien Danjou <julien@danjou.info>
17442 * org-latex.el (org-export-latex-date-format): Change default date
17443 format to \today. This has the same result but respects the
17444 language set in the document by default.
17446 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17448 * org-list.el (org-list-checkbox): When called from an headline,
17449 function would normally skip drawers, but not if a SCHEDULED or
17450 DEADLINE keyword is standing before the drawer. Also avoid
17451 problems if function is called in buffers not is Org mode.
17453 2011-07-28 Bastien Guerry <bzg@gnu.org>
17455 * org-clock.el (org-clock-report): Change the scope of the
17456 inserted clock report depending on whether the point is within a
17457 subtree (:scope subtree) or not (:scope file).
17459 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
17461 * org-html.el (org-export-as-html): Fix export of footnotes
17462 containing lists, tables, quotes, etc.
17464 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17466 * org-latex.el (org-export-latex-preprocess): Correctly match
17467 starred command names.
17469 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17471 * org-html.el (org-export-as-html): Get local value of
17472 org-export-with-section-numbers from the buffer's plist.
17473 Deal specially with the case the resulting value is an integer.
17474 (org-html-level-start): New optional argument of the option plist used
17475 instead of `org-export-with-section-numbers'. Also deal specially
17476 with the case that the value is an integer.
17478 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17480 * org-latex.el (org-export-latex-subcontent): Deal specially with
17481 the case that NUM is an integer.
17483 2011-07-28 Bastien Guerry <bzg@gnu.org>
17485 * org-protocol.el (org-protocol-do-capture): Allow template keys
17487 (org-protocol-default-template-key): Update the docstring to
17488 reflect the change in `org-protocol-do-capture'.
17490 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
17492 * org-taskjuggler.el: Fix a typo in the commentary.
17494 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
17496 * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
17497 "purge allocations" statement if we are not targeting tj3.
17499 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
17501 * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
17502 Replace recursive implementation with an iterative one.
17504 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17506 * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
17507 data into shell variables.
17509 2011-07-28 David Maus <dmaus@ictsoc.de>
17511 * org-html.el (org-html-handle-time-stamps): Protected linebreak
17512 element after timestamp markup.
17514 2011-07-28 David Maus <dmaus@ictsoc.de>
17516 * org-html.el (org-html-handle-links): Don't protect img tag in
17519 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17521 * org-table.el (org-table-formula-handle-first/last-rc):
17524 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17526 * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
17527 whatever the major mode is.
17529 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17531 * org-inlinetask.el (org-inlinetask-export-templates): Fix default
17533 (org-inlinetask-export-handler): Ensure contents of inline task,
17534 if any, starts and ends with a newline character. Refactor and
17537 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17539 * org-capture.el (org-datetree-find-date-create): Lower-case for
17540 variable names in `define-function' form.
17542 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17544 * org-table.el (org-table-convert-region): Throw error when
17545 SEPARATOR is smaller than 1.
17547 2011-07-28 Julien Danjou <julien@danjou.info>
17549 * org-colview.el (org-columns-display-here): Fix heading retrieval
17552 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17554 * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
17555 be on the same line as a list end marker.
17557 2011-07-28 Julien Danjou <julien@danjou.info>
17559 * org.el (org-icompleting-read): Do not use useless lambda.
17561 2011-07-28 Julien Danjou <julien@danjou.info>
17563 * org-agenda.el (org-format-agenda-item): Fix length computing.
17565 2011-07-28 Julien Danjou <julien@danjou.info>
17567 * org-agenda.el (org-format-agenda-item): Fix comment and use
17568 `add-text-properties'.
17570 2011-07-28 Julien Danjou <julien@danjou.info>
17572 * org-agenda.el (org-agenda-highlight-todo): Remove useless
17575 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17577 * org-list.el (org-list-to-generic): Set a default term for
17578 ill-formed description lists. Do not insert newline characters
17580 (org-list-to-texinfo, org-list-to-html): Apply changes to
17581 `org-list-parse-liste'.
17583 2011-07-28 Bastien Guerry <bzg@gnu.org>
17585 * org-clock.el (org-clock-clocktable-language-setup): Add a
17587 (org-clocktable-write-default): Use the new localized string
17588 in `org-clock-clocktable-language-setup'.
17590 2011-07-28 Bastien Guerry <bzg@gnu.org>
17592 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17593 (org-taskjuggler-assign-resource-ids): Replace recursive
17594 implementation with an iterative one.
17596 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
17598 * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
17601 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
17603 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17604 Compute the leafiness of a node.
17605 (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
17606 node as a milestone if it is a leaf and has no effort.
17608 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
17610 * org-taskjuggler.el (org-export-taskjuggler-target-version):
17611 (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
17612 to handle export to both tj2 and tj3.
17613 (org-taskjuggler-open-task): Use a different way to purge
17614 allocations for tj2 and tj3.
17616 2011-07-28 Matt Lundin <mdl@imapmail.org>
17618 * org-footnote.el (org-footnote-auto-label): New random option.
17620 * org-footnote.el (org-footnote-new): Create random footnote
17621 labels with unique ids.
17623 2011-07-28 Matt Lundin <mdl@imapmail.org>
17625 * org-footnote.el (org-footnote-create-definition): Allow for
17626 footnote sections above the current footnote insertion point.
17628 2011-07-28 Matt Lundin <mdl@imapmail.org>
17630 * org-footnote.el (org-footnote-create-definition): Don't search
17631 for last footnote when in org-mode file.
17633 2011-07-28 Bastien Guerry <bzg@gnu.org>
17635 * org-html.el (org-export-as-html): Handle links with
17636 `org-html-handle-links' after we handle special characters
17638 (org-html-make-link, org-export-html-format-image):
17639 Don't protect html with @ anymore, as links are now handled after
17640 special characters conversions.
17642 2011-07-28 Julien Danjou <julien@danjou.info>
17644 * org-agenda.el (org-agenda-get-timestamps):
17645 (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17646 (org-format-agenda-item): Remove no-prefix argument.
17647 (org-agenda-change-all-lines): Call org-format-agenda-item without the
17648 no-prefix argument.
17650 2011-07-28 Julien Danjou <julien@danjou.info>
17652 * org-agenda.el (org-agenda-highlight-todo): Stop using
17654 (org-cmp-alpha): Stop using prefix-length.
17655 (org-agenda-open-link): Stop using prefix-length.
17656 (org-agenda-change-all-lines): Stop using prefix-length.
17658 * org-colview.el (org-columns-display-here): Stop using
17659 prefix-length. Always return claned items.
17661 * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17664 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17666 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17667 `org-store-link' interactively as it can confuse the setting of
17668 `org-link-to-org-use-id' and cause undue edits to the org-mode
17669 buffer during tangling.
17671 2011-07-28 David Maus <dmaus@ictsoc.de>
17673 * org-html.el (org-export-html-format-image): Protect <p> element
17676 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17678 * org.el (org-read-date-force-compatible-dates): New option.
17679 (org-read-date, org-read-date-analyze): Check representable date range.
17681 2011-07-28 Bastien Guerry <bzg@gnu.org>
17683 * org-html.el (org-export-as-html): Fix export of email.
17685 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17687 * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17688 on tangling, no longer use the now-removed variable
17689 `org-babel-tangle-pad-newline'.
17691 * ob.el (org-babel-header-arg-names): Add padline to the list of
17692 header argument names.
17693 (org-babel-default-header-args): Set the default value of padline to
17695 (org-babel-merge-params): Cleaned up the merge logic, added padline.
17697 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17699 * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17700 code block header argument names.
17702 2011-07-28 Bastien Guerry <bzg@gnu.org>
17704 * org-crypt.el: Remove useless TODO in comments.
17706 2011-07-28 Bastien Guerry <bzg@gnu.org>
17708 * org-html.el (org-export-as-html): The default postamble now only
17709 export a date paragraph if `org-export-time-stamp-file' is
17712 2011-07-28 Bastien Guerry <bzg@gnu.org>
17714 * org-exp.el (org-export-xml): Remove the defgroup of
17717 2011-07-28 Bastien Guerry <bzg@gnu.org>
17719 * org-html.el (org-export-html-insert-plist-item): Remove.
17720 (org-export-html-preamble): Default to `t'. Accept functions.
17721 (org-export-html-postamble): Default to `auto'.
17722 Accept functions and distinguish between 'auto (no formatting string)
17723 and `t' (default formatting string).
17724 (org-export-as-html): Handle org-export-html-preamble and
17725 org-export-html-postamble new defaults/allowed values.
17726 Define email and creator-info before using them.
17728 2011-07-28 Bastien Guerry <bzg@gnu.org>
17730 * org-html.el (org-export-html-protect-char-alist): Fix typo in
17731 custom type definition.
17733 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17735 * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17738 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17740 * org-list.el (org-list-parse-list): Fix regexp.
17742 2011-07-28 David Maus <dmaus@ictsoc.de>
17744 * org-html.el (org-export-html-format-image): Protect image
17747 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17749 * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17750 contents of a code block body on export.
17751 (org-babel-tangle-collect-blocks): Apply
17752 `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17754 2011-07-28 David Maus <dmaus@ictsoc.de>
17756 * org-html.el (org-html-make-link, org-html-handle-links):
17757 Protect generated XHTML elements.
17758 (org-export-as-html): Expand character entities after creating markup
17759 for links and timestamps.
17761 2011-07-28 Bastien Guerry <bzg@gnu.org>
17763 * org-html.el (org-export-as-html): Bugfix: insert email
17766 2011-07-28 Bastien Guerry <bzg@gnu.org>
17768 * org-html.el: Bugfix: prevent infinite matching of the `&'
17771 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17773 * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17774 has been introduced with emacs 23.1.
17776 2011-07-28 Bastien Guerry <bzg@gnu.org>
17778 * org-attach.el: Allow to store a link to the attach-dir location.
17780 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
17782 * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17785 2011-07-28 Bernt Hansen <bernt@norang.ca>
17787 * org-clock.el (org-clock-in): Allow clocking in new tasks
17788 inserted before the current clocking task.
17790 2011-07-28 Bernt Hansen <bernt@norang.ca>
17792 * org-clock.el (org-clock-in): Set default clocking task when
17793 already clocking the task.
17795 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17797 * org.el (org-adaptive-fill-function): When a region is specified
17798 first line of paragraph isn't skipped, so fill-paragraph have to
17799 be computed even if point is at an item.
17801 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17803 * org-list.el (org-list-in-valid-block-p): New function.
17804 (org-at-item-p, org-list-search-generic): Use new function.
17806 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17808 * org.el (org-indent-line-function): Text in both a list and a
17809 valid block is indented with regards to current item, not to block
17812 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17814 * org-html.el (org-format-org-table-html): Fix anchors in HTML
17815 export (thanks to <aankhen@gmail.com>)
17816 (org-html-protect): Fix a bug that prevents some target to be
17817 rendered correctly.
17819 2011-07-28 Bastien Guerry <bzg@gnu.org>
17821 * org.el (org-default-properties): Add EXPORT_TEXT.
17823 2011-07-28 Matt Lundin <mdl@imapmail.org>
17825 * org-footnote.el (org-footnote-create-definition)
17826 (org-insert-footnote-reference-near-definition): Fix sorting
17829 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17831 * org-html.el (org-export-as-html): Bugfix: don't insert closing
17832 HTML tags when exporting body only.
17834 2011-07-28 Jason Dunsmore <emacs-orgmode@deathroller.dunsmor.com> (tiny change)
17836 * org.el (org-back-over-empty-lines): Bugfix.
17837 Honor `org-blank-before-new-entry' correctly in various contexts.
17839 2011-07-28 Bastien Guerry <bzg@gnu.org>
17841 * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17842 and `save-restriction'.
17844 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17846 * org-timer.el (org-timer-item): `save-excursion' prevents
17847 `org-list-struct' to get the list structure when point isn't on
17848 the first line of the item.
17850 2011-07-28 Bastien Guerry <bzg@gnu.org>
17852 * org-capture.el (org-capture-templates): New option
17854 (org-capture): Use the new option.
17856 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17858 * org-list.el (org-update-checkbox-count): Ensure cookies on an
17859 heading are correctly updated when checkboxes are hidden.
17860 It allows, for example, to use C-c C-x C-b on a collapsed tree and
17861 still get the update.
17863 2011-07-28 David Maus <dmaus@ictsoc.de>
17865 * org-exp.el (org-export-visible): Accept keys for
17866 `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17868 2011-07-28 Bastien Guerry <bzg@gnu.org>
17870 * org.el (org-duration-string-to-minutes): Don't use
17873 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17875 * org.el (org-effort-durations): New variable.
17877 * org.el (org-duration-string-to-minutes): New function.
17879 * org-agenda.el (org-agenda-filter-effort-form)
17880 (org-format-agenda-item): Use it.
17882 * org-clock.el (org-clock-notify-once-if-expired)
17883 (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17885 2011-07-28 Bastien Guerry <bzg@gnu.org>
17887 * org-agenda.el (org-agenda-run-series): Rename from
17888 `org-run-agenda-series'.
17890 2011-07-28 Bastien Guerry <bzg@gnu.org>
17892 * org-capture.el: Don't allow currentfile anymore.
17894 2011-07-28 Bastien Guerry <bzg@gnu.org>
17896 * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17897 `org-agenda-current-span' when calling `org-agenda-list'.
17899 2011-07-28 Bastien Guerry <bzg@gnu.org>
17901 * org-capture.el (org-capture-put-target-region-and-position):
17902 New function to store information about the target buffer.
17903 (org-capture-set-target-location): Use it.
17904 (org-capture-finalize): Restore the target buffer in its
17905 possibly narrowed state. Also restore the cursor position.
17907 2011-07-28 Bastien Guerry <bzg@gnu.org>
17909 * org-crypt.el (auto-save-default): Make sure entries are
17910 encrypted before auto-saving.
17912 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17914 * org-inlinetask.el (org-inlinetask-promote)
17915 (org-inlinetask-demote): New functions.
17917 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17919 * org.el (org-demote-subtree, org-promote-subtree):
17920 Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17921 operating on inline tasks.
17923 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17925 * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17926 will move point to a real heading and not an inline task by
17927 wraping function into a `org-with-limited-levels' macro.
17929 2011-07-28 Bastien Guerry <bzg@gnu.org>
17931 * org-capture.el (org-capture-finalize): New argument clock-out,
17932 to tell whether finalizing the capture process should clock out
17934 (org-capture): Use the new argument.
17936 2011-07-28 Bastien Guerry <bzg@gnu.org>
17938 * org.el (org-refile-get-targets): Rename from
17939 `org-get-refile-targets'.
17941 2011-07-28 Bastien Guerry <bzg@gnu.org>
17943 * org-exp.el (org-export-table-remove-empty-lines): New custom
17945 (org-export-remove-special-table-lines): Use it.
17947 2011-07-28 Bastien Guerry <bzg@gnu.org>
17949 * org-table.el (org-table-fix-formulas-confirm): New custom
17951 (org-table-insert-column, org-table-delete-column)
17952 (org-table-move-column, org-table-move-row)
17953 (org-table-insert-row, org-table-kill-row): Use it.
17955 2011-07-28 Tassilo Horn <tassilo@member.fsf.org>
17957 * org.el (org-refile-get-location): Set and show default value.
17958 (org-goto, org-refile): Adapt calls.
17960 2011-07-28 Bastien Guerry <bzg@gnu.org>
17962 * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17964 (org-mobile-files-alist): Use it.
17966 2011-07-28 Bastien Guerry <bzg@gnu.org>
17968 * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17969 against headings outside of a narrowed buffer.
17971 2011-07-28 Bastien Guerry <bzg@gnu.org>
17973 * org.el (org-confirm-shell-link-not-regexp)
17974 (org-confirm-elisp-link-not-regexp): New custom variables.
17975 (org-open-at-point): Use the new custom variables.
17977 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17979 * org-latex.el: Place \title \author \date before
17982 2011-07-28 Bastien Guerry <bzg@gnu.org>
17984 * org-html.el (org-export-html-preamble)
17985 (org-export-html-postamble): Now default to `nil'.
17986 (org-export-as-html): When :html-pre/postamble is nil, fall
17987 back on the default pre/postamble, which depends on the
17988 :author-info, :email-info, :creator-info options.
17990 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17992 * ob-exp.el (org-babel-exp-results): Don't use cached results if
17995 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17997 * org-table.el (org-table-eval-formula): Treat relative column
18000 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18002 * org-table.el (org-table-use-standard-references): Change default
18005 2011-07-28 Bastien Guerry <bzg@gnu.org>
18007 * org.el (org-move-subtree-down): Leave the cursor at the same
18010 2011-07-28 Bastien Guerry <bzg@gnu.org>
18012 * org-attach.el (org-attach-store-link-p): New variable.
18013 (org-attach-store-link): New function.
18014 (org-attach-attach): When `org-attach-store-link-p' is
18015 non-nil, store a link in `org-stored-links' to a newly
18018 2011-07-28 Bastien Guerry <bzg@gnu.org>
18020 * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
18021 case-fold-search to avoid mixing TODO keywords with real headline
18024 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18026 * org-table.el (org-table-fedit-finish): Read more general LHS of
18028 (org-table-formula-handle-@L): New function to hanle @L references.
18029 (org-table-current-ncol): New variable.
18030 (org-table-line-to-dline): New function.
18031 (org-table-get-stored-formulas): Accept range formulas as matches.
18032 (org-table-get-specials): Compute and store the number of columns.
18033 (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
18034 only the region marked by the range, not the content.
18035 (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
18036 range targets. Also check for duplicate access to fields.
18037 (org-table-expand-lhs-ranges): New funktion.
18038 (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
18039 the caller's value.
18040 (org-table-edit-formulas): Support highlighting of range targets.
18041 (org-table-field-info): Handle renge formulas.
18043 2011-07-28 Bastien Guerry <bzg@gnu.org>
18045 * org-html.el (org-export-html-postamble-format)
18046 (org-export-html-preamble-format): Explain how to escape the
18049 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18051 * ob.el (org-babel-read): Read string variable values wrapped in
18052 double quotes, removing the quotes.
18054 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18056 * ob-exp.el (org-babel-exp-results): Ensure that processed params
18057 are send to org-babel-execute-src-block.
18059 2011-07-28 Bastien Guerry <bzg@gnu.org>
18061 * org-special-blocks.el
18062 (org-special-blocks-make-special-cookies):
18063 Use `org-export-current-backend'.
18065 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18067 * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
18069 (org-babel-exp-src-block): Explicitly pass language to
18070 `org-babel-exp-in-export-file'.
18071 (org-babel-exp-inline-src-blocks): Remove unused code.
18072 (org-babel-exp-results): Explicitly pass language to
18073 `org-babel-exp-in-export-file'.
18075 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18077 * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
18078 returned from calc-eval.
18080 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18082 * ob.el (org-babel-read): Pass elisp vectors through to code
18085 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18087 * ob.el (org-src-lang-modes): Defvar.
18088 (org-at-item-p): Declare function.
18090 * ob-calc.el (calc-store): Require.
18091 (var-syms): Defvar.
18093 * ob-python.el (py-default-interpreter): Defvar.
18095 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18097 * org-exp-blocks.el (backend): defvar.
18099 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18101 * org-agenda.el (org-agenda-get-scheduled):
18102 (org-agenda-get-timestamps): Bind local variable `show-all'.
18104 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18106 * ob-ref.el (org-at-item-p): Declare function.
18108 * org-agenda.el (diary-time-regexp): defvar.
18110 * org-archive.el (org-archive-subtree): Bind local variable
18113 * org-capture.el (org-capture-insert-template-here): Get template
18114 text from property list, to avoid byte compiler message.
18116 * org-latex.el (org-export-latex-tables): Bind local variable
18119 * org-special-blocks.el (org-compat): Add require statement.
18121 * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
18124 * org.el (org-eval): Move function here from org-agenda.el.
18126 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18128 * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
18129 when reading from tables.
18130 (org-babel-read-list): Inhibit lisp evaluation of values when
18131 reading from lists.
18132 (org-babel-read): Add optional argument which can be used to inhibit
18133 lisp evaluation of value.
18135 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18137 * ob-table.el (sbe): Ensure that ob-trim is only called on
18140 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18142 * ob-exp.el (org-babel-exp-results): On export, ensure that the
18143 result hash is resolved in the original org-mode file.
18145 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18147 * org-exp.el (org-export-mark-list-end): Change end marker.
18149 * org-docbook.el (org-export-docbook-list-line): Use new marker.
18151 * org-html.el (org-html-export-list-line): Use new marker.
18153 * org-latex.el (org-export-latex-lists): Use new marker.
18155 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18157 * org-latex.el (org-export-latex-lists): Make sure markers used
18158 for export are taken into account by temporarily setting an
18159 appropriate value for `org-list-ending-method'.
18161 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18163 * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
18164 regexp into its own variable, also allowing match of empty bodies.
18165 (org-export-blocks-preprocess): Using new regexp variable.
18167 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18169 * ob.el (org-babel-src-block-regexp): Code block regexp now
18170 matches blocks with empty bodies.
18172 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18174 * ob.el (org-babel-script-escape): If script escaped value doesn't
18175 parse cleanly, then return it literally.
18177 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18179 * ob-exp.el (org-babel-exp-src-block): When block will eventually
18180 be evaluated, pre-calculate the hash before noweb expansion, and
18181 expand the parameters before hash calculation.
18182 (org-babel-exp-do-export): Pass pre-calculated hash through to
18183 `org-babel-exp-results'.
18184 (org-babel-exp-results): Compare pre-calculated hash to results hash.
18186 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18188 * ob.el (org-babel-sha1-hash): Sort list values to header
18189 arguments, and sort the words in strings.
18191 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18193 * ob-ref.el (org-babel-ref-index-list): Special handling of hline
18196 2011-07-28 Julien Danjou <julien@danjou.info>
18198 * org-macs.el (org-with-point-at): Store evaluated version of
18199 pom. This fixes a potential bug when using (org-with-point-at
18200 (func) …), where (func) would be evaluated multiple times,
18201 therefore might return different results if a marker was returned
18202 and different each time.
18204 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18206 * org.el (org-open-at-point): If a link to a radio target is the
18207 first, (resp. the last), element of a buffer, function cannot find
18208 the property change required to get its boundaries, and
18209 `buffer-substring' is called with an invalid nil argument.
18211 2011-07-28 Bastien Guerry <bzg@gnu.org>
18213 * org-table.el (org-table-copy-down): Fix docstring.
18215 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18217 * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
18218 and for file types other than png and PDF it uses imagemagick to
18219 convert a compiled PDF file to the desired file type.
18220 (convert-pdf): Convert a PDF file to a new file type using
18223 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
18225 * org-capture.el (org-capture-fill-template): Fix bug with the
18226 display of interactive prompt in templates expansion.
18228 2011-07-28 Reiner Steib <reiner.steib@gmx.de>
18230 * org-clock.el (org-clock-display): Document how to remove subtree
18233 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18235 * org-exp-blocks.el (org-export-blocks-format-comment):
18236 Explicitly append a newline to the body.
18238 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18240 * org-list.el (org-list-insert-item): When computing size of item
18241 being inserted, function has to take into account that indentation
18242 may not only be made of spaces.
18244 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18246 * org-clock.el (org-clock-find-position): If a list was adjacent
18247 to some clocks and a drawer was going to be created, only the
18248 first element of the list would make it into the drawer.
18250 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18252 * org-list.el (org-toggle-checkbox): Fix bug where top item in
18253 list was omitted when checking boxes.
18255 2011-07-28 Dan Davison <dandavison7@gmail.com>
18257 * ob-R.el: Don't print result to echo area after evaluation.
18259 2011-07-28 Bastien Guerry <bzg@gnu.org>
18261 * org-capture.el (org-capture-refile): Fix typo in docstring.
18263 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18265 * ob-calc.el (org-babel-execute:calc): Call out to new function
18266 for variables resolution.
18267 (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
18268 variables in calc expressions.
18270 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18272 * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
18273 (org-babel-C++-compiler): Replace "c++" with "C++".
18274 (org-babel-execute:cpp): Replace "c" with "C++".
18275 (org-babel-execute:C++): Replace "c" with "C++".
18276 (org-babel-expand-body:C++): Replace "c" with "C++".
18277 (org-babel-C-execute): Replace "c" with "C++".
18279 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18281 * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
18282 a list if at the *beginning* of a list item.
18284 * ob.el (org-babel-read-result): Only try to read results as a
18285 list if at the *beginning* of a list item.
18287 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18289 * org-list.el (org-cycle-item-indentation): Do not break an
18290 indentation cycle because visibility cycling is requested.
18291 This happens when an item becomes a parent, due to indentation change.
18292 Not considered empty anymore, the function cannot change its
18295 2011-07-28 Bastien Guerry <bzg@gnu.org>
18297 * org-clock.el (org-clocktable-write-default): Bugfix: falls back
18298 on `org-export-default-language' when no :lang parameter is set.
18300 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18302 * org-capture.el (org-capture-expand-file): New function.
18303 (org-capture-target-buffer):
18304 (org-capture-set-target-location): Use `org-capture-expand-file'.
18306 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18308 * ob.el (org-babel-read-list): Reading the value of a list has
18309 been updated to reflect the new structure of org-mode lists in
18311 (org-babel-insert-result): Writing code block results to lists has
18312 been updated to reflect the new list structure.
18313 (org-babel-result-end): Remove a previous change to end-of-list
18316 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18318 * org-list.el (org-cycle-item-indentation): Each time the function
18319 moves item back to child position, a white space is added to the
18322 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18324 * ob.el (org-babel-process-params): Allow elisp code in
18325 specification of results header arguments.
18327 2011-07-28 Bastien Guerry <bzg@gnu.org>
18329 * org-agenda.el (org-agenda-append-agenda): New command.
18330 (org-agenda-mode-map): New keybinding to this new command.
18332 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18334 * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
18335 cursor it at very first item of the list, as specified in the
18336 manual. Also refactored the list part of the function a bit.
18338 2011-07-28 Bastien Guerry <bzg@gnu.org>
18340 * org-agenda.el (org-agenda): Set the 'last-args property to nil
18341 when calling `org-agenda'. Don't kill the local variable
18342 `org-agenda-current-span'.
18343 (org-run-agenda-series): Use the new property 'last-args.
18344 (org-agenda-change-time-span): Use the dynamically set
18345 `org-agenda-overriding-arguments' variable when non-nil.
18347 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18349 * ob.el (org-babel-result-end): Adjust marker of list end to
18350 changes in the list format.
18352 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18354 * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
18355 No need to wrap `org-entry-get' in `ignore-errors'.
18357 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18359 * org.el (org-toggle-item, org-toggle-heading): Make sure every
18360 sub-item in a list is changed into a sub-heading and sub-headings
18361 are translated into sub-items. Also ignore inline tasks in the
18364 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18366 * org-exp.el (org-export-select-backend-specific-text):
18367 Add `original-indentation' property when replacing #+begin_backend and
18368 #+backend blocks with their content. This is needed for lists, as
18369 they must know if the block belonged to them.
18371 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18373 * org-html.el (org-html-export-list-line): Insert a newline
18374 character before ending an item, as anchor could be on a line
18375 going to be deleted, like a drawer ending string.
18377 * org-list.el (org-list-to-html): Same.
18379 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18381 * org.el (org-set-autofill-regexps): Use `org-item-re' in
18382 `paragraph-start' to recognize alphabetical lists.
18383 (org-fill-paragraph): Enforce a pre-computed fill-prefix before
18384 calling `fill-paragraph' when point is in an item. Also prevent
18385 paragraphs getting merged into an adjacent list upon filling.
18386 (org-adaptive-fill-function): Make sure to determine real
18387 fill-prefix for auto-fill.
18388 (org-auto-fill-function): Use a pre-computed fill-prefix before
18389 calling `do-auto-fill'.
18391 * org-list.el (org-list-item-body-column): New function.
18393 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18395 * org-inlinetask.el (org-inlinetask-at-task-p)
18396 (org-inlinetask-toggle-visibility): New functions.
18398 * org-list.el (org-list-set-item-visibility): New function.
18400 * org.el (org-cycle, org-cycle-internal-local): Separate lists and
18401 inline tasks from headlines.
18402 (org-outline-level): Do not consider lists as headlines.
18403 Cycling visibility is using different tools.
18405 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18407 * org-list.el (org-list-struct): Mark items less indented than top
18408 item of the list, so that they will be modified.
18409 (org-list-struct-apply-struct): Compare struct's indentation with
18410 line's indentation instead of old-struct's. This is needed
18411 because `org-list-struct' automatically fixes indentation so
18412 changes might not be seen otherwise.
18414 * org.el (org-ctrl-c-ctrl-c): Small refactoring.
18416 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18418 * org-list.el (org-update-checkbox-count): When a part of the
18419 buffer is processed to count checkboxes, lists are read from top
18420 to bottom, but inside lists (in drawers, blocks, or inline tasks)
18421 are skipped. Thus, cookies cannot be updated. This patch
18422 enforces reading of such lists if counter is itself in a special
18425 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18427 * org-list.el (org-list-struct-apply-struct): Inline tasks along
18428 with their content must stay at column 0 even if the item is
18429 gaining indentation. Moreover, fix indentation of text in an
18430 inline task, now it can be in such a task within a list.
18432 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18434 * org-list.el (org-at-item-p): Also verify context is valid.
18435 Otherwise it would recognize valid items where `org-in-item-p'
18437 (org-in-item-p, org-list-struct-apply-struct): Use shorter version
18439 (org-cycle-list-bullet): Fix typo.
18440 (org-list-parse-list): Avoid calling `org-at-item-p' two times by
18441 using an appropriate regexp.
18443 * org.el (org-indent-line-function): Use an appropriate regexp
18444 instead of calling `org-at-item-p' two times.
18446 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18448 * org-list.el (org-in-item-p): When point was just after
18449 org-list-end-re, check wouldn't be done for starting line. So, if
18450 the first line was an item, it wouln't be noticed and function
18451 would return nil. Simplify and comment code.
18453 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18455 * org.el (org-toggle-item): When used on normal text, ensure every
18456 line in region is included in the new item, regardless of its
18457 original indentation.
18459 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18461 * org-list.el (org-list-struct-apply-struct): If end of list was
18462 at eol, for example, with list inside a block, the last list
18463 wouldn't be shifted. Thus, the patch ensures no blank lines is
18466 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18468 * org.el (org-toggle-item): Now accepts a prefix argument.
18469 When used without argument on normal text, it will make the whole
18470 region one item. With an argument, it defaults to old behavior:
18471 change each line in region into an item.
18473 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18475 * org.el (org-return): When called from inside an item with the
18476 indent flag, function should keep text moved inside the item.
18477 This allows to use C-j to separate lines in an item: cursor won't
18478 go back to column 0.
18480 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18482 * org-list.el (org-list-struct): When a line has org-example
18483 property, skip the entire block. This is needed during export,
18484 for example when src blocks in org markup contain lists, and are
18485 returned verbatim because org isn't in the list of interpreted
18488 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18490 * org-list.el (org-in-item-p): Handle special cases when function
18491 is called with cursor amidst `org-list-end-re' or at an inline
18494 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18496 * ob.el (org-babel-result-end): Apply renaming.
18498 * org-exp.el (org-export-mark-list-properties): Apply renaming.
18500 * org-list.el (org-list-prevs-alist): Rename from
18501 `org-list-struct-prev-alist'.
18502 (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
18503 (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
18504 (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
18505 (org-toggle-checkbox, org-update-checkbox-count)
18506 (org-cycle-list-bullet, org-list-repair, org-insert-item)
18507 (org-move-item-up, org-move-item-up, org-move-item-down)
18508 (org-next-item, org-previous-item, org-end-of-item-list)
18509 (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
18510 (org-get-bullet): Remove function, as it is not needed anymore.
18512 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18514 * org-list.el (org-list-insert-item-generic): Change arguments.
18515 The function now accepts structure and previous items alist.
18516 This allows to insert an item programmatically more easily.
18517 (org-insert-item): Apply changes to
18518 `org-list-insert-item-generic'. The function now takes care about
18519 repairing structure and updating checkboxes.
18521 * org-timer.el (org-timer-item): Apply changes to
18522 `org-list-insert-item-generic'. The function now takes care about
18523 repairing structure.
18525 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18527 * org-list.el (org-list-make-subtree): Function now uses
18528 `org-list-parse-list mechanism'.
18529 (org-list-make-subtrees): Remove function.
18530 (org-list-to-generic): Add a parameter and every parameter can
18531 be a sexp returning a string, for finer control.
18532 (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
18533 Slight modifications to apply changes to `org-list-to-generic'.
18534 (org-list-to-subtree): New function.
18536 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18538 * org.el (org-beginning-of-line): Apply changes to
18539 `org-item-beginning-re' to correct sub-expression reference.
18541 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18543 * org-docbook.el (org-export-docbook-list-line): Even with
18544 alphabetical lists, Org shouldn't enforce a particular list type
18545 to exporters. This is a job for style files.
18547 * org-html.el (org-html-export-list-line): Ib idem.
18549 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18551 * org-list.el (org-at-item-counter-p): New function.
18552 (org-list-parse-list): Handle counters and list depth.
18553 (org-list-to-generic): A special string is used when an item has a
18555 (org-list-to-latex): Use new special string for counters.
18556 This fixes the counter bug in LaTeX export, as the enumi counter was
18557 the only one modified.
18559 * org-latex.el (org-export-latex-lists): Use new
18560 `org-list-parse-list' output.
18562 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18564 * org-list.el (org-list-get-list-type): New function.
18565 (org-list-parse-list): Use new function.
18567 * org-html.el (org-html-export-list-line): Use new function.
18569 * org-docbook.el (org-export-docbook-list-line): Use new function.
18571 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18573 * org-list.el (org-alphabetical-lists): New variable
18574 (org-item-re, org-list-full-item, org-cycle-list-bullet)
18575 (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
18576 Reflect introduction of the new variable.
18577 (org-item-beginning-re): Change into a function, so any
18578 modification of `org-alphabetical-lists' will not require
18580 (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
18581 (org-list-parse-list, org-list-send-list): Reflect changes to
18582 `org-item-beginning-re'.
18583 (org-list-use-alpha-bul-p): New function.
18585 * org.el (org-check-for-hidden): Reflect changes to
18586 `org-item-beginning-re'.
18588 * org-capture.el (org-capture-place-item): Reflect changes to
18589 `org-item-beginning-re'.
18591 * org-docbook.el (org-export-docbook-list-line): Handle New type
18594 * org-exp.el (org-export-mark-list-end)
18595 (org-export-mark-list-properties): Reflect changes to
18596 `org-item-beginning-re'.
18598 * org-html.el (org-html-export-list-line): Handle new type of
18601 * org-latex.el (org-export-latex-lists): Handle new type of items
18602 and reflect changes to `org-item-beginning-re'.
18604 * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
18606 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18608 * org-list.el (org-list-end-re): Remove function and made it a
18609 variable. There's no need for the overhead of calling the
18610 function every at every line in a list. User will have to reload
18611 Org if he change value of either `org-list-end-regexp' or
18612 `org-empty-line-terminates-plain-lists'.
18613 (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
18615 * org-exp.el (org-export-mark-list-end)
18616 (org-export-mark-list-properties): Apply change.
18618 * org-latex.el (org-export-latex-lists): Apply change.
18619 Also prevent items with org-example property to be considered as real
18622 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18624 * org-inlinetask.el (org-inlinetask-export-templates): Slightly
18625 modify templates so environment boundaries don't interfere with
18626 content of task. Unprotect content of task so it might benefit
18627 from further transformations. Set original-indentation property to
18628 a high value to ensure that task is always in the last item of the
18629 list. Also, apply templates later in export process.
18631 * org-list.el (org-list-struct): Fix inline task skipping.
18633 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18635 * org-latex.el (org-export-latex-lists): Search for unprotected
18636 items only, and redefine `org-at-item'. This change is required
18637 when verbatim lists are inserted during export, usually by Babel.
18639 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18641 * ob.el (org-babel-result-end): End position is end of current
18642 sublist instead of bottom point, as results might be inserted in a
18645 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18647 * org-list.el (org-list-automatic-rules): Remove insert rule.
18648 (org-list-insert-item-generic): Remove code preventing user to
18649 insert another item in a block within a list. It is because new
18650 list context make it impossible to see if a point in a block is
18653 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18655 * org-exp.el (org-export-preprocess-string): Mark list endings
18656 before babel blocks preprocessing starts, so blank lines that may
18657 be inserted do not break list's structure. Then, mark list with
18658 special properties required by exporters. Thus output from babel
18659 can easily be included in lists.
18660 (org-export-mark-list-end): New function.
18661 (org-export-mark-list-properties): New function.
18662 (org-export-mark-lists): Remove function. It was split into the
18663 two preceding functions.
18665 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18667 * org-list.el (org-update-checkbox-count): Do not recompute every
18668 list before next heading when there are more than one cookie in an
18669 headline. Moreover, ignore the case where cookie is inserted
18670 neither at an heading nor at an item.
18672 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18674 * org-list.el (org-sort-list): Fix number of arguments to
18675 `org-list-repair', plus make `end-record' go to end of item before
18676 any blank line to keep them from being swallowed in the sorting.
18678 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18680 * org-list.el (org-list-forbidden-blocks): Rename from
18682 (org-list-export-context): New variable.
18684 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18686 * org-list.el (org-list-search-generic): Rename form
18687 `org-search-unenclosed-generic' to reflect the new behavior. Now,
18688 match can only be in a valid context for lists, as determined by
18689 `org-list-context'.
18690 (org-list-search-backward): Rename from
18691 `org-search-backward-unenclosed'.
18692 (org-list-search-forward): Rename from
18693 `org-search-forward-unenclosed'.
18694 (org-toggle-checkbox, org-update-checkbox-count): Use new
18696 (org-sort-list): Using default regexp search functions as context
18697 is not required in this case.
18699 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18701 * org-exp.el (org-export-mark-lists): New function, replacing
18702 org-export-mark-list-ending. It adds information as text
18703 properties to every list, before changes done by exporter destruct
18706 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18708 * org-list.el (org-list-get-first-item): New alias for
18709 `org-list-get-list-begin'.
18710 (org-list-get-last-item): New function.
18711 (org-list-get-list-end): Use `org-list-get-last-item'.
18713 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18715 * org.el (org-get-string-indentation): Move in generally useful
18716 functions section, as it wasn't specific to plain lists and that
18717 no code was using it in org-list.el.
18719 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18721 * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18724 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18726 * org-list.el (org-list-indent-item-generic): Remove error
18727 messages happening before process. This belongs to interactive
18729 (org-indent-item, org-indent-item-tree)
18730 (org-outdent-item, org-outdent-item-tree): Ensure point or region
18731 is correct before computing list structure. Return an error
18734 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18736 * org-list.el (org-apply-on-list): Use new structures.
18737 Function is now applied in reverse order so modifications do not change
18738 positions of items in buffer.
18740 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18742 * org-list.el (org-list-parse-list): Rewrite of function to allow
18743 text following a sub-list in the same item. See docstring for an
18745 (org-list-to-generic): Use new parsing function.
18746 (org-list-to-latex, org-list-to-html): Minor change for clearer
18749 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18751 * org-list.el (org-list-has-child-p): Rename from
18752 `org-list-get-child'. Returning first child is only useful as a
18753 predicate, as we are allowing an item to have more than one
18755 (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18756 of org-list-get-child.
18757 (org-in-item-p): Also return item beginning when list starts at
18759 (org-list-get-parent): Use of `org-list-struct-parent-alist'
18760 helper function is not optional anymore.
18761 (org-list-get-all-items): Shorten code with the help of cl.el.
18762 (org-list-get-children): Now returns all children of item, even if
18763 they do not belong to the same list. Renamed from
18764 `org-list-get-all-children'.
18765 (org-list-get-list-begin): Function wasn't return value when item
18766 was already the first item of the list at point.
18767 (org-list-get-list-end): Function wasn't return value when item
18768 was already the last item of the list at point.
18769 (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18770 `org-list-get-children'.
18772 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18774 * org.el (org-indent-line-function): Indentation of item's body
18775 starts just after the bullet, not after a checkbox. Moreover, As
18776 `org-in-item-p' also returns item beginning position when point is
18777 in a list, do not compute it a second time.
18779 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18781 * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18782 usage `org-repair-list', forcing another reading of the list, with
18783 only needed subroutines.
18785 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18787 * org-list.el (org-list-separating-blank-lines-number): Use new
18789 (org-list-insert-item-generic): Use list structures to insert a
18791 (org-list-exchange-items): Refactor and comment code. Now return
18792 new struct instead of modifying it, as list sorting would
18793 sometimes eat first item.
18794 (org-move-item-down, org-move-item-up): Reflect changes to
18795 `org-list-exchange-items'.
18796 (org-insert-item): As `org-in-item-p' also computes item beginning
18797 when applicable, reuse the result.
18799 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18801 * org-list.el (org-list-in-item-p): Unify methods for this
18803 (org-list-in-item-p-with-indent): Remove function.
18804 (org-list-ending-between): Remove function.
18805 (org-list-maybe-skip-block): Remove function.
18806 (org-list-in-item-p-with-regexp): Remove function.
18807 (org-list-top-point-with-regexp): Remove function.
18808 (org-list-top-point-with-indent): Remove function.
18809 (org-list-bottom-point-with-indent): Remove function.
18810 (org-list-bottom-point-with-regexp): Remove function.
18811 (org-list-get-item-same-level): Remove function.
18812 (org-list-top-point): Remove function.
18813 (org-list-bottom-point): Remove function.
18814 (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18815 be consistent with naming policy of non-interactive functions.
18816 (org-get-beginning-of-list): Remove function.
18817 (org-beginning-of-item-list): Use new accessors.
18818 (org-get-end-of-list): Remove function.
18819 (org-end-of-list): Use new accessors.
18820 (org-get-end-of-item): Remove function.
18821 (org-end-of-item): Use new accessors.
18822 (org-get-previous-item): Remove function.
18823 (org-previous-item): Use new accessors.
18824 (org-get-next-item): Remove function.
18825 (org-next-item): Use new accessors.
18826 (org-list-get-item-end-before-blank): Use new accessors.
18828 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18830 * org-list.el (org-list-repair): Remove optional argument
18831 FORCE-BULLET. The job of this interactive function is to
18832 completely fix a list at point. Changing bullets is a separate
18833 task. Also removed others optional arguments TOP and BOTTOM to
18834 follow the new structures.
18835 (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18836 STRUCT is a new required argument. This avoids computing a list
18837 structure many times when function is called more than once in a
18838 row, for example in `org-cycle-item-indentation'. Use new
18839 accessors. Now, also call `org-update-checkbox-count-maybe'.
18840 (org-outdent-item, org-indent-item, org-outdent-item-tree)
18841 (org-indent-item-tree): Remove need for TOP and BOTTOM.
18842 (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18843 (org-list-exchange-items): Use new accessors. Now modify struct
18844 to avoid re-reading it later.
18845 (org-move-item-down): Reflect changes to `org-list-repair'.
18847 (org-move-item-up): Reflect changes to `org-list-repair'. Use new
18849 (org-cycle-list-bullet): Use new structures. Also use a shortcut
18850 to `org-list-struct-fix-struct' in order to avoid unnecessary
18851 fixes, like `org-list-struct-fix-box'
18852 (org-sort-list): Use of new structures. Renamed an internal
18853 function for a little more clarity.
18854 (org-cycle-item-indentation): Remove dependency on
18855 `org-list-repair'. Use new accessors.
18856 (org-list-get-child): Correct bug when asking for the child of the
18858 (org-list-exchange-items): Use new accessors.
18860 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18862 * org-list.el (org-list-blocks): New variable.
18863 (org-list-context): New function.
18864 (org-list-full-item-re): New variable.
18865 (org-list-struct-assoc-at-point): Use new variable.
18866 (org-list-struct): Rewrite of function. Now, list data is
18867 collected by looking at the list line after line. It reads the
18868 whole list each time because reading only a subtree was not enough
18869 for some operations, like fixing checkboxes. It also removes the
18870 need to get `org-list-top-point' and `org-list-bottom-point'
18871 first. An added data is the position of item ending. This aims
18872 to be able to have list followed by text inside an item.
18873 (org-list-struct-assoc-end): New function.
18874 (org-list-struct-parent-alist): New function.
18875 (org-list-get-parent): New function.
18876 (org-list-get-child): New function.
18877 (org-list-get-next-item): New function.
18878 (org-list-get-prev-item): New function.
18879 (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18880 (org-list-get-all-items): New function.
18881 (org-list-get-all-children): New function.
18882 (org-list-get-top-point): New function.
18883 (org-list-get-bottom-point): New function.
18884 (org-list-get-counter): New function.
18885 (org-list-get-item-end): New function.
18886 (org-list-struct-fix-bul): Rewrite for cleaner code. Make use of
18888 (org-list-struct-fix-ind): Make use of new accessors.
18889 (org-list-struct-fix-box): New function.
18890 (org-list-struct-fix-checkboxes): Remove function.
18891 (org-list-struct-outdent): Use new accessors. Use the fact that
18892 there is no longer a virtual item at beginning of structure.
18893 (org-list-struct-indent): Use helper functions
18894 `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18895 Also use new accessors.
18896 (org-list-struct-fix-struct): Comment function. Call directly
18897 `org-list-struct-apply-struct', without removing unchanged items
18899 (org-list-struct-apply-struct): Comment function. Rewrite using
18900 new accessors. Use new variable `org-list-full-item-re'.
18901 (org-list-shift-item-indentation): Remove function, now included
18902 in `org-list-struct-apply-struct' because it is too specific.
18904 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18906 * org-list.el (org-toggle-checkbox): Use structures to fix
18907 checkboxes of a list.
18908 (org-update-checkbox-count): Use structures to update cookies.
18910 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18912 * org-list.el (org-list-struct-fix-checkboxes): New function.
18913 (org-checkbox-blocked-p): Remove function.
18915 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18917 * org-list.el (org-list-get-all-items): New function.
18918 (org-list-get-all-children): New function.
18919 (org-list-get-nth): New function.
18920 (org-list-set-nth): New function.
18921 (org-list-get-ind): New function.
18922 (org-list-set-ind): New function.
18923 (org-list-get-bullet): New function.
18924 (org-list-set-bullet): New function.
18925 (org-list-get-checkbox): New function.
18926 (org-list-set-checkbox): New function.
18927 (org-list-struct-fix-bul): Use new accessors.
18928 (org-list-repair): Use new accessors.
18929 (org-list-indent-item-generic): Make use of accessors.
18930 (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18931 (org-list-get-child): Rename from `org-list-struct-get-child'.
18932 (org-list-struct-fix-ind): Make use of accessors.
18933 (org-list-get-next-item): New function.
18934 (org-list-get-subtree): New function.
18936 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18938 * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18941 * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18942 value in structure.
18944 * org-list.el (org-list-struct-apply-struct): Also apply
18947 2011-07-28 Bastien Guerry <bzg@gnu.org>
18949 * org-latex.el (org-export-latex-content): Bind local variables
18950 for export in the temporary export buffer.
18952 2011-07-28 David Maus <dmaus@ictsoc.de>
18954 * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18955 (org-protocol-unhex-string, org-protocol-unhex-compound):
18956 Change date of obsolete declaration to 2011-02-17.
18958 2011-07-28 David Maus <dmaus@ictsoc.de>
18960 * org.el (org-link-escape): Throw error if encoding character in
18963 2011-07-28 David Maus <dmaus@ictsoc.de>
18965 * org-protocol.el (org-protocol-split-data)
18966 (org-protocol-open-source): Use `org-link-unescape' instead of
18967 obsolete unhex string function.
18969 2011-07-28 David Maus <dmaus@ictsoc.de>
18971 * org.el (org-link-escape, org-link-escape-chars-browser)
18972 (org-link-escape-chars): Always percent escape the percent sign.
18974 2011-07-28 David Maus <dmaus@ictsoc.de>
18976 * org.el (org-link-unescape): Simpler algorithm for replacing
18978 (org-link-unescape-compound): Use cond statements instead of nested
18979 if, convert hex string with string-to-number, save match data.
18980 (org-link-unescape-single-byte-sequence): Use mapconcat and
18981 string-to-number for unescaping single byte sequence.
18983 2011-07-28 David Maus <dmaus@ictsoc.de>
18985 * org.el (org-link-escape): Rename lambda argument.
18987 2011-07-28 David Maus <dmaus@ictsoc.de>
18989 * org.el (org-link-escape-chars-browser, org-link-escape-chars):
18990 Add percent sign to list of escape chars.
18992 2011-07-28 David Maus <dmaus@ictsoc.de>
18994 * org-mobile.el (org-mobile-escape-olp): Use new percent escape
18995 character table format.
18997 2011-07-28 David Maus <dmaus@ictsoc.de>
18999 * org-mobile.el (org-mobile-locate-entry): Remove obsolete
19000 argument in call to org-link-unescape.
19002 2011-07-28 David Maus <dmaus@ictsoc.de>
19004 * org-protocol.el (org-protocol-unhex-string)
19005 (org-protocol-unhex-compound)
19006 (org-protocol-unhex-single-byte-sequence): Declare obsolete and
19007 alias to respective org-link-unescape-* functions.
19009 2011-07-28 David Maus <dmaus@ictsoc.de>
19011 * org.el (org-link-unescape, org-link-unescape-compound)
19012 (org-link-unescape-single-byte-sequence): Functions moved and renamed
19013 from org-protocol.el.
19015 2011-07-28 David Maus <dmaus@ictsoc.de>
19017 * org-macs.el (org-char-to-string): Inline function to properly
19018 decode utf8 characters in Emacs 22. Moved and renamed from
19021 2011-07-28 David Maus <dmaus@ictsoc.de>
19023 * org.el (org-link-escape): New optional argument. Merge user
19024 table with default table.
19026 2011-07-28 David Maus <dmaus@ictsoc.de>
19028 * org.el (org-link-escape): Fixup doc string.
19030 2011-07-28 David Maus <dmaus@ictsoc.de>
19032 * org.el (org-link-escape-chars, org-link-escape-chars-browser):
19033 New format of percent escape table.
19034 (org-link-escape): Use new table format.
19036 2011-07-28 David Maus <dmaus@ictsoc.de>
19038 * org.el (org-link-escape): New Unicode aware percent encoding
19041 2011-07-28 Sebastian Rose <sebastian_rose@gmx.de>
19043 * org-protocol.el (org-protocol-unhex-single-byte-sequence):
19044 New function. Decode hex-encoded singly byte sequences.
19045 (org-protocol-unhex-compound): Use new function if decoding sequence
19046 as Unicode character failed.
19048 2011-07-28 Bastien Guerry <bzg@gnu.org>
19050 * org-html.el (org-export-as-html): Expand the HTML title.
19052 2011-07-28 Bastien Guerry <bzg@gnu.org>
19054 * org-publish.el (org-publish-cache-ctime-of-src):
19056 (org-publish-find-title): New option to explicitly reset the title
19058 (org-publish-format-file-entry): Use this new option.
19060 2011-07-28 Dan Davison <dandavison7@gmail.com>
19062 * org-exp.el (org-export-preprocess-string): Set the source buffer
19063 and use `org-clone-local-variables' to get local variables from
19066 2011-07-28 Dan Davison <dandavison7@gmail.com>
19068 * org-exp.el (org-export-format-source-code-or-example):
19069 Allow empty string as second element in minted/listings options.
19071 2011-07-28 Dan Davison <dandavison7@gmail.com>
19073 * org-exp.el (org-export-format-source-code-or-example):
19074 Support new user-customizable options.
19075 (org-export-latex-custom-lang-environments): Ensure new variable
19077 (org-export-latex-listings-options): Ensure new variable is defined.
19078 (org-export-latex-minted-options): Ensure new variable is defined.
19080 2011-07-28 Bastien Guerry <bzg@gnu.org>
19082 * org-html.el (org-export-as-html): Handle the case when
19083 `org-export-html-validation-link' is nil to keep backward
19084 compatible with the old default value of this variable.
19086 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19088 * ob.el (org-babel-insert-result): Don't choke if indent is not a
19091 2011-07-28 Christian Moe <mail@christianmoe.com> (tiny change)
19093 * org-bbdb.el (org-bbdb-export): When a link description has been
19094 added by `org-export-normalize-links', use path instead (remove
19095 the `bbdb:' prefix).
19097 2011-07-28 Bastien Guerry <bzg@gnu.org>
19099 * org-ascii.el (org-export-ascii-underline): Put the level's
19100 characters in the right order, as documented by the docstring.
19101 (org-ascii-level-start): Select the right char for underlining
19104 2011-07-28 Bastien Guerry <bzg@gnu.org>
19106 * org-src.el (org-edit-src-code): Allow to edit source code from
19107 modes derived from Org.
19109 2011-07-28 Niels Giesen <niels.giesen@gmail.com>
19111 * org-clock.el (org-clock-clocktable-language-setup): Add list of
19114 2011-07-28 Dan Davison <dandavison7@gmail.com>
19116 * org-beamer.el: Mark frame as fragile when it is using minted for
19119 2011-07-28 Bastien Guerry <bzg@gnu.org>
19121 * org-agenda.el (org-agenda-date-later)
19122 (org-agenda-date-earlier): Enhance docstrings.
19123 (org-agenda-bulk-mark-regexp): Only match against headlines.
19124 Send a message when no entry is marked.
19125 (org-agenda-bulk-action): Fix bug about scattering deadlines.
19126 Send an error when trying to scatter outside an agenda or a
19127 timeline view. Silently fail when trying to scatter sexp entries.
19129 2011-07-28 Bastien Guerry <bzg@gnu.org>
19131 * org-clock.el (org-clock-clocktable-language-setup): New custom
19133 (org-clocktable-defaults): Set the default language.
19134 (org-clocktable-write-default): Use the new variable.
19136 2011-07-28 Dan Davison <dandavison7@gmail.com>
19138 * ob.el (org-babel-src-block-names): Don't strip text properties
19140 (org-babel-result-names): Don't strip text properties from search
19143 2011-07-28 Dan Davison <dandavison7@gmail.com>
19145 * ob-python.el (org-babel-python-evaluate-session): Pass nil as
19146 remove-echo part of META argument to
19147 `org-babel-comint-with-output'.
19149 2011-07-28 Dan Davison <dandavison7@gmail.com>
19151 * ob.el (org-babel-script-escape): Use `substring' comparison
19152 instead of regexp matching.
19154 2011-07-28 Dan Davison <dandavison7@gmail.com>
19156 * org-src.el (org-edit-src-code): When generating the code edit
19157 buffer, it is necessary for several variables to inherit their
19158 values from the parent org buffer. These changes collect all such
19159 variables together into a single association list of
19160 `(variable-name value)' pairs. In addition, a new variable is
19161 added to the list: `org-edit-src-content-indentation'. This has
19162 the effect that a buffer local value can be used for that
19165 2011-07-28 Dan Davison <dandavison7@gmail.com>
19167 * ob-table.el (sbe): Don't truncate sbe results.
19169 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19171 * org-exp.el (org-export-add-options-to-plist): Require match to
19172 start at a word-boundary.
19174 2011-07-28 Bastien Guerry <bzg@gnu.org>
19176 * org-latex.el (org-export-latex-hyperref-format):
19179 2011-07-28 Tom Dye <tsd@tsdye.com>
19181 * org.el: Update documentation of `org-add-link-type'.
19183 2011-07-28 Dan Davison <dandavison7@gmail.com>
19185 * org.el (org-open-at-point): Fix bug when using prefix arg to
19186 construct `org-link-search' call. Rename prefix arg with a more
19187 generic name, to reflect its diverse uses in this function.
19189 2011-07-28 Rémi Vanicat <vanicat@debian.org>
19191 * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
19192 (org-icalendar-date-time-format): New custom variable.
19193 (org-icalendar-use-UTC-date-timep): New function.
19194 (org-ical-ts-to-string): Use the new variable.
19196 2011-07-28 Bastien Guerry <bzg@gnu.org>
19198 * org-vm.el (org-vm-store-link): Make sure the buffer is
19199 associated with a file when trying to store an Org link.
19201 2011-07-28 Dan Davison <dandavison7@gmail.com>
19203 * ob.el (org-babel-params-from-properties): Test for
19204 "header-arg-name" and ":header-arg-name", in that order.
19206 2011-07-28 Bastien Guerry <bzg@gnu.org>
19208 * org-capture.el (org-capture-templates): Document "currentfile"
19209 for capture template.
19210 (org-capture-templates): Allow to use currentfile for capture
19212 (org-capture-set-target-location): Handle currentfile as a way to
19213 setting the capture buffer.
19215 2011-07-28 Bastien Guerry <bzg@gnu.org>
19217 * ob.el (org-babel-params-from-properties): Don't wrap
19218 `org-entry-get' into `condition-case'.
19220 2011-07-28 Dan Davison <dandavison7@gmail.com>
19222 * org.el (org-entry-get): Don't look for a property drawer if we
19223 are before the first heading in the file.
19224 (org-entry-get-with-inheritance): Don't attempt to move up the
19225 tree if we are before the first heading in the file. Also,
19226 enclose less of the function in the `save-excursion'.
19228 2011-07-28 Dan Davison <dandavison7@gmail.com>
19230 * ob.el (org-babel-params-from-buffer): Return desired value
19231 rather than nil from failed re search.
19233 2011-07-28 Bastien Guerry <bzg@gnu.org>
19235 * org-agenda.el (org-get-entries-from-diary): Put multiline diary
19236 entries on a single line when lines don't start with a diary time.
19238 2011-07-28 Bastien Guerry <bzg@gnu.org>
19240 * org-html.el (org-export-html-protect-char-alist): New custom
19241 variable to define characters to be HTML protected.
19242 (org-html-protect): Use the new variable.
19244 2011-07-28 Bastien Guerry <bzg@gnu.org>
19246 * org-info.el (org-info-store-link): Use "#" to separate the info
19248 (org-info-follow-link): Use both "#" to separate the info file and
19249 the node. Continue to use ":" for backward compatibility.
19251 2011-07-28 Bastien Guerry <bzg@gnu.org>
19253 * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
19255 (org-print-icalendar-entries): Use this new variable to prevent
19256 export of entries with a :noexport: tag.
19258 2011-07-28 Bastien Guerry <bzg@gnu.org>
19260 * org-exp.el (org-export-initial-scope): New custom variable.
19261 (org-export): Use this new variable. If there is an active
19262 region, tell it when prompting the user for an export command.
19263 Also change the way the function handles selection of buffer and
19266 2011-07-28 Bastien Guerry <bzg@gnu.org>
19268 * org-html.el (org-export-html-auto-preamble)
19269 (org-export-html-auto-postamble): Remove.
19270 (org-export-html-preamble, org-export-html-postamble): Turn into
19271 custom variables. Update the docstrings.
19272 (org-export-html-preamble-format)
19273 (org-export-html-postamble-format): New custom variables.
19274 (org-export-as-html): Use `org-export-html-postamble-format' and
19275 `org-export-html-preamble-format'.
19276 (org-export-html-title-format): Delete.
19278 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19280 * org-exp-blocks.el (org-export-blocks-format-ditaa):
19281 This function is begin deprecated in favor of begin_src blocks.
19282 (org-export-blocks-format-dot): This function is begin deprecated in
19283 favor of begin_src blocks.
19285 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19287 * ob.el (org-babel-header-arg-names): no-expand is now part of the
19288 default header argument names list.
19290 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
19292 * org-publish.el (org-publish-sitemap-date-format)
19293 (org-publish-sitemap-file-entry-format): New custom variables.
19294 (org-publish-projects): Use these variables to format the sitemap
19297 2011-07-28 Ulf Stegemann <ulf-news@zeitform.de>
19299 * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
19300 from `message-mode'.
19302 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19304 * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
19305 updating the filter while the clock report is following the
19308 2011-07-28 Julien Danjou <julien@danjou.info>
19310 * org-agenda.el (org-agenda): Kill all local variables.
19311 This assures we are not keeping buffer variable from an old agenda view
19312 when switching to a new custom agenda.
19314 2011-07-28 Julien Danjou <julien@danjou.info>
19316 * org-crypt.el (org-encrypt-string): New function.
19317 (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
19318 cached crypted values.
19319 (org-decrypt-entry): Store crypted text in decrypted text.
19321 2011-07-28 Dan Davison <dandavison7@gmail.com>
19323 * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
19324 if a non-nil result is returned.
19326 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19328 * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
19331 2011-07-28 Bastien Guerry <bzg@gnu.org>
19333 * org.el (org-update-parent-todo-statistics): Fix bug when
19334 updating statistics from the column view.
19336 2011-07-28 Bastien Guerry <bzg@gnu.org>
19338 * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
19339 (org-agenda-menu): Add the new command to the menu.
19340 (org-agenda-mode-map): Add % as the keybinding for the new
19343 2011-07-28 Bastien Guerry <bzg@gnu.org>
19345 * org-exp.el (org-export-target-internal-links): Locally turn on
19346 `org-link-search-must-match-exact-headline' to match exact
19349 2011-07-28 Julien Danjou <julien@danjou.info>
19351 * org-faces.el (org-special-keyword): Make it inherited from
19352 `font-lock-keyword-face'.
19354 2011-07-28 Julien Danjou <julien@danjou.info>
19356 * org-faces.el (org-link): Make `org-link' inherits from `link'
19359 2011-07-28 Bastien Guerry <bzg@gnu.org>
19361 * org.el (org-narrow-to-block): New function to narrow to block.
19362 Bound this function to `C-x n b'.
19364 2011-07-28 Bastien Guerry <bzg@gnu.org>
19366 * org.el (org-schedule, org-deadline): Fix bug: take care of
19367 repeating timestamps like ".+1d/3d" or "+1d 10d".
19369 2011-07-28 Bastien Guerry <bzg@gnu.org>
19371 * org-agenda.el (org-agenda-repeating-timestamp-show-all):
19372 Allow to use a list of TODO keywords as the value of this variable.
19373 The agenda will show repeating stamps for entries matching these TODO
19375 (org-agenda-get-timestamps, org-agenda-get-deadlines)
19376 (org-agenda-get-scheduled): Allow the use of a list of keywords in
19377 `org-agenda-repeating-timestamp-show-all'.
19379 2011-07-28 Bastien Guerry <bzg@gnu.org>
19381 * org-latex.el (org-export-latex-emph-format): Don't use
19382 `org-export-latex-use-verb'. Remove this variable.
19384 2011-07-28 Jason Dunsmore <emacs-orgmode@dunsmor.com> (tiny change)
19386 * org-html.el (org-html-handle-time-stamps): Fix bug when
19387 exporting inactive timestamps.
19389 2011-07-28 Bastien Guerry <bzg@gnu.org>
19391 * org-archive.el (org-archive-save-context-info): Fix docstring
19393 (org-archive-subtree-add-inherited-tags): New variable to control
19394 whether inherited tags should be appended to local tags when
19395 archiving subtrees.
19396 (org-archive-subtree): Use the new variable.
19398 2011-07-28 Bastien Guerry <bzg@gnu.org>
19400 * org-archive.el (org-archive-save-context-info): Fix docstring.
19402 2011-07-28 Julien Danjou <julien@danjou.info>
19404 * org-crypt.el (org-decrypt-entry): Delete \n on top level
19405 heading. This avoids a display bug showing the heading outlined
19406 where the text is not since it does not have the outline property.
19407 Restore subtree visibility state after decryption.
19409 2011-07-28 Julien Danjou <julien@danjou.info>
19411 * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
19412 as a possible default span if it is set.
19414 2011-07-28 Dan Davison <dandavison7@gmail.com>
19416 * org-src.el (org-edit-src-persistent-message): Change docstring.
19417 (org-edit-src-code): Get rid of help message in echo area.
19419 * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
19420 argument to org-edit-src-code as this has been removed.
19422 2011-07-28 Bastien Guerry <bzg@gnu.org>
19424 * org-latex.el (org-export-latex-emphasis-alist):
19425 Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
19427 (org-export-latex-use-verb): Now defaults to t.
19428 (org-export-latex-emph-format): Distinguish between =...= and
19431 2011-07-28 Julien Danjou <julien@danjou.info>
19433 * org.el (org-link-expand-abbrev): Allow any type of character in
19436 2011-07-28 Dan Davison <dandavison7@gmail.com>
19438 * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
19440 2011-07-28 Dan Davison <dandavison7@gmail.com>
19442 * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
19443 resolving references.
19445 2011-07-28 Bastien Guerry <bzg@gnu.org>
19447 * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
19448 instead of <hr> to keep w3c validator happy.
19450 2011-07-28 Dan Davison <dandavison7@gmail.com>
19452 * ob.el (org-babel-where-is-src-block-head): Detect src block if
19453 point is on a #+header line.
19455 2011-07-28 Dan Davison <dandavison7@gmail.com>
19457 * ob.el (org-babel-where-is-src-block-head): Skip over intervening
19458 #+header lines when searching for block associated with block name
19461 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19463 * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
19464 the more specific `org-at-item-p'.
19466 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19468 * org-latex.el (org-latex-default-figure-position): New defcustom
19469 for default placement of latex figures.
19470 (org-export-latex-tables): Positioning tables using the new
19471 defcustom variable.
19472 (org-export-latex-format-image): Positioning images using the new
19473 defcustom variable.
19475 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19477 * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
19478 evaluated and :file header argument is missing.
19480 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19482 * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
19483 to do anything to export code.
19484 (org-babel-exp-results): No longer returns a replacement for the
19486 (org-babel-exp-inline-src-blocks): Simplify.
19487 (org-babel-exp-src-block): Remove unnecessary pluralization from
19490 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19492 * ob-exp.el (org-babel-exp-inline-src-blocks):
19493 Simplify exportation of inline code blocks using normal code block
19494 execution mechanism to insert results.
19495 (org-babel-exp-results): Results exportation mechanism is unified
19496 for both inline and regular code blocks.
19498 * ob.el (org-babel-where-is-src-block-result): Returns the point
19499 after an inline code block for inline code blocks.
19501 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19503 * ob.el (org-babel-insert-result): Special handling of the
19504 position of results of inline code blocks.
19505 (org-babel-examplize-region): Now able to comment inline regions.
19507 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19509 * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
19510 that \\[ a = b \\] is not interpreted as a keybinding by
19511 `substitute-command-keys'.
19513 2011-07-28 Dan Davison <dandavison7@gmail.com>
19515 * org-latex.el (org-export-as-latex): Process export property list
19516 with `org-export-process-option-filters' early in latex export.
19518 2011-07-28 Julien Danjou <julien@danjou.info>
19520 * org.el: Remove `org-invisible-p': `outline-invisible-p' is
19521 available in Emacs 22 and in recent XEmacs 21. Replace in various
19524 2011-07-28 Julien Danjou <julien@danjou.info>
19526 * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
19527 it must has \\ at the end of the line. This avoid matching the
19528 following heading when there's no newline between the logged state
19529 and the next heading.
19531 2011-07-28 Julien Danjou <julien@danjou.info>
19533 * org-agenda.el (org-format-agenda-item): Simplify time comuting.
19535 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
19537 * org.el (org-current-level, org-store-link, org-mark-subtree):
19538 Use `org-with-limited-levels'.
19540 2011-07-28 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19542 * org-publish.el (org-publish-get-base-files): Add sitemap file.
19544 2011-07-28 Matt Lundin <mdl@imapmail.org>
19546 * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
19547 (org-agenda-todo-ignore-scheduled): New option.
19548 (org-agenda-todo-ignore-timestamp): New option.
19549 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
19550 Allow user to specify custom distance to ignore (future or past).
19551 (org-agenda-todo-custom-ignore-p): New function.
19553 2011-07-28 Matt Lundin <mdl@imapmail.org>
19555 * org-habit.el (org-habit-parse-todo) Don't parse more days than
19558 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19560 * ob.el (org-babel-map-inline-src-blocks): Macro for executing
19561 code in each inline code block.
19562 (org-babel-execute-buffer): Executes inline code blocks as well as
19563 regular code blocks.
19565 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19567 * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
19568 blocks for removal.
19570 2011-07-28 Benjamin Drieu <bdrieu@april.org> (tiny change)
19572 * org-clock.el (org-clock-before-select-task-hook): New hook.
19573 (org-clock-select-task): Run new hook.
19575 2011-07-28 Julien Danjou <julien@danjou.info>
19577 * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
19578 events with range. This display things like: <2011-01-22 Sat
19579 14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
19580 at 14:00 and ending at 20:00.
19582 2011-07-28 Dan Davison <dandavison7@gmail.com>
19584 * ob.el (org-babel-inline-src-block-regexp): Character preceding
19585 "src_" can now be anything as long as it is neither alphanumeric
19588 2011-07-28 Dan Davison <dandavison7@gmail.com>
19590 * ob.el (org-babel-merge-params): Docstring typo.
19592 2011-07-28 Dan Davison <dandavison7@gmail.com>
19594 * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
19597 2011-07-28 Dan Davison <dandavison7@gmail.com>
19599 * ob.el (org-babel-get-src-block-info): Alter order of merge
19602 2011-07-28 Dan Davison <dandavison7@gmail.com>
19604 * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
19606 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19608 * ob.el (org-babel-insert-result): Ensure all parts of result
19609 wrappers end in newlines.
19611 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19613 * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
19614 optionally creates parent directories of tangle targets.
19616 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19618 * org-ascii.el (org-ascii-level-start): Catch the case of levels
19619 which do not have an equivalent in the list of underline
19622 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19624 * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
19625 the format string used to escape arguments to shell code blocks.
19627 2011-07-28 Julien Danjou <julien@danjou.info>
19629 * org-agenda.el (org-agenda-reset-view): New function.
19630 (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19632 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
19634 * org-exp.el (org-export-handle-include-files): Support :lines
19636 (org-get-file-contents): New argument lines to include specify a
19637 range of lines to include.
19639 2011-07-28 Bastien Guerry <bzg@gnu.org>
19641 * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19643 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19645 * org-latex.el (org-export-latex-make-header): Export email in
19646 author line if `org-export-email-info' is non-nil.
19648 2011-07-28 Julien Danjou <julien@danjou.info>
19650 * org-agenda.el (org-agenda-goto-today): Respect current span.
19652 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19654 * org-complete.el (pcomplete/org-mode/link)
19655 (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19656 before uniquifying.
19658 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19660 * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19661 linking comment type
19662 (org-babel-tangle-comment-links): Returns comment links for the
19663 source code block at point.
19665 2011-07-28 Bastien Guerry <bzg@gnu.org>
19667 * org.el (org-refile-check-position): Send a more explicit message
19668 on how to clear the cache before refiling again.
19670 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19672 * org-agenda.el (org-agenda-skip-function-global): New option.
19673 (org-agenda-skip-eval): New function.
19674 (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19675 the global skipping condition.
19677 2011-07-28 David Maus <dmaus@ictsoc.de>
19679 * org-html.el (org-export-as-html): Handle timestamps after
19682 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19684 * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19685 until either a matching block is found, or the limits of the file
19688 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19690 * ob.el (org-babel-update-block-body): Literal argument to
19691 `replace-match' to allow insertion of text containing '\'.
19693 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19695 * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19698 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19700 * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19702 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19704 * ob.el (org-babel-open-src-block-result): Must collect result
19705 *before* jumping to the result buffer.
19707 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19709 * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19710 used after update to regexp.
19712 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19714 * ob.el (org-babel-temp-file): Ensure that
19715 `org-babel-temporary-directory' is bound before using.
19716 (org-babel-remove-temporary-directory): Safer error throwing.
19718 2011-07-28 niels giesen <niels.giesen@gmail.com>
19720 * org-docbook.el (org-export-docbook-finalize-table): Do literal
19723 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19725 * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19726 resolve language names for evaluation.
19728 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19730 * org-capture.el (org-capture-templates): Add %f and %F escapes
19731 (org-capture): Add more information to capture property list
19732 (org-capture-fill-template): Handle %f and %F escapes.
19734 2011-07-28 David Maus <dmaus@ictsoc.de>
19736 * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19739 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19741 * org.el (org-occur-next-match): New function.
19742 (org-mode): Set the variable `next-error-function'.
19743 (org-highlight-new-match): Add an `org-type' property to the
19746 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19748 * ob-calc.el: No longer require `calc-trail' on XEmacs.
19750 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19752 * org.el (org-modules): Add `org-eshell'.
19754 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19756 * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19757 dynamically scoped variables.
19759 * org.el (org-modules): Move `org-special-blocks' into the core
19762 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19764 * org-special-blocks.el: New file.
19766 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19768 * org.el (org-plist-delete): Remove duplicate definition.
19770 2011-07-28 Bernt Hansen <bernt@norang.ca>
19772 * org-agenda.el (org-agenda-goto): Display invisible entry text.
19774 * org-agenda.el (org-agenda-switch-to): Display invisible entry
19777 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19779 * org.el (org-get-category): New optional argument FORCE-REFRESH.
19780 Automatically refresh if the property is not there.
19781 (org-entry-properties): Remove refresh - this is now done in
19784 * org-clock.el (org-clock-insert-selection-line):
19785 Let `org-get-category' do the property refresh.
19787 * org-archive.el (org-archive-subtree): Force a refresh of
19788 category properties.
19790 2011-07-28 Julien Danjou <julien@danjou.info>
19792 * org-icalendar.el (org-print-icalendar-entries): Do not manually
19793 refresh categories.
19795 2011-07-28 Dan Davison <dandavison7@gmail.com>
19797 * org.el (org-display-inline-images): Check for clear-image-cache
19800 2011-07-28 Bernt Hansen <bernt@norang.ca>
19802 * org.el: Document missing value for org-link-frame-setup.
19804 2011-07-28 Dan Davison <dandavison7@gmail.com>
19806 * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19807 user code prior to the R exception-handling, so that errors in
19808 user code are unhandled.
19810 2011-07-28 Dan Davison <dandavison7@gmail.com>
19812 * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19813 that a major-mode function corresponding to the language string
19816 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
19818 * org-exp.el (org-export-mark-list-ending): Insert additional
19819 newline characters if end-list-marker is at a wrong position.
19821 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19823 * ob.el (org-babel-script-escape): Replace commas with spaces for
19824 better list reading when list items are packed with commas,
19825 e.g. Haskell list output.
19827 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19829 * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19832 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19834 * ob.el (org-babel-confirm-evaluate): Fix for the case when
19835 org-confirm-babel-evaluate is a function (used to always ask no
19836 matter what the function returns).
19838 2011-07-28 Dan Davison <dandavison7@gmail.com>
19840 * ob-R.el: Delete duplicated function.
19842 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19844 * ob.el (org-babel-execute-src-block): Remove unused flet
19847 2011-07-28 Dan Davison <dandavison7@gmail.com>
19849 * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19850 signal that the intended content has been written to file.
19852 * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19853 the intended content has been written to file.
19855 * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19856 intended content has been written to file.
19858 * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19859 that the intended content has been written to file.
19861 * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19862 the intended content has been written to file.
19864 * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19865 that the intended content has been written to file.
19867 * ob-octave.el (org-babel-execute:octave): Return result; not name
19870 * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19871 signal that the intended content has been written to file.
19873 * ob-python.el (org-babel-execute:python): Return result; not name
19876 * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19879 * ob-sass.el (org-babel-execute:sass): Return nil if result has
19880 been written to file.
19882 2011-07-28 Dan Davison <dandavison7@gmail.com>
19884 * ob-R.el (org-babel-R-graphical-output-file): New function
19885 returns the name of the output file iff R has been instructed to
19886 send graphical output to file by means of the ":results graphics"
19888 (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19889 when constructing the R code to evaluate, which may be augmented
19890 with code implementing the writing of graohical output to file.
19891 (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19892 determine whether R is taking responsibility for writing output to
19893 file; if so, this is signaled to ob.el by returning a nil result.
19895 2011-07-28 Dan Davison <dandavison7@gmail.com>
19897 * ob.el (org-babel-format-result): New function to format results
19898 of src block execution.
19899 (org-babel-execute-src-block): Use `org-babel-format-result' when
19901 (org-babel-open-src-block-result): Use `org-babel-format-result'
19902 when displaying results in a buffer. Name results buffer
19905 2011-07-28 Dan Davison <dandavison7@gmail.com>
19907 * ob.el (org-babel-execute-src-block): Avoid calling
19908 `orgtbl-to-generic' on number results.
19910 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19912 * ob.el (org-babel-execute-src-block): Allow specification of
19913 table separator with :sep header argument.
19914 (org-babel-open-src-block-result): Allow specification of table
19915 separator with :sep header argument.
19917 2011-07-28 Dan Davison <dandavison7@gmail.com>
19919 * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19920 executing buffer (note that this handles execute subtree also).
19922 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
19924 * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19925 do not modify match data either.
19926 (org-inlinetask-goto-end): Small refactoring, remove
19928 (org-inlinetask-goto-beginning): Small refactoring, remove
19931 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19933 * org-capture.el (org-capture-set-target-location):
19934 Use `current-time'.
19936 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19938 * org-capture.el (org-capture-set-target-location):
19939 Use `current-time'.
19941 2011-07-28 Bernt Hansen <bernt@norang.ca>
19943 * org.el (org-before-first-heading-p): If point is on an org-mode
19944 heading line then we are not before the first heading.
19946 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
19948 * org-timer.el (org-timer-continue-hook): Define the variable
19949 (org-timer-pause-or-continue): Run hook after relative timer is
19952 2011-07-28 Julien Danjou <julien@danjou.info>
19954 * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19956 2011-07-28 Julien Danjou <julien@danjou.info>
19958 * org-capture.el (org-capture-fill-template): Use org-eval.
19960 2011-07-28 Julien Danjou <julien@danjou.info>
19962 * org-agenda.el (org-eval): New function.
19964 2011-07-28 Dan Davison <dandavison7@gmail.com>
19966 * ob.el (org-babel-execute-src-block): With :results file, when
19967 :file is not supplied, interpret result as a file link as long as
19970 2011-07-28 David Maus <dmaus@ictsoc.de>
19972 * org-latex.el (org-export-latex-preprocess): Don't convert link
19973 description parts that look like numeric footnote.
19975 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19977 * org-latex.el (org-export-latex-tables): Allowing specification
19978 of tabular[xy] inner environments through the ATTR_LaTeX line.
19980 2011-07-28 Julien Danjou <julien@danjou.info>
19982 * org-capture.el (org-capture-fill-template):
19983 Use `org-set-property' directly.
19985 2011-07-28 Julien Danjou <julien@danjou.info>
19987 * org-agenda.el (org-agenda-prefix-format): Add missing `search'
19990 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19992 * org-exp.el (org-export-string): Use `format' to construct
19993 function call to allow symbolic or string arguments.
19995 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19997 * org-capture.el (org-capture-place-entry):
19998 (org-capture-insert-template-here): Check tree for validity before
20001 2011-07-28 Julien Danjou <julien@danjou.info>
20003 * org-gnus.el (org-gnus-store-link): Trim date.
20005 2011-07-28 Julien Danjou <julien@danjou.info>
20007 * org.el (org-email-link-description): Allow to retrieve email
20010 2011-07-28 Lawrence Mitchell <wence@gmx.li>
20012 * org.el (org-make-target-link-regexp): `regexp-quote' target
20013 before replacing whitespace.
20015 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
20017 * ob.el (org-babel-expand-noweb-references): Noweb references can
20018 now be resolved from the library of babel.
20020 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
20022 * ob.el (org-babel-result-end): No longer leaving trailing new
20023 line after block removal.
20025 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
20027 * org-latex.el (org-export-latex-first-lines): Anchor outline
20028 regexp during LaTeX tree export.
20030 2011-07-28 Konrad Hinsen <konrad.hinsen@fastmail.net>
20032 * ob-python.el (org-babel-python-initiate-session-by-key):
20033 Make sure that py-which-bufname is initialized, as otherwise it will be
20034 overwritten the first time a Python buffer is created.
20036 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
20038 * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
20041 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
20043 * ob-org.el (org-babel-execute:org): Padding code block with an
20044 empty title on LaTeX export.
20046 2011-07-28 Matt Lundin <mdl@imapmail.org>
20048 * org.el (org-entry-properties): Stop scanning for timestamps if a
20049 specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
20050 requested and a match is found. Also, if a specific timestamp
20051 property is requested, do not push non-relevant timestamps onto
20054 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
20056 * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
20057 when grid is being made for today.
20059 2011-07-28 Matt Lundin <mdl@imapmail.org>
20061 * org-agenda.el (org-agenda-get-scheduled): Don't call
20062 `org-is-habit-p' until after checking for
20063 `org-agenda-skip-scheduled-if-done'.
20065 2011-07-28 Achim Gratz <Stromeko@nexgo.de>
20067 * org.el: Remove spurious linebreak introduced by earlier patch.
20069 * ob.el, ob-ref.el: Remove double fix of the same problem.
20071 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
20073 * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
20075 2011-07-28 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
20077 * org-html.el (org-export-html-mathjax-template):
20078 Displaymath environment and MathJax.
20080 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
20082 * org-faces.el (org-agenda-current-time): New face.
20084 * org-agenda.el (org-agenda-show-current-time-in-grid):
20085 (org-agenda-current-time-string): New options.
20086 (org-agenda-add-time-grid-maybe): Add current time to time grid.
20088 2011-05-10 Jim Meyering <meyering@redhat.com>
20090 Fix doubled-word typos.
20091 * org-agenda.el (org-agenda-entry-types): the the -> the
20092 * org-table.el (org-table-get-remote-range): or or -> or
20093 * org-wl.el (org-wl-folder-type): the the -> the
20094 * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
20096 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20098 * org-src.el (org-src-switch-to-buffer):
20099 * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
20100 * org-mouse.el (org-mouse-agenda-type):
20101 * org-freemind.el (org-freemind-node-to-org):
20102 * ob-sql.el (org-babel-execute:sql):
20103 * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
20104 * ob-ref.el (org-babel-ref-resolve): Fix use of case.
20106 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
20108 * Version 23.3 released.
20110 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
20112 * org.el (org-blank-before-new-entry, org-context-in-file-links)
20113 (org-refile-targets, org-log-repeat, org-insert-link)
20114 (org-speed-command-default-hook, org-speed-command-hook)
20115 (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
20116 Fix typos in docstrings.
20117 (org-toggle-pretty-entities): Fix typo in message.
20119 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
20121 * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
20123 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
20125 * org-remember.el (org-remember-mode-map):
20126 * org-src.el (org-src-mode-map): Move initialization into declaration.
20128 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
20130 * org-remember.el (org-remember-mode):
20131 * org-capture.el (org-capture-mode): Don't run hook redundantly.
20133 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
20135 * org-faces.el (org-link): Inherit from link face.
20136 Suggested by Joakim Verona.
20138 2010-12-11 Tassilo Horn <tassilo@member.fsf.org>
20140 * org-footnote.el (org-footnote-create-definition): Place
20141 Footnotes section before message-signature-separator also in modes
20142 derived from message-mode.
20144 2010-12-11 Julien Danjou <julien@danjou.info>
20146 * org.el (org-make-tags-matcher): Remove useless cat-p value.
20148 2010-12-11 Julien Danjou <julien@danjou.info>
20150 * org.el (org-entry-properties): Enhance docstring.
20152 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20154 * org-list.el (org-list-top-point-with-indent)
20155 (org-list-bottom-point-with-indent): Pay also attention to
20156 'original-indentation property of text, as blocks are put to
20157 column 0 upon exporting.
20159 2010-12-11 Dan Davison <dandavison7@gmail.com>
20161 * ob.el (org-babel-remove-temporary-directory): Handle exception
20162 with message informing of failure to remove directory.
20164 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20166 * ob-clojure.el (org-babel-header-arg-names:clojure): Add
20167 `package' to the list of Clojure header arguments which will be read
20168 from heading properties.
20170 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20172 * org-inlinetask.el (org-inlinetask-export-templates): Add
20173 Sébastien Vauban's suggestion for LaTeX export in docstring. This is
20174 not default as it requires an additional LaTeX package: "todonotes".
20176 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20178 * org-inlinetask.el (org-inlinetask-export-templates): New variable.
20180 * org-inlinetask.el (org-inlinetask-export-handler): Make use of
20181 templates to export inline tasks.
20183 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20185 * org.el (org-current-level): Ignore inline tasks when getting current
20188 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20190 * org.el (org-indent-line-function): Ignore drawers inside inline
20191 tasks if the line to indent isn't inside an inline task itself.
20193 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20195 * org-inlinetask.el (org-inlinetask-get-task-level): New function.
20197 * org-indent.el (org-indent-add-properties): Find true level of
20198 indentation wrt inline tasks.
20200 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20202 * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
20204 * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
20206 * org-inlinetask.el (org-inlinetask-goto-end): New function.
20208 * org.el (org-mark-subtree): New command.
20210 * org.el (org-speed-commands-default, org-mode-map): Make use of
20213 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20215 * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
20216 from @<span class...> so it can be removed during LaTeX export.
20218 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20220 * ob.el (org-babel-insert-result): More informative code block
20221 evaluation messages.
20223 2010-12-11 Matt Lundin <mdl@imapmail.org>
20225 * org.el (org-make-heading-search-string): Optionally limit number
20226 of lines stored in file link search strings.
20227 (org-context-in-file-links): Add option to set to integer specifying
20230 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20232 * org-capture.el (org-capture-finalize): New prefix argument
20234 (org-capture-refile): Improve docstring.
20236 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20238 * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
20239 interaction engine.
20241 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20243 * org-agenda.el (org-agenda-list):
20244 (org-agenda-goto-today): Use `org-today'.
20246 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20248 * org-latex.el (org-export-latex-make-header): Swap \begin{document}
20249 and the title/author definitions.
20251 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20253 * org-macs.el: Better backup definition for
20254 `with-silent-modifications'.
20256 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20258 * ob-python.el (org-babel-execute:python): Rename "prefix" to
20260 (org-babel-python-evaluate): Rename "prefix" to "preamble".
20261 (org-babel-python-evaluate-external-process): Rename "prefix" to
20264 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20266 * ob.el (org-babel-examplize-region): Check if `end' is a marker
20267 or a point and handle appropriately.
20269 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20271 * ob-sql.el (org-babel-execute:sql): Explicitly set field
20272 separator to \t when importing tabular data.
20274 2010-12-11 Julien Danjou <julien@danjou.info>
20276 * org-agenda.el (org-agenda-custom-commands-local-options):
20277 Allow org-agenda-span to be a symbol.
20278 (org-agenda-ndays): Make obsolete.
20279 (org-agenda-span): New variable superseding org-agenda-ndays.
20280 (org-agenda-menu): Use org-agenda-current-span.
20281 (org-agenda-current-span): New local variable storing current
20283 (org-agenda-list): Take a span instead of ndays as argument.
20284 This function is now responsible for computing the ndays based
20286 (org-agenda-ndays-to-span): Return span only if number of days
20288 (org-agenda-span-to-ndays): New function.
20289 (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
20290 (org-agenda-goto-today): Use org-agenda-compute-starting-span.
20291 (org-agenda-later): Do not give compute a new span, use the
20293 (org-agenda-day-view, org-agenda-week-view)
20294 (org-agenda-month-view, org-agenda-year-view): Stop touching
20296 (org-agenda-change-time-span): Only compute starting-span.
20297 (org-agenda-compute-starting-span): New function derived from
20298 the old org-agenda-compute-time-span.
20299 (org-agenda-set-mode-name): Compute mode based on
20300 org-agenda-current-span.
20301 (org-agenda-span-name): New function.
20303 2010-12-11 Robert Pluim <rpluim@gmail.com> (tiny change)
20305 * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
20307 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20309 * org-clock.el (org-quarter-to-date): Define variables.
20310 (org-clock-special-range): Defin variables. Use org-floor*.
20311 (org-clocktable-write-default): Define tcol.
20313 * org-compat.el (org-floor*): New function.
20315 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20316 John Wiegley <jwiegley@gmail.com>
20318 * org-complete.el: New file.
20320 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20322 * org-clock.el (org-clocktable-write-default): Fix the % formula.
20324 2010-12-11 Matt Lundin <mdl@imapmail.org>
20326 * org-agenda.el (org-format-agenda-item): The value of
20327 org-category is not converted to a string unless it is defined.
20329 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20331 * ob-python.el (org-babel-execute:python): Pass the new "prefix"
20332 header argument through to external evaluation.
20333 (org-babel-python-evaluate): Pass the new "prefix" header argument
20334 through to external evaluation.
20335 (org-babel-python-evaluate-external-process): When specified prepend
20336 "prefix" to the file used in external evaluation.
20338 2010-12-11 Dan Davison <dandavison7@gmail.com>
20340 * ob-python.el (org-babel-python-evaluate-session): Change python
20341 module name from 'pp' to 'pprint'.
20343 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20345 * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
20346 from R session output, these are often the result of variable
20349 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20351 * ob-sql.el (orgtbl-to-csv): Declaring an external function to
20352 fix a compiler warning.
20354 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20356 * ob-eval.el (require): No longer require ob.el to allow
20357 requiring by ob.el.
20359 * ob.el (ob-eval): Require ob-eval.
20361 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20363 * ob.el (org-babel-confirm-evaluate): Show code block's name when
20364 it is available during evaluation query.
20366 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20368 * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
20370 (org-babel-execute:sql): Use sql specific body expansion function.
20371 (org-babel-sql-expand-vars): Insert variables into a sql code block.
20373 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20375 * ob.el (org-babel-insert-result): Using markers instead of
20376 points for more robust buffer anchors.
20378 2010-12-11 Julien Danjou <julien@danjou.info>
20380 * org-capture.el: Use org-today.
20382 2010-12-11 Julien Danjou <julien@danjou.info>
20384 * org-habit.el: Use org-today.
20386 2010-12-11 Julien Danjou <julien@danjou.info>
20388 * org.el (org-auto-repeat-maybe): Use org-today.
20390 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20392 * org-clock.el (org-day-of-week): New function.
20393 (org-quarter-to-date): New function.
20394 (org-clock-special-range): Implement quarters.
20396 2010-12-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
20398 * org.el (org-complete-tags-always-offer-all-agenda-tags):
20401 2010-12-11 Julien Danjou <julien@danjou.info>
20403 * org-agenda.el (org-format-agenda-item): Convert category to a string
20404 if it is a symbol. This fixes the following call to
20405 org-agenda-get-category-icon which fails if category is not a string.
20407 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20409 * ob-clojure.el: Updated requirements documentation to mention
20410 the minimum version of Clojure.
20411 (org-babel-expand-body:clojure): Fully qualified function name.
20413 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20415 * org-latex.el (org-export-latex-lists): Do not add an
20416 unnecessary newline character after a list.
20418 * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
20419 point is just after a non blank line.
20421 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20423 * ob.el (org-babel-examplize-region): Remove old assertion which
20424 no longer applies to the result insertion code.
20426 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20428 * ob-python.el (org-babel-execute:python): Use a :return header
20429 argument for external evaluation in which the code block body need
20430 to be wrapped in a function.
20432 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20434 * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
20437 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20439 * org.el (org-edit-special): Edit formulas when in TBLMF line.
20441 2010-12-11 Allen S. Rout <asr@ufl.edu> (tiny change)
20443 * org-capture.el (org-capture-after-finalize-hook): New hook.
20444 (org-capture-finalize): Run the new hook.
20446 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20448 * ob-clojure.el (org-babel-expand-body:clojure): Support for
20449 pretty printing of Clojure code and data.
20451 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20453 * ob.el (org-babel-insert-result): No longer escape results which
20454 will be wrapped in a block.
20456 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20458 * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
20459 warning and added documentation string.
20461 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20463 * ob-clojure.el (org-babel-execute:clojure): Remade using slime
20464 for all code evaluation.
20466 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20468 * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
20469 the column as well.
20471 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20473 * ob.el (org-babel-confirm-evaluate): More descriptive message
20474 when evaluation is aborted or disabled.
20476 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20478 * ob.el (org-babel-insert-result): Responds to new "wrap" header
20480 (org-babel-merge-params): Includes new "wrap" header argument in
20481 one of the results header argument exclusive groups.
20483 2010-12-11 David Maus <dmaus@ictsoc.de>
20485 * org-macs.el (with-silent-modifications): Fix condition for
20486 with-silent-modification.
20488 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20490 * ob.el (org-babel-parse-header-arguments): Stripping trailing
20491 spaces off of header arguments (even the first one).
20493 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20495 * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
20496 single quotes which is the best practice.
20497 (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
20498 more robust parsing of shell output.
20500 2010-12-11 Dan Davison <dandavison7@gmail.com>
20502 * org.el (org-additional-option-like-keywords): Add more keywords,
20503 and colons to some old ones.
20505 2010-12-11 Dan Davison <dandavison7@gmail.com>
20507 * ob-eval.el (org-babel-error-buffer-name): Define new variable.
20509 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20511 * ob-python.el (org-babel-python-table-or-string):
20512 Using `org-babel-script-escape' for reading string input from scripting
20515 2010-12-11 Achim Gratz <Stromeko@nexgo.de> (tiny change)
20517 * org-macs.el (org-called-interactively-p): Wrap function call in
20519 (with-silent-modifications): Declare macro for Emacs < 23.2.
20521 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20523 * ob.el (org-babel-parse-header-arguments): Remove addition of
20524 ":" to singleton first header arguments as it was leading to errors.
20526 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20528 * org-latex.el (org-export-latex-make-header): Run the title through
20529 `org-export-latex-fontify-headline'.
20530 (org-export-latex-fontify-headline): Do the protection of math
20531 snippets also here.
20533 2010-12-11 Richard Lawrence <richard.lawrence@berkeley.edu>
20535 * org-latex.el (org-export-as-latex): Sent the section title
20536 through the preprocessor.
20538 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20540 * org-html.el (org-html-level-start): Mark listified headings
20543 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20545 * org.el (org-open-at-point): Don't do footnote action if cursor is
20548 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20550 * org.el (org-edit-special): Check also for TBLFM line.
20552 2010-12-11 Achim Gratz <Stromeko@Stromeko.DE> (tiny change)
20554 * org-clock.el (org-get-clocktable): Previous patch incorrectly
20555 required whitespace in front of #+BEGIN: and #+END:.
20557 2010-12-11 Dan Davison <dandavison7@gmail.com>
20559 * org-src.el (org-edit-src-code): Allow region to be inherited by
20560 edit buffer when mark is one character beyond end of src block.
20562 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20564 * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
20565 checking item indentation.
20567 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20569 * ob.el (org-babel-map-src-blocks): Move to earlier in the file
20570 and now autoloading.
20572 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20574 * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
20575 for testing list membership.
20577 * ob.el (org-babel-read-result): Use higher level function for
20578 testing list membership.
20579 (org-babel-result-end): Use higher level function for testing list
20582 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20584 * ob-sqlite.el (ob-eval): Require ob-eval for external command
20586 (org-babel-execute:sqlite): No longer uses the init option for
20587 passing commands to sqlite.
20589 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20591 * org.el (org-indent-line-function): Drawers and blocks have no
20592 influence on indentation of text below. Also fix indentation
20593 problem with a block at column 0 and add a special case for
20596 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20598 * ob.el (org-babel-map-src-blocks): Ensure that the file argument
20599 is only evaluated once.
20601 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20603 * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
20605 (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
20607 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20609 * ob-tangle.el (org-babel-load-file): Can be called interactively.
20611 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
20613 * org-table.el (orgtbl-after-send-table-hook): New hook.
20614 (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
20616 (orgtbl-send-table): Return the number of sent tables, or nil if no
20617 sending has happened.
20619 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20621 * org.el (org-get-priority-function): New option.
20622 (org-get-priority): Call `org-get-priority-function' if that
20625 2010-12-11 Dan Davison <dandavison7@gmail.com>
20627 * ob-table.el (org-babel-table-truncate-at-newline): Only add
20628 "..." if there is something after the newline.
20630 2010-12-11 Achim Gratz <Stromeko@nexgo.de> (tiny change)
20632 * org-clock.el (org-get-clocktable):
20633 (org-in-clocktable-p):
20634 (org-clocktable-shift):
20635 (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20637 2010-12-11 Puneeth Chaganti <punchagan@gmail.com>
20639 * org-exp.el (org-export-handle-include-files): Support :minlevel
20641 (org-get-file-contents): New argument minlevel to demote included
20644 2010-12-11 Noorul Islam <noorul@noorul.com>
20646 * org-latex.el (org-export-latex-hyperref-format): New option.
20647 (org-export-latex-href-format): Rename the existing variable
20648 `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20649 (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20650 `org-export-latex-href-format'.
20652 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20654 * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20655 buffer exists before it is used.
20657 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20659 * org-exp.el (org-export-preprocess-string): Delay code block
20660 processing a bit to allow correct list parsing in the export string.
20662 2010-12-11 Christopher Allan Webber <cwebber@dustycloud.org>
20664 * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20665 (org-agenda-time-of-day-to-ampm): New function.
20666 (org-agenda-time-of-day-to-ampm-maybe): New function.
20667 (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20669 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20671 * org-faces.el (org-cycle-level-faces): New option.
20673 * org.el (org-get-level-face): Honor org-cycle-level-faces.
20675 2010-12-11 Julien Danjou <julien@danjou.info>
20677 * org-agenda.el (org-agenda-today): New function.
20678 (org-agenda-get-day-face): New function.
20679 (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20680 (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20681 (org-todo-list): Use org-agenda-today.
20682 (org-get-all-dates): Use org-agenda-today.
20683 (org-agenda-day-face-function): New variable.
20684 (org-agenda-get-day-face): Use org-agenda-day-face-function.
20686 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20688 * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20691 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20693 * org-html.el (org-export-as-html): Do not treat partially
20694 protected lines as if they were fully protected.
20696 2010-12-11 Dan Davison <dandavison7@gmail.com>
20698 * org-exp.el (org-export-format-source-code-or-example):
20699 Remove hard-wired configuration of minted export
20700 (org-export-latex-minted-with-line-numbers): Remove variable.
20702 2010-12-11 Bastien Guerry <bzg@gnu.org>
20704 * org-clock.el (org-dblock-write:clocktable): Fix double
20705 reference to `link' in let construct.
20706 (org-clock-clocktable-formatter): Fix typo in docstring.
20707 (org-clocktable-write-default): Fix typo in docstring.
20709 2010-12-11 David Maus <dmaus@ictsoc.de>
20711 * org-protocol.el (org-protocol-unhex-string): Normalize percent
20712 escape sequence to upper case letters.
20714 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20716 * ob-lob.el (org-babel-lob-get-info): Include pass-through
20717 header arguments in results variable header argument string.
20719 2010-12-11 David Maus <dmaus@ictsoc.de>
20721 * org-exp.el (org-export-visible): Limit search for in-buffer options
20722 beginning of first headline.
20724 2010-12-11 David Maus <dmaus@ictsoc.de>
20726 * org.el (org-open-at-point): Remove stale link handler for news:
20729 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20731 * org-clock.el (org-clocktable-write-default): Better handling of
20734 2010-12-11 Julien Danjou <julien@danjou.info>
20736 * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20738 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20740 * org.el (org-indent-line-function): Simplify code and remove bug that
20741 would insert a tab at the beginning of the line when trying to
20744 2010-12-11 Julien Danjou <julien@danjou.info>
20746 * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20748 2010-12-11 Julien Danjou <julien@danjou.info>
20750 * org-agenda.el (org-agenda-prefix-format): Insert place holder
20752 (org-agenda-category-icon-alist): New option.
20753 (org-agenda-get-category-icon): New function.
20754 (org-format-agenda-item): Support for icons.
20755 (org-compile-prefix-format): Support for icons.
20757 2010-12-11 Julien Danjou <julien@danjou.info>
20759 * org-compat.el: Create defalias for `string-match-p' and
20762 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20764 * ob-calc.el (org-babel-execute:calc): Support for variables --
20765 converts :var variables in calc variables.
20767 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20769 * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20771 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20773 * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20775 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20777 * org-id.el (org-id-store-link): Test for org-mode before checking
20780 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20782 * org.el (org-shorten-string): New function.
20784 * org-exp.el (org-export-convert-protected-spaces): New function.
20785 (org-export-preprocess-string):
20786 Call `org-export-convert-protected-spaces' to handle new hard spaces.
20788 2010-12-11 David Maus <dmaus@ictsoc.de>
20790 * org.el (org-narrow-to-subtree): Check for heading that ends at end
20793 2010-11-12 Carsten Dominik <carsten.dominik@gmail.com>
20795 * org-capture.el (org-capture-templates): Remove autoload from
20798 * ob-lisp.el (slime): Don't expect slime to be present.
20800 2010-11-11 Dan Davison <dandavison7@gmail.com>
20802 * ob.el: `copy-sequence' suffices to copy alist; no need for
20805 2010-11-11 Dan Davison <dandavison7@gmail.com>
20807 * ob.el (org-babel-execute-src-block): If ":results file" is in
20808 effect, then ensure that the value of :file is returned as the
20809 result; don't rely on language files for this.
20811 2010-11-11 Dan Davison <dandavison7@gmail.com>
20813 * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20814 structure by side-effects of `sort'.
20816 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
20818 * org-list.el (org-list-bottom-point-with-indent): Do not check
20819 indentation of a non-empty blank line.
20821 * org-list.el (org-sort-list): Sort a list with point anywhere
20824 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20826 * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20827 hopefully better error messages.
20829 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20831 * org.el (org-babel-load-languages): Adding calc.
20833 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20835 * ob.el (org-babel-initiate-session): Don't resolve variable
20836 references unless prefix arg is supplied.
20838 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20840 * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20841 refers to the correct stack.
20843 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20845 * ob-calc.el: Adding the beginnings of support for calc code
20848 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20850 * ob-tangle.el (org-babel-update-block-body): Declaring function
20851 for updating code block bodies.
20852 (org-babel-spec-to-string):
20853 (org-babel-detangle): Detangle all tangled and commented code
20854 blocks in the current file back to org.
20855 (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20856 file back to the originating org-mode code block ob-tangle:
20857 detangle changes in code files back to the original org files.
20859 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20861 * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20862 (org-babel-tangle-comment-format-end): Fix typo.
20864 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20866 * org-exp.el (org-export-format-source-code-or-example):
20867 Use minted for latex source code export if `org-export-latex-listings'
20868 has the value 'minted.
20870 * org-latex.el (org-export-latex-listings): Document special value
20873 * org-latex.el (org-export-latex-minted): Delete variable.
20875 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20877 * ob.el (org-babel-get-src-block-info): Retrieve contents of
20878 parentheses, excluding parentheses themselves.
20880 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20882 * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20883 Fix bug in gnuplot data file assignment using user variables.
20885 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20887 * ob-latex.el (org-babel-execute:latex): Adding new :headers
20888 header argument for latex code blocks.
20890 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20892 * org-capture.el (org-capture-templates): New capture property
20894 (org-capture-finalize): Kill target buffer if that is desired.
20895 (org-capture-target-buffer): Remember if we have to make the buffer.
20897 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20899 * org-clock.el (org-dblock-write:clocktable): Fix bug when
20900 computing clock tables.
20902 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20904 * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20905 to caller even if no table is generated.
20907 2010-11-11 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
20909 * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20910 values from diary entries.
20912 * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20915 * org.el (org-diary-sexp-entry): Handle lists as return values
20916 from diary entries.
20918 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20920 * org-capture.el (org-capture-empty-lines-before):
20921 (org-capture-empty-lines-after): Make sure the n=0 does not insert
20924 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20926 * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20927 message when clojure binary is not found.
20929 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20931 * org-html.el (org-format-table-html): New argument DOCBOOK.
20932 (org-format-org-table-html): New argument DOCBOOK. When set, use
20933 align instead of class to align table fields.
20935 * org-docbook.el (org-export-as-docbook): Specify the docbook
20936 argument for the table converter.
20938 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20940 * org-macs.el (org-called-interactively-p): New macro.
20942 * org-freemind.el: No longer require 'rx.
20943 (org-freemind): New customization group, use it for all the
20945 (org-export-as-freemind): Add docstring.
20946 (org-freemind-show): Improve filen naming.
20947 (org-freemind-convert-links-helper): New function.
20948 (org-freemind-bol-helper-base-indent): New variable.
20949 (org-freemind-bol-helper): New function.
20950 (org-freemind-node-css-style): New option.
20951 (org-freemind-node-pattern): New variable.
20952 (org-freemind-from-org-mode): Better docstring.
20954 2010-11-11 David Maus <dmaus@ictsoc.de>
20956 * ob-haskell.el (org-babel-variable-assignments:haskell):
20957 Don't pass more than two arguments to mapc.
20959 2010-11-11 David Maus <dmaus@ictsoc.de>
20961 * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20963 2010-11-11 David Maus <dmaus@ictsoc.de>
20965 * org-footnote.el (message-signature-separator): Defvar to silence
20968 2010-11-11 David Maus <dmaus@ictsoc.de>
20970 * org-exp.el (org-export-string): Fix reference to wrong symbol.
20972 2010-11-11 Jambunathan K <kjambunathan@gmail.com>
20974 * org.el (org-link-search): Return 'dedicated on successful match
20975 when org-link-search-must-match-exact-headline is set to t.
20977 2010-11-11 Daniel Clemente <n142857@gmail.com>
20979 * org-html.el (org-html-make-link): Append fragment to file: links
20982 2010-11-11 Tassilo Horn <tassilo@member.fsf.org>
20984 * org-footnote.el (org-footnote-create-definition)
20985 (org-footnote-goto-local-insertion-point): Add footnotes before
20986 signature when in message-mode.
20988 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20990 * org.el (org-display-inline-images): Improve regexp.
20992 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20994 * org.el (org-cycle): Make sure resetting to startup visibility
20995 works after another cycle command.
20997 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20999 * org-exp.el (org-export-string): New function org-export-string
21000 can be used to convert a string of test in org-mode markup to a
21003 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21005 * org.el (org-display-inline-images): Allow non-ASCII characters
21006 in image file names. Save match data.
21008 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21010 * org.el (org-auto-repeat-maybe): Fix shifting multiple time
21013 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21015 * org-exp.el (org-store-forced-table-alignment):
21016 (org-export-remove-special-table-lines): Allow the "c" cookie for
21019 * org-html.el (org-export-table-header-tags):
21020 (org-export-table-data-tags): Add another %s format for the
21022 (org-export-html-table-align-individual-fields): New option.
21023 (org-format-org-table-html): Implement field-by-field alignment
21024 and support centering.
21025 (org-format-table-table-html): Make sure the new table tag formats
21026 don't break this function.
21028 * org-table.el (org-table-cookie-line-p):
21029 (org-table-align): Allow for the <c> cookie.
21031 * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
21033 2010-11-11 David Maus <dmaus@ictsoc.de>
21035 * org-exp.el (org-export-normalize-links): Skip normalization of
21036 plain links that are part of another link.
21038 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21040 * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
21042 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21044 * org-indent.el (org-indent-add-properties):
21045 Use `with-silent-modifications'.
21046 (org-indent-remove-properties): Use `with-silent-modifications'.
21048 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21050 * org-table.el (org-table-cookie-line-p): Fix indentation.
21052 * org-exp.el (org-store-forced-table-alignment): New function.
21053 (org-export-preprocess-string):
21054 Call `org-store-forced-table-alignment'.
21056 * org-html.el (org-format-org-table-html): Use stored alignment
21059 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21061 * ob.el (org-babel-execute-src-block): Respects prefix argument
21062 (which forces re-calculation).
21064 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21066 * ob.el (org-babel-execute-src-block): Remove needless param
21067 sorting from ob-execute-src-block, the params are sorted already
21070 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21072 * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
21073 header argument level.
21075 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21077 * ob.el (org-babel-sha1-hash): Consider words in different order
21078 as different input.
21080 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21082 * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
21084 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21086 * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
21087 structure of an Org-mode table (list of lists).
21089 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21091 * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
21092 (reference to unassigned variable `src-lang' and avoid calling
21093 org-babel-get-src-block-info twice.
21095 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21097 * ob.el (org-babel-demarcate-block): Update to reflect the new
21098 info list contents.
21100 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21102 * org-src.el (org-edit-src-code): Supply non-nil argument to
21103 `org-babel-get-src-block-info' to avoid resolving variable
21106 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21108 * ob.el (org-babel-map-src-blocks): Fix minor bug in and
21109 improved efficiency of org-babel-map-src-blocks.
21111 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21113 * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
21114 checks that a code block will actually be tangled before
21115 collecting it's full information (a process which could involve
21116 the execution of other code blocks).
21118 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21120 * ob.el (org-babel-demarcate-block): Use light version of
21121 `org-babel-get-src-block-info'.
21123 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21125 * ob.el (org-babel-sha1-hash): Now handles more complex types in
21128 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21130 * ob.el (org-babel-execute-src-block): Generally using the new
21131 more informative params
21132 (org-babel-process-params): Don't forget the :var portion of
21133 variable assignments.
21135 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21137 * ob-table.el (sbe): Simplify to reflect to var resolution.
21139 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21141 * ob-ref.el (org-babel-ref-resolve): Bringing the referent
21142 arguments back to their params before evaluation.
21144 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21146 * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
21149 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21151 * ob-table.el (sbe): Use `org-babel-process-params params' instead
21152 of `org-babel-expand-variables'.
21154 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21156 * ob-C.el (org-babel-C-execute): Remove call to
21157 org-babel-process-params which should no longer be called from
21158 within a language file.
21160 * ob-R.el (org-babel-execute:R): Remove call to
21161 org-babel-process-params which should no longer be called from
21162 within a language file
21163 (org-babel-R-variable-assignments): Remove call to
21164 org-babel-process-params which should no longer be called from
21165 within a language file.
21167 * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
21168 org-babel-process-params which should no longer be called from
21169 within a language file.
21171 * ob-clojure.el (org-babel-execute:clojure): Remove call to
21172 org-babel-process-params which should no longer be called from
21173 within a language file.
21175 * ob-dot.el (org-babel-execute:dot): Remove call to
21176 org-babel-process-params which should no longer be called from
21177 within a language file.
21179 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
21180 call to org-babel-process-params which should no longer be called
21181 from within a language file
21182 (org-babel-execute:emacs-lisp): Remove call to
21183 org-babel-process-params which should no longer be called from
21184 within a language file.
21186 * ob-haskell.el (org-babel-execute:haskell): Remove call to
21187 org-babel-process-params which should no longer be called from
21188 within a language file.
21190 * ob-js.el (org-babel-execute:js): Remove call to
21191 org-babel-process-params which should no longer be called from
21192 within a language file.
21194 * ob-lisp.el (org-babel-execute:lisp): Remove call to
21195 org-babel-process-params which should no longer be called from
21196 within a language file.
21198 * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
21199 org-babel-process-params which should no longer be called from
21200 within a language file.
21202 * ob-octave.el (org-babel-execute:octave): Remove call to
21203 org-babel-process-params which should no longer be called from
21204 within a language file.
21206 * ob-perl.el (org-babel-execute:perl): Remove call to
21207 org-babel-process-params which should no longer be called from
21208 within a language file.
21210 * ob-python.el (org-babel-execute:python): Remove call to
21211 org-babel-process-params which should no longer be called from
21212 within a language file.
21214 * ob-ruby.el (org-babel-execute:ruby): Remove call to
21215 org-babel-process-params which should no longer be called from
21216 within a language file.
21218 * ob-scheme.el (org-babel-execute:scheme): Remove call to
21219 org-babel-process-params which should no longer be called from
21220 within a language file.
21222 * ob-screen.el (org-babel-execute:screen): Remove call to
21223 org-babel-process-params which should no longer be called from
21224 within a language file
21225 (org-babel-prep-session:screen): Remove call to
21226 org-babel-process-params which should no longer be called from
21227 within a language file.
21229 * ob-sh.el (org-babel-execute:sh): Remove call to
21230 org-babel-process-params which should no longer be called from
21231 within a language file.
21233 * ob-sql.el (org-babel-execute:sql): Remove call to
21234 org-babel-process-params which should no longer be called from
21235 within a language file.
21237 * ob-haskell.el (org-babel-execute:haskell): Remove reference to
21240 * ob-clojure.el (org-babel-execute:clojure): Remove reference to
21243 * ob-R.el (org-babel-execute:R): Remove reference to processed
21246 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21248 * ob-sql.el (org-babel-execute:sql): Use generic expansion
21250 (org-babel-expand-body:sql): Delete function.
21252 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21254 * ob-sh.el (org-babel-execute:sh): Use generic expansion function
21255 (org-babel-expand-body:sh): Delete function
21256 (org-babel-prep-session:sh): Change name of called function
21257 (org-babel-variable-assignments:sh): Change function name.
21259 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21261 * ob-screen.el (org-babel-execute:screen): Use generic expansion
21263 (org-babel-expand-body:screen): Delete function
21264 (org-babel-prep-session:screen): Remove references to processed
21267 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21269 * ob-sass.el (org-babel-execute:sass): Use generic expansion
21271 (org-babel-expand-body:sass): Delete function.
21273 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21275 * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
21277 (org-babel-prep-session:ruby): Use new variable assignment
21279 (org-babel-variable-assignments:ruby): New function
21280 (org-babel-expand-body:ruby): Delete function.
21282 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21284 * ob-python.el (org-babel-execute:python): Use generic expansion
21286 (org-babel-prep-session:python): Change name of called function
21287 (org-babel-variable-assignments:python): Change function name
21288 (org-babel-expand-body:python): Delete function.
21290 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21292 * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
21293 (automatically handled by generic version).
21295 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21297 * ob-perl.el (org-babel-execute:perl): Use generic expansion
21299 (org-babel-expand-body:perl): Delete function
21300 (org-babel-variable-assignments:perl): New function.
21302 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21304 * ob-org.el (org-babel-expand-body:org): Delete function
21305 (automatically handled by generic version).
21307 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21309 * ob-octave.el (org-babel-execute:octave): Use generic expansion
21311 (org-babel-variable-assignments:octave): Change name of function
21312 (org-babel-variable-assignments:matlab): New defalias
21313 (org-babel-prep-session:octave): Change name of function
21314 (org-babel-expand-body:matlab): Delete function
21315 (org-babel-expand-body:octave): Delete function.
21317 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21319 * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
21321 (org-babel-variable-assignments:ocaml): New function
21322 (org-babel-expand-body:ocaml): Delete function.
21324 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21326 * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
21327 (automatically handled by generic version).
21329 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21331 * ob-js.el (org-babel-execute:js): Use new variable assignment
21333 (org-babel-expand-body:js): Delete function
21334 (org-babel-prep-session:js): Use new variable assignment function
21335 (org-babel-variable-assignments:js): New function.
21337 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21339 * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
21341 (org-babel-expand-body:haskell): Delete function
21342 (org-babel-prep-session:haskell): Use variable assignment function
21343 (org-babel-variable-assignments:haskell): New function.
21345 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21347 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
21348 assignment function
21349 (org-babel-prep-session:gnuplot): Use variable assignment function
21350 (org-babel-variable-assignments:gnuplot): New function.
21352 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21354 * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
21355 (automatically handled by generic version).
21357 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21359 * ob-css.el (org-babel-expand-body:css): Delete function
21360 (automatically handled by generic version).
21362 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21364 * ob-asymptote.el (org-babel-execute:asymptote): Use generic
21366 (org-babel-expand-body:asymptote): Delete function
21367 (org-babel-variable-assignments:asymptote): New function.
21369 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21371 * ob-R.el (org-babel-expand-body:R): Use new function
21372 `org-babel-variable-assignments:R'; don't trim body.
21373 (org-babel-execute:R): Respond to changes in
21374 `org-babel-expand-body:R'
21375 (org-babel-prep-session:R): Called function is now named
21376 `org-babel-variable-assignments:R'
21377 (org-babel-variable-assignments:R): Receives processed-params as
21378 new optional argument.
21380 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21382 * ob-C.el (org-babel-C-expand): Don't trim body.
21384 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21386 * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
21387 obtaining variable references.
21389 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21391 * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
21392 assignment lines to generic expansion command.
21394 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21396 * ob.el (org-babel-expand-src-block): Supply variable assignment
21397 lines to generic expansion function
21398 (org-babel-expand-body:generic): Prepend body with optional
21399 variable assignment lines.
21401 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21403 * ob-exp.el (org-babel-exp-results): Replaced old function call.
21405 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21407 * ob-lob.el (org-babel-lob-execute): Now expanding variable
21408 references before execution.
21410 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21412 * ob.el (org-babel-execute-src-block): Only sort parameters if
21413 it's required for caching.
21415 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21417 * ob-table.el (sbe): Reworking for better indentation and to
21418 integrate the new variable resolution.
21420 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21422 * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
21423 variables when resolving references.
21425 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21427 * ob.el (org-babel-merge-params): Fix order or precedence for
21430 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21432 * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
21433 * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
21434 (org-babel-R-variable-assignments):
21435 * ob-asymptote.el (org-babel-expand-body:asymptote)
21436 (org-babel-execute:asymptote):
21437 * ob-clojure.el (org-babel-expand-body:clojure)
21438 (org-babel-execute:clojure):
21439 * ob-css.el (org-babel-expand-body:css):
21440 * ob-ditaa.el (org-babel-expand-body:ditaa):
21441 * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
21442 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
21443 (org-babel-execute:emacs-lisp):
21444 * ob-gnuplot.el (org-babel-expand-body:gnuplot)
21445 * ob-haskell.el (org-babel-expand-body:haskell)
21446 (org-babel-execute:haskell, org-babel-load-session:haskell)
21447 (org-babel-prep-session:haskell):
21448 * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
21449 * ob-latex.el (org-babel-expand-body:latex):
21450 * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
21451 * ob-mscgen.el (org-babel-expand-body:mscgen):
21452 * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
21453 * ob-octave.el (org-babel-expand-body:matlab)
21454 (org-babel-expand-body:octave, org-babel-execute:octave)
21455 (org-babel-octave-variable-assignments):
21456 * ob-org.el (org-babel-expand-body:org):
21457 * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
21458 * ob-plantuml.el (org-babel-expand-body:plantuml):
21459 * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
21460 (org-babel-python-variable-assignments):
21461 * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
21462 * ob-sass.el (org-babel-expand-body:sass):
21463 * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
21464 * ob-screen.el (org-babel-expand-body:screen):
21465 * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
21466 (org-babel-sh-variable-assignments):
21467 * ob-sql.el (org-babel-expand-body:sql):
21468 * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
21469 * ob.el (org-babel-expand-body:generic):
21470 Remove obsoleted optional third argument.
21472 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21474 * ob-clojure.el (org-babel-prep-session:clojure): Purging all
21475 calls to removed org-babel-ref-variables.
21477 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21479 * ob-lob.el (org-babel-lob-ingest): Now returns the count of
21480 ingested code blocks.
21482 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21484 * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
21485 information from within the original export file.
21487 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21489 * ob.el (org-babel-get-src-block-info): Small but crucial fix)
21490 (this should return nil if not match found.
21492 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21494 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
21495 Whitespace (org-babel-execute:emacs-lisp): Whitespace.
21497 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21499 * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
21502 * ob-python.el (org-babel-python-variable-assignments):
21503 Provide missing docstring.
21505 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21507 * ob-octave.el (org-babel-expand-body:octave): Refactor: break
21508 variable assignment part out into a separate function
21509 (org-babel-octave-variable-assignments): New function constructing
21510 list of variable assignment statements
21511 (org-babel-prep-session:octave): Use new function
21512 `org-babel-octave-variable-assignments' instead of previous
21513 (incorrect) variable assignment code.
21515 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21517 * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
21518 assignment part out into a separate function
21519 (org-babel-sh-variable-assignments): New function constructing
21520 list of variable assignment statements
21521 (org-babel-prep-session:sh): Use new function
21522 `org-babel-sh-variable-assignments' instead of previous
21523 (incorrect) variable assignment code.
21525 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21527 * ob-python.el (org-babel-expand-body:python): Refactor: break
21528 variable assignment part out into a separate function
21529 (org-babel-python-variable-assignments): New function constructing
21530 list of variable assignment statements
21531 (org-babel-prep-session:python): Use new function
21532 `org-babel-python-variable-assignments' instead of previous
21533 (incorrect) variable assignment code.
21535 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21537 * ob-R.el (org-babel-expand-body:R): Refactor: break variable
21538 assignment part out into a separate function
21539 (org-babel-R-variable-assignments): New function constructing list
21540 of variable assignment statements
21541 (org-babel-prep-session:R): Use new function
21542 `org-babel-R-variable-assignments' instead of previous
21543 (incorrect) variable assignment code.
21545 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21547 * ob.el (org-babel-initiate-session): Better variable names.
21549 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21551 * ob.el (org-number-sequence):
21552 Declared * ob-R.el (org-number-sequence): Declared.
21554 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21556 * ob.el (org-babel-map-src-blocks): Store correct value of
21559 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21561 * ob.el (org-babel-mark-block): New function to mark the body of a
21562 src block in the style of `mark-defun'.
21564 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21566 * org-compat.el (org-number-sequence): New function.
21568 * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
21570 * ob.el (org-babel-where-is-src-block-result):
21571 Use `org-number-sequence'.
21572 (org-babel-current-buffer-properties): Fix variable definition.
21574 * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
21576 * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
21577 version of `shell-command'.
21579 * org-latex.el (org-export-as-pdf): Use the 2-argument version of
21582 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21584 * org-list.el (org-list-search-unenclosed-generic): Replace call
21587 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21589 * org.el (org-agenda-jump-prefer-future): New option.
21591 * org-agenda.el (org-agenda-goto-date):
21592 Use `org-agenda-jump-prefer-future'.
21594 2010-11-11 Noorul Islam <noorul@noorul.com>
21596 * org-latex.el (org-export-latex-links): Replaced hard coded
21597 hyperref format with custom variable
21598 `org-export-latex-hyperref-format'.
21600 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21602 * org.el (org-insert-heading): Fix docstring.
21604 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
21606 * org-capture.el (org-capture-place-entry): If the first line is
21607 already a headline, just stay there.
21609 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21611 * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
21614 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21616 * org-ascii.el (org-ascii-replace-entities): Match an optional {}
21619 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21621 * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
21624 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21626 * org.el (org-insert-heading): When on the headline of an inline
21627 task, insert another inline tasks.
21629 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21631 * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21632 links for blocks that will actually tangle.
21634 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21636 * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21637 in expanded shell bodies.
21639 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21641 * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21642 newline characters.
21644 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21646 * ob-sh.el (org-babel-expand-body:sh): Align code.
21648 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21650 * ob.el (org-babel-params-from-properties): Max line with at <=80.
21652 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21654 * org-latex.el (org-export-latex-listings-langs): Clojure is now
21655 recognized as a lisp.
21657 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21659 * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21660 to interpret property as header argument value.
21662 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21664 * ob.el (org-babel-parse-header-arguments): Simplify reading of
21667 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21669 * org-publish.el (org-publish-org-to-ascii):
21670 (org-publish-org-to-latin1):
21671 (org-publish-org-to-utf8): New functions.
21673 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21675 * org.el (org-insert-heading): Skip inline tasks when trying to
21676 insert a new heading after the end of the subtree.
21678 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21680 * org-inlinetask.el (org-inlinetask-min-level): Set customization
21681 type to integer or nil.
21683 * org.el (org-insert-heading): When after an inline task, do not
21684 use level but go back to headline level before the inline task.
21686 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21688 * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21690 * org.el (org-indent-line-function): Fix indentation of inline
21693 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21695 * org.el (org-activate-links): Fix customize type.
21697 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21699 * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21702 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21704 * org-latex.el (org-export-latex-minted): Document pygments
21707 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21709 * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21710 file if encryption has been turned on.
21711 (org-mobile-copy-agenda-files): Avoid double encryption of
21714 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21716 * org-exp.el (org-export-latex-minted-with-line-numbers):
21717 Ensure that variable is declared.
21719 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21721 * ob-python.el (org-src-preserve-indentation): Fix compiler
21724 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21726 * org-exp.el (org-export-format-source-code-or-example):
21727 Latex formatting of source code blocks using the minted package
21728 (org-export-plist-vars): Add :latex-minted property
21729 (org-export-latex-minted): Ensure variable is defined
21730 (org-export-latex-minted-langs): Ensure variable is defined.
21732 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21734 * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21736 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21738 * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21740 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21742 * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21743 when `org-src-preserve-indentation' is non-nil.
21745 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21747 * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21748 of blocks added to Library of Babel.
21750 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21752 * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21755 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21757 * org-beamer.el (org-beamer-place-default-actions-for-lists):
21758 Fix typo in regexp.
21760 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21762 * org-list.el (org-toggle-checkbox): Avoid some boundary error
21763 when inserting a checkbox in an empty last item of a list.
21765 2010-11-11 David Maus <dmaus@ictsoc.de>
21767 * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21768 Query article number from file is nil by default.
21770 2010-11-11 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
21772 * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21774 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21776 * org-capture.el (org-capture-place-entry): Move to `beg' before
21777 searching for `%?'.
21779 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21781 * org.el (org-format-latex): Fix mathjax treatment of single
21782 letters in between dollars.
21784 2010-11-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
21786 * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21789 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21791 * org.el (org-blank-before-new-entry): Improve docstring.
21793 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21795 * org-mobile.el (org-mobile-force-id-on-agenda-items):
21797 (org-mobile-write-agenda-for-mobile): Use outline path if we do
21798 not have an ID and are not allowed to make one.
21799 (org-mobile-get-outline-path-link): New function.
21801 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21803 * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21805 (org-mobile-write-agenda-for-mobile): Use the right name, even if
21806 the file get encrypted.
21807 (org-mobile-move-capture): Only delete tempfile if it does exist.
21809 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21811 * ob.el (org-babel-number-p): Fix documentation string.
21813 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21815 * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21816 "tangle" as a positive argument for the :noweb header argument
21819 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21821 * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21822 have links, with tests.
21824 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21826 * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21828 (org-export-latex-get-error): New function.
21829 (org-export-as-pdf): Give an indication of the errors that
21830 happened during processing.
21832 2010-11-11 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
21834 * org-exp.el (org-export-language-setup): Fix Polish entries.
21836 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21838 * org.el (org-set-tags): Allow comma as a separator when
21839 specifying tags at the completion interface.
21840 (org-tags-completion-function): Allow comma as a separator when
21841 specifying tags at the completion interface.
21843 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21845 * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21846 export-file if exporting from a buffer which is not visiting a
21849 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21851 * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21852 name in link construction if there is a heading to follow it.
21854 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21856 * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21857 as an allowed extension.
21859 2010-11-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
21861 * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21862 with zeros. Start applying face earlier.
21864 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21866 * ob.el (or): Don't create org-babel-temporary-directory in batch
21867 as it won't be removed by emacs-kill-hook
21868 (org-babel-remove-temporary-directory): Only try to remove this
21869 directory if it exists.
21871 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21873 * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21876 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21878 * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21879 the tangling message.
21881 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21883 * ob.el (org-babel-load-languages): Fixes compiler warning.
21885 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21887 * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21890 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21892 * org-ascii.el (org-export-as-ascii): Use the correct match group.
21894 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21896 * ob.el (boundp): Uncommenting defvar form for
21897 org-babel-temporary-directory
21898 (org-babel-temp-file): Now using the org-babel-temporary-directory
21899 for holding new babel temporary files
21900 (org-babel-remove-temporary-directory): Removes the babel temp dir
21901 when Emacs shutsdown
21902 (kill-emacs-hook): Now removing the babel temp dir on Emacs
21905 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21907 * org-capture.el (org-capture-fill-template): Initialize history
21910 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21912 * org-src.el (org-edit-src-code): Don't move point when generating
21915 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21917 * org-src.el (org-edit-src-code): Deal with point being in
21920 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21922 * org-table.el (org-table-current-column): Add interactive to turn
21923 this into a command.
21925 2010-11-11 Bernt Hansen <bernt@norang.ca>
21927 * org.el (org-insert-heading): Run org-insert-heading-hook when
21928 creating the first heading in a file.
21930 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21932 * org.el (org-startup-with-inline-images): New option.
21933 (org-startup-options): Add new keywords inlineimages and
21935 (org-mode): Inline images when this has been configured.
21937 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21939 * ob.el (org-babel-get-src-block-info): Remove optional
21940 HEADER-VARS-ONLY argument; further simplification.
21942 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21944 * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21945 prompt in ob-confirm-evaluate in some cases.
21947 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21949 * ob.el (org-babel-demarcate-block): Visible region and completion
21950 during language selection.
21952 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21954 * ob.el (org-babel-get-src-block-info): Remove comment.
21956 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21958 * ob.el (org-babel-get-src-block-info): Simplify function.
21960 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21962 * ob.el (org-babel-get-src-block-info): Form info list correctly
21963 when parenthesized arguments are missing.
21965 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21967 * ob-exp.el (org-export-babel-evaluate): Docstring typo
21968 (org-babel-exp-code): Docstring typo.
21970 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21972 * org-mobile.el (org-mobile-encryption-password):
21974 (org-mobile-encryption-password-session): New variable.
21975 (org-mobile-encryption-password): New function.
21976 (org-mobile-check-setup):
21977 (org-mobile-encrypt-file):
21978 (org-mobile-decrypt-file): Use the new function.
21980 2010-11-11 David Maus <dmaus@ictsoc.de>
21982 * org-capture.el (org-capture-place-template): Widen to remove
21983 possible restrictions in target buffer.
21985 2010-11-11 Jambunathan K <kjambunathan@gmail.com>
21987 * org.el (org-speed-command-hook): Add org-speed-command-hook
21988 (org-babel-speed-command-hook): Hook for Babel's speed commands.
21990 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21992 * ob.el (org-babel-execute-buffer): Re-implement using
21993 `org-babel-map-src-blocks'.
21995 2010-11-11 David Maus <dmaus@ictsoc.de>
21997 * org-capture.el (org-capture-templates): Update doc string with
21998 new message date related escapes.
22000 2010-11-11 David Maus <dmaus@ictsoc.de>
22002 * org-wl.el (org-wl-store-link-message): Define properties %:date)
22003 (%:date-timestamp, and %:date-timestamp-inactive.
22005 * org-mew.el (org-mew-store-link): Dto.
22007 * org-mhe.el (org-mhe-store-link): Dto.
22009 * org-rmail.el (org-rmail-store-link): Dto.
22011 * org-vm.el (org-vm-store-link): Dto.
22013 2010-11-11 David Maus <dmaus@ictsoc.de>
22015 * org-wl.el (org-wl-message-field): Always get literal content of
22018 2010-11-11 David Maus <dmaus@ictsoc.de>
22020 * org-gnus.el (org-gnus-store-link): Define properties
22021 %:date-timestamp and %:date-timestamp-inactive.
22023 2010-11-11 David Maus <dmaus@ictsoc.de>
22025 * org-gnus.el (org-gnus-store-link): Handle empty date header
22028 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
22030 * org.el (org-speed-command-hook): New. Hook for installing
22031 additional speed commands. Use this for enabling speed commands on
22033 (org-speed-command-default-hook): The default hook for
22034 org-speed-command-hook. Factored out from org-self-insert-command
22035 and mimics existing behavior.
22036 (org-self-insert-command): Modify to use org-speed-command-hook.
22038 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22040 * org-agenda.el (org-search-view): Recover spaces in search words
22041 if they were escaped with \ or inside a regexp.
22043 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22045 * org.el (org-additional-option-like-keywords): Add PROPERTIES to
22046 the list of completable meta line words.
22047 (org-complete): Complete property names after #+PROPERTY.
22049 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22051 * ob-python.el (org-babel-python-evaluate-session): Make temp file
22054 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22056 * ob-clojure.el (org-babel-clojure-evaluate-external-process):
22057 Delete extra format argument.
22059 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22061 * ob-org.el (org-babel-org-export): Typo in docstring.
22063 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22065 * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
22068 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22070 * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
22072 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22074 * ob.el (org-babel-process-file-name): New function
22075 (org-babel-maybe-remote-file): Delete function.
22077 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22079 * ob-C.el (org-babel-C-execute): Remove unused variable.
22081 2010-11-11 David Maus <dmaus@ictsoc.de>
22083 * org.el (org-make-link-string): Prevent superfluous colon.
22085 2010-11-11 David Maus <dmaus@ictsoc.de>
22087 * org.el (org-make-org-heading-search-string): Leave headline
22090 2010-11-11 David Maus <dmaus@ictsoc.de>
22092 * org.el (org-make-link-string): Don't escape characters in link
22095 2010-11-11 Bastien Guerry <bzg@gnu.org>
22097 * org-capture.el (org-capture-templates): Update docstring to
22098 advertise %:org-date.
22100 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22102 * ob-dot.el (org-babel-execute:dot): Automatically specifies
22103 "-T<ext>" based on file name extension.
22105 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22107 * ob-org.el (org-babel-org-export): Raise error on nested export
22110 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22112 * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
22115 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22117 * ob.el (org-babel-demarcate-block): Better initialization of
22120 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22122 * org-src.el (org-src-tab-acts-natively): Add customize interface.
22124 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22126 * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
22127 New variable allowing prevention of automatic stripping of leading and
22128 trailing blank lines when exiting edit buffer.
22129 (org-edit-src-exit): Respect value of
22130 `org-src-strip-leading-and-trailing-blank-lines'
22131 (org-src-native-tab-command-maybe):
22132 Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
22135 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22137 * org-src.el (org-edit-src-code): If mark was inside code block
22138 then code edit buffer inherits mark with active region.
22140 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22142 * ob.el (org-babel-demarcate-block): Fix compiler warnings.
22144 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22146 * ob.el (org-babel-demarcate-block): Better handling of empty
22147 space around demarcated area.
22149 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22151 * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
22154 2010-11-11 David Maus <dmaus@ictsoc.de>
22156 * org-gnus.el (org-gnus-open-nntp): New function.
22158 2010-11-11 David Maus <dmaus@ictsoc.de>
22160 * org-wl.el (org-wl-open-nntp): New function.
22162 2010-11-11 David Maus <dmaus@ictsoc.de>
22164 * org-wl.el (org-wl-open): Open message by numeric reference if
22165 article part is not a message id.
22167 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22169 * org-agenda.el (org-agenda-filter-apply): Move cursor to a
22172 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22174 * ob.el (org-babel-demarcate-block): Interactive demarcation of
22177 * ob-keys.el (org-babel-key-bindings): Key bindings for block
22180 2010-11-11 Bastien Guerry <bzg@gnu.org>
22182 * org.el (org-link-types): Add the "message" link type.
22184 2010-11-11 David Maus <dmaus@ictsoc.de>
22186 * org.el (org-link-types): Add 'message:' link type to default
22189 2010-11-11 Bastien Guerry <bzg@gnu.org>
22191 * org-gnus.el (org-gnus-store-link): Add the :date property to
22192 gnus links, allowing the use of %:date in capture templates.
22194 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22196 * org-list.el (org-cycle-list-bullet): Follow order of bullets
22197 indicated in doc-string.
22199 * org-list.el (org-list-bottom-point-with-indent): List is ended
22200 when a line is less indented that the last item, not the less
22203 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22205 * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
22206 original file before resolving code block parameters to ensure
22207 headline and buffer wide parameters are taken into consideration
22208 when only a narrowed portion of the file is exported.
22210 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22212 * org.el (org-forward-same-level): Fix docstring.
22214 2010-11-11 Sebastian Rose <sebastian_rose@gmx.de>
22216 * org-publish.el (org-publish-attachment): Put the attachment into
22217 the right directory.
22219 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
22221 * org.el (org-goto-first-child): New command.
22223 2010-11-11 Matt Lundin <mdl@imapmail.org>
22225 * org-agenda.el (org-prepare-agenda): If the agenda is called from
22226 within the agenda via an elisp link, such as
22227 [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
22228 of the file containing the link, since that buffer is current
22229 during org-prepare agenda (due to a with-current-buffer in
22230 org-agenda-open-link). An additional test now ensures that the
22231 agenda buffer is in fact current when the buffer is erased and
22232 local variables for the agenda are set.
22234 2010-11-11 David Maus <dmaus@ictsoc.de> (tiny change)
22236 * org-exp.el (org-infile-export-plist): Define property macro.
22238 2010-11-11 David Maus <dmaus@ictsoc.de>
22240 * org-mhe.el (org-mhe-get-header): Remove possible folding white
22241 space in message header field.
22243 2010-11-11 David Maus <dmaus@ictsoc.de>
22245 * org-feed.el (org-feed): Fix typo in customization group :tag
22248 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22250 * org-latex.el (org-export-latex-tag-markup): New option.
22251 (org-export-latex-keywords-maybe):
22252 Use `org-export-latex-tag-markup'.
22254 2010-11-11 Rémi Vanicat <vanicat@debian.org> (tiny change)
22256 * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
22257 (org-ical-ts-to-string): Use UTC time when requested.
22259 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
22261 * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
22262 from 'file' to 'http'.
22264 2010-11-11 David Maus <dmaus@ictsoc.de>
22266 * org.el (org-store-log-note): Fix wrong usage
22267 of`org-adapt-indentation'.
22269 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22271 * org.el (org-skip-over-state-notes): Do not compute bottom point
22274 * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
22275 instead of moving to each item.
22277 2010-11-11 David Maus <dmaus@ictsoc.de>
22279 * org-capture.el (org-capture-templates): Small fix in doc string.
22281 2010-11-11 aaa bbb <dominik@powerbook-g4-12-van-aaa-bbb.local>
22283 * org-archive.el (org-get-local-archive-location):
22284 Use `org-archive-location' as default.
22286 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22288 * ob-C.el (org): No longer requires org.
22290 * ob-ledger.el (org): No longer requires org.
22292 2010-11-11 David Maus <dmaus@ictsoc.de>
22294 * org.el (org-priority): Save match data before call to
22295 `read-char-exclusive'.
22297 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22299 * org-list.el (org-list-to-generic): Descriptions labels can be
22300 any suit of symbols, and will end at double colons.
22302 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22304 * org.el (org-indent-line-function): Indent past [@num] and
22305 [@start:num], consistently with what is already done with
22308 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22310 * org.el (org-store-log-note): Indent new notes to the right
22311 column. Also take `org-list-two-spaces-after-bullet-regexp' into
22312 consideration when creating the note.
22314 2010-11-11 David Maus <dmaus@ictsoc.de>
22316 * org-gnus.el (nnimap-group-overview-filename): Declare function
22317 to silence byte compiler.
22319 2010-11-11 David Maus <dmaus@ictsoc.de>
22321 * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
22322 New customization variable.
22323 (org-gnus-nnimap-cached-article-number): New function.
22324 (org-gnus-follow-link): Try to fetch cached article number of
22327 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22329 * ob-org.el (org-babel-org-default-header): Used to insert a dummy
22330 first line into code blocks before export so that the first line
22331 is not interpreted as a title
22332 (org-babel-org-export): Use new dummy code block prefix.
22334 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22336 * ob.el (org-babel-insert-result): No longer throws error when
22337 inserting an empty result.
22339 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22341 * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
22343 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22345 * ob.el (org-babel-do-in-edit-buffer):
22346 Use `org-babel-where-is-src-block-head' to test for source block at
22349 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22351 * ob-keys.el (org-babel-key-bindings): Adding key-binding for
22352 `org-babel-goto-src-block-head'.
22354 * ob.el (org-babel-goto-src-block-head): Jump to the head of the
22355 current code block.
22357 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22359 * ob.el (org-babel-next-src-block): Now raising more informative
22360 error when no further code blocks can be found.
22361 (org-babel-previous-src-block): Now raising more informative error
22362 when no previous code blocks can be found.
22364 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22366 * org-exp-blocks.el
22367 (org-export-preprocess-after-include-files-hook): Now using this
22368 hook instead of `org-export-preprocess-hook'.
22370 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22372 * ob-plantuml.el (org-babel-execute:plantuml): ????
22374 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22376 * ob-python.el (org-babel-python-evaluate): Refactor as call to
22377 either `org-babel-python-evaluate-external-process' or
22378 `org-babel-python-evaluate-session'.
22379 (org-babel-python-evaluate-external-process): New function to
22380 handle evaluation in external process.
22381 (org-babel-python-evaluate-session): New function to handle
22382 evaluation in emacs inferior process.
22384 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22386 * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
22387 or html respecting :results header arg
22388 (org-babel-org-export): Exports a string of text to an output
22391 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22393 * ob.el (org-babel-insert-result): Remove existing results when
22394 nil results are returned.
22396 2010-11-11 David Maus <dmaus@ictsoc.de>
22398 * org-ascii.el (org-export-as-ascii): Bind and set link path for
22399 link type specific markup function.
22401 2010-11-11 David Maus <dmaus@ictsoc.de>
22403 * org-clock.el (notifications-notify): Properly declare function
22404 to silence byte compiler.
22406 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22408 * org-list.el (org-insert-item): Check invisibility of point at a
22409 meaningful location.
22411 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22413 * org-list.el (org-list-insert-item-generic): Updating checkboxes
22414 can modify bottom point of a list, so make it a marker before
22415 calling `org-update-checkbox-count-maybe'.
22417 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22419 * org.el (org-src-fontify-natively): Set to nil by default.
22420 Supply customize interface.
22422 2010-11-11 Bastien Guerry <bzg@gnu.org>
22424 * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
22425 `org-bracket-link-analytic-regexp++' to match the link type.
22427 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22429 * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
22432 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22434 * ob-tangle.el (org-babel-tangle-comment-format-beg):
22435 Format string specifying the link-comment preceding a code block
22436 (org-babel-tangle-comment-format-end): Format string specifying
22437 the link-comment following a code block
22438 (org-babel-tangle-collect-blocks): Storing more information in the
22439 spec of a tangling code block
22440 (org-babel-spec-to-string): Now makes use of customizable
22441 link-comment formats.
22443 2010-11-11 Achim Gratz <Stromeko@stromeko.net> (tiny change)
22445 * org.el (org-delete-backward-char): Check for nil overwrite-mode
22446 before inserting spaces.
22448 2010-11-11 David Maus <dmaus@ictsoc.de>
22450 * org-icalendar.el (org-print-icalendar-entries): Exclude tags
22451 from summary of non-TODO ical entries.
22452 (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
22453 exclude tags from summary of TODO ical entries.
22455 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22457 * ob.el (org-babel-map-src-blocks): Now exposes much information
22458 about the code block in the form of let-bound local variables.
22460 2010-11-11 David Maus <dmaus@ictsoc.de>
22462 * org-list.el (org-outline-regexp, org-ts-regexp)
22463 (org-ts-regexp-both, org-in-regexps-block-p)
22464 (org-level-increment, org-at-heading-p)
22465 (outline-previous-heading, org-icompleting-read)
22466 (org-time-string-to-seconds): Declare to fix compiler warning.
22468 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22470 * org-list.el (org-toggle-checkbox): Ignore items in drawers when
22471 used from an heading. Send an error when no item is in region.
22473 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22475 * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
22476 ensure that edit buffer is exited.
22478 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22480 * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
22481 control the amount of extra newlines inserted into tangled code
22482 (org-babel-tangle-collect-blocks): Now conditionally collects
22483 information to be used for "org" style comments
22484 (org-babel-spec-to-string): Now inserts "org" style comments, and
22485 obeys the newline configuration variable when inserting whitespace.
22487 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22489 * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
22491 (org-babel-tangle): Calls new tangle hook.
22493 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22495 * org-capture.el (org-capture): Compute the length of the correct
22496 string when removing properties.
22498 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22500 * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
22501 names before shell quoting.
22503 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22505 * org-src.el (org-src-tab-indents-natively): New variable
22506 controlling whether language-native TAB action should be performed
22507 (org-src-native-tab-command-maybe): New function to perform
22508 language-native TAB action.
22509 (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
22511 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22513 * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
22514 `org-plantuml-jar-path' before use.
22516 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22518 * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
22519 language major mode buffers during fontification.
22521 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22523 * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
22524 match code blocks with switches and header args.
22525 Call `org-src-font-lock-fontify-block' for automatic fontification of
22526 code in code blocks, controlled by variable
22527 `org-src-fontify-natively'.
22528 (org-src-fontify-natively): New variable.
22530 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22532 * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
22535 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
22537 * org-html.el (org-html-make-link): (expand-file-name) removes
22538 one "/" from "///path-to-file", so add one. Anything other than
22539 'file' type should be exported along with the type.
22541 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
22543 * org.el (org-insert-subheading): Fix compiler warning
22544 (org-insert-todo-subheading): Fix compiler warning.
22546 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22548 * org-capture.el (org-capture): Remove read-only text properties
22550 (org-capture-set-target-location): Throw an error if file+headline
22551 target does not point into a file which is in Org mode.
22553 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22555 * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
22557 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22559 * org-src.el (org-edit-src-code): Improve docstring.
22561 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22563 * ob.el (org-babel-execute-src-block): Document prefix argument in
22566 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22568 * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
22569 org-ditaa-jar-path with expand-file-name.
22571 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22573 * ob.el (org-babel-execute-subtree): Pass prefix arg through to
22574 `org-babel-execute-src-block'.
22576 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22578 * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
22579 [@x] syntax for list numbering.
22581 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22583 * org.el (org-indent-line-function): Indentation of source block
22584 is left to `org-edit-src-exit' and shouldn't be modified by
22585 `org-indent-line-function'. Indentation of others blocks should be
22586 the same as the #+begin line.
22588 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22590 * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
22591 forms on source blocks in current buffer; restore point in current
22594 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22596 * org-list.el (org-list-struct): Accept list boundaries as an
22597 argument in order to avoid computing `org-list-top-point' and
22598 `org-list-bottom-point' twice when indenting.
22600 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22602 * org-list.el (org-list-ending-method): Default value is now
22603 `both', to ensure maximum compatibility before previous
22606 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22608 * org-list.el (org-list-in-item-p-with-indent): Test if first line
22609 is the item beginning.
22611 * org-list.el (org-list-top-point-with-indent): Test if first line
22612 is a valid list beginning.
22614 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22616 * org-list.el (org-list-ending-method): New customizable variable
22617 to tell Org Mode how lists end. See docstring.
22619 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22621 * org-list.el (org-indent-item-tree): Shifting step of top-level
22622 item depends on `org-level-increment'.
22624 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22626 * org.el (org-indent-line-function): Indent first non blank line
22627 after a list according to current heading level.
22629 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22631 * org-docbook.el (org-export-as-docbook): Remove check for
22632 indentation on lines that do not start with a list bullet.
22634 * org-html.el (org-export-as-html): Same thing.
22636 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22638 * org-list.el (org-list-bottom-point): Take into consideration
22639 that bound of search can be before true ending of the list.
22641 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22643 * org-list.el (org-list-struct-apply-struct): No longer shift
22644 item's body twice: one after replacing bullet and one after
22645 changing indentation.
22647 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22649 * org-list.el (org-list-struct-indent): Add code to replace
22650 bullets if needed when indenting.
22652 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22654 * org-list.el (org-list-insert-item-generic): A single item
22655 already counting blank lines in his body should be separated with
22656 the next one by a blank line. Moreover, if user already provided
22657 blank lines, follow his wishes.
22659 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22661 * org-list.el (org-indent-item-tree): When moving top item of a
22662 *-list to column 0, only the first item had its bullet changed to
22663 -. It now changes all items of the top-level list, as expected.
22665 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22667 * org-list.el (org-toggle-checkbox): Go to beginning of line
22670 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22672 * org-list.el (org-list-struct-apply-struct): Check if ancestor
22675 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22677 * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22680 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22682 * org-list.el: Removed unused variable
22683 `org-suppress-item-indentation'.
22685 * org-list.el (org-renumber-ordered-list): Skip item if bullet
22686 number is already good.
22688 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22690 * org-list.el (org-list-automatic-rules): Doc-string reflects this
22693 * org-list.el (org-indent-item-tree): Prevent whole list from
22694 being moved when user is not moving subtree.
22695 Thus `org-cycle-item-indentation' will not allow to move the list.
22697 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22699 * org-list.el (org-indent-item-tree): Remove region code. It was
22700 prone to errors and undocumented.
22702 * org-list.el (org-item-indent-positions): Better heuristics to
22703 determine what bullet the item will have when demoted.
22705 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22707 * org-list.el (org-list-bullet-string): First check if
22708 `org-list-two-spaces-after-bullet-regexp' isn't nil.
22710 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22712 * org-list.el (org-list-bullet-string): Do not modify match-data.
22714 * org.el (org-toggle-item): Now working again when changing list
22715 items into plain text. Moreover take into consideration
22716 `org-list-two-spaces-after-bullet-regexp'.
22718 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22720 * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22721 fix, and improved heuristics to determine bullet when indenting.
22723 * org-list.el (org-item-indent-positions): Function now returns
22724 sane results when there are two lists separated with blank lines
22727 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22729 * org-docbook.el (org-export-as-docbook): Use override="num" in
22730 any listitem matching [@start:num].
22732 * org-html.el (org-export-as-html): Use value="num" in any li
22733 matching [@start:num].
22735 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22737 * org.el (org-set-font-lock-defaults): Correct fontification for
22738 checkboxes found after [@start:?].
22740 * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22741 [@start:?] when looking at a regex after a bullet.
22743 * org-list.el (org-toggle-checkbox): Correct insertion of
22744 checkboxes when there is already a [@start:?] in the item.
22746 * org-list.el (org-checkbox-blocked-p): Properly check if there's
22747 an unchecked item before.
22749 * org-list.el (org-list-parse-list): Function handles items having
22750 both a counter and a checkbox.
22752 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22754 * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22755 stores both indentation and bullet when cycle started.
22757 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22759 * org-list.el: `org-at-description-p' renamed to
22760 `org-at-item-description-p', `org-first-list-item-p' renamed to
22761 `org-list-first-item-p', `org-end-of-item-text-before-children'
22762 renamed to `org-end-of-item-or-at-child'.
22764 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22766 * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22767 of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22768 before toggling a checkbox.
22770 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22772 * org-list.el (org-list-bullet-string): New function returning
22773 bullet concatenated with an appropriate number of white spaces.
22775 * org-list.el (org-list-insert-item-generic): Insert the right
22776 bullet, with help of `org-list-bullet-string'.
22778 * org-list.el (org-indent-item-tree):
22779 Use `org-list-bullet-string'.
22781 * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22783 * org-list.el (org-toggle-checkbox): Send an error when
22784 `org-toggle-checkbox' is trying to insert a checkbox at a
22787 * org-list.el (org-item-re): Modify regexp so it can catch
22788 correct number of white space before item body.
22790 * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22791 consideration new `org-item-re'.
22793 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22795 * org-list.el (org-list-insert-item-generic): The second item in a
22796 list will be separated from its predecessor with the number of
22797 blank lines separating the first item from its parent, if any, or
22800 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22802 * org-list.el (org-indent-item-tree): Fix and reorder every list
22803 and sublist, from parent of list that has moved if indenting, or
22804 from list at point if outdenting.
22806 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22808 * org-list.el (org-indent-item-tree): Try to keep relative
22809 position on line. It can't if point is in white spaces before
22810 bullet because mixed tabs and spaces make some columns
22813 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22815 * org-list.el (org-cycle-item-indentation): Cycle when the whole
22816 item only contains bullet and maybe a checkbox. Previously, TAB
22817 would cycle when the first line of the item was blank.
22819 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22821 * org-list.el (org-cycle-item-indentation): Allow a point just
22822 after a description item or a checkboxed item to start cycling.
22824 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22826 * org-list.el (org-cycle-list-bullet):
22827 Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22828 as valid bullets when cycling.
22830 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22832 * org-list.el (org-cycle-item-indentation): Do return t if and
22833 only if cycling is possible and succeded.
22835 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22837 * org-list.el (org-indent-item-tree): When outdenting a subtree,
22838 the last item shouldn't have a children.
22840 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22842 * org-list.el (org-cycle-item-indentation): Cycling should play
22843 nicely with indent rule in `org-list-automatic-rules'.
22845 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22847 * org-list.el (org-indent-item-tree): If indent rule is activated,
22848 it should be impossible to outdent an item having children without
22849 moving its subtree. Improved reordering of lists modified by
22850 cycling indentation.
22852 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22854 * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22855 `org-fix-bullet-type' to prevent infinite loop, and some checks
22856 already done in `org-renumber-ordered-list'.
22858 * org-list.el (org-fix-bullet-type): Remove a check and call
22859 directly `org-maybe-renumber-ordered-list'.
22861 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22863 * org-list.el (org-indent-item-tree): It shouldn't be possible to
22864 indent the first item of a sublist (though outdent is possible) as
22865 it would break list's structure.
22867 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22869 * org-list.el (org-list-insert-item-generic): When local search
22870 doesn't help, search the list globally for blank lines. Moreover,
22871 don't bother with new lists, and add 1 blank line.
22873 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22875 * org-capture.el (org-capture-place-item):
22876 Use `org-search-forward-unenclosed' and
22877 `org-search-backward-unenclosed' and new variable
22878 `org-item-beginning-re'.
22880 * org-list.el (org-item-beginning-re): Regexp matching beginning
22883 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22885 * org-list.el (org-cycle-list-bullet): Put back support for
22886 'previous argument.
22888 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22890 * org-list.el (org-in-item-p): Handle case when point is at an
22893 * org-list.el (org-list-make-subtree): Add protection when used
22896 * org-list.el (org-insert-item): Remove useless hack now
22897 `org-in-item-p' is fixed.
22899 * org-timer.el (org-timer-item): Remove useless hack now
22900 `org-in-item-p' is fixed.
22902 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22904 * org-list.el (org-cycle-list-bullet): Prevent description items
22905 from being numbered. String argument is also recognized now, as
22906 long as it is a valid bullet.
22908 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22910 * org-list.el (org-indent-item-tree): Moving indentation of top
22911 list item will make the whole list move.
22913 * org-list.el (org-apply-on-list): Function is less sensitive to
22914 changes of indentation.
22916 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22918 * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22921 * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22923 * org-list.el (org-cycle-item-indentation): Allow cycling
22924 description items and checkbox items.
22926 * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22928 * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22931 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22933 * org-list.el (org-insert-item-internal): Guessing of blank lines
22934 number is made by looking at neighboring items, if any.
22936 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22938 * org-list.el (org-sort-list): Add the possibility to sort timer
22939 lists with the ?t or ?T options.
22941 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22943 * org-list.el (org-search-unenclosed-internal): New function to
22944 handle both `org-search-forward-unenclosed' and
22945 `org-search-backward-unenclosed'.
22947 * org-list.el (org-search-backward-unenclosed): Can send errors
22948 now. Removed useless usage of COUNT.
22950 * org-list.el (org-search-forward-unenclosed): Can send errors
22951 now. Removed useless usage of COUNT.
22953 * org-list.el (org-update-checkbox-count):
22954 Use `org-search-forward-unenclosed' and
22955 `org-search-backward-unenclosed' instead of `re-search-forward'
22956 and `re-search-backward'.
22958 * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22959 and `org-search-backward-unenclosed' instead of
22960 `re-search-forward' and `re-search-backward'.
22962 * org-list.el (org-list-make-subtree):
22963 Use `org-search-forward-unenclosed' and
22964 `org-search-backward-unenclosed' instead of `re-search-forward'
22965 and `re-search-backward'.
22967 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22969 * org-list.el (org-insert-item-internal): Fixes the problem when
22970 point was before the first char of the item's body.
22972 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22974 * org-timer.el (org-timer-item): Refactoring. Compute timer string
22975 before inserting it in the buffer.
22977 * org-timer.el (org-timer): Add an optional argument to return
22978 timer string instead of inserting it.
22980 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22982 * org-list.el (org-insert-item-internal): New function to handle
22983 positioning and contents of an item being inserted at a specific
22984 pos. It is not possible anymore to split a term in a description
22985 list or a checkbox when inserting a new item.
22987 * org-list.el (org-insert-item): Refactored by using the new
22988 `org-insert-item-internal' function.
22990 * org-timer.el (org-timer-item): Refactored by using the new
22991 `org-insert-item-internal' function.
22993 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22995 * org-list.el (org-list-bottom-point): Be sure to check real
22996 ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
22998 * org.el (org-cycle-internal-local): Cycle up to end of subtree or
22999 end of item if we are in a list.
23001 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23003 * org-list.el (org-insert-item): Move before any special block in
23004 a list prior to add a new item.
23006 * org-timer.el (org-timer-item): When in a timer list, insert a
23007 new timer item like `org-insert-item'. If in another list, send an
23008 error. Otherwise, start a new timer list.
23010 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23012 * org-list.el: Minor refactoring.
23014 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23016 * org-timer.el (org-timer-item): Insert description list item at
23019 * org-list.el (org-insert-item): Insert the right number of blank
23020 lines before a relative timer.
23022 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23024 * org-list.el (org-insert-item): Remove restriction on latex
23027 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23029 * org-list.el (org-search-backward-unenclosed): Do not stop in
23032 * org-list.el (org-search-forward-unenclosed): Do not stop in
23035 * org-latex.el (org-export-latex-lists): Use the fact that
23036 org-search-forward do not stop anymore at protected places.
23038 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23040 * org-list.el (org-search-backward-unenclosed): Do not prevent
23041 list items from being inside LaTeX blocks.
23043 * org-list.el (org-search-forward-unenclosed): Do not prevent list
23044 items from being inside LaTeX blocks.
23046 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23048 * org-list.el (org-in-item-p): Do not widen before checking if we
23051 * org-list.el (org-list-send-list): We cannot count on
23052 `org-list-top-point' and `org-list-bottom-point' before buffer is
23053 narrowed. Find bounds of list otherwise.
23055 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23057 * org-list.el (org-list-end-regexp): By default, list ending is
23058 exactly 2 blank lines.
23060 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23062 * org-docbook.el (org-export-as-docbook): When we find an empty
23063 line, we do not need to check for
23064 `org-empty-line-terminates-plain-lists' because we would have
23065 found end-list marker before.
23067 * org-html.el (org-export-as-html): Same.
23069 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23071 * org-list.el (org-insert-item): Simplify count of blank lines to
23074 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23076 * org-list.el (org-list-end-regexp): New customizable variable to
23077 define what string should end lists.
23079 * org-list.el (org-list-end-re): Function is now aware of
23080 `org-list-end-regexp'.
23082 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23084 * org-html.el (org-export-as-html): Code cleanup.
23086 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23088 * org-docbook.el (org-export-as-docbook): Properly close any open
23089 list when seeing ORG-LIST-END. Removed any reference to now
23090 unneeded DIDCLOSE variable.
23092 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23094 * org-exp.el (org-export-mark-list-ending): Fix number of blank
23095 lines inserted after a list.
23097 * org-list.el (org-list-parse-list): Fix case when
23098 `org-list-end-re' would have an indentation greater than current
23101 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23103 * org-exp.el (org-export-mark-list-ending): Differentiate between
23104 export backends, and replace `org-list-end-re' by a blank line
23107 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23109 * org-html.el (org-export-as-html): Delete didclose and everything
23110 related to it, as it is no longer needed.
23112 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23114 * org-html.el (org-export-html-preprocess): Remove unneeded
23115 insertion of list end marker, as it is now handled by
23116 `org-export-mark-list-ending'.
23118 * org-html.el (org-export-as-html): Cleaner termination of lists.
23120 * org-exp.el (org-export-mark-list-ending): New function to insert
23121 specific markers at the end of lists when exporting to a backend
23122 not using `org-list-parse-list'. This function is called early in
23123 `org-export-preprocess-string', while it is still able to
23126 * org-latex.el (org-export-latex-lists): Better search for
23127 lists. It now only finds items not enclosed and not protected.
23129 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23131 * org-list.el: Replaced `re-search-forward' by
23132 `org-search-forward-unenclosed' where it made sense.
23134 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23136 * org-list.el (org-apply-to-list): Now a return value is handed at
23137 each new call of the function applied.
23139 * org-list.el (org-fix-bullet-type): Use the new
23140 `org-apply-to-list' format.
23142 * org-list.el (org-renumber-ordered-list): Use the new
23143 `org-apply-to-list' format.
23145 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23147 * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
23150 * org-list.el (org-search-forward-unenclosed): Better regexp used.
23152 * org-list.el (org-search-backward-unenclosed): Better regexp
23155 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23157 * org-list.el (org-sort-list): End-rec function was ill-defined.
23159 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23161 * org-list.el (org-search-forward-unenclosed): Fix behavior when
23162 last occurrence was enclosed.
23164 * org-list.el (org-search-backward-unenclosed): Fix behavior when
23165 last occurrence was enclosed.
23167 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23169 * org.el (org-in-regexps-block-p): Fix documentation.
23171 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23173 * org-list.el (org-search-backward-unenclosed): Fix block regexp.
23175 * org-list.el (org-search-forward-unenclosed): Fix block regexp.
23177 * org-list.el (org-list-parse-list): Minor fix.
23179 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23181 * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
23182 called with t argument.
23184 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23186 * org-html.el (org-export-html-preprocess):
23187 Replace `org-list-end-re' by a blank line during pre-process.
23189 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23191 * org-list.el (org-list-bottom-point): No need for square brackets
23192 for `skip-chars-backward'.
23194 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23196 * org-html.el: Do not delete space between end of list and
23197 beginning of the following.
23199 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23201 * org-html.el: Preprocess buffer string and add ORG-LIST-END where
23202 needed. Lists should not end before seeing this.
23204 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23206 * org-html.el: Notice end of lists.
23208 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23210 * org-list.el (org-list-parse-list): Better handling of
23211 restrictions when function is called on a list with sublists.
23213 * org-list.el (org-list-send-list): Find the true ending of the
23216 * org-list.el (org-list-radio-list-templates): Templates are more
23219 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23221 * ob-js.el (org-babel-js-eoe): Indicate end of input
23222 (org-babel-execute:js): Support for session evaluation
23223 (org-babel-prep-session:js): Fleshed out definition
23224 (org-babel-js-initiate-session): Can initiate a session using
23227 2010-11-11 David Maus <dmaus@ictsoc.de>
23229 * org.el (org-set-regexps-and-options): Protect escape char in
23230 `org-complex-heading-regexp-format'.
23232 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23234 * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
23235 session-based evaluation
23236 (org-babel-execute:scheme): Now supports session-based evaluation
23237 (org-babel-prep-session:scheme): Now works and defines variables
23238 (org-babel-scheme-initiate-session): Now works using run-scheme
23241 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23243 * org.el (org-export-latex-default-packages-alist): Remove the
23244 t1enc package - this is already covered by fontenc.
23246 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23248 * ob.el (with-parsed-tramp-file-name): Declared
23249 (org-babel-tramp-localname): Ensure variable name exists locally.
23251 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23253 * ob.el (org-babel-temp-file): Don't use babel temporary directory
23254 in remote case; use make-temp-file with remote file name so that
23255 temp file is guaranteed not to exist previously on remote machine.
23256 (org-babel-tramp-localname): New function to return local name
23257 portion of possibly remote file specification.
23259 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23261 * ob-R.el (org-babel-R-write-object-command): New unified R
23262 command for writing results to file
23263 (org-babel-R-wrapper-method): Remove variable
23264 (org-babel-R-wrapper-lastvar): Remove variable
23265 (org-babel-R-evaluate-external-process): Use new R command
23266 (org-babel-R-evaluate-session): Use new R command.
23268 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23271 (org-babel-comint-eval-invisibly-and-wait-for-file): New function
23272 to evaluate code invisibly and block until output file exists.
23274 * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
23275 evaluate R code in session for :results value. Write result to
23276 file invisibly using new function
23277 `org-babel-comint-eval-invisibly-and-wait-for-file'.
23279 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23281 * org-capture.el (org-capture-fill-template): Align tags after
23284 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23286 * org-exp.el (org-export-concatenate-multiline-emphasis):
23287 Ignore matches that start in a headline.
23289 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23291 * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
23292 and out-file in shell-quote-argument.
23294 2010-11-11 David Maus <dmaus@ictsoc.de>
23296 * org-docview.el (org-docview-store-link): Use expanded macro to
23298 (doc-view-goto-page, image-mode-window-get): Declare functions for
23301 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23303 * ob-scheme.el: Very preliminary support for evaluating scheme
23306 * org.el (org-babel-load-languages): Adding scheme.
23308 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23310 * ob.el (require): Remove circular (require 'org).
23312 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23314 * ob-R.el (ess-make-buffer-current): Declared.
23315 (ess-ask-for-ess-directory): Declared.
23316 (ess-local-process-name): Declared.
23317 * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
23319 * ob.el (org-edit-src-code): Fixing arguments.
23320 (org-edit-src-exit): Declared.
23321 (org-outline-overlay-data): Declared.
23322 (org-set-outline-overlay-data): Declared.
23324 2010-11-11 Glenn Morris <rgm@gnu.org>
23326 * ob.el: Require org when compiling.
23327 (org-save-outline-visibility): Remove macro declaration.
23329 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23330 Remove unnecessary/macro declarations.
23332 * org-docview.el: Require doc-view when compiling.
23333 (doc-view-goto-page): Autoload rather than declaring.
23334 (doc-view-current-page): Remove macro declaration.
23336 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23337 (org-entry-get, org-table-import): Fix declarations.
23338 (org-match-string-no-properties): Remove declaration.
23340 * ob-sh.el (org-babel-comint-in-buffer)
23341 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23342 (org-babel-comint-with-output): Remove unnecessary declarations.
23344 * ob-R.el (orgtbl-to-tsv): Fix declaration.
23346 * org-list.el (org-entry-get): Fix declaration.
23348 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23350 * ob.el (org-babel-remove-temporary-directory): Remove explicit
23353 2010-11-11 Magnus Henoch <magnus.henoch@gmail.com> (tiny change)
23355 * org-clock.el (org-clocktable-steps): Allow ts and te to be day
23358 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23360 * org-macs.el (org-save-outline-visibility): Move from org.el.
23362 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23364 * ob-org.el (org-babel-default-header-args:org): Additional
23365 ":results silent" default header argument for org code blocks.
23367 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23369 * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
23370 which is now an alias to ":eval no".
23372 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23374 * ob.el (org-babel-remove-temporary-directory): The version of
23375 `delete-directory' found in files.el can not be assumed to be
23376 present on all versions, so this copies the recursive behavior of
23377 that command in such a way that all calls to delete-directory will
23378 also work with the built-in internal C implementation of that
23379 function. This is not overly difficult as all elements of the
23380 directory can be assumed to be files.
23382 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23384 * ob-C.el (org-babel-C-execute): Corrected arguments to
23385 org-babel-temp-file.
23387 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23389 * ob.el (org-babel-temporary-directory): Variable to hold the
23390 value of the Babel temporary directory.
23392 2010-11-11 Aditya Siram <aditya.siram@gmail.com>
23394 * ob.el (org-babel-load-in-session): Expanding noweb references
23397 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23399 * org.el (org-make-link-regexps): Modify regexp of
23402 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
23404 * org-habit.el (org-habit-parse-todo): Find sr-days only if
23405 scheduled-repeat is non nil. Use 4th element of the list returned
23406 by (org-heading-components) as habit-entry. Modify the error
23407 message to be more meaningful.
23409 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23411 * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
23412 ":border" header arguments which both use the "preview" latex
23413 package to fit the resulting PDF image to the figure.
23415 2010-11-11 David Maus <dmaus@ictsoc.de>
23417 * org-wl.el (org-wl-store-link): Don't try to store link if point
23418 is at end of buffer.
23420 2010-11-11 Harri Kiiskinen <harkiisk@gmail.com>
23422 * org-publish.el (org-publish-project-alist): Document the new
23423 body-only property.
23424 (org-publish-org-to): Use the body-only property.
23426 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
23428 * org.el (org-store-link): Return link when invoked
23429 non-interactively from an agenda buffer.
23431 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
23433 * org.el (org-store-link): Storing of links to headlines in
23434 indirect buffers was broken. Fix it.
23436 2010-11-11 Aidan Kehoe <kehoea@parhasard.net>
23438 * ob-tangle.el (org-babel-tangle): Change the MODE argument to
23439 #'set-file-modes to use integer, not character syntax, avoiding
23440 compile problems with recent XEmacs.
23442 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23444 * org-agenda.el (org-agenda-add-entry-text): Make sure we move
23445 forward even if there is no text to be added.
23447 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23449 * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
23450 tags/property matcher.
23452 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23454 * org-exp.el (org-infile-export-plist): Bind case-fold-search to
23457 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23459 * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
23461 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23463 * org-latex.el (org-export-latex-set-initial-vars):
23464 Bind `case-fold-search' to t around the search for special LaTeX setup.
23466 * org-beamer.el (org-beamer-after-initial-vars):
23467 Bind `case-fold-search' to t around the search for special BEAMER
23470 2010-11-11 David Maus <dmaus@ictsoc.de>
23472 * org-agenda.el (org-write-agenda): Delete PostScript file after
23473 creating conversion to PDF.
23475 2010-11-11 David Maus <dmaus@ictsoc.de>
23477 * org-agenda.el (org-write-agenda): Move require statements to
23478 proper place in evaluated lisp expression.
23480 2010-11-11 David Maus <dmaus@ictsoc.de>
23482 * org-agenda.el (org-write-agenda): Rename temporary buffer to
23483 remove dependency of `flet' macro.
23485 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23487 * ob-lob.el (org-babel-lob-get-info): Edit docstring.
23489 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23491 * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
23492 from all standard sources when executing #+lob/#+call lines.
23494 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23496 * ob-R.el (org-babel-R-evaluate): Break the two branches into two
23498 (org-babel-R-evaluate-external-process): New function to handle
23499 external process evaluation
23500 (org-babel-R-evaluate-session): New function to handle session
23503 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23505 * ob.el (org-babel-initiate-session): New function derived from
23506 previous `org-babel-switch-to-session'
23507 (org-babel-switch-to-session): Refactored to use new
23508 `org-babel-initiate-session'.
23510 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23512 * ob.el (org-babel-switch-to-session): Supply missing "P" argument
23515 2010-11-11 David Maus <dmaus@ictsoc.de>
23517 * org-feed.el (org-feed-format-entry): Decode entry according to
23518 its character encoding.
23520 2010-11-11 David Maus <dmaus@ictsoc.de> (tiny change)
23522 * org-feed.el (xml-substitute-special): Declare function for byte
23524 (org-feed-unescape): Remove.
23525 (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
23526 Use `xml-substitute-special' to unescape XML entities.
23528 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23530 * ob.el (org-babel-switch-to-session): Throw error if block if
23531 :session not in effect for the block.
23533 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23535 * org-table.el (org-table-create-with-table.el): Align table
23538 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23540 * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
23541 that org-src buffer is current before attempting exit.
23543 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23545 * org-src.el (ob-comint): Require 'ob-comint
23546 (org-src-babel-info): Define variable.
23548 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23550 * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
23551 in the language major mode edit buffer.
23552 (org-babel-do-key-sequence-in-edit-buffer): New function to call
23553 an arbitrary key sequence in the language major mode edit buffer.
23555 * org-src.el (org-src-switch-to-buffer): Add new allowed value
23556 'switch-invisibly for `org-src-window-setup'.
23558 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23560 * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
23562 (org-src-do-at-code-block): New macro to evaluate lisp with point
23563 at the start of the Org code block containing the code in this
23565 (org-src-do-key-sequence-at-code-block): New function to execute
23566 command bound to key at the Org code block containing the code in
23569 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23571 * ob-R.el (org-babel-R-associate-session): New function to
23572 associate R code edit buffers with ESS comint session.
23574 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23576 * org-src.el (org-edit-src-code): If at src block, store babel
23577 info as buffer local variable.
23578 (org-src-associate-babel-session): New function to associate code
23579 edit buffer with comint session. Does nothing unless a
23580 language-specific function named
23581 `org-babel-LANG-associate-session' exists.
23582 (org-src-babel-configure-edit-buffer): New function to be called
23583 in `org-src-mode-hook'.
23584 (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
23587 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23589 * ob.el (org-babel-switch-to-session-with-code): New function to
23590 generate split frame displaying edit buffer and session.
23592 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23594 * org.el (org-set-tags): Consider org-indent-mode when computing
23597 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23599 * org-compat.el (org-looking-at-p): Only use looking-at-p when
23602 2010-11-11 David Maus <dmaus@ictsoc.de>
23604 * org-agenda.el (org-finalize-agenda-entries): Delete excluded
23605 lines directly after call to sorting filter function.
23607 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23609 * org.el (org-complex-heading-regexp-format): Document the
23611 (org-get-refile-targets): Use `org-complex-heading-regexp-format'
23612 to make the regular expression for matching the headline.
23614 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23616 * org.el (org-refile-check-position): New function.
23618 (org-refile-get-location): Call `org-refile-check-position'.
23620 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23622 * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
23623 instead of equal to compare symbols.
23625 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23627 * org-agenda.el (org-agenda-before-sorting-filter-function):
23629 (org-finalize-agenda-entries):
23630 Apply `org-agenda-before-sorting-filter-function'.
23632 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23634 * org-latex.el (org-export-latex-first-lines): Do not protect meta
23635 lines that have nothing to do with babel.
23637 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23639 * org-capture.el (org-capture-place-template): Handle the
23641 (org-capture-place-item): Provide boundaries for the search to
23642 make sure we do not get a match in a different tree.
23644 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23646 * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23649 2010-11-11 Noorul Islam <noorul@noorul.com>
23651 * org-latex.el (org-latex-to-pdf-process): Add output-directory
23652 option for the command pdflatex.
23653 (org-export-as-pdf): Respect directory in path of
23656 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23658 * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23659 which now means to use MathJax processing for HTML. Also allow
23660 new value `dvipng' to force the old image processing.
23661 (org-infile-export-plist): Parse for MATHJAX setup line.
23663 * org-html.el (org-export-html-mathjax-options): New option.
23664 (org-export-html-mathjax-config): New function.
23665 (org-export-html-mathjax-template): New option.
23666 (org-export-html-preprocess): Call the LaTeX snippet processor
23667 with an additional argument to declare special ways of processing.
23668 (org-export-as-html): Bind the dynamical variable
23669 `org-export-have-math'. Insert the MathJax script template when
23670 it is needed by the document.
23672 * org.el (org-preview-latex-fragment): Call `org-format-latex'
23673 with the additional processing argument.
23674 (org-export-have-math): New variable, for dynamic scoping.
23675 (org-format-latex): Implement specific ways of processing.
23676 New function argument for processing type.
23677 (org-org-menu): Remove the entry to configure LaTeX snippet
23680 2010-11-11 Bastien Guerry <bzg@gnu.org>
23682 * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23683 `org-clock-goto' and `J' for `org-agenda-clock-goto'. If the
23684 heading currently clocked in is not listed in the agenda, display
23685 this entry in another buffer. If there is no running clock,
23686 display a help message.
23688 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23690 * org-latex.el (org-export-latex-tables): Return "" instead of nil
23691 when no label is attached.
23693 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23695 * org-agenda.el (org-agenda-menu-show-match): New option.
23696 (org-agenda-menu-two-column): New option.
23697 (org-agenda-get-restriction-and-command): Implement dispatch menu
23698 without showing the matcher, and with two-column display.
23700 2010-11-11 Bernt Hansen <bernt@norang.ca>
23702 * org-indent.el (org-indent-mode): Fix grammar for message when
23705 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23707 * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23708 no previous result exists.
23710 2010-11-11 Noorul Islam <noorul@noorul.com>
23712 * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23715 2010-11-11 Noorul Islam <noorul@noorul.com>
23717 * org.el (org-set-visibility-according-to-property): Use backward
23718 search instead of forward, so that top hierarchy gets priority.
23720 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23722 * org-agenda.el (org-timeline): Allow indirect buffer.
23724 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23726 * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23727 (org-export-define-heading-targets-headline-hook): New hooks.
23729 * org.el (org-modules): Add entry for org-wikinodes.el.
23730 (org-font-lock-set-keywords-hook): New hook.
23731 (org-open-at-point-functions): New hook.
23732 (org-find-exact-headling-in-buffer):
23733 (org-find-exact-heading-in-directory): New functions.
23734 (org-mode-flyspell-verify): Better cursor position for checking if
23735 flyspell should ignore a word.
23737 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23739 * org-indent.el (org-indent-remove-properties):
23740 (org-indent-add-properties): Make sure changing these properties
23741 does not trigger modification hooks.
23743 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23745 * org.el (org-link-search-must-match-exact-headline): New option.
23746 (org-link-search-inhibit-query): New variable.
23747 (org-link-search): Search for exact headline match in Org files.
23749 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23751 * ob.el (org-babel-execute-src-block-maybe): Remove check for
23752 `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23753 function `org-babel-execute-safely-maybe'.
23755 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23757 * ob.el (org-babel-load-in-session): Set directory in case :dir
23760 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23762 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23763 errors when we're not under of a headline.
23765 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23767 * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23768 write delimited text instead of save -ascii
23769 (org-babel-octave-import-elisp-from-file): Specify that data
23770 written to file is tab-delimited.
23772 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23774 * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23777 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23779 * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23782 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23784 * ob-python.el (org-babel-python-table-or-string): Fix recognition
23785 of lists and tuples.
23787 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23789 * ob-octave.el (org-babel-octave-evaluate-external-process):
23790 Allow remote files.
23792 2010-11-11 Juan Pechiar <pechiar@computer.org>
23794 * ob-octave.el (org-babel-octave-evaluate-external-process):
23795 Use `org-babel-octave-import-elisp-from-file' instead of
23796 `org-babel-eval-read-file'.
23797 (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23798 and use '%s' as format specifier instead of '%S'.
23800 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23802 * ob-octave.el: Only (require 'matlab) when necessary.
23803 (org-babel-octave-initiate-session): (require) octave-inf or matlab
23805 (org-babel-execute:matlab): Remove (require).
23806 (org-babel-prep-session:matlab): Remove (require).
23807 (org-babel-matlab-initiate-session): Remove (require).
23809 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23811 * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23814 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23816 * ob-python.el (org-babel-python-table-or-string): Can now handle
23817 VERY long result lines.
23819 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23821 * org-latex.el (org-export-latex-tables): Add label if any.
23823 * org-latex.el (org-export-latex-convert-table.el-table):
23824 Fix little mistake when inserting label.
23826 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23828 * org.el (org-cycle-internal-local): Remove an unnecessary call
23829 to `org-back-to-heading' that was preventing point to stay at its
23830 column when cycling visibility.
23832 2010-11-11 Noorul Islam <noorul@noorul.com>
23834 * org-capture.el (org-capture-finalize): Make messages consistent.
23836 2010-11-11 Noorul Islam <noorul@noorul.com>
23838 * org-gnus.el: Suppress compiler warning by declaring outside
23839 function nnimap-retrieve-headers-from-file.
23841 2010-11-11 Noorul Islam <noorul@noorul.com>
23843 * org-colview.el Use org-beamer-select-environment instead of
23844 org-beamer-set-environment-tag.
23846 2010-11-11 Matt Lundin <mdl@imapmail.org>
23848 * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23849 that the value of org-last-inserted-timestamp includes time range.
23851 2010-11-11 David Maus <dmaus@ictsoc.de>
23853 * org-wl.el (org-wl-store-link-message): Provide link property for
23854 message-id without angle brackets.
23856 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23858 * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23860 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23862 * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23863 file ensuing that the latest changes on disk are represented.
23865 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23867 * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23868 arguments w/o quotes.
23870 2010-11-11 Bernt Hansen <bernt@norang.ca>
23872 * org-capture.el (org-capture-finalize): Fix clock in of
23873 interrupted task during capture finalize.
23875 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23877 * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23880 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23882 * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23883 expression for matching main function.
23885 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23887 * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23888 regexp -- it wasn't matching lob lines w/o indices.
23890 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23892 * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23893 warning in org-exp.el.
23895 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23897 * org-publish.el (org-publish-file): Better error message if
23898 base-directory or publishing-directory are not defined.
23900 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23902 * org-colview.el (org-columns-display-here): Use overlays to
23903 overrule line prefix properties during column view.
23905 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23907 * org-agenda.el (org-agenda-filter-preset): Document the
23908 limitation for the filter preset - it can only be used for an
23909 entire agenda view, not in an individual block in a block agenda.
23911 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23913 * ob-table.el (sbe): Now able to accept range references from
23916 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23918 * ob.el (org-babel-pick-name): If colnames or rownames contain a
23919 list of names, then use those directly.
23921 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23923 * org-exp.el (org-export-format-source-code-or-example):
23924 Escape underscores in code block names on latex listings export.
23926 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23928 * ob-tangle.el (org-babel-with-temp-filebuffer):
23929 Use find-file-noselect to avoid excess buffer movement.
23931 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23933 * org-html.el (org-html-should-inline-p): Only inline images if
23936 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23938 * org-id.el (org-id-store-link): Autoload.
23940 * org.el ("org-id"): Autoload `org-id-store-link'.
23942 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23944 * org-html.el (org-html-should-inline-p): Only inline images if
23947 2010-11-11 Eric S Fraga <e.fraga@ucl.ac.uk>
23949 * org-icalendar.el (org-icalendar-alarm-time): New option.
23951 * org-icalendar.el (org-print-icalendar-entries): Timed events are
23952 exported with alarm events, a.k.a. reminders.
23954 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23956 * org-capture.el (org-capture-target-buffer): Throw an error if we
23957 have no target file.
23958 (org-capture-select-template): Use a default template if the user
23959 has not specified any.
23961 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23963 * org.el (org-modules): Add entry for org-velocity.
23965 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23967 * ob-lob.el (org-babel-lob-execute): Changing indentation to
23968 improve line length.
23970 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23972 * org-exp.el (org-export-handle-table-metalines): Choose a better
23973 position for checking protectedness.
23975 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23977 * org-table.el (org-table-convert-region): Don't continue csv
23978 importation which the point catches the end, this fixes an
23979 infinite loop which was caused by the (point) never catching up
23980 with the "end" marker.
23982 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23984 * org-macs.el (org-string-nw-p): New function.
23986 * org-capture.el (org-capture-import-remember-templates):
23987 Interpret an empty string as request to use
23988 `org-default-notes-file'.
23989 (org-capture-target-buffer): If the FILE is not a (non-empty)
23990 string, use `org-default-notes-file'.
23992 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23994 * org-capture.el (org-capture-templates): Fix customize type.
23996 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
23998 * org.el (org-refile-targets):
23999 * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
24001 2010-08-19 Glenn Morris <rgm@gnu.org>
24003 * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
24004 (org-save-outline-visibility): Move to org-macs.
24005 * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
24006 (org-save-outline-visibility): Move here from org.el.
24007 (show-all): Autoload it.
24008 * ob.el: Don't require org when compiling.
24010 2010-08-18 Glenn Morris <rgm@gnu.org>
24012 * ob.el: Require org when compiling.
24013 (org-save-outline-visibility): Remove macro declaration.
24014 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
24015 Remove unnecessary/macro declarations.
24016 * org-docview.el: Require doc-view when compiling.
24017 (doc-view-goto-page): Autoload rather than declaring.
24018 (doc-view-current-page): Remove macro declaration.
24020 2010-08-17 Glenn Morris <rgm@gnu.org>
24022 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
24023 (org-entry-get, org-table-import): Fix declarations.
24024 (org-match-string-no-properties): Remove unnecessary declaration.
24025 * ob-sh.el (org-babel-comint-in-buffer)
24026 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
24027 (org-babel-comint-with-output): Remove unnecessary declarations.
24028 * ob-R.el (orgtbl-to-tsv): Fix declaration.
24029 * org-list.el (org-entry-get): Fix declaration.
24031 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24033 * ob-C.el: New file.
24034 * ob-R.el: New file.
24035 * ob-asymptote.el: New file.
24036 * ob-clojure.el: New file.
24037 * ob-comint.el: New file.
24038 * ob-css.el: New file.
24039 * ob-ditaa.el: New file.
24040 * ob-dot.el: New file.
24041 * ob-emacs-lisp.el: New file.
24042 * ob-eval.el: New file.
24043 * ob-exp.el: New file.
24044 * ob-gnuplot.el: New file.
24045 * ob-haskell.el: New file.
24046 * ob-keys.el: New file.
24047 * ob-latex.el: New file.
24048 * ob-lob.el: New file.
24049 * ob-matlab.el: New file.
24050 * ob-mscgen.el: New file.
24051 * ob-ocaml.el: New file.
24052 * ob-octave.el: New file.
24053 * ob-perl.el: New file.
24054 * ob-python.el: New file.
24055 * ob-ref.el: New file.
24056 * ob-ruby.el: New file.
24057 * ob-sass.el: New file.
24058 * ob-screen.el: New file.
24059 * ob-sh.el: New file.
24060 * ob-sql.el: New file.
24061 * ob-sqlite.el: New file.
24062 * ob-table.el: New file.
24063 * ob-tangle.el: New file.
24066 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24068 * org-mks.el: New file.
24069 * org-capture.el: New file.
24071 2010-07-19 Christian Egli <christian.egli@sbszh.ch>
24073 * org-taskjuggler.el: New file.
24075 2010-07-19 Matt Lundin <mdl@imapmail.org>
24077 * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
24078 in org-agenda-text-search-extra-files.
24080 2010-07-19 David Maus <dmaus@ictsoc.de>
24082 * org-list.el (org-list-send-list): Locally bind variable `txt'.
24084 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24086 * org.el (org-reload): Now also reloading babel files.
24088 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24090 * org-capture.el (org-capture-set-plist): Make sure txt is a string
24091 before calling `string-match'.
24092 (org-capture-templates): Fix customization type.
24094 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24096 * org-latex.el (org-export-latex-preprocess): Make a special case
24098 (org-latex-entities): Remove the entry for \nbsp.
24099 (org-latex-entities-exceptions): Variable removed.
24101 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24103 * org-capture.el (org-capture-refile): Do not try to manipulate
24106 * org.el (org-refile): Use the correct bookmark here.
24108 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24110 * org-list.el (org-list-send-list): Parse list from its true beginning.
24112 * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
24114 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24116 * org.el (org-insert-link): Correctly determine if we should use
24119 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
24121 * org-list.el (org-list-radio-list-templates): Fix templates.
24123 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
24125 * org-list.el (org-list-send-list): Regexp defining the start of
24126 a radio list is now on par with the one used for radio tables.
24128 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24130 * org-entities.el (org-entities-help): Add a headline for
24131 the user-defined entities.
24133 2010-07-19 Dirk-Jan C. Binnema <djcb.bulk@gmail.com> (tiny change)
24135 * org-agenda.el (org-agenda-action): Document capture key and add it
24138 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24140 * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
24142 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24144 * org-latex.el (org-export-latex-first-lines): Do not mark
24145 meta lines for removal. Do not remove BABEL config lines during export.
24147 2010-07-19 David Maus <dmaus@ictsoc.de>
24149 * org-capture.el (org-capture): Check if
24150 `org-capture-link-is-already-stored' is bound before evaluating.
24152 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24154 * org.el: Add autoload for org-babel-do-load-languages.
24156 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24158 * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
24160 2010-07-19 David Maus <dmaus@ictsoc.de>
24162 * org-feed.el: Change indentation to match coding style
24165 2010-07-19 David Maus <dmaus@ictsoc.de>
24167 * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
24168 library if necessary.
24170 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24172 * org-beamer.el (org-beamer-amend-header): Standardize the
24173 header cookie for the beamer extra stuff.
24175 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24177 * org-beamer.el (org-beamer-amend-header): Put extra header
24180 2010-07-19 David Maus <dmaus@ictsoc.de>
24182 * org-exp-blocks.el (org-export-blocks-format-ditaa)
24183 (org-export-blocks-format-dot): Remove text properties of body before
24184 calculating cache hash.
24186 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24188 * org-latex.el (org-export-latex-tabular-environment): New option.
24189 (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
24191 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24193 * org-compat.el (org-version-check): New function.
24195 * org-indent.el (org-indent-mode): Check for exact emacs version.
24197 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24199 * org-capture.el (org-capture-templates): Allow the template
24200 to come from a file or function call.
24201 (org-capture-place-entry): Get the template from file or function.
24203 2010-07-19 David Maus <dmaus@ictsoc.de>
24205 * org-agenda.el (org-agenda-bulk-action): Don't create marker for
24206 position if target is entire file.
24208 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24210 * org.el (org-autoload): Autoload a few more org-table functions.
24212 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24214 * org.el (org-babel-load-languages): Add ob-mscgen.
24216 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24218 * org-latex.el (org-export-latex-tables): Format string now
24221 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24223 * org.el (org-babel-load-languages): This variable controls which
24224 languages will be loaded by org-babel. It is customizable through
24225 the customize interface.
24227 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24229 * org-latex.el (org-export-latex-format-image): Update number of
24230 arguments to allow for an optional short-name.
24232 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24234 * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
24236 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24238 * org-capture.el (org-capture-set-target-location):
24239 Store exact positions for file+regexp and file+function targets.
24240 (org-capture-place-entry, org-capture-place-item)
24241 (org-capture-place-table-line, org-capture-place-plain-text):
24242 Respect exact positions.
24243 (org-capture-finalize): Make sure we are at the beginning of a line
24244 when fixing the empty lines after the entry.
24246 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24248 * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
24249 (org-entry-get): Pass `literal-nil' into
24250 `org-entry-get-with-inheritance'.
24251 (org-todo): React to nil values of the LOGGING property.
24253 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24255 * org.el (org-default-notes-file): Update docstring.
24257 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24259 * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
24261 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24263 * org-exp.el (org-export-attach-captions-and-attributes):
24264 Add a shortname attribute to caption strings under the symbol name
24265 org-caption-shortn.
24267 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24269 * org.el (org-switchb): Rename from `org-iswitchb'.
24271 (org-iswitchb): New alias.
24272 (org-ido-switchb): Make alias point to `org-switchb'.
24274 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24276 * org-capture.el (org-capture-fill-template):
24277 Respect time-of-day preference in template prompt.
24279 2010-07-19 David Maus <dmaus@ictsoc.de>
24281 * org-feed.el (org-feed-unescape): Remove superfluous lambda.
24283 2010-07-19 David Maus <dmaus@ictsoc.de>
24285 * org-wl.el (org-wl-disable-folder-check): New customization
24287 (org-wl-open): Disable folder check depending on
24288 `org-wl-disable-folder-check'.
24290 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24292 * org-capture.el (org-capture-set-target-location):
24293 Fix file+function interpretation.
24295 2010-07-19 David Maus <dmaus@ictsoc.de>
24297 * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
24300 2010-07-19 David Maus <dmaus@ictsoc.de>
24302 * org-feed.el (xml-entity-alist): Declare variable
24303 `xml-entity-alist' for byte compiler.
24305 2010-07-19 David Maus <dmaus@ictsoc.de>
24307 * org-feed.el (org-feed-unescape): New function.
24308 Unescape protected entities.
24309 (org-feed-parse-atom-entry): Use function for atom:content
24310 type text and html.
24312 2010-07-19 David Maus <dmaus@ictsoc.de>
24314 * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
24317 2010-07-19 Bernt Hansen <bernt@norang.ca>
24319 * org.el (org-time-string-to-absolute): Ignore cyclic repeater
24320 when displaying items on todays agenda date.
24322 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24324 * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
24327 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24329 * org-publish.el (org-publish-initialize-cache):
24330 Make timestamp directory, the entire path to it.
24332 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24334 * org-exp.el (org-export-handle-comments): Make sure to check
24335 for protection in the comment line, and not in the line after it.
24337 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24339 * org-html.el (org-export-html-preprocess): Call org-format-latex,
24340 possibly with a protect-only argument.
24342 * org.el (org-format-latex): New argument PROTECT-ONLY.
24344 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24346 * org-exp.el (org-export-handle-table-metalines): This function
24347 removes table specific meta-lines, now that we aren't wiping
24348 everything that looks remotely like a comment at the end of the
24349 export process we have to be sure to catch all of the specific lines
24352 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
24354 * org-exp.el (org-export-select-backend-specific-text): Properly
24355 get rid of #+Backend and #+ATTR_Backend specifics to backends not
24356 matching the one we're exporting to.
24358 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24360 * org-table.el (orgtbl-to-generic): Add the :remove-newlines
24361 option which will strip newline characters from the text of table
24362 cells and replace then with "\n".
24364 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24366 * org.el (org-confirm-shell-link-function)
24367 (org-confirm-elisp-link-function): Limit the values that can be set by
24370 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24372 * org.el (org-compute-latex-and-specials-regexp): Deal with
24373 string elements by discarding them.
24375 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24377 * org.el (org-iswitchb): Make sure to use at least iswitchb.
24379 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24381 * org-capture.el (org-capture-position-for-last-stored)
24382 (org-capture-bookmark-last-stored-position): New functions.
24383 (org-capture-place-table-line): Better error catching.
24384 (org-capture-place-item, org-capture-place-entry)
24385 (org-capture-place-plain-text):
24386 Call `org-capture-position-for-last-stored'.
24387 (org-capture-finalize): Just call
24388 `org-capture-bookmark-last-stored-position'.
24390 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24392 * org-exp.el (org-export-mark-blockquote-verse-center):
24393 Fix small bug, now grabbing match data before overwritten by looking-at
24394 this fixes a problem with remainders of #+end_quote lines appearing
24395 in exported output.
24397 2010-07-19 David Maus <dmaus@ictsoc.de>
24399 * org.el (org-link-frame-setup): Add customization option for
24402 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24404 * org-latex.el (org-export-latex-fixed-width): Now check
24405 org-example rather than org-protected on verbatim export, because by
24406 default all ": " prefixed lines are marked protected.
24408 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24410 * org-latex.el (org-export-latex-fixed-width): Check for
24411 protection before wrapping ": " lines as verbatim.
24413 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24415 * org-exp.el (org-export-handle-comments): Check for protection
24416 before removing comments.
24418 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24420 * org-entities.el (org-entities): Restructure the list.
24421 (org-entities-help): Turn the help output into a buffer
24422 in Org-mode, so that it becomes easier to find a symbol
24424 (org-entities-create-table): Deal with new structure.
24426 2010-07-19 David Maus <dmaus@ictsoc.de>
24428 * org-agenda.el (org-write-agenda): Use backquotes to expand
24429 `flet' at compile time.
24431 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24433 * org.el (org-entry-properties): Make sure that standard property
24434 names are used even if the user has customized time keywords.
24436 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24438 * org-macs.el (org-not-nil): Return the value if not interpreted
24441 * org.el (org-entry-get)
24442 (org-entry-get-with-inheritance): Interpret the value "nil"
24443 as nil for properties.
24445 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24447 * org.el (org-switch-to-buffer-other-window): Return the buffer.
24449 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24451 * org-macs.el (org-not-nil): New function.
24453 * org.el (org-block-todo-from-children-or-siblings-or-parent):
24454 Use `org-not-nil' to interpret a property value of nil.
24456 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24458 * org.el (org-truely-invisible-p): New function.
24459 (org-beginning-of-line): Use `org-truely-invisible-p'.
24461 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24463 * org-agenda.el (org-agenda-get-timestamps): No errors
24464 while getting TODO state.
24465 (org-agenda-highlight-todo): No error when no keyword has
24468 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24470 * org.el (org-timestamp-change): New optional argument UPDOWN.
24471 Use this to identify calls from org-timestamp-up/down, so that we can
24472 skip by rounding minutes in this case.
24473 (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
24474 (org-timestamp-down-day): Call org-timestamp-change with the
24477 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24479 * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
24481 * org-capture.el: New file.
24483 * org-compat.el (org-get-x-clipboard): Function moved here from
24486 * org-mks.el: New file.
24488 * org.el (org-set-regexps-and-options): Allow statistic cookies as
24489 part of complex headlines.
24490 (org-find-olp): New argument THIS-BUFFER. When set, assume that the
24491 OLP does not contain a file name.
24493 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24495 * org.el (org-mode): Set `comment-start' instead of changing the
24496 syntax of the `#' character.
24498 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24500 * org-exp.el (org-export-format-source-code-or-example): Mark examples
24503 * org-html.el (org-export-html-close-lists-maybe): Check if raw
24504 HTML stuff was actually made from an example.
24506 2010-07-19 Bastien Guerry <bzg@gnu.org>
24508 * org-latex.el: Items are no longer skipped when their first line
24509 ends on a protected element.
24511 * org-list.el: Protected environments looking like lists are not
24514 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24516 * org-exp-blocks.el (org-export-blocks-preprocess):
24517 Cleanup trailing newline after block.
24519 2010-07-19 Bastien Guerry <bzg@gnu.org>
24521 * org-exp.el: Comment regexp now matches documentation. No more
24522 protection check when deleting comments before export.
24524 2010-07-19 Bastien Guerry <bzg@gnu.org>
24526 * org-exp.el (org-export-preprocess-string):
24527 Now using `org-export-handle-include-files-recurse' to resolve
24530 2010-07-19 Bastien Guerry <bzg@gnu.org>
24532 * org-agenda.el (org-agenda-get-deadlines)
24533 (org-agenda-get-scheduled):
24534 * org.el (org-time-string-to-seconds):
24535 For deadline and scheduled agenda display ignore the cyclic repeater
24536 when calculating how many days late the task is. If you have a weekly
24537 task and miss the date the agenda view will show more than a week late
24538 now instead of resetting on the cyclic repeating date. This makes it
24539 much more obvious when you missed a repeating task after the repeater.
24541 2010-07-19 Bastien Guerry <bzg@gnu.org>
24543 * org-exp.el (org-export-mark-blockquote-verse-center):
24544 Consider environments that end at eob.
24546 2010-07-19 Mikael Fornius <mfo@abc.se>
24548 * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
24549 with face `org-special-keyword'. Make property keys as :LAST_REPEAT:
24552 2010-07-19 Mikael Fornius <mfo@abc.se>
24554 * org.el (org-at-property-p): Use save-match-data macro instead of let.
24556 2010-07-19 Mikael Fornius <mfo@abc.se>
24558 * org.el (test): Remove unused test function.
24560 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24562 * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
24564 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24566 * org-exp-blocks.el (org-export-blocks-postblock-hook):
24567 Add documentation to and turn into a defcustom.
24569 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
24571 * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
24572 instead of to nil we avoid errors when :prefix1 is defined, but
24575 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
24577 * org-latex.el (org-export-latex-preprocess): Environments coming
24578 from latex backend specific instructions (#+LaTeX) are already
24579 protected and won't be treated as normal environments.
24581 2010-07-19 Bastien Guerry <bzg@gnu.org>
24583 * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
24585 2010-07-19 Bastien Guerry <bzg@gnu.org>
24587 * org-timer.el (org-timer-set-timer): Use a prefix argument.
24588 See the docstring of the function.
24590 2010-07-19 Bastien Guerry <bzg@gnu.org>
24592 * org-timer.el (org-timer-set-timer): Fix bug about canceling
24595 2010-07-19 David Maus <dmaus@ictsoc.de>
24597 * org-w3m.el (org-w3m-copy-for-org-mode)
24598 (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
24599 Get text property directly, not using macro `w3m-anchor'.
24601 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24603 * org.el (org-emph-re): Document the match groups.
24605 2010-07-19 Bernt Hansen <bernt@norang.ca>
24607 * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
24608 t before calling `org-clock-out', so that that function can
24609 know its call context.
24611 2010-07-19 Bastien Guerry <bzg@gnu.org>
24613 * org-timer.el (org-timer-default-timer): New variable.
24614 (org-timer-set-timer): Use the new variable. Also offer the
24615 possibility to replace the current timer by a new one.
24617 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24619 * org.el (org-kill-note-or-show-branches): Hide subtree before
24620 exposing the headings.
24622 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24624 * org.el (org-add-planning-info): Remove the empty line also
24625 if there is no whitespace at all in there.
24627 * org-table.el (org-table-align): Fix alignment of strings
24628 with invisible characters.
24630 2010-07-19 David Maus <dmaus@ictsoc.de>
24632 * org.el (org-refile-cache-get): Return empty list of targets
24633 when cache was cleared.
24634 (org-clone-subtree-with-time-shift): Maybe create ID property
24635 in cloned subtrees.
24636 (org-clone-delete-id): New customization variable.
24637 (org-clone-subtree-with-time-shift): Use customization
24638 variable `org-clone-delete-id'.
24639 (org-clone-subtree-with-time-shift): Remove empty property
24640 drawer in cloned subtrees.
24642 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24644 * org.el (org-refile-use-cache): New option.
24645 (org-refile-cache, org-refile-markers): New variable.
24646 (org-refile-marker, org-refile-cache-clear)
24647 (org-refile-cache-check-set, org-refile-cache-put)
24648 (org-refile-cache-get): New function.
24649 (org-get-refile-targets): Use the refile cache.
24651 * org-clock.el (org-clock-sum): Don't include running clock if
24652 the time block is wrong.
24654 2010-07-19 John Wiegley <jwiegley@gmail.com>
24656 * org-clock.el (org-clock-clock-in, org-clock-in):
24657 Add parameter `start-time'.
24658 (org-clock-resolve-clock): Add parameter `clock-out-time'.
24659 If set, and resolve-to is a past time, then the clock out
24660 event occurs at `clock-out-time' rather than at `resolve-to'.
24661 In this case, `resolve-to' becomes the clock in time.
24662 (org-clock-jump-to-current-clock): Create new global command
24663 to reveal the current clock.
24664 (org-clock-resolve): Add new commands g/G and j/J, and a
24665 help window describing all commands and their meaning.
24666 (org-clock-resolve-expert): New customization variable.
24667 (org-find-open-clocks): Fix a bug that caused discovered
24668 clocks not to match up with the currently active clock.
24669 (org-resolve-clocks): Change the argument
24670 `also-non-dangling-p' to `only-dangling-p', since due to a bug
24671 this was the default behavior all along.
24673 2010-07-19 David Maus <dmaus@ictsoc.de>
24675 * org-id.el (org-id-uuid): New function. Return string with
24676 random (version 4) UUID.
24677 (org-id-method): Make 'uuid the new default value.
24678 (org-id-new): Use `org-id-uuid' if call to uuidgen program
24679 does not return a UUID.
24681 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24683 * org-latex.el (org-export-latex-format-image): Add support
24684 for multicolumn figures in LaTeX.
24686 2010-07-19 David Maus <dmaus@ictsoc.de>
24688 * org.el (org-clone-subtree-with-time-shift): Remove ID
24689 property of original subtree in cloned subtrees.
24691 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24693 * org-exp.el (org-export-format-source-code-or-example):
24694 XEmacs compatibility.
24696 * org-latex.el (org-export-latex-tables): Accept comma in
24699 * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24700 (org-export-docbook-xslt-proc-command): Fix docstring.
24701 (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24702 (org-export-as-docbook-pdf):
24703 Improve formatting of the xslt command.
24705 * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24707 * org.el (org-file-contents): Improve error message.
24708 (org-set-regexps-and-options): Remove spaces at both ends.
24710 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24712 * org-docbook.el (org-export-as-docbook-pdf):
24713 Improve formatting of the xslt command.
24715 2010-07-19 Sebastian Rose <sebastian_rose@gmx.de>
24717 * org-publish.el (org-publish-cache): Use one big hashmap for
24718 each project defined in `org-publish-project-alist'.
24719 (initialize-files-alist): Function removed.
24720 (org-publish-validate-link): Function removed.
24721 (org-publish-get-base-files): Add variable `sitemap-requested'
24722 to avoid sorting where possible.
24723 (org-publish-get-files): Function removed.
24724 (org-publish-get-project-from-filename): Make independent of
24726 (org-publish-file): New argument NO-CACHE.
24728 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24730 * org.el (org-beginning-of-defun, org-end-of-defun):
24732 (org-mode): Install the `org-beginning-of-defun' and
24733 `org-end-of-defun' functions.
24734 (org-pretty-entities): New option.
24735 (org-toggle-pretty-entities): New command.
24736 (org-fontify-entities): New function.
24737 (org-startup-options): New keywords for pretty entities.
24738 (org-set-font-lock-defaults): Call the pretty entities
24741 * org-latex.el (org-export-latex-keywords-maybe): Protect the
24744 2010-07-19 Mikael Fornius <mfo@abc.se>
24746 * org-habit.el (org-habit-build-graph): Help-echo date when
24747 mouse is over stars.
24749 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
24751 * org.el (org-file-apps): Improve docstring to reflect
24754 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24756 * org.el (org-set-startup-visibility): Fix empty line display.
24758 * org-latex.el (org-export-latex-links): Use the formatting
24759 function of the link type, if it is available.
24761 * org-table.el (org-table-get-remote-range): Return to
24762 original buffer when retrieving remote reference.
24764 * org.el (org-display-inline-images): Do the entire buffer,
24765 not just the narrowed region. Clear the cache.
24766 (org-display-inline-images): Match mode file paths.
24768 2010-07-19 David Maus <dmaus@ictsoc.de>
24770 * org-wl.el (org-wl-store-link-folder): Don't throw error when
24771 called on WL folder group.
24773 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24775 * org.el (org-replace-escapes): Make sure the cdr is not nil.
24776 (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24777 (org-mode): Revert comment syntax changes.
24779 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24781 * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24782 keywords, and `C-c / T' for a specific one.
24784 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24786 * org.el (org-mode): Fix comment syntax settings.
24788 * org-src.el (org-edit-src-allow-write-back-p):
24791 * org.el (org-inline-image-overlays): New variable.
24792 (org-toggle-inline-images, org-display-inline-images)
24793 (org-remove-inline-images): New commands.
24794 (org-mode-map): Define a key for `org-toggle-inline-images'.
24796 2010-07-19 David Maus <dmaus@ictsoc.de>
24798 * org-wl.el (org-wl-message-field): New function.
24799 Return content of header field in message entity.
24800 (org-wl-store-link): Call `org-wl-store-link-folder' or
24801 `org-wl-store-link-message' depending on major-mode.
24802 (org-wl-store-link-folder): New function. Store link to
24804 (org-wl-store-link-message): New function. Store link to
24805 Wanderlust message.
24806 (org-wl-store-link-message): Store link to message while
24808 (org-wl-open): Don't try to jump to message when opening a
24811 2010-07-19 David Maus <dmaus@ictsoc.de>
24813 * org.el (org-replace-escapes): Avoid infinite loop when
24814 replace string contains escape sequence it replaces.
24816 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24818 * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24819 encryption when now key is set.
24821 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24823 * org-table.el (org-table-recalculate-buffer-tables)
24824 (org-table-iterate-buffer-tables): New commands.
24826 * org.el (org-check-for-hidden): When there is a region, skip
24829 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
24831 * org-src.el (org-edit-src-code): allow-write-back-p had
24832 erroneously been omitted from let binding.
24834 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24836 * org-agenda.el (org-sorting-choice): New sorting type alpha.
24837 (org-cmp-alpha): New defsubst.
24838 (org-em): New defsubst.
24839 (org-entries-lessp): Only compute needed comparisons.
24841 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24843 * org-html.el (org-format-org-table-html): Test all columns
24844 for number content.
24846 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24848 * org-latex.el (org-export-latex-treat-sub-super-char):
24849 Make sure parenthesis matching is consistent.
24851 * org-table.el (org-table-colgroup-line-p)
24852 (org-table-cookie-line-p): New functions.
24854 * org-exp.el (org-table-clean-before-export): Better tests for
24855 colgroup and cookie lines.
24857 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24859 * org-agenda.el (org-agenda-goto): Push a mark before changing
24862 * org-footnote.el (org-footnote): New group.
24863 (org-footnote-section)
24864 (org-footnote-tag-for-non-org-mode-files): Fix typos.
24866 * org-list.el (org-end-of-item-text-before-children): Also do
24867 the right thing at the end of a file.
24869 * org.el (org-set-packages-alist, org-get-packages-alist):
24871 (org-export-latex-default-packages-alist)
24872 (org-export-latex-packages-alist): Add extra flag to
24873 each package, indicating if it should be used for snippets.
24874 (org-create-formula-image): Add the snippet argument.
24875 (org-splice-latex-header): New argument SNIPPET-P, pass it
24876 through to `org-latex-packages-to-string'.
24877 (org-latex-packages-to-string): New argument SNIPPET-P.
24879 * org-latex.el (org-export-latex-make-header): Add the snippet
24882 * org-docbook.el (org-export-as-docbook): Implement ordered
24883 lists starting at some offset.
24885 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24887 * org.el (org-link-types, org-open-at-point): Add doi links.
24889 * org-ascii.el (org-export-ascii-preprocess): Remove list
24890 startcounter cookies.
24892 * org-list.el (org-renumber-ordered-list): Respect counter
24895 * org-latex.el (org-export-latex-lists): Accept ordered list
24896 item offset cookie.
24898 * org-html.el (org-export-as-html): Accept ordered list
24899 item offset cookie.
24901 * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24902 which messes up alignment of tags.
24904 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24906 * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24907 the modeline display is removed.
24909 * org-exp.el (org-export-format-drawer-function):
24912 * org-agenda.el (org-agenda-refile): New optional argument
24914 (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24916 (org-agenda-bulk-action): Call the refile command with updates
24917 suppressed - but arrange for `org-agenda-redo' to be called at
24920 * org.el (org-mode): Make table mapping quiet.
24921 (org-table-map-tables): New optional argument QUIETLY.
24923 * org-ascii.el (org-export-ascii-preprocess): Make table
24926 * org-html.el (org-export-as-html, org-html-level-start):
24927 Change XHTML IDs to not use dots.
24929 * org-exp.el (org-export-define-heading-targets):
24930 Change XHTML IDs to not use dots.
24932 * org-docbook.el (org-export-docbook-level-start):
24933 Change XHTML IDs to not use dots.
24935 * org-latex.el (org-export-as-latex): Make sure that the
24936 result buffer is in latex-mode.
24938 * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24939 (org-shiftleft-final-hook, org-shiftright-final-hook):
24942 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24944 * org-table.el (org-table-justify-field-maybe): Make sure that
24945 inserting a value does not turn a line into a hline.
24947 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24949 * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24950 (org-clock-sum): Add property to selected headlines.
24951 (org-dblock-write:clocktable): Make tags matcher.
24953 * org.el (org-set-autofill-regexps): XEmacs compatibility.
24955 * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24956 in latex class definitions.
24958 * org.el (org-shiftup-hook, org-shiftdown-hook)
24959 (org-shiftleft-hook, org-shiftright-hook): New hooks.
24961 * org-entities.el (org-entities): Use \land and \lor for logical
24964 * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24965 indentation commands.
24966 (org-hidden-tree-error): New defsubst.
24967 (org-metaleft, org-metaright): Check for hidden stuff and throw an
24969 (org-check-for-hidden): New function.
24971 * org-list.el (org-item-re): New function.
24972 (org-at-item-p): Use `org-item-re'.
24973 (org-end-of-item-text-before-children): New function.
24974 (org-outdent-item, org-indent-item): Arrange for leaving the
24976 (org-outdent-item-tree, org-indent-item-tree): New argument
24978 (org-indent-item-tree): Use `org-end-of-item-text-before-children'
24979 to find the end for processing while ignoring the subtree.
24981 * org-publish.el (org-publish-sitemap-sort-alphabetically)
24982 (org-publish-sitemap-sort-folders)
24983 (org-publish-sitemap-sort-ignore-case): New options.
24985 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24987 * org-publish.el (org-publish-compare-directory-files): Fix sorting.
24989 * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
24991 * org-publish.el (org-publish-project-alist): Update docstring.
24992 (org-publish-file-title-cache): New variable.
24993 (org-publish-initialize-files-alist):
24994 Initialize `org-publish-initialize-files-alist' to nil.
24995 (org-publish-sort-directory-files): New function.
24996 (org-publish-projects): Access the new properties.
24997 (org-publish-find-title): Use the file title cache.
24998 (org-publish-find-title): Build the file title cache.
24999 (org-publish-get-base-files-1): Sort files.
25000 (org-publish-aux-preprocess): Do not throw an error when before
25001 the first headline. Allow an empty target, meaning to link just
25003 (org-publish-index-generate-theindex.inc): Check if there is
25004 actually a target and only then add it to the link.
25005 (org-publish-projects): Fix a remaining issue with the last commit.
25007 * org-html.el (org-export-as-html): Treat verse as open/close
25009 (org-export-html-close-lists-maybe): Allow to splice raw HTML into
25012 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
25014 * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
25015 be used in a read-only mode.
25016 (org-edit-src-code): Different message in read-only mode.
25018 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25020 * org-src.el (org-edit-src-find-region-and-lang): Test for
25021 table.el as late as possible.
25023 * org-colview.el: Make sure this file is never loaded into XEmacs.
25025 * org-agenda.el (org-highlight, org-unhighlight): Use direct
25028 * org.el (org-key): Apply the translations defined in
25029 `org-xemacs-key-equivalents'.
25031 * org-mouse.el (org-mode-hook): Use `org-defkey'.
25033 * org-compat.el (org-xemacs-key-equivalents): New constant.
25035 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25037 * org-inlinetask.el (org-inlinetask-defaut-state): New option.
25038 (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
25039 Obey `org-odd-levels-only'.
25041 * org-compat.el (org-find-overlays): Use overlays-in/at.
25043 * org.el (org-remove-empty-overlays-at)
25044 (org-outline-overlay-data, org-hide-block-toggle)
25045 (org-format-latex, org-context): Use overlays-in/at.
25047 * org-src.el (org-edit-src-exit): Use overlays-in/at.
25049 * org-agenda.el (org-agenda-mark-clocking-task)
25050 (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
25051 (org-agenda-entry-text-hide)
25052 (org-agenda-fix-tags-filter-overlays-at)
25053 (org-agenda-bulk-remove-overlays): Use overlays-in/at.
25055 * org-compat.el (org-overlays-at): Function removed.
25056 (org-overlays-in): Function removed.
25058 2010-07-19 Bastien Guerry <bzg@gnu.org>
25060 * org-clock.el (org-clock-set-current): Just return the headline
25061 itself, strip the TODO keyword, the priority cookie and the tags.
25063 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25065 * org-compat.el (org-xemacs-without-invisibility): New macro.
25066 (org-xemacs-without-invisibility): New macro.
25067 (org-indent-to-column, org-indent-line-to, org-move-to-column):
25068 Redefine using the macro `org-xemacs-without-invisibility'.
25070 * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
25072 * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
25074 * org-compat.el (org-make-overlay, org-delete-overlay)
25075 (org-overlay-start, org-overlay-end, org-overlay-put)
25076 (org-overlay-get, org-overlay-move, org-overlay-buffer):
25078 (org-add-to-invisibility-spec): Function removed.
25080 * org-html.el (org-export-as-html-and-open): Add argument to
25083 * org-habit.el (require): `calendar' is now required already by
25084 org.el on top level.
25086 * org-clock.el (require): `calendar' is now required already by
25087 org.el on top level.
25089 * org-agenda.el (require, org-timeline, org-agenda-list)
25090 (org-todo-list, org-agenda-to-appt): `calendar' is now required
25091 already by org.el on top level.
25093 * org.el (org-export-latex-fix-inputenc): Declare function.
25095 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25098 * org.el (calendar): Require calendar now on top level in org.el
25099 and define aliases to new variables when needed.
25100 (org-read-date, org-goto-calendar): Do not bind obsolete
25103 * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
25104 compilation warning, add comment that this cannot be done with
25105 `with-current-buffer'.
25107 * org-wl.el (org-wl-open): Use `with-current-buffer'.
25109 * org.el (overlay, org-remove-empty-overlays-at)
25110 (org-outline-overlay-data, org-set-outline-overlay-data)
25111 (org-show-block-all, org-hide-block-toggle)
25112 (org-highlight-new-match, org-remove-occur-highlights)
25113 (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
25114 (org-read-date, org-read-date-display, org-eval-in-calendar)
25115 (org-format-latex, org-context)
25116 (org-speedbar-restriction-lock-overlay)
25117 (org-speedbar-set-agenda-restriction): Use the normal overlay API.
25119 * org-table.el (org-table-add-rectangle-overlay)
25120 (org-table-remove-rectangle-highlight)
25121 (org-table-overlay-coordinates)
25122 (org-table-toggle-coordinate-overlays): Use the normal overlay
25125 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
25126 (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
25127 normal overlay API.
25129 * org-colview.el (org-columns-new-overlay)
25130 (org-columns-display-here, org-columns-remove-overlays)
25131 (org-columns-edit-value, org-columns-next-allowed-value)
25132 (org-columns-update): Use the normal overlay API.
25134 * org-clock.el (org-clock-out, org-clock-cancel)
25135 (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
25138 * org-agenda.el (org-agenda-mark-filtered-text)
25139 (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
25140 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
25141 (org-agenda-entry-text-hide)
25142 (org-agenda-restriction-lock-overlay)
25143 (org-agenda-set-restriction-lock)
25144 (org-agenda-filter-by-tag-hide-line)
25145 (org-agenda-fix-tags-filter-overlays-at)
25146 (org-agenda-filter-by-tag-show-all, org-hl)
25147 (org-agenda-goto-calendar, org-agenda-bulk-mark)
25148 (org-agenda-bulk-remove-overlays): Use the normal overlay API.
25150 * org-freemind.el (org-freemind-from-org-mode-node)
25151 (org-freemind-from-org-mode)
25152 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25153 Use interactive-p instead of called-interactively, because this is
25154 backward compatible with older Emacsen I still support..
25156 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25158 * org-exp.el (org-export-define-heading-targets): Fix bug in
25159 regexp finding ID and CUSTOM_ID properties.
25161 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25163 * org-footnote.el (org-footnote-goto-previous-reference):
25164 Rename from `org-footnote-goto-next-reference'.
25166 * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
25167 org-log-repeat is non-nil, or if there is clocking data in the
25170 * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
25172 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25174 * org.el (org-align-all-tags): New command.
25176 2010-07-19 David Maus <dmaus@ictsoc.de>
25178 * org-wl.el (org-wl-link-remove-filter): New customizable
25179 variable. If non-nil, filter conditions are stripped when storing
25180 link to message in filter folder.
25181 (org-wl-shimbun-prefer-web-links): New customizable variable.
25182 If non-nil, links to shimbun messages are created as web links to
25184 (org-wl-nntp-prefer-web-links): New customizable variable.
25185 If non-nil, links to nntp message are created as web links to gmane
25187 (org-wl-namazu-default-index): New customizable variable.
25188 Directory of namazu search index that should be used as default
25189 when opening a link in a search folder.
25190 (org-wl-folder-types): New constant. Wanderlust folder type
25192 (org-wl-folder-type): New function. Return type of Wanderlust
25194 (org-wl-store-link): Create web links for shimbun or nntp messages
25195 and strip filter conditions depending on customizable variables.
25196 (org-wl-open): Open namazu search folder for message when called
25199 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25201 * org.el (org-remove-if, org-remove-if-not): New functions.
25202 (org-open-file): Use internal remove-if functions.
25204 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
25206 * org.el (org-file-apps-entry-match-against-dlink-p): New function.
25207 (org-file-apps-ex): Remove variable.
25208 (org-open-file): Integrate org-file-apps-ex functionality back
25209 into org-file-apps, and decide whether to match a regexp against
25210 the link or the filename using org-file-apps-entry-uses-grouping-p.
25212 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
25214 * org.el (org-file-apps-ex): New variable.
25215 (org-open-file): Before considering org-file-apps, first match the
25216 regexps from org-file-apps-ex against the whole link.
25217 See docstring of org-file-apps-ex.
25219 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25221 * org.el (org-export-latex-default-packages-alist):
25222 Remove microtype package.
25223 (org-todo-repeat-to-state): New variable.
25224 (org-auto-repeat-maybe): Allow user-selected target states.
25225 (org-default-properties): Add the new property REPEAT_TO_STATE.
25227 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
25229 * org-mobile.el (org-mobile-check-setup): Make sure that there is
25230 a binary to compute checksums.
25232 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com>
25234 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25237 * org.el (calendar): Require calendar now on top level in org.el
25238 and define aliases to new variables when needed.
25239 (org-read-date, org-goto-calendar): Do not bind obsolete
25242 2010-06-22 Glenn Morris <rgm@gnu.org>
25244 * org-entities.el: Add explicit utf-8 coding cookie to file with
25247 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
25249 * org.el (org-file-complete-link): Avoid (expand-file-name ".").
25251 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
25253 * Version 23.2 released.
25255 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25257 * org-table.el (orgtbl-setup):
25258 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
25260 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25262 * org-table.el (orgtbl-mode): Use define-minor-mode.
25264 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25266 * org.el (org-insert-link): Find the link buffer on visible frames.
25267 (org-export-latex-default-packages-alist): Hyperref must be loaded
25269 (org-open-file): More care with the new matching for file links.
25271 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25273 * org-latex.el (org-export-latex-preprocess): Do not yet protect
25274 defined entities - these will be taken care of later.
25275 (org-export-latex-special-chars): Post-process entity replacement.
25276 (org-export-latex-fontify-headline): Do not yet protect defined
25277 entities - these will be taken care of later.
25278 (org-export-latex-tables, org-export-latex-links): Format the
25281 * org-entities.el (org-entities-user): Fix typo.
25283 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
25285 * org-entities.el (org-entities-user): Improve docstring.
25287 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25289 * org-entities.el (org-macs): Require org-macs, to be sure that we
25290 have `declare-function' defined.
25292 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25294 * org-latex.el (org-export-latex-classes): Update docstring.
25296 * org.el (org-format-latex-header): Add cookies to the header.
25297 (org-splice-latex-header): Implement placement according to cookies.
25299 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25301 * org-publish.el (org-publish-aux-preprocess): Control case
25304 2010-04-10 Bastien Guerry <bzg@gnu.org>
25306 * org.el (org-splice-latex-header): Fix typo.
25308 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25310 * org-latex.el (org-export-latex-make-header):
25311 Use `org-splice-latex-header' to build the header.
25312 (org-export-latex-classes): Update docstring.
25314 * org.el (org-splice-latex-header): New function.
25315 (org-create-formula-image): Use `org-splice-latex-header' to build
25318 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
25320 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25322 * org.el (org-export-latex-packages-alist)
25323 (org-export-latex-default-packages-alist): Fix docstring to
25324 reflect the expected structure.
25326 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
25327 (org-export-docbook-finalize-table): Make use of label for tables.
25329 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25331 * org-attach.el (org-attach-commit): Split on newlines.
25333 * org.el (org-export-latex-default-packages-alist): Use list
25334 instead of cons for the entries.
25336 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25338 * org-entities.el (org-entity-get-representation): Catch the case
25339 that there is not entry in the list.
25341 * org-mobile.el (org-mobile-use-encryption)
25342 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
25344 (org-mobile-check-setup): CHeck the encryption setup.
25345 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
25346 (org-mobile-create-sumo-agenda): Use encryption code.
25347 (org-mobile-encrypt-and-move): New function.
25348 (org-mobile-encrypt-file, org-mobile-decrypt-file):
25350 (org-mobile-move-capture): Decrypt the capture file.
25352 * org.el (org-entities): Require the new file.
25353 (org-export-latex-default-packages-alist): New variable.
25354 (org-complete): Use new entity code for completion.
25355 (org-create-formula-image): Use the new packages variable.
25357 * org-latex.el (org-export-latex-classes): Remove the standard
25358 packages from the class headers.
25359 (org-export-latex-make-header): Use the new package variable.
25360 (org-export-latex-special-chars): Better regexp for entities, to
25361 support entity name that contain numbers.
25362 (org-export-latex-treat-backslash-char): Use the new entity code.
25364 * org-html.el (org-html-do-expand): Use the new entity code.
25366 * org-exp.el (org-export): Add the new export commands.
25367 (org-html-entities): Constant removed.
25368 (org-export-visible): Add the new export commands.
25370 * org-docbook.el (org-docbook-do-expand): Use new entity code.
25372 * org-ascii.el (org-export-ascii-entities): New variable.
25373 (org-export-as-latin1, org-export-as-latin1-to-buffer)
25374 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
25375 (org-export-as-encoding): New function.
25376 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
25377 (org-ascii-replace-entities): New function.
25379 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25380 Ulf Stegemann <ulf@zeitform.de>
25382 * org-entities.el: New file.
25384 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25386 * org-html.el (org-html-level-start): Catch the case that target
25389 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25391 * org.el (org-appearance): Change Customize group variable name
25392 from org-font-lock to org-appearance, and change tag from "Org
25393 Font Lock" to "Org Appearance".
25394 (org-odd-levels-only): Change Customize group variable name.
25395 (org-level-color-stars-only): Change Customize group variable name.
25396 (org-hide-leading-stars): Change Customize group variable name.
25397 (org-hidden-keywords): Change Customize group variable name.
25398 (org-fontify-done-headline): Change Customize group variable name.
25399 (org-fontify-emphasized-text): Change Customize group variable name.
25400 (org-fontify-whole-heading-line): Change Customize group variable name.
25401 (org-highlight-latex-fragments-and-specials): Change Customize
25402 group variable name.
25403 (org-hide-emphasis-markers): Change Customize group variable name.
25404 (org-emphasis-alist): Change Customize group variable name.
25405 (org-emphasis-regexp-components): Change Customize group variable
25407 (org-modules): Remove mention of org-R.
25409 * org-faces.el (org-faces): Change Customize group variable name.
25411 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25413 * org-agenda.el (org-diary-last-run-time): New variable.
25414 (org-diary): Prepare agenda buffers only if last call was some
25417 * org-html.el (org-export-html-preprocess): Replace \ref macros
25419 (org-format-org-table-html): Add the label as an anchor.
25421 * org-docbook.el (org-export-docbook-format-image): Do some
25422 formatting on captions.
25424 * org-latex.el (org-export-latex-tables, org-export-latex-links):
25425 Do some formatting on captions.
25427 * org-html.el (org-export-html-format-image)
25428 (org-format-org-table-html): Do some formatting on captions.
25430 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25432 * org.el (org-hidden-keywords): New customizable variable. This is
25433 a list of symbols specifying which of the special keywords #+DATE,
25434 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
25435 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
25436 implementing new faces and hiding behavior.
25438 * org-faces.el (org-document-title): New face for #+TITLE lines.
25439 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
25440 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
25443 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25445 * org-publish.el (org-publish-sanitize-plist): New function to
25446 rename "index" properties to "sitemap". Do this renaming
25448 (org-publish-with-aux-preprocess-maybe): New macro.
25449 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
25451 (org-publish-aux-preprocess)
25452 (org-publish-index-generate-theindex.inc): New function.
25454 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25456 * org-table.el (org-table-align): Interpret <N> at fixed width,
25457 not as maximum width.
25459 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25461 * org-exp.el (org-export-author-info, org-export-email-info):
25464 * org-beamer.el (org-beamer-select-environment): Rename from
25465 `org-beamer-set-environment-tag'. Improve docstring.
25467 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
25468 problem with odd levels.
25470 * org-ascii.el (org-export-as-ascii): Export email only if the
25473 * org-docbook.el (org-export-as-docbook): Export email only if the
25476 * org-html.el (org-export-as-html): Export email only if the
25479 * org-exp.el (org-export-email-info): New option.
25480 (org-export-plist-vars): Add entry for `org-export-email'.
25482 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25484 * org-table.el (org-table-goto-line): Fix typo.
25486 2010-04-10 Mikael Fornius <mfo@abc.se>
25488 * org.el (org-agenda-files): Typo.
25489 (org-read-agenda-file-list): Add optional argument to help
25490 `org-store-new-agenda-file-list' to remember un-expanded file
25491 names. Expand file names relative to `org-directory'.
25492 (org-store-new-agenda-file-list): Keep un-expanded file names when
25493 saving, if available.
25494 (org-agenda-files): Update documentation.
25496 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25498 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
25499 a buffer with no file name attached.
25501 * org.el (org-log-refile): New option.
25502 (org-log-note-headings): Add a heading for refiling.
25503 (org-startup-options): Add keywords for logging of the refile
25505 (org-refile): Add logging action.
25506 (org-add-log-note): Allow for refiling action.
25508 * org-agenda.el (org-agenda-bulk-action): Make sure
25509 `org-log-refile' is not `note' during a bulk action.
25511 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25513 * org.el (org-map-dblocks): Use save-excursion to remember the
25516 * org-attach.el (org-attach-commit): Remove dependence on xargs.
25517 (org-attach-delete-one): Commit after deleting a file.
25519 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
25520 borders for strike-through emphasis.
25522 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
25523 handling of odd levels.
25525 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
25526 and `future' values.
25527 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25528 Handle `past' and `future' values.
25530 * org.el (org-read-agenda-file-list): Interpret file names
25531 relative to org-directory and allow environment variables and
25534 * org-latex.el (org-export-latex-special-chars): Allow a
25535 parenthesis before an exponent or subscript.
25537 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25539 * org-src.el (org-edit-src-exit): When returning from code edit
25540 buffer, if code block is hidden, leave point at start of
25543 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25545 * org.el (org-insert-heading): Do not remove all spaces if the
25548 * org-indent.el (org-indent): Fix group name.
25550 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25552 * org-table.el (org-table-goto-column): Fix forcing a non-existing
25554 (org-table-get, org-table-put, org-table-goto-line)
25555 (org-table-current-line): New functions.
25557 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
25559 * org.el (org-open-file): Allow regular expressions in
25560 org-file-apps to capture link parameters using groups. In a
25561 command string to be executed, the parameters can be referenced
25562 using %1, %2, etc. Lisp forms can access them using
25563 (match-string n link).
25564 (org-apps-regexp-alist): Adopt the created regexp, as this is now
25565 matched against a file: link instead of the file name.
25567 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25569 * org-crypt.el (org-reveal-start-hook): Add a decryption function
25571 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
25574 * org.el (org-point-at-end-of-empty-headline)
25575 (org-level-increment, org-get-previous-line-level): New function.
25576 (org-cycle-level): Rewritten to be independent of when this
25577 function is called.
25578 (org-in-regexps-block-p): New function.
25579 (org-reveal-start-hook): New hook.
25580 (org-reveal): Run new hook.
25582 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25584 * org-latex.el (org-export-latex-keywords): Start a new paragraph
25585 after time keywords, do not add "\newline".
25587 * org-html.el (org-export-as-html): Avoid double # in href.
25589 * org.el (org-refile-get-location): Catch an invalid target
25592 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25594 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25595 Make sure the behavior regarding to extracting time is
25598 2010-04-10 Stephen Eglen <stephen@gnu.org>
25600 * org-agenda.el (org-agenda-insert-diary-extract-time):
25602 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
25603 variable rather than `org-agenda-search-headline-for-time'.
25605 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25607 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
25609 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25611 * org.el (org-adaptive-fill-regexp-backup): New variable.
25612 (org-set-autofill-regexps): Store a backup of
25613 `adaptive-fill-regexp'.
25614 (org-adaptive-fill-function): Fix filling of comments and ordered
25615 lists. If there is no other match, till try adaptive fill.
25617 2010-04-10 John Wiegley <jwiegley@gmail.com>
25619 * org-agenda.el (org-agenda-include-deadlines): Add new
25620 customization variable to determine whether unscheduled tasks
25621 should appear in the agenda solely because of their deadline.
25622 Default to true, which was the previous behavior (it just wasn't
25624 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
25625 the agenda to show/hide deadline tasks.
25626 (org-agenda-menu): Add menu option for show/hide deadlines.
25627 (org-agenda-list): Make the agenda list sensitive to the value of
25628 `org-agenda-include-deadlines'.
25629 (org-agenda-toggle-deadlines): New function to toggle the value of
25630 `org-agenda-include-deadlines' and repaint the modeline
25632 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25633 modeline if deadline tasks are being displayed.
25635 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25637 * org-table.el (org-table-eval-formula): Replace $# and @# by
25638 current column and row number.
25640 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25642 * org.el (org-set-property, org-delete-property): Go back to
25643 prompting for the property.
25645 * org-latex.el (org-export-latex-make-header): Fully process
25647 (org-export-latex-fontify-headline): Allow several arguments, not
25649 (org-export-latex-fix-inputenc): Catch the error when
25650 `latexenc-coding-system-to-inputenc' is not defined.
25652 * org-agenda.el (org-agenda-skip-if-todo): New function.
25653 (org-agenda-skip-if): Add conditions for TODO keywords.
25654 (org-agenda-skip-if): Document the new todo conditions.
25656 2010-04-10 Mikael Fornius <mfo@abc.se>
25658 * org.el (org-at-property-p): Check if we are inside a property
25659 drawer not just any drawer.
25660 (org-set-property, org-delete-property): When cursor is on a
25661 property key value pair do not prompt for property name instead
25662 use name at cursor.
25663 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25664 on the first line of a property drawer.
25665 (org-property-end-re): Spell check.
25667 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25669 * org-exp.el (org-export-attach-captions-and-attributes): Add the
25670 properties to the entire table, in case the first line is
25673 * org-archive.el (org-archive-reversed-order): New option.
25674 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25675 option `org-archive-reversed-order'.
25677 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25679 * org-agenda.el (org-agenda-entry-types): New variable.
25680 (org-agenda-list): Use `org-agenda-entry-types'.
25681 (org-agenda-custom-commands-local-options): Support for setting
25682 `org-agenda-entry-types' as an option.
25683 (org-diary): Shift some documentation from here to the variable
25684 `org-agenda-entry-types'.
25686 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25688 * org-latex.el (org-export-latex-make-header): Apply macros in
25691 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25692 (org-clock-select-task, org-clock-notify-once-if-expired)
25693 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25694 (org-clock-out-if-current, org-clock-save): Use the new functions.
25696 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25698 * org-docbook.el (org-export-as-docbook): Remove unnecessary
25700 (org-export-as-docbook): Remove unnecessary newline.
25701 (org-export-as-docbook): Fix problem with double footnote
25702 reference in one place.
25704 * org-exp.el (org-export-format-source-code-or-example):
25705 Remove unnecessary newline.
25707 * org.el (org-deadline, org-schedule): Allow rescheduling entries
25710 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25711 function calls that look like references.
25713 * org.el (org-open-at-point): Get link abbreviations from
25716 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25718 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25721 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25723 * org.el (org-link-unescape): Solve issue with lower-case escapes.
25725 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25727 * org-latex.el (org-export-latex-classes):
25728 Add \usepackage{latexsym} to all classes.
25730 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25732 * org-html.el (org-export-as-html): Do not allow protected lines
25733 into the table of contents.
25735 * org-latex.el (org-export-latex-special-chars): Find subsequent
25736 occurrences of special characters.
25737 (org-export-latex-tables): Do not convert table-like stuff that is
25740 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25742 * org-list.el (org-toggle-checkbox): No errors when updating
25743 checkbox count fails because there is no heading.
25745 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25747 * org-clock.el (org-clock-report-include-clocking-task):
25749 (org-clock-sum): Add the current clocking task.
25751 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25753 * org.el (org-cycle): Print a message when in a table.el table.
25754 (org-edit-special): Recognize the table.el context.
25755 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25757 * org-src.el (org-at-table.el-p): Declare.
25758 (org-edit-src-code): Handle a special case for table.el editing.
25759 (org-edit-src-find-region-and-lang): Recognize the table.el
25762 * org-latex.el (org-export-latex-tables): Convert table.el
25764 (org-export-latex-convert-table.el-table): New function.
25766 * org-html.el (org-html-expand): Fix table.el export.
25768 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25771 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25772 table for the id locations.
25774 * org.el (org-read-date-analyze): Match American-style dates, like
25775 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
25776 current year when reading ISO and American dates.
25778 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25780 * org.el (org-face-from-face-or-color): New function.
25781 (org-get-todo-face, org-font-lock-add-priority-faces)
25782 (org-get-tag-face): Use `org-face-from-face-or-color'.
25784 * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25785 Allow simple colors as values.
25786 (org-faces-easy-properties): New option.
25788 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25789 restricted, as an agenda mode.
25790 (org-agenda-fontify-priorities): Allow simple colors as values.
25792 2010-04-10 Bastien Guerry <bzg@gnu.org>
25794 * org-timer.el (org-timer-current-timer): Rename from
25795 `org-timer-last-timer'.
25796 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25797 (org-timer-cancel-timer, org-timer-show-remaining-time)
25798 (org-timer-set-timer): Update to use only one timer.
25800 * org.el (org-set-property): Remove useless space in the prompt.
25802 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25804 * org-html.el (org-export-html-style-default): Add a default style
25807 * org-exp.el (org-export-format-source-code-or-example):
25810 2010-04-10 Bastien Guerry <bzg@gnu.org>
25812 * org-clock.el (org-clock-current-task): New variable to store
25813 last clocked in task.
25814 (org-clock-set-current, org-clock-delete-current): New functions.
25816 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25818 * org-remember.el (org-remember-apply-template): Extend comment.
25819 (org-remember-handler): Implement clock sibling filing.
25821 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25823 * org-publish.el (org-publish-all, org-publish-current-file)
25824 (org-publish-current-project): When called with prefix argument
25825 FORCE, also rebuild the validation file list.
25827 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25830 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25832 * org-html.el (org-export-as-html-and-open): Kill product buffer
25833 if the user wants that.
25835 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25836 if the user wants that.
25838 * org-exp.el (org-export-kill-product-buffer-when-displayed):
25841 * org-agenda.el (org-batch-agenda-csv): Use the time property
25842 instead of the `time-of-day' property.
25844 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25846 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25847 (org-timer-pause-hook, org-timer-set-hook)
25848 (org-timer-cancel-hook): New hooks.
25849 (org-timer-start): Run `org-timer-start-hook'.
25850 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25851 (org-timer-stop): Run `org-timer-stop-hook'.
25852 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25854 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25856 * org.el (org-reveal): Double prefix arg shows the subtree of the
25859 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25861 * org-agenda.el (org-search-view): Fix bug with searching full
25862 words in headlines in search view.
25863 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25864 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25865 scheduled (if the user configures it so.
25867 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25869 * org.el (org-hide-archived-subtrees): Don't jump to end of
25870 subtree if the match was not in a headline.
25871 (org-inside-latex-macro-p): Allow more complex arguments.
25872 (org-emphasize): Protect against use at end of buffer.
25874 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25876 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25879 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25881 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25883 (org-agenda-todo-ignore-scheduled)
25884 (org-agenda-todo-ignore-deadlines): More control with different
25886 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25887 Honor the new option settings.
25889 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25891 * org.el (org-get-location): Make sure the selection buffer is
25892 shown in the current frame.
25894 * org-ascii.el (org-export-ascii-table-widen-columns):
25896 (org-export-ascii-preprocess): Realign tables to remove narrowing
25897 if `org-export-ascii-table-widen-columns' is set.
25899 * org-table.el (org-table-do-narrow): New variable.
25900 (org-table-align): Narrow only if `org-table-do-narrow' is t.
25902 * org.el (org-deadline, org-schedule): Allow updating if the
25903 relevant time stamp does not have a repeater, i.e. do not require
25904 that no time stamp has a repeater.
25906 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25907 new white space before the tags.
25909 * org-latex.el (org-export-as-latex): Do nit require the buffer to
25910 be visiting a file when only exporting to a buffer or string.
25911 (org-export-latex-fix-inputenc): Only save the buffer is there is
25912 a file name attached to it.
25914 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25916 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25918 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25920 * org.el (org-fontify-meta-lines-and-blocks):
25921 Honor `org-fontify-quote-and-verse-blocks'.
25923 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25925 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25927 * org.el (org-open-at-point): Also check for text property
25928 org-linked-text before offering collected links.
25930 2010-04-10 Stephen Eglen <stephen@gnu.org>
25932 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25933 Optionally extract time specification from text and add to the
25936 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25938 * org-exp.el (org-html-entities): Fix typo.
25940 * org-latex.el (org-export-latex-make-header): Use \providecommand
25941 to make sure the \alert macro is defined.
25943 * org.el (org-format-latex-signal-error)
25944 (org-create-formula-image): Use `org-format-latex-signal-error'.
25946 2010-04-10 Stephen Eglen <stephen@gnu.org>
25948 * org.el (org-store-link): For dired buffers, use
25949 default-directory as link name if dired-get-filename returns
25952 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25954 * org-exp.el (org-export-concatenate-multiline-links): The for
25955 protectedness at beginning of match.
25957 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25958 AUTO as a coding system, instead default to utf8.
25960 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25962 * org.el (org-block-todo-from-children-or-siblings-or-parent)
25963 (org-block-todo-from-checkboxes): Respect the local variable
25964 value when deciding if blocking should be active.
25966 * org-latex.el (org-export-latex-make-header): Define the align
25967 macro if it is not yet defined.
25969 * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25970 Call `org-insert-heading' with the INVISIBLE-OK argument.
25972 * org-mac-message.el (org-mac-message-insert-flagged):
25973 Call `org-insert-heading' with the INVISIBLE-OK argument.
25975 * org.el (org-insert-heading): New argument INVISIBLE-OK.
25977 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
25980 * org-html.el (org-html-level-start): Use the
25981 `html-container-class' text property to set an additional class
25982 for an outline container.
25984 * org-exp.el (org-export-remember-html-container-classes):
25986 (org-export-preprocess-string):
25987 Call `org-export-remember-html-container-classes'.
25989 * org.el (org-cycle): Mention level cycling in the docstring.
25990 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
25992 * org-remember.el (org-remember-apply-template): Do file insertion
25995 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25997 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
25998 problem with mis-aligned graphs when showing habits.
26000 2010-04-10 Mikael Fornius <mfo@abc.se>
26002 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
26003 when assigning. Begin using numerical characters when all in name
26004 is used up. This is to spare alphanumeric characters for better
26005 match with other keywords.
26007 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26009 * org-exp.el (org-export-preprocess-hook): Improve documentation.
26011 * org-latex.el (org-export-latex-preprocess): More consistent
26012 conversion and protection of the words LaTeX and TeX.
26013 (org-export-latex-fontify-headline, org-export-latex-preprocess):
26014 Allow angle brackets in commands, for beamer.
26016 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26018 * org-clock.el (org-clock-in): Improve the look of the clock line
26019 by formatting links.
26021 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26023 * org-latex.el (org-export-latex-classes): Use AUTO as the place
26024 holder string for the coding system. And improve the
26026 (org-export-latex-fix-inputenc): Only modify the coding system if
26027 it is given by the placeholder AUTO.
26029 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26031 * org-clock.el (org-task-overrun-text): New option.
26032 (org-task-overrun, org-clock-update-period): New variables.
26033 (org-clock-get-clock-string, org-clock-update-mode-line):
26034 Mark overrun clock.
26035 (org-clock-notify-once-if-expired): Check if clock is overrun.
26037 * org-faces.el: New face `org-mode-line-clock-overrun'.
26039 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
26041 * org.el (org-narrow-to-subtree): Position the end of the narrowed
26042 region before the line with the next heading, to prevent the user
26043 from prepending text to the next headline.
26045 2010-04-10 Stephen Eglen <stephen@gnu.org>
26047 * org-agenda.el (org-get-time-of-day):
26048 Use org-agenda-time-leading-zero to allow leading zero (rather than
26051 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26053 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26054 org-datetree.el is loaded.
26056 * org-datetree.el: Autoload `org-datetree-find-day-create'.
26058 * org-latex.el (org-export-latex-hyperref-format): New option.
26059 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
26061 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26063 * org-ctags.el (org-ctags-enable): Change order of functions.
26064 (org-ctags-create-tags): Add wildcard to file name expansion.
26066 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26068 * org.el (org-entry-properties): Fix some important bugs.
26070 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26072 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
26073 the table is not explicitly given.
26075 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26077 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
26079 (org-clock-out-if-current): Work with the new list value of
26080 `org-clock-out-when-done'.
26081 (org-clock-out, org-clock-out-if-current): Avoid circular logic
26082 between clocking out and state changes.
26084 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
26086 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
26087 accident protect a character that is before a backslash.
26089 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
26091 * org-ctags.el: New file.
26093 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26095 * org-agenda.el (org-diary-class):
26096 Use `org-order-calendar-date-args'.
26098 * org.el (org-order-calendar-date-args): New function.
26100 * org-exp.el (org-export-target-internal-links): Check for
26101 protectedness after the first bracket.
26103 * org.el (org-entry-properties): Don't match wrong-case TODO
26106 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
26107 Document that ARG is passed through to remove the date.
26108 (org-agenda-bulk-action): Accept prefix arg and pass it on.
26109 Do not read a date when the user has given a `C-u' prefix.
26111 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26113 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
26116 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26118 * org-latex.el (org-export-latex-fix-inputenc): New function.
26119 (org-export-latex-inputenc-alist): New option.
26121 * org-exp.el (org-export): New key SPC to publish enclosing
26124 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26126 * org-indent.el (org-indent-add-properties): Catch case when there
26127 is no headline in the buffer.
26129 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26131 * org-exp.el (org-html-entities): Add checkmark symbol.
26133 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
26134 verbatim code for ASCII export.
26136 * org.el (org-update-statistics-cookies): Also see checkboxes in
26139 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26141 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
26144 * org-beamer.el (org-beamer-amend-header): Change the location
26145 where `org-beamer-header-extra' is inserted.
26147 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
26148 just for computing this regexp.
26150 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26152 * org-beamer.el (org-beamer-frame-default-options): New option.
26153 (org-beamer-sectioning): Use default options if the user does not
26155 (org-beamer-fix-toc): Put a frame around the table of contents.
26157 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
26158 Make sure case-folding works well when processing comment stuff.
26160 * org-latex.el (org-export-latex-after-save-hook): New hook.
26161 (org-export-as-latex): Run the new hook.
26163 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26165 * org-beamer.el (org-beamer-environments-default): Add the note
26167 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
26168 lines and collect and combine the content.
26169 (org-beamer-after-initial-vars): Check for note tags and make sure
26170 they will be seen like a property.
26172 * org.el (org-offer-links-in-entry): Fix bug when there is a
26175 * org-exp.el (org-export): Make sure the mark is activated, also
26176 when `transient-mark-mode' is off.
26178 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
26179 (org-agenda-search-view-search-words-only): Obsolete variable, is
26180 now an alias for `org-agenda-search-view-always-boolean'.
26181 (org-agenda-search-view-force-full-words): New option.
26182 (org-search-view): Improve docstring, and implement a better logic
26183 for Boolean and phrase searches.
26184 (org-agenda-last-search-view-search-was-boolean): New variable.
26185 (org-agenda-manipulate-query): Consider the type of the last
26186 search when modifying the search string.
26188 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26190 * org-latex.el (org-export-as-latex): Do the first letbind in the
26193 * org-agenda.el (org-get-entries-from-diary): Add the new face to
26196 * org-faces.el (org-agenda-diary): New face.
26198 * org.el (org-make-link-regexps): Allow regexp-special characters
26200 (org-open-file): When in-emacs is `system', also force system
26201 opening, like when the value was `(16)'.
26202 (org-update-statistics-cookies): Handle entries without children.
26205 (org-export-preprocess-before-normalizing-links-hook): New hook.
26206 (org-export-preprocess-string): Run the new hook.
26208 * org.el (org-offer-links-in-entry): Make RET open all links.
26210 * org-html.el (org-export-as-html): Remove any leftover display
26211 properties in the html file.
26213 * org-wl.el (org-wl-store-link): Work-around for format bug with
26216 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
26217 invisibility while adding the graphs.
26219 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26221 * org-remember.el (org-select-remember-template): Use C letter to
26222 customize remember templates.
26224 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
26225 Move cursor to next visible line.
26227 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26229 * org-beamer.el (org-beamer-sectioning): Leave columns environment
26230 by specifying 0 or 1 for column width.
26231 (org-beamer-column-widths): Make 0 stand for 0.0.
26233 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26235 * org-exp.el (org-export-mark-radio-links): Don't match inside
26238 * org.el (org-format-latex-header-extra): New variable.
26239 (org-format-latex): Set org-format-latex-header-extra from
26241 (org-format-latex): Add org-format-latex-header-extra to the
26242 variables on which image creation depends.
26243 (org-create-formula-image): Add the header stuff from in-buffer
26245 (org-read-date-analyze): Base the analysis for future preference
26246 on NOW, not on the default date.
26248 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
26249 for TODO keyword in inline tasks.
26251 * org.el (org-log-note-headings): New headings for removing
26252 deadline or scheduling date.
26253 (org-deadline, org-schedule): Arrange for logging when removing a
26255 (org-add-log-note): Handle deadline and scheduling removal.
26257 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26259 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
26261 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26263 * org-agenda.el (org-diary-class): New function.
26265 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26267 * org-latex.el (org-export-latex-preprocess): Do process the text
26270 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26272 * org.el (org-entry-properties): Add TIMESTAMP properties back
26275 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26277 * org.el (org-all-time-keywords): New variable.
26278 (org-set-regexps-and-options): Set `org-all-time-keywords'.
26279 (org-entry-blocked-p): New function.
26280 (org-special-properties): Add BLOCKED as a new special property.
26281 (org-entry-properties): New optional argument SPECIFIC, only parse
26282 for this property when it is specified.
26283 (org-entry-get): Pass a SPECIFIC argument to
26284 `org-entry-properties'.
26286 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
26288 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26290 * org-latex.el (org-export-latex-tables): No forced line end if
26291 there is no caption.
26293 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26295 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
26298 * org-latex.el (org-export-latex-tables): Only add a caption when
26299 macro is in longtable environments if one has been defined.
26301 * org-html.el (org-export-as-html): Only take title from buffer if
26302 not exporting body-only.
26304 * org-latex.el (org-export-latex-preprocess): Better version of
26305 the regular expression for protecting LaTeX macros.
26306 (org-export-latex-preprocess): Start searching for macros to
26307 protect from beginning of buffer.
26309 * org-exp.el (org-export-target-internal-links): Check for
26310 protectedness earlier in the string.
26312 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
26315 * org-id.el (org-id-store-link): Match TODO keywords case
26318 * org.el (org-heading-components, org-get-outline-path)
26319 (org-display-outline-path): Match TODO keywords case sensitively.
26321 * org-latex.el (org-export-as-latex): Ignore read-only
26324 * org-exp.el (org-export-preprocess-string): Remove any
26325 `read-only' properties.
26327 * org-agenda.el (org-agenda-inactive-leader): New option.
26328 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
26329 (org-tags-view): Prompt for matcher if MATCH is an empty string.
26330 (org-todo-list): Prompt for matcher if ARG is an empty string.
26332 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26334 * org.el (org-open-link-functions): New hook.
26335 (org-open-at-point): Run `org-open-link-functions'.
26337 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26339 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
26342 * org.el (org-inhibit-startup-visibility-stuff): New variable.
26343 (org-mode): Don't do startup visibility if inhibited.
26344 (org-outline-overlay-data, org-set-outline-overlay-data):
26346 (org-save-outline-visibility): New macro.
26347 (org-log-note-headings): Document that one should not change the
26348 `state' note format.
26350 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26352 * org.el (org-make-link-regexps): Capture link path into a group.
26354 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26356 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
26359 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26361 * org.el (org-startup-with-beamer-mode): New option.
26362 (org-property-changed-functions)
26363 (org-property-allowed-value-functions): New hooks.
26364 (org-entry-put, org-property-get-allowed-values): Run the new
26366 (org-property-next-allowed-value): Run the new hooks.
26368 * org-exp.el (org-export-select-backend-specific-text): Add the
26369 special beamer tags.
26371 * org-beamer.el: New file.
26373 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
26374 (org-export-as-latex):
26375 Run `org-export-latex-after-initial-vars-hook'.
26376 (org-export-latex-format-toc-function)
26377 (org-export-latex-make-header):
26378 Call `org-export-latex-format-toc-function'.
26380 * org.el (org-fill-template): Make template searches case sensitive.
26382 * org-exp.el (org-export): Use "1" as a sign to export only the
26385 * org-colview.el (org-columns-edit-value):
26386 Use org-unrestricted property.
26388 * org.el (org-compute-property-at-point): Set org-unrestricted
26389 text property if the list contains ":ETC".
26390 (org-insert-property-drawer):
26391 Use org-unrestricted property.
26394 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
26395 (org-export-preprocess-string):
26396 Run `org-export-preprocess-before-selecting-backend-code-hook'.
26398 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
26400 * org-latex.el (org-export-region-as-latex):
26401 Run `org-export-first-hook'.
26403 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
26405 * org-docbook.el (org-export-as-docbook):
26406 Run `org-export-first-hook'.
26408 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
26410 * org-exp.el (org-export-first-hook): New hook.
26412 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26414 * org-list.el (org-previous-item): Exit at the beginning of the
26417 * org-id.el (org-id-locations-save): Only write the id locations
26418 if any are defined.
26420 * org-archive.el (org-archive-all-done): Make this work in a file
26421 with org-odd-levels-only set.
26423 * org.el (org-get-refile-targets): Catch the case when a buffer
26426 * org-latex.el (org-export-as-latex): Cleanup forced line ends
26427 where they are not needed.
26428 (org-export-latex-subcontent): Remove unnecessary newlines.
26430 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26432 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
26433 (org-export-latex-fontify): Fix regexp bug that takes special
26434 care of protecting the right boundary characters in emphasis
26436 (org-export-latex-preprocess): Allow multiple arguments to latex
26439 * org.el (org-make-link-regexps): Use John Gruber's regexp for
26442 * org-macs.el (org-re): Interpret :punct: in regexps.
26444 * org-exp.el (org-export-replace-src-segments-and-examples):
26445 Also take the final newline after the END line.
26447 * org.el (org-clean-visibility-after-subtree-move): Only fix
26448 entries that are not entirely invisible already.
26449 (org-insert-link): Respect org-link-file-path-type for
26450 "docview:" links in addition to "file:" links.
26452 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26454 * org-exp.el (org-export-format-source-code-or-example):
26455 Avoid additional extra white lines in LaTeX.
26457 * org-list.el (org-list-parse-list): Leave empty lines after the
26458 list, don't consider them as part of the list.
26460 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
26463 * org-clock.el (org-clock-select-task): Convert integer to
26464 character for XEmacs.
26466 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26468 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
26471 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
26473 * org.el (org-complete-tags-always-offer-all-agenda-tags):
26475 (org-set-tags): Use it.
26477 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26479 * org-list.el (org-empty-line-terminates-plain-lists):
26482 * org.el (org-format-latex): Fix link creation for processed latex
26485 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26487 * org-footnote.el (org-footnote-normalize): Protect replacement
26490 * org.el (org-inside-latex-macro-p): Save match data.
26492 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
26494 * org-docview.el: New file.
26496 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26498 * org-latex.el (org-export-latex-class-options): New variable.
26499 (org-export-latex-set-initial-vars): Use the class options.
26501 * org.el (org-forward-same-level): Stop at headings that start
26502 with an invisible character.
26503 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
26505 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26507 * org-footnote.el (org-footnote-normalize): Don't take optional
26508 arguments in LaTeX macros as footnotes.
26510 * org.el (org-inside-latex-macro-p): New function.
26512 * org-latex.el (org-latex-to-pdf-process): Change customization
26513 group to `org-export-pdf'.
26515 * org-agenda.el (org-agenda-get-blocks): Look at time string also
26516 on days after the first one.
26518 * org.el (org-insert-heading): Also check for item before assuming
26519 before-first-heading condition.
26521 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
26522 (org-export-pdf-logfiles): New option.
26523 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
26524 (org-export-pdf-logfiles): Fix customization type.
26526 * org.el (org-insert-link): Improve error message when there is no
26527 default link to select with RET.
26529 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
26532 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26534 * org-latex.el (org-export-latex-parse-global)
26535 (org-export-latex-parse-content)
26536 (org-export-latex-parse-subcontent):
26537 Use `org-re-search-forward-unprotected'.
26538 (org-export-as-pdf): Remove log files produced by XeTeX.
26540 * org-macs.el (org-re-search-forward-unprotected): New function.
26542 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
26544 * org-colview.el (org-agenda-colview-summarize): Sort out some
26545 confusion between properties and titles, which resulted in
26546 agenda summaries not working if a title was set for a column.
26548 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26550 * org-mobile.el (org-mobile-agendas): New option.
26551 (org-mobile-sumo-agenda-command): Select the right agendas.
26553 * org-latex.el (org-export-latex-format-image): Preserve the
26554 original-indentation property.
26556 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26558 * org-clock.el (org-clock-insert-selection-line): Catch error when
26559 an old tasks no longer exists.
26561 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
26562 (org-export-as-pdf): Don't remove the old PDF file before making
26565 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
26566 (org-mouse-context-menu): Use `org-looking-back'.
26568 * org.el (org-cycle-level): Use `org-looking-back'.
26570 * org-list.el (org-cycle-item-indentation):
26571 Use `org-looking-back'.
26573 * org-compat.el (org-looking-back): New function.
26575 * org.el (org-insert-heading): Catch before-first-headline when
26576 inserting a headline.
26578 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26580 * org-latex.el (org-export-latex-format-image): Indent figure
26581 environment, so that it does not interrupt plain list.
26583 * org.el (org-open-at-point): Allow long link descriptions.
26585 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
26587 * org-html.el (org-export-as-html): Remove empty lines at the
26588 beginning of the exported text.
26590 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
26592 * org.el (org): Remove from hypermedia group.
26594 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
26598 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
26600 * org-freemind.el (org-freemind-from-org-mode-node)
26601 (org-freemind-from-org-mode)
26602 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
26603 Pass arg to called-interactively-p.
26605 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
26607 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
26608 Fix typos in docstrings.
26610 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
26612 * org.el (org-get-outline-path, org-speed-command-help):
26613 Fix typos in error messages.
26615 2009-12-14 Juri Linkov <juri@jurta.org>
26617 * org-html.el (org-export-html-style-include-default):
26618 Put `safe-local-variable booleanp' on
26619 `org-export-html-style-include-default' instead of mistakenly
26620 duplicate `org-export-html-style'.
26622 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
26624 * org-agenda.el (org-agenda-diary-entry-in-org-file):
26625 Rebuild agenda after adding new entry.
26627 * org-datetree.el (org-datetree-find-day-create): Fix regular
26630 * org.el (org-display-outline-path): Use a format specifier for
26631 message, to avoid problems with heading containing `%'.
26633 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26634 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26635 (org-agenda-fix-displayed-tags): New function.
26636 (org-agenda-do-context-action): Just call
26637 `org-display-outline-path', without piping the result through
26640 * org-latex.el (org-export-latex-preprocess): Protect secondary
26641 footnote references.
26643 * org-indent.el (org-indent-initialize): Avoid empty strings as
26646 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26647 hat checking for the mark does not throw an error.
26648 (org-agenda-diary-entry-in-org-file): Catch the case that there is
26649 not `day' text property in the cursor line.
26651 * org.el (org-sort-entries-or-items): Make sure that the final
26652 entry has a newline before doing the sorting.
26654 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26655 property at the beginning of the line.
26657 * org.el (org-make-link-string): Don't allow a description with
26660 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26661 (org-agenda-insert-diary-as-top-level): New function.
26662 (org-agenda-add-entry-to-org-agenda-diary-file):
26663 Call `org-agenda-insert-diary-as-top-level'.
26665 * org.el (org-occur-in-agenda-files): Make sure none of the
26666 buffers is narrowed.
26667 (org-activate-plain-links): Add the face property here.
26668 (org-set-font-lock-defaults): Do not add the face to plain links,
26669 the activator function does this.
26671 * org-habit.el (org-is-habit-p): Add doc string.
26673 * org-archive.el (org-archive-subtree-default-with-confirmation):
26676 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26677 after match optional (happens at the end of a line...).
26679 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26680 for special blocks.
26682 * org-faces.el (org-copy-face): Set lisp indentation.
26683 (org-quote, org-verse): New faces.
26685 * org-agenda.el (org-agenda-remove-date): Remove variable.
26687 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26689 * org-html.el (org-export-as-html): Move the home/up link into
26692 * org.el (org-export-latex-packages-alist): Option definition
26693 moved here from org-latex.el.
26695 * org-html.el (org-export-html-home/up-format): Add an ID to the
26698 * org-wl.el (org-wl-store-link): Handle the case that
26699 `wl-use-petname' is set.
26701 * org.el (org-set-effort): Improve prompt.
26702 (org-get-outline-path): Widen to get full path.
26703 (org-compact-display-after-subtree-move): Function removed.
26705 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
26707 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26708 hash keys to cache and re-use images generated by the
26709 org-exp-blocks interface to ditaa and dot.
26711 * org.el (org-format-latex): Latex images are now saved to files
26712 named by the sha1 hash of the latex source text avoiding
26713 regeneration of identical images.
26715 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26717 * org-latex.el (org-export-as-latex): Add the :drawers property.
26719 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26721 * org.el (org-speed-commands-user): Allow documentation headlines.
26722 (org-speed-commands-default): Organize the value of this constant
26723 with descriptive headlines.
26724 (org-print-speed-command): Output the headlines.
26726 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26728 * org-agenda.el (org-agenda-show-outline-path): New option.
26729 (org-agenda-do-context-action): New function.
26730 (org-agenda-next-line, org-agenda-previous-line):
26731 Use `org-agenda-do-context-action'.
26733 * org.el (org-use-speed-commands): Allow function value.
26734 (org-speed-commands-default): Make headline motion safe, so that
26735 these commands always end on a headline.
26736 (org-speed-commands-default): New key `v' for `org-agenda'.
26737 (org-speed-move-safe): New function.
26738 (org-self-insert-command): Use the function value of
26739 `org-use-speed-commands'.
26740 (org-get-outline-path): Improve docstring.
26741 (org-format-outline-path): New function.
26742 (org-display-outline-path): New function.
26744 2009-11-15 John Wiegley <jwiegley@gmail.com>
26746 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26747 a string, use that to find the LOGBOOK drawer.
26749 2009-11-15 Glenn Morris <rgm@gnu.org>
26751 * org-agenda.el (org-datetree-find-date-create)
26752 (org-habit-get-priority):
26753 * org.el (org-format-agenda-item): Fix declarations.
26755 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26757 * org.el (org-clone-subtree-with-time-shift): Make it work at the
26760 * org-mobile.el (org-mobile-write-checksums): Specify coding
26762 (org-mobile-timestamp-buffer): Keep local variable/mode line at
26763 beginning of buffer.
26765 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26767 * org.el (org-block-todo-from-children-or-siblings-or-parent)
26768 (org-block-todo-from-checkboxes): Do not block changes to a nil
26771 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26773 * org-habit.el (org-habit-parse-todo): Indicate which habit is
26774 wrongly set up in the error messages.
26776 * org-colview.el (org-columns-display-here): Don't try to
26777 calculate values if the underlying property is not set.
26778 (org-columns-string-to-number): Convert age strings back into
26780 (org-agenda-colview-summarize): Handle extended summary types
26783 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26785 * org-exp.el (org-export-format-drawer-function): New variable.
26786 (org-export-format-drawer): New function.
26787 (org-export-preprocess-string): Pass the backend as a parameter to
26788 `org-export-remove-or-extract-drawers'.
26789 (org-export-remove-or-extract-drawers): New parameter BACKEND.
26791 * org-protocol.el (org-protocol-char-to-string): New defsubst.
26793 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26795 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26796 message when no block is selected.
26798 * org-latex.el (org-export-latex-links): Check for protectedness
26799 in the last matched character, not after the match.
26801 * org-datetree.el (org-datetree-find-date-create):
26802 Respect restriction when KEEP-RESTRICTION is set.
26803 (org-datetree-file-entry-under): New function.
26804 (org-datetree-cleanup): New command.
26806 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26808 * org-src.el (org-edit-src-code): New optional argument context
26809 allows calling functions to avoid altering the saved window
26811 (org-edit-src-exit): Do not restore window configuration when this
26812 function is used in the context of saving the edit buffer.
26814 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26816 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26817 instances to switching to with-current-buffer, because these seem
26818 to cause problems - no idea why.
26820 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26821 Require diary-lib for (diary-date-display-form).
26823 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26825 * org.el (org-log-reschedule, org-log-redeadline): New options.
26826 (org-log-note-headings): Add templates for rescheduling and
26828 (org-startup-options): Add in-buffer settings for logging changing
26829 schedule and deadline time stamps.
26830 (org-deadline, org-schedule): Check for existing date and arrange
26831 for logging if the user requests it.
26832 (org-add-log-note): Prepare proper note buffers for rescheduling
26833 and deadline changes.
26835 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26837 * org-agenda.el (org-agenda-diary-entry-in-org-file)
26838 (org-agenda-add-entry-to-org-agenda-diary-file)
26839 (org-agenda-insert-diary-make-new-entry): New functions.
26840 (org-agenda-diary-entry):
26841 Call `org-agenda-diary-entry-in-org-file' when appropriate.
26843 * org.el (org-calendar-insert-diary-entry-key): New option.
26844 (org-agenda-diary-file): New option.
26845 ("calendar"): Install our insertion function in the calendar.
26847 * org-remember.el (org-datetree): Require.
26848 (org-remember-templates): Add new positioning option.
26849 (org-remember-reference-date): New variable.
26850 (org-remember-apply-template): Store the reference date in a local
26852 (org-remember-handler): Implement date tree positioning of entries.
26854 * org-datetree.el: New file.
26856 * org-latex.el (org-export-latex-preprocess): Protect targets in
26859 * org-html.el (org-export-as-html): Protect targets in verbatim
26862 * org-docbook.el (org-export-as-docbook): Protect targets in
26865 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26867 * org-clock.el (org-show-notification): Handle messages that
26868 contain a percent character.
26870 * org-remember.el (org-remember-apply-template): Turn of partial
26873 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26874 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26876 * org.el (org-indent-mode): Define variable already in org.el.
26877 (org-unfontify-region): Remove line-prefix and wrap-prefix
26878 properties only if org-indent-mode is active.
26880 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26882 * org-icalendar.el (org-print-icalendar-entries): Save match data
26883 around call to verify function.
26884 (org-print-icalendar-entries): Add a call to the verification
26887 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26888 save-restrivtion' form.
26890 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26892 * org-exp.el (org-export-format-source-code-or-example):
26893 Restrict scope of preserve-indentp to the let binding.
26894 (org-src): Require org-src, since org-src-preserve-indentation is used.
26896 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26898 * org-timer.el (org-timer-set-timer): Set variables
26899 org-timer-timer[123] correctly.
26901 * org-mobile.el (org-mobile-files-alist): Make it work when
26902 `agenda-archives' is included in
26903 `org-agenda-text-search-extra-files'.
26904 (org-mobile-push): Restore agenda after mobile push.
26906 2009-11-13 John Wiegley <jwiegley@gmail.com>
26908 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26909 way the amount of idle time is presented in the minibuffer.
26911 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26913 * org-icalendar.el (org-print-icalendar-entries):
26914 Use org-icalendar-verify-function only if non-nil.
26916 * org.el (org-refile): Refile to clock only if the prefix arg is
26918 (org-sparse-tree): Fix docstring to be in line with prompt.
26919 (org-update-parent-todo-statistics):
26920 Call `org-after-todo-statistics-hook' on each level.
26922 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26924 * org-remember.el (org-remember-apply-template): Make sure the
26927 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26929 * org.el (org-tab-ind-state): New variable.
26930 (org-cycle-level): New function.
26931 (org-cycle-level-after-item/entry-creation): New option.
26932 (org-flag-subtree): New function.
26933 (org-hide-archived-subtrees): Call `org-flag-subtree'.
26934 (org-set-effort): Indexed access.
26936 * org-list.el (org-cycle-item-indentation): New function.
26938 * org.el (org-refile): Make prefix argument 2 refile to current
26940 (org-priority): Interpret action `remove' as call to remove the
26943 * org-remember.el (org-remember-apply-template): Don't depend on
26944 buffer name being like file name.
26946 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26948 * org-clock.el (org-clock-play-sound): Expand file in
26949 org-clock-sound, to allow ~ for home.
26951 * org-remember.el (org-remember-handler):
26952 Set text-before-node-creation even if this already looks like a node,
26953 because the string might be needed on non-org-mode target files.
26955 * org-agenda.el (org-agenda-open-link): Make this work in agenda
26957 (org-agenda-switch-to): Follow a link at point if
26958 org-return-follows-link' is set and there is nothing else to do in
26961 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26963 * org-exp-blocks.el: Modify split separator regexp to avoid empty
26966 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26968 * org-colview.el (org-columns-new): Make this work with the new
26970 (org-columns-store-format): Make this work with the new operators.
26972 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26974 * org-src.el (org-src-preserve-indentation): Document that this
26975 variable is also used during export.
26977 * org-exp.el (org-export-format-source-code-or-example):
26978 Preserve indentation if a block has a -i option, or if
26979 `org-src-preserve-indentation' is set.
26981 * org-exp-blocks.el (org-export-blocks-preprocess):
26982 Preserve indentation if a block has a -i option, or if
26983 `org-src-preserve-indentation' is set.
26985 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26987 * org.el (org-mode-map): Define the new archiving keys.
26988 (org-speed-commands-default): Define an archiving key in the speed
26990 (org-org-menu): Improve the menu structure concerning archiving.
26992 * org-archive.el (org-archive-subtree-default-with-confirmation):
26995 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
26996 (org-agenda-menu): Add the new archiving commands to the menu.
26997 (org-agenda-archive-default)
26998 (org-agenda-archive-default-with-confirmation): New commands.
26999 (org-agenda-archive, org-agenda-archive-to-archive-sibling):
27000 Just call `org-agenda-archive-with'.
27001 (org-agenda-archive-with): New function.
27003 * org-table.el (org-table-convert-region): Inert spaces around "|"
27004 to avoid line beginnings like "|-1" which will be mistaken as
27007 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27009 * org.el (org-offer-links-in-entry): Return nil if there are no
27010 links, t if a link has been selected.
27011 (org-open-at-point): Open attachment directory when called in the
27012 headline and there are no links in the entry body.
27013 (org-speed-commands-default): Add "o" for open-at-point as a speed
27016 * org-attach.el (org-attach-reveal): Optional prefix arg
27017 IF-EXISTS, which avoids creating the attachment directory if it
27018 does not yet exist.
27020 * org-agenda.el (org-agenda, org-run-agenda-series):
27023 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27025 * org.el ("abbrev"): Work with abbrev tables only after they have
27028 * org-list.el (org-list-send-list): Fix bug related to match
27031 * org-latex.el (org-export-latex-fontify): Apply verbatim
27033 (org-export-latex-make-header): Insert \obeylines if line breaks
27034 should be preserved.
27036 * org-exp.el (org-export-protect-verbatim): Add an
27037 `org-verbatim-emph' property to such text.
27039 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27041 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
27042 (org-print-icalendar-entries): Skip entries where the timestamp is
27043 not a deadline and not scheduled, if the user requests that.
27045 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
27046 before an opening quote.
27048 * org-archive.el (org-archive-subtree): Keep archive after
27049 archiving something.
27051 * org-id.el (org-id-update-id-locations): Add archive files if
27052 that is required by `org-id-extra-files'.
27054 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27056 * org-src.el (org-src-window-setup): New option.
27057 (org-src-switch-to-buffer): New function.
27058 (org-edit-src-exit): Add optional argument CONTEXT and use it to
27059 restore window configuration.
27060 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
27061 Call `org-src-switch-to-buffer'.
27063 * org.el (org-default-properties): Add STYLE property.
27064 (org-files-list): Use the function call to get the files.
27065 (org-additional-option-like-keywords): Add SETUPFILE to completion
27068 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27070 * org-table.el (org-table-convert-region): Correctly interpret
27071 quoting in csv import.
27073 * org.el (org-icompleting-read): Make iswitchb completion work
27074 with lists and tables.
27076 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
27077 while pushing the mobile agenda.
27079 2009-11-13 John Wiegley <jwiegley@gmail.com>
27081 * org-clock.el (org-clock-auto-clock-resolution): Now takes three
27082 values: nil, t and `when-no-clock-is-running'.
27083 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
27084 whether or not to resolve Org buffers on clock in.
27086 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
27088 * org-colview.el (org-format-time-period): Function to format
27089 times in fractional days for display.
27090 (org-columns-display-here): Add support for showing a calculated
27091 value in place of the property.
27092 (org-columns): Set `org-columns-time' to the current time so time
27093 difference calculations will work.
27094 (org-columns-time): Use to store the current time when column view
27095 is displayed, so all time differences will use the same reference
27097 (org-columns-compile-map): There is now an extra position in each
27098 entry specifying the function to use to calculate the displayed
27099 value for the non-calculated properties in the column.
27100 (org-columns-compute-all): Set `org-columns-time' to the current
27101 time so time difference calculations will work.
27102 (org-columns-compute): Handle column operators where the values
27103 used are calculated from the underlying property.
27104 (org-columns-number-to-string): Handle the 'age' column format.
27105 (org-columns-string-to-number): Correct the function name (was
27106 org-column...). Add support for the 'age' column format.
27107 (org-columns-compile-format): Support the additional parameter in
27108 org-columns-compile-map.
27110 2009-11-13 Bastien Guerry <bzg@gnu.org>
27112 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
27115 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27117 * org-clock.el (org-clock-has-been-used): New variable.
27118 (org-clock-in): Set `org-clock-has-been-used'.
27119 (org-clock-save): Save only if clock data has been used or created
27120 during this session.
27122 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27124 * org-clock.el (org-clock-persist): New value, to store only the
27126 (org-clock-save): Don't save the clock if only the history should
27128 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
27129 when restoring a saved clock.
27131 2009-11-13 John Wiegley <jwiegley@gmail.com>
27133 * org-clock.el (org-clock-display, org-clock-put-overlay):
27134 Use `org-time-clock-use-fractional'.
27136 * org.el (org-time-clocksum-use-fractional)
27137 (org-time-clocksum-fractional-format): Two new customizable
27138 variables which allow the user to select fractional times (1.25
27139 instead of 1:25) in the `org-clock-display' report.
27141 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27143 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
27146 * org.el (org-tag-alist): Fix customization type.
27148 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27150 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
27151 Make sure the regexp search can fail without throwing an error.
27152 (org-mobile-apply): Save the inbox buffer after removing
27153 successfully applied changes.
27155 2009-11-13 John Wiegley <jwiegley@gmail.com>
27157 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
27158 time is reported after the user comes back (but before they
27161 * org.el (org-get-repeat): Change so that this function can be
27162 called with either `org-scheduled-string' or
27163 `org-deadline-string'.
27165 * org-clock.el (org-clock-auto-clock-resolution): Rename from
27166 `org-clock-disable-clock-resolution', since negatives don't sound
27167 good in customization variables.
27168 (org-clock-in): Don't use the auto-resolution logic if the user is
27169 clocking into a different task while an active clock is running.
27170 This then allows the default behavior of clocking out of the open
27171 task and then into the new task.
27173 * org.el (org-modules): Made this variable more consistent, since
27174 it was referring to Org, OrgMode and Org-mode, whereas the docs
27175 for the variable always refer to Org-mode.
27177 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
27179 * org.el (org-repeat-re): The changed org-repeat-re no longer
27180 matched simple +2d type repeaters. Fix it so it does.
27182 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27184 * org-latex.el (org-export-latex-preprocess): Protect the vspace
27185 macro in the VERSE environment.
27187 2009-11-13 John Wiegley <jwiegley@gmail.com>
27189 * org-habit.el (org-habit-get-priority): A new function that
27190 determines the relative priority of a habit, based on how long
27191 past its scheduled date it is, and how near the deadline is.
27193 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
27194 using `org-habit-get-priority'.
27196 * org-habit.el (org-habit-build-graph): Start displaying colors
27197 from the first scheduled date, if that date is earlier than the
27198 first completion date.
27200 * org-habit.el: Changed all "color" variables to faces, and made
27201 them appropriate for light and dark backgrounds.
27203 * org-habit.el (org-habit-duration-to-days): Made this function
27205 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
27207 * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
27208 habits, since they don't use DEADLINE anymore.
27210 * org.el (org-repeat-re, org-display-custom-time)
27211 (org-timestamp-change): Extend to support the new ".+N/N"
27212 syntax, used for habits.
27214 * org-clock.el (org-clock-resolve-clock): Fix an incorrect
27215 variable reference.
27217 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
27218 modeline when habits are being displayed (if that module is being
27221 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
27223 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
27224 idle time using the xscreensaver extension.
27225 (org-user-idle-seconds): Use X11 idle time if available.
27227 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27229 * org-agenda.el (org-agenda-next-line): New command.
27230 (org-agenda-previous-line): New commands.
27231 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
27233 (org-agenda-follow-mode): Do the follow immediately if the mode is
27235 (previous-line, next-line): Replace keys with the corresponding
27237 (org-agenda-mode-map): Bind backspace and delete to the scrolling
27240 * org.el (org-icompleting-read): Turn off partial completion mode
27241 for the duration of this completion round.
27243 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
27244 macros in author lines and similar stuff.
27246 * org.el (org-file-tags): Fix docstring.
27247 (org-get-buffer-tags): Add the #+FILETAGS tags.
27248 ("ecb"): Make ecb show context after jumping into an Org file.
27250 2009-11-13 John Wiegley <johnw@newartisans.com>
27252 * org-agenda.el (org-finalize-agenda): Draw habit consistency
27253 graphs after everything else in the buffer has been setup.
27255 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27257 * org-mobile.el (org-mobile-apply): Count success and failure.
27259 * org.el (org-indent-line-function): Fix regexp replace problem.
27261 2009-11-13 John Wiegley <johnw@newartisans.com>
27263 * org-clock.el (org-clock-disable-clock-resolution):
27264 New customization variable that disable automatic clock resolution on
27266 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
27267 not automatically resolve anything. This is does not affect
27268 idle-time resolution, however, if `org-clock-idle-time' is set.
27270 2009-11-13 John Wiegley <johnw@newartisans.com>
27272 * org-habit.el: New file, which implements code to build a "habit
27273 consistency graph".
27275 * org-agenda.el (org-agenda-get-deadlines)
27276 (org-agenda-get-scheduled): Display consistency graphs when
27277 outputting habits into the agenda. The graphs are always relative
27278 to the current time.
27279 (org-format-agenda-item): Add new parameter `habitp', which
27280 indicates whether we are formatting a habit or not. Do not
27281 display "extra" leading information if habitp is true.
27283 * org.el (org-repeat-re): Improve regexp to include .+ and ++
27284 leaders for repeat strings.
27285 (org-get-repeat): Now takes a string parameter `tagline', so the
27286 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
27288 2009-11-13 John Wiegley <johnw@newartisans.com>
27290 * org-agenda.el (org-agenda-auto-exclude-function):
27291 New customization variable for allowing the user to create an "auto
27292 exclusion" filter for doing context-aware auto tag filtering.
27293 (org-agenda-filter-by-tag): Changes to support the use of
27294 `org-agenda-auto-exclude-function'. See the new manual addition.
27296 2009-11-13 John Wiegley <johnw@newartisans.com>
27298 * org.el (org-files-list): Don't attempt to return a file name for
27299 Org buffers which have no associated file.
27301 * org-agenda.el (org-agenda-do-action): Fix a typo.
27303 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27305 * org-mobile.el (org-mobile-locate-entry): Interpret files
27306 relative to org-directory.
27307 (org-mobile-inbox-for-pull): Document the best location for this
27309 (org-mobile-check-setup): Verify `org-directory'.
27310 (org-mobile-create-index-file): Sort the files to be listed in
27313 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
27315 * org.el (org-fast-tag-selection): Add a way to display a
27316 description for a tag group. This is done by adding a string to
27317 either the startgroup or endgroup cell.
27319 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27321 * org-clock.el (org-clock-resolve, org-resolve-clocks)
27322 (org-emacs-idle-seconds): Use `org-float-time' instead of
27325 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27327 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
27330 * org.el (org-pre-cycle-hook): Document that `empty' can also be
27331 the value of ARG when doing local cycling.
27333 2009-11-13 John Wiegley <johnw@newartisans.com>
27335 * org-clock.el (org-clock-resolve-clock): If keeping or
27336 subtracting time results in a clock out at a time in the past, and
27337 if the resolution occurred due to idleness or invoking `M-x
27338 org-resolve-clocks', remember that past moment in time. On the
27339 next clock in, the user will be prompted to see if they want to
27340 back-date their new clock to then.
27341 (org-clock-resolve): Do not jump the user to the location of a
27342 dangling clock if the resolution is occurring due to an idle
27343 timeout. In that case there is typically only one dangling clock,
27344 the active one, and there is no value gained by shuffling their
27345 windows around to show it to them. Being prompted to resolve an
27346 idle clock should be as inobtrusive as possible.
27347 (org-resolve-clocks-if-idle): New function that resolves only the
27348 currently active clock if the user has exceeded the time returned
27349 by `org-user-idle-seconds', based on the value of
27350 `org-clock-idle-time'.
27351 (org-clock-in): If, after resolving clocks, (???)
27352 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
27354 * org-clock.el (org-clock-resolve-clock): New function that
27355 resolves a clock to a specific time, closing or resuming as need
27356 be, and possibly even starting a new clock.
27357 (org-clock-resolve): New function used by `org-resolve-clocks'
27358 that sets up for the call to `org-clock-resolve-clock'.
27359 It determines the time to resolve to based on a single-character
27360 selection from the user to either keep time, subtract away time or
27362 (org-resolve-clocks): New user command which resolves dangling
27363 clocks -- that is, open but not active -- anywhere in the file
27364 list returned by `org-files-list'.
27365 (org-clock-in): Automatically resolve dangling clocks whenever a
27367 (org-clock-cancel): If the user cancels the solely clock in a
27368 LOGBOOK, remove the empty drawer.
27370 * org-clock.el (org-clock-idle-time): New user customizable option
27371 for detecting whether the user has left a clock idle. Note: it is
27372 only used in this commit to test whether it's worthwhile to check
27373 OS X to get the Mac user's current idle time. If the Emacs idle
27374 time is less than the value, the user hasn't been away long enough
27375 to be worth checking (a more expensive test than just getting
27377 (org-user-idle-seconds, org-mac-idle-seconds)
27378 (org-emacs-idle-seconds): This three functions, in conjunction
27379 with the user customization variable `org-clock-idle-time', return
27380 the number of seconds (as a floating point) that the user has been
27381 away from their Emacs (or, if running on OS X, their computer).
27383 * org-clock.el (org-find-open-clocks): New function that returns a
27384 list of all open clocks in the given FILE. Note that each clock
27385 it returns is a cons cell of the format (MARKER . START-TIME).
27386 This "clock" value is used by several of the new clock module
27388 (org-is-active-clock): New inline function which tests whether the
27389 given clock value is the same as the currently active clock.
27390 Returns non-nil if this is the case.
27391 (org-with-clock-position): New macro that evaluates FORMS with
27392 point in the buffer and at the position of the given clock.
27393 Changes to the current clock are global.
27394 (org-with-clock): New macro that evaluates FORMS with point in the
27395 buffer and at the position of the given clock. However, changes
27396 to the current clock are local and have no effect on the user's
27397 active clock. This allows, for example, far any clock to be
27398 canceled without canceling the active clock.
27399 (org-clock-clock-in): New inline function that switches the active
27400 clock to the given clock. If either the argument RESUME, or the
27401 global `org-clock-in-resume', are non-nil, it will resume a clock
27402 that was previously left open.
27403 (org-clock-clock-out): New inline function that clocks out the
27404 given clock value without affecting the currently active clock.
27405 (org-clock-clock-cancel): New inline function that cancels the
27406 given clock value without affecting the currently active clock.
27408 * org-clock.el (org-clock-in): Before creating
27409 `org-clock-mode-line-timer', check to make sure an older timer is
27410 not currently running.
27411 (org-clock-out): Accept new third parameter `at-time', which
27412 permits a clock to be clocked out at a specific time. Note that
27413 no attempt is made to verify that the clock out time is later than
27416 * org.el (org-files-list): New utility function for returning a
27417 list of all open org-mode buffers, plus all files used to build
27418 the agenda buffer. Note that not all the files will necessarily
27419 be visited by a buffer at time of call.
27420 (org-entry-beginning-position): Like the function
27421 `line-beginning-position', this inline function returns the
27422 beginning position of the current heading/entry.
27423 (org-entry-end-position): Like the function `line-end-position',
27424 this inline function returns the end position of the current
27427 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27429 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
27432 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27434 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
27436 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27438 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
27439 entries that have no tags.
27440 (org-agenda-search-view): New customize group.
27441 (org-agenda-search-view-search-words-only): New option.
27442 (org-search-view): Implement substring search.
27444 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27446 * org.el (org-outline-level): Add doc string.
27448 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27450 * org-inlinetask.el (org-inlinetask-export): Re-introduce
27452 (org-inlinetask-export-handler): Only export inline task if the
27453 user option calls for it.
27455 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27457 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
27460 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27462 * org-latex.el (org-export-latex-tables): Don't format in
27465 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27467 * org-src.el (org-edit-src-code)
27468 (org-edit-src-find-region-and-lang, org-edit-src-exit):
27469 Handle macro editing.
27471 * org-agenda.el (org-prefix-category-max-length): New variable.
27472 (org-format-agenda-item): Use `org-prefix-category-max-length'.
27473 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
27475 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27477 * org-mobile.el (org-mobile-create-index-file): Improve the
27478 listing of tags and todo keywords.
27480 * org-latex.el (org-export-latex-format-image): New function.
27481 (org-export-latex-links): Use `org-export-latex-format-image'.
27483 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27485 * org-inlinetask.el (org-inlinetask-get-current-indentation)
27486 (org-inlinetask-remove-terminator): New functions.
27487 (org-inlinetask-export-handler): Terminate the description list.
27489 * org-exp.el (org-export-select-backend-specific-text): Remove the
27492 * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
27493 tasks without content.
27495 * org-clock.el: Make sure the clock-in target position does not
27496 move to a different node by widening the buffer.
27498 * org-html.el (org-export-html-format-image): Wrap image into
27499 figure div only when there is a caption.
27501 * org-archive.el (org-archive-mark-done): Change default value to
27504 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
27506 * org.el (org-context): Call `bobp', not `eobp'.
27508 * org-clock.el (org-clock-cancel): Remove quotes from marker
27511 * org.el (org-read-date-prefer-future): New allowed value `time'.
27512 (org-read-date-analyze): Shift day to tomorrow depending on time
27513 entered and value of `org-read-date-prefer-future'.
27515 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
27517 * org.el (org-version, org-get-refile-targets, org-refile)
27518 (org-store-log-note, org-diary-to-ical-string)
27519 (org-speedbar-set-agenda-restriction):
27520 * org-publish.el (org-publish-find-title):
27521 * org-plot.el (org-plot/gnuplot):
27522 * org-mouse.el (org-mouse-do-remotely):
27523 * org-mobile.el (org-mobile-move-capture):
27524 * org-mac-message.el (org-mac-message-insert-flagged):
27525 * org-latex.el (org-replace-region-by-latex):
27526 * org-docbook.el (org-replace-region-by-docbook):
27527 * org-clock.el (org-clock-out, org-clock-cancel):
27528 * org-bibtex.el (org-execute-file-search-in-bibtex):
27529 Use with-current-buffer.
27531 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
27533 * org.el (org-directory, org-map-entries):
27534 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
27536 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27538 * org.el (org-set-tags-to): New command.
27540 * org-latex.el (org-export-latex-set-initial-vars): Also check in
27543 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
27546 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
27548 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27550 * org-inlinetask.el (org-inlinetask-export): Option removed.
27551 (org-inlinetask-export-handler): Better export.
27553 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
27554 (org-export-as-xoxo): Run the new hook.
27556 * org-html.el (org-export-html-final-hook): New hook.
27557 (org-export-as-html): Run the new hook.
27559 * org-docbook.el (org-export-docbook-final-hook): New hook.
27560 (org-export-as-docbook): Run the new hook.
27562 * org-ascii.el (org-export-ascii-final-hook): New hook.
27563 (org-export-as-ascii): Run the new hook.
27565 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
27566 space character as the character before the ^/_.
27567 (org-export-latex-final-hook): New hook.
27568 (org-export-as-latex): Run `org-export-latex-final-hook'.
27570 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27572 * org-macs.el (org-if-unprotected-at): Fix docstring.
27574 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
27575 text in the prefix (if category is a link).
27577 * org-latex.el (org-export-latex-preprocess): Deal properly with
27578 empty lines in verse environments.
27580 * org.el (org-format-latex-header): Inline fullpage.sty.
27582 * org-footnote.el (org-footnote-create-definition): Reveal context
27583 to add a new footnote definition.
27585 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
27586 org-table-recalculate when cursor is in TBLFM line.
27588 * org-list.el (org-renumber-ordered-list): Fix cursor position
27589 when bullet length has changed.
27591 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27593 * org.el (org-format-latex): Mention `org-format-latex-options' in
27596 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27598 * org.el (org-agenda-get): New function.
27600 * org-agenda.el (org-agenda-post-command-hook): No longer move
27601 point away from end of line.
27602 (org-agenda-add-entry-text, org-agenda-collect-markers)
27603 (org-finalize-agenda, org-agenda-mark-clocking-task)
27604 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
27605 (org-agenda-entry-text-show, org-agenda-highlight-todo)
27606 (org-agenda-compare-effort, org-agenda-filter-apply)
27607 (org-agenda-later, org-agenda-change-time-span)
27608 (org-agenda-post-command-hook, org-agenda-show-priority)
27609 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
27610 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
27611 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
27612 (org-agenda-open-link, org-agenda-copy-local-variable)
27613 (org-agenda-switch-to, org-agenda-check-no-diary)
27614 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
27615 (org-agenda-add-note, org-agenda-change-all-lines)
27616 (org-agenda-priority, org-agenda-set-tags)
27617 (org-agenda-set-property, org-agenda-set-effort)
27618 (org-agenda-toggle-archive-tag, org-agenda-date-later)
27619 (org-agenda-show-new-time, org-agenda-date-prompt)
27620 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
27621 (org-agenda-clock-in, org-agenda-bulk-mark)
27622 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
27623 Use `org-get-at-bol'.
27625 * org-colview.el (org-columns-display-here)
27626 (org-columns-edit-allowed, org-agenda-columns):
27627 Use `org-get-at-bol'.
27629 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27631 * org.el (org-special-ctrl-a/e): Improve documentation and
27633 (org-end-of-line): Don't jump to after the ellipsis.
27634 (org-mode-map): Bind <home> and <end> as well.
27636 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27638 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27639 space after #+ as comments.
27640 (org-open-at-point): Run `org-follow-link-hook' always.
27642 * org-latex.el (org-export-latex-emph-format): Use better commands
27643 to insert special characters in verbatim snippets.
27645 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27647 * org-faces.el (org-copy-face): New function. Use it to create
27648 various faces formerly created by using `copy-face'.
27650 * org-agenda.el (org-prepare-agenda): Don't officially mark this
27652 (org-agenda-quit): Kill the frame containing the agenda window if
27653 that frame was created for the agenda.
27655 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27657 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27658 stamp in the agenda.
27660 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27662 * org-agenda.el (org-prepare-agenda):
27663 Reset `org-drawers-for-agenda'.
27664 (org-prepare-agenda): Uniquify list of drawers.
27666 * org.el (org-complex-heading-regexp-format): New variable.
27667 (org-set-regexps-and-options):
27668 Define `org-complex-heading-regexp-format'.
27669 (org-drawers-for-agenda): New variable.
27670 (org-map-entries): Bind `org-drawers-for-agenda'.
27671 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27673 * org-remember.el (org-go-to-remember-target)
27674 (org-remember-handler): Use `org-complex-heading-regexp-format'.
27676 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27678 * org-agenda.el (org-agenda-highlight-todo): Fix text property
27681 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27682 always with `invisible-ok'.
27683 (org-store-link): No error when there is nothing to link to in the
27686 * org-list.el (org-update-checkbox-count): Insert changed cookie
27687 before the old, to avoid problems with invisibility at the end of
27689 (org-update-checkbox-count): Insert changed cookie before the old,
27690 to avoid problems with invisibility at the end of the line.
27692 * org.el (org-sort-entries-or-items): Include the final newline.
27693 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27694 lines for fontification.
27695 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27696 (org-prepare-dblock): Store the current indentation of the BEGIN
27698 (org-update-dblock): Apply the indentation of the begin line to
27699 the rest of the block.
27700 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27701 (org-startup-folded): New allowed value `showeverything'.
27702 (org-startup-options): Add STARTUP keyword `showeverything'.
27703 (org-set-startup-visibility): Respect value `showeverything' in
27704 org-startup-folded.
27706 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27708 * org.el (org-closest-date): Fix issue with past preference.
27710 * org-archive.el (org-archive-set-tag)
27711 (org-archive-subtree-default): New commands.
27713 * org-clock.el (org-clock-clocktable-default-properties):
27715 (org-clock-report):
27716 Use `org-clock-clocktable-default-properties'.
27718 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27720 * org.el (org-iswitchb-completing-read): Fix typo.
27722 * org-crypt.el: New file.
27724 * org.el: Add an entry for org-crypt.
27726 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27728 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27730 (org-batch-store-agenda-views): New function.
27731 (org-agenda-title-append): Define variable.
27732 (org-write-agenda): New export to Org files.
27733 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27734 (org-agenda): Allow to keep the restricted file list if a special
27735 variable is bound to t.
27736 (org-agenda): Define a special agenda view for working on flagged
27738 (org-agenda-get-restriction-and-command): List the new agenda
27740 (org-agenda-show-the-flagging-note): New command.
27741 (org-agenda-mode-map): New key `?' for looking at the flagging
27744 * org.el (org-autoload): Autoload org-mobile.el.
27745 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27747 * org-mobile.el: New file.
27749 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27751 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27753 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27755 (org-table-get-remote-range): Match indented #+TBLNAME
27758 * org.el (org-convert-to-odd-levels)
27759 (org-convert-to-oddeven-levels): Work also correctly if the file
27760 is in outline-mode.
27762 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27764 * org.el (org-store-link): When in agenda buffer, link to
27766 (org-add-planning-info): Remove spaces at eol.
27768 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27771 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27773 * org-latex.el (org-export-latex-first-lines): Fix problem with
27774 LaTeX export of first line and selected subtree.
27776 * org.el (org-shifttab): Interpret arg differently when using only
27779 2009-10-01 Bastien Guerry <bzg@gnu.org>
27781 * org.el (org-check-agenda-file): Use a more explicit message.
27783 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27785 * org-exp.el (org-export-remove-special-table-lines): Don't remove
27788 2009-10-01 Bastien Guerry <bzg@gnu.org>
27790 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27791 prompt in the temporary window.
27793 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27794 prefix for marked entries in the agenda view.
27796 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
27798 * org.el (outline-end-of-subtree): Bugfix: advise this function in
27799 a way that prevents any trailing character from being displayed.
27801 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27803 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27806 * org-exp.el (org-export-remove-special-table-lines): Remove bad
27809 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27811 * org-latex.el (org-export-latex-preprocess): Do not protect in
27814 * org-src.el (org-edit-src-save): Save window setup while saving.
27815 (org-edit-src-code): Use new buffer name construction scheme.
27817 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27819 * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27821 (org-agenda-entry-text-cleanup-hook): New hook.
27822 (org-agenda-get-some-entry-text): Remove matches of
27823 `org-agenda-entry-text-exclude-regexps' and run the hook
27824 `org-agenda-entry-text-cleanup-hook'.
27826 * org.el (org-offer-links-in-entry): New argument ZERO to
27827 implement a link with index zero.
27828 (org-cycle-show-empty-lines): Not keep empty line under header
27830 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27831 to nil for special completion.
27832 (org-store-link): Don't error before the first heading.
27834 * org-agenda.el (org-agenda-open-link): Pass the prefix to
27835 `org-offer-links-in-entry'.
27837 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27839 * org-agenda.el (org-agenda-quit): Provide the window argument for
27840 `window-dedicated-p', Emacs 22 needs it.
27841 (org-format-agenda-item): If the category is a link, arrange for
27842 invisible text to replaced with spaces.
27843 (org-compile-prefix-format): Add the extra space.
27844 (org-prefix-category-length): New variable.
27846 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27847 references from TOC lines.
27849 * org.el (org-selected-window): New variable.
27851 * org-table.el (org-table-edit-formulas): Remember the selected
27853 (org-table-fedit-finish, org-table-fedit-abort): Select the window
27854 that was originally selected.
27856 * org-exp.el (org-export-preprocess-apply-macros): Scan the
27857 expansion of a macro for more macro definitions.
27859 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27860 invisibility overlay starts on the newline.
27862 2009-10-01 Glenn Morris <rgm@gnu.org>
27864 * org-agenda.el (calendar-check-holidays):
27865 * org-exp.el (org-agenda-skip):
27866 * org-list.el (outline-back-to-heading):
27867 * org-wl.el (wl-summary-goto-folder-subr):
27868 * org.el (iswitchb-mode, remember, remember-buffer-desc)
27869 (remember-finalize, remember-save-after-remembering, remember-register)
27870 (remember-buffer, remember-handler-functions)
27871 (remember-annotation-functions): Remove unused declarations.
27873 * org.el (iswitchb-read-buffer): Fix declaration.
27875 2009-09-30 Glenn Morris <rgm@gnu.org>
27877 * org-compat.el (w32-focus-frame):
27878 * org-exp-blocks.el (R):
27879 * org-exp.el (htmlize-buffer):
27880 * org-protocol.el (server-edit):
27881 * org-table.el (org-format-org-table-html):
27882 * org.el (org-indent-mode): Fix declarations.
27884 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27885 free variable `fun'.
27887 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
27889 * org-agenda.el (org-agenda-restore-windows-after-quit):
27890 Fix typo in docstring.
27892 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
27894 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27895 (org-shiftselect-error, org-ctrl-c-ctrl-c):
27896 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27897 * org-attach.el (org-attach-check-absolute-path):
27898 * org-docbook.el (org-export-as-docbook):
27899 * org-html.el (org-export-as-html):
27900 * org-id.el (org-id-update-id-locations):
27901 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27902 Fix typos in error messages.
27904 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
27906 * org-ascii.el: Require CL for the `loop' macro.
27908 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
27910 * org-gnus.el (require): Wrap (require gnus-sum) into
27913 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
27915 * org-protocol.el (org-protocol-store-link)
27916 (org-protocol-remember, org-protocol-open-source): Remove autoload
27919 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27920 referencing the start of the line.
27922 * org-gnus.el: Remove unnecessary declare-function forms.
27923 (gnus-sum): Always require gnus-sum.
27925 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27927 * org-protocol.el (org-protocol-store-link)
27928 (org-protocol-remember, org-protocol-open-source): Add autoloads.
27930 * org-compat.el (org-float-time): New function.
27932 * org.el (org-clock-update-time-maybe)
27933 (org-sort-entries-or-items, org-do-sort)
27934 (org-evaluate-time-range, org-time-string-to-seconds)
27935 (org-closed-in-range): Use `org-float-time'.
27937 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27938 (org-timer-seconds): Use `org-float-time'.
27940 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27941 (org-clock-sum, org-dblock-write:clocktable)
27942 (org-clocktable-steps): Use `org-float-time'.
27944 * org-agenda.el (org-agenda-last-marker-time)
27945 (org-agenda-new-marker, org-diary): Use `org-float-time'.
27947 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27950 * org-exp.el (org-get-file-contents): Only protect lines that
27953 * org-html.el (require): Require cl for compilation.
27955 * org.el: Avoid using `default-major-mode'.
27957 * org-plot.el (require): Require CL only at compile time.
27959 * org-exp.el (require): Require CL only at compile time.
27961 * org-agenda.el (org-agenda-quit): When the agenda window is
27962 dedicated, remove other windows before exiting, so that the frame
27963 really will be killed.
27965 * org-exp.el (org-export-handle-include-files): Reset START and
27966 END for each loop cycle.
27968 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27970 * org.el (org-eval-in-calendar):
27971 Use `org-select-frame-set-input-focus'.
27973 * org-compat.el (org-select-frame-set-input-focus): New function.
27975 * org.el (org-update-statistics-cookies): New function.
27976 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
27978 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27980 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
27981 after the local variables are set.
27983 * org-latex.el (org-export-latex-protect-amp): New function.
27984 (org-export-latex-links): Protect link ampersands in tables.
27986 * org-exp.el (org-export-select-backend-specific-text): Match in
27987 two steps, to avoid regexp problems.
27989 * org.el (org-offer-links-in-entry): Improve working with many and
27992 * org-agenda.el (org-agenda-show-1): Make more consistent with
27994 (org-agenda-cycle-show): Make more consistent with normal cycling.
27996 * org-gnus.el (org-gnus-store-link): Restore the linking to a
27999 2009-09-02 Bastien Guerry <bzg@gnu.org>
28001 * org-latex.el (org-export-latex-first-lines): Bugfix.
28003 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28005 * org-clock.el (org-clock-modify-effort-estimate): Emit message
28008 * org.el (org-set-effort): New function.
28009 (org-mode-map): New key for effort setting command.
28011 * org-agenda.el (org-agenda): Keep window setup when calling
28012 agenda from within agenda window.
28013 (org-agenda-mode-map): New keys for effort setting commands.
28014 (org-agenda-menu): Add effort setting commands to menu.
28015 (org-agenda-set-property, org-agenda-set-effort): New functions.
28017 * org-latex.el (org-export-latex-tables):
28018 Fix `org-table-last-alignment' and `org-table-last-column-widths' if
28019 the first column has been removed.
28021 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28023 * org.el (org-remove-timestamp-with-keyword): Only remove in
28024 entry, not in subtree.
28026 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
28029 * org.el (org-open-at-point): When on headline, offer all strings
28032 * org-remember.el (org-remember-templates): Documentation fix.
28034 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
28035 `org-get-last-sibling' instead of the outline versions of these
28037 (org-get-last-sibling): New function.
28038 (org-refile): Use `org-get-next-sibling' instead of the outline
28039 version of this function.
28040 (org-clean-visibility-after-subtree-move):
28041 Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
28042 outline versions of these functions.
28044 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28046 * org-agenda.el (org-prepare-agenda): When creating a new frame
28047 for the agenda, make the window dedicated.
28049 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
28051 * org-table.el (org-table-align): Change the order of reinsertion
28052 and deletion, to avoid problems with overlays following the table.
28054 * org.el (org-parse-time-string): Better error message.
28055 (org-show-subtree): Use org-end-of-subtree.
28057 * org-macs.el (org-goto-line): New defsubst.
28059 * org.el (org-open-file, org-change-tag-in-region)
28060 (org-fast-tag-show-exit): Don't use `goto-line'.
28062 * org-table.el (org-table-align, org-table-insert-column)
28063 (org-table-delete-column, org-table-move-column)
28064 (org-table-sort-lines, org-table-copy-region)
28065 (org-table-paste-rectangle, org-table-wrap-region)
28066 (org-table-get-specials, org-table-rotate-recalc-marks)
28067 (org-table-get-range, org-table-recalculate)
28068 (org-table-edit-formulas, org-table-fedit-convert-buffer)
28069 (org-table-show-reference, org-table-highlight-rectangle):
28070 Don't use `goto-line'.
28072 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
28073 (org-edit-src-exit): Don't use `goto-line'.
28075 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
28077 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
28078 Don't use `goto-line'.
28080 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28082 * org-colview.el (org-columns, org-columns-redo)
28083 (org-agenda-columns): Don't use `goto-line'.
28085 * org-agenda.el (org-agenda-mode): Force visual line motion off.
28086 (org-agenda-add-entry-text-maxlines): Improve docstring.
28087 (org-agenda-start-with-entry-text-mode): New option.
28088 (org-agenda-entry-text-maxlines): New option.
28089 (org-agenda-entry-text-mode): New variable.
28090 (org-agenda-mode): Set initial value of
28091 `org-agenda-entry-text-mode'.
28092 (org-agenda-mode-map): Add the `E' key.
28093 (org-agenda-menu): Add entry text mode to the menu.
28094 (org-agenda-get-some-entry-text): Fix line count bug.
28095 (org-finalize-agenda): Apply entry text mode if appropriate.
28096 (org-agenda-entry-text-show-here): New function.
28097 (org-agenda-entry-text-show): New function.
28098 (org-agenda-entry-text-hide): New function.
28099 (org-agenda-view-mode-dispatch): Add entry text mode to the view
28101 (org-agenda-entry-text-mode): New command.
28102 (org-agenda-set-mode-name): Add entry text mode to the mode line
28104 (org-agenda-undo, org-agenda-get-restriction-and-command)
28105 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
28108 2009-09-02 Bernt Hansen <bernt@norang.ca>
28110 * org-clock.el (org-notify): Bugfix.
28112 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28114 * org-agenda.el (org-agenda-open-link): Handle multiple links and
28115 check for after-string.
28117 * org-gnus.el (org-gnus-store-link): Simplify.
28119 * org.el (org-latex-regexps): Don't add extra empty lines for
28122 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28124 * org-agenda.el (org-agenda-get-some-entry-text): New function.
28125 (org-agenda-add-entry-text):
28126 Use `org-agenda-get-some-entry-text'.
28128 * org.el (org-cycle-separator-lines): Update docstring.
28129 (org-cycle-show-empty-lines): Handle negative values for
28130 `org-cycle-show-empty-lines'.
28132 * org-exp.el (org-export-protect-sub-super): New function.
28133 (org-export-normalize-links): Protect the url of plain links from
28134 supscript and superscript processing.
28136 * org-remember.el (org-remember-escaped-%): New function.
28137 (org-remember-apply-template): Use `org-remember-escaped-%' to
28138 detect escaped % signs.
28140 2009-09-02 Bastien Guerry <bzg@gnu.org>
28142 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
28143 sound when showing the notification.
28145 * org-clock.el (org-notify): New function.
28146 (org-clock-notify-once-if-expired): Use `org-notify'.
28148 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
28149 and `gnus-article-mode' separately.
28150 (gnus-summary-article-header): Fix the declare-function.
28152 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28154 * org-exp.el (org-export-format-source-code-or-example):
28155 Translate language.
28157 * org-src.el (org-src-lang-modes): New variable.
28158 (org-edit-src-code): Translate language.
28160 * org-exp.el (org-export-format-source-code-or-example): Deal wit
28161 the new structure of the `org-export-latex-listings-langs'
28164 * org-latex.el (org-export-latex-listings-langs): Change structure
28165 of the variable from plist to alist.
28167 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28169 * org.el (org-in-commented-line): New function.
28171 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28173 * org.el (org-hide-block-toggle): Make folded blocks searchable.
28175 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
28177 * org.el (org-flag-drawer): More useful error.
28179 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28181 * org-remember.el (org-remember-apply-template):
28182 Use org-icompleting-read.
28184 * org-publish.el (org-publish): Use org-icompleting-read.
28186 * org-colview.el (org-columns-edit-value, org-columns-new)
28187 (org-insert-columns-dblock): Use org-icompleting-read.
28189 * org-attach.el (org-attach-delete-one, org-attach-open):
28190 Use org-icompleting-read.
28192 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28194 * org.el (org-hierarchical-todo-statistics): Improve docstring.
28195 (org-version): Return the version text.
28196 (org-org-menu): Add a menu entry for the new bug reporter.
28197 (org-submit-bug-report): New command.
28199 * org-list.el (org-hierarchical-checkbox-statistics):
28202 * org.el (org-emphasis-regexp-components): Add "`" to set of
28203 pre-emphasis characters.
28205 * org-latex.el (org-export-latex-classes): Always include the soul
28207 (org-export-latex-emphasis-alist): Use \st for strikethough.
28209 * org-exp-blocks.el (org-export-blocks-preprocess):
28210 Use `indent-code-rigidly' to indent.
28212 * org-agenda.el (org-agenda-get-restriction-and-command):
28213 Remove properties only if MATCH really is a string.
28215 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28217 * org-latex.el (org-export-latex-packages-alist):
28218 Fix customization type.
28220 * org.el (org-create-formula-image): Also use
28221 `org-export-latex-packages-alist'.
28223 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
28224 (org-export-as-html): Format footnotes correctly.
28226 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28228 * org.el (org-fast-tag-selection): Avoid text properties on tags
28231 * org-agenda.el (org-agenda-get-restriction-and-command):
28232 Avoid text properties on the match element.
28234 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28236 * org.el (org-set-regexps-and-options): Make sure the list of done
28237 keywords is not invalid.
28239 * org-exp.el (org-export-interpolate-newlines): New function.
28241 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28243 * org.el (org-format-latex): Avoid nested overlays.
28245 * org-latex.el (org-export-latex-listings-langs): Add a few more
28248 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
28249 ignore newlines and space before the first macro argument.
28251 * org-latex.el (org-export-latex-tables): Remove save-excursion
28252 around `org-table-align'.
28254 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28256 * org.el (org-export-html-special-string-regexps):
28257 Definition moved into org.el.
28259 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
28262 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28264 * org-latex.el (org-export-latex-listings)
28265 (org-export-latex-listings-langs): New options.
28267 * org-exp.el (org-export-format-source-code-or-example):
28268 Use listing package if requested by the user.
28270 2009-09-02 Bastien Guerry <bzg@gnu.org>
28272 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
28273 command before actually switching to a buffer.
28275 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28277 * org-exp.el (org-get-file-contents): Only quote org lines when
28278 the markup is src or example.
28280 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
28282 (org-agenda-get-day-entries): Remember deadline results and pass
28283 them on into the function getting the scheduling information.
28284 (org-agenda-get-scheduled): Accept deadline results as parameters
28285 and maybe skip some entries.
28286 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
28288 * org.el (org-insert-heading): When respecting content, do not
28289 convert current line to headline.
28291 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
28292 Also cheeeeeck the hd marker.
28293 (org-clock-in): Also set the hd marker.
28294 (org-clock-out): Also set the hd marker.
28295 (org-clock-cancel): Reset markers.
28297 * org.el (org-clock-hd-marker): New marker.
28299 * org-faces.el (org-agenda-clocking): New face.
28301 * org-agenda.el (org-agenda-mark-clocking-task): New function.
28302 (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
28304 * org.el (org-modules): Add org-track.el.
28306 * org-agenda.el (org-agenda-bulk-marked-p): New function.
28307 (org-agenda-bulk-mark, org-agenda-bulk-unmark):
28308 Use `org-agenda-bulk-marked-p'.
28309 (org-agenda-bulk-toggle): New command.
28311 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
28313 * org.el (org-move-subtree-down): Hide subtree if it was folded,
28316 * org-remember.el (org-remember-finalize): Avoid buffer-modified
28319 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
28321 * org-html.el (org-export-as-html):
28322 * org-docbook.el (org-export-as-docbook):
28323 Use (default-value 'major-mode) instead of default-major-mode.
28325 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
28327 * org-docbook.el: Add arch-tag.
28329 * org-exp-blocks.el: Add arch-tag.
28331 * org-id.el: Add arch-tag.
28333 * org-indent.el: Add arch-tag.
28335 * org-inlinetask.el: Add arch-tag.
28337 * org-protocol.el: Add arch-tag.
28339 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28341 * org.el (org-create-formula-image): Remove the -E option for
28344 * org-exp.el (org-default-export-plist): Respect #+BIND.
28345 (org-export-confirm-letbind): New function.
28347 * org.el (org-paste-subtree): Test the kill ring entry if it is
28349 (org-copy-subtree): Use `org-forward-same-level'.
28350 (org-forward-same-level): Respect the `invisibe-ok' arg for
28353 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28355 * org.el (org-table-map-tables): Make sure cursor is back at table
28356 beginning after funcall.
28358 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
28359 handled before children, and do not error if an entry is not
28360 found, probably because it hase been remove when the parent was
28361 archived or refiled.
28363 * org.el (org-ido-completing-read): Accept straight lists for
28364 completion as well as alists.
28366 * org-timer.el (org-timer-cancel-timers): Rename from
28367 `org-timer-cancel-timers'.
28369 * org.el (org-cycle-internal-local): Fix problem with finding next
28372 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28374 * org-list.el (org-list-send-list):
28375 Call `org-list-goto-true-beginning' instead of
28376 `org-list-find-true-beginning', which does not exist.
28378 * org-timer.el (org-timer-reset-timers): Use `mapc'.
28379 (org-timer-set-timer): Do not assign to heading.
28381 * org-id.el (org-id-open): Quote function name.
28383 * org-macs.el (org-unmodified): Turn off recording undo
28384 information while running inside the macro.
28386 * org-table.el (org-table-export): Also work in file-less
28389 * org.el (org-startup-indented): New option.
28390 (org-startup-options): Add new options indent and noindent.
28391 (org-unfontify-region): Remove line-prefix and wrap-prefix
28393 (org-after-demote-entry-hook, org-after-promote-entry-hook):
28395 (org-promote, org-demote): Run the new hooks.
28397 * org-table.el (org-table-align): Replace leading \n as well.
28399 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
28400 and `line-wrap' text properties.
28402 * org-compat.el (org-kill-new): New function.
28404 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
28405 `line-wrap' text properties.
28407 * org-indent.el: New file.
28409 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28411 * org.el (org-provide-todo-statistics): Tweak docstring.
28413 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
28415 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28417 * org-exp.el (org-export-as-org): Insert the "-source" string
28418 before the extension.
28420 * org.el (org-read-date): Make sure the calendar is in the current
28422 (org-set-emph-re): Remove the ? from the post-match.
28423 (org-emphasis-regexp-components): Add backslash to the
28425 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
28426 optional so that also lines at the end of the buffers will still
28427 be matched as headlines.
28429 * org-table.el (org-table-error-on-row-ref-crossing-hline):
28430 Variable made obsolete.
28431 (org-table-relative-ref-may-cross-hline): New option.
28432 (org-table-find-row-type): Honow the new option
28433 `org-table-relative-ref-may-cross-hline'.
28435 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28437 * org-table.el (org-table-cut-region, org-table-copy-region):
28438 Work on single field if no active region.
28440 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28442 * org-latex.el (org-export-latex-make-header): Only insert title
28445 * org.el (org-make-options-regexp): Allow empty values.
28447 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28449 * org.el (org-cycle-internal-local): Improve version of finding
28451 (org-cycle-hide-drawers): Only hide drawers if this is really
28453 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
28454 org-version of this function in Org-mode. We use advice to
28455 implement this change, so that future changes to this function in
28456 outline.el wil be handled properly.
28457 (org-forward-same-level, org-backward-same-level): New commands.
28459 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28461 * org.el (org-remove-empty-overlays-at)
28462 (org-clean-visibility-after-subtree-move): New functions.
28463 (org-move-subtree-down): Simplify cleanup of display.
28465 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28467 * org-mac-message.el (org-mac-message-get-links): Improve
28468 docstring. Make argument SELECT-OR-FLAGGED optional, default to
28469 "s". Fix the return value.
28470 (org-mac-message-insert-flagged): Simplify.
28472 * org.el (org-refile-get-location): Tamper with refile history o
28473 that history contains compete matches instead of the entered
28476 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28478 * org.el (org-store-link): Never store a link to an inline task.
28480 * org-footnote.el (org-footnote-goto-local-insertion-point):
28481 Skip inline tasks when positioning footnotes.
28483 * org.el (org-refile): Remove the END line when archiving an
28484 inline task that does have an END line.
28486 * org-archive.el (org-archive-subtree): Remove the END line when
28487 archiving an inline task that does have an END line.
28489 * org-macs.el (org-with-limited-levels): New macro.
28490 (org-get-limited-outline-regexp): New function.
28492 * org-exp.el (org-export-format-source-code-or-example): Fix bug
28493 that did not enumerate first line.
28494 (org-export-mark-radio-links): Skip matches in links.
28496 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28498 * org.el (org-activate-plain-links): Make single-match.
28499 (org-adapt-indentation): Fix docstring.
28501 * org-macs.el (org-unmodified): Turn of modification hooks while
28502 running this macro.
28504 2009-08-06 Bastien Guerry <bzg@gnu.org>
28506 * org.el (org-adapt-indentation): Slightly improve the docstring.
28507 (org-occur): Sends an error when the user inputs an empty string.
28508 (org-priority): Bugfix: the tag alignement should happen within
28511 2009-08-06 Bastien Guerry <bzg@gnu.org>
28513 * org.el (org-make-link-regexps): Don't exclude parentheses from
28514 `org-plain-link-re'.
28515 (org-cycle-internal-local): When locally cycling, switch directly
28516 from CHILDREN to FOLDED if there is no subtree.
28517 (org-cycle): Update the docstring to document the new behavior of
28518 `org-cycle-internal-local'.
28520 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
28522 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
28523 an abbreviated format for days.
28525 2009-08-06 Bastien Guerry <bzg@gnu.org>
28527 * org-protocol.el (org-protocol-default-template-key):
28530 * org.el (org-refile): Bugfix: save-excursion before reading the
28531 refile target, otherwise cursor moves might confuse `org-refile'.
28533 * org.el (org-toggle-heading): Bugfix: correctly convert list
28534 items before the first headline.
28536 * org.el (org-provide-todo-statistics): Allow a list of TODO
28537 keywords to compute statistics against headlines containing a
28538 keyword from this list.
28539 (org-update-parent-todo-statistics): Possibly use the new allowed
28540 value of `org-provide-todo-statistics'.
28542 2009-08-06 Bastien Guerry <bzg@gnu.org>
28544 * org-timer.el: Add autoload cookie.
28546 * org.el (org-occur-link-in-agenda-files): New function.
28548 * org-timer.el (org-timer-last-timer): New variable.
28550 * org-agenda.el (org-agenda-mode-map): New key for
28551 org-timer-set-timer called from the agenda.
28553 * org.el (org-mode-map): New key for org-timer-set-timer.
28555 * org-timer.el (org-timer-reset-timers)
28556 (org-timer-show-remaining-time, org-timer-set-timer):
28559 * org-clock.el (org-show-notification): Update the docstring.
28561 * org.el (org-provide-todo-statistics): Allow new value
28562 'all-headlines for this option, which includes entries with no
28563 TODO keywords in the todo statistics.
28564 (org-update-parent-todo-statistics): Possibly use the new
28565 'all-headline value from `org-provide-todo-statistics'.
28567 2009-08-06 Bastien Guerry <bzg@gnu.org>
28569 * org-clock.el (org-dblock-write:clocktable): Add a new option
28570 :timestamp which allows display of timestamps in clock reports.
28572 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
28573 list to a subtree, preserving the structure of the list.
28574 (org-set-emph-re): Make the last element optional in the regexp.
28575 This regexp now matches an emphasized string at the end of a line.
28577 * org-list.el (org-list-goto-true-beginning)
28578 (org-list-make-subtree, org-list-make-subtrees): New functions.
28580 * org.el (org-eval-in-calendar): Select the right frame.
28581 (org-save-frame-excursion): Remove this macro.
28583 2009-08-06 Bastien Guerry <bzg@gnu.org>
28585 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
28586 trying to find the beginning of a list.
28588 * org-exp.el (org-get-file-contents): Use a new argument: markup.
28589 When present, tell org-get-file-contents not to protect org-like
28592 * org-id.el (org-id-uuid-program): New option to set the name of
28593 the uuidgen program.
28594 (org-id-method): Use `org-id-uuid-program'.
28595 (org-id-new): Use `org-id-uuid-program'.
28597 2009-08-06 Bastien Guerry <bzg@gnu.org>
28599 * org-exp.el (org-export-number-lines): Allow whitespace in code
28600 references. Allow the -r switch to remove the references in the
28601 source code even when the lines are not numbered: the labels can
28602 be explicit enough.
28604 * org.el (org-fontify-whole-heading-line): New option.
28605 (org-set-font-lock-defaults): Use the new option.
28607 * org-clock.el (org-show-notification-handler): New option.
28608 (org-show-notification): Use the new option.
28610 2009-08-06 Bastien Guerry <bzg@gnu.org>
28612 * org.el (org-eval-in-calendar): Fix a bug about calendar
28613 navigation when `calendar-setup' value is 'calendar-only.
28615 2009-08-06 Bastien Guerry <bzg@gnu.org>
28617 * org.el (orgstruct++-mode): Fix typo in docstring.
28618 (org-insert-link): Clean up: (or (...)) => (...)
28619 (org-insert-link): Use TAB for stored links completion.
28621 2009-08-06 Bastien Guerry <bzg@gnu.org>
28623 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
28624 building the list of targets.
28626 * org-remember.el (org-remember-delete-empty-lines-at-end):
28628 (org-remember-handler): Use the new option.
28630 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
28632 * org.el (org-tags-sort-function): New option for sorting tags.
28633 (org-set-tags): Use the new option to sort tags.
28635 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28636 premature deletion of the data when using org-plot in a script.
28638 2009-08-06 Bastien Guerry <bzg@gnu.org>
28640 * org-clock.el (org-clock-in-prepare-hook): New hook.
28641 (org-clock-in): Use this new hook.
28643 2009-08-06 Bastien Guerry <bzg@gnu.org>
28645 * org.el (org-special-ctrl-a/e): Explicitly bind the value
28646 'reversed for this option to the "true line boundary first"
28648 (org-tags-match-list-sublevels): Document the 'indented value for
28651 * org-latex.el (org-export-latex-first-lines): Fix problem with
28652 publishing the region.
28654 * org-exp.el (org-export-format-source-code-or-example):
28655 Fix bad line numbering when exporting examples in HTML.
28657 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
28659 * org-colview.el (org-format-time-period): Formats a time in
28660 fractional days as days, hours, mins, seconds.
28661 (org-columns-display-here): Add special handling for SINCE and
28662 SINCE_IA to format for display.
28664 * org.el (org-time-since): Add a function to get the time since an
28666 (org-entry-properties): Add two new special properties: SINCE and
28667 SINCE_IA. These give the time since any active or inactive
28668 timestamp in an entry.
28669 (org-special-properties): Add SINCE, SINCE_IA.
28670 (org-tags-sort-function): Add custom declaration for tags
28672 (org-set-tags): Sort tags if org-tags-sort-function is set.
28674 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28676 * org-clock.el (org-clock-goto): Find hidden headlines as well.
28678 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28680 * org-plot.el (org-plot/add-options-to-plist): Add timeind
28683 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28685 * org-publish.el (org-publish-remove-all-timestamps): New function.
28686 (org-publish-all): Remove all timestamp files if `org-publish-all'
28687 is called with a prefix argument.
28689 * org-list.el (org-indent-item): Fix typo.
28690 (org-item-indent-positions): Normalize ordered bullet.
28692 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28694 * org-macs.el (org-set-local): Make a local variable, do not make
28695 the variable buffer-local!
28697 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28699 * org-exp.el (org-infile-export-plist): Read BIND lines.
28700 (org-install-letbind): New function.
28701 (org-export-as-org, org-export-preprocess-string):
28702 Call `org-install-letbind'.
28704 * org-list.el (org-list-demote-modify-bullet): New option.
28705 (org-first-list-item-p): Save point.
28706 (org-fix-bullet-type): New optional argument FORCE-BULLET.
28707 (org-indent-item): Honor `org-list-demote-modify-bullet'.
28708 (org-item-indent-positions): Return bullet types along with
28711 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28713 * org.el (org-show-entry): Hide drawers.
28715 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28717 * org-footnote.el (org-footnote-auto-adjust): New option.
28718 (org-footnote-auto-adjust-maybe): New function.
28719 (org-footnote-new, org-footnote-delete):
28720 Call `org-footnote-auto-adjust-maybe'.
28722 * org.el (org-startup-options): Add new footnote-related
28725 * org-publish.el (org-publish-timestamp-filename): Additional
28726 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28727 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28728 TRUE-PUB-DIR. Pass them through to
28729 `org-publish-timestamp-filename'.
28730 (org-publish-update-timestamp): Additional arguments PUB-DIR and
28731 PUB-FUNC, which are included in the hash.
28732 (org-publish-file): Delay timestamp test until the publishing
28735 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28737 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28738 setting the deadline.
28740 * org.el (org-read-date-final-answer): New variable.
28741 (org-read-date): Store the final answer string, including the date
28742 from the calendar, for reuse by agenda bulk commands.
28744 * org-publish.el (org-publish-attachment): Fix publishing of
28747 * org-latex.el (org-export-latex-quotation-marks): Fix export of
28748 quotation makrs in parenthesis.
28749 (org-remove-initial-hash): New function.
28750 (org-export-latex-preprocess): Fix bug with infinite loop if
28751 environment is not properly closed.
28753 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28756 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28757 highlight also when indented.
28759 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28761 * org-footnote.el (org-footnote-renumber-fn:N): New command.
28762 (org-footnote-action): Offer renumbering.
28764 * org.el (org-cycle): Honor the `integrate' value of
28765 org-cycle-include-plain-lists'.
28767 * org-list.el (org-cycle-include-plain-lists): New allowed value
28768 `internal'. Improve the docstring.
28770 * org.el (org-set-autofill-regexps): Improve the paragraph-start
28771 regexp to work better with LaTeX commands.
28773 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28775 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28776 and eps extensions.
28778 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28780 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28783 * org.el (org-map-entries): No longer force
28784 `org-tags-match-list-sublevels' to t during a todo-only tags
28787 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28789 * org-latex.el (org-export-latex-low-levels): Allow user-defined
28791 (org-export-latex-subcontent): Handle user-defined environment.
28793 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28794 the View dispatcher.
28796 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28799 * org-latex.el (org-export-as-pdf): Protect match data during call
28800 to shell-quote-argument.
28802 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28803 (org-agenda-view-mode-dispatch): New function.
28805 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28807 * org-agenda.el (org-agenda-mode): Reset list of marks.
28808 (org-agenda-mode-map): Define new keys for refile and bulk action.
28809 (org-agenda-menu): Add menu itesm for refile and bulk action.
28810 (org-agenda-refile): New function.
28811 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28812 (org-agenda-marked-entries): New variable.
28813 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28814 (org-agenda-remove-all-bulk-action-marks)
28815 (org-agenda-bulk-action): New functions/commands.
28817 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28819 * org-exp.el (org-get-file-contents): Protect org-like lines in
28821 (org-export-format-source-code-or-example): Remove newlines.
28823 * org-latex.el (org-export-latex-links): Check for no-description
28826 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28827 argument separator back to comma.
28828 (org-export-normalize-links): Mark links without description.
28830 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28832 * org-exp.el (org-infile-export-plist): Fix bug in macro
28835 * org-agenda.el (org-agenda-clock-out): Update line after clocking
28837 (org-agenda-highlight-todo): Fix bug with highlighting.
28839 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28841 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28842 new alignment strings.
28844 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28846 (org-table-align): Check for forced align type.
28848 * org.el (org-self-insert-command): Add yas/expand to command
28851 * org-clock.el (org-clock-in-hook): New hook.
28852 (org-clock-in): Run `org-clock-in-hook.
28853 (org-clock-out-hook): New hook.
28854 (org-clock-out): Run `org-clock-out-hook.
28855 (org-clock-cancel-hook): New hook.
28856 (org-clock-cancel): Run `org-clock-cancel-hook.
28857 (org-clock-goto-hook): New hook.
28858 (org-clock-goto): Run `org-clock-goto-hook.
28860 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28862 * org.el (org-store-link): Better default description for link to
28865 * org-exp.el (org-export-generic): Autoload the generic exporter
28867 (org-export): Implement the `g' key for the generic exporter.
28869 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28871 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28874 * org-exp.el (org-infile-export-plist): Get macros also from
28877 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28879 * org-colview.el (org-columns-capture-view): Protect vertical bars
28881 (org-columns-capture-view): Exclude comment and archived trees.
28883 * org.el (org-quote-vert): New function.
28885 * org-latex.el (org-export-latex-verbatim-wrap): New option.
28887 * org-exp.el (org-export-format-source-code-or-example):
28888 Use `org-export-latex-verbatim-wrap'.
28890 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28893 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
28895 * org-exp-blocks.el: New file.
28897 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28899 * org-remember.el (org-remember-templates): Allow the headline
28900 element to be a function.
28901 (org-remember-apply-template): If the headline is a function, call
28902 it to get the true function.
28904 * org-clock.el (org-clock-menu): New function.
28905 (org-clock-update-mode-line): Update help string.
28906 (org-clock-modify-effort-estimate): New function.
28907 (org-clock-mark-default-task): New function.
28909 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28911 (org-org-menu): Add new clocking stuff.
28912 (org-clock-is-active): New function.
28914 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28916 * org.el (org-open-non-existing-files): Improve docstring.
28918 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28920 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28922 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28924 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28926 * org-list.el (org-get-checkbox-statistics-face): Use the new
28929 * org-faces.el (org-checkbox-statistics-todo)
28930 (org-checkbox-statistics-done): New faces.
28932 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28934 * org-latex.el (org-export-latex-use-verb): New variable.
28935 (org-export-latex-emph-format): Prefer \texttt over \verb when
28936 org-export-latex-use-verb is set.
28938 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28940 * org-remember.el (org-remember-handler): Abort remember if the
28943 * org-exp.el (org-export-format-source-code-or-example):
28944 Run `org-src-mode-hook'.
28946 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28948 * org.el (org-indent-line-function): Fix indentation of +#end lines.
28950 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
28952 * org-gnus.el (org-gnus-store-link): Require message.el in
28953 org-gnus-store-link.
28955 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28957 * org-src.el: New file, split out of org.el.
28959 * org-macs.el (org-replace-match-keep-properties): New function.
28961 * org-exp.el (org-export-mark-blockquote-verse-center):
28962 Better preprocessing of center and quote and verse blocks.
28964 * org-list.el (org-list-end): Respect the stored "original"
28965 indentation when determining the end of the list.
28967 * org-exp.el (org-export-replace-src-segments-and-examples):
28968 Remember indentation correctly.
28970 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28972 * org-clock.el (org-clock-update-mode-line): Apply face
28973 org-mode-line-clock.
28975 * org-faces.el (org-mode-line-clock): New face.
28977 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
28979 * org-gnus.el (org-gnus-store-link): Fix bug where
28980 `org-gnus-store-link' used wrong subject when called in an article
28981 buffer. Patch provided by fengli AT gmail DOT com.
28983 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28985 * org-exp.el (org-export-format-source-code-or-example):
28986 Remember the original indentation of source code snippets and examples.
28988 * org-latex.el (org-export-as-latex): Relocate the table of
28991 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
28993 * org-agenda.el (org-run-agenda-series): Scope global options also
28994 when creating the agenda buffer.
28996 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28998 * org.el (org-adapt-indentation): Improve documentation.
28999 (org-insert-property-drawer): Respect org-adapt-indentation when
29000 inserting the drawer.
29001 (org-remove-flyspell-overlays-in): New function.
29002 (org-do-emphasis-faces, org-activate-plain-links)
29003 (org-activate-code, org-fontify-meta-lines-and-blocks)
29004 (org-activate-angle-links, org-activate-footnote-links)
29005 (org-activate-bracket-links, org-activate-dates)
29006 (org-activate-target-links, org-activate-tags): Remove flyspell
29009 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29011 * org.el (org-edit-src-save): New function.
29013 * org-clock.el (org-clock-out-switch-to-state): New option.
29014 (org-clock-out): Honor `org-clock-out-switch-to-state'.
29016 * org-compat.el (org-compatible-face): Improve macro.
29018 * org.el (org-global-properties-fixed): Add default for
29019 CLOCK_MODELINE_TOTAL.
29021 * org-clock.el (org-clock-sum): Accept lists and strings as tstart
29023 (org-clock-sum-current-item): Optional argument TSTART, pass it to
29025 (org-clock-get-sum-start): New function.
29027 * org.el (org-startup-options): New keywords blockhide and
29029 (org-mode): Add new invisibility spec.
29030 (org-set-startup-visibility): Hide block on startup if so
29032 (org-hide-block-startup): New option.
29033 (org-block-regexp): New constant.
29034 (org-hide-block-overlays): New variable.
29035 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
29036 (org-show-block-all, org-hide-block-toggle-maybe)
29037 (org-hide-block-toggle): New functions.
29038 (org-edit-src-exit): Do not quote lines starting with # and no +
29040 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
29043 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29045 * org.el (org-buffer-property-keys): Add Effort property for
29048 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29050 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
29051 when retrieving total clocked time in the subtree.
29053 * org.el (org-quoting-blocks): New variable.
29055 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29057 * org-table.el (org-table-store-formulas)
29058 (org-table-get-stored-formulas, org-table-fix-formulas)
29059 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
29060 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
29062 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
29063 Allow indented #+TBLFM line.
29065 * org-footnote.el (org-footnote-goto-local-insertion-point):
29066 Allow indented #+TBLFM line.
29068 * org-colview.el (org-dblock-write:columnview): Allow indented
29071 * org-clock.el (org-dblock-write:clocktable): Allow indented
29074 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29076 * org-exp.el (org-export-format-source-code-or-example):
29077 Make editing indented blocks work correctly.
29079 * org.el (org-edit-src-nindent): New variable.
29080 (org-edit-src-code, org-edit-fixed-width-region)
29081 (org-edit-src-find-region-and-lang, org-edit-src-exit):
29082 Make editing indented blocks work correctly.
29084 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29086 * org-exp.el (org-export-replace-src-segments-and-examples):
29087 Find indented blocks.
29088 (org-export-format-source-code-or-example): Fix indentation of
29090 (org-export-remove-indentation): New function.
29091 (org-export-select-backend-specific-text): Allow backend-specific
29092 code to be indented.
29093 (org-export-mark-blockquote-verse-center): Allow markers to be
29096 * org.el (org-fontify-meta-lines): New function.
29097 (org-set-font-lock-defaults): Call the new fontification
29100 * org-faces.el (org-meta-line): New face.
29101 (org-block): New face.
29103 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29105 * org.el (org-treat-insert-todo-heading-as-state-change)
29106 (org-treat-S-cursor-todo-selection-as-state-change):
29108 (org-insert-todo-heading):
29109 Honor `org-treat-insert-todo-heading-as-state-change'.
29110 (org-shiftright, org-shiftleft):
29111 Honor `org-treat-S-cursor-todo-selection-as-state-change'.
29112 (org-inhibit-logging): New variable.
29114 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29116 * org-agenda.el (org-remove-subtree-entries-from-agenda):
29117 Reduce range for marker position checking.
29119 * org-latex.el (org-export-latex-first-lines): Fix bug when
29120 exporting a region.
29122 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29124 * org-exp.el (org-export-push-to-kill-ring): Protect using
29125 x-set-selection, because that does not always work.
29127 * org-agenda.el (org-agenda-list): Apply the new face
29128 `org-agenda-date-today'.
29130 * org-faces.el (org-agenda-date-today): New face.
29132 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29134 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
29135 creating appointments.
29137 * org-latex.el (org-export-latex-low-levels): Fix customization
29140 * org.el (org-priority, org-shiftup, org-shiftdown):
29141 Disable priority commands.
29143 * org-agenda.el (org-agenda-priority): Disable priority commands.
29145 * org.el (org-enable-priority-commands): New option.
29147 * org-colview.el (org-columns-compute)
29148 (org-columns-number-to-string): Fix problems with empty fields.
29150 * org-exp.el (org-export-push-to-kill-ring): New function.
29151 (org-export-copy-to-kill-ring): New option.
29153 * org-latex.el (org-export-as-latex):
29154 Call `org-export-push-to-kill-ring'.
29156 * org-exp.el (org-export-show-temporary-export-buffer):
29159 * org-latex.el (org-export-as-latex):
29160 Use `org-export-show-temporary-export-buffer'.
29162 * org-exp.el (org-export-show-temporary-export-buffer):
29164 (org-export-push-to-kill-ring): New function.
29166 * org-colview.el (org-columns-compile-map): New variable.
29167 (org-columns-new, org-columns-compute)
29168 (org-columns-number-to-string, org-columns-uncompile-format)
29169 (org-columns-compile-format): Implement new operators.
29171 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29173 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
29175 * org-list.el (org-update-checkbox-count): Make property
29178 * org.el (org-hierarchical-todo-statistics): New option.
29179 (org-update-parent-todo-statistics): Modify to handle recursive
29182 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29184 * org-publish.el (org-publish): Make this function behave
29185 correctly in interactive use when called with a prefix argument.
29187 * org.el (org-todo-statistics-hook): New hook.
29188 (org-update-parent-todo-statistics): Use new hook.
29189 (org-log-into-drawer): New function.
29190 (org-add-log-setup): Use the new `org-log-into-drawer' function to
29191 determine if we should be logging into a drawer.
29192 (org-log-into-drawer): Update docstring.
29193 (org-default-properties): Add LOG_INTO_DRAWER as a property.
29195 * org-list.el (org-checkbox-statistics-hook): New hook.
29196 (org-update-checkbox-count-maybe): Use new hook.
29198 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29200 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
29201 better buffer-generating mechanism.
29202 (org-edit-src-find-buffer): New function.
29204 * org-icalendar.el (org-print-icalendar-entries): Don't check for
29205 archive tag, this is already done by `org-agenda-skip'.
29206 data while constructing lost of tags.
29208 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29210 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
29211 as argument separator in macros.
29213 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29215 * org.el (org-after-sorting-entries-or-items-hook): New hook.
29216 (org-sort-entries-or-items): Run the new hook.
29217 (org-after-refile-insert-hook): New hook.
29218 (org-refile): Run `org-after-refile-insert-hook'.
29220 * org-agenda.el (org-agenda-get-progress): Never take time of day
29221 from headline when displaying progress.
29223 * org-latex.el (org-export-latex-complex-heading-re): New variable.
29224 (org-export-as-latex): Force the correct regexp in the
29225 preprocessor buffer.
29226 (org-export-latex-set-initial-vars):
29227 Set `org-export-latex-complex-heading-re'.
29229 * org-agenda.el (org-agenda-start-with-log-mode): New option.
29230 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
29232 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29234 * org-latex.el (org-export-latex-tables-centered): New option.
29235 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
29237 * org-exp.el (org-export-as-org): New command.
29238 (org-export-as-org): New command.
29240 * org-publish.el (org-publish-org-to-org): New function.
29242 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29244 * org.el (org-yank): Just call `org-yank-generic'.
29245 (org-yank-generic): New function, containing the formaer
29246 functionality of `org-yank'.
29248 * org-latex.el (org-export-latex-not-done-keywords)
29249 (org-export-latex-done-keywords): New variables.
29250 (org-export-latex-todo-keyword-markup): New option.
29251 (org-export-latex-set-initial-vars): Remember the TODO keywords.
29252 (org-export-latex-keywords-maybe): Apply the TODO markup.
29254 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29256 * org-exp.el (org-infile-export-plist): Add more default macros.
29257 (org-export-preprocess-apply-macros): Process macro arguments.
29259 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29261 * org-icalendar.el (org-icalendar-include-todo): New allowed value
29263 (org-print-icalendar-entries): Respect the new value of
29264 `org-icalendar-include-todo'.
29266 * org.el (org-link-try-special-completion)
29267 (org-file-complete-link): New functions.
29268 (org-insert-link): Add special completion support for some link
29271 * org-bbdb.el (org-bbdb-complete-link): New function.
29273 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29275 * org-list.el (org-update-checkbox-count): Allow recursive
29277 (org-hierarchical-checkbox-statistics): New option.
29279 * org.el (org-cycle): Remove erraneous space character.
29281 * org-icalendar.el (org-icalendar-timezone): Initialize from
29284 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29286 * org.el (org-autoload): Fix autoloading of ascii export
29288 (org-modules): Add org-special-blocks.
29290 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29292 * org-icalendar.el (org-start-icalendar-file): Use the new option.
29293 (org-ical-timezone): New option.
29295 * org-exp.el (org-export-get-coderef-format): Use the description
29298 * org.el (org-sort-entries-or-items): Improve docstring, and make
29299 better implementation for time sorting.
29301 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29303 * org.el (org-edit-src-persistent-message): New option.
29304 (org-edit-src-code, org-edit-fixed-width-region): Use the new
29307 * org-clock.el (org-clock-insert-selection-line): Fix prefious
29310 * org.el (org-edit-src-code, org-edit-fixed-width-region):
29311 Use separate buffer instead of indirect buffer to edit source code.
29312 (org-edit-src-exit): Make this function work with the new setup.
29314 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
29315 are properly fontified before shown in the selection menu.
29317 * org.el (org-fontify-like-in-org-mode): New function.
29319 * org-latex.el (org-export-latex-links): Use the property list to
29320 retrieve the default image attributes.
29322 * org-exp.el (org-export-plist-vars): Add a new option.
29324 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29326 * org-exp.el (org-export, org-export-visible): Support ASCII
29328 (org-export-normalize-links): Do not protect the description if it
29329 is explicitly given.
29331 * org-list.el (org-reset-checkbox-state-subtree): Move here from
29333 (org-reset-checkbox-state-subtree):
29334 Call `org-reset-checkbox-state-subtree'.
29336 * org-remember.el (org-select-remember-template): For the
29337 selection of a valid template.
29339 * org-latex.el (org-export-region-as-latex): Supply the
29340 force-no-subtree argument.
29341 (org-export-as-latex): Provide better limits when exporting the
29342 first line. When exporting to string, we still want the first
29344 (org-export-latex-first-lines): New argument END, to force the end
29346 (org-export-region-as-latex): Use the property list.
29347 (org-export-as-latex): ????
29349 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29351 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
29352 (org-export-latex-preprocess): Run the new hook.
29354 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
29355 (org-export-preprocess-string): Run the new hook.
29357 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29359 * org-macs.el (org-check-external-command): New defsubst.
29361 * org.el (org-mode-map): New key for reload.
29362 (org-format-latex): Better error message when external programs
29365 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
29367 * org.el (org-sort-entries-or-items): Explicit sorting function
29368 for priorities, needed for XEmacs compatibility.
29370 * org-remember.el (org-remember-apply-template): Improve auto-save
29373 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29375 * org-latex.el (org-export-latex-preprocess): Also protect
29376 environments ending in a star.
29378 * org-list.el (org-at-item-p): Fix regular expression.
29380 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29382 * org.el (org-end-of-subtree): Improve speed.
29384 * org-agenda.el (org-agenda-get-timestamps)
29385 (org-agenda-get-progress, org-agenda-get-deadlines)
29386 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
29387 in particular, wait as long as possible to collect the tags.
29388 (org-stuck-projects): Improve docstring.
29390 * org.el (org-store-link): No errors when getting custom id before
29392 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
29394 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29396 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
29398 * org-protocol.el: Remove dependency on url.el.
29399 (org-protocol-unhex-compound, org-protocol-open-source):
29400 Remove dependency on url.el.
29402 * org-latex.el (org-export-as-pdf):
29403 Use `org-latex-to-pdf-process'.
29405 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29407 * org-latex.el (org-latex-to-pdf-process): New option.
29409 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
29411 (org-agenda-get-timestamps):
29412 Honor `org-agenda-skip-additional-timestamps-same-entry'.
29414 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
29415 (org-clock-goto): Find recent task only if
29416 `org-clock-goto-may-find-recent-task' allows it.
29418 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
29419 drawers, and drawers that are missing the :END: line.
29421 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29423 * org-clock.el (org-clock-goto): Go to recently clocked task if no
29426 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29428 * org.el (org-update-parent-todo-statistics): Check for
29429 STATISTICS_FROM property.
29431 * org-list.el (org-update-checkbox-count): Check for
29432 STATISTICS_FROM property.
29434 * org.el (org-tab-first-hook)
29435 (org-tab-after-check-for-table-hook)
29436 (org-tab-after-check-for-cycling-hook): New hooks.
29437 (org-cycle-internal-global, org-cycle-internal-local):
29438 New functions, split out from `org-cycle'.
29439 (org-cycle): Call the new hooks.
29441 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29443 * org-exp.el (org-export-preprocess-string): Reset the list of
29444 preferred targets for each run of the preprocessor.
29446 * org.el (org-refile-target-verify-function):
29447 Improve documentation.
29448 (org-get-refile-targets): Respect point being moved by the
29449 verification function.
29451 * org-latex.el (org-export-latex-timestamp-keyword-markup):
29453 (org-export-latex-keywords): Use new option.
29455 * org.el (org-rear-nonsticky-at): New defsubst.
29456 (org-activate-plain-links, org-activate-angle-links)
29457 (org-activate-footnote-links, org-activate-bracket-links)
29458 (org-activate-dates, org-activate-target-links)
29459 (org-activate-tags): Place the rear-nonsticky properties at the
29462 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29464 * org-protocol.el (server-edit): Declare `server-edit'.
29465 (org-protocol-unhex-string, org-protocol-unhex-compound):
29467 (org-protocol-check-filename-for-protocol): Call `server-edit'.
29469 * org.el (org-default-properties): New default properteis for
29472 * org-exp.el (org-export-add-subtree-options): Add new properties
29473 for subtree export.
29475 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29477 * org-id.el (org-id-get-with-outline-path-completion): Turn off
29478 org-refile-target-verify-function for the duration of the command.
29480 * org.el (org-link-to-org-use-id): New possible value
29481 `create-if-interactive-and-no-custom-id'.
29482 (org-store-link): Use custom IDs.
29483 (org-link-search): Find custom ID properties from #link.
29484 (org-default-properties): Add CUSTOM_ID for property completion.
29485 (org-refile-target-verify-function): New option.
29486 (org-goto): Turn off org-refile-target-verify-function
29487 for the duration of the command.
29489 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29491 * org-exp.el (org-export-preferred-target-alist): New variable.
29492 (org-export-define-heading-targets): Find the new CUSTOM_ID
29494 (org-export-target-internal-links): Target the custom ids when
29497 * org-latex.el (org-export-latex-preprocess): Better regexp for
29498 matching latex macros with arguments.
29500 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29502 * org-remember.el (org-remember-handler): Allow filing to non-org
29505 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
29507 * org-table.el (org-table-fix-formulas): Do not change references
29509 (org-table-get-remote-range): Convert standard coordinates to RC
29512 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
29514 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29516 * org-compat.el (org-sha1-string): Function removed.
29518 * org.el (org-refile-allow-creating-parent-nodes): New option.
29519 (org-refile-get-location): New argument NEW-NODES.
29520 (org-refile): Call `org-refile-get-location' with the new
29522 (org-refile-get-location): Arrange for adding a new child.
29523 (org-refile-new-child): New function.
29525 * org-clock.el: Fix a number of docstrings.
29526 (org-clock-find-position): New argument
29527 FIND-UNCLOSED to make the function find an unclosed clock in the
29529 (org-clock-in): Call `org-clock-find-position' with the new
29530 argument if we might be resuming a clock.
29532 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29534 * org-latex.el (org-export-latex-display-custom-times): New variable.
29535 (org-export-latex-timestamp-markup): New option.
29536 (org-export-latex-set-initial-vars): Remember the local value of
29537 `org-display-custom-times'.
29538 (org-export-latex-content): Process time stamps.
29539 (org-export-latex-time-stamps): New function.
29541 * org-macs.el (org-maybe-intangible): Add intangible property
29542 again to invisible text.
29544 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29546 * org-exp.el (org-default-export-plist): Handle undefined
29549 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29551 * org.el (org-sort-entries-or-items): Match TODO keywords
29552 case-sensitively, when sorting.
29553 (org-priority): Do not match TODO keywords with wrong case.
29555 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29557 * org.el (org-todo): Honor the NOBLOCKING property.
29559 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
29560 NOBLOCKING property.
29562 * org.el (org-scan-tags): Fix bug in tag scanner.
29564 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29566 * org.el (org-modules): Mark obsolete packages.
29568 * org-html.el: New file, split out from org-exp.el.
29570 * org-icalendar.el: New file, split out from org-exp.el.
29572 * org-xoxo.el: New file, split out from org-exp.el.
29574 * org-ascii.el: New file, split out from org-exp.el.
29576 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29578 * org-compat.el (org-find-library-name): New function.
29580 * org.el (org-pre-cycle-hook): New hook.
29581 (org-cycle): Call the new hook in appropriate places.
29582 (org-reload): Only reload files that have been loaded before.
29584 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29586 * org.el (org-set-font-lock-defaults): Enforxe space or line end
29587 after todo keyword.
29588 (org-todo): When changing TODO state, do matching
29590 (org-map-continue-from): New variable.
29591 (org-scan-tags): Respect values in `org-map-continue-from'.
29592 (org-reload): Make XEmacs compatible.
29594 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29596 * org-protocol.el (org-protocol-flatten-greedy): New function.
29597 (org-protocol-flatten): New function.
29599 * org.el (org-open-link-from-string): Pass reference buffer to
29600 `org-open-at-point'.
29601 (org-open-at-point): New optional argument `reference-buffer'.
29603 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29605 * org.el (org-scan-tags): Make tag scan find headline in first
29607 (org-get-refile-targets): Add the naked file name.
29608 (org-refile): Store as top-level entry when only file name was
29611 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
29613 * org.el (org-block-todo-from-children-or-siblings-or-parent):
29614 Rename from org-block-todo-from-children-or-siblings, and
29615 enhanced to look for the parent's status as well.
29617 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
29618 (org-agenda-get-progress): Add first notes line to log entry if so
29621 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29623 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
29624 (org-agenda-cleanup-fancy-diary): Call the new hook.
29626 * org-remember.el (org-remember-apply-template): Take the default
29627 for the annotation from the :annotation property.
29629 * org-mac-message.el (org-mac-message-get-link): Remove the
29631 (org-mac-message-get-link): Return the result.
29633 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29635 * org.el (org-refile-get-location): Add file name only if not
29636 already included in outline path.
29638 * org-faces.el (org-n-level-faces): Fix customization type from
29641 * org-exp.el (org-export-headline-levels): Fix customization type
29642 from number to integer.
29644 * org-agenda.el (org-agenda-confirm-kill)
29645 (org-agenda-custom-commands-local-options)
29646 (org-timeline-show-empty-dates, org-agenda-ndays)
29647 (org-agenda-start-on-weekday, org-scheduled-past-days):
29648 Fix customization type from number to integer.
29650 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29652 * org-protocol.el: Declare some functions.
29654 * org-agenda.el (org-agenda-compare-effort):
29655 Honor `org-sort-agenda-noeffort-is-high'.
29656 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29657 (org-agenda-compare-effort): Implement the "?" operator for
29658 finding entries without effort setting.
29660 * org.el (org-extract-attributes-from-string): New function.
29662 * org-exp.el (org-export-splice-attributes): New function.
29664 2009-08-06 Bastien Guerry <bzg@gnu.org>
29665 Daniel M German <dmg@uvic.org>
29666 Sebastian Rose <sebastian_rose@gmx.de>
29667 Ross Patterson <me@rpatterson.net>
29669 * org-protocol.el: New file.
29671 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
29673 * org-docbook.el: New file.
29675 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29677 * org-mouse.el: XEmacs compatibility fixes.
29679 * org.el (org-modules): Add org-inlinetasks.el.
29680 (org-cycle): Implement limiting level on cycling.
29681 (org-move-subtree-down): Fix bug with swapping subtrees at end of
29684 * org-inlinetask.el: New file.
29686 * org.el (org-emphasis-regexp-components): Allow braces in
29687 emphasis pre and post match.
29689 * org-footnote.el (org-footnote-normalize): When only sorting, do
29690 not insert inline notes at the end.
29692 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29694 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29696 * org.el (org-reftex-citation): New command.
29698 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29700 * org-agenda.el (org-agenda-cmp-user-defined): New option.
29701 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29703 (org-entries-lessp): Apply the new sorting option.
29705 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29706 blocker code, when an older sibling has children.
29708 * org-mac-message.el (org-mac-message-get-link): Improve getting
29709 links from multiple selected messages.
29711 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29713 * org-remember.el (org-remember-finalize): Do not set buffer file
29715 (org-remember-handler): Mark buffer as unmodified.
29716 (org-remember-handler): Delete backup file and show message about
29717 remaining backup files.
29718 (org-remember-auto-remove-backup-files): New option.
29720 * org.el (org-store-link): Use buffer name as link description in
29722 (org-ido-switchb): Fix argument bug for completion.
29724 * org-remember.el (org-remember-apply-template): Set local
29725 variable `auto-save-visited-file-name' instead of global one.
29727 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29729 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29730 (org-agenda-get-todos): Mark file tags as inherited.
29731 (org-agenda-list): Always search diary lines for a time.
29733 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29735 * org-feed.el: New file.
29737 * org-exp.el (org-export-as-html): Close local lists depending on
29738 indentation, also when starting a table.
29740 * org-remember.el (org-remember-backup-directory)
29741 (org-remember-backup-name): New internal variable.
29743 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29745 * org-clock.el (org-clock-out-if-current): Make buffer detection
29746 work in indirect buffers as well.
29748 * org.el (org-emphasis-regexp-components): Add the exxclamation
29749 mark to the post-emphasis characters.
29751 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29753 * org.el (org-read-date-minibiffer-septup-hook): New hook.
29754 (org-read-date): Run the new hook.
29756 * org-mac-message.el (org-mac-flagged-mail): New group.
29757 (org-mac-mail-account): New variable.
29758 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29761 * org-remember.el (org-remember-backup-directory): New variable.
29762 (org-remember-apply-template): Write file to backup directory.
29764 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29766 * org-mouse.el (org-mouse-todo-menu): New function.
29767 (org-mouse-todo-keywords): Function removed.
29768 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29770 * org-table.el (org-table-beginning-of-field)
29771 (org-table-end-of-field): New commands.
29772 (org-table-previous-field, org-table-beginning-of-field):
29773 Better error messages.
29774 (orgtbl-setup): Include `M-a' and `M-e'.
29776 * org.el (org-backward-sentence, org-forward-sentence):
29779 * org-colview.el (org-colview-initial-truncate-line-value):
29781 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29782 (org-columns): Remember the value of `truncate-lines'.
29784 * org.el (org-columns-skip-arrchived-trees): New option.
29786 * org-agenda.el (org-agenda-export-html-style): Define color for
29787 org-agenda-done face.
29788 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29789 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29791 * org.el (org-scan-tags): Use the new face.
29793 * org-faces.el (org-agenda-done): New face.
29795 * org.el (org-scan-tags): Test the value org
29796 `org-tags-match-list-sublevels'.
29797 (org-tags-match-list-sublevels): New allowed value: indented.
29799 * org-latex.el (org-export-latex-make-header): Apply macros
29802 * org-exp.el (org-export-apply-macros-in-string): New function.
29804 * org-latex.el (org-export-latex-list-parameters): Fix bug
29805 with the definition of a checked box.
29807 * org-clock.el (org-clock-find-position): Fix drawer indentations.
29809 * org-latex.el (org-export-latex-low-levels): More options
29810 for how to process lower levels in LaTeX.
29811 (org-export-latex-subcontent): Better treatment for lists as a
29812 means of publishing lower levels.
29814 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29816 * org.el (org-set-font-lock-defaults): Use new checkbox face.
29818 * org-faces.el (org-checkbox): New face.
29820 * org-exp.el (org-export-html-preprocess): Only create LaTeX
29821 fragement images if there is an export file.
29823 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29825 * org-agenda.el (org-stuck-projects): Document that the subtree of
29826 projects that are not stuck will now be searched for stuck
29828 (org-agenda-skip-entry-when-regexp-matches)
29829 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29830 (org-agenda-list-stuck-projects):
29831 Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29833 * org-latex.el (org-export-latex-preprocess):
29834 Improve export of verses.
29836 * org-exp.el (org-export-as-html): Implement centering as a div
29837 rather than a paragraph. Do a better job with line-end in verse
29840 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29842 * org.el (org-open-at-point): Fix tags searches by mouse click.
29844 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29846 * org-latex.el (org-export-latex-preprocess): Implement the
29849 * org-exp.el (org-export-mark-blockquote-verse-center):
29850 Rename from `org-export-mark-blockquote-and-verse'.
29851 (org-export-as-html): Implement the centering markup.
29853 * org-latex.el (org-export-latex-tables): Fix vertical
29856 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29858 * org.el (org-read-date-history): New variable.
29859 (org-read-date): Use new history variable.
29860 (org-toggle-heading): Fix bug when used before first headline.
29861 (org-store-log-note): Remove drawer if empty while note is
29863 (org-remove-empty-drawer-at): New function.
29864 (org-check-after-date): New command.
29865 (org-sparse-tree): New sparse tree command "a".
29867 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29869 2009-08-06 Bastien Guerry <bzg@gnu.org>
29871 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29872 column and a space, not only a column.
29874 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29876 * org-latex.el (org-export-latex-emphasis-alist):
29877 Better defaults for verbose emphasis.
29878 (org-export-latex-emph-format): New function.
29879 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29881 * org-agenda.el (org-agenda-menu): Add new commands to menu.
29882 (org-agenda-do-date-later, org-agenda-do-date-earlier)
29883 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29884 (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29887 * org.el (org-timestamp-change): Move end-time along with start
29890 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29892 * org-exp.el (org-export-target-internal-links)
29893 (org-export-as-html): Protect links specified as #name.
29895 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29897 * org.el (org-clone-subtree-with-time-shift): New command.
29899 * org-latex.el (org-export-latex-special-chars)
29900 (org-export-latex-treat-sub-super-char): Fix subscript export.
29902 * org-exp.el (org-create-multibrace-regexp): Do not add
29903 backslashes to the class.
29905 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29907 * org-colview.el (org-columns-map): Better functions for moving up
29908 and down a row, even if `truncate-line' is nil.
29910 * org.el (org-insert-todo-heading): Make sure the keyword is
29911 inserted at the correct position.
29913 * org-publish.el (org-publish-project-alist)
29914 (org-publish-projects, org-publish-org-index): Change default anme
29915 for the index of file names to "sitemap.org".
29917 * org-latex.el (org-export-latex-tables):
29918 Use `org-split-string', for Emacs 21 compatibility.
29920 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29922 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29924 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29926 * org-exp.el (org-export-page-description)
29927 (org-export-page-keywords): New variables.
29928 (org-export-plist-vars): Add entries for :keywords and
29930 (org-infile-export-plist): Parse for new keywords.
29931 (org-get-current-options): Add new keywords.
29932 (org-export-as-html): Publish description and keywords.
29934 * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29936 (org-agenda-add-entry-text):
29937 Honor `org-agenda-add-entry-text-descriptive-links'.
29939 * org-latex.el (org-export-latex-preprocess): Make all
29940 external preprocess functions use a PARAMETER arg.
29942 * org-exp.el (org-export-preprocess-string)
29943 (org-export-select-backend-specific-text)
29944 (org-export-format-source-code-or-example)
29945 (org-format-org-table-html): Support docbook export.
29946 (org-export-preprocess-string): Make all external preprocess
29947 functions use a PARAMETER arg.
29949 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29951 * org-exp.el (org-export-html-style-include-scripts): New option.
29952 (org-export-plist-vars): Add new option
29953 `org-export-html-style-include-scripts'.
29954 (org-export-as-html): Honor new option
29955 `org-export-html-style-include-scripts'.
29956 (org-export-html-scripts, org-export-html-style-default):
29957 Fix xml issues with the Safari browser.
29959 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29961 * org-publish.el (org-publish-attachment): Only copy file when the
29962 directories differ.
29964 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29966 * org-clock.el (org-clocktable-steps): Use inactive time stamps
29967 for clocktable steps.
29969 * org.el (org-additional-option-like-keywords): Add two more
29972 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29974 * org-exp.el (org-export-format-source-code-or-example):
29975 Mark temporary buffer unmodified, so that it will be killed even if
29976 mode like message mode has decided to assign a file name.
29978 * org.el (org-scan-tags): Improve tag inheritance.
29979 (org-scan-tags, org-make-tags-matcher): Make tag comparison
29981 (org-scan-tags): Use the internal tags list instead of creating it
29983 (org-trust-scanner-tags, org-scanner-tags): New variables.
29984 (org-scan-tags): Set `org-scanner-tags'.
29985 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
29986 (org-map-entries): Document the possible speedup using scanner
29989 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29991 * org.el (org-add-planning-info): Fix bug with looking for keyword
29994 * org-agenda.el (org-agenda-custom-commands-local-options):
29995 Add option for tags filter preset.
29996 (org-prepare-agenda): Store filter preset as a property on the
29998 (org-finalize-agenda): Call the filter, if there is a preset.
29999 (org-agenda-filter-by-tag): Filter again after clearing the
30000 filter, when there still is a preset.
30001 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
30002 Include the preset filter.
30003 (org-agenda-redo): Apply the filter again, also the preset filter.
30005 * org-exp.el (org-export-as-html): Use IDs in the correct way.
30007 * org.el (org-uuidgen-p): New function.
30009 * org-agenda.el (org-agenda-fontify-priorities): New default value
30011 (org-agenda-fontify-priorities): Rename from
30012 org-fontify-priorities.
30014 * org.el (org-set-font-lock-defaults):
30015 Call `org-font-lock-add-priority-faces'.
30016 (org-font-lock-add-priority-faces): New function.
30018 * org-faces.el (org-set-tag-faces): New option.
30019 (org-priority-faces): New variable.
30021 * org-exp.el (org-export-as-html): Add a "content" div around the
30022 entire content of the body tag.
30023 (org-export-html-get-bibliography): New function.
30024 (org-export-html-validation-link): New variable.
30025 (org-export-as-html): Add validation link to exported page.
30027 * org.el (org-match-sparse-tree): Rename from
30028 `org-tags-sparse-tree'.
30029 (org-tags-sparse-tree): New alias.
30031 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30033 * org.el (org-get-valid-level): Catch the case where the level
30036 * org-clock.el (org-clock-find-position): Better indentation of
30039 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30041 * org-agenda.el (org-agenda-quit): Delete window only when the
30042 frame-setup was not `current-window'.
30044 * org.el (org-tag-persistent-alist): New option.
30045 (org-startup-options): Add keyword `noptag'.
30046 (org-fast-todo-selection): Handle :newline correctly.
30047 (org-set-tags): Handle :newline correctly.
30048 (org-fast-tag-selection): Handle :newline correctly.
30050 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30052 * org-exp.el (org-export-as-ascii): Reverse link buffer before
30054 (org-export-ascii-push-links): Fix bug with pussing links into the
30057 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30059 * org-archive.el (org-archive-subtree): Do not add 1 to level if
30060 pasting at top level.
30062 * org-bbdb.el: Improve documentation.
30064 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30066 * org-list.el (org-insert-item): Only consider insert empty lines
30067 is `org-empty-line-terminates-plain-lists' is not nil.
30069 * org.el (org-blank-before-new-entry): Mention the dependence on
30070 `org-empty-line-terminates-plain-lists' in the docstring.
30072 * org-publish.el (org-publish-get-project-from-filename):
30073 New optional argument UP. Only find the top project if UP is set.
30074 (org-publish-current-project): Find the top encloding project.
30076 * org-agenda.el (org-agenda-before-write-hook)
30077 (org-agenda-add-entry-text-maxlines): New options.
30078 (org-write-agenda): Run the new hook in the temporary buffer.
30079 (org-agenda-add-entry-text): New function.
30080 (org-write-agenda): Implement PDF export, using ps2pdf.
30082 * org.el (org-global-properties-fixed, org-global-properties):
30083 Improve documentation string.
30085 * org-exp.el (org-export-ascii-links-to-notes): New option.
30086 (org-export-as-ascii): Handle links better.
30087 (org-export-ascii-wrap, org-export-ascii-push-links):
30090 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30092 * org-agenda.el (org-agenda): Make prefix arg optional.
30093 (org-agenda-search-headline-for-time): New option.
30094 (org-format-agenda-item):
30095 Honor `org-agenda-search-headline-for-time'.
30097 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
30100 * org.el (org-self-insert-cluster-for-undo): New option.
30101 (org-self-insert-command): Cluster undo for 20 characters.
30102 (org-self-insert-command-undo-counter): New variable.
30104 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30106 * org-exp.el (org-export-as-html): Fix problem with closing colone
30109 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30111 * org-latex.el (org-export-as-latex)
30112 (org-export-latex-first-lines): Avoid modification flag when
30113 adding or removing text properties.
30114 (org-export-latex-fontify): Catch error when org-emph-alist has
30115 entries that are not defined for LaTeX export.
30117 * org-export-latex.el: Rename to org-latex.el.
30119 * org-latex.el: Rename from org-export-latex.el.
30121 * org.el (orgstruct++-mode): New function.
30122 (turn-on-orgstruct++): Call `orgstruct++-mode'.
30123 (org-context-p): Allow detecting item context after the first line
30125 (orgstruct-make-binding): Detect if item-body context should be
30127 (orgstruct-is-++): New variable.
30128 (org-add-planning-info): Catch the case when there is no planning
30129 info yet and the call does not want to add anything, only maybe
30130 tries to remove something.
30131 (org-special-ctrl-a/e): All value to be a cons cell with separate
30132 settings for `C-a' and `C-e'.
30133 (org-beginning-of-line, org-end-of-line): Honor separate values
30134 for `C-a' and `C-e'.
30136 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
30138 * org.el (org-reload): New command.
30140 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
30142 * org-gnus.el (org-gnus-store-link): Fix bug where
30143 org-gnus-store-link used wrong subject when called in an article
30144 buffer. Patch provided by fengli AT gmail DOT com.
30146 2009-03-13 D. Goel <deego3@gmail.com>
30148 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
30149 replace ls by (values-list ls).
30151 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
30153 * org-remember.el (org-remember-apply-template): Turn off ido for
30156 * org.el (org-priority): Also find invisible headings, for remote
30158 (org-completing-read-no-ido): New function.
30159 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
30161 * org-colview.el (org-columns-edit-value): No special treatment of
30164 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
30166 * org.el (org-block-todo-from-children-or-siblings):
30167 Use `org-up-heading-all' so that this will work correctly with hidden
30168 property drawers and entries.
30169 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
30170 falling back to normal, default command.
30171 (org-get-location): Temporarily turn off special behavior.
30173 2009-02-13 Glenn Morris <rgm@gnu.org>
30175 * org-rmail.el (rmail-show-message): Restore argument list to the
30176 declaration now that this functions behaves in Emacs 23 as in 22.
30178 2009-02-12 Glenn Morris <rgm@gnu.org>
30180 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
30182 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
30184 * org-footnote.el (org-footnote-action): Fix doc typo.
30186 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
30188 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
30189 text before first headline.
30190 (org-export-remove-or-extract-drawers): Fix regular expression for
30191 extracting drawers.
30193 * org.el (org-format-latex): Stop LaTeX fragment processing in
30194 protected examples.
30196 2009-02-05 Glenn Morris <rgm@gnu.org>
30198 * org-rmail.el (rmail-show-message): Update declaration.
30199 (rmail-buffer, rmail-view-buffer): Declare.
30200 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
30202 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
30204 * org.el (org-return-follows-link): Revert setting
30205 `org-return-follows-link' to t by default.
30207 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
30209 * org.el (org-cycle-global-at-bob): Fix typo.
30211 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
30213 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
30215 * org.el (org-mode): Make dependence stuff work more reliably.
30216 (org-update-parent-todo-statistics): Fix bug with updating
30218 (org-yank-adjusted-subtrees, org-return-follows-link)
30219 (org-use-fast-todo-selection, org-tags-column): New default
30220 setting for variables.
30222 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
30223 ~ as verbatim delimiters, to avoid table bug.
30224 (org-export-latex-classes): Remove the a4paper option from the
30227 * org-exp.el (org-export-html-format-image): New argument
30228 PAR-OPEN, to fix XHTM validation bug.
30229 (org-export-as-html): Pass par-open to
30230 `org-export-html-format-image'.
30231 (org-export-html-footnotes-section): Use a more consistent id for
30234 * org-agenda.el (org-agenda-sorting-strategy)
30235 (org-agenda-tags-column): New default setting for variables, based
30236 on a poll what typical uses use.
30237 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
30238 setting the blocked tag.
30240 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
30242 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
30243 only checking for blocks.
30245 * org-exp.el (org-export-html-footnotes-section): Make the div id
30248 * org-export-latex.el (org-export-latex-classes):
30249 Remove paper size option from LaTeX classes.
30251 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
30253 * org.el (org-enforce-todo-checkbox-dependencies): New option.
30254 (org-block-todo-from-checkboxes): New function.
30255 (org-todo): Make triple prefix arg circumvent blocking.
30257 2009-01-30 Glenn Morris <rgm@gnu.org>
30259 * org-list.el (org-empty-line-terminates-plain-lists)
30260 (org-toggle-checkbox): Doc fixes.
30262 * org-table.el (org-table-clean-before-export): Fix declaration.
30264 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
30266 * org-timer.el (org-timer): Provide the timer feature.
30268 * org.el (org-require-autoloaded-modules): Add a few more files to
30269 the list of autoloaded modules.
30271 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
30273 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
30274 drawers that are unprotected.
30275 (org-export-html-format-image): Make sure inlined LaTeX fragment
30276 images remain inlined.
30278 * org.el (org-toggle-ordered-property): New function.
30279 (org-mode-map): Add a key for `org-toggle-ordered-property'.
30280 (org-org-menu): Add menu entries for TODO dependencies.
30282 * org.el (org-default-properties): Add ORDERED to the default
30283 properties, to get completion support for it.
30285 * org-list.el (org-update-checkbox-count): Update more than one cookie.
30287 * org.el (org-update-parent-todo-statistics): Update more than one
30290 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
30292 * org-agenda.el (org-agenda-get-todos): Start search from correct
30295 * org.el (org-fast-todo-selection): Make sure TODO selection does
30296 not change buffer position.
30298 * org-list.el (org-toggle-checkbox): Implement adding or removing
30299 checkboxes from line or region when called with a prefix
30302 * org-rmail.el (org-rmail-store-link): Protect the call to
30303 `rmail-narrow-to-non-pruned-header'.
30305 * org-clock.el (org-clock-special-range): Fix week display in
30308 * org-exp.el (org-get-current-options): Fix bug when in indirect
30311 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
30312 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
30313 (org-agenda-dim-blocked-tasks): New function.
30315 * org.el (org-enforce-todo-dependencies): New option.
30316 (org-block-todo-from-children-or-siblings): New function.
30318 * org-faces.el (org-agenda-dimmed-todo-face): New face.
30320 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
30322 * org.el (org-todo): Return correct state type even if the blocker
30324 (org-modifier-cursor-error): Rename from
30325 `org-shiftcursor-error'.
30326 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
30327 (org-shiftmetadown): Call `org-modifier-cursor-error'.
30329 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
30330 to get real errors from the blocker hook.
30332 * org.el (org-shiftselect-error, org-call-for-shift-select):
30334 (org-set-visibility-according-to-property): Turn off the setting
30335 of `org-show-entry-below', to avoid overruling a FOLDED visibility
30338 * org.el (org-support-shift-select): New option.
30339 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
30340 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
30341 selection outside contexts.
30343 * org-list.el (org-at-item-bullet-p): New function.
30345 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
30348 * org-footnote.el (org-footnote-normalize): Remove unnecessary
30350 (org-insert-footnote-reference-near-definition):
30351 Remove unnecessary let form.
30353 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
30355 * org-export-latex.el (org-export-as-latex):
30356 Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
30357 (org-export-latex-first-lines): New parameter OPT-PLIST.
30359 * org.el (org-yank): Tell `delete-selection-mode' about
30362 * org-faces.el (org-clock-overlay): Fix face definition.
30364 * org-export-latex.el (org-export-latex-first-lines):
30365 Pass timestamp and footnote parameters to the preprocessor.
30367 * org-exp.el (org-export-remove-timestamps): Do not remove time
30368 stamps inside tables.
30370 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30372 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
30374 * org.el (org-agenda-tags-todo-honor-ignore-options):
30377 * org-table.el (org-table-insert-hline): Fix typo in function call
30378 to `backward-char'.
30380 * org-exp.el (org-export-as-html): Remove the initial space from
30383 * org.el (org-scan-tags):
30384 Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30386 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
30387 New customization groups.
30388 (org-agenda-tags-todo-honor-ignore-options): New option.
30389 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
30391 (org-agenda-get-todos):
30392 Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30394 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30396 * org-exp.el (org-export-format-source-code-or-example):
30397 Escape HTML characters also in examples that anre not treated with
30398 htmlize. Also, just switch to EXAMPLE processing if we do not
30399 have a good version of htmlize.
30401 * org-rmail.el: Fix copyright notice.
30403 * org.el (org-activate-footnote-links): Improve footnote link
30406 * org-footnote.el (org-footnote-normalize): Fix finding the end of
30407 a footnote definition at the end of the file.
30409 * org-table.el (org-table-get-specials): Add an imagined hline at
30410 the end of the table. This can be useful for references that want
30411 to go to the end of the table. Also fix bug when computing last
30412 row constants, in tables that do not start right at the right
30414 (org-table-eval-formula): Match and replace remove references.
30415 (org-table-formula-substitute-names): Make sure that names inside
30416 a "remote" call are left alone, the will be replaced later when
30417 the remote call is handled.
30418 (org-table-convert-refs-to-rc): Do not convert things that might
30419 look like a reference, but are really part of an ID or namei n a
30421 (org-table-get-remote-range): New function.
30423 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30425 * org-faces.el (org-clock-overlay): Fix bug in face definition.
30427 * org-clock.el (org-clock-put-overlay): Use new face instead of
30428 `secondary-selection'.
30430 * org-faces.el (org-clock-overlay): New face.
30432 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30434 * org-exp.el (org-get-current-options): Include the option for
30435 publishing time stamps.
30437 * org.el (org-toggle-heading): Rename from
30438 `org-toggel-region-headings'.
30439 No longer needs a region defined, but will use it if there is one.
30440 (org-ctrl-c-star): Simplify, relying more on the internal
30441 workings of `org-toggle-heading'.
30442 (org-toggle-item): Rename from `org-toggle-region-items'.
30443 No longer needs a region defined, but will use it if there is one.
30444 (org-ctrl-c-minus): Simplify, relying more on the inernal
30445 workings of `org-toggle-item'.
30447 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
30448 environment detection. Also, do real changes only in unprotected
30451 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30453 * org-export-latex.el (org-export-latex-quotation-marks):
30454 Use `org-if-unprotected-1'.
30455 (org-export-latex-set-initial-vars): Check for class definition in
30458 * org-macs.el (org-if-unprotected-1): New macro.
30460 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30462 * org-compat.el (org-count-lines): New function.
30464 * org-exp.el (org-export-format-source-code-or-example):
30465 Handle switches related to text areas.
30467 * org.el (org-activate-footnote-links): Don't allow match inside a
30470 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
30472 * org-export-latex.el (org-export-latex-links): Keep a relative
30473 path relative also after export.
30475 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
30477 * org.el (org-make-tags-matcher): Never use IDO for completing the
30478 tags matcher match string.
30479 (org-completing-read): Also remove the special biding for "?".
30481 * org-attach.el (org-attach-allow-inheritance): New option.
30482 (org-attach-inherited): New variable.
30483 (org-attach-dir): Handle properties related to the attachment
30485 (org-attach-check-absolute-path): New function.
30486 (org-attach-set-directory, org-attach-set-inherit): New commands.
30487 (org-attach): Accommodate the new commands in the dispatcher.
30489 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30491 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
30492 `window-full-width-p'.
30494 * org-exp.el (org-export-as-html): Only check for images files
30495 that really can be inlined.
30497 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
30498 list of extensions to be a parameter.
30500 * org-exp.el (org-export-html-inline-image-extensions):
30503 * org-agenda.el (org-prepare-agenda):
30504 Use `org-agenda-block-separator'.
30505 (org-agenda-block-separator): New option.
30507 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30509 * org-export-latex.el (org-export-latex-tables):
30510 Call `org-table-clean-before-export' with the new optional argument.
30512 * org-exp.el (org-table-clean-before-export): New optional
30513 parameter MAYBE-QUOTED, allows for quoted characters like \# in
30516 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30518 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
30521 * org-colview.el (org-colview-construct-allowed-dates):
30522 Better error catching when a date/time property does not have allowed
30525 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30527 * org.el (org-map-entries): Restore point and restriction after
30530 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30532 * org.el (org-time=, org-time<, org-time<=, org-time>)
30533 (org-time>=, org-time<>): Make sure both values are dates.
30535 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30537 * org-archive.el (org-extract-archive-heading): Allow %s for file
30538 name also in achive location heading.
30540 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30542 * org-archive.el (org-add-archive-files): Uniquify the list before
30545 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30547 * org-compat.el (org-fit-window-to-buffer):
30548 Use `window-full-width-p'.
30550 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
30551 space after the colon in short examples.
30553 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
30554 enforce a space after the colon. However, we also allow lines
30555 that are *only* a colon.
30556 (org-export-as-html): Enforce the space after the colon in short
30558 (org-export-preprocess-string): Do the colon example protection
30560 (org-export-remove-timestamps): Do not check for protection at the
30563 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30565 * org.el (org-format-latex-options): Add new matcher for single
30566 letters between dollars.
30567 (org-get-header): Function removed.
30568 (org-heading-components): New function.
30570 * org-exp.el (org-export-define-heading-targets): Record ID's also
30571 as alternative targets.
30572 (org-export-as-html): Interpret "id:" links to other files by
30573 preserving the relative path.
30575 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
30578 * org-exp.el (org-export-normalize-links): Protect the main link,
30579 to avoid special character processing.
30581 * org-export-latex.el (org-export-latex-special-keyword-regexp):
30583 (org-export-latex-special-string-regexps): Variable removed.
30584 (org-export-latex-keywords): Use the new regexp.
30586 * org-exp.el (org-export-handle-include-files): Fetch switches and
30587 put them into the BEGIN statement.
30589 * org-timer.el (org-timer-mode-line-string): New variable.
30591 * org-clock.el (org-clock-mode-line-map): Rename from
30592 `org-clock-mode-map'.
30593 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
30594 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
30595 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
30596 (org-clock-remove-overlays): Rename from
30597 `org-remove-clock-overlays'.
30599 * org-timer.el (org-timer-pause-or-continue): Implement stopping
30600 and mode line display.
30601 (org-timer-stop): New command.
30602 (org-timer-seconds): Return correct time when timer is paused.
30603 (org-timer-mode-line-timer): New variable.
30604 (org-timer-set-mode-line, org-timer-update-mode-line):
30607 * org.el (org-insert-heading): Handle new value `auto' for
30608 `org-blank-before-new-entry'.
30609 (org-org-menu): Add new items for timer functions.
30611 * org-list.el (org-insert-item): Handle new value `auto' for
30612 `org-blank-before-new-entry'.
30614 * org.el (org-blank-before-new-entry): New value `auto', made
30617 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30619 * org-exp.el (org-export-normalize-links): If the link is also
30620 used as the description, protect the description.
30622 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30624 * org.el (org-closest-date): Fix bug with yearly repeats, in
30625 combination with preference of the past as it is used for deadline
30626 and scheduling search.
30628 * org-exp.el (org-html-handle-time-stamps): No longer check for
30629 the `org-export-with-timestamps' option, because the preprocesser
30630 has taken care of this already.
30632 * org.el (org-entry-properties): Catch the case when this is
30633 called in a non-org-mode file.
30635 * org-export-latex.el (org-export-latex-remove-from-headlines):
30636 Variable made obsolete, also LaTeX export now uses the standard
30638 (org-export-as-latex): Add the timestamps parameter to the
30639 preprocessor parameter list.
30640 (org-export-latex-content): Export the remaining keywords without
30641 considering to remove them.
30642 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30643 Use bold font instead of tt font for the keywords.
30644 (org-export-latex-fontify-headline): Format headlines, assuming
30645 that all keywords still present should be published.
30646 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30647 publish what ever remains of the time stamps.
30648 (org-export-latex-list-parameters): New option.
30649 (org-export-latex-lists): Pass additional parameters to the list
30652 * org-exp.el (org-export-preprocess-string): Remove clock lines
30653 and timestamps already in the preprocesor.
30654 (org-export-remove-timestamps, org-export-remove-clock-lines):
30656 (org-export-as-ascii, org-export-as-html): Add the timestamps
30657 parameter to the preprocessor parameter list.
30659 * org-list.el (org-list-parse-list): Parse for checkboxes.
30660 (org-list-to-generic): Introduce and handle new parameters :cbon
30662 (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30663 Add optional parameter PARAMS.
30665 * org-export-latex.el (org-export-latex-special-chars):
30666 Fix problems with interpreting dollar signs.
30667 (org-inside-latex-math-p): New function.
30668 (org-export-latex-preprocess): Protect all the math fragments.
30670 * org.el (org-latex-regexps): Allow a dash after a dollar.
30672 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30673 mark after copying.
30675 * org-agenda.el (org-run-agenda-series): Have series options set
30676 when finalizing the agenda.
30678 * org-exp.el (org-export-format-source-code-or-example):
30679 Protect the converted examples.
30681 * org.el (org-set-regexps-and-options): Fix the regexp
30682 `org-complex-heading-regexp'.
30684 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30686 * org.el (org-edit-src-get-label-format): New function.
30687 (org-coderef-label-format): New option.
30688 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30689 a label format specification and make sure it is used in the edit
30691 (org-edit-src-get-label-format): New function.
30692 (org-store-link): Handle new coderef formats.
30693 (org-link-search): Handle new coderef formats.
30695 * org-footnote.el (org-footnote-create-definition)
30696 (org-footnote-goto-local-insertion-point): Make footnote insertion
30697 work correctly when the "Footnotes" headline is the last line in
30700 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30703 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30705 * org-w3m.el (org-w3m): New customization group.
30706 (org-w3m-deactivate-mark): New option.
30707 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30710 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30712 * org.el (org-set-font-lock-defaults): Trigger footnote
30714 (org-activate-footnote-links): New function.
30715 (org-activate-links): New entry `footnote'.
30717 * org-faces.el (org-footnote): New face.
30719 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30721 * org-macs.el (org-re): Handle the [:word:] class.
30723 * org-exp.el (org-export-preprocess-string):
30724 Call `org-export-protect-colon-examples'.
30725 (org-export-protect-colon-examples): Rename from
30726 `org-export-protect-examples', and scope limited to lines starting
30729 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30731 * org-exp.el (org-export-preprocess-string): Move the preprocess
30732 hook to after turning on Org-mode.
30733 (org-export-preprocess-after-include-files-hook)
30734 (org-export-preprocess-after-tree-selection-hook)
30735 (org-export-preprocess-before-backend-specifics-hook)
30736 (org-export-preprocess-final-hook): New hooks.
30737 (org-export-preprocess-string): Run the new hooks.
30739 * org.el (org-ctrl-c-minus): Fix indentation for new items.
30741 * org-footnote.el: New file.
30743 * org.el (org-footnote): Require footnote code.
30744 (org-startup-options): Add new footnote options.
30745 (org-mode-map): New keybindig for footnotes.
30746 (org-ctrl-c-ctrl-c): Add function at footnotes.
30747 (org-org-menu): New menu entries for footnotes.
30749 * org-export-latex.el (org-export-as-latex): Pass footnote
30750 variable to preprocessor.
30751 (org-export-latex-preprocess): Treat multiple references to a
30754 * org-exp.el (org-export-preprocess-string):
30755 Call `org-footnote-normalize'.
30756 (org-export-as-ascii, org-export-as-html): Pass footnote variable
30758 (org-export-as-html): Treat multiple references to a footnote.
30760 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30762 * org-export-latex.el (org-export-latex-links): Handle coderef
30765 * org.el (org-bracket-link-analytic-regexp++): New variable.
30766 (org-make-link-regexps):
30767 Initialize `org-bracket-link-analytic-regexp++'.
30768 (org-store-link): Implement special case in edit-src buffer.
30769 (org-insert-link): No use of ide to insert stored links.
30770 (org-link-search): Implement special case for coderefs.
30772 * org-exp.el (org-export-html-scripts): New constant.
30773 (org-export-html-style-default): Add a new style for highlighted
30775 (org-export-code-refs): New variable.
30776 (org-export-preprocess-string): Initialize `org-export-code-refs'.
30777 Call `org-export-replace-src-segments-and-examples'
30778 No longer call `org-export-protect-examples'.
30779 (org-export-target-internal-links): Take care of coderef targets.
30780 (org-export-last-code-line-counter-value): New variable.
30781 (org-export-replace-src-segments-and-examples): Rename from
30782 `org-export-replace-src-segments', and modified.
30783 (org-export-format-source-code-or-example): Rename from
30784 `org-export-format-source-code'.
30785 (org-export-number-lines): New function.
30786 (org-export-as-ascii, org-export-as-html): Handle coderef links.
30788 2009-01-23 Glenn Morris <rgm@gnu.org>
30790 * org-rmail.el (rmail-narrow-to-non-pruned-header):
30791 Remove declaration of deleted function.
30793 2009-01-16 Glenn Morris <rgm@gnu.org>
30795 * org-mouse.el (org-mouse-show-context-menu):
30796 Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30797 mouse-major-mode-menu.
30799 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
30801 * org-remember.el (org-remember-handler): Safer way to get a new
30802 buffer accessing the target file.
30804 * org.el (org-refile-get-location): Handle case of current buffer
30805 not having a file associated with it.
30807 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
30809 * org-table.el (org-table-get-formula): Only ask to overwrite
30810 field formula if there really is one.
30812 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
30814 * org-export-latex.el (org-export-latex-make-header): Double the
30815 commenting % in the time stamp format.
30816 (org-export-latex-special-chars): Handle case where there is no
30819 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30821 * org.el (org-get-refile-targets, org-refile-get-location):
30822 Use expanded file name to improve comparison.
30824 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30826 * org.el (org-scan-tags): Rescan for tags, to get the correct
30827 upcase/downcase stuff. This slows things down for now, but it
30829 (org-mode): Make sure the tag-faces regexp is initialized.
30831 * org-export-latex.el (org-export-latex-links): Fix bug with
30834 * org-table.el (org-table-get-specials):
30835 Set `org-table-current-last-data-line'.
30836 (org-table-current-last-data-line): New variable.
30837 (org-table-insert-column, org-table-delete-column)
30838 (org-table-move-column, org-table-fix-formulas):
30839 Call `org-table-fix-formulas' a second time to fix the $LR references.
30840 (org-table-get-specials): Add the $LR references to the tables.
30841 (org-table-get-formula): Do not offer last-row names as LHS of
30844 * org.el (org-store-link): Capture link description from
30845 `org-id-store-link'.
30847 * org-exp.el (org-export-html-format-image): Add the / to the end
30849 (org-export-format-source-code): Surround example by empty lines,
30850 to make sure it will not be inside a paragraph.
30852 * org.el (org-ido-switchb): New function.
30854 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30856 * org-agenda.el (org-agenda-show): New prefix argument
30859 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30862 2008-12-20 Glenn Morris <rgm@gnu.org>
30864 * org.el (org-org-menu): Fix some more menu entries.
30866 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
30868 * org-table.el (org-table-get-specials): Revert introduction of @0
30869 as reference of the last table row, because of conflicts.
30871 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30872 argument, get the current tags directly.
30873 (org-agenda-set-tags): Leave getting current tags to
30874 `org-agenda-change-all-lines'.
30876 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
30878 * org.el (org-org-menu): Do not quote the set-tags command.
30880 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
30882 * Fix typos in comments and docstrings throughout Org-mode.
30884 * org.el (org-get-outline-path): Fix bug if level is not given.
30886 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30888 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30890 * org.el (org-refile): Avoid refiling to within the region to be
30893 * org-export-latex.el (org-export-latex-special-chars):
30894 Replace special characters also in tables.
30896 * org-agenda.el (org-agenda-change-all-lines): New argument
30898 (org-agenda-set-tags): Get the new tags and pass them to
30899 `org-format-agenda-item'.
30901 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30903 * org-export-latex.el (org-export-latex-classes): Add longable as
30904 a default package to all classes.
30905 (org-export-latex-tables): Handle the longtable attribute and the
30908 * org-table.el (orgtbl-to-generic): Handle tables that start with
30911 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30912 \verb for colde-like snippets.
30913 (org-export-as-latex): Fix issues with region export.
30915 * org.el (org-up-heading-safe): Speed up function by using a
30916 direct regexp search.
30917 (org-olpa): New variable.
30918 (org-get-outline-path): Speed-up path constructions in cases where
30919 this is possible because the entire hierarchy is scanned anyway.
30920 (org-refile-get-location): Don't compare the truenames of files,
30922 (org-goto-max-level): New option.
30923 (org-goto): Use `org-goto-max-level'.
30925 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
30927 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30928 Strip angle brackets from message-ids in the former and don't do
30930 (org-gnus-follow-link): Open summary reliable, even if the last
30931 messages were deleted, and handle empty groups, too.
30933 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30935 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30936 instead of \texttt for the =...= and ~===~ emphasis environments.
30937 (org-export-as-latex): Remove any old :org-license-to-kill text
30939 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30940 (org-export-latex-make-header): Add some hard space after the
30942 (org-export-latex-first-lines): Accept RBEG argument.
30943 Mark exported text so that it will be excuded in further steps.
30945 * org-table.el (org-table-get-specials): Make @0 reference the
30946 last line in a table.
30947 (org-table-recalculate): Improve docstring.
30949 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30951 * org.el (org-log-done): Fix docstring.
30953 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30955 * org-exp.el (org-export-html-format-image): Fix bugs.
30957 * org-export-latex.el (org-export-latex-tables)
30958 (org-export-latex-links): Implement attribute, label, and caption
30961 * org-exp.el (org-export-html-style-default): Add style
30962 definitions for the figure div.
30963 (org-export-preprocess-string, org-export-as-html):
30964 Implement attribute, label, and caption handling.
30965 (org-export-attach-captions-and-attributes): New function.
30966 (org-export-html-format-image): New function.
30967 (org-format-org-table-html): Implement attribute, label, and
30970 * org.el (org-find-text-property-in-string): New function.
30971 (org-extract-attributes): Use the property org-attr instead of
30972 org-attrobutes, because this property is now set with the #+ATTR
30975 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30977 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
30978 the case that FROM is nil.
30980 * org.el (org-before-first-heading-p): New function.
30982 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30984 * org-exp.el (org-export-as-html): Do not add a space before
30985 enforces line breaks.
30986 (org-export-as-html): Close paragraph before blockquote and verse
30989 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30991 * org-id.el (org-id-locations-file): Wrap file name with
30992 `convert-standard-filename'.
30993 (org-id-files): New variable.
30994 (org-id-use-hash): New option.
30995 (org-id-update-id-locations): Also search in all files current
30996 listed in `org-id-files'. Convert the resulting alist to a hash
30997 if the user customation says so.
30998 (org-id-locations-save): Handle he case if `org-id-locations' is a
31000 (org-id-locations-load): Convert the alist to a hash.
31001 (org-id-add-location): Handle the hast case.
31002 (kill-emacs-hook): Make sure id locations are saved when Emacs is
31004 (org-id-hash-to-alist, org-id-alist-to-hash)
31005 (org-id-paste-tracker): New functions.
31007 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31009 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
31010 bindings of calendar variables.
31012 * org-table.el (org-table-find-row-type): Rename from
31013 `org-find-row-type'.
31014 (org-table-rewrite-old-row-references): Rename from
31015 `org-rewrite-old-row-references'.
31016 (org-table-shift-refpart): Rename from `org-shift-refpart'.
31017 (org-table-cleanup-narrow-column-properties): Rename from
31018 `org-cleanup-narrow-column-properties'.
31020 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31022 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
31023 for better error messages.
31024 (org-table-get-descriptor-line): Supply the new arguments to
31025 `org-find-row-type'.
31026 (org-table-error-on-row-ref-crossing-hline): New option.
31028 * org.el (org-target-link-regexp): Make buffer-local.
31029 (org-move-subtree-down): Fix bug with trees at beginning of
31032 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31034 * org-faces.el (org-set-tag-faces): New function.
31035 (org-tags-special-faces-re): New variable.
31037 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
31039 * org-faces.el (org-tag-faces): New option.
31040 (org-tag): Mention `org-tag-faces' in the docstring.
31042 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31044 * org-exp.el (org-export-html-style-default): Implement new
31047 * org-jsinfo.el (org-infojs-template): Implement new quoting.
31049 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
31050 command to the `w3m-minor-mode-map'.
31052 * org-archive.el (org-archive-to-archive-sibling):
31053 Protect `this-command' to avoid appending kills during archiving.
31055 * org-exp.el (org-export-with-priority): New variable.
31056 (org-export-add-options-to-plist): Use `org-export-plist-vars'
31057 instead of internal list of strings and properties.
31058 (org-print-icalendar-entries): Retrieve the location property with
31061 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31063 * org-exp.el (org-export-with-todo-keywords): New option.
31064 (org-export-plist-vars): Include also the keys for the #+OPTIONS
31066 (org-default-export-plist, org-export-add-options-to-plist)
31067 (org-export-as-ascii, org-export-as-html): Use the new structure
31068 of `org-export-plist-vars'.
31070 * org.el (org-map-entries): Return all values.
31072 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31074 * org.el (org-matcher-time): Recognize more special values.
31076 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
31078 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31080 * org.el (org-tags-exclude-from-inheritance): New option.
31081 (org-tag-inherit-p, org-remove-uniherited-tags):
31082 Respect `org-tags-exclude-from-inheritance'.
31084 * org-agenda.el (org-agenda-show-inherited-tags): New option.
31085 (org-format-agenda-item): Add inherited tags to the agenda line
31086 string, and make sure that properties are kept when downcasing the
31088 (org-agenda-add-inherited-tags): New function.
31089 (org-downcase-keep-props): New function.
31091 * org.el (org-scan-tags): Mark inherited tags with a text
31093 (org-get-tags-at): Mark inherited tags with a text property.
31094 (org-add-prop-inherited): New function.
31096 * org-agenda.el (org-agenda-add-inherited-tags): New function.
31097 (org-agenda-show-inherited-tags): New option.
31099 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31101 * org.el (org-modules): Add org-w3m to the default modules.
31103 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
31105 (orgtabl-create-or-convert-from-region): New command.
31107 * org-exp.el (org-export-as-ascii): Remove the handling of
31109 (org-export-ascii-preprocess): Handle targets already in this
31112 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31114 * org-timer.el (org-timer-start-time): Define this variable.
31115 (org-timer-item): Make argument optional.
31117 * org-list.el (org-insert-item): Automatically insert a timer item
31118 if the current list is a timer list.
31120 * org-timer.el: New file.
31122 * org-publish.el (org-publish-org-index): Only exclude the index
31123 file in the main directory from being added to the site-map.
31124 (org-publish-get-project-from-filename): If the current project is
31125 a component, start publishing from the parent project.
31127 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
31129 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
31131 * org-publish.el (org-publish-org-index): Improve removal of
31134 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
31136 * org-agenda.el (org-get-closed): Re-apply changes
31137 accidentially overwritten by last commit to Emacs.
31139 * org.el (org-outline-path-complete-in-steps): New option.
31140 (org-refile-get-location):
31141 Honor `org-outline-path-complete-in-steps'.
31142 (org-agenda-change-all-lines, org-tags-sparse-tree)
31143 (org-time-string-to-absolute, org-small-year-to-year)
31144 (org-link-escape): Re-apply changes accidentially overwritten
31145 by last commit to Emacs.
31147 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31149 * org-clock.el (org-dblock-write:clocktable): Make sure the
31150 clocktable sees the first line.
31151 (org-clock-in): Warn if the clock cannot be resumed.
31153 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31155 * org.el (org-open-at-point): Fix mixup about interactive and
31156 non-interactive elisp links.
31158 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31160 * org-exp.el (org-export-preprocess-string): Allow one comment
31161 line before the first headline to always be included. This is
31162 to not miss a commented target.
31164 * org-mouse.el (org-mouse-insert-item):
31165 Call `org-indent-to-column' instead of `indent-to', for XEmacs
31168 * org.el (org-refile-targets): Fix customize definition so
31169 that it works also in XEmacs.
31170 (org-fixup-indentation): Call `org-indent-to-column' instead
31171 of `indent-to', for XEmacs compatibility.
31173 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
31175 * org-mew.el (org-mew-store-link): Get the correct case folder
31176 for refiled messages.
31178 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31180 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
31181 line break indicators.
31183 * org.el (org-ido-completing-read): Remove the "i:" prefix for
31184 ido-completion propts.
31186 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31188 * org-remember.el (org-remember-apply-template):
31189 Use `org-substring-no-properties'.
31191 * org-compat.el (org-substring-no-properties): New function.
31193 * org-remember.el (org-remember-apply-template):
31194 Use `org-substring-no-properties' for compatibility.
31196 * org-list.el (org-list-two-spaces-after-bullet-regexp):
31198 (org-fix-bullet-type):
31199 Respect `org-list-two-spaces-after-bullet-regexp'.
31201 * org-clock.el (org-clock-load): Clean up the code.
31203 * org.el (org-adaptive-fill-function): Allow two spaces after
31204 "1." as a list bullet.
31206 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31208 * org-clock.el (org-clock-save, org-clock-load): Check for
31209 live buffers, existing files, and buffer file names to ensure
31210 consistent information.
31211 (org-clock-persist): Make `clock' a special value of this
31212 variable, and improve docstring.
31214 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
31215 (org-get-string-indentation): Adapt indentation when the bullet
31218 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31220 * org-remember.el (org-remember-finalize): Make interactive.
31221 (org-remember-kill): New command.
31222 (org-remember-finish-immediately): Call `org-remember-finalize'
31224 (org-remember-finalize): Make `org-remember-finalize' an interactive
31227 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31229 * org-remember.el (org-remember-apply-template): No ido completion
31230 for free prompts in remember templates.
31231 (org-remember-before-finalize-hook): New hook.
31232 (org-remember-mode): New minor mode.
31233 (org-remember-apply-template): Turn on `org-remember-mode'.
31235 * org-remember.el (org-remember-apply-template): Fix the way how
31236 the list of allowed properties is retrieved from the target file.
31238 * org.el (org-insert-link): Improve file link matching.
31240 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31242 * org-colview.el (org-columns-display-here): New argument
31243 DATELINE, to trigger using the new face.
31244 (org-agenda-colview-summarize): Call `org-columns-display-here'
31245 with the new argument.
31247 * org-faces.el (org-agenda-column-dateline): New face.
31249 * org-publish.el (org-publish-org-index): Use index-title at page
31250 title, not as section.
31252 * org-exp.el (org-export-html-format-desc): Respect the
31253 org-protect property.
31254 (org-export-as-html): Protect image specifiers that are in the
31255 description part of a link.
31257 * org.el (org-sort-entries-or-items, org-completing-read)
31258 (org-refile-get-location, org-olpath-completing-read, org-todo)
31259 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
31260 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
31261 (org-set-property, org-delete-property)
31262 (org-delete-property-globally): Use `org-ido-completing-read'.
31264 * org-remember.el (org-remember-apply-template):
31265 Use `org-ido-completing-read'.
31267 * org-publish.el (org-publish): Use `org-ido-completing-read'.
31269 * org-colview.el (org-columns-edit-value, org-columns-new)
31270 (org-insert-columns-dblock): Use `org-ido-completing-read'.
31272 * org-attach.el (org-attach-delete-one, org-attach-open):
31273 Use `org-ido-completing-read'.
31275 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
31276 Use `org-ido-completing-read'.
31278 * org.el (org-time-today): New function.
31279 (org-matcher-time): Use `org-time-today'. Add special treatment
31280 for "<tomorrow>" and "<yesterday>".
31281 (org-ido-completing-read): New function.
31282 (org-completion-use-ido): New option.
31284 * org-exp.el (org-export-format-source-code): Fix bug in require
31286 (org-export-target-internal-links): Fix bug in search for text
31289 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31291 * org-export-latex.el (org-export-latex-subcontent):
31292 Interpret target aliases as additional labels.
31294 * org-exp.el (org-export-target-aliases): New variable.
31295 (org-export-preprocess-string)
31296 (org-export-handle-invisible-targets): Fill the alias alist.
31297 (org-export-as-html): Remove the from the anchor, and also
31299 (org-html-level-start): Insert the target aliases as additional
31302 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
31305 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31307 * org.el (org-open-at-mouse): Ensure correct link abbreviations
31308 when following a link with the mouse from the agenda.
31310 * org-exp.el (org-export-as-html): Avoid lone </div> when no
31311 headlines are created.
31313 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31315 * org.el (org-link-translation-function): New option.
31316 (org-open-at-point): Call `org-link-translation-function' if
31318 (org-translate-link): New function.
31319 (org-translate-link-from-planner): New function.
31320 (org-open-at-point): Allow interactive commands in elisp links.
31322 * org-exp.el (org-icalendar-cleanup-string): Restore the old
31323 iCalendar quoting. The new one seems to caus problems with
31326 * org.el (org-yank): Set `this-command' to `yank', so that
31327 `yank-pop' will work.
31329 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31331 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
31332 compliance as far as quoting is concerned.
31334 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
31335 hexified version of the tag.
31337 * org-vm.el (org-vm-follow-link): Require `vm-search'.
31339 * org.el (org-up-heading-safe, org-forward-same-level):
31340 Always call `org-back-to-heading' instead of `outline-back-to-heading'.
31341 (org-back-to-heading): New wrapper around outline-back-to-heading,
31342 with a useful error message telling where the error happened.
31344 * org-list.el (org-update-checkbox-count): Always call
31345 `org-back-to-heading' instead of `outline-back-to-heading'.
31347 * org-exp.el (org-export-as-html): Make sure that each <img> tag
31348 has an `alt' attribute, to ensure XHTML validation.
31350 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
31352 * org-publish.el (org-publish-attachment): Allow publishing to
31353 overwrite attachment files.
31355 * org-agenda.el (org-agenda-timerange-leaders): New option.
31356 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
31358 * org.el (org-edit-src-exit): Untabify ASCII image before
31361 2008-11-19 Glenn Morris <rgm@gnu.org>
31363 * org.el, org-mouse.el (org-agenda-change-all-lines):
31366 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
31368 * org.el ("speedbar"): Only show context if the file really is an
31371 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
31373 * org.el (org-time-string-to-absolute, org-small-year-to-year)
31374 (org-tags-sparse-tree): Fix typos in docstrings.
31376 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
31378 * org-publish.el (org-publish-attachment): Allow copy-file to
31381 2008-11-13 Glenn Morris <rgm@gnu.org>
31383 * org-agenda.el (org-get-closed): Fix alias.
31385 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
31387 * org.el (org-link-escape): Fix typo in docstring.
31389 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31391 * org.el (org-yank): Make any prefix force normal yanking.
31392 Suppress folding if text would be swallowed into a folded
31394 (org-yank-folded-subtrees, org-yank): Docstring updates.
31396 * org-agenda.el (org-agenda-compare-effort): Treat no effort
31399 * org-exp.el (org-export-language-setup): Add Catalan and
31400 Esperanto language entries.
31402 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31404 * org.el (org-refile): Allow refiling of entire regions.
31406 * org-clock.el (org-clock-time%): New function.
31408 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
31409 retrieve property values.
31411 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31413 * org-agenda.el (org-agenda-list): Handle the value `only' of
31414 org-agenda-show-log'.
31415 (org-agenda-log-mode): Interpret a double prefix arg.
31417 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31419 * org-exp.el (org-export-html-footnotes-section): New variable.
31420 (org-export-as-html): Use `org-export-html-footnotes-section' to
31421 insert the footnotes.
31422 (org-export-language-setup): Add "Footnotes" to language words.
31424 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31426 * org.el (org-yank): Fix bug when not inserting a subtree.
31428 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31430 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
31431 instead of `vm-beginning-of-message'.
31433 * org.el (org-make-link-regexps): Make sure that links to gnus can
31436 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
31438 * org-attach.el (org-attach-dir): Remove duplicate ID creation
31441 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
31444 * org.el (org-link-abbrev-alist): Improve customization type.
31446 * org-attach.el (org-attach-expand-link, org-attach-expand):
31449 * org-agenda.el (org-agenda-get-progress): Rename from
31450 `org-get-closed'. Implement searching for state changes as well.
31451 (org-agenda-log-mode-items): New option.
31452 (org-agenda-log-mode): New option prefix argument, interpreted as
31453 request to show all possible progress info.
31454 (org-agenda-get-day-entries): Call `org-get-progress' instead of
31456 (org-agenda-set-mode-name): Handle the more complex log mode
31458 (org-get-closed): New alias, pointing to `org-get-progress'.
31460 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31462 * org.el (org-file-apps-defaults-gnu)
31463 (org-file-apps-defaults-macosx)
31464 (org-file-apps-defaults-windowsnt): Add an entry defining the
31466 (org-file-apps): Allow `system' as key and value.
31467 (org-open-at-point): Explain the effect of a double prefix arg.
31468 (org-open-file): If the argument `in-emacs' is (16),
31469 i.e. corresponding to a double prefix argument, try to open the
31472 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31474 * org.el (org-insert-link): Abbreviate absolute files names in
31475 links. Also, fix a bug in which the double C-u prefix would not
31478 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31480 * org.el (org-insert-heading): If buffer does not end with a
31481 newline, add one if necessary to insert headline correctly.
31483 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
31484 paragraphs, not inside.
31486 * org.el (org-todo):
31487 Quote `org-agenda-headline-snapshot-before-repeat'.
31489 * org-exp.el (org-export-as-html): Fully process link descriptions.
31490 (org-export-html-format-desc): New function.
31491 (org-export-as-html): Collect footnotes into the correct basket.
31492 (org-html-protect): No longer protect quotations marks here, this
31495 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
31498 * org-compat.el (org-fit-window-to-buffer): New function (not
31499 really, a preliminary and incomplete version was present earlier,
31502 * org.el (org-fast-todo-selection, org-fast-tag-selection):
31503 Use `org-fit-window-to-buffer'.
31505 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
31507 * org-agenda.el (org-agenda-get-restriction-and-command)
31508 (org-fit-agenda-window, org-agenda-convert-date):
31509 Use `org-fit-window-to-buffer'.
31511 * org-exp.el (org-export-as-html): Process href links through
31512 `org-export-html-format-href'.
31513 (org-export-html-format-href): New function.
31515 * org-agenda.el (org-agenda-todo): Update only the current
31516 headline if this is a repeated TODO, marked done for today.
31517 (org-agenda-change-all-lines): New argument JUST-THIS, to change
31518 only the current line.
31520 * org.el (org-todo): Take a snapshot of the headline if the
31521 repeater might change it.
31523 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31525 * org-publish.el (org-publish-find-title): Remove buffers visited
31526 only for extracting the title.
31528 * org-exp.el (org-export-html-style)
31529 (org-export-html-style-default): Mark style definitions as
31532 * org-publish.el (org-publish-validate-link):
31533 Function re-introduced.
31535 2008-11-12 Charles Sebold <csebold@gmail.com>
31537 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
31539 (org-plot-quote-timestamp-field): New function.
31540 (org-plot-quote-tsv-field): Call timestamp field function when
31541 necessary rather than just quoting as a string.
31542 (org-plot/gnuplot-to-data): Pass in timefmt property.
31543 (org-plot/gnuplot-script): Supports timefmt property.
31544 (org-plot/gnuplot): Checks for timestamp column before checking
31545 for text index column.
31547 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31549 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
31551 * org-publish.el (org-publish-org-index): Create a section in the
31553 (org-publish-org-index): Stop linking to directories.
31555 * org.el (org-emphasis-alist): Use span instead of <u> to
31558 * org-exp.el (org-export-as-html): Make sure <p> is closed before
31561 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
31563 * org-jsinfo.el (org-infojs-template): Remove language attribute
31566 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31568 * org-agenda.el (org-agenda-remove-marked-text): New function.
31569 (org-agenda-mark-filtered-text)
31570 (org-agenda-unmark-filtered-text): New functions.
31571 (org-write-agenda): Remove filtered text.
31573 * org.el (org-make-tags-matcher): Give access to TODO "property"
31574 without speed penalty.
31576 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31578 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
31580 (org-store-link-props): Make sure adding to the plist works
31583 * org-gnus.el (org-gnus-no-new-news): New function.
31584 (org-gnus-follow-link): Allow the article ID to be a message-id,
31585 in addition to allowing article numbers. Message IDs make much
31586 more roubust links.
31587 (org-gnus-store-link): Use message-id to create link.
31589 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31591 * org.el (org-emphasize): Reverse the selection array.
31592 (org-emphasis-alist): Set <code> tags for the verbatim
31595 * org-remember.el (org-remember-handler): Fix bug with
31596 prefix-related changing of the note storage target.
31598 * org-exp.el (org-print-icalendar-entries): Make the exported
31599 priorities compatible with RFC 2445.
31601 * org-clock.el (org-clock-save): Insert time stamp without
31602 dependence on time-stamp.el.
31604 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31606 * org.el ("saveplace"): If saveplace puts point into an invisible
31607 location, make it visible.
31608 (org-make-tags-matcher): Allow inactive time stamps in time
31610 (org-yank-adjusted-subtrees): New option.
31611 (org-yank): Incorporate adjusting trees.
31612 (org-paste-subtree): New argument FOR-YANK which will cause
31613 insertion at point without backing up over white lines, and leave
31614 point at the end of the inserted text. Also if the cursor is
31615 at the beginning of a headline, use the same level or the inserted
31618 * org-publish.el (org-publish-get-base-files-1): Deal correctly
31619 with broken symlinks.
31621 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
31623 * org-exp.el (org-export-select-tags, org-get-current-options):
31626 2008-11-06 Glenn Morris <rgm@gnu.org>
31628 * org-publish.el (org-publish-attachment): Use copy-file rather than
31631 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
31633 * org.el (org-columns-modify-value-for-display-function):
31634 * org-table.el (org-table-convert-region): Fix typos in docstrings.
31636 2008-10-28 Glenn Morris <rgm@gnu.org>
31638 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31640 * org-list.el (outline-next-heading, outline-back-to-heading):
31643 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31645 * org-agenda.el (org-format-agenda-item)
31646 (org-agenda-filter-make-matcher): Make sure tags are stored and
31647 compared downcased.
31649 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31651 * org.el (org-insert-todo-heading): Fix bug with force-heading
31654 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31656 * org-exp.el (org-export-as-ascii): Handle the case that we are
31657 bulishing from an indirect buffer.
31659 * org-table.el (org-table-copy-down): Fix bug with time stamp
31662 * org-mouse.el (org-mouse-features): New option.
31663 (org-mode-hook): Turn on features depending on
31664 `org-mouse-features'.
31666 * org.el (org-insert-heading-respect-content): Force heading
31668 (org-insert-heading): Keep the folding state of the heading before
31671 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31673 * org-archive.el (org-archive-to-archive-sibling): Handle top
31674 level headlines better.
31676 2008-10-26 Bastien Guerry <bzg@gnu.org>
31678 * org-export-latex.el (org-export-latex-classes):
31679 Add \usepackage{graphicx} to the default list of packages.
31681 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31683 * org-agenda.el (org-agenda-filter): Rename from
31684 `org-agenda-filter-tags'.
31686 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31688 * org.el (org-entry-properties): Add CATEGORY property, iven if it
31689 is not defined as a property in this entry.
31690 (org-add-log-note): Mask prefix argument when immediately storing
31693 * org-agenda.el (org-agenda-filter-effort-default-operator):
31696 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
31698 * org.el (org-add-log-setup): Bugfix; code to find insertion point
31699 after drawers was skipping ahead one line too many, so notes were
31700 inserted after the first note instead of before it.
31702 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31704 * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31706 (org-prepare-agenda): Reset the filter tags.
31707 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31708 Show filter tags in mode line.
31710 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31713 * org-export-latex.el (org-latex-entities-regexp): New constant.
31714 (org-export-as-pdf): Use two calls to `shell-command'.
31716 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31718 * org-export-latex.el (org-export-latex-treat-sub-super-char):
31719 Honor the {} value of the subsuperscript setting. Make sure that
31720 longer subsuperscripts are typeset in a roman font.
31722 * org.el (org-clock-update-time-maybe): Compute negative clock
31723 intervals correctly.
31725 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31727 * org.el (org-add-log-setup):
31728 Respect `org-log-state-notes-insert-after-drawers'.
31729 (org-log-state-notes-insert-after-drawers): New option.
31730 (org-todo-trigger-tag-changes): New function.
31731 (org-todo): Call `org-todo-trigger-tag-changes'.
31733 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
31735 * org.el (org-add-log-setup): Only skip drawers if they are
31736 immediately after the scheduling keywords.
31738 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31740 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31741 call it with the current todo state to get the state to switch to
31743 (org-clock-in): Use org-indent-line-function to indent clock lines.
31744 (org-clock-find-position): Fix indentation of empty clock drawers.
31746 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31748 * org-publish.el (org-publish-org-to): Handle case when
31749 org-export-to-pdf does return a file name, not a buffer.
31750 (org-publish-org-to-pdf): New function.
31752 * org-export-latex.el (org-export-as-pdf)
31753 (org-export-as-pdf-and-open): New commands.
31755 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31758 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31759 things in protexted regions.
31761 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31763 * org-export-latex.el (org-export-latex-preprocess):
31764 Improve quoting of LaTeX environments.
31766 2008-10-19 Eli Zaretskii <eliz@gnu.org>
31768 * org.el (org-default-notes-file):
31769 * org-publish.el (org-publish-timestamp-directory):
31770 * org-id.el (org-id-locations-file): Run file names that begin
31771 with a period thru `convert-standard-filename'.
31773 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31775 * org-plot.el: Switch coding system to unix.
31777 2008-10-12 John Wiegley <johnw@newartisans.com>
31779 * org-attach.el: New file.
31781 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
31783 * org.el (org-edit-fixed-width-region): Exclude final newline from
31786 * org-export-latex.el (org-export-latex-subcontent): Add labels to
31787 sections, to make internal links work.
31788 (org-export-latex-fontify-headline): Do not remove all text
31789 properties, to make sure that target properties survive this
31792 * org-exp.el (org-export-preprocess-string): Change sequence of
31793 modifications, to make sure links are prepared before the LaTeX
31794 conversions do happen.
31796 * org-attach.el (org-attach-delete-all): Rename from
31797 `org-attch-delete'. Add a security query before deleting the
31798 entire directory. New optional argument FORCE can overrule the
31800 (org-attach-delete-one): New command.
31802 * org-attach.el (org-attach-file-list): Fix bug with directory.
31804 * org.el (org-apps-regexp-alist): New function.
31805 (org-file-apps): Add auto-mode to the default value.
31806 (org-open-file): Use the new structure of org-file-apps.
31808 * org-attach.el (org-attach): Support the new keys.
31809 (org-attach-method): New option.
31811 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31814 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31815 of the list value o `org-use-tag-inheritance'.
31817 * org-attach.el (org-attach-auto-tag): New option.
31818 (org-attach-tag, org-attach-untag): New functions.
31819 (org-attach-attach, org-attach-new, org-attach-sync):
31820 Call `org-attach-tag'.
31821 (org-attach-delete): Call `org-attach-untag'.
31823 * org-table.el (orgtbl-self-insert-command): Make this work for
31824 the keypad as well.
31826 * org.el (org-add-log-setup): Limit searc for drawers to entry
31827 text, not to subtree.
31829 * org-clock.el (org-clock-heading-for-remember): New variable.
31830 (org-clock-in): Set `org-clock-heading-for-remember'.
31832 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
31834 * org-remember.el (org-remember-apply-template): Add new
31835 expansions: %k, %K for currently clocked task and a link to the
31836 currently clocked task, and %< to file notes in the currently
31839 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31841 * org-export-latex.el (org-export-latex-make-header): Also insert
31842 the content of the property :latex-header-extra.
31844 * org-exp.el (org-infile-export-plist): Put the content of
31845 #+LATEX_HEADER: into the property :latex-header-extra.
31847 * org-colview.el (org-columns-get-format-and-top-level):
31848 Remove resetting the marker.
31850 * org.el (org-entry-property-inherited-from): Improve docstring.
31851 (org-entry-get-with-inheritance): Reset marker before starting the
31854 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31856 * org.el (org-entry-get-multivalued-property)
31857 (org-entry-protect-space, org-entry-restore-space):
31859 (org-file-apps-defaults-macosx): Let PostScript files be opened by
31861 (org-time-stamp-inactive): Call `org-time-stamp'.
31862 (org-time-stamp): New argument `inactive'. Also edit inactive
31863 stamps. Convert time stamp type.
31864 (org-open-file): Interpret the `default' value for the `command'
31865 in `org-file-apps'.
31867 * org-id.el (org-id-int-to-b36-one-digit)
31868 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31869 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31872 * org-id.el (org-id-reverse-string): New function.
31873 (org-id-new): Use `org-id-reverse-string' to make sure the
31874 beginning chars of the ID are mutating fast. This allows to use a
31875 directory structure to spread things better.
31876 (org-id-prefix): Change default to nil.
31878 * org-list.el (org-move-item-down, org-move-item-up): Remember and
31879 restore the column of the cursor position.
31881 * org-remember.el (org-remember-apply-template): Remove properties
31884 * org-wl.el (org-wl-open): Remove useless call to
31885 `wl-thread-open-all'.
31887 * org-remember.el (org-remember-handler): Fix bug with `bottom'
31890 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31891 `org-bbdb-anniversaries'.
31893 * org.el (org-get-next-sibling, org-forward-same-level):
31894 New functions, similar to the outline versions, but invisible headings
31897 2008-10-12 Bastien Guerry <bzg@gnu.org>
31899 * org.el (org-auto-repeat-maybe): Insert a space between
31900 the timestamp's type and the timestamp itself.
31902 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31904 * org-table.el (org-table-sum): Do not format the result with %g,
31905 it does rounding when there are too many digits.
31907 * org.el (org-map-entries): Protect the keyword-selecting variables.
31909 2008-10-12 Bastien Guerry <bzg@gnu.org>
31911 * org-agenda.el (org-agenda-to-appt): Make sure the function check
31912 against all agenda files.
31914 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31915 Bastien Guerry <bzg@gnu.org>
31917 * org-list.el: New file, aggregating list functions from org.el
31918 and org-export-latex.el.
31920 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31922 * org.el (org-edit-src-region-extra): New option.
31924 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31927 2008-10-12 Bastien Guerry <bzg@gnu.org>
31929 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31931 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
31933 * org-plot.el (org-plot/gnuplot): Make tables starting with a
31934 hline work correctly.
31935 (org-plot/gnuplot-script): Put commas at the end of each script
31938 * org.el (org-get-refile-targets): Replace links with their
31940 (org-imenu-get-tree): Replace links with their descriptions.
31942 * org-remember.el (org-remember-apply-template): Add a new
31943 expansion for adding properties to remember items.
31945 * org.el (org-add-log-setup): Skip over drawers (properties,
31946 clocks etc) when adding notes.
31948 * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31949 items as well as the start and end times.
31951 * org-compat.el (org-get-x-clipboard-compat): Add a compat
31952 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31954 * org-remember.el (org-get-x-clipboard): Use the compat
31955 function to get clipboard values when x-selection-value is
31956 unavailable. Use substring-no-properties instead of
31957 set-text-properties to remove text properties from the clipboard
31960 * org-clock.el (org-update-mode-line): Support limiting the
31961 modeline clock string, and display the full todo value in the
31962 tooltip. Set a local keymap so mouse-3 on the clock string goes to
31963 the currently clocked task.
31964 (org-clock-string-limit): Add a custom value for the maximum
31965 length of the clock string in the modeline.
31966 (org-clock-mode-map): Add a keymap for the modeline string.
31968 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31970 * org-compat.el (org-propertize): New function.
31972 2008-10-12 Bastien Guerry <bzg@gnu.org>
31974 * org-export-latex.el (org-export-latex-tables): Protect exported
31975 tables from further special chars conversion.
31976 (org-export-latex-preprocess): Preserve LaTeX environments.
31977 (org-list-parse-list): Parse descriptive lists.
31978 (org-list-to-generic, org-list-to-latex, org-list-to-html)
31979 (org-list-to-texinfo): Export descriptive lists.
31980 (org-quote-chars): Remove.
31981 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
31982 (org-export-latex-list-beginning-re): Rename to
31983 `org-list-beginning-re'.
31984 (org-list-item-begin): Rename to `org-list-item-beginning'.
31986 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
31988 * org-plot.el: New file.
31990 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31992 * org.el (org-refile): Allow refiling to the last entry in the
31994 (org-get-tags-at): Fix bug when inheritance is turned off.
31996 * org.el (org-indent-line-function): No longer check for src
31997 regions, this is too much overhead.
31999 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
32002 * org.el (org-scan-tags): Make sure that tags matching is not case
32003 sensitive. TODO keyword matching is case sensitive, however, to
32004 avoid confusion with similar words that are not meant to be
32007 * org.el (org-get-local-tags-at): New function.
32008 (org-get-local-tags): New function.
32010 * org-exp.el (org-export-get-categories): New function.
32012 * org-agenda.el (org-sorting-choice)
32013 (org-agenda-sorting-strategy, org-agenda-get-todos)
32014 (org-agenda-get-timestamps, org-agenda-get-deadlines)
32015 (org-agenda-get-scheduled, org-agenda-get-blocks)
32016 (org-entries-lessp): Implement sorting by TODO state.
32017 (org-cmp-todo-state): New defsubst.
32019 * org-colview.el (org-colview-construct-allowed-dates):
32021 (org-columns-next-allowed-value):
32022 Use `org-colview-construct-allowed-dates'.
32024 * org.el (org-protect-slash): New function.
32025 (org-get-refile-targets): Use `org-protect-slash'.
32027 * org-agenda.el (org-global-tags-completion-table): New variable.
32029 * org-exp.el (org-export-handle-export-tags): New function.
32030 (org-export-preprocess-string):
32031 Call `org-export-handle-export-tags'.
32033 * org-publish.el (org-publish-expand-components): Function removed.
32034 (org-publish-expand-projects): Allow components to have components.
32036 * org.el (org-indent-line-function): Do not indent in regions that
32037 are external source code.
32038 (org-yank-and-fold-if-subtree): New function.
32040 * org-agenda.el (org-agenda-todayp): New function.
32041 (org-agenda-get-deadlines, org-agenda-get-scheduled):
32042 Use `org-agenda-todayp'.
32044 * org.el (org-insert-heading-respect-content)
32045 (org-insert-todo-heading-respect-content): New commands.
32046 (org-insert-heading-respect-content): New option.
32047 (org-insert-heading): Respect `org-insert-heading-respect-content'.
32049 * org-clock.el (org-clock-find-position): Make sure the note after
32050 the clock line gets moved into the new clock drawer.
32052 * org-id.el (org-id-new): New option.
32054 * org-table.el (org-table-copy-down): Avoid overflow during
32055 increment. Use prefix argument 0 to temporarily disable the
32058 * org-exp.el (org-export-as-html): Do not turn on the major mode
32059 if the buffer will be killed anyway.
32060 (org-get-current-options): Exclude the #+TEXT field.
32061 (org-export-as-html): Make sure text before the first headline is
32064 * org-publish.el (org-publish-org-to): Tell the exporter that this
32065 buffer will be killed, so it is not necessary to do major mode
32068 * org-archive.el (org-archive-to-archive-sibling): Show empty
32069 lines after folding the archive sibling.
32071 * org.el (org-log-note-extra): New variable.
32073 2008-10-12 Bastien Guerry <bzg@gnu.org>
32075 * org.el (org-additional-option-like-keywords): Add keywords for
32076 the _QUOTE, _VERSE and _SRC environments.
32078 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
32079 exporting _QUOTE and _VERSE environments.
32081 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
32083 * org-agenda.el (org-agenda-filter-by-tag): New command.
32085 * org-exp.el (org-get-current-options): Remove angular brackets
32086 from the date entry.
32088 * org.el (org-edit-fixed-width-region): New function.
32089 (org-edit-fixed-width-region): Also try
32090 `org-edit-fixed-width-region'.
32091 (org-edit-fixed-width-region-mode): New option.
32092 (org-activate-code): Only interpret lines starting with colon
32093 plus a space as example lines.
32095 * org-remember.el (org-remember-templates): Add nil instead of
32096 empty strings to fix the length of remember templates.
32098 * org-table.el (org-calc-default-modes): Fix the time format for
32099 calc, from 12 hour to 24 hour clock.
32101 * org-agenda.el (org-agenda-get-deadlines)
32102 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
32103 entries that are pre-warnings of deadlines or reminders.
32105 * org.el (org-sort-entries-or-items): Make numeric and alpha
32106 comparisons ignore any TODO keyword and priority cookie.
32108 * org-remember.el (org-remember-handler): Reinterpretation of the
32111 * org-agenda.el (org-agenda-get-scheduled): Use new
32112 `org-scheduled' face.
32114 * org-faces.el (org-scheduled): New face.
32116 * org-wl.el (org-wl-open): Remove incorrect declaration.
32118 * org-gnus.el (org-gnus-store-link): Support for :to information
32121 * org-exp.el (org-export-as-html): Fix typo in creator
32123 (org-export-protect-examples): New parameter indent. Insert extra
32124 spaces only when this parameter is specified.
32125 (org-export-preprocess-string): Call `org-export-protect-examples'
32126 with an indentation parameter when exporting to ASCII.
32128 * org-remember.el (org-remember-templates)
32129 (org-remember-apply-template): Allow the file component to be a
32132 * org.el (org-goto-local-search-headings): Rename from
32133 `org-goto-local-search-forward-headings'. Added the possibility
32134 to search backwards.
32136 * org-export-latex.el (org-export-latex): New customization
32139 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
32141 * org-exp.el (org-html-do-expand): Allow {} to terminate
32144 * org.el (org-buffer-list): Select buffers based on major mode,
32147 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
32150 * org-colview.el (org-columns-display-here):
32151 Use `org-columns-modify-value-for-display-function'.
32153 * org.el (org-columns-modify-value-for-display-function): New option.
32155 * org-publish.el (org-publish-file): Make sure the directory match
32156 for the publishing directory works correctly.
32158 * org-agenda.el (org-agenda-execute-calendar-command)
32159 (org-agenda-diary-entry): Additional optional argument.
32161 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
32163 * org-exp.el (org-export-as-html): Add attributes also in mailto
32166 * org.el (org-autoload): Add `org-dblock-write:columnview'.
32168 2008-08-11 Glenn Morris <rgm@gnu.org>
32170 * org-mac-message.el (do-applescript): Fix declaration.
32172 2008-08-10 Glenn Morris <rgm@gnu.org>
32174 * org-exp.el (org-export-as-html): Let-bind `i'.
32176 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
32177 (org-extract-attributes): Let-bind `key', `value'.
32178 (org-make-tags-matcher): Let-bind `time-p'.
32180 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
32182 * org-install.el: New file.
32184 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
32186 * org-exp.el (org-export-html-style)
32187 (org-export-html-style-extra): Declare as safe-local-variable.
32189 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
32191 * org-publish.el (org-publish-file): Use the true name of the
32194 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
32197 * org-exp.el (org-export-plist-vars)
32198 (org-export-add-options-to-plist): Handle creator setting flag.
32199 (org-export-as-html): Handle attributes also for ftp and mailto
32202 * org-agenda.el (org-agenda-diary-entry)
32203 (org-agenda-execute-calendar-command): Cater for the second
32204 argument of `calendar-cursor-to-date'.
32206 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
32208 * org-exp.el (org-export-region-as-html, org-export-as-html):
32209 Make sure that calls from `org-export-region-as-html' do not do the
32210 special check for a subtree.
32212 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
32214 * org.el (org-open-file):
32215 Use `org-open-directory-means-index-dot-org'.
32216 (org-open-directory-means-index-dot-org): New option.
32218 * org.el (org-make-link-string): Remove link attributes from
32220 (org-open-at-point): Remove link attributes before using the path.
32222 * org-exp.el (org-export-as-html): Handle link attributes.
32224 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
32226 * org-table.el (org-table-to-lisp): New function.
32228 * org.el (org-narrow-to-subtree): Do not include the final newline
32229 into the narrowed region.
32231 * org-agenda.el (org-agenda-custom-commands-local-options):
32232 Fix bug with user-define skipping condition.
32234 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
32236 * org-exp.el (org-export-html-style-default): Automatic overflow
32237 handling for pre fields.
32238 (org-export-as-ascii, org-export-as-html): Change default format
32241 * org-table.el (org-table-export): Offer completion for translator
32242 functions, and do not require a heading above the table.
32244 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
32245 Cater for the case of a list starting in the first line of the
32248 * org-publish.el (org-publish-find-title): Bug fix.
32249 (org-publish-org-index): Implement new :index-style option.
32251 * org-publish.el (org-publish-timestamp-filename):
32252 Use SHA1-encoded file names in the timestamp directory.
32254 * org-publish.el (org-publish-needed-p): Be verbose about files
32255 published and files skipped.
32257 * org-exp.el (org-export-preprocess-string): Swap link
32258 normalization and internal link targeting.
32260 * org-publish.el (org-publish-needed-p): Create timestamp
32261 directory when it does not exist.
32263 * org-clock.el (org-clock-out-when-done): Doc fix.
32265 * org.el (org-agenda-skip-unavailable-files): Doc fix.
32267 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
32268 Ignore case when searching for the COMMENT cookie at export time.
32270 * org-exp.el (org-get-file-contents)
32271 (org-get-and-remove-property): New functions.
32272 (org-export-handle-include-files): Handle the new prefix options.
32273 (org-export-as-html): Fix the verse environment.
32275 * org.el (org-time=, org-time<, org-time<=, org-time>)
32276 (org-time>=, org-time<>, org-2ft): New functions.
32277 (org-op-to-function): Also provide for the time testing functions.
32279 * org-exp.el (org-export-html-style-default): New constant.
32281 * org-exp.el (org-export-html-style-extra): New variable.
32282 (org-export-splice-style): New function.
32284 * org-exp.el (org-export-plist-vars, org-export-as-html):
32285 Implement `org-export-creator-info'.
32286 (org-export-creator-info): New option.
32288 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
32289 (org-property-drawer-re, org-clock-drawer-re): New constants.
32291 * org-exp.el (org-icalendar-use-deadline)
32292 (org-icalendar-use-scheduled): New options.
32293 (org-icalendar-include-todo): Default changed to t.
32294 (org-print-icalendar-entries): Implement better utilization of
32295 scheduling and deadline time stamps.
32296 (org-export-target-internal-links, org-export-as-html): Allow file
32297 lines without the "file:" prefix if the file path is an absolute
32298 path or starts with ".".
32300 * org-clock.el (org-clocktable-shift): Also understand yesterday,
32302 (org-clock-special-range): Also understand yesterday, lastweek etc.
32304 * org.el (org-agenda-skip-archived-trees): Docstring now
32305 discourages using this.
32306 (org-scan-tags): Check for org-agenda-archives-mode.
32307 (org-map-entries): Make sure org-agenda-archives-mode is nil.
32308 (org-agenda-files): Functionality of second arg changed.
32310 * org-agenda.el (org-agenda-archives-mode): New variable.
32311 (org-write-agenda, org-prepare-agenda, org-agenda-list)
32312 (org-search-view, org-todo-list, org-tags-view)
32313 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
32315 (org-agenda-quit): Reset the archives mode.
32316 (org-agenda-archives-mode): New command.
32317 (org-agenda-set-mode-name): Include archives info.
32319 * org.el (org-paste-subtree): Make sure the yanked headline is
32320 visible if it was yanked at a visible point.
32321 (org-move-item-up): Fix the bug with moving white space at the end
32323 (org-show-empty-lines-in-parent): New function.
32325 2008-07-19 Juri Linkov <juri@jurta.org>
32327 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
32328 new keymap `narrow-map' instead of binding "\C-xns".
32330 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
32332 * org.el (org-agenda-skip-unavailable-files):
32333 * org-clock.el (org-clock-out-when-done): Doc fixes.
32335 2008-06-18 Glenn Morris <rgm@gnu.org>
32337 * org.el (org-map-entries): Let-bind `file'.
32339 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32341 * org-colview.el (org-columns-next-allowed-value): Bug fix.
32343 * org-agenda.el (org-agenda-get-closed): Get the end time into the
32344 agenda prefix as well.
32346 * org-publish.el (org-publish-org-index): Make a properly indented
32349 * org.el (org-calendar-agenda-action-key): New option.
32350 (org-get-cursor-date): New function.
32351 (org-mark-entry-for-agenda-action): New command.
32352 (org-overriding-default-time): New variable.
32353 (org-read-date): Respect `org-overriding-default-time'.
32355 * org-remember.el (org-remember-apply-template): Respect the
32356 overriding default time.
32358 * org-agenda.el (org-agenda-action-marker): New variable.
32359 (org-agenda-action): New command.
32360 (org-agenda-do-action): New function.
32362 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32364 * org.el (org-schedule, org-deadline): Protect scheduled and
32365 deadline tasks against changes that accidentally remove the
32366 repeater. Also show a message with the new date when done.
32368 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32370 * org.el (org-beginning-of-line): Cater for the case when there
32371 are tags but no headline text.
32372 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
32375 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32377 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
32378 the return value is nil instead of "nil" when there is no match.
32380 * org-exp.el (org-insert-centered): Use fill-column instead of
32382 (org-export-as-ascii): Use string-width to measure the width of
32385 * org.el (org-diary-to-ical-string): No longer kill buffer
32386 FROMBUF, this is now done by the caller.
32388 * org-exp.el (org-print-icalendar-entries): Move the call to
32389 `org-diary-to-ical-string' out of the loop, and kill the buffer
32392 * org-remember.el (org-remember-visit-immediately):
32393 Position cursor after moving to the note.
32394 (org-remember-apply-template): Use a text property to record the
32396 (org-remember-handler): Align tags after pasting the note.
32398 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32400 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
32402 * org-agenda.el (org-agenda-open-link): If there is an
32403 org-bbdb-name property in the current line, jump to that bbdb
32406 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
32407 text property, so that the agenda knows where this entry comes
32410 * org-agenda.el (org-agenda-clock-in): Fix bug in the
32411 interaction between clocking-in from the agenda, and automatic
32412 task state switching.
32414 * org-macs.el (org-with-point-at): Bug fix in macro definition.
32416 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
32417 zmacs-region stays after this command in XEmacs.
32419 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32421 * org.el (org-scan-tags): Allow new values for ACTION parameter.
32423 * org-remember.el (org-remember-templates): Fix bug in
32424 customization type definition.
32426 * org.el (org-map-entries): New function.
32428 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32430 * org-agenda.el (org-agenda-skip-comment-trees): New option.
32431 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
32433 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32435 * org-remember.el (org-jump-to-target-location): New variable.
32436 (org-remember-apply-template):
32437 Set `org-remember-apply-template' if requested by template.
32438 (org-remember-handler): Start an idle timer to jump to
32441 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
32443 * org.el (org-set-regexps-and-options): Fix bug with parsing of
32445 (org-get-tags-at): Add the content of `org-file-tags'.
32447 * org-exp.el (org-export-handle-comments): Fix bug with several
32448 comment lines after each other.
32449 (org-number-to-roman, org-number-to-counter): New functions.
32450 (org-export-section-number-format): New option.
32452 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32454 * org-exp.el (org-export-protect-examples): Catch the case of a
32455 missing end_example line.
32457 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
32458 `org-file-tags' to nil.
32460 * org-colview.el (org-columns-next-allowed-value): Handle next
32461 argument NTH to directly select a value.
32463 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32465 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
32467 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32469 * org.el (org-columns-ellipses): New option.
32471 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32473 * org-colview.el (org-columns-add-ellipses): New function.
32474 (org-columns-compact-links): New function.
32475 (org-columns-cleanup-item): Call `org-columns-compact-links'.
32476 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
32478 (org-columns-edit-value): Fix bug with editing values from
32479 agenda column view.
32480 (org-columns-redo): Also redo the agenda itself.
32482 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32484 * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
32487 * org-colview.el (org-agenda-columns-cleanup-item): New function.
32489 * org-exp.el (org-export-ascii-preprocess): Rename from
32490 `org-export-ascii-clean-string'.
32491 (org-export-kill-licensed-text)
32492 (org-export-define-heading-targets)
32493 (org-export-handle-invisible-targets)
32494 (org-export-target-internal-links)
32495 (org-export-remove-or-extract-drawers)
32496 (org-export-remove-archived-trees)
32497 (org-export-protect-quoted-subtrees)
32498 (org-export-protect-verbatim, org-export-protect-examples)
32499 (org-export-select-backend-specific-text)
32500 (org-export-mark-blockquote-and-verse)
32501 (org-export-remove-comment-blocks-and-subtrees)
32502 (org-export-handle-comments, org-export-mark-radio-links)
32503 (org-export-remove-special-table-lines)
32504 (org-export-normalize-links)
32505 (org-export-concatenate-multiline-links)
32506 (org-export-concatenate-multiline-emphasis): New functions,
32507 obtained from spliting the export preprocessor.
32509 * org-table.el (org-table-recalculate): Improve error message if
32510 the row number is invalid.
32512 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32514 * org-archive.el (org-archive-save-context-info): Fix bugs in
32515 customization setup and docstring.
32517 * org-exp.el (org-export-html-style): Change the size of in the
32518 <pre> element to 90%.
32520 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32522 * org.el (org-find-src-example-start): Function removed.
32523 (org-edit-src-find-region-and-lang): New function.
32525 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32527 * org.el (org-edit-src-exit): New function.
32528 (org-exit-edit-mode): New minor mode.
32530 * org-exp.el (org-export-preprocess-string): Fix bug with removing
32531 comment-like lines from protected examples.
32533 * org.el (org-edit-src-example, org-find-src-example-start)
32534 (org-protect-source-example, org-edit-special): New functions.
32536 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32538 * org-publish.el (org-publish-project-alist): Fix typo in
32540 (org-publish-project-alist): Handle :index-title property.
32542 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32544 * org-export-latex.el (org-export-as-latex): Make sure region
32545 bounds are correct. Parse subtree properties relating to export.
32547 * org-exp.el (org-export-add-options-to-plist): New function.
32548 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
32550 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32552 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
32555 * org-exp.el (org-export-get-title-from-subtree)
32556 (org-export-as-ascii, org-export-as-html): Make sure the original
32557 region-beginning and region-end are used, even after moving point.
32558 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
32561 * org-remember.el (org-remember-last-stored-marker): New variable.
32562 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
32563 (org-remember-handler): Also use marker to remember
32564 last-stored position.
32566 * org.el (org-goto-marker-or-bmk): New function.
32568 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32570 * org.el (org-file-properties): Rename from `org-local-properties'.
32571 (org-scan-tags): Take file tags into account.
32572 (org-tags-match-list-sublevels): Default changed to t.
32574 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
32576 * org.el (org-update-parent-todo-statistics): New function.
32578 * org-exp.el (org-icalendar-store-UID): New option.
32579 (org-icalendar-force-UID): Option removed.
32580 (org-print-icalendar-entries): IMplement UIDs.
32582 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32584 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
32586 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32588 * org-faces.el (org-column): Document how this face is being used
32589 and why sometimes the background faces shine through.
32591 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
32593 * org-publish.el (org-publish-attachment): Create publishing
32594 directory if it does not yet exist.
32596 * org-table.el (org-calc-default-modes): Change default number
32597 format to (float 8).
32599 * org.el (org-olpath-completing-read): New function.
32600 (org-time-clocksum-format): New option.
32601 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
32603 * org-clock.el (org-clock-display, org-clock-out)
32604 (org-update-mode-line): Use `org-time-clocksum-format'.
32606 * org-colview.el (org-columns-number-to-string):
32607 Use `org-time-clocksum-format'.
32609 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32611 * org-id.el: New file, move from contrib to core.
32613 * org-exp.el (org-icalendar-force-UID): New option.
32615 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32617 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
32618 shifted by one day if there is a date range without an end time.
32620 * org.el (org-try-structure-completion): New function.
32622 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32624 * org.el (org-set-font-lock-defaults): Improve fontification of
32626 (org-insert-item): Handle description lists.
32627 (org-adaptive-fill-function): Improve auto indentation in
32630 * org-exp.el (org-export-as-html, org-export-preprocess-string):
32631 Implement VERSE environment.
32632 (org-export-preprocess-string): Implement the COMMENT
32635 * org-export-latex.el (org-export-latex-preprocess):
32636 Implement VERSE environment.
32638 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32640 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32643 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32645 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32647 * org.el (org-quote-csv-field): New functions.
32649 * org-table.el (org-table-export-default-format): Remove :splice
32650 from default format, we get the same effect by not specifying
32652 (org-table-export): Improve setup, distinguish better between
32653 interactive and non-interactive use, allow specifying the format
32654 on the fly, better protection against wrong file names.
32655 (orgtbl-to-generic): Fix documentation. Do not require :tstart
32656 and :tend when :splice is omitted.
32658 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32660 * org-clock.el (org-clock-select-task): Make sure the selection
32661 letters are 1-9 and A-Z, no special characters.
32663 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32665 * org-exp.el (org-export-htmlize): New group.
32666 (org-export-htmlize-output-type)
32667 (org-export-htmlize-css-font-prefix): New options.
32668 (org-export-htmlize-region-for-paste): New function.
32669 (org-export-htmlize-generate-css): New command.
32671 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32673 * org.el (org-set-visibility-according-to-property): New function.
32674 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32675 and compute the regular expressions, and update font-lock.
32676 (org-property-re): Allow a dash in property names.
32678 * org-archive.el (org-extract-archive-file): Insert the file name
32679 without the path into the format, to allow the location format to
32680 contain a subdirectory.
32682 * org-agenda.el (org-agenda-post-command-hook): If point is at end
32683 of buffer, and the `org-agenda-type' property undefined, use the
32684 value from the character before.
32686 * org.el (org-add-planning-info): Don't let indentation for
32687 would-be timestamp become extra whitespace at the end of headline.
32689 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32691 * org.el (org-remove-double-quotes, org-file-contents):
32694 * org-exp.el (org-infile-export-plist): Also parse the
32695 contents of #+SETUPFILE files, recursively.
32697 * org.el (org-set-regexps-and-options): Also parse the
32698 contents of #+SETUPFILE files, recursively.
32700 * org-exp.el (org-export-handle-include-files): New function.
32701 (org-export-preprocess-string):
32702 Call `org-export-handle-include-files'.
32704 * org.el (org-delete-property-globally)
32705 (org-delete-property, org-set-property): Ignore case during
32707 (org-set-property): Use `org-completing-read' instead of
32710 * org.el (org-complete-expand-structure-template): New,
32711 experimental function.
32712 (org-structure-template-alist): New, experimental option.
32713 (org-complete): Call `org-complete-expand-structure-template'.
32715 2008-06-17 Bastien Guerry <bzg@gnu.org>
32717 * org-export-latex.el (org-export-latex-preprocess):
32718 Add support for blockquotes.
32720 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32722 * org.el (org-read-date-analyze): Catch the case where only a
32725 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32727 * org.el (org-set-font-lock-defaults): Make the description
32730 * org-exp.el (org-export-as-html, org-close-li):
32731 Implement description lists.
32733 2008-06-17 Jason Riedy <jason@acm.org>
32735 * org-table.el (*orgtbl-default-fmt*): New variable.
32736 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32737 when there is no other fmt available.
32739 (orgtbl-to-generic): Allow an explicitly nil :tstart or
32740 :tend to suppress the appropriate string.
32742 (orgtbl-to-orgtbl): New function for translating to another orgtbl
32745 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32747 * org.el (org-read-date-analyze): "." as an alias for "+0" in
32750 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32753 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32756 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32758 * org-clock.el (org-clock-find-position): Don't include notes
32761 * org-archive.el (org-archive-subtree): No longer remove an
32762 extra line after cutting the subtree. `org-cut-subtree' already
32763 takes care of this.
32765 * org-remember.el (org-remember-handler): Only kill the target
32766 buffer if it does not contain the running clock.
32768 * org.el (org-markers-to-move): New variable.
32769 (org-save-markers-in-region, org-check-and-save-marker)
32770 (org-reinstall-markers-in-region): New function.
32771 (org-move-subtree-down, org-copy-subtree): Remember relative
32772 marker positions before cutting.
32773 (org-move-subtree-down, org-paste-subtree): Restore relative
32774 marker positions after pasting.
32776 * org-remember.el (org-remember-clock-out-on-exit): New option.
32777 (org-remember-finalize): Clock out only if the setting in
32778 `org-remember-clock-out-on-exit' requires it.
32779 (org-remember-handler): Do the cleanup in the buffer, to make sure
32780 that the clock marker remains in tact.
32782 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32784 * org-clock.el (org-clock-goto): Widen buffer if necessary.
32785 (org-clock-in): Make sure that also tasks outside the narrowed
32786 region will be clocked in correctly.
32787 (org-clock-insert-selection-line): Widen the buffer so that we can
32788 find the correct task heading.
32790 * org.el (org-base-buffer): New function.
32792 * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32793 and ";" are escaped.
32794 (org-print-icalendar-entries): Also apply
32795 `org-icalendar-cleanup-string' to the headline, not only to the
32798 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32800 * org-exp.el (org-export-preprocess-hook): New hook.
32801 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32803 * org.el (org-font-lock-hook): New variable.
32804 (org-font-lock-hook): New function.
32805 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32807 ;; Local Variables:
32809 ;; add-log-time-zone-rule: t
32812 Copyright (C) 2008-2014 Free Software Foundation, Inc.
32814 This file is part of GNU Emacs.
32816 GNU Emacs is free software: you can redistribute it and/or modify
32817 it under the terms of the GNU General Public License as published by
32818 the Free Software Foundation, either version 3 of the License, or
32819 (at your option) any later version.
32821 GNU Emacs is distributed in the hope that it will be useful,
32822 but WITHOUT ANY WARRANTY; without even the implied warranty of
32823 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32824 GNU General Public License for more details.
32826 You should have received a copy of the GNU General Public License
32827 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.