1 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3 * org-compat.el (activate-mark): Set transient-mark-mode buffer-locally.
5 2014-06-22 Mario Lang <mlang@delysid.org>
7 * org-list.el (org-list-insert-item): The the -> the.
9 * org-bibtex.el (org-bibtex-fields): The the -> the.
11 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
13 * ob-core.el (org-babel-insert-result): Prefer point-min-marker
15 * org-mouse.el (org-mouse-do-remotely): Prefer point-marker
16 to copy-marker of point.
18 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
20 * org-compat.el (org-font-lock-ensure): New function.
21 * ox-odt.el (org-odt-do-format-code):
22 * ox-html.el (org-html-fontify-code):
23 * org.el (org-fontify-like-in-org-mode):
24 * org-src.el (org-src-font-lock-fontify-block):
25 * org-clock.el (org-clock-get-clocktable): Use it.
26 * ox-org.el (org-org-publish-to-org): Use it. Avoid using find-file
29 2014-05-12 Eric Schulte <eric.schulte@gmx.com>
31 * ob-screen.el (org-babel-screen-session-write-temp-file)
32 (org-babel-screen-test):
33 Use unpredictable names for temporary files. (Bug#17416)
35 2014-04-22 Aaron Ecay <aaronecay@gmail.com>
37 * org-src.el (org-edit-src-exit): Place an undo boundary before
38 writing changes back to parent buffer.
40 2014-04-22 Achim Gratz <Stromeko@Stromeko.DE>
42 * ob-gnuplot.el (org-babel-gnuplot-process-vars):
43 `org-babel-gnuplot-table-to-data´ expects a table, so we need to
44 construct one when Babel hands us a vector.
46 * ob-ref.el (org-babel-ref-parse):
47 If `org-babel-current-src-block-location' is a marker, it can be from
48 another buffer, use marker-position instead in this case.
50 2014-04-22 Arun Persaud <apersaud@lbl.gov> (tiny change)
52 * org-src.el (org-edit-src-exit): Don't add indentation on empty lines.
54 2014-04-22 Bastien Guerry <bzg@gnu.org>
56 * org.el (org-insert-heading): Fix behavior when point is at the
57 beginning of a heading or a list item. Enhance docstring.
59 * ox-html.el (org-html-infojs-install-script): Don't install
60 infojs scripts when #+INFOJS_OPT: is empty.
62 * org.el (org-mode): Fix the use of `org-*-element' functions for
63 C-M-a and C-M-e but fix C-M-e.
65 * org-agenda.el (org-agenda-search-view): Fix tag.
67 * org.el (org-check-before-invisible-edit): Don't just cycle, show
68 the subtree, as cycling may leave the current heading folded.
69 (org-contextualize-validate-key): Fix wrong test.
71 * org-bibtex.el (org-bibtex-headline): Don't throw an error when
72 trying to add a keyword field to a BibTeX entry that is not known
73 by BibTeX or defined by the user.
74 (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
76 * ox-latex.el (org-latex-src-block): Fix wrong propagation of
77 labels and captions when using the listings environment.
79 * org.el (org-sort-entries): Fix the number of blank lines to
80 keep for the last entry to sort.
82 * org-clock.el (org-clock-put-overlay): Fix display when
83 `org-indent-mode' is on.
85 * org.el (org-sort-entries): Allow to sort by clocking time.
87 * org-agenda.el (org-agenda-finalize): Apply all filters
90 * org.el (org-update-dblock): Use `save-excursion' instead of
91 `save-window-excursion' so that blocks can edit other windows and
92 change the window layout.
94 * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
95 (org-agenda-dim-blocked-tasks): Make overlays intangible.
96 (org-agenda-show-new-time): Fix bug when deleting a timestamp
97 right after changing it.
98 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
99 (org-agenda-get-sexps, org-agenda-filter-by-regexp)
100 (org-agenda-filter-top-headline-apply): Fix indentation.
102 * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
103 to edit/move as in a table.
105 * org-agenda.el (org-agenda-show-new-time): Don't use
106 `move-beginning-of-line' as it is slower and not needed.
108 * org-compat.el (org-move-to-column): Temporarily set
109 `buffer-invisibility-spec' more accurately.
111 * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
112 underlining instead of \uline{...} as requiring the hyperref
113 package makes \uline{...} unusable on headline.
115 * org.el (org-latex-default-packages-alist): Add the "soul"
118 * org.el (org-refresh-properties): Don't add the property to
119 the whole subtree, only to the part between the beginning of
120 the headline and the end of the "content", before any other
121 headline. This fix a bug about properties displayed as
122 inherited in the agenda, where Org properties are checked
123 against text properties.
125 * ox-latex.el (org-latex--text-markup): Replace newlines by
126 whitespaces in \verb constructs.
128 * org-agenda.el (org-agenda-filter-hide-line): Hide from the
129 beginning of the line to the beginning of the next line.
130 (org-agenda-show-new-time): Use `move-beginning-of-line' and
132 (org-agenda-drag-line-forward): Adapt to the new definition of
133 hidden filtered lines.
135 * org-compat.el (org-move-to-column): Always ignore invisible
136 text in agenda buffer, and when there is both a bracket link
137 and '(org-link) as a member of `buffer-invisibility-spec'.
140 * org.el (org-align-tags-here): Add docstring and remove useless
141 arguments when calling `org-move-to-column'.
143 * org-table.el (org-table-copy-down)
144 (org-table-find-dataline, org-table-move-row)
145 (org-table-insert-hline, org-table-kill-row):
146 * org-agenda.el (org-agenda-next-item)
147 (org-agenda-previous-item, org-agenda-todo)
148 (org-agenda-priority, org-agenda-show-new-time)
149 (org-agenda-clock-in, org-agenda-clock-out): Remove useless
150 arguments when calling `org-move-to-column'.
152 * org.el (org-refile): Fix calling with a numeric prefix argument
153 of 3 to refile and keep.
155 * org-clock.el (org-clock-get-table-data): When :link is `t' in
156 the clocktable parameters, bracket links in the clocktable should
157 only contain their description, other C-c C-o will try to open the
158 bracket link at point instead of the headline.
160 * org-agenda.el (org-agenda-todo): Always restore the window state
161 after `org-agenda-change-all-lines' has been called.
162 (org-agenda-open-link): Don't throw an error when trying to open a
163 link when the point is on a place that is not associated with a
166 * ox-latex.el (org-latex-link): Escape `%' characters.
168 * org.el (org-entry-get-with-inheritance): Remove wrong quote.
169 (org-entry-get): Only try to combine file properties with local
170 properties when the property drawer contains such local property,
171 not when the property drawer exists.
173 * ox-latex.el (org-latex-link):
174 * ox-html.el (org-html-link):
175 * ox-beamer.el (org-beamer-link): Fix links to radio targets.
177 * ox-ascii.el (org-ascii-link): For links to a radio target, use
178 the link, not the target.
180 * org.el (org-do-emphasis-faces): Explicitly prevent nested
182 (org-insert-heading): Don't remove whitespaces following an empty
185 * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
188 * org.el (org-store-link): Ensure desc is not nil before matching
189 a regexp against it. Fall back on an empty string when no
190 description is available.
192 * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
193 `org-agenda-buffer-name'.
195 * org-capture.el (org-capture-finalize): Ensure to widen the
196 buffer when the target buffer is not initially narrowed.
198 * org-compat.el (org-move-to-column): Fix bug about ignoring
199 bracket links visibility status in tables with S-RET.
201 * org-src.el (org-edit-src-find-region-and-lang): Check if we are
202 in a table.el table last.
204 * org.el (org-delete-property): Don't suggest to delete the
205 CATEGORY property when the category is not explicitely set in the
206 property drawer. Also enforce matching when completing.
207 (org-insert-heading): Fix regression: with two universal prefixes,
208 insert heading at the end of the subtree.
209 (org-insert-todo-heading): Bugfix: only enforce the first TODO
210 state when arg is '(4).
212 * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
214 * org.el (org-contextualize-validate-key): Fix bug: perform the
215 check even when (buffer-file-name) returns `nil'.
217 * org-colview.el (org-columns-display-here): Let-bind `fm'.
219 * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
220 and `org-code' for ~text~.
221 (org-open-link-marker): Fix typo in docstring.
223 * org-colview.el (org-columns-display-here): Fix the column
224 view for numbers with a format specifier (e.g. {+; %5.1f}).
226 * org-src.el (org-edit-src-code): Throw a warning instead of
227 an error when loading the mode fails, otherwise the user is
228 left with unusable buffers.
230 * org-table.el (org-table-copy-down)
231 (org-table-find-dataline, org-table-move-row)
232 (org-table-insert-hline, org-table-kill-row):
233 Use `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
234 that abbreviated rows don't interfer with setting the cursor back
235 at the correct position.
237 * org.el (org-agenda-prepare-buffers): Use `save-excursion'
238 instead of `save-window-excursion'.
239 (org-file-contents): Return an empty string instead of the
241 (org-open-at-point): Fix bug when opening a plain link followed by
243 (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
245 (org-refile--get-location): New internal function using a wider
246 set of possible refile locations.
247 (org-refile-get-location): Use it.
248 (org-refile): Fix bug when refiling the last subtree of the
249 buffer: don't leave out the last character.
250 (org-sort-entries): Restore the point location when there is
253 * org-table.el (org-table-field-info): Throw a user error when not
256 * org-agenda.el (org-agenda-drag-line-forward):
257 Call `org-agenda-mark-clocking-task' when done.
258 (org-agenda-mark-clocking-task): Small refactoring.
260 * org-compat.el (org-set-transient-map): Alias pointing at
261 `set-transient-map' if defined, at `set-temporary-overlay-map'
264 * org-agenda.el (org-agenda-next-item)
265 (org-agenda-previous-item, org-agenda-toggle-archive-tag)
266 (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
267 (org-agenda-clock-out): Put the cursor back on the correct
268 column, when possible.
269 (org-agenda-todo): When `org-clock-out-when-done' is `t', also
270 remove the current clock overlay.
272 * org.el (org-format-latex-options): Fix docstring.
274 * ox.el (org-export--get-subtree-options): When using the headline
275 as a title for a subtree export, only take the true heading, no
276 TODO keyword, no priority cookie, no tag.
278 * org.el (customize-package-emacs-version-alist): Fix Org version
281 * org.el (org-demote): Ignore invisible text when aligning tags.
282 (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
283 invisible text when restoring the cursor to the correct column.
285 * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
286 properties before formatting the results.
288 * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
290 (org-agenda-reapply-filters): New function.
291 (org-agenda-drag-line-forward): Rewrite to fix a bug when used
293 (org-agenda-drag-line-backward): Rewrite using
294 `org-agenda-drag-line-forward'.
296 * ob-table.el (org-sbe): Rename from `sbe'.
298 * org.el (org-store-link): When a link has been stored, always
301 * ob-python.el (org-babel-python-var-to-python): Fix code typo.
303 * org-entities.el (org-entities-help): Prevent the display of
304 pretty entities, as this help buffer is meant to list literal
305 strings, not utf-8 representations.
307 2014-04-22 Benjamin Drieu <bdrieu@april.org>
309 * org.el (org-store-link): Fix selection of the function to store
312 2014-04-22 Ilya Shlyakhter <ilya_shl@alum.mit.edu>
314 * org.el (org-entry-get-with-inheritance): Temporarily let-bind
315 `org-file-properties', `org-global-properties' and
316 `org-global-properties-fixed' to nil before calling
317 `org-entry-get' on entries up the hierarchy from the queried
320 2014-04-22 Justin Gordon <justin.gordon@gmail.com>
322 * ox-md.el (org-md-separate-elements): Fix blank line insertion
325 * ox-md.el (org-md-inner-template): New function.
327 2014-04-22 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
329 * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
330 of unknown BibTeX entries.
332 2014-04-22 Markus Hauck <markus1189@gmail.com> (tiny change)
334 * org-agenda.el (org-agenda-get-scheduled):
335 If `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
336 'repeated-after-deadline, still show tasks without any deadline
338 2014-04-22 Michael Brand <michael.ch.brand@gmail.com>
340 * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
341 lines with `forward-line'.
343 2014-04-22 Michael Weylandt <michael.weylandt@gmail.com> (tiny change)
345 * ox-latex.el (org-latex-export-to-latex): Downcase the language
346 name when using minted highlighting for src block exports.
348 2014-04-22 Nick Dokos <ndokos@gmail.com>
350 * org-mobile.el (org-mobile-create-index-file): delete :grouptags
351 entries from tags list when creating the org-mobile index file.
353 2014-04-22 Nicolas Goaziou <n.goaziou@gmail.com>
355 * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
358 * org.el (org-sparse-tree): Fix code typo. Small refactoring.
360 * ox-latex.el (org-latex-link):
361 * ox-html.el (org-html-link): Do not expand absolute file names
362 and do not try to fix hierarchy part, as it is already taken care of
365 * ox-md.el (org-md-link): Ditto. Also fix absolute file names.
367 * ox-odt.el (org-odt-link):
368 * ox-man.el (org-man-link):
369 * ox-texinfo.el (org-texinfo-link):
370 * org-element.el (org-element-link-parser): Fix ill-defined "file"
371 type links. Expand absolute file names in the process.
373 * org.el (org-make-link-regexps): Use `regexp-opt' instead of
374 `mapconcat' and `regexp-quote'.
376 * ox-html.el (org-html-link):
377 * ox-latex.el (org-latex-link):
378 * ox-man.el (org-man-link):
379 * ox-odt.el (org-odt-link):
380 * ox-html.el (org-html-link):
381 * ox-latex.el (org-latex-link):
382 * ox-man.el (org-man-link):
383 * ox-odt.el (org-odt-link):
384 * ox-texinfo.el (org-texinfo-link): Append "//" after some link
387 * ox-md.el (org-md-link):
388 * org.el (org-make-link-regexps): Allow optional double slashes
389 after type. Small refactoring.
391 * org-element.el (org-element-headline-parser): Tiny refactoring.
393 * org-element.el (org-element-headline-parser): Correctly parse
394 blank lines after a headline.
396 * org-element.el (org-element-table-cell-parser)
397 (org-element-table-cell-successor): Recognize cell even when last
398 vertical bar is missing.
400 * ox-md.el (org-md-example-block): handle switches and references
403 * org.el (org-latex-packages-alist)
404 (org-latex-default-packages-alist): Update docstrings.
406 * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
407 uniquifying links in section.
409 * ox-odt.el (org-odt-template): Ignore blank titles.
411 * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
414 * ox-ascii.el (org-ascii-link):
415 * ox-beamer.el (org-beamer-link):
416 * ox-html.el (org-html-link):
417 * ox-latex.el (org-latex-link):
418 * ox-md.el (org-md-link):
419 * ox-odt.el (org-odt-link): Update radio target export according
422 * org-element.el (org-element-all-successors)
423 (org-element-object-restrictions): Prioritize `link' over other
424 successors in order to find radio links starting with another
425 syntax object (e.g., an entity). Also allow text markup within
427 (org-element-link-parser): Add contents to radio targets.
429 * org.el (org-make-target-link-regexp): Fix regexp so it can match
430 targets starting with an Org object (e.g., an entity).
431 (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
432 within a radio target.
434 * org.el (org-mode): Change "\" and "~" characters syntax from
435 `punctuation' to `symbol' so they are on par with other characters
436 used in Org syntax (e.g., "/", "*"...).
438 * ox-beamer.el (org-beamer-publish-to-pdf):
439 * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
440 generated in the same directory as the ".org" file.
442 * ox-latex.el (org-latex-headline): Hard-code "\underline" in
443 sections because "\uline" ("ulem" package) returns an error and
444 "\ul" ("soul" package) doesn't support chinese characters.
446 * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
447 between radio targets and radio links.
449 * org-element.el (org-element-link-parser): "radio" links have
450 their path downcased to avoid introducing case mismatch with their
451 relative radio target. With this change it is also necessary to
452 add contents to them, since `:path' property no longer matches
453 real value of the link.
454 (org-element-radio-target-parser): Downcase value as explained
455 above. Store the initial value in a new `:raw-value' property.
457 * org-element.el (org-element-context): Fix parsing of bold
458 objects at the beginning of a headline.
460 * org-element.el (org-element-context): Fix timestamps parsing.
462 * ox-beamer.el (org-beamer-item): Insert the export snippet right
463 after the first \item, not all of them.
465 * org-element.el (org-element--list-struct): Fix regexp.
467 * org-element.el (org-element-inlinetask-parser): Fix parsing when
468 regular and degenerate inlinetasks are mixed in the section.
470 * ox-md.el (org-md-link): Generate md links to other Org files
471 instead of html links. Do not confuse caption and alt-text.
472 Provide "img" as default alt-text.
474 * org-element.el (org-element-normalize-contents): Do not ignore
475 empty lines when an object follows.
476 (org-element-interpret-data): Do not remove properties by
477 side-effect when interpreting a string, as it also removes them
478 from the parse tree, making the string unusable without its
481 * ob-exp.el (org-babel-exp-process-buffer): Also check
482 `org-src-preserve-indentation' to know when to preserve indentation.
483 (org-babel-exp-code-template): Include switches in template.
484 (org-babel-exp-code): Provide %switches placeholder.
486 * ox-latex.el (org-latex-plain-list): Do not automatically
487 enclose value for :options attribute within square brackets.
488 Instead, append them verbatim next to the block name, as special
491 * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
493 (org-babel-exp-process-buffer): Make processing more robust when
494 results are inserted before source block or when source block is
495 followed by multiple blank lines.
497 * ox.el (org-export-insert-default-template): Only insert
498 keywords and options relatives to the selected back-end.
499 Ignore those relatives to its parent in the case of a derived back-end.
501 * ox-beamer.el: Remove unnecessary package definitions in default
504 * ox-latex.el (org-latex-headline, org-latex-item): Fix items
505 starting with a square bracket.
507 * org.el (org-mode-restart): Fix turning off `org-indent-mode'
509 (org-get-previous-line-level): Do not call `org-current-level'
510 twice unless necessary. Also, avoid using `line-number-at-pos'
511 when the information needed is to know if point is in the first
512 line of the visible part of the buffer.
514 * ob-core.el (org-babel-get-inline-src-block-matches): Do not
515 compute line number if all is needed is to know if we're on the
518 * ox-md.el (org-md-item): Do not return an error when exporting
521 * ox-beamer.el (org-beamer-select-environment): Function doesn't
522 work if fast tag selection is disabled, so make sure it is always
523 on, independently on user's configuration.
525 2014-04-22 Nikolai Weibull <now@disu.se> (tiny change)
527 * org.el (org-mode): Add guard around set-face-foreground.
529 2014-04-22 Rasmus <w530@pank.eu>
531 * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
533 2014-04-22 Rick Frankel <rick@rickster.com>
535 * ox-html.el (org-html-link): Unescape org-escaped links an
536 re-escape for html (browser).
538 2014-04-22 Sacha Chua <sacha@sachachua.com>
540 * org.el (org-refresh-properties): Don't throw an error when
541 reaching the end of the buffer.
543 2014-04-22 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
545 * org-bibtex.el (org-bibtex-read): Check string length before
548 2014-04-22 Yasushi SHOJI <yashi@atmark-techno.com>
550 * ox-ascii.el (org-ascii--current-text-width): Convert `length'
552 (org-ascii--build-title, org-ascii--build-toc)
553 (org-ascii--list-listings, org-ascii--list-tables)
554 (org-ascii-template--document-title)
555 (org-ascii-inner-template, org-ascii-format-inlinetask-default)
556 (org-ascii-format-inlinetask-default, org-ascii-item
557 (org-ascii--table-cell-width, org-ascii-table-cell)
558 (org-ascii--current-text-width): Likewise.
560 2014-02-25 Glenn Morris <rgm@gnu.org>
562 * org-version.el (org-odt-data-dir):
563 Remove incorrect, duplicate definition. (Bug#16734)
565 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
568 * org-irc.el (org-irc-ellipsify-description): Rename from
569 org-irc-elipsify-description. All uses changed.
571 2013-01-07 Bastien Guerry <bzg@gnu.org>
573 * org-clock.el (org-clock-cancel-hook)
574 (org-clock-leftover-time): Fix typo in docstring.
576 * ox-odt.el (org-odt--frame): Add a draw:name property to the
578 (org-odt-format-label): Don't use short-caption at all.
580 * org-rmail.el (org-rmail-follow-link): Don't raise an error when
581 no article is matched.
583 * org.el (org-set-tags): Ignore invisible text when restoring
585 (org-refile-get-location): Check for a refile position when the
586 position is not nil, otherwise allow to create the parent node if
587 the user requests it.
588 (org-refile-allow-creating-parent-nodes): Fix typo in
590 (org-entry-get): Minor docstring enhancement.
591 (org-set-startup-visibility): Bugfix.
592 (org-shiftcontrolup, org-shiftcontroldown):
593 When `org-support-shift-select' is not `nil', let-bind it to nil if
594 point is on a clock log. Otherwise throw an error.
596 * ob-lob.el (org-babel-lob-files): Fix custom type.
597 (org-babel-lob-ingest): Small docstring fix.
599 * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
600 `later than any date' instead of `later than today'.
602 * org.el (org-do-emphasis-faces): Handle false positives by
603 restarting the re-search one char after the beginning of the
604 match, not one char before its ending.
605 (org-entry-put): Check that the value provided is a string. If it
606 is nil, convert it to the empty string.
608 * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
609 instead of list as the defcustom type.
611 * ox.el (org-export-with-creator):
612 * org.el (org-loop-over-headlines-in-active-region)
613 (org-mouse-1-follows-link, org-provide-todo-statistics):
614 * org-agenda.el (org-agenda-custom-commands-local-options)
615 (org-agenda-start-with-log-mode)
616 (org-agenda-show-inherited-tags): Don't quote const values.
618 * ox-texinfo.el (org-texinfo-def-table-markup):
619 * org-inlinetask.el (org-inlinetask-show-first-star):
620 * ob-maxima.el (org-babel-maxima-command): Add type.
622 * org-table.el (org-table-fix-formulas): Handle multiple
625 * ox.el (org-export-to-file): Fix typo in docstring.
627 * org.el (org-self-insert-command)
628 (orgtbl-self-insert-command): Change the value of the
629 `delete-selection' property to allow other commands like
630 `electric-pair-will-use-region' to be run before deletion.
632 * org-attach.el (vc-git): Require.
633 (org-attach-commit): Check whether git is installed.
635 2013-01-07 Nicolas Goaziou <n.goaziou@gmail.com>
637 * ox-icalendar.el (org-icalendar--combine-files): Make sure
638 anniversaries do not end up in *Message* buffer instead of the ICS
641 * ox-html.el: Clean up "FIXME" comments.
643 * ox-publish.el (org-publish-resolve-external-fuzzy-link):
646 * ox.el (org-export-smart-quotes-regexps): Fix smart quote
647 detection when it is followed by an open parenthesis syntax class.
649 * org-element.el (org-element-inline-babel-call-successor):
650 Use original regexp to stay up-to-date with Babel changes.
651 (org-element--affiliated-re): Fix affiliated keyword regexp.
653 * ox-org.el (org-org-identity): Since back-end specific keywords
654 are stripped from output, also remove attr_backend keywords.
655 (org-babel-exp-process-buffer): Fix duplicate evaluation with
657 (org-babel-exp-non-block-elements): Remove function.
659 2013-01-07 Ted Wiles <thewiles@wharton.upenn.edu> (tiny change)
661 * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
664 2013-01-07 U-usuario <rbenit68@yahoo.es> (tiny change)
666 * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
669 2013-01-07 Vladimir Lomov <lomov.vl@gmail.com> (tiny change)
671 * ox-html.el (org-html-style-default): New classes caption.t-above
672 and caption.t-bottom.
673 (org-html-table): Use new classes.
675 2013-12-23 Chong Yidong <cyd@gnu.org>
677 * org.el (orgstruct-make-binding): Call set-transient-map instead
678 of old name set-temporary-overlay-map.
680 2013-12-06 Achim Gratz <Stromeko@Stromeko.DE>
682 * org-crypt.el: Declare `epg-context´.
683 (org-encrypt-string): Correct indentation.
685 * org.el (org-version): Replace `_version´ by `version1´.
687 2013-12-06 Alexander Vorobiev <alexander.vorobiev@gmail.com> (tiny change)
689 * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
690 to get the clipboard data under Windows.
692 2013-12-06 Bastien Guerry <bzg@gnu.org>
694 * ox.el (org-export-with-sub-superscripts):
695 * org.el (org-use-sub-superscripts): Fix version and enhance
698 * ox.el (org-export-with-sub-superscripts):
699 * org.el (org-use-sub-superscripts): Enhance docstrings.
701 * org-macs.el (org-autoload): Delete.
703 * org-docview.el ("docview"): Fix declarations and require
706 * org-id.el (org-id-copy)
707 (org-id-get-with-outline-path-completion)
708 (org-id-get-with-outline-drilling, org-id-new):
711 (org-colview-initial-truncate-line-value)
712 (org-columns-open-link, org-string-to-number):
714 (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
715 * org-archive.el (org-get-local-archive-location):
716 * org-agenda.el (org-agenda-todo-custom-ignore-p):
719 * org.el (org-return-follows-link):
720 * ob-python.el (org-babel-python-command): Don't use :set.
722 * ox-odt.el (org-odt-content-template-file): Fix version.
724 * ox-texinfo.el (org-texinfo-filename): Fix default value.
725 (org-texinfo-format-headline-function): Use 'ignore as the
727 (org-texinfo-format-drawer-function): Use a function as the
728 default value. Update docstring.
729 (org-texinfo-drawer): Always use
730 `org-texinfo-format-drawer-function' as it is now a function
732 (org-texinfo-headline):
733 Compare `org-texinfo-format-headline-function' against 'ignore.
734 (org-texinfo-inlinetask):
735 Compare `org-texinfo-format-inlinetask-function' against 'ignore.
737 * ox-odt.el (org-odt-format-drawer-function): Use a function as
738 the default value. Update docstring.
739 (org-odt-format-headline-function)
740 (org-odt-format-inlinetask-function): Fix default value.
741 (org-odt-drawer): Always use `org-odt-format-drawer-function'
742 as it is now a function by default.
743 (org-odt-format-headline--wrap):
744 Compare `org-odt-format-headline-function' against 'ignore.
746 * ox-latex.el (org-latex-format-drawer-function): Use a function
747 as the default value. Update docstring.
748 (org-latex-format-inlinetask-function): Fix default value.
749 (org-latex-drawer): Always use
750 `org-latex-format-drawer-function' as it is now a function by
752 (org-latex-inlinetask):
753 Compare `org-latex-format-inlinetask-function' against 'ignore.
755 * ox-html.el (org-html-format-drawer-function): Use a function as
756 the default value. Update docstring.
757 (org-html-format-headline-function)
758 (org-html-format-inlinetask-function): Fix default value.
759 (org-html--format-toc-headline)
760 (org-html-format-headline--wrap):
761 Compare `org-html-format-headline-function' against 'ignore.
762 (org-html-inlinetask):
763 Compare `org-html-format-inlinetask-function' against 'ignore.
765 * ox-ascii.el (org-ascii-format-drawer-function): Use a
766 function as the default value. Update docstring.
767 (org-ascii-drawer): Always use
768 `org-ascii-format-drawer-function' as it is now a function by
770 (org-ascii-format-inlinetask-default): New function.
771 (org-ascii-format-inlinetask-function):
772 Use `org-ascii-format-inlinetask-default' as the default.
774 * org.el (org-mouse-1-follows-link): Use :set to set the default
775 value. Update custom type.
776 (org-log-note-headings): Fix order or list items in the custom
778 (orgstruct-heading-prefix-regexp): Use an empty string as the
779 default value. Use 'regexp as the custom type.
780 (orgstruct-make-binding): Tiny docstring enhancement.
781 Assume `orgstruct-heading-prefix-regexp' is a string.
783 * org-agenda.el (org-agenda-search-view-max-outline-level):
784 Set default value to 0. Update docstring.
785 (org-agenda-deadline-leaders): Fix custom type.
787 Assume `org-agenda-search-view-max-outline-level' is a number.
789 * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
791 * ob-python.el (org-babel-python-mode): Use :set to set the
793 (org-babel-python-None-to): Fix custom type.
795 * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
796 (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
799 * ob-latex.el (org-babel-latex-htlatex): Fix default value.
800 (org-babel-latex-htlatex-packages): Fix custom type.
801 (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
804 * ox-odt.el (org-odt-display-outline-level): Fix version.
806 * ox-odt.el (org-odt-inline-formula-rules)
807 (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
810 * ox-html.el (org-html-format-drawer-function)
811 (org-html-format-headline-function)
812 (org-html-format-inlinetask-function)
813 (org-html-creator-string): Add version and package-version.
815 * ox-html.el (org-html-text-markup-alist): Fix version.
817 * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
819 * ob-calc.el (org--var-syms): Rename from `var-syms'.
821 * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
824 * ob-table.el (sbe): Move debug declaration.
826 * org-clock.el (org--msg-extra): Rename from `msg-extra'.
828 2013-12-06 Nicolas Goaziou <n.goaziou@gmail.com>
830 * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
831 object, look for something to do at a higher level instead of
834 * ox-html.el (org-html-format-latex): Add an argument. Ensure
835 latex header is the same as specified in the original buffer when
836 exporting a LaTeX fragment or environment.
837 (org-html-latex-environment, org-html-latex-fragment):
838 Apply signature change.
840 * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
841 when publishing a non-existent file.
843 * org-element.el (org-element-paragraph-separate): More accurate
846 * org.el (org-entry-get): Widen buffer in order to retrieve
847 properties, as `org-entry-properties' and
848 `org-entry-get-with-inheritance' already do.
850 * ox-html.el (org-html--format-toc-headline): Add missing headline
851 number in TOC entries.
853 * org.el (org-entry-properties): Ignore narrowing when retrieving
854 current headline properties.
856 2013-12-06 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
858 * org-crypt.el (org-encrypt-string, org-encrypt-entry)
859 (org-decrypt-entry): Fix warning.
861 2013-11-17 Paul Eggert <eggert@cs.ucla.edu>
864 * ob-python.el (org-babel-python-with-earmuffs):
865 Rename from org-babel-python-with-earmufs. All uses changed.
866 (org-babel-python-without-earmuffs):
867 Rename from org-babel-python-without-earmufs. All uses changed.
869 2013-11-12 Bastien Guerry <bzg@gnu.org>
871 * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
873 2013-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
875 Address some byte-compiler warnings.
876 * ob-calc.el (org--var-syms): Rename from `var-syms'.
877 * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
878 * ob-table.el (sbe): Move debug declaration.
879 * org-clock.el (org--msg-extra): Rename from `msg-extra'.
880 * org.el (org-version): Avoid var name starting with _.
881 (org-inhibit-startup, org-called-with-limited-levels)
882 (org-link-search-inhibit-query, org-time-was-given)
883 (org-end-time-was-given, org-def, org-defdecode, org-with-time):
884 * org-colview.el (org-agenda-overriding-columns-format):
885 * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
886 (org-agenda-show-log-scoped):
887 * ob-python.el (py-which-bufname, python-shell-buffer-name):
888 * ob-haskell.el (org-export-copy-to-kill-ring):
889 * ob-exp.el (org-link-search-inhibit-query):
890 * ob-R.el (ess-eval-visibly-p):
891 * ob-core.el (org-src-window-setup): Declare before use.
892 (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
893 * ox-odt.el (org-odt-hfy-face-to-css):
894 * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
895 * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
897 * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
898 (org-babel-tangle-single-block, org-babel-tangle-comment-links):
900 * ob-sqlite.el (org-babel-sqlite-expand-vars):
901 * ob-sql.el (org-babel-sql-expand-vars):
902 * ob-shen.el (org-babel-execute:shen):
903 * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
904 * ob-scala.el (org-babel-scala-evaluate):
905 * ob-ruby.el (org-babel-ruby-table-or-string)
906 (org-babel-ruby-evaluate):
907 * ob-python.el (org-babel-python-table-or-string)
908 (org-babel-python-evaluate-external-process)
909 (org-babel-python-evaluate-session):
910 * ob-picolisp.el (org-babel-execute:picolisp):
911 * ob-perl.el (org-babel-perl-evaluate):
912 * ob-maxima.el (org-babel-execute:maxima):
913 * ob-lisp.el (org-babel-execute:lisp):
914 * ob-java.el (org-babel-execute:java):
915 * ob-io.el (org-babel-io-evaluate):
916 * ob-haskell.el (org-babel-execute:haskell):
917 * ob-fortran.el (org-babel-execute:fortran):
918 * ob-exp.el (org-babel-exp-code):
919 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
920 * ob-ditaa.el (org-babel-execute:ditaa):
921 * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
922 (org-babel-parse-header-arguments, org-babel-reassemble-table)
923 (org-babel-goto-src-block-head, org-babel-mark-block)
924 (org-babel-expand-noweb-references, org-babel-script-escape)
925 (org-babel-process-file-name):
926 * ob-clojure.el (org-babel-execute:clojure):
927 * ob-calc.el (org-babel-execute:calc):
928 * ob-awk.el (org-babel-execute:awk):
929 * ob-R.el (org-babel-expand-body:R):
930 * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
932 2013-11-12 Glenn Morris <rgm@gnu.org>
934 * ox-html.el (org-html-scripts): Add 2013 to copyright years.
935 (org-html-infojs-template): Copyright holder to FSF.
937 2013-11-12 Aaron Ecay <aaronecay@gmail.com>
939 * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
941 (org-latex--inline-image): Implement SVG files inclusion.
942 (org-latex-headline): Don’t insert alternate title if identical to
945 * ob-python.el: Update the arglist passed to `declare-function'
948 * ob-tangle.el (org-babel-tangle): Use `light' argument to
949 `org-babel-get-src-block-info'.
951 * ob-core.el (org-babel-execute-src-block): Return nil in case of
952 `:results none'. Also run `org-babel-after-execute-hook' in this
955 * org-id.el (org-id-locations-save): Bind print-(level,length) to
956 nil in this function.
958 * ob-R.el (org-babel-R-graphics-devices): New defvar.
959 (org-babel-R-construct-graphics-device-call): Use it instead of a
960 hard-coded list of graphics devices.
962 * ob-core.el (org-babel-when-in-src-block): New macro.
963 (org-babel-execute-src-block-maybe)
964 (org-babel-expand-src-block-maybe)
965 (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
967 (org-babel-execute-src-block): Use `copy-tree' to prevent setf
968 from modifying users variables withing let-bound `info' variable.
970 * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
972 (org-babel-exp-results): Implement 'inline-only for
973 `org-export-babel-evaluate'.
975 * org.el (org-edit-special): Use prefix arg.
977 * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
978 (org-babel-expand-body:picolisp): Remove optional arg.
980 * ob-R.el (org-babel-R-initiate-session): Handle case where the
981 session buffer exists, but does not have a live process.
982 (org-babel-R-construct-graphics-device-call): Change file
983 extension of tikz graphics files to .tikz.
985 * org-src.el (org-edit-src-exit): Don't modify the undo list when
988 * ox-latex.el (org-latex-plain-text): Properly escape "~" for
990 (org-latex-image-default-option): Change default value to "".
991 (org-latex-image-default-width, org-latex-image-default-height):
993 (org-latex-inline-image-rules): Make .tikz files as exportable
995 (org-latex--inline-image): Support tikz images. Also support
996 separate :width and :height parameters for images.
998 * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1001 2013-11-12 Abdó Roig-Maranges <abdo.roig@gmail.com>
1003 * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1004 the image already exists.
1006 * org-agenda.el (org-agenda-search-view-max-outline-level):
1007 New option to define the max level for the entries shown by the search
1008 view. A value of 1 means to show the top parent of the entries.
1010 * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1011 this function fail with no :foreground and :background attributes
1012 set, due to bad handling of "Transparent" color. Fix bug when
1013 colors are not `default'.
1014 (org-format-latex-options): Add `auto' to docstring.
1015 (org-format-latex): Get face colors at point and put them inside
1017 (org-create-formula-image-with-imagemagick): Fix bug when handling
1018 "Transparent" bg color.
1019 (org-dvipng-color-format): Same as `org-latex-color-format' for
1020 dvipng-style color specification.
1022 2013-11-12 Achim Gratz <Stromeko@Stromeko.DE>
1024 * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1025 evaluating the function pointed to by `org-confirm-babel-evaluate'
1026 when it is a functionp and its value as a variable otherwise.
1027 (org-babel-get-rownames, org-table.el)
1028 (org-table-transpose-table-at-point): Replace the inadvertent use
1029 of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1030 (org-babel-params-from-properties):
1031 Use `org-babel-current-src-block-location' for evaluating new-style
1032 header-argument properties. Remove superfluous save-match-data
1033 clauses. Comment which properties get evaluated where.
1034 (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1035 Replace `if' with empty else part by `when' for readability.
1036 (org-babel-params-from-properties): Inquire for language specific
1037 and default header properties. Language specific header
1038 properties take precedence over default header properties and
1039 old-style header property specifications.
1041 * org.el (org-re-property): Re-implement using full regex for
1042 `org-re-property'. Add optional argument LITERAL to flag when
1043 PROPERTY should to be regex-quoted. Move before definition of
1045 (org-re-property-keyword): Remove, functionality is subsumed by
1047 (org-property-re): Define using `org-re-property'.
1048 Improve definition so that this regex can be
1049 (org-entry-get, org-property-values): Adjust match number for
1050 PROPVAL. (org-entry-put): Use `org-re-property' instead of
1051 `org-re-property-keyword'.
1052 used in all situations. Extend docstring with explanation of
1054 (org-at-property-p): Implement using `org-element-at-point'.
1055 (org-entry-properties, org-buffer-property-keys, org-indent-line):
1056 Use `org-property-re' and adjust match group numbers accordingly.
1058 * org-compat.el (define-obsolete-variable-alias)
1059 (define-obsolete-function-alias): Actually remove the third (and
1060 any following) argument from the argument list before calling the
1061 advised function. Extend eval-and-compile clause and add advices
1062 for functions that have different parameter lists in XEmacs.
1063 Add variable definitions that XEmacs lacks .
1065 * ob-fortran.el (org-every): Declare.
1067 * org-element.el (org-element-node-property-parser):
1068 Use `org-property-re' and adjust match group numbers accordingly.
1069 Move `looking-at' out of the let clause to not rely on the
1070 unspecified evaluation order inside the let.
1072 * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1073 and org-compat as necessary.
1075 * ob-tangle.el (org-edit-special, org-store-link)
1076 (org-open-link-from-string): Declare functions.
1078 * org-macs.el (declare-function): Define macro to use autoload
1081 * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1082 'noerror on the require form.
1084 * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1085 argument list that XEmacs complains about by adding parenthesis.
1087 * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1088 can't be loaded, try octave instead before giving up.
1089 Emacs 24.3.50 and upwards replaces octave-inf with just plain octave.
1091 * org-id.el (org-id-update-id-locations): Autoload interactive
1094 * ob-core.el (org-babel-parse-inline-src-block-match):
1095 * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1096 properties priority over default header arguments.
1098 * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1099 first line could be the symbol `hline' rather than a list of table
1100 cells, so check for that as well.
1102 * org.el (org-table-clean-did-remove-column):
1103 * org-table.el (org-table-clean-did-remove-column): Move defvar,
1104 this dynamic variable is only used in org-table.
1106 * org-table.el (org-table-colgroup-info): Remove unused defvar for
1107 `org-table-colgroup-info'.
1108 (org-table-clean-before-export): Let-bind regular expression
1109 strings and remove unused matching group.
1110 Use `org-table-clean-did-remove-column' in cond statement rather than
1111 branching via if to avoid code duplication. Remove the code
1112 associated with the removed `org-table-colgroup-info'.
1113 (orgtbl-export): Remove unused internal function.
1115 * org-macro.el (org-macro-expand): Do not try to interpret the
1116 macro replacement text as a regex so that escaped backslashes and
1117 commas in macro arguments will be interpreted correctly.
1119 * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1120 only after evaluation so that output is not mixed into results
1122 (org-babel-perl-evaluate): Fix the handling of results for
1123 ":results output" to also parse tables. Use the same lambda
1124 construction as in ob-sh.el to avoid code duplication.
1126 * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1127 Suppress user confirmation of the emacs-lisp wrapper execution
1130 * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1131 for table results as expected by
1132 `org-babel-import-elisp-from-file´.
1134 * ob-core.el (org-babel-number-p): String match for any number
1135 moved first so that the match data for the length check does not
1137 (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1138 variable, if bound non-nil the confirmation dialog will not be
1139 initiated and denial of evaluation is assumed.
1140 (org-babel-check-confirm-evaluate): New macro to establish
1141 bindings based on INFO.
1142 (org-babel-check-evaluate): New defsubst that checks if the
1143 evaluation of a code block is disabled. Refactors the first part
1144 of the original function `org-babel-confirm-evaluate´.
1145 (org-babel-confirm-evaluate): New defsubst that checks if the user
1146 should be queried and returns the answer. Keeps the second part
1147 of the original function `org-babel-confirm-evaluate´.
1148 Re-implement using bindings for common subexpressions.
1149 (org-babel-execute-src-block): Do not ask for confirmation if the
1150 cached result is current.
1151 (org-babel-call-process-region-original): Change declaration into
1152 definition with nil initial value at the beginning of the file and
1153 drop the later definition. Add comment that the dynamic scoping
1154 of this variable is done for tramp.
1156 * org-table.el (org-table-eval-formula): The condition-case to
1157 check for must be "error", not "user-error".
1159 * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1160 through to `org-babel-perl-evaluate´.
1161 (org-babel-variable-assignments:perl): Add "my" to variable
1162 declaration so that it becomes compatible with "use strict;".
1163 Use new internal formatting function `org-babel-perl--var-to-perl´.
1164 (org-babel-perl--var-to-perl): New internal function, uses Perl
1165 non-interpolating quoting on the string that defines the variable
1166 to suppress spurious interpretation of it as Perl syntax.
1167 (org-babel-perl-wrapper-method): Use a block and declare all
1168 variables as "my", also use Perl quoting throughout. Redirect
1169 STDOUT to the temporary file so that simply "print" will put the
1170 results there. Check the return value and output in table form if
1171 it is an ARRAY ref, otherwise print it without a final newline.
1172 (org-babel-perl-preface): Content of this variable is prepended to
1173 body before invocation of perl. Rename input parameter body to
1174 ibody and let-bind body to concatentation of
1175 `org-babel-perl-preface' and ibody. Implement results
1176 interpretation so that tables are easier to produce.
1178 * ob-eval.el (org-babel-eval): Use simplified version of
1179 `org-babel--shell-command-on-region´, we are the only caller of
1181 (org-babel--shell-command-on-region):
1182 Replace `org-babel-shell-command-on-region´ with a much more simplified
1183 internal version, remove superfluous DOCSTRING and interactive
1184 clause, strip out all conditionals which were never used. Prevent
1185 deletion of temporary input file to aid debugging when the symbol
1186 `org-babel--debug-input´ is bound and has non-nil value.
1188 * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1189 arg is even documented in the manual.
1191 * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1194 * ob-core.el (org-babel-execute-src-block): Add binding for
1195 merged-params to avoid multiple evaluation of
1196 `org-babel-merge-params´. Rename cache? to cache-p, add binding
1197 for cache-current-p and use it. Do not run
1198 `org-babel-confirm-evaluate´ if source block has a cache and the
1199 cache value is current (there is no evaluation involved in this
1202 * org.el (org-current-time): Replace call to obsolete function
1203 `time-to-seconds´ with a call to compatibility function
1206 * org-compat.el (user-emacs-directory): If not bound, define as an
1207 alias to `user-init-directory´ so that XEmacs continues to be
1210 * org-macs.el: New macro to allow the 5-argument form of load to
1211 be used where possible without breaking compatibility with XEmacs.
1213 * org.el (org-version, org-reload):
1214 Use `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1215 to load directly. Guard against undefined variable load-suffixes,
1216 which doesn't exist in XEmacs.
1219 `org-define-obsolete-{function,variable}-alias´instead of
1220 `define-obsolate{function,variable}-alias´.
1222 * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1225 * ob-python.el (org-babel-python-hline-to)
1226 (org-babel-python-None-to): Specify customize group as 'org-babel
1227 and widget type as 'string.
1229 * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1230 formal parameter `result-params´.
1232 * org.el (org-reload): Major rewrite.
1234 * org.el (org-clock-get-last-clock-out-time): Declare function.
1236 2013-11-12 Alan Schmitt <alan.schmitt@polytechnique.org>
1238 * ob-ocaml.el (org-babel-prep-session:ocaml):
1239 Use `save-window-excursion' around the code starting the tuareg
1241 (org-babel-ocaml-command): New option to specify the name of the
1243 (org-babel-prep-session:ocaml): Directly call
1244 `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1246 (org-babel-execute:ocaml): Always append ";;" at the end of the
1247 expression before sending it to the toplevel. Do not remove the
1248 type information if "verbatim" is a results parameter of the code
1250 (org-babel-ocaml-parse-output): Make sure the complete type is
1251 taken into account when matching against known types.
1253 * org-faces.el (org-footnote): Fix docstring.
1255 2013-11-12 Andreas Leha <andreas@lehas.net>
1257 * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1258 copies the body of the block into a tikz file.
1260 2013-11-12 Arun Persaud <apersaud@lbl.gov>
1262 * org-agenda.el (org-agenda-prefix-format): Add documentation for
1264 (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1265 (org-agenda-format-item): Add breadcrumbs if requested.
1266 (org-compile-prefix-format): Add compiled information for
1267 breadcrumbs, add %b option.
1269 2013-11-12 Aurélien Aptel <aurelien.aptel@gmail.com> (tiny change)
1271 * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1272 string replacements for code and verbatim text when exporting to
1275 2013-11-12 Bastien Guerry <bzg@gnu.org>
1277 * org.el (org-align-tags-here): Fix bug: move to the correct
1279 (org-agenda-prepare-buffers): Restore the point position.
1280 (org-insert-link): Don't remove brackets when they belong to a
1281 timestamp in a headline.
1283 * org-capture.el (org-capture-refile): Don't finalize prematurely.
1284 (org-capture): Store :return-to-wconf earlier.
1285 (org-capture-place-template): Don't store :return-to-wconf when
1286 called from a capture template using `function', rely on the early
1287 :return-to-wconf value store from `org-capture'.
1289 * org-compat.el (org-move-to-column): New argument
1290 `ignore-invisible' to turn on `buffer-invisibility-spec'.
1292 * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1293 when inserting the new time as a text property.
1294 (org-agenda-filter-make-matcher): When filtering tags and hitting
1295 space, filter out entries with tags, only keep those without tags.
1296 (org-agenda-drag-line-forward, org-agenda-drag-line-backward):
1297 Fix bugs: don't drag lines without text and don't drag lines
1298 before/after hidden lines.
1300 * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1301 rel-width property as a string.
1302 (org-odt-template): Fall back on a string for :rel-width.
1304 * org.el (org-directory, org-default-notes-file)
1305 (org-reverse-note-order): Don't use the `org-remember'
1306 customization group.
1307 (org-require-autoloaded-modules): Don't require
1310 * org-capture.el: Update commentary section to reflect the fact
1311 that org-remember.el is not used anymore.
1313 * org.el (org-babel-load-file): Set `exported-file' correctly, in
1314 case the file as been tangled using a buffer-local value.
1316 * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1319 * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1320 ensure to show all headings and all blocks before fontifying.
1322 * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1324 * ox.el: Fix comment: remove reference to the obsolete variable
1325 `org-export-language-setup'.
1327 * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1330 * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1332 * org.el (org-refile): With a numeric prefix argument of `3',
1333 emulate (setq org-refile-keep t) and copy the subtree to the
1334 target location, don't delete it.
1335 (org-set-regexps-and-options-for-tags): Fix the setting of tag
1336 groups when relying on `org-tag-alist', not on tags directly set
1337 in the buffer with the #+TAGS option.
1339 * org-agenda.el (org-agenda-archive-with): Save window excursion.
1341 * org.el (org-forward-element, org-backward-element): Throw a
1342 message instead of an error when trying to move from a position
1343 where there is no element.
1344 (org-clock-is-active): Fix docstring.
1346 * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1347 plain list by checked status.
1349 * org.el (org-structure-template-alist): Fix custom type and
1351 (org-set-regexps-and-options-for-tags): Enhance docstring.
1352 (org-set-regexps-and-options): Make sure not to add
1353 `org-tag-alist' twice when setting this variable through et
1354 #+setupfile: directive.
1355 (org-tags-expand): Use `with-syntax-table'.
1357 * org-list.el (org-sort-list): Implement sorting by "checked"
1358 status for check lists.
1360 * org-table.el (org-table-sum): Fix rounding error when summing
1363 * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
1364 typo. Add declarations.
1366 * ox-html.el (org-html-link-use-abs-url): New option.
1367 (org-html-link): Use it to prepend relative links with the value
1368 of HTML_LINK_HOME, when defined.
1370 * org.el (org-refile): Fix refiling the active region within an
1371 list. Don't store the last refiled subtree in the kill ring.
1373 * org.el (org-mode-map): Remap `forward-paragraph' and
1374 `backward-paragraph' to `org-forward-element' and
1375 `org-backward-element'.
1377 * ox-html.el (org-html-begin-plain-list): New parameter
1378 `ordered-num' to tell whether the list is ordered numerically.
1379 (org-html-plain-list): Handle alphabetical ordered list.
1381 * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
1382 to nil during batch export.
1384 * org.el (org-copy-subtree): Fix typo in docstring.
1385 (org-scan-tags): Don't disable `case-fold-search' too early.
1387 * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
1389 * org-capture.el (org-capture-set-target-location): Don't throw an
1390 error when `org-time-was-given' is not bound.
1392 * org-clock.el (org-clock-modify-effort-estimate):
1395 * org.el (org-set-regexps-and-options-for-tags): Return a list
1396 with tag-related variables.
1397 (org-set-regexps-and-options): Append tags from a setup file to
1398 the local tags of the file.
1399 (org-agenda-prepare-buffers): Set tags from a setup file by
1400 calling `org-set-regexps-and-options' when necessary.
1401 (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
1402 and `org-scheduled-time-hour-regexp'.
1404 * org-table.el (org-table-TBLFM-begin-regexp): Rename from
1405 `org-TBLFM-begin-regexp'.
1406 (org-table-calc-current-TBLFM): Rename from
1407 `org-calc-current-TBLFM'.
1409 * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
1410 (org-refresh-properties): Put the text property on the whole
1411 subtree, not just on the headline.
1412 (org-get-outline-path): Remove statistical and checkboxes cookies.
1414 * org-agenda.el (org-agenda, org-search-view, org-tags-view)
1415 (org-agenda-get-day-entries, org-agenda-set-restriction-lock):
1416 Use (current-buffer) as the value of `org-agenda-restrict'. Fix a bug
1417 about narrowing to wrong region boundaries when
1418 `org-agenda-restrict' is non-nil.
1420 * org.el (org-agenda-text-search-extra-files): Fix typos in
1422 (org-insert-heading): Fix case when there the first heading starts
1423 at the beginning of the buffer.
1425 * ob-core.el (org-babel-expand-src-block):
1426 Use `org-called-interactively-p'.
1428 * org.el (org-agenda-prepare-buffers): Avoid duplicates in
1429 `org-tag-alist-for-agenda' correctly.
1430 (org-read-date-minibuffer-local-map): Check if we are at the
1431 beginning of the prompt, not if we are after a whitespace.
1432 Bind C-. to `calendar-goto-today'.
1434 * org-clock.el (org-clock-in): Don't forward by one character when
1435 setting the marker in the clock history.
1437 * org.el (org-read-date-minibuffer-local-map):
1438 Call `calendar-goto-today' only if there is a space before point in the
1440 (org-insert-heading): Reveal context when called interactively.
1441 Fix bug about wrong conversion of lines with :END: or #+end_ into
1443 (org-in-drawer-p): New function.
1444 (org-meta-return): Use `org-catch-invisible-edits' and the
1445 `org-in-drawer-p' to check whether we are within a drawer.
1447 * org-list.el (org-sort-list): Fix infloop.
1449 * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
1450 for a time shift if there is a time-stamp. Don't ask for a time
1451 shift when called with a universal prefix argument.
1453 * ob-core.el (org-babel-insert-result): Fix bug when inserting
1454 results as a list: ensure we split a string containing "\n".
1456 * ox-html.el: Fix copyright header.
1458 * org.el (org-store-link): Don't add a search string when storing
1459 a link from a radio target.
1460 (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
1461 the simple target (<<target>>).
1463 * org-table.el (org-table-get-remote-range): Fix typo.
1465 * org-datetree.el (org-datetree-find-month-create)
1466 (org-datetree-find-day-create): Add a docstring.
1467 (org-datetree-find-year-create): Only match headlines with a
1468 year or a year and one or more tags.
1470 * org-crypt.el (org-crypt-check-auto-save)
1471 (org-crypt-use-before-save-magic): Use `org-add-hook' when the
1472 hooks are local hooks.
1474 * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
1475 upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
1477 * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
1478 (org-babel-pop-to-session-maybe): Use true function's name,
1481 * org-agenda.el (org-agenda-drag-line-forward)
1482 (org-agenda-drag-line-backward): New commands.
1483 (org-agenda-mode-map): Bind the new commands to M-<down> and
1484 M-<up> respectively.
1486 * org.el (org-insert-heading): Fix insertion of items.
1488 * org-capture.el (org-capture-use-agenda-date): Fix docstring.
1490 * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
1491 (org-agenda-bulk-toggle-all): New command.
1492 (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
1493 and `org-agenda-bulk-toggle-all' to `M-*'.
1494 (org-agenda-menu): Add `org-agenda-bulk-toggle' and
1495 `org-agenda-bulk-toggle-all'.
1496 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
1497 next headline, not the next line.
1499 * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
1500 to nil while matching the first letter of a multi-letters
1503 * org.el (org-store-link): When a bracket link is found in a
1504 headline, use the link description or the link path.
1505 (org-flag-drawer, org-hide-block-toggle)
1506 (org-goto-left, org-goto-right, org-promote)
1507 (org-paste-subtree, org-narrow-to-block, org-sort-entries)
1508 (org-insert-link, org-offer-links-in-entry, org-open-file)
1509 (org-refile, org-refile-get-location)
1510 (org-refile-check-position, org-prepare-dblock, org-todo)
1511 (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
1512 (org-occur, org-priority, org-scan-tags)
1513 (org-get-tags-string, org-property-action, org-set-effort)
1514 (org-entry-put, org-insert-drawer)
1515 (org-compute-property-at-point)
1516 (org-property-next-allowed-value, org-evaluate-time-range)
1517 (org-closest-date, org-timestamp-change)
1518 (org-revert-all-org-buffers, org-cycle-agenda-files)
1519 (org-agenda-file-to-front, org-remove-file)
1520 (org-preview-latex-fragment, org-format-latex)
1521 (org-create-math-formula, org-create-formula-image)
1522 (org-speed-command-help, org-check-before-invisible-edit)
1523 (org-modifier-cursor-error, org-hidden-tree-error)
1524 (org-mark-subtree, org-kill-line, org-first-sibling-p)
1525 (org-up-element, org-down-element)
1526 (org-drag-element-backward, org-drag-element-forward)
1527 (org-unindent-buffer, org-speedbar-set-agenda-restriction):
1528 Use `user-error' instead of `error'.
1530 * ox-latex.el (latex): Don't force exporting with smart quotes.
1532 * ox.el (org-export-with-smart-quotes): Mention the need to use
1533 the relevant Babel package when setting this option to non-nil.
1535 * org-src.el (org-edit-src-turn-on-auto-save): New option.
1536 (org-edit-src-code): Use it.
1537 (org-edit-src-auto-save-idle-delay): Enhance docstring.
1539 * org-capture.el (org-mks): Make cursor invisible.
1541 * org.el (org-link-expand-abbrev): Save match data before before
1542 calling the replacement function.
1544 * org-list.el (org-sort-list): Don't move point when matching time
1547 * org.el (org-shifttab): Show the correct number of empty
1548 headlines when called with a numeric prefix argument.
1550 (org-uniquify): Use `copy-sequence'.
1551 (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
1552 error message when parse an element fails in the current buffer.
1554 * ox.el (org-export-with-planning): Enhance docstring.
1556 * org.el (org-closed-keep-when-no-todo): New option.
1557 (org-todo): Use the new option.
1558 (org-open-line): Rename from `org-ctrl-o'.
1559 (org-mode-map): Use `remap'.
1560 (org-cycle-emulate-tab, org-file-apps)
1561 (org-set-font-lock-defaults)
1562 (org-translate-link-from-planner, org-link-search)
1563 (org-refile-get-targets, org-read-date-get-relative):
1564 Minor code clean-up: fix dangling parentheses.
1566 * org-agenda.el (org-agenda-entry-text-mode): Also check against
1568 (org-timeline): Handle `org-agenda-show-log'.
1570 * org-clock.el (org-clock-select-task): Remove successive
1571 duplicates in the clock history to consider.
1573 * org.el (org-uniquify-alist): Improve docstring.
1574 (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
1575 tags to the tags completion table.
1576 (org-tags-expand): Prevent circular replacement of group tags.
1577 Tiny docstring formatting.
1578 (org-uniquify): Make a defsubst. Use `delete-dups' instead of
1580 (org-todo): Also remove the CLOSED planning information when
1581 removing the TODO keyword.
1582 (org-forward-heading-same-level): Fix bug when forwarding
1583 to a hidden subtree of the same level.
1584 (org-tags-expand): Use word delimiters when building the tag
1587 * org-clock.el (org-clock-insert-selection-line): Don't display
1590 * org.el (org-emphasis-regexp-components): Make a defvar.
1591 (org-emphasis-alist): New default value: don't set HTML tags.
1592 (org-emphasize, org-set-emph-re): Use the new value of
1593 `org-emphasis-alist'.
1595 * org-mobile.el (org-mobile-edit): Insert new headings at the end
1596 of the parent subtree. Use `org-at-heading-p' instead of the
1597 obsolete `org-on-heading-p'.
1599 * org.el (org-insert-heading): When called from a list item and
1600 `org-insert-heading-respect-content' is non-nil, insert a heading,
1602 (org-insert-heading-respect-content): Fix docstring.
1603 (org-insert-heading): When in a non-empty non-headline line,
1604 convert the current line into a headline.
1606 * org-table.el (org-table-copy-down): Don't move cursor when
1609 * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
1610 evaluate babel code blocks.
1612 * ox-html.el (html): Add more options.
1614 * ox-publish.el (org-publish-project-alist): Add :with-planning in
1617 * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
1619 * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
1621 * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
1624 * ox.el (org-export-options-alist, org-export--skip-p):
1625 Use `:with-planning' instead of `:with-plannings', to keep in sync
1626 with the corresponding option's name.
1628 * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
1630 * org-agenda.el (org-agenda-undo, org-agenda)
1631 (org-agenda-append-agenda)
1632 (org-agenda-get-restriction-and-command, org-agenda-write)
1633 (org-agenda-clock-cancel)
1634 (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
1635 (org-agenda-execute-calendar-command)
1636 (org-agenda-goto-calendar, org-agenda-convert-date)
1637 (org-agenda-bulk-mark, org-agenda-bulk-action)
1638 (org-agenda-show-the-flagging-note): Use `user-error' instead of
1641 * org-macs.el (org-with-remote-undo): Normalize argument names.
1643 * org.el (org-store-log-note): Fix `buffer-undo-list' when called
1644 after `org-agenda-todo'.
1645 (org-add-log-note): Minor formatting fix.
1647 * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
1649 * org-clock.el (org-clock-select-task): Throw a user error when
1650 the clock history is empty.
1652 * org-table.el (org-table-get-remote-range): Fix docstring: use
1653 #+NAME instead of #+TBLNAME.
1655 * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
1657 * ox-html.el (org-html-table-row-tags): Better example.
1659 * org-clock.el (org-clock-select-task): Fix window to buffer.
1661 (org-clock-insert-selection-line): Add the clock-out time.
1663 * ox-html.el (org-html-table-row-tags): Allow new dynamically
1664 bound value `row-number'.
1665 (org-html-table-row): Bind `row-number' to the number of the
1666 row (first row is 0).
1668 * org.el (org-minutes-to-clocksum-string): Round fractions of
1671 * ox-html.el (org-html-table-row-tags): Fix example in docstring.
1673 * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
1674 (org-agenda-goto-date): Fix bug when going to a date in month
1676 (org-agenda-goto-date): Put the cursor on the agenda line with the
1678 (scheduled/deadline items with hour spec) then redo an agenda*.
1680 * org-clock.el (org-clock-resolve): Enhance the content of the
1683 * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
1685 * ox-odt.el (org-odt-link): Fix bug: convert & to & in
1688 * ox-html.el (org-html-table-row): Dynamically bind
1689 `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
1690 `top-row-p', `bottom-row-p'.
1691 (org-html-table-row-tags): Update docstring: tell what variables
1692 are dynamically bound.
1694 * org-src.el (org-edit-src-code): Don't set
1695 `buffer-auto-save-file-name' unless `auto-save-default' is
1698 * ox.el (org-export-table-row-group): Fix typo in docstring.
1700 * org-table.el (orgtbl-apply-fmt): Enhance docstring.
1702 * org.el (org-file-contents): Make the message more prominent.
1704 * ox.el (org-export-replace-region-by): New function.
1706 * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
1707 * ox-md.el (org-md-convert-region-to-md),
1708 * ox-latex.el (org-latex-convert-region-to-latex),
1709 * ox-html.el (org-html-convert-region-to-html): New functions to
1710 replace the active region by its export into various backends.
1712 * org-faces.el (org-agenda-restriction-lock): Use less flashy
1716 (org-agenda-restriction-lock-highlight-subtree): New option.
1717 (org-agenda-top-headline-filter): Rename from
1718 `org-agenda-top-headline-filter'.
1719 (org-find-top-headline): Rename from `org-find-top-category'.
1721 (org-agenda-filtered-by-top-headline): Rename from
1722 `org-agenda-filtered-by-top-category'.
1723 (org-agenda-filter-by-top-headline): Rename from
1724 `org-agenda-filter-by-top-category'. Fix docstring.
1725 (org-agenda-filter-top-headline-apply): Rename from
1726 `org-agenda-filter-top-category-apply'. Fix docstring.
1727 (org-agenda-mode-map): Update binding.
1728 (org-agenda-get-todos): Set `todo-state' earlier so that we can
1729 skip false-positives in time.
1731 * org.el (org-get-todo-state): Add a docstring.
1732 (org-ctrl-o): New command to insert a new row in tables
1733 (like `M-S-<down>' does) and open a line elsewhere.
1734 (org-mode-map): Bind the new command to `C-o'.
1735 (org-set-regexps-and-options): Process tags from an external setup
1738 * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
1739 (org-agenda-finalize-entries): Conditionally apply limits so
1740 that we don't manipulate big lists uselessly.
1741 (org-agenda-limit-entries): Limit exclusively. E.g., when
1742 limiting to a maximum of "2 tags", don't limit among tagged
1743 entries only, but limit among all entries.
1744 (org-agenda-limit-interactively): New command.
1745 (org-agenda-mode-map): Bind the new command to "~".
1746 (org-agenda-redo): Small fix: don't use `eval'.
1748 * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
1749 list beginning should be stored using a marker so that updating
1750 [%0] to [%50] will not throw an error.
1751 (org-babel-load-file): Move `org-babel-load-file' from
1752 ob-tangle.el to here so that it is correctly autoloaded by Emacs
1753 before Org is required.
1755 * org-mac-message.el: Delete.
1757 * org.el (org-modules): org-mac-message.el is not a core package
1760 * org-table.el (orgtbl-to-generic): Fix bug when exporting the
1761 cells of radio tables with 'hline.
1763 * org.el (org-speed-commands-default): Use ?s for
1764 `org-narrow-to-subtree'.
1766 * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
1767 (org-agenda-start-day): Enhance docstring.
1769 * org-src.el (org-src-native-tab-command-maybe): Check that we are
1770 in a source code block.
1772 * org-mobile.el: Remove useless defvar.
1774 * org.el (org-indent-line): A line just below a line with a list
1775 item is now indented depending on the indentation of this list
1778 * org.el (org-options-keywords): Add #+TARGET.
1780 * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
1781 last clock if the clock buffer still exists.
1782 (org-clock-out, org-clock-cancel): Set markers to nil.
1784 * ox-org.el (org-org-publish-to-org):
1785 * ox-html.el (org-html-publish-to-html): Use the custom extension.
1787 * org.el (org-cycle-internal-local): Fix invalid search bound when
1788 `org-cycle-include-plain-lists' is set to 'integrate.
1790 * org.el (org-sparse-tree-default-date-type): Add an option for
1792 (org-sparse-tree): Allow to check against closed time-stamps.
1793 (org-re-timestamp): Handle closed time-stamps.
1794 (org-closed-in-range): Delete.
1796 * org-capture.el (org-capture-import-remember-templates):
1797 Take care of adding :jump-to-captured option if needed.
1799 * org.el (org-toggle-pretty-entities): Enhance messages.
1800 (org-raise-scripts): Handle scripts like "a_b^c".
1802 * org-capture.el (org-capture-templates): Document new option
1803 :jump-to-captured in the docstring. Offer the complete list of
1804 options when customizing.
1805 (org-capture-finalize): Handle :jump-to-captured.
1807 * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
1808 `org-tag-alist' to nil and don't append duplicate tags to
1809 `org-tag-alist-for-agenda'.
1810 (org-store-link): Storing multiple links in the active region now
1811 requires a triple prefix argument.
1812 (org-store-link, org-link-search): Fix handling of links to #+NAME
1813 and #+TARGET keywords.
1815 * org-compat.el (org-ignore-region): Tiny docstring fix.
1817 * org-capture.el (org-capture): Don't store multiple links over
1818 lines in the active region.
1820 * ox-odt.el (org-odt-special-block): Don't wrap annotations into
1821 <text:p>...</text:p> at all.
1822 (org-odt--fix-annotations): New function.
1823 (org-odt--export-wrap): Use the new function to fix annotations
1824 insertion in content.xml.
1826 * org.el (org-mode-flyspell-verify): Require 'org-element so that
1827 `org-element-affiliated-keywords' is defined.
1829 * ox-odt.el (org-odt-special-block): Don't insert annotations
1830 using style "Text_20_body".
1832 * org.el (org-toggle-tags-groups): Correctly highlight group tags.
1833 (org-tags-expand): Expand tags as words, with characters ?@
1834 and ?_ being considered words constituents.
1835 (org-set-regexps-and-options): Don't read setup files from
1837 (org-file-contents): When no-error is non-nil, throw a less
1840 * org-agenda.el (org-agenda-scheduled-leaders)
1841 (org-agenda-deadline-leaders): Re-align leaders to the left,
1842 back to a 11 characters width.
1844 * org.el (org-refile-cache-check-set): More informative message.
1846 * org-agenda.el (org-tags-view): Set the matcher after preparing
1847 the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
1848 (org-agenda-filter-make-matcher): New parameter `filter' and
1849 `type'. Handle group tags.
1850 (org-agenda-filter-expand-tags): New function.
1851 (org-agenda-filter-apply): Handle group tags.
1853 * org.el (org-blank-before-new-entry): Tiny docstring fix.
1854 (org-tag-alist-for-agenda): Add docstring.
1855 (org-tag-groups-alist-for-agenda): New global variable.
1856 (org-tag-groups-alist): New buffer-local variable.
1857 (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
1858 (org-group-tags): New option.
1859 (org-toggle-group-tags): New command.
1860 (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
1861 (org-set-regexps-and-options-for-tags): New function, factored
1862 out from `org-set-regexps-and-options'.
1863 (org-set-regexps-and-options): Don't handle tags, they are now
1864 handled separately by `org-set-regexps-and-options-for-tags'.
1865 (org-assign-fast-keys): Handle :grouptags.
1866 (org-mode): Use `org-set-regexps-and-options-for-tags' on top
1867 of `org-set-regexps-and-options'.
1868 (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
1869 (org-make-tags-matcher): Expand group tags in the matcher.
1870 (org-tags-expand): New function.
1871 (org-tags-completion-function): Tiny code clean up.
1872 (org-set-current-tags-overlay): Add a docstring.
1873 (org-fast-tag-selection): Highlight group tags.
1874 (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
1875 and `org-tag-groups-alist-for-agenda'. Don't uniquify
1876 `org-tag-alist-for-agenda' as we may need the grouping
1877 information for filtering in the agenda buffer.
1878 (org-uniquify-alist): New function.
1880 * org-pcomplete.el (pcomplete/org-mode/file-option/tags):
1883 * org-faces.el (mode-line): New face for group tags.
1885 * ob-core.el (org-babel-hash-show-time): Tiny docstring
1888 * org-element.el (org-element-paragraph-separate): Use new name
1889 `org-list-allow-alphabetical'.
1891 * org-list.el (org-list-allow-alphabetical): Rename from
1892 `org-alphabetical-lists'.
1893 (org-list-empty-line-terminates-plain-lists): Rename from
1894 `org-empty-line-terminates-plain-lists'.
1895 (org-checkbox-hierarchical-statistics): Rename from
1896 `org-hierarchical-checkbox-statistics'.
1898 * org.el (org-image-actual-width): Update docstring.
1899 (org-display-inline-images): Use the #+attr_html: :width syntax.
1900 (org-modules): Remove deleted libraries, add new ones.
1902 * ox-html.el (org-html-indent): Default to nil, as non-nil can
1903 break indentation of source code blocks.
1904 (org-html-link): Don't insert nil if there is no attributes.
1905 (org-html-link--inline-image): Use the correct syntax for image
1906 attributes. Allow :width :height and :alt as predefined
1907 attributes for inline images.
1908 (org-html-link, org-html-table): Use the standard syntax---
1909 e.g. "#+attr_html: :options ..."--- to get attributes.
1911 * ox.el (org-export-table-cell-alignment): Treat an empty cell as
1912 a number if it follows a number.
1914 * ox.el (org-export-as): Allow user functions in
1915 `org-export-before-parsing-hook' to modify the point.
1917 * org.el (org-entry-add-to-multivalued-property): Add the new
1918 value by appending it at the end of the line.
1920 * org-table.el (orgtbl-to-generic): New parameter `backend' to
1921 export cells content using a specific backend.
1922 (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
1923 and Texinfo before sending the table.
1925 * ox.el (org-export-define-backend)
1926 (org-export-define-derived-backend): Make defuns and update
1929 * ox-texinfo.el (texinfo):
1934 * ox-latex.el (latex):
1935 * ox-icalendar.el (icalendar):
1936 * ox-html.el (html):
1937 * ox-beamer.el (beamer):
1938 * ox-ascii.el (ascii): Use `org-export-define-backend' and
1939 `org-export-define-derived-backend' as defuns, not macros.
1941 * org.el (org-set-regexps-and-options):
1942 Use `org-table-set-constants'.
1944 * org-table.el (org-table-set-constants): New function.
1945 (orgtbl-ctrl-c-ctrl-c): Use it.
1948 (pcomplete/org-mode/block-option/clocktable): Add parameters.
1950 * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
1951 through ox-html.el now.
1953 * org-agenda.el (org-agenda-redo): Set filters after agenda has
1956 * org.el (org-store-link): When there is an active region, store
1957 each line as a separate link.
1958 (org-insert-all-links): Use a default description when links
1959 do not have one already.
1961 * org-agenda.el (org-agenda-redo): Fix code typo.
1963 * org.el (org-link-display-format): Fix docstring.
1965 * ox-publish.el (org-publish-org-to)
1966 (org-publish-org-sitemap, org-publish-find-title)
1967 (org-publish-find-date)
1968 (org-publish-cache-file-needs-publishing):
1969 Set `org-inhibit-startup' to t when visiting files for
1972 * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
1975 * org.el (org-set-font-lock-defaults): Set font-lock keywords
1976 correctly for plain links.
1978 * ox-texinfo.el (org-texinfo-logfiles-extensions)
1979 (org-texinfo-remove-logfiles): New options.
1980 (org-texinfo-compile): Use the new options to remove files
1981 after compiling a Texinfo file.
1983 * ox-texinfo.el (org-texinfo-coding-system): New option.
1984 (org-texinfo-template): Add @documentlanguage and
1986 (org-texinfo-headline): Add a space before tags.
1987 (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
1988 Use `org-texinfo-coding-system' as the coding system for
1990 (org-texinfo-publish-to-texinfo): New function.
1992 * ox-texinfo.el (org-texinfo-filename)
1993 (org-texinfo-info-process, org-texinfo-max-toc-depth)
1994 (org-texinfo--sanitize-menu): Docstrings tiny fixes.
1996 * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
1997 message when called interactively. Fix docstring position in the
2000 * ox-html.el (org-html--build-meta-info): Fix setting of
2001 http-equiv="Content-Type".
2003 * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2004 regexp and ?| for removing all filters.
2005 (org-agenda-filter-remove-all): New command.
2006 (org-agenda-filter-show-all-re): Rename from
2007 `org-agenda-filter-show-all-regexp'.
2008 (org-agenda-filter-by-regexp):
2009 Call `org-agenda-filter-show-all-re'.
2011 * org-list.el (org-insert-item): Don't ask for a definition term
2012 when insert an item in a description list.
2014 * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2015 This prevents bugs when calling e.g., `org-diary' after quitting
2017 (org-agenda-entry-types): Move earlier in the file.
2018 (org-agenda-custom-commands-local-options, org-diary)
2019 (org-agenda-get-day-entries): Don't hardcode the default agenda
2020 entry types, use `org-agenda-entry-types'.
2021 (org-agenda-custom-commands): Fix default setting so that the
2022 customize interface does not complain about a mismatch.
2024 * org.el (org-export-backends): Add new backends.
2026 * ox-html.el (org-html-indent): New option.
2027 (org-html-use-unicode-chars): New option.
2028 (org-html-pretty-output): Delete.
2029 (org-html-final-function): Use the new options.
2031 * ox-html.el (org-html-link): Fix handling of abbreviated links
2032 which include a file: protocol.
2033 (org-html--build-postamble): Default to today's date.
2034 (org-html--build-meta-info): When #+DATE contains a time stamp,
2035 parse it as a RFC 822 time string, otherwise simply insert the
2038 * ox.el (org-export--copy-to-kill-ring-p): New function.
2039 (org-export-copy-to-kill-ring): Use 'if-interactive as the
2041 (org-export-to-buffer, org-export-to-file):
2042 Use `org-export--copy-to-kill-ring-p' and fix docstrings.
2044 * ox-odt.el (org-odt-export-as-odf):
2045 Use `org-export--copy-to-kill-ring-p'.
2047 * org.el (org-set-font-lock-defaults): Fontify macros.
2049 * org-faces.el (org-macro): New face.
2051 * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2052 time shift when the entry at point has a time stamp and when the
2053 command is called with a universal prefix argument.
2054 (org-execute-file-search-functions): Docstring fix.
2056 * org-compat.el (org-defvaralias): Fix declare form.
2058 * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2059 (org-clock-special-range): New argument mstart.
2060 (org-dblock-write:clocktable, org-dblock-write:clocktable)
2061 (org-clocktable-write-default, org-clocktable-steps)
2062 (org-clock-get-table-data): Handle the :mstart parameter.
2064 * org.el (org-map-entries): Use `save-window-excursion'.
2066 * org-compat.el (org-defvaralias): New compatibility function.
2068 * org-list.el (org-cycle-include-plain-lists): Also add to the
2069 'org-cycle customization group.
2070 (org-list-allow-alphabetical)
2071 (org-checkbox-hierarchical-statistics)
2072 (org-list-empty-line-terminates-plain-lists)
2073 (org-list-description-max-indent): Rename and add aliases to old
2076 * org-element.el (org-element-context): Prevent an error when
2077 getting the context of a table rule.
2079 * org.el (org-deadline-time-hour-regexp)
2080 (org-scheduled-time-hour-regexp): New buffer local variables.
2081 (org-set-regexps-and-options): Set the new variables.
2083 * org-agenda.el (org-agenda-custom-commands-local-options):
2084 Add :deadline* and :scheduled* to the list of possible agenda entry
2086 (org-agenda): Implement a new agenda type agenda* with :scheduled*
2087 and :deadline* replacing :scheduled and :deadline respectively in
2088 agenda entry types. In such agenda, only scheduled and deadline
2089 items with a time specification [h]h:mm will be considered.
2090 (org-agenda-entry-types): Document the new agenda entry types
2091 :scheduled* and :deadline*.
2092 (org-agenda-list): New parameter `with-hour'. Use :scheduled* and
2094 (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2095 (org-agenda-get-deadlines, org-agenda-get-scheduled):
2096 New parameter `with-hour'. Use `org-deadline-time-hour-regexp' or
2097 `org-scheduled-time-hour-regexp' as the search string if needed.
2098 (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2099 as other scheduled and deadline items don't have a time spec and
2100 cannot be turned into appointments. Trim bracket links and use
2101 only the description as the appointment text.
2102 (org-agenda-get-restriction-and-command):
2103 Add default description for the agenda* view.
2104 (org-agenda-run-series): Handle agenda* views.
2106 * org-faces.el (org-agenda-filter-tags)
2107 (org-agenda-diary, org-agenda-calendar-event)
2108 (org-agenda-calendar-sexp): Minor code clean up.
2109 (org-agenda-filter-category): Docstring fix.
2110 (org-agenda-filter-category): New face.
2112 * org-agenda.el (org-agenda-local-vars):
2113 Add `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2114 (org-agenda-mode-map): Use "|" for
2115 `org-agenda-filtered-by-regexp'.
2116 (org-agenda-re-filter-overlays): New variable.
2117 (org-agenda-mark-filtered-text):
2118 Use `org-agenda-re-filter-overlays'.
2119 (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2120 (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2121 here instead of within `org-agenda-apply-filter'.
2122 (org-agenda-regexp-filter): New variable.
2123 (org-agenda-filter-by-regexp): New function to filter agenda
2125 (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2126 (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2127 `org-agenda-category-filter'. Maybe apply regexp filter.
2128 (org-agenda-filter-hide-line): Add docstring.
2129 Hide regexp-filtered lines.
2130 (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2132 (org-agenda-filter-show-all-regexp): New function.
2133 (org-agenda-set-mode-name): Add regexp-filter information.
2134 (org-agenda-custom-commands-local-options): Add regexp filter.
2135 (org-agenda-regexp-filter-preset): New variable.
2136 (org-agenda-prepare): Use the new variable.
2138 * ox-odt.el (org-odt-code, org-odt-verbatim):
2139 Use `org-odt--encode-plain-text'.
2141 * ox-html.el (org-html-link): Minor code clean-up.
2143 * org.el (org-insert-heading): DTRT when in a narrowed region.
2145 * org-compat.el (org-buffer-narrowed-p): New compatibility
2148 * ox-html.el (org-html-format-inline-image): Fix missing string in
2151 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2152 New allowed value `repeated-after-deadline' which will prevent the
2153 display of scheduled items when repeated after the current
2155 (org-agenda-get-scheduled): Handle the new value.
2157 * org.el (org-time-string-to-absolute): Tiny docstring fix.
2159 * ox-html.el (org-html-style-default): New classes `footpara' and
2160 `footdef' for the footnotes paragraphs and definitions.
2161 (org-html-format-footnote-definition): Wrap the footnote
2162 defintions into their own div.
2163 (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2165 (org-html-container-element, org-html-divs): Mention that
2166 org-info.js will not work when changing the defaults.
2168 * ox-md.el (md): Export underlined text as verbatim.
2170 * ox-html.el (org-html-style-default): New CSS .underline and
2171 #org-div-home-and-up.
2172 (org-html-text-markup-alist): Don't hardcode the style, use the
2173 new class .underline.
2174 (org-html-home/up-format): Don't hardcode the style, use
2175 #org-div-home-and-up.
2176 (org-html-center-block): Use the .center class.
2178 * ox-md.el (org-md-underline): New function.
2180 * org-agenda.el (org-sorting-choice): Fix default value.
2182 * ox-html.el (org-html-format-footnote-definition)
2183 (org-html-footnote-section): Don't wrap footnote definitions into
2185 (org-html-paragraph): Add HTML style and class parameter when the
2186 paragraph is in a footnote definition. Also allow to add an extra
2187 string after the paragraph. Further parameters can be added for
2188 paragraphs in other environments.
2189 (org-html-template): Always include the title as <h1
2190 class="title"></h1>, even when there is no title, as org-info.js
2193 * org-element.el (org-element-map): Fix tiny typo in docstring.
2195 * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2197 * ox-html.el (org-html-format-inline-image): Don't add superfluous
2198 <p></p> when there is an empty caption.
2200 * org-agenda.el (org-agenda-refile): Enhance docstring. Allow to
2201 clear the refile cache with C-0 or C-u C-u C-u.
2203 * ox-md.el (org-md-export-as-markdown): Tiny docstring fix. Fix a
2204 library keyword in the comment section.
2206 * org.el (org-toggle-item): Convert all normal lines as items when
2207 there is a region, and only convert the first line when called
2208 with a universal prefix argument. This is consistent with the
2209 behavior of `org-toggle-heading'.
2210 (org-toggle-heading): When the region contains only normal lines,
2211 a universal prefix arg will only convert the first line. This is
2212 more consistent with `org-toggle-item'.
2213 (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2214 (customize-package-emacs-version-alist):
2215 Update `customize-package-emacs-version-alist'.
2217 * ox-texinfo.el (org-export-texinfo)
2218 (org-texinfo-filename, org-texinfo-classes)
2219 (org-texinfo-format-headline-function)
2220 (org-texinfo-node-description-column)
2221 (org-texinfo-active-timestamp-format)
2222 (org-texinfo-link-with-unknown-path-format)
2223 (org-texinfo-tables-verbatim)
2224 (org-texinfo-table-scientific-notation)
2225 (org-texinfo-text-markup-alist)
2226 (org-texinfo-format-drawer-function)
2227 (org-texinfo-format-inlinetask-function)
2228 (org-texinfo-info-process):
2229 * ox-odt.el (org-odt-format-drawer-function)
2230 (org-odt-format-headline-function)
2231 (org-odt-format-inlinetask-function):
2232 * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2233 and :package-version keywords.
2235 * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2236 by default as it will change many clocktables out there. Let the
2237 user decides whether she wants to turn this on.
2239 * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2241 * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2244 * ox-html.el (org-html-style-default): More cosmetic tweaks.
2245 (org-html-head-include-default-style): Minor docstring update.
2247 * ox.el (org-export-snippet-translation-alist)
2248 (org-export-coding-system, org-export-in-background)
2249 (org-export-async-init-file, org-export-invisible-backends)
2250 (org-export-dispatch-use-expert-ui):
2251 * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2252 (org-texinfo-format-headline-function)
2253 (org-texinfo-node-description-column)
2254 (org-texinfo-active-timestamp-format)
2255 (org-texinfo-link-with-unknown-path-format)
2256 (org-texinfo-tables-verbatim)
2257 (org-texinfo-table-scientific-notation)
2258 (org-texinfo-text-markup-alist)
2259 (org-texinfo-format-drawer-function)
2260 (org-texinfo-format-inlinetask-function)
2261 (org-texinfo-info-process):
2262 * ox-man.el (org-man-tables-centered)
2263 (org-man-table-scientific-notation)
2264 (org-man-source-highlight, org-man-source-highlight-langs)
2265 (org-man-pdf-process, org-man-logfiles-extensions):
2266 * ox-html.el (org-html-allow-name-attribute-in-anchors)
2267 (org-html-coding-system, org-html-divs):
2268 * ox-ascii.el (org-ascii-text-width)
2269 (org-ascii-headline-spacing, org-ascii-indented-line-width)
2270 (org-ascii-paragraph-spacing, org-ascii-charset)
2271 (org-ascii-underline, org-ascii-bullets)
2272 (org-ascii-links-to-notes)
2273 (org-ascii-table-keep-all-vertical-lines)
2274 (org-ascii-table-widen-columns)
2275 (org-ascii-table-use-ascii-art)
2276 (org-ascii-format-drawer-function)
2277 (org-ascii-format-inlinetask-function):
2278 * org.el (org-modules, org-export-backends)
2279 (org-highlight-latex-and-related, orgstruct-setup-hook):
2280 * org-attach.el (org-attach-git-annex-cutoff):
2281 * org-archive.el (org-archive-file-header-format):
2282 * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2283 * ob-python.el (org-babel-python-hline-to)
2284 (org-babel-python-None-to):
2285 * ob-ditaa.el (org-ditaa-eps-jar-path):
2286 * ob-core.el (org-babel-results-keyword): Add :version and
2289 * ox-ascii.el: Use utf-8-emacs as the file coding system.
2291 * org-capture.el (org-capture-templates, org-capture-string)
2292 (org-capture-steal-local-variables)
2293 (org-capture-empty-lines-before)
2294 (org-capture-empty-lines-after)
2295 (org-capture-insert-template-here)
2296 (org-capture-import-remember-templates): Fix or add docstring.
2298 * ox-html.el (org-html-style-default): Cosmetic changes.
2299 (org-html-postamble, org-html-preamble)
2300 (org-html-preamble-format): Update docstring.
2302 * org-agenda.el (org-agenda-format-date-aligned)
2303 (org-agenda-time-of-day-to-ampm-maybe)
2304 (org-scheduled-past-days)
2305 (org-agenda-normalize-custom-commands)
2306 (org-agenda-run-series, org-store-agenda-views): Fix or add
2310 (org-latex-table-scientific-notation, org-latex-verse-block):
2311 Fix typos in docstrings.
2313 * ox-html.el (org-html-text-markup-alist)
2314 (org-html-pretty-output, org-html-link-org-files-as-html)
2315 (org-html-postamble, org-html-preamble)
2316 (org-html-format-inline-image, org-html-splice-attributes)
2317 (org-export-splice-style, org-html-htmlize-region-for-paste)
2318 (org-html-fix-class-name)
2319 (org-html-format-footnote-reference)
2320 (org-html-format-footnotes-section)
2321 (org-html-footnote-section, org-html--anchor)
2322 (org-html--todo, org-html--tags, org-html-format-headline)
2323 (org-html-toc, org-html-format-section, org-html-checkbox)
2324 (org-html-format-list-item, org-html-format-latex)
2325 (org-html-encode-plain-text)
2326 (org-html-table-first-row-data-cells)
2327 (org-html-table--table.el-table, org-html-final-function):
2328 Fix or add docstring.
2330 * org.el (org-insert-heading): If the current item has a checkbox,
2331 insert the new item with a checkbox.
2333 * org.el (org-insert-heading): Don't delete spaces in empty
2336 * ox-odt.el (org-odt-keyword): Fix typo.
2338 * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2340 * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2342 * org-faces.el (org-column): Update docstring.
2344 * org-colview.el: Update error message.
2346 * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2347 org-w3m.el, org-wl.el as these files are now part of contrib/.
2352 * org-wl.el: Delete (moved to Org's contrib/ directory.)
2354 * org-capture.el (org-mks): Move from org-mks.el.
2356 * org-mks.el: Delete.
2358 * ox-html.el (html): Update HTML options names.
2360 * org.el (org-show-context): Don't try to fix ellipsis when
2361 showing a subtree in agenda.
2363 * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
2364 known as HTML_STYLE_EXTRA.
2365 (org-html-head): Enhance docstring.
2366 (org-html-head-extra): Reintroduce. Was `org-html-style-extra'.
2367 (org-html--build-head): Rename from `org-html--build-head'.
2368 Add information from `org-html-head-extra'.
2369 (org-html-template): Use `org-html--build-head'.
2371 * ox-html.el (org-html-display-buffer-mode): Delete.
2372 (org-html-export-as-html): Use `set-auto-mode' instead of
2373 `org-html-display-buffer-mode'.
2375 * org-agenda.el (org-agenda-write): Overwrite file when called
2378 * org-mobile.el (org-mobile-edit): Workaround a
2379 `org-insert-heading-respect-content' bug which prevents correct
2380 insertion when point is invisible
2382 * org.el (org-previous-line-empty-p): New parameter to allow
2383 checking next line. Add a docstring.
2384 (org-insert-heading): Handle two universal prefix arguments as
2385 advertised in the docstring. Don't insert new lines when
2386 creating a heading after the first heading in the current
2388 (org-insert-heading-respect-content): New optional argument
2389 arg, passed to `org-insert-heading'.
2391 * org.el (org-mode): Remove syntax entries.
2392 Use `org-backward-element' and `org-forward-element' for
2393 `beginning-of-defun-function' and `end-of-defun-function': this
2394 allows using C-M-a and C-M-e before the first headline.
2396 * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
2398 * ox-org.el (org-org-htmlized-css-url): Rename from
2399 `org-html-htmlized-org-css-url' and moved here from ox-html.el.
2400 (org-org-publish-to-org): Handle :htmlized-source in
2401 publishing projects.
2403 * ox-html.el (org-html-style-default): Update docstring.
2404 (org-html-infojs-install-script, org-html--build-style):
2405 Update property names.
2406 (org-html-head-include-scripts)
2407 (org-html-head-include-default-style, org-html-head):
2408 Respectively rename from `org-html-style-include-scripts',
2409 `org-html-style-include-default' and `org-html-style', now
2411 (org-html-style-extra): Delete.
2413 * org-clock.el (org-clock-out): Fix bug: if a closing note needs
2414 to be stored in the drawer where clocks are stored, let's
2415 temporarily remove `org-clock-remove-empty-clock-drawer' from
2416 `org-clock-out-hook'.
2418 * ob-tangle.el (org-babel-tangle): Remove unused attempt of
2419 prompting the user of the tangle file name since :tangle is always
2420 set. Don't prompt for a tangle file name when called with two
2421 universal prefix arg outside of a src block.
2422 Use `org-babel-tangle-single-block'.
2423 (org-babel-tangle-single-block): New function.
2424 (org-babel-tangle-collect-blocks): Use the new function.
2426 * org-table.el (org-table-convert-region, org-table-export)
2427 (org-table-align, org-table-beginning-of-field)
2428 (org-table-copy-down, org-table-check-inside-data-field)
2429 (org-table-insert-column, org-table-find-dataline)
2430 (org-table-delete-column, org-table-move-column)
2431 (org-table-insert-row, org-table-insert-hline)
2432 (org-table-kill-row, org-table-paste-rectangle)
2433 (org-table-wrap-region, org-table-sum, org-table-get-formula)
2434 (org-table-get-formula, org-table-get-stored-formulas)
2435 (org-table-fix-formulas, org-table-maybe-eval-formula)
2436 (org-table-rotate-recalc-marks, org-table-eval-formula)
2437 (org-table-get-range, org-table-get-descriptor-line)
2438 (org-table-find-row-type, org-table-recalculate)
2439 (org-table-iterate, org-table-iterate-buffer-tables)
2440 (org-table-formula-handle-first/last-rc)
2441 (org-table-edit-formulas, org-table-fedit-shift-reference)
2442 (org-rematch-and-replace, org-table-shift-refpart)
2443 (org-table-fedit-finish, org-table-fedit-lisp-indent)
2444 (org-table-show-reference, org-table-show-reference)
2445 (org-table-show-reference, org-table-show-reference)
2446 (org-table-force-dataline, orgtbl-error, orgtbl-export)
2447 (orgtbl-send-replace-tbl, org-table-to-lisp)
2448 (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
2449 (orgtbl-toggle-comment, orgtbl-insert-radio-table)
2450 (orgtbl-to-unicode, org-table-get-remote-range)
2451 (org-table-get-remote-range, org-table-copy-dow)
2452 (org-table-check-inside-data-field, org-table-insert-colum)
2453 (org-table-find-dataline, org-table-delete-colum)
2454 (org-table-move-column, org-table-insert-ro)
2455 (org-table-insert-hline, org-table-kill-ro)
2456 (org-table-paste-rectangle, org-table-wrap-regio)
2457 (org-table-sum, org-table-get-formul)
2458 (org-table-get-stored-formulas, org-table-fix-formula)
2459 (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
2460 (org-table-eval-formul, org-table-get-range)
2461 (org-table-get-descriptor-lin, org-table-find-row-type)
2462 (org-table-recalculat, org-table-iterate)
2463 (org-table-iterate-buffer-table)
2464 (org-table-formula-handle-first/last-r)
2465 (org-table-edit-formulas, org-table-fedit-shift-referenc)
2466 (org-rematch-and-replace, org-table-shift-refpar)
2467 (org-table-fedit-finish, org-table-fedit-lisp-inden)
2468 (org-table-show-reference, org-table-force-datalin)
2469 (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
2470 (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
2471 (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
2472 (org-table-get-remote-range): Use `user-error' instead of
2473 `error' for user errors.
2475 * ob-core.el (org-babel-load-in-session): Throw a useful error
2476 when there is no code block at point.
2478 * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
2479 parameter to ARG. Allow two universal prefix arguments to tangle
2480 by the target file of the block at point.
2481 (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
2482 to restrict the collection of blocks to those who will be
2483 tangled in TARGET-FILE.
2485 * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
2486 by default (i.e., deactivate auto-saving.)
2487 (org-edit-src-code): Set `buffer-auto-save-file-name' for
2488 auto-saving with `auto-save-mode'.
2490 * org.el (org-deadline, org-schedule): When called with two
2491 universal prefix arguments, set the warning time or the delay
2492 relatively to the current timestamp, not to today's date.
2494 * org-agenda.el (org-agenda-filter-apply):
2495 Deactive `org-agenda-entry-text-mode' when filtering.
2496 (org-agenda-entry-text-mode): Don't allow in filtered views.
2497 Don't show the maximum number of lines when turning off.
2499 * ox-html.el (org-html-headline): Add comment.
2501 * org.el (org-mode): Set `paragraph-start'.
2503 * org-agenda.el (org-agenda-entry-text-leaders): New option.
2504 (org-agenda-entry-text-show-here): Use it.
2506 * ox-html.el (org-html-link--inline-image): Always retrieve
2507 attributes for inline images.
2508 (org-html-link): Fix trailing whitespace at the end of the opening
2510 (org-html-headline): For headlines whose first element is a
2511 headline and not a section, pretend there is an empty section (as
2512 "") for the correct HTML div to be inserted.
2514 * org-agenda.el (org-agenda-collect-markers)
2515 (org-create-marker-find-array): Move to ox-icalendar.el.
2516 (org-agenda-marker-table, org-check-agenda-marker-table):
2519 * ox-icalendar.el (org-icalendar-create-uid): New parameter
2520 H-MARKERS to only update some headlines, not the whole file.
2521 (org-icalendar--combine-files): When exporting to an .ics file
2522 only add UID to the headlines shown in the agenda buffer.
2523 (org-agenda-collect-markers, org-create-marker-find-array):
2526 * org-agenda.el (org-agenda-write): Ask before overwriting an
2529 * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
2530 Use `org-html-infojs-opts-table'.
2532 * ox-html.el (org-html-infojs-opts-table):
2533 (org-html-use-infojs, org-html-infojs-options)
2534 (org-html-infojs-template): Move from ox-jsinfo.el. Rename using
2535 the org-html- prefix.
2536 (org-html-infojs-install-script): Move from ox-jsinfo.el.
2538 * ox-jsinfo.el: Delete.
2540 * ox-html.el (org-html-section): Fix indentation.
2541 (org-html-inner-template): Add the document title here, within the
2542 "content" class, as the org-info.js needs it.
2543 (org-html-template): Don't include the document's title here.
2544 (org-html-format-inlinetask-function): Remove wrong example.
2546 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
2547 blocks in commented out headings.
2549 * ox-latex.el (org-latex-logfiles-extensions)
2550 (org-latex-remove-logfiles): Improve docstrings.
2552 * org-capture.el (org-capture): Cosmetic fix.
2554 * org-protocol.el (org-protocol-create-for-org)
2555 (org-protocol-create): Small docstrings enhancements.
2557 * org-protocol.el (org-protocol-capture): Small docstring fix.
2559 * org.el (org-speed-command-activate): Only forbid in src code
2563 (org-indent-add-properties): Bugfix: prevent negative value for
2564 `added-ind-per-lvl'.
2566 * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
2567 `isearch-mode-end-hook' so that any isearch fixes the problem with
2568 ellipsis on the first line.
2569 (org-fix-ellipsis-at-bol): New defsubst.
2570 (org-show-context, org-isearch-end): Use it.
2572 * org-agenda.el (org-agenda-deadline-leaders): New formatting
2573 string for past deadlines.
2574 (org-agenda-scheduled-leaders): Small change.
2575 (org-agenda-get-deadlines): Use the new formatting string.
2577 * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
2579 * org.el (org-speed-command-activate): Don't activate speed
2580 commands within blocks.
2582 * org.el (org-show-context): Remove useless catch. Make sure the
2583 top of the window is a visible headline.
2584 (org-activate-plain-links): Remove unused catch.
2586 * org-macs.el (org-get-alist-option): Return nil, not (nil), so
2587 that `org-show-context' DTRT.
2589 * org.el (org-imenu-get-tree): Fix bug when matching against empty
2591 (org-overview): Stay on current line.
2592 (org-map-entries): Fix docstring.
2594 * org-macs.el (org-unmodified): Update comment. Don't define
2595 `with-silent-modifications' for emacsen that don't have it.
2597 * org-compat.el (org-with-silent-modifications):
2598 New compatibility macro.
2600 * org.el (org-refresh-category-properties)
2601 (org-refresh-properties, org-entry-blocked-p)
2602 (org-agenda-prepare-buffers):
2604 * org-indent.el (org-indent-remove-properties)
2605 (org-indent-add-properties):
2607 * org-colview.el (org-columns-display-here)
2608 (org-columns-remove-overlays, org-columns-quit)
2609 (org-columns-edit-value, org-columns-compute-all)
2610 (org-columns-compute, org-agenda-colview-compute):
2612 * org-clock.el (org-clock-sum): Use the compatibility macro
2613 `org-with-silent-modifications' instead of
2614 `with-silent-modifications'.
2616 * org.el (org-sort-remove-invisible): Remove emphasis markers.
2618 * org.el (org-sort-remove-invisible): Use defsust. Do not only
2619 check against invisible links, truly returns the visible part of
2621 (org-sort-remove-invisible): Add a docstring.
2622 (org-sort-entries): Remove hidden links when comparing entries.
2624 * org-list.el (org-sort-list): Remove hidden links when comparing
2627 * ox-html.el (org-html-headline): Fix typo.
2628 (org-html-format-headline--wrap): Cosmetic change.
2630 * org.el (org-at-clock-log-p): Delete.
2632 * org-clock.el (org-at-clock-log-p): Move here.
2634 * ox-html.el (org-html-format-headline-function): Fix docstring.
2636 * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
2637 both mysql and postgresql.
2639 * org.el (org-agenda-prepare-buffers): Don't use
2640 `with-silent-modifications' too early.
2642 * org-macs.el: Add a comment on when to use `org-unmodified' and
2643 when to use `with-silent-modifications'.
2645 * org-colview.el (org-columns-display-here)
2646 (org-columns-remove-overlays, org-columns-quit)
2647 (org-columns-edit-value, org-columns-compute-all)
2648 (org-columns-compute, org-agenda-colview-compute):
2649 * org-clock.el (org-clock-sum):
2650 * org.el (org-refresh-category-properties)
2651 (org-refresh-properties, org-entry-blocked-p)
2652 (org-agenda-prepare-buffers): Use `with-silent-modifications'
2653 instead of `org-unmodified'.
2655 * ox-publish.el (org-publish-sitemap-date-format): Small docstring
2658 * ox-latex.el (org-latex-format-headline-default-function):
2660 (org-latex-format-headline-function): Use the new option as
2662 (org-latex-toc-command): Don't add vertical space after the table
2665 * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
2666 `org-with-buffer-modified-unmodified'.
2667 (org-agenda-prepare-buffers): Fix indentation.
2669 * org-macs.el (org-unmodified): Rename from
2670 `org-with-buffer-modified-unmodified'.
2671 (org-with-buffer-modified-unmodified): Delete.
2673 * ob-python.el (org-babel-python-command): Use a defcustom.
2674 (org-babel-python-mode): Use a defcustom and default to
2675 'python-mode when featured.
2677 * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
2680 * ox-org.el (org-org-publish-to-org): Autoload.
2683 * org-bibtex.el: Remove remember support.
2685 * org-clock.el (org-clock-heading-for-remember): Delete.
2686 (org-clock-in): Do not set the heading for remember.
2688 * org.el (org-move-subtree-down, org-forward-element)
2689 (org-backward-element):
2691 * org-table.el (org-table-previous-field)
2692 (org-table-move-column, org-table-move-row):
2694 * org-list.el (org-move-item-down, org-move-item-up)
2695 (org-cycle-item-indentation): Use `user-error' when moving or
2696 modifying the element at point is not possible.
2698 * ox-html.el (org-html-table-header-tags)
2699 (org-html-table-data-tags, org-html-table-row-tags)
2700 (org-html-table-align-individual-fields): Use the
2701 org-export-html group.
2702 (org-html-inline-src-block, org-html-link): Fix error messages.
2703 (org-html-begin-plain-list): Fix formatting, better FIXME
2706 * org.el (org-fill-paragraph): Fill using
2707 `org-mode-transpose-word-syntax-table'.
2709 * ox-org.el (org-org-publish-to-org): New defun.
2711 * ox-html.el (org-export-htmlize): Delete group.
2712 (org-html-htmlize-output-type)
2713 (org-html-htmlized-org-css-url)
2714 (org-html-htmlize-region-for-paste): Rename from
2715 org-export-htmlize-*.
2716 (org-html-htmlize-generate-css, org-html-fontify-code):
2717 Use the correct names.
2719 * org-compat.el (org-file-equal-p): New compatibility function.
2721 * ox.el (org-export-output-file-name): Use the new function.
2723 * org-clock.el (org-clock-set-current)
2724 (org-clock-delete-current): Delete.
2725 (org-clock-in, org-clock-out): Set and delete
2726 `org-clock-current-task'. Minor code clean-up.
2728 * org-clock.el (org-clock-in, org-clock-in-last):
2729 Tell `org-current-time' to always return a past time.
2731 * org.el (org-current-time): New argument `past' to force
2732 returning a past time when rounding.
2734 * org-agenda.el (org-agenda-unmark-clocking-task): New function.
2735 (org-agenda-mark-clocking-task): Use it.
2736 (org-agenda-clock-in): Let the cursor where it is.
2737 (org-agenda-clock-out): Ditto. Also remove the
2738 `org-agenda-clocking' overlay.
2740 * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
2741 so that it ends at the beginning of the next headline at the same
2744 * org.el (org-set-effort, org-property-next-allowed-value):
2745 When needed, update the current clock effort time.
2746 (org-next-link): New parameter `search-backward'. Fix bug when at
2747 a link with no 'org-link face, e.g., in a DONE headline. Throw a
2748 message instead of an error.
2749 (org-previous-link): Use `org-next-link'.
2751 * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
2752 when `org-prefix-has-breadcrumbs' is non-nil.
2754 * org.el (org-mode): Don't make characters from
2755 `org-emphasis-alist' word constituents.
2756 (org-mode-transpose-word-syntax-table): Rename from
2758 (org-transpose-words):
2759 Use `org-mode-transpose-word-syntax-table'.
2761 * ox.el (org-export--dispatch-ui)
2762 (org-export--dispatch-action): Use integers for control chars.
2764 * org-agenda.el (org-agenda-set-restriction-lock): Put the
2765 overlay until the end of the subtree, not the end of the
2768 * org.el (org-entry-delete, org-delete-property): New optional
2769 arg delete-empty-drawer, a string, to delete any empty drawer
2771 (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
2774 * org-src.el (org-src-mode-map, org-edit-src-code)
2775 (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
2776 for `org-edit-src-abort'.
2778 * org.el (org-mode): Use org-unmodified during startup
2779 initialization for functions that may be inhibited.
2781 * org-table.el (org-table-align): Only set the window start
2782 when table alignment is performed in the selected window.
2784 * org-src.el (org-edit-src-auto-save-idle-delay): New option.
2785 (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
2786 (org-edit-src-code-timer): New timer variable.
2787 (org-edit-src-code): Run the timer.
2788 (org-edit-fixed-width-region): Enhance message.
2789 (org-edit-src-exit): Cancel the timer.
2790 (org-edit-src-save): Prevent saving when editing fixed-width
2791 buffer, exiting will save already.
2792 (org-edit-src-exit): Inconditionally kill the src/example
2795 * org-pcomplete.el (pcomplete/org-mode/file-option):
2796 Require 'org-element. This fixes a bug about unbound variable
2797 `org-element-affiliated-keywords' when trying to complete a
2798 keyword before 'org-element was required.
2800 * org-list.el (org-list-bullet-string): Replace match when there
2801 is a match, otherwise just return the bullet.
2803 * org-src.el (org-src-mode-map): New binding C-c k to abort
2805 (org-edit-src-code): Mention the keybinding to abort editing
2806 and go back to the correct position.
2807 (org-edit-src-abort): New command to abort editing.
2809 * ox-html.el (org-html--build-meta-info): Add a newline before
2810 the title meta information.
2812 * org.el (org-return-follows-link): Mention that this does not
2813 affect the behavior of RET in tables.
2815 * ox-html.el (org-html--build-mathjax-config): Only include
2816 MathJax configuration if the resulting HTML contains LaTeX
2819 * org.el (org-syntax-table, org-transpose-words): Delete.
2820 (org-mode): Syntactically Define {} and <> as parentheses.
2821 (org-drag-line-forward, org-drag-line-backward):
2823 (org-shiftmetaup, org-shiftmetadown): Fall back on the new
2824 functions instead of throwing an error.
2825 (org-make-org-heading-search-string): Don't use statistic or [x/y]
2826 cookies when creating a link.
2828 * ox-html.el (org-html-table): Append #+attr_html attributes.
2830 * org.el (org-emphasis-alist, org-protecting-blocks):
2831 * org-src.el (org-edit-src-find-region-and-lang):
2832 * org-list.el (org-list-forbidden-blocks):
2833 * org-footnote.el (org-footnote-forbidden-blocks):
2834 Remove references to the deleted DocBook exporter.
2836 * org.el (org-end-of-line): Don't throw an error outside elements.
2838 * ox-html.el (org-html-link): Don't throw an error if the value
2839 of the :ID: property has not been generated by uuidgen.
2841 * org-pcomplete.el (pcomplete/org-mode/file-option/x):
2842 Resurrect. Use `org-default-options' to initialize completion
2843 fonctions for the most important keywords.
2845 * org-macs.el (org-default-options): Rename and adapt from
2846 `org-get-current-options'.
2848 * org.el (org-options-keywords): Add keywords.
2850 * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
2852 * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
2854 * ox-html.el (org-html-display-buffer-mode): New option.
2855 (org-html-export-as-html): Use it.
2857 * ob-core.el (org-babel-insert-result): Fix bug when inserting
2858 an empty string as the result.
2860 * org.el (org-timestamp-change): New optional parameter
2861 `suppress-tmp-delay' to suppress temporary delay like "--2d".
2862 (org-auto-repeat-maybe): Suppress temporary delays.
2864 * org-agenda.el (org-agenda-get-scheduled): When the delay is
2865 of the form "--2d" and there is a repeater, ignore the delay
2866 for further repeated occurrences.
2868 * org-agenda.el (org-agenda-get-deadlines)
2869 (org-agenda-get-scheduled): Minor refactoring.
2871 * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
2872 (org-edit-special): Don't allow to edit when buffer is read only.
2874 * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
2875 and `cache-dir' when `processing-type' is 'mathjax.
2876 (org-html-format-latex): Fix conversion in non-file buffers.
2878 * org.el (org-speed-commands-default): Bind `B' and `F' to
2879 `org-previous-block' and `org-next-block'.
2880 (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
2881 see today's diary as "?" is already bounded by Calendar.
2882 (org-read-date-minibuffer-local-map): Use "." to go to today's
2885 * ob-core.el (org-babel-next-src-block)
2886 (org-babel-previous-src-block): Rewrite using
2889 * org.el (org-next-block, org-previous-block): New navigation
2891 (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
2894 * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
2895 when writing to an .org file.
2897 * org.el (org-copy-subtree): New parameter `nosubtrees'.
2899 * org-agenda.el (org-agenda-write): Allow writing to an .org file.
2901 * org.el (org-paste-subtree): Fix typo in docstring.
2903 * org-agenda.el (org-agenda-get-todos)
2904 (org-agenda-get-timestamps): Use nil as `ts-date' for diary
2906 (org-agenda-get-todos): Skip diary sexps when trying to sort by
2908 (org-agenda-max-entries, org-agenda-max-todos)
2909 (org-agenda-max-tags, org-agenda-max-effort): New options.
2910 (org-timeline, org-agenda-list, org-search-view)
2911 (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
2912 what agenda type we are currently finalizing for.
2913 (org-agenda-finalize-entries): Limit the number of entries
2914 depending on the new options.
2915 (org-agenda-limit-entries): New function.
2917 * org.el (org-deadline): Allow a double universal prefix argument
2918 to insert/update a warning cookie.
2919 (org-deadline): Allow a double universal prefix argument to
2920 insert/update a delay cookie.
2922 * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
2923 New option. The structure of the possible values is copied
2924 from `org-agenda-skip-deadline-prewarning-if-scheduled'.
2925 (org-agenda-get-scheduled): Honor the two new option,
2926 `org-scheduled-delay-days' and
2927 `org-agenda-skip-deadline-prewarning-if-scheduled'. I.e. if a
2928 scheduled entry has a delay cookie like "-2d" (similar to the
2929 prewarning cookie for deadline), don't show the entry until
2932 * org.el (org-deadline-warning-days): Small docstring fix.
2933 (org-scheduled-delay-days): New option (see
2934 `org-deadline-warning-days'.)
2935 (org-get-wdays): Use the new option.
2937 * org-agenda.el (org-agenda-sorting-strategy): Document the
2938 new sorting strategies.
2939 (org-agenda-get-todos, org-agenda-get-timestamps)
2940 (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
2941 `ts-date' text property with scheduled, deadline or timetamp
2943 (org-cmp-ts): New function to compare timestamps.
2944 (org-em): Add a docstring.
2945 (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
2946 Implement the following sorting strategies: timestamp-up/down,
2947 scheduled-up/down, deadline-up/down, ts-up/down (for active
2948 timestamps) and tsia-up/down (for inactive timestamps.)
2950 * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
2952 * org.el (org-contextualize-validate-key): Check against two new
2953 context predicates [not-]in-buffer.
2955 * org-agenda.el (org-agenda-custom-commands-contexts):
2956 Document the new [not-]in-buffer context predicates.
2958 * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
2959 (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
2962 * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
2963 friends, rely on the extension of the output file.
2965 * org-archive.el (org-archive-file-header-format): New option.
2966 (org-archive-subtree): Use it.
2968 * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
2969 set the output type.
2971 * org.el (org-read-date-minibuffer-local-map): New variable.
2972 (org-read-date): Use it.
2973 (org-read-date-minibuffer-setup-hook): Mark as obsolete.
2974 (org-read-date): Bind `!' to `diary-view-entries' in order to
2975 check diary entries while setting an Org date.
2977 * org-agenda.el (org-diary): Only keep the descriptions of the
2978 links since Org links are not active in the diary buffer.
2980 * org-faces.el (org-priority): New face.
2982 * org.el (org-font-lock-add-priority-faces): Use the new face.
2984 * org-agenda.el (org-agenda-fontify-priorities): Use the
2985 org-priority face and add specific agenda face on top of it.
2987 * org-agenda.el (org-agenda-show-clocking-issues)
2988 (org-agenda-format-item): Let-bind
2989 `org-time-clocksum-use-effort-durations' to nil.
2991 * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
2992 universal prefix arguments on a list where all items are already
2993 in a transitory state. Refine the error when the checkbox cannot
2996 * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
2997 requiring any org library. Also use `load', not
2998 `org-load-noerror-mustsuffix'.
2999 (org-effort-durations): Move up to fix a compiler warning.
3000 (org-edit-special): Fix typo in docstring.
3001 (org-time-clocksum-format): Add a version tag and add to the
3003 (org-time-clocksum-use-fractional): Ditto.
3004 (org-time-clocksum-use-effort-durations): New option to allow
3005 using `org-effort-durations' when computing clocksum durations.
3006 (org-minutes-to-clocksum-string): Use the new option.
3008 * org-clock.el (org-clocktable-write-default): Let-bind
3009 `org-time-clocksum-use-effort-durations' to a new clocktable
3010 parameter ":effort-durations".
3012 * org-entities.el (org-entities): "neg" should be used in LaTeX
3013 math mode. Add the "neg" entity.
3015 * org-mobile.el (org-mobile-allpriorities): New option.
3016 (org-mobile-create-index-file): Use the new option.
3018 * org-latex.el (org-export-latex-inline-images): New option.
3020 * org.el (org-forward-heading-same-level): Before the first
3021 headline, go to the first headline.
3022 (org-backward-heading-same-level): Before the first headline,
3023 go to the beginning of the buffer, like
3024 `outline-previous-visible-heading' does.
3026 * org-exp.el (org-export-plist-vars): Don't use
3027 `org-export-html-inline-images' to set the :inline-images
3028 property, use distinct properties for the various backends.
3030 * org-publish.el (org-publish-project-alist): Ditto.
3032 * org-latex.el (org-export-latex-links): Use :latex-inline-images
3033 instead of :inline-images.
3035 * org-odt.el (org-compat): Require.
3037 * org.el (org-parse-time-string): Allow strings supported by
3038 tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3040 * org-clock.el (org-clock-rounding-minutes): New option to round
3041 the time by N minutes in the past when clocking in or out.
3042 (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3045 * org.el (org-current-time): New optional parameter
3046 `rounding-minutes' to override the use of
3047 `org-time-stamp-rounding-minutes' for rounding.
3049 * org-clock.el (org-clock-special-range): Small docstring fix.
3050 New parameter 'weekstart to define the week start day.
3051 (org-clock-special-range, org-dblock-write:clocktable)
3052 (org-dblock-write:clocktable, org-clocktable-write-default)
3053 (org-clocktable-steps, org-clock-get-table-data): Use the new
3055 (org-clocktable-defaults): Set monday as the starting day of the
3056 week by setting :wstart to 1.
3058 * org.el (org-store-link): Fix the naming of internal links to
3059 lines starting with a keyword.
3061 * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3062 (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3065 * org.el (org-last-set-property-value): New variable.
3066 (org-read-property-name): Fix dangling parentheses.
3067 (org-set-property-and-value): New command to manually set
3068 both the property and the value. A prefix arg will use the
3069 last property-value pair set without prompting the user.
3070 (org-set-property): Set `org-last-set-property-value'.
3071 (org-mode-map): Bind the new command to `C-c C-x P'.
3072 (org-find-invisible-foreground): Delete.
3073 (org-mode): Use `face-background' instead of
3074 `org-find-invisible-foreground'.
3075 (org-startup-options): New startup keywords.
3076 (org-log-into-drawer): Update docstring to explain how to set this
3077 variable through the startup keyword "logdrawer" and "nologdrawer".
3078 (org-log-states-order-reversed): Document the new startup keywords
3079 "logstatesreversed" and "nologstatesreversed".
3080 (org-mode-map): Use `org-remap' instead of binding `M-t' to
3081 `org-transpose-words' directly.
3082 (org-syntax-table): New variable.
3083 (org-transpose-words): New command, simply wrapping the new
3084 syntax table around `transpose-words'.
3085 (org-mode-map): Bind `org-transpose-words' to `M-t'.
3086 (org-store-link): Use keyword at point as the search string.
3087 Use `delq nil' instead of `delete nil'.
3088 (org-make-org-heading-search-string): Rewrite using
3089 org-element.el. Not an interactive function anymore.
3091 * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3093 * org-mobile.el (org-mobile-files-alist): Ditto.
3095 * org.el (org-store-link): When creating a link to a heading with
3096 a bracket link, don't escape this link with curly braces as the
3097 escaped link is not active anyway; use the description instead.
3098 If the headline only consists of a bracket link, add a star to the
3099 description so that the user knows this is an internal link.
3101 * org-w3m.el (org-w3m-store-link): New function.
3103 * org.el (org-store-link): Update the error message when no method
3104 is available for storing a link. Use `user-error' for this.
3105 Remove handling w3m links from this function.
3106 (org-insert-heading, org-insert-todo-heading): A double prefix arg
3107 force the insertion of the subtree at the end of the parent
3109 (org-store-link): A double prefix argument now skips module
3110 store-link functions to only use Org's core functions. Also, when
3111 several modular store-link functions match, ask for which one to
3113 (org-cycle, org-cycle-internal-global)
3114 (org-cycle-internal-local, org-display-outline-path): Let-bind
3115 `message-log-max' to nil so that messages don't populate the
3118 * org-table.el (org-table-eval-formula): Handle localized
3119 time-stamps by internally converting them to english during
3120 formulas evaluation.
3122 * org.el (org-clock-timestamps-up): Fix declarations.
3124 * ob-core.el (org-split-string): Declare function.
3126 * org-html.el (org-html-export-list-line): Add CSS classes to
3127 these list HTML tags: <ul> <dl> and <ol>.
3129 * org-clock.el (org-clock-timestamps-up)
3130 (org-clock-timestamps-down, org-clock-timestamps-change):
3131 Add an optional argument N to change timestamps by several units.
3133 * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3135 * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3136 'if-interactive and use it as the default.
3137 (org-export-push-to-kill-ring): Use the new choice.
3139 * org.el (org-block-entry-blocking): New variable.
3140 (org-todo): Use it. Also use `user-error' when a TODO state
3142 (org-block-todo-from-children-or-siblings-or-parent):
3143 Display `org-block-entry-blocking' in the user-error message.
3145 * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3146 add the time of the day.
3148 * org-capture.el (org-capture): When capturing from the agenda and
3149 with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3150 prefix will set the capture time to the HH:MM of the current line
3151 or the current HH:MM.
3153 * org-agenda.el (org-agenda-capture): New optional argument
3154 WITH-TIME: when set to 1, the capture time will be set to the
3155 HH:MM time of the current line, or the current HH:MM time.
3157 * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3159 (org-deadline-close): Use `org-time-stamp-to-now'.
3160 (org-time-stamp-to-now): Use `org-float-time' instead of the
3161 obsolete `time-to-seconds' function.
3162 (org-format-outline-path): Fix bug: add the separator string after
3164 (org-display-inline-images): Search for #+ATTR within the current
3166 (org-days-to-time): Make obsolete.
3167 (org-time-stamp-to-now): Rename from `org-days-to-time'.
3168 Allow to compare time-stamps based on seconds.
3170 * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3171 New option to compare time stamps using seconds, not days.
3172 (org-agenda-todo-custom-ignore-p)
3173 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3174 Use the new function's name and the new option.
3176 * org-clock.el (org-clock-sound): Enhance docstring.
3177 (org-notify): Use the parameter `play-sound' as argument for
3178 `org-clock-play-sound'.
3179 (org-clock-play-sound): New optional argument `clock-sound' to
3180 override `org-clock-sound'.
3182 * org-agenda.el (org-agenda-format-item): Fix initialization
3183 of the level text property.
3185 * org.el (org-format-outline-path): Small docstring
3187 (org-display-outline-path): Fix order or arguments.
3189 * org.el (org-activate-plain-links)
3190 (org-activate-bracket-links): Add a new 'htmlize-link text
3191 property, so that htmlize (> version 1.42) can linkify the
3193 (org-display-outline-path): Allow a string value for the
3194 `as-string' parameter. Such a value will replace the "/"
3195 separator in the output. New argument `as-string'.
3196 (org-refile-keep): New variable.
3197 (org-copy): New command to copy notes.
3198 (org-refile): New parameter msg to override the "Refile" string in
3200 (org-mode-map): Bind "C-c M-w" to `org-copy'.
3201 (org-refile-get-location): Use the current file name as the
3202 default target when there is no refile history.
3203 (org-cycle-hide-inline-tasks): New function to hide inline tasks
3205 (org-cycle-hook): Use the new function.
3206 (org-entry-put): Fix bug when updating the last clock.
3207 (org-use-last-clock-out-time-as-effective-time): New option.
3208 (org-current-effective-time): Use the new option.
3210 * org-clock.el (org-clock-get-last-clock-out-time):
3213 * org.el (org-toggle-inline-images): Only send a message when
3214 called interactively.
3215 (org-scan-tags): Fix the declaration and the use of
3216 `org-agenda-format-item'.
3218 * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3219 correct number of parameters for `org-agenda-format-item'.
3222 * org.el (org-outline-level): Go at the beginning of the
3223 headline first to always return a sensible result.
3225 * org-agenda.el (org-search-view, org-agenda-get-todos)
3226 (org-agenda-get-timestamps, org-agenda-get-sexps)
3227 (org-agenda-get-progress, org-agenda-get-deadlines)
3228 (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3229 correct level depending on `org-odd-levels-only'.
3230 (org-agenda-prefix-format): A new specifier `%l' allows to insert
3231 X spaces when the item is of level X.
3232 (org-search-view, org-get-entries-from-diary)
3233 (org-agenda-get-todos, org-agenda-get-timestamps)
3234 (org-agenda-get-sexps, org-agenda-get-progress)
3235 (org-agenda-get-deadlines, org-agenda-get-scheduled)
3236 (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3237 new text property 'level, a string with as many whitespaces as
3238 the level of the item.
3239 (org-agenda-format-item, org-compile-prefix-format):
3240 Handle the new `%l' specifier.
3242 * org-colview.el (org-columns-next-allowed-value): Add the
3243 CLOCKSUM property to the list of properties that can be
3244 changed interactively from the column view.
3246 * org.el (org-entry-put): Allow to set the CLOCKSUM property
3247 by updating the most recent clock. This is useful in the
3248 column view when you want to use S-<left/right> to update the
3249 last clock of the entry at point.
3250 (org-image-actual-width): New choice: use #+ATTR* or fall back on
3252 (org-display-inline-images): Implement the new choice.
3253 (org-image-actual-width): Rename from `org-image-fixed-width'.
3254 Update the docstring. Give more choice.
3255 (org-display-inline-images): Use the option new choices.
3256 (org-image-fixed-width): New option to set a fixed width for
3258 (org-display-inline-images): Use the new option.
3260 * org-agenda.el (org-class): Allow to use holiday strings for
3261 the `skip-weeks' arguments.
3263 * org.el (org-mode): Set the syntax of the " character to "string
3266 * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3267 check whether we are in `org-agenda-mode'.
3268 (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3269 agendas and non-custom commands.
3271 2013-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3273 * org-src.el (org-edit-src-exit): Let overlay survive after the
3274 buffer has been saved.
3276 * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3278 (org-texinfo-export-to-info): Use new style backquoting.
3280 * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3281 instead of `file-base-name'.
3283 * org.el (org-insert-heading): Improve whitespace behavior at
3285 (org-latex-default-packages-alist): Add the `rotating' package to
3286 the list of default packages. Improve docstring.
3287 (org-insert-property-drawer): Insert only after space in current
3289 (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3291 (org-special-ctrl-o): New option.
3292 (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3295 * org-agenda.el (org-agenda-custom-commands-local-options):
3296 (org-agenda-span, org-agenda-ndays-to-span)
3297 (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3298 (org-agenda-change-time-span, org-agenda-compute-starting-span):
3299 Add support for fortnight view.
3300 (org-agenda-menu): Add fortnight view command.
3301 (org-agenda-fortnight-view): New command.
3303 * org-timer.el (org-clock-sound): Silence compiler.
3305 * org.el (org-beginning-of-line, org-end-of-line):
3306 Bind deactivate-mark to avoid that this command deactivates it.
3307 (org-make-tags-matcher): Do not interpret / in property value as
3308 starter of TODO match.
3309 (org-overview): Preserve point.
3310 (org-read-date-minibuffer-local-map): Don't replace disputed keys
3311 when defining this keymap.
3312 (org-read-date): Remove unnecessary binding of
3313 `org-replace-disputed-keys'.
3314 (org-insert-heading): Allow to remove blank lines if the user does
3316 (org-unlogged-message): Fix typo in dostring.
3318 * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3319 `org-babel-ruby-nil-to'
3320 (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3321 (org-babel-ruby-table-or-string): Convert outgoing nils.
3323 * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3324 files where available.
3326 * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3328 * org.el (org-unlogged-message): New function.
3329 (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3330 (org-global-cycle, org-display-outline-path):
3331 Use `org-unlogged-message'.
3333 * org-pcomplete.el (org-make-org-heading-search-string):
3334 Fix function declaration.
3335 (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3336 to `org-make-org-heading-search-string'.
3338 * org.el (org-read-date): Turn off replacing disputed keys when
3339 defining the minibuffer keys during date selection.
3340 (org-insert-heading): Improve the empty line insertion behavior.
3341 Basically, never remove empty lines, only add them.
3343 * org-attach.el (org-attach-commit): Use vc-git to find the git
3346 * org-compat.el (org-move-to-column): Turn off invisibility stuff
3347 for moving the cursor to a column.
3349 * org.el (org-modules): Update with the new module org-mac-link.
3350 (org-display-outline-path): Do not log outline path in Message
3352 (org-agenda-ignore-drawer-properties): New option.
3353 (org-agenda-prepare-buffers):
3354 Honour `org-agenda-ignore-drawer-properties'.
3356 * org-clock.el (org-clock-goto): Recenter to thrd line
3358 * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
3359 between keywords in RECEIVE ORGTBL lines.
3361 * org.el (org-bookmark-names-plist): New user option.
3362 (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
3363 (org-refile): Use `org-bookmark-names-plist'.
3365 * org-capture.el (org-capture-bookmark-last-stored-position):
3366 Use `org-bookmark-names-plist'.
3368 * org.el (org-insert-heading): Rewritten from scratch.
3369 (org-N-empty-lines-before-current): New function
3370 (org-insert-heading-respect-content): Set the correct argument to
3371 force a heading even in lists.
3373 * org-colview.el (org-columns-display-here): Enforce fixed width
3376 * org-faces.el (org-column): Setting font width has been shifted
3379 * org.el (org-mode-flyspell-verify): Check for src block.
3381 * org-table.el (org-table-convert-region): Fix interactive
3384 * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
3386 * org.el (org-beginning-of-line, org-end-of-line):
3387 Set disable-point-adjustment when the command ends next to invisible
3390 * ob-lob.el (org-babel-lob-files): Fix custom type.
3392 * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
3393 (org-agenda-inactive-leader, org-agenda-day-face-function)
3394 (org-agenda-auto-exclude-function): Fix custom type.
3396 * org-bibtex.el (org-bibtex-prefix): Fix custom type.
3398 * org-clock.el (org-clock-heading-function):
3399 (org-show-notification-handler): Fix custom type.
3401 * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
3403 * org-protocol.el (org-protocol-default-template-key): Fix custom
3406 * org.el (org-make-link-description-function):
3407 (org-link-translation-function):
3408 (org-link-frame-setup):
3409 (org-refile-target-verify-function):
3410 (org-get-priority-function):
3411 (org-use-fast-tag-selection):
3412 (org-columns-modify-value-for-display-function):
3413 (org-sparse-tree-default-date-type):
3414 * ox-html.el (org-html-postamble):
3415 (org-html-postamble-format):
3416 (org-html-preamble-format):
3417 * ox-odt.el (org-odt-content-template-file):
3418 * ox.el (org-export-with-archived-trees):
3419 (org-export-initial-scope): Fix custom type.
3421 * org.el (org-insert-heading): Fix problem with inserting heading.
3422 Check for checkbox at the beginning of the item, not just at the
3423 beginning of the line.
3424 (org-small-year-to-year): Fix docstring typo.
3425 (org-show-siblings): By default, also show siblings from a
3428 * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
3429 the headline when agenda is restricted to a subtree. Do not
3430 highlight the entire subtree.
3432 * org-table.el (org-table-eval-formula): Work-around for calc-eval
3435 * ox.el (org-export-dispatch): Make sure the last position marker
3436 uses the base buffer if there is one.
3437 (org-export-dispatch-last-position): New variable.
3438 (org-export-dispatch): Save position of cursor at the moment when
3439 the export command is called. Restore that position temporarily
3440 when repeating the previous export command.
3442 * org.el (org-insert-heading): Shrink whitespace at end of subtree
3443 when `org-insert-heading-respect-content' is on.
3445 * org-list.el (org-sort-list): Respect sorting-type and
3446 getkey-func when they are specified in the call.
3448 * org.el (org-sort-entries): Respect sorting-type and getkey-func
3449 when they are specified in the call.
3450 (org-format-outline-path): New argument SEPARATOR to specify a
3451 string that is inserted between parts of the outline path.
3452 (org-display-outline-path): New argument SEPARATOR, to specify a
3453 string that is inserted between parts of the outline path.
3455 * org-colview.el (org-dblock-write:columnview): Change the capture
3456 of pos to after inserting the original content
3458 2013-11-12 Christian Moe <mail@christianmoe.com>
3460 * ox-odt.el (org-odt-line-break, org-odt-plain-text):
3461 Remove newline after line-break tag.
3463 2013-11-12 Christophe Junke <christophe.junke@inria.fr> (tiny change)
3465 * org.el (org-set-font-lock-defaults): Let footnote fontifications
3466 be done before other links' fontification. This allows links
3467 appearing inside footnotes to be both visible and active.
3469 2013-11-12 Christopher Schmidt <christopher@ch.ristopher.com>
3471 * org.el (orgstruct-setup): Major rewrite.
3472 (orgstruct++-mode): Overwrite local non-org vars again.
3473 (orgstruct-mode): Simplify implementation. Emulate outline's
3474 buffer-invisiblity-spec.
3475 (orgstruct-heading-prefix-regexp): Change default value to nil.
3476 (orgstruct-error): Use `user-error' if available.
3477 {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
3478 non-nil. Always use `org-outline-level'. Bind org-shift*.
3479 (orgstruct-make-binding): Major rewrite.
3480 (org-cycle-global-status, org-cycle-subtree-status): Set state
3482 (org-heading-components): Use `org-heading-regexp' in
3484 (orgstruct-heading-prefix-regexp, orgstruct-setup-hook):
3486 (orgstruct-initialized): New variable.
3487 (org-get-local-variables): Honour state property.
3488 (org-run-like-in-org-mode): Use `let' instead of `progv'. Do not
3489 override variables with non-default values.
3490 (org-forward-heading-same-level): Do not skip to headlines on
3491 another level. Handle negative prefix argument correctly.
3492 (org-backward-heading-same-level):
3493 Use `org-forward-heading-same-level'.
3495 2013-11-12 Craig Tanis <craig-tanis@utc.edu> (tiny change)
3497 * ox-latex.el (org-latex-src-block): Change format string to position
3498 caption after figure content.
3500 2013-11-12 Eric Abrahamsen <eric@ericabrahamsen.net>
3502 * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
3503 no-op. If that link is in a headline, act as if the `C-c C-c' was
3504 called on the headline, not the link.
3506 * ox-html.el (org-html-doctype-alist): New variable holding an
3507 alist of (X)HTML doctypes
3508 (org-html-xhtml-p, org-html-html5-p, org-html-close-tag):
3510 (org-html-html5-fancy): New export option, determining whether or
3511 not to use HTML5-specific elements.
3512 (org-html-html5-elements): New variable, new HTML5 elements.
3513 (org-html-special-block): Export special blocks to new HTML5
3515 (org-html-format-inline-image): Use <figure> and <figcaption> for
3517 (org-html-format-inline-image, org-html--build-meta-info)
3518 (org-html--build-head, org-html--build-pre/postable)
3519 (org-html-template, org-html-horizontal-rule)
3520 (org-html-format-list-item, org-html-line-break, org-html-table)
3521 (org-html-verse-block): Changes to allow flavored export.
3523 * ox-latex.el (org-latex--org-table, org-latex-table-row):
3524 Allow use of the "tabu" and "longtabu" table environments. New table
3525 attribute :spread handles the width specification syntax of "tabu"
3526 and "longtabu" table environments.
3528 2013-11-12 Eric Schulte <eric.schulte@gmx.com>
3530 * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
3532 (org-bibtex-read-file): Read all bibtex entries in a file.
3533 (org-bibtex-import-from-file): Import all bibtex entries from a
3534 file into the current buffer.
3536 * ob-tangle.el (org-babel-load-file): When called with a prefix
3537 argument the tangled emacs-lisp file will be byte compiled.
3539 * ob-tangle.el (org-babel-tangle): Tangled files should not be
3542 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
3543 when to fully escape the results or just print them close to
3546 * ob.el (org-babel-result-cond): This function should now be used
3547 by all language backends to handle the processing of raw code
3548 block output into scalar results, table results, or ignored
3549 results depending on the value of result-params.
3551 * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
3553 * ob-R.el (org-babel-R-evaluate-external-process)
3554 (org-babel-R-evaluate-session):
3555 * ob-awk.el (org-babel-execute:awk):
3556 * ob-clojure.el (org-babel-execute:clojure):
3557 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
3558 * ob-fortran.el (org-babel-execute:fortran):
3559 * ob-io.el (org-babel-io-evaluate):
3560 * ob-java.el (org-babel-execute:java):
3561 * ob-lisp.el (org-babel-execute:lisp):
3562 * ob-maxima.el (org-babel-execute:maxima):
3563 * ob-picolisp.el (org-babel-execute:picolisp):
3564 * ob-python.el (org-babel-python-evaluate-external-process):
3565 (org-babel-python-evaluate-session):
3566 * ob-scala.el (org-babel-scala-evaluate):
3567 * ob-sh.el (org-babel-sh-evaluate):
3568 * ob-shen.el (org-babel-execute:shen):
3569 * ob-sql.el (org-babel-execute:sql):
3570 * ob-sqlite.el (org-babel-execute:sqlite):
3571 Use `org-babel-result-cond'.
3573 * ob.el (org-babel-common-header-args-w-values): Add a new "none"
3575 (org-babel-execute-src-block): Don't do *any* result processing if
3576 the "none" header argument has been specified.
3577 (org-babel-sha1-hash): Remove the none header argument from header
3578 arg lists when calculating cache sums.
3579 (org-babel-insert-result): Flesh out some documentation.
3581 * ob.el (org-babel-insert-result): Don't escape results in
3584 * ob-python.el (org-babel-python-hline-to): Customize hline
3585 conversion to python.
3586 (org-babel-python-None-to): Customize none conversion from python.
3587 (org-babel-python-var-to-python): Use new variable.
3588 (org-babel-python-table-or-string): Use new variable.
3590 * org.el (org-babel-load-languages): Add ob-makefile to
3591 `org-babel-load-languages'.
3593 * ob-makefile.el: New file.
3595 * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
3597 * org.el (org-format-latex): Simplify and now make use of the new
3598 `org-create-formula-image' function.
3599 (org-create-formula-image): Provides a simpler interface to the
3600 two backend-specific functions.
3602 * ob-core.el (org-babel-default-header-args): It is likely that
3603 someone meant to set :padlines to "yes", but accidentally set
3604 :padnewlines to "yes". Either way lets just remove this which
3605 shouldn't have any functional effect.
3607 * ob-haskell.el (org-babel-default-header-args:haskell):
3608 Set :padlines to "no" by default.
3610 * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
3611 source block on #+ prefixed lines.
3613 * ob-core.el (org-babel-merge-params): Replace `remove-if' with
3614 `org-remove-if'. More careful to check that the colname- and
3615 rowname-names header arguments exist during merge. When merging
3616 parameters, if a variable is replaced with a new value, then
3617 delete colnames/rownames for the original value of that variable.
3619 * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
3620 configurable for ditaa blocks.
3622 * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
3623 dealing with list variables.
3625 * ob-core.el (org-babel-demarcate-block):
3626 Include `org-src-lang-modes' in block demarcation options.
3628 * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
3631 * ob-latex.el (org-babel-latex-htlatex): Set this variable to
3632 "htlatex" (or path to said) to enable svg generation from latex
3634 (org-babel-latex-htlatex-packages): Libraries required for
3635 automatic svg generation.
3636 (org-babel-execute:latex): Generate SVG images directly from latex
3637 code blocks (assumes tikz).
3639 * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
3642 * ob-scheme.el (org-babel-scheme-get-repl)
3643 (org-babel-scheme-make-session-name)
3644 (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
3645 Fix whitespace and indentation.
3647 * ob-core.el (org-babel-set-current-result-hash): Update the
3648 match-string holding the hash data, and correct overlay
3650 (org-babel-find-named-result): Call lines are not results.
3651 (org-babel-where-is-src-block-result): Don't implicitly name the
3652 results of call lines.
3653 (org-babel-exp-non-block-elements): There is now another element
3654 on the call line info list.
3656 * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
3657 the end of the info list.
3658 (org-babel-lob-execute): Pass the name through to execution.
3660 * ob-core.el (org-babel-execute-src-block): Ensure that the
3661 location is set before anything else is done.
3663 * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
3664 header arguments at the location of the original code block.
3666 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
3669 * ob-core.el (org-babel-common-header-args-w-values): Mention new
3671 (org-babel-expand-body:generic): Use new header arguments.
3672 (org-babel-read-result): More robust matching of examplized
3674 (org-babel-result-end): More robust matching of examplized ranges.
3676 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
3677 output terminal when opened.
3678 (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
3680 (org-babel-expand-body:gnuplot): Customization variable prefix
3681 gnuplot code blocks.
3683 * ob-core.el (org-babel-params-from-properties): Now returns a
3684 list of alists and does *not* call `org-babel-merge-params'.
3685 (org-babel-parse-src-block-match):
3686 (org-babel-parse-inline-src-block-match):
3687 * ob-exp.el (org-babel-exp-src-block):
3688 (org-babel-exp-non-block-elements):
3689 * ob-lob.el (org-babel-lob-execute): Handle new list of lists
3690 output of `org-babel-params-from-properties'.
3692 * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
3695 * ob-tangle.el (org-babel-tangle): Fix bug in tangle-file.
3696 Collect tangle modes, and only apply them to the file after all
3697 tangling has completed, including the post-tangle-hook.
3699 * ob-core.el (org-babel-read): Do not read #-prefix header-arg
3700 value as emacs lisp.
3702 * ob-core.el (org-babel-current-src-block-location):
3703 (org-babel-execute-src-block):
3704 * ob-exp.el (org-babel-exp-results):
3705 * ob-lob.el (org-babel-lob-execute):
3706 Rename `org-babel-current-exec-src-block-head' to
3707 `org-babel-current-src-block-location'.
3709 * ob-core.el (org-babel-common-header-args-w-values): Adding the
3710 new :tangle-mode header argument.
3711 (org-babel-read): Read values starting with a "#" character as
3714 * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
3717 * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
3718 new :tangle-mode header argument.
3720 * ob-exp.el (org-babel-exp-results): Save the code block location
3721 into `org-babel-current-exec-src-block-head' during export.
3723 * ob-comint.el (org-babel-comint-with-output): More robust edebug
3726 * ob-lob.el (org-babel-lob-execute): Set the
3727 `org-babel-current-exec-src-block-head' variable when executing
3728 inline or lob style code.
3730 * ob-core.el (org-babel-execute-src-block):
3731 The `org-babel-current-exec-src-block-head' variable should point to
3732 the outermost code block.
3734 * org.el (org-some): An org-mode version of the cl some function.
3736 * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
3737 check if values are matrices.
3739 * org.el (org-every): An Org-mode version of the cl every
3742 * ob-tangle.el (org-babel-tangle-jump-to-org):
3743 Use `org-src-switch-to-buffer' to jump from src to org. Use the
3744 existing `org-edit-src' functionality to jump back to the correct
3745 point in the code block in the original Org-mode buffer.
3747 * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
3748 gnuplot data values in " when necessary. Replace missing values
3749 with blank space in gnuplot.
3750 (org-babel-expand-body:gnuplot):
3751 (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
3752 (org-babel-header-args:gnuplot): Declare the.
3753 (org-babel-expand-body:gnuplot): Params is an alist not a plist.
3754 (org-babel-header-args:gnuplot): Declare gnuplot-specific header
3756 (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
3757 value of the missing header argument.
3758 (org-babel-gnuplot-process-vars): Wrap in local binding for
3760 (org-babel-gnuplot-quote-tsv-field): Replace missing value with
3761 the missing header argument value when present.
3763 * ob-org.el (org-babel-expand-body:org): Allow insertion of
3764 non-strings into Org code blocks.
3765 (org-babel-inline-result-wrap): New option controlling the
3766 wrapping of inline results.
3767 (org-babel-examplize-region): Use the new defcustom.
3769 * ox-beamer.el (org-beamer--format-frame): If contents is nil,
3770 then replace it with an empty string.
3772 * ob-core.el (org-babel-read): More restrictive elisp eval of
3775 * ob-lob.el (org-babel-lob-execute): Include default elisp header
3778 * ob-core.el (org-babel-result-cond): Don't over-evaluate
3779 result-params in macro.
3781 * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
3782 in Ruby code blocks.
3783 (org-babel-ruby-evaluate): Delay table processing.
3785 * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
3786 JavaScript code blocks.
3788 * ob-scheme.el (org-babel-execute:scheme):
3789 Use `org-babel-result-cond' in scheme code blocks.
3791 * ob-ocaml.el (org-babel-execute:ocaml):
3792 Use `org-babel-result-cond' in OCaml code blocks.
3794 * ob-haskell.el (org-babel-execute:haskell):
3795 Use `org-babel-result-cond' in Haskell code blocks.
3797 * ob-core.el (org-babel-result-cond): The "raw", "org" and
3798 "drawer" :results header argument values preclude table processing
3799 unless the "table" argument is given as well.
3800 (org-babel-execute-src-block): Make sure we process file results
3801 before they are passed to the post-processing code block, and not
3802 afterwards. Tangles these two header arguments in the code, but
3803 makes for more intuitive behavior and enables important use cases.
3804 (org-babel-read): Read code block values with earmuffs as Emacs
3806 (org-babel-common-header-args-w-values): Add :post to the list of
3808 (org-babel-execute-src-block): Post process results when the :post
3809 header argument has been supplied.
3811 * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
3812 save-excursion nested inside a save-window-excursion.
3814 * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
3815 used to match code block names.
3816 (org-babel-get-src-block-info): Remove the code used to parse this
3817 alternate variable specification syntax.
3818 (org-babel-insert-result): Cycle tables for :results org and
3821 * ob-python.el (org-babel-python-initiate-session-by-key): Fix a
3822 bug pointed out by Gary Oberbrunner.
3823 (org-babel-python-initiate-session-by-key): Add "-i" to the python
3824 command on windows sessions. Actually setting new session names.
3825 Pass Python buffer names to the new `run-python' command.
3826 (org-babel-python-with-earmufs): Add earmufs to a buffer name.
3827 (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
3828 (org-babel-python-initiate-session-by-key): Set the buffer name in
3829 a way which is understandable by the new python.el
3830 (org-babel-python-buffers): Change the default python buffer name.
3832 * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
3835 * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
3836 with a format string.
3838 * ob-core.el (org-babel-where-is-src-block-result): Allow comments
3839 between code blocks and un-named results.
3841 * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
3842 sqlite output as lisp.
3844 * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
3845 (org-babel-confirm-evaluate): Fix whitespaces.
3846 (org-babel-execute-src-block): A cond makes it more clear that we
3847 definitely do not execute without user confirmation.
3848 (org-babel-call-process-region-original): Fix line over 80 chars
3851 * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
3852 to reflect changed variable name.
3854 * ob-core.el (org-babel-expand-src-block): Return value of
3855 expanded code block on non-interactive calls.
3857 * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
3858 variables in perl code.
3859 (org-babel-perl-var-to-perl): Use said wrapper.
3861 * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
3862 command instead of shell-command.
3864 * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
3865 `tuareg-run-caml' is defined before use.
3866 (tuareg-run-ocaml): Declare for compiler.
3868 * ob-core.el (org-babel-result-regexp): Simplify regexp given new
3870 (org-babel-current-result-hash): New match string.
3871 (org-babel-hide-hash): New match string.
3872 (org-babel-where-is-src-block-result): New match string, and
3873 insert hashes in the new format.
3875 * ob-core.el (org-ts-regexp): Declare.
3876 (org-babel-result-regexp): Now matching time stamp as well.
3877 (org-babel-hash-show-time): New variable controlling the display
3879 (org-babel-current-result-hash):
3880 (org-babel-hide-all-hashes):
3881 (org-babel-where-is-src-block-result): Use hash time stamps.
3883 * ob-core.el: New file.
3885 * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
3887 2013-11-12 Feng Shu <tumashu@gmail.com>
3889 * ox-odt.el (org-odt--translate-latex-fragments):
3890 * ox-html.el (org-html-latex-environment)
3891 (org-html-latex-fragment): Fix imagemagick support.
3893 * org.el (org-create-formula-image-with-imagemagick):
3894 Generate correct size formula image.
3895 (org-format-latex-header): Change pagestyle command position.
3897 * ox-latex.el (org-latex--caption/label-string): Allow to build a
3898 caption string from `:caption' attribute of #+ATTR_LATEX.
3900 * ox.el (org-export-dictionary): Add Simplified Chinese
3901 translations for `org-export-dictionary'.
3903 2013-11-12 Florian Beck <fb@miszellen.de> (tiny change)
3905 * org.el (org-activate-bracket-links): Remove escapes from the
3908 2013-11-12 Francesco Pizzolante <xxx@public.gmane.org> (tiny change)
3910 * ox-html.el (org-html-headline): Normalize the construction of
3911 outline-container DIVs by always using the inner headline ID.
3913 * org.el (org-agenda-prepare-buffers): Protect with
3916 2013-11-12 Gregor Kappler <gregor@alcedo.(none)> (tiny change)
3918 * ox.el (org-export-as): Make sure org-export-babel-evaluate is
3919 not nil before calling `org-export-execute-babel-code'.
3921 2013-11-12 Grégoire Jadi <gregoire.jadi@gmail.com>
3923 * org.el (org-reftex-citation): Fix contrib package name in the
3925 (org-preview-latex-fragment, org-display-inline-images):
3926 Detect whether a graphic display is available before inlining images to
3928 (org-startup-with-latex-preview): New option.
3929 (org-startup-options): New startup keywords for the new option.
3930 (org-mode): Turn on/off LaTeX preview depending on the new option.
3931 (org-reverse-string): Add `org-reverse-string' to reverse a
3934 * org-id.el (org-id-new, org-id-decode):
3935 Replace `org-id-reverse-string' by `org-reverse-string'.
3937 * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
3938 by `org-reverse-string' and declare it.
3940 2013-11-12 Gustav Wikström <gustav.erik@gmail.com> (tiny change)
3942 * org-agenda.el (org-agenda-filter-by-category): Display all
3943 filtered out categories.
3945 2013-11-12 Ilya Zonov <izonov@gmail.com> (tiny change)
3947 * org-mouse.el (org-mouse-context-menu): Add a correct newtext
3948 parameter for "All Set" and "All Clear" menu items.
3950 2013-11-12 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
3952 * org.el (org-insert-todo-heading-respect-content): Pass correct
3953 prefix arg to always insert heading.
3956 (org-agenda-propertize-selected-todo-keywords): New function to
3957 highlight the current agenda todo keywords depending on
3958 `org-todo-keyword-faces'.
3959 (org-todo-list): Use the new function.
3961 2013-11-12 Ippei FURUHASHI <top.tuna+orgmode@gmail.com>
3963 * org-table.el (org-calc-current-TBLFM): New function to
3964 re-calculate the table by applying the #+TBLFM in the line where
3965 the point is. Ensure to remove the currently inserted TBLFM line,
3966 when calling `org-table-recalculate' returns an error and the
3969 * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
3970 point is in the #+TBLFM line.
3972 * org-table.el (org-TBLFM-begin): New function.
3973 (org-TBLFM-begin-regexp): New variable.
3975 * org.el (org-at-TBLFM-p): New function.
3976 (org-TBLFM-regexp): New defconst.
3978 2013-11-12 Ivan Vilata i Balaguer <ivan@selidor.net> (tiny change)
3980 * org-clock.el (org-clock-get-table-data): Pass tstart and tend
3981 time strings through `org-matcher-time' to allow relative times
3982 besides absolute ones, convert result to encoded time.
3984 2013-11-12 Jambunathan K <kjambunathan@gmail.com>
3986 * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
3987 (org-html--tags, org-html-format-headline)
3988 (org-html--format-toc-headline, org-html-checkbox)
3989 (org-html-table-cell, org-html-timestamp)
3990 (org-html-verse-block, org-html-special-string-regexps): Replace
3991 named HTML entities with their numeric counterparts. This keeps
3992 Freemind backend happy.
3994 * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
3995 change in rnc file names.
3997 * org-lparse.el (org-lparse-and-open)
3998 (org-lparse-do-convert): Open exported files with system-specific
4001 * org-odt.el: Don't meddle with `org-file-apps'.
4003 2013-11-12 Jarmo Hurri <jarmo.hurri@syk.fi>
4005 * org-table.el (org-define-lookup-function): New macro. Call it
4006 to generate new lookup functions `org-lookup-first',
4007 `org-lookup-last' and `org-lookup-all'.
4009 * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4011 (org-gnus-no-new-news): Use the new option.
4013 2013-11-12 Jonas Hoersch <coroa@online.de> (tiny change)
4015 * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4016 switching to 'children visibility state.
4018 * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4019 `org-show-entry' as it cannot unfold an inlinetask properly.
4021 2013-11-12 Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
4023 * ox-texinfo.el: New file.
4025 2013-11-12 Joost Diepenmaat <joost@zeekat.nl> (tiny change)
4027 * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4028 not be considered part of the source block for the purposes of
4031 2013-11-12 Justus Piater <justus-dev@piater.name>
4034 (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4035 to skip the deadline prewarning if the scheduled date is in the
4038 2013-11-12 Kodi Arfer <git@arfer.net> (tiny change)
4040 * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4041 root element when appropriate.
4042 (org-html-paragraph): Wrap "Figure %d:" in <span
4043 class="figure-number">.
4044 (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4045 <span class="table-number">.
4046 (org-html-list-of-listings): Wrap "Listing %d:" in
4047 <span class="listing-number">.
4048 (org-html-table): For HTML5, omit :html-table-attributes but not
4050 (org-html--build-meta-info): Insert no timestamp when
4051 :time-stamp-file is nil.
4053 2013-11-12 Lawrence Mitchell <wence@gmx.li>
4055 * ox-html.el (org-html-close-tag): Add space before attr.
4057 * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4058 cache before trying to resolve it in the parse tree.
4060 2013-11-12 Le Wang <le.wang@agworld.com.au>
4062 * org-src.el (org-edit-src-code): Use marker with insertion type t
4063 to track end and remove hack requiring delete from beg to (1-
4066 2013-11-12 Max Mikhanosha <max@openchat.com>
4068 * org-habit.el (org-habit-get-faces): Add show done days green
4071 * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4074 2013-11-12 Michael Brand <michael.ch.brand@gmail.com>
4076 * org-table.el (org-table-eval-formula): Align the arrow pointing
4077 to the error in a Calc formula to the other fomula debugger logs.
4079 * org.el (org-link-escape-chars-browser): Add char double quote.
4080 (org-open-at-point): Use the constant
4081 `org-link-escape-chars-browser'.
4083 * org-table.el (org-table-get-remote-range): Extend regexp to
4084 match "#+NAME: table" additionally to "#+TBLNAME: table".
4086 * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4087 places. Keep empty fields during preprocessing.
4088 (org-table-make-reference): Use nan (not a number) for empty
4089 fields in Calc formulas. A range with only empty fields should
4090 not always return 0 but also empty string, consistent with field
4091 reference of an empty field. Use future design for nan but
4092 replicate current behavior.
4093 (org-table-number-regexp): Extend 0x hex to fixed-point number,
4094 add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4097 2013-11-12 Muchenxuan Tong <demon386@gmail.com> (tiny change)
4099 * org-mobile.el (org-mobile-push): Add `save-restriction'.
4101 2013-11-12 Nicolas Goaziou <n.goaziou@gmail.com>
4103 * ox-latex.el (org-latex-compile): Remove all numbered temporary
4104 files after compiling.
4106 * org-element.el (org-element-headline-interpreter): Take into
4107 consideration `org-odd-levels-only' when building a headline.
4109 * ox-org.el (org-org-headline): Correctly set transcoded headline
4110 level during subtree export.
4112 * ox-html.el (org-html--format-toc-headline): TOC entries are
4113 closer to regular headline formatting.
4115 * org-element.el (org-element-context): Fix error when parsing
4116 affiliated keywords, e.g. "caption".
4118 * org.el (org-do-emphasis-faces): Look for verbatim status at
4120 (org-open-at-point): Check if link is non-nil before matching it.
4121 (org-export-insert-default-template): Make sure strings are
4122 properly quoted when inserting a template. Specifically, default
4123 value for drawers should be d:(not "LOGBOOK"), not d:(not
4125 (org-insert-heading): Do not error out when inserting is to be
4126 done at one of the buffer's boundaries.
4128 * ox-latex.el (org-latex-listings-options): Use correct number of
4129 backslash characters in the example.
4131 * org-element.el (org-element-latex-or-entity-successor)
4132 (org-element-latex-fragment-parser): Use `org-latex-regexps'
4133 instead of `org-format-latex-options'.
4139 * ox-md.el: Remove comments at the beginning of the file since
4140 the library is documented in Org manual.
4142 * org-element.el (org-element--list-struct):
4143 Use `org-match-string-no-properties'. Fix block parsing in lists.
4145 * ox-publish.el (org-publish-all): Fix compilation problem.
4147 * org-element.el (org-element-timestamp-interpreter):
4148 Correctly interpret timestamps with delays.
4149 (org-element-timestamp-parser)
4150 (org-element-timestamp-interpreter): Parse warning delays.
4152 * ox-beamer.el (org-beamer--format-section): Fix regression which
4153 prevents frames from being propely exported.
4155 * ox.el (org-export-with-backend): Ensure function will use
4158 * org-list.el (org-list-allow-alphabetical): Remove reference to
4161 * ox-beamer.el (org-beamer--format-section): Protect fragile
4162 commands in sections.
4164 * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4165 point on a link, make sure checkbox, if any, is toggled.
4167 * ox-beamer.el (org-beamer--format-block): Return an error message
4168 when using a special environment as a block type. Also check for
4169 incomplete environment definitions.
4171 * org-element.el (org-element-at-point): If point is at the end of
4172 the buffer, and that buffer ends with a list, and there's no final
4173 newline, return last element in last item instead of plain list.
4174 Fix infloop when called on a blank line at the end of the buffer
4177 * org.el (org-forward-paragraph, org-backward-paragraph):
4180 * org.el (org-meta-return): Allow M-RET to insert items within
4181 drawers. Rewrite function.
4183 * org-element.el (org-element-footnote-definition-parser):
4184 Fix value for :contents-begin when first line of footnote definition
4185 is empty besides the label.
4186 (org-element-at-point): Return correct element when point is on a
4187 blank line just below a headline.
4188 (org-element-paragraph-parser):
4189 Use `org-match-string-no-properties'. Small fixes to paragraph
4192 * org.el (org-adaptive-fill-function): Do not handle
4193 `adaptive-fill-regexp' in comments as the behavior is not
4196 * org-list.el (org-list-struct-apply-struct): Do not move item's
4197 contents within a child above when repairing indentation.
4199 * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4200 when properties are present.
4202 * ox.el (org-export-collect-headlines): Do not build TOC for
4203 headlines below H value.
4205 * org-element.el (org-element-context): Modify misleading
4207 (org-element-text-markup-successor)
4208 (org-element-latex-or-entity-successor)
4209 (org-element-export-snippet-successor)
4210 (org-element-footnote-reference-successor)
4211 (org-element-inline-babel-call-successor)
4212 (org-element-inline-src-block-successor)
4213 (org-element-line-break-successor, org-element-link-successor)
4214 (org-element-plain-link-successor, org-element-macro-successor)
4215 (org-element-radio-target-successor)
4216 (org-element-statistics-cookie-successor)
4217 (org-element-sub/superscript-successor)
4218 (org-element-table-cell-successor, org-element-target-successor)
4219 (org-element-timestamp-successor): Remove LIMIT argument.
4220 (org-element--parse-objects, org-element--get-next-object-candidates):
4221 Apply signature change to successors.
4222 (org-element-context): Narrow buffer around object containers so
4223 parsing of objects when using this function is done under the same
4224 restrictions as in buffer parsing.
4226 * ox.el (org-export-table-cell-alignment): Ensure required
4227 variables are available. Use correct :test.
4228 (org-export-table-cell-width): Modify key (now an element) and
4229 value structure (now a vector) of cache so it can use `eq' as
4230 test. Elements are circular lists so `equal' cannot apply on them.
4232 * ox-publish.el (project-plist): Remove variable.
4234 * ox.el (org-export-to-buffer, org-export-to-file):
4237 * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4238 which is always nil in this back-end.
4240 * org.el (org-adaptive-fill-function): Look for a fill prefix at
4241 the beginning of the paragraph and subsquently on its second line
4242 instead of the current line.
4244 * ob-core.el (org-babel-get-src-block-info): Look for indentation
4245 value at the correct location.
4247 * ox.el (org-export-data-with-backend): Set temporary back-end as
4248 the new back-end in local communication channel.
4249 (org-export-filter-apply-functions): Handle corner case where
4250 back-end is nil. Only provide back-end name (a symbol) as second
4251 argument of filters, not the full back-end (a vector).
4253 * ox-publish.el (org-publish-find-title): Fix title when no
4254 #+TITLE property is provided.
4256 * ox.el (org-export-store-default-title): Remove-function.
4257 (org-export--default-title): Remove variable.
4258 (org-export-options-alist): Do not use a default value.
4259 (org-export--get-buffer-attributes): Store a default title.
4260 (org-export-as): Apply function removal.
4261 (org-export--get-global-options): Do not set a property with an
4262 explicitly nil value.
4264 * ox-publish.el (org-publish-sitemap-sort-files)
4265 (org-publish-sitemap-sort-folders)
4266 (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4267 (org-publish-sitemap-date-format)
4268 (org-publish-sitemap-file-entry-format): Set prefix to
4269 "org-publish-sitemap" instead of "org-sitemap".
4270 (org-publish-compare-directory-files)
4271 (org-publish-get-base-files-1, org-publish-projects)
4272 (org-publish-format-file-entry): Use new prefix.
4274 * org-clock.el (org-clock-total-time-cell-format)
4275 (org-clock-file-time-cell-format): Use correct type.
4278 * ox-ascii.el (org-ascii-export-as-ascii)
4279 (org-ascii-export-to-ascii):
4280 * ox-beamer.el (org-beamer-export-as-latex)
4281 (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4282 * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4283 * ox-icalendar.el (org-icalendar-export-to-ics):
4284 * ox-latex.el (org-latex-export-as-latex)
4285 (org-latex-export-to-pdf):
4286 * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4287 * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4288 * ox-odt.el (org-odt-export-to-odt):
4289 * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4290 * ox-publish.el (org-publish-org-to):
4291 * ox-texinfo.el (org-texinfo-export-to-texinfo)
4292 (org-texinfo-export-to-info):
4293 * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4294 asynchronous export and the other to do extra processing from
4296 (org-export-to-file): Add two arguments: one to trigger
4297 asynchronous export and the other to do extra processing on the
4299 (org-export-async-start): Small clean up.
4301 * ox.el (org-export-as): Use new back-end structure.
4302 (org-export-current-backend): New variable.
4303 (org-export-as): Use new variable.
4305 * ox-ascii.el (org-ascii-table): Remove spurious new line between
4306 a table and the caption below.
4308 * ox.el (org-export-to-file): Preserve coding system when writing
4310 (org-export-stack-mode-map): Fix compilation error with Emacs <
4312 (org-export--dispatch-action): Maintain compatibility with Emacs
4315 * org.el (org-adaptive-fill-function, org-fill-paragraph):
4316 Add support for `adaptive-fill-regexp' in paragraphs and comments.
4317 (org-indent-line): Fix indentation after a list.
4319 * ox.el (org-export--get-inbuffer-options): Multiple options can
4320 now be set through the same buffer keyword.
4322 * org-element.el (org-element-plain-list-parser): Fix infloop when
4323 parsing a list at the end of buffer, if buffer doesn't end at a
4325 (org-element-link-parser): Do not url-decode parsed links.
4327 * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4328 spurious white spaces, excepted for source blocks' opening string.
4330 (pcomplete/org-mode/file-option): Remove spurious colons from
4333 * ox-publish.el (org-publish-find-date): Also return date for
4335 (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4336 extension restriction.
4338 * ox-beamer.el: Remove strange indentation in default header.
4339 (org-beamer-template): Fix missing newlines in header.
4341 * ox-latex.el (org-latex-template): Fix missing newlines in
4344 * ox.el (org-export-insert-default-template):
4345 Fix "wrong-type-argument" error in template insertion.
4347 * org.el (org-fill-paragraph): Use empty commented lines as
4348 separators when filling comments. This mimics default behavior
4349 from "newcomment.el", which is not used in Org.
4351 * ox-html.el (org-html-link): Add image attributes to "img" tag,
4352 not to the "a" container. Also fix spacing for attributes.
4354 * org.el (org-fill-paragraph): Do not mix consecutive comments
4355 when filling any of them.
4357 * ox-html.el (org-html-format-headline--wrap): Fix number of
4358 arguments when setting `org-html-format-headline-function'.
4360 * org-element.el (org-element-item-interpreter): This patch fixes
4361 "(wrong-type-argument arrayp nil)" error when trying to interpret
4362 empty items. Correctly interpret back plain lists with "*" items.
4363 This fixes "This is not a list" error returned in this case.
4365 * ox-latex.el (org-latex-listings): Update docstring.
4367 * org-pcomplete.el (pcomplete/org-mode/file-option/options):
4368 Apply changes to export back-end definiton.
4370 * org.el (org-get-export-keywords): Apply changes to export
4373 * ox-html.el (org-html--format-toc-headline): Make use of
4374 anonymous back-ends.
4376 * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
4378 (org-odt-format-label, org-odt-toc)
4379 (org-odt-format-headline--wrap): Use `org-export-with-backend'
4380 instead of `org-export-with-translations'.
4382 * ox.el (org-export--registered-backends): Rename from
4383 `org-export-registered-backends'.
4384 (org-export-invisible-backends): Remove variable.
4385 (org-export-get-backend, org-export-get-all-transcoders
4386 org-export-get-all-options, org-export-get-all-filters):
4387 New functions. It replaces `org-export-backend-translate-table'.
4388 (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
4389 org-export-define-backend, org-export-define-derived-backend):
4390 Rewrite functions using new representation.
4391 (org-export-backend-translate-table): Remove function.
4392 (org-export-get-environment): Use new function.
4393 (org-export--get-subtree-options, org-export--parse-option-keyword,
4394 org-export--get-inbuffer-options, org-export--get-global-options,
4395 org-export-to-buffer org-export-to-file, org-export-string-as
4396 org-export-replace-region-by): Update docstring.
4397 (org-export-data-with-translations): Remove function.
4398 Use `org-export-data-with-backend' with a temporary back-end instead.
4399 (org-export-data-with-backend, org-export-as): Reflect new definition
4401 (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
4402 definition for back-ends and variable removal. Refactoring.
4403 (org-export-filter-apply-functions): Call functions with
4404 current back-end's name, not full back-end.
4406 * org.el (org-export-backends, org-create-formula--latex-header):
4407 Use new structure and variables.
4409 * ox-html.el (org-html-inline-images): Change default value and
4411 (org-html-format-inline-image): Remove functions.
4412 (org-html--wrap-image, org-html--format-image)
4413 (org-html-inline-image-p): New functions.
4414 (org-html-latex-environment, org-html-latex-fragment): Use new
4416 (org-html-standalone-image-p): Use new functions. Also remove an
4417 unused optional argument.
4418 (org-html-link, org-html-paragraph): Correctly export hyperlinked
4421 * ox.el (org-export-dictionary): Update some translations.
4423 * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
4425 (org-odt-format-label): Add docstring. Internationalize prefix.
4427 * ox.el (org-export-dictionary): Add entry for colons.
4429 * ox-odt.el (org-odt--suppress-some-translators): Remove function.
4431 * ox-html.el (org-html-link): Remove left-over binding.
4433 * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
4434 title in environment definition.
4435 (org-beamer--format-block): Handle new placeholders.
4437 * ox-html.el (org-html-link): Small refactoring.
4439 * org-element.el (org-element--current-element):
4440 Fix org-meta-return error at the end of buffer.
4442 * ox-odt.el (org-odt-category-map-alist): Fix internationalization
4443 of "Table" and "Listing".
4445 * ox.el (org-export-dictionary): Remove useless dictionary
4448 * ox-ascii.el (org-ascii--build-caption): Apply removal.
4450 * ox.el (org-export-dictionary): Add spanish and german
4453 * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
4454 description always use that description, even if the description
4455 is the same as the headline title.
4456 (org-odt-plain-text): Allow to turn smart quotes off.
4458 * ox-latex.el (org-latex--get-footnote-counter): Remove function.
4460 * org.el (org-setup-filling): Set `paragraph-start' and
4461 `paragraph-separate'.
4462 (org-fill-paragraph-separate-nobreak-p): Remove function.
4463 (org-mode): Do not set `paragraph-start'.
4465 * ox-html.el (html): Replace "HTML_HTML5_FANCY",
4466 "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
4467 respectively, ":html5-fancy", "html-style" and "html-scripts"
4469 (org-html-html5-fancy): Reformat docstring.
4470 (org-html-template): Fix typo preventing insertion of link up/link
4473 * org.el (org-create-formula--latex-header): Replace AUTO with
4474 appropriate language when previewing snippets.
4476 * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
4477 items description tags. Also remove a unnecessary hack allowing
4478 footnotemark with an optional argument in the tag.
4480 * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
4481 link lives before the first headline.
4483 * org-element.el (org-element-special-block-parser): Fix typo in
4484 regexp matching block type. Also quote the type so it can contain
4487 * ox-latex.el (org-latex-pdf-process): This argument can cause
4488 problem with links with a relative path, since compilation happens
4489 in a different directory.
4491 * org.el (org-latex-default-packages-alist): Load "ulem" package
4492 by default. Use "[normalem]" option to preserve \emph definition.
4494 * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
4495 "\sout" commands from "ulem" package.
4497 * org.el (org-latex-default-packages-alist): Document need for
4500 * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
4501 package) instead of \underline for underline text.
4503 * ox.el (org-export-read-attribute): Fix "Wrong argument type"
4504 error when attributes start with :key "".
4506 * org.el (org-fill-paragraph-separate-nobreak-p)
4507 (org-fill-line-break-nobreak-p)
4508 (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
4510 * org-element.el (org-element--list-struct): Fix failing
4511 "plain-list-parser" test.
4513 * ox-latex.el (org-latex-src-block): Handle :float attribute.
4514 Its value can be set to "t", "multicolumn" or "nil". Also remove
4515 :long-listing attribute, which is now replaced with :float nil.
4516 (org-latex--org-table): Replace :float table with :float t.
4517 (org-latex--inline-image): Replace :float figure with :float t.
4518 (org-latex-long-listings): Remove variable.
4520 * org-element.el (org-element--list-struct): New function.
4521 (org-element-plain-list-parser, org-element--current-element):
4524 * ox-man.el (org-man-compile):
4525 * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
4527 * ox-latex.el (org-latex-compile):
4528 * ox-man.el (org-man-compile):
4529 * ox-texinfo.el (org-texinfo-compile): Properly set working
4532 * ox-latex.el (org-latex-compile):
4533 * ox-texinfo.el (org-texinfo-compile): Make sure generated file
4534 can be found by `file-exists-p'.
4536 * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
4538 * org-element.el (org-element--remove-indentation):
4540 (org-element--remove-indentation): New function.
4541 (org-element-example-block-parser, org-element-src-block-parser):
4543 (org-element-src-block-interpreter): Update function according to
4546 * ox.el (org-export-unravel-code): Do not remove any indentation
4547 since it now happens at the parser level.
4548 (org-export-table-cell-width): Be sure to use cache even when
4549 stored value is nil.
4550 (org-export--default-title): Fix "Symbol's value as variable is
4551 void: org-export--default-title".
4553 * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
4554 internal function since it is called at each cell, though its
4555 value only change column wise.
4557 * ox.el (org-export-resolve-fuzzy-link): Change property name
4559 (org-export-table-has-header-p, org-export-table-row-group)
4560 (org-export-table-cell-width, org-export-table-cell-alignment):
4562 (org-export-table-cell-address): Refactor.
4563 (org-export-get-parent): Inline function.
4564 (org-export-options-alist): Change default value for :title
4566 (org-export--default-title): New dynamically scoped variable.
4567 (org-export-store-default-title): New function.
4568 (org-export--get-buffer-attributes): Remove title handling.
4569 (org-export--get-global-options): Revert "ox: Fix default title".
4572 * ox-html.el (org-html-format-latex): Provide a prefix for
4573 temporary file when using dvipng, even if the current buffer isn't
4574 associated to a file.
4576 * ox.el (org-export-resolve-radio-link): Ignore whitespace
4577 differences when resolving a radio link.
4578 (org-export-resolve-radio-link): Fix radio target resolution.
4580 * org-element.el (org-element--current-element): Be stricter when
4581 matching arguments in LaTeX environments. In particular, do not
4582 allow anything else than options and arguments in the opening
4585 * ox-html.el (org-html-inner-template): Remove code relative to
4587 (org-html-bibliography): Remove function.
4589 * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
4590 not only \^, so it doesn't become a diacritic.
4592 * ox-html.el (org-html--build-meta-info): Fix code typo.
4594 * ox.el (org-export-expand-include-keyword): Avoid using `read' to
4595 determine file name.
4596 (org-export--get-global-options): Properly set default title,
4597 i.e. when to TITLE keyword is provided.
4599 * org-element.el (org-element--parse-elements): Also parse visible
4600 headlines within an otherwise compacted headline.
4602 * ox.el (org-export-expand-include-keyword): Tolerate included
4603 file names without double quotes.
4604 (org-export-resolve-fuzzy-link): Fix caching process.
4606 * ox-publish.el (org-publish-find-date): Fix "Invalid time
4607 specification" error with timestamps in DATE.
4609 * org-element.el (org-element--current-element): Allow the opening
4610 string of a LaTeX environment to contain additional arguments.
4612 * org.el (org-insert-heading): Refactor to use `org-in-item-p'
4615 * ox.el (org-export-expand): Optionally add affiliated keywords to
4618 * ox-org.el (org-org-identity): Use new argument for
4619 `org-export-expand'.
4621 * org.el (org-fill-paragraph): Move to table beginning before
4622 aligning the table when M-q is called from an affiliated keyword.
4624 * org-list.el (org-list-allow-alphabetical): Properly update
4625 `org-list-allow-alphabetical' when changed after org.el has been
4628 * org-element.el (org-element-fixed-width-interpreter):
4629 Fix interpretation of fixed-width elements with a nil or empty string
4632 * ox-html.el (org-html-link): Don't skip the link description when
4633 it matches the name of the headline it targets.
4635 * ox-html.el (org-html-link): Don't skip the link description when
4636 it matches the name of the headline it targets.
4638 * ox-ascii.el (ascii): Remove inexistant function.
4640 * ox-icalendar.el (icalendar): Ignore footnotes.
4641 (org-icalendar--combine-files): Small refactoring.
4643 * ox.el (org-export--skip-p, org-export--interpret-p):
4644 When `org-export-with-footnotes' is nil, ignore completely footnotes
4645 references and definitions instead of exporting them verbatim.
4647 * ox-beamer.el (org-beamer--frame-level): Small refactoring.
4648 (org-beamer--format-block, org-beamer-headline): Do not systematically
4649 downcase environment names as some require upper case in their
4650 names (e.g. noteNH and CJK).
4652 * ox.el (org-export-with-timestamps): Only applies to isolated
4653 timestamps, i.e. timestamps in a paragraph containing only
4654 timestamps and empty strings.
4655 (org-export--skip-p): Skip timestamps according to new behavior.
4657 * ox-latex.el (org-latex--script-size): Handle consecutive
4658 alterning sub and superscript.
4660 * ox-org.el (org-org-identity): Fix docstring. Tiny refactoring.
4661 (org-org-headline, org-org-keyword): Fix docstring.
4663 * ox-latex.el (org-latex--script-size): Use \text command for
4664 subscript and superscript. This is far superior to \mathrm, but
4665 it requires "amstext" package. In particular, accented characters
4666 are now allowed within sub/superscript.
4668 * org.el (org-latex-default-packages-alist): Add "amstext"
4671 * ox-latex.el (org-latex--script-size): Fix error when using
4672 sub/superscript within sub/superscript.
4674 * ox-latex.el (org-latex--script-size): New function.
4675 (org-latex-subscript, org-latex-superscript): Use new function.
4676 Remove instructions since everything is documented in Org manual.
4678 * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
4679 for keywords, the latter being hard to type, somewhat difficult to
4680 read, and overall just pedantic.
4682 * ox-latex.el (org-latex-classes): Be more explicit about
4685 * ox-html.el (org-html--build-meta-info): Fix invalid characters
4688 * ox.el (org-export-filters-alist): Remove macro filter.
4689 (org-export-filter-macro-functions): Remove variable.
4691 * ox-beamer.el (beamer): Install a default class set-up when
4694 * ox-latex.el (org-latex-classes): Update docstring.
4696 * ox-latex.el (org-latex--inline-image): Remove specific default
4697 image width for floats. If no width nor height is provided, it
4698 should default to `org-latex-image-default-width' value.
4700 * org.el (org-extract-attributes-from-string)
4701 (org-attributes-to-string): Remove functions.
4703 * ox-html.el (html): Rename :html-table-tag property into
4704 :org-table-attributes.
4705 (org-html-table-default-attributes): New variable.
4706 (org-html-table-tag): Remove variable.
4707 (org-html--make-attribute-string): New function.
4708 (org-html-link--inline-image, org-html-table): Use new function.
4709 (org-html-splice-attributes, org-export-splice-style):
4711 (org-html-inline-image-rules): Remove out of context part of the
4714 * ox.el (org-export-read-attribute): Allow to use empty strings in
4717 * ox-html.el (org-html-metadata-timestamp-format): New variable,
4718 renamed from `org-html--timestamp-format'.
4719 (org-html--build-meta-info, org-html-format-spec,
4720 org-html--build-pre/postamble): Use new variable.
4722 * ox.el (org-export-table-row-number): New function.
4723 (org-export-table-cell-address): Use new function.
4725 * org-element.el (org-element-table-cell-successor): Parse table
4726 cells with missing ending space.
4728 * ox-latex.el (org-latex--math-table): Fix inline-math table
4731 * ox-html.el (org-html-doctype): Make value fit on a single line
4732 so `org-export-insert-default-template' can handle it.
4733 (org-html-creator-string): Change default value.
4735 * ox.el (org-export-creator-string): Change default value.
4737 * ox-html.el (org-html-postamble-format)
4738 (org-html-preamble-format): Allow last modification time of source
4739 in template. Fix docstrings.
4740 (org-html-format-spec): Produce last modification time when the source
4743 * ox.el (org-export-with-archived-trees, org-export-with-author)
4744 (org-export-with-clocks, org-export-with-date)
4745 (org-export-creator-string, org-export-with-drawers)
4746 (org-export-with-email, org-export-with-emphasize)
4747 (org-export-exclude-tags, org-export-with-fixed-width)
4748 (org-export-with-footnotes, org-export-with-latex)
4749 (org-export-headline-levels, org-export-default-language)
4750 (org-export-preserve-breaks, org-export-with-entities)
4751 (org-export-with-inlinetasks, org-export-with-planning)
4752 (org-export-with-priority, org-export-with-section-numbers)
4753 (org-export-select-tags, org-export-with-smart-quotes)
4754 (org-export-with-special-strings)
4755 (org-export-with-statistics-cookies)
4756 (org-export-with-sub-superscripts, org-export-with-toc)
4757 (org-export-with-tables, org-export-with-tags)
4758 (org-export-with-tasks, org-export-time-stamp-file)
4759 (org-export-with-timestamps, org-export-with-todo-keywords):
4762 * ox-html.el (org-html-postamble-format): Slightly change default
4763 value so "Generated by" string doesn't get duplicated.
4764 (org-html-creator-string): Fix docstring.
4766 * ox.el (org-export--get-inbuffer-options)
4767 (org-export--list-bound-variables)
4768 (org-export--generate-copy-script, org-export-string-as)
4769 (org-export-expand-include-keyword)
4770 (org-export--prepare-file-contents): Inhibit startup process when
4773 * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
4774 with some DATE values: :date property in communication channel is
4777 * ox.el (org-export-insert-default-template): New function.
4778 (org-export--dispatch-ui, org-export--dispatch-action): Access to
4779 the function through the dispatcher.
4781 * ox-icalendar.el (org-icalendar-convert-timestamp):
4783 (org-icalendar-dtstamp): New function.
4784 (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
4786 * ox-ascii.el (org-ascii-link):
4787 * ox-html.el (org-html-keyword):
4788 * ox-latex.el (org-latex-keyword, org-latex-link):
4789 * ox-man.el (org-man-keyword):
4790 * ox-md.el (org-md-link):
4791 * ox-odt.el (org-odt-keyword):
4792 * org.el (org-store-link, org-link-search, org-options-keywords):
4793 Remove reference to TARGET keyword.
4795 * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
4796 Do not use TARGET as a destination for links anymore.
4798 * ox-org.el (org): Add a menu entry for the back-end.
4799 (org-org-export-as-org, org-org-export-to-org): New functions.
4801 * org.el (org-export-backends): Accept `org' as a loadable
4804 * ox-ascii.el (org-ascii-template--document-title): Use new function.
4806 * ox-beamer.el (org-beamer-template): Use new function.
4808 * ox-html.el (org-html-format-spec): Use new function.
4810 * ox-latex.el (org-latex-template): Use new function.
4811 (org-latex-date-timestamp-format): Remove variable.
4813 * ox.el (org-export-date-timestamp-format): New variable.
4814 (org-export-get-date): New function.
4816 * ox-odt.el (org-odt--format-paragraph): New function.
4817 (org-odt-paragraph): Use new function to limit code duplication.
4818 (org-odt-footnote-reference): Change default style for paragraphs
4819 when transcoding a footnote definition.
4821 * org-macro.el (org-macro--collect-macros): Fix a bug where
4822 reading a macro in a setup file would remove other macros read so
4823 far from template. Change function signature.
4824 (org-macro-initialize-templates): Apply signature change from function
4827 * ox.el (org-export--list-bound-variables): Rename from
4828 `org-export--install-letbind-maybe'. Though, only return list of
4829 bound variables instead of installing them as buffer-local
4831 (org-export-get-environment): Use new function. Take care of the
4832 installation of bound variables.
4833 (org-export--generate-copy-script): Make sure non-Org variables are
4834 also installed in buffer copy.
4836 * ox.el (org-export-get-environment): Update comment.
4837 (org-export--install-letbind-maybe): Go into SETUPFILE files and
4838 handle BIND keywords there.
4840 * ox-latex.el (org-latex-link): Do not prefix relative paths with
4843 * org.el (org-link-search): Preserve priority of #+TARGET over
4844 #+NAME when resolving a link.
4846 * ox-latex.el (org-latex-long-listings): New variable.
4847 (org-latex-src-block): Use new variable.
4849 * ox.el (org-export-data): White spaces after export snippets are
4852 * org-element.el (org-element-macro-parser): Allow to escape
4853 escaping character before a comma. Also do not trim spaces at
4854 argument boundaries.
4856 * ox.el (org-export-async-start): Use correct coding system so
4857 unibyte characters do not appear in the resulting buffer or file.
4858 (org-export--copy-to-kill-ring-p): Move function elsewhere in the
4861 * ox-latex.el (org-latex--inline-image): Fix error when no default
4862 width, height and option are provided and no attribute is set for
4865 * org.el (org-comment-or-uncomment-region): Fix commenting lines
4866 beginning with a link.
4867 (org-delete-char): Fix "Invalid use of `\\' in replacement text"
4868 when deleting a character in a cell which contains "\"
4869 (org-export-backends): Remove duplicates. Reorder alphabetically.
4871 * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
4872 `memq' when matching strings.
4874 * ox.el (org-export-read-attribute): Do not use `read' to read
4875 attributes. Instead, extract keywords and values from it, which
4876 means each value will be a string when non-nil.
4878 * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
4880 * ox-html.el (org-html--textarea-block): Use new attribute syntax.
4882 * ox-latex.el (org-latex--inline-image, org-latex--org-table)
4883 (org-latex--math-table): Use new attribute syntax.
4885 * ox-man.el (org-man-table--org-table): Use new attribute syntax.
4888 * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell):
4889 Use new attribute syntax.
4891 * ox.el (org-export-async-start): Remove code evaluation queries
4892 from asynchronous export.
4894 * ox-latex.el (latex): Activate smart quotes by default.
4895 (org-latex--inline-image): Don't insert a default width when
4896 height is provided in a figure environment.
4897 (org-latex--inline-image): Do not use default width
4898 (resp. height) when an user height (resp. width) is provided.
4899 Also, default height is only used when image is not wrapped within
4900 a figure or wrapfigure environment, in order to preserve ratio.
4901 (org-latex-image-default-width, org-latex-image-default-height):
4904 * ox-icalendar.el (org-icalendar-create-uid): Fix error when
4905 `org-icalendar-store-UID' is non-nil.
4907 * ox-latex.el (latex): Introduce new buffer keyword.
4908 (org-latex-template): Use new keyword.
4910 * ox-beamer.el (org-beamer-template): Use new keyword.
4912 * org.el (org-create-formula--latex-header): Use new keyword.
4914 * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
4915 (org-beamer-environments-extra): Add :version and
4918 * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
4919 Add :version and :package-version.
4921 * ox-latex.el (org-latex-inline-image-rules)
4922 (org-latex-default-table-environment)
4923 (org-latex-default-table-mode, org-latex-tables-booktabs)
4924 (org-latex-table-scientific-notation, org-latex-known-errors):
4925 Add :version and :package-version.
4927 * ox-md.el (org-md-headline-style): Add :version and
4930 * ox-odt.el (org-odt-with-latex): Add :version
4931 and :package-version.
4933 * ox.el (org-export-with-drawers, org-export-with-latex)
4934 (org-export-with-inlinetasks, org-export-with-planning)
4935 (org-export-with-smart-quotes, org-export-with-statistics-cookies)
4936 (org-export-allow-bind-keywords, org-export-async-init-file):
4937 Add :version and :package-version.
4939 * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
4940 name from `e-ascii' to `ascii'.
4942 * ox.el (org-export--generate-copy-script): Call `org-mode' when
4943 duplicating a buffer. It will properly set every variable, like
4945 (org-export-async-start): Do not call `org-mode' since this is done
4946 already in the previous function.
4948 * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
4949 generated from a TOC keyword.
4951 * org.el (org-export-backends): Do not reset list of loaded
4952 back-ends to variable's value after a reload.
4954 * ox-latex.el (org-latex-src-block): Do not overwrite provided
4955 numbering options in minted and listings.
4956 (org-latex-headline): Don't add optional title on unnumbered
4959 * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
4960 keywords. Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
4963 * org.el (org-fill-paragraph): Small refactoring to
4964 `org-fill-paragraph'. Do not look for table cells in a paragraph.
4966 * org-element.el (org-element-object-restrictions):
4967 Simplify restrictions within secondary strings and objects.
4969 * org-list.el (org-list-send-list): Do not rely on
4970 `org-list-parse-list'.
4971 (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
4972 Use appropriate export back-end instead of using
4973 `org-list-to-generic'.
4975 * ox-html.el (org-html-inner-template): Remove contents div and
4977 (org-html-template): Add contents div and title.
4978 (org-html-infojs-install-script): Can't activate jsinfo script
4979 during a body-only export.
4981 * ox.el (org-export-as): Store export options in :export-options
4982 porperty within communication channel.
4984 * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
4985 is set in an ordered list while its parent is not ordered.
4987 * ox.el (org-export-format-code-default): Handle empty source
4988 blocks more gracefully.
4990 * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
4993 * org.el (org-export-backends): Update variable. `infojs' was
4994 merged into ox-html and `freemind' was added.
4996 * ox.el (org-export--selected-trees): Also mark inlinetasks with a
4998 (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5000 * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5001 for unescaping code.
5003 * ox-html.el (org-html-link): Silence byte-compiler.
5004 (html): Add infojs installation script in options filter.
5005 (org-html-infojs-install-script): Remove check for back-end as we
5006 can safely assume the function will be called from `html' back-end
5007 or one of its derivative.
5009 * ox-icalendar.el (org-agenda-collect-markers)
5010 (org-create-marker-find-array): Remove functions.
5011 (org-icalendar-export-current-agenda): Integrate previous
5014 * ox-latex.el (org-latex-format-headline-default-function):
5015 Use declarative shape to nest makup for TODO keywords.
5016 Previous syntax generated errors during export.
5018 * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5019 `kill-emacs-hook'. The first one has been run in the original
5020 buffer. The second is not necessary and can pollute output to a
5021 temporary buffer (e.g. with `org-clock-persistence-insinuate').
5023 * ox-html.el (org-html-inner-template): Remove title.
5024 (org-html-template): Add title.
5026 * ox.el (org-export--get-min-level): Ignore footnote section when
5027 computing minimal headline level.
5029 * org.el (org-do-latex-and-related): Fix infloop when user
5030 provides a wrong value for `org-highlight-latex-and-related'.
5031 In this case, `org-latex-and-related-regexp' is the empty string and
5032 generates an infloop since matching it doesn't move point.
5034 * org-element.el (org-element-headline-parser):
5035 Rename :optional-title into :alt-title.
5037 * ox.el (org-export-get-alt-title): Rename from
5038 `org-export-get-optional-title'.
5040 * ox-ascii.el (org-ascii--build-title):
5041 * ox-html.el (org-html--format-toc-headline):
5042 * ox-latex.el (org-latex-headline):
5043 * ox-texinfo.el (org-texinfo--get-node)
5044 (org-texinfo--generate-menu-items): Apply name change.
5046 * ox.el (org-export--get-inbuffer-options): Remove an optional
5047 argument. Rewrite function. Properties read from a setupfile do
5048 not overwrite anymore previously computed properties.
5049 (org-export-get-environment): Apply changes to previous function.
5051 * org.el (org-create-formula--latex-header): Apply arity change
5052 from `org-export--get-inbuffer-options'.
5054 * ox-latex.el (org-latex-compile): Add an optional argument for
5055 latex snippet previewing.
5057 * org.el (org-create-formula-image-with-imagemagick):
5058 Use `org-latex-compile' instead of rewriting it.
5060 * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5061 regexps that may match large strings.
5063 * org.el (org-create-formula--latex-header): New function.
5064 (org-create-formula-image-with-dvipng)
5065 (org-create-formula-image-with-imagemagick): Use new function.
5067 * ox.el (org-export-get-previous-element): Change order of retured
5068 elements in `org-export-get-previous-element'.
5070 * org-element.el (org-element-all-successors): Add `plain-link'
5072 (org-element-object-restrictions): Remove `link' within `link'.
5073 Allow `plain-link' instead.
5074 (org-element-plain-link-successor): New function.
5076 * org.el (org-match-substring-regexp)
5077 (org-match-substring-with-braces-regexp): Update regexp.
5078 A sub/superscript cannot start anymore at the beginning of the line
5081 * org-element.el (org-element--get-next-object-candidates):
5082 Rewrite function to simplify algorithm.
5083 (org-element-context, org-element--parse-elements): Apply changes.
5085 * org.el (org-fill-paragraph): Apply changes.
5087 * ox-html.el (org-html-link, org-html-link--inline-image):
5088 Attributes specified to a paragraph only apply to first link
5091 * ox-latex.el (org-latex-headline): Do not add optional section
5092 name when section is unnumbered.
5094 * org.el (org-in-verbatim-emphasis): Fix false positive when point
5095 is just after the closing emphasis marker.
5096 (org-fill-paragraph): Do not move point when filling a table.
5098 * ox-ascii.el (ascii): Add new filter.
5099 (org-ascii-filter-comment-spacing): New function.
5100 (org-latex-keyword): Remove "figures" value.
5102 * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5104 * ox-html.el (org-html--format-toc-headline): Fix function name.
5105 (org-html-toc, org-html--toc-text): Change to docstring.
5106 (org-html-list-of-listings, org-html-list-of-tables):
5108 (org-html-keyword): Use new functions.
5109 (org-html-src-block): Add an ID attribute when a name is given.
5111 * org-element.el (org-element-footnote-definition-parser):
5112 Require 2 blank lines to separate footnote definition.
5114 * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5115 lines to separate footnote definition.
5117 * ox.el (org-export-stack): Rewrite.
5118 (org-export-stack-refresh): Refactor.
5119 (org-export-stack-remove, org-export-stack-view): Apply renaming.
5120 (org-export-stack-mode-map): Use tabulated list map as a basis.
5121 (org-export-stack--generate, org-export-stack--num-predicate):
5123 (org-export-get-optional-title): Return regular title when no
5124 optional title is found.
5126 * ox-ascii.el (org-ascii--build-title): Apply change to
5127 `org-export-get-optional-title'.
5129 * ox-html.el (org-html--format-toc-headline): Apply change to
5130 `org-export-get-optional-title'.
5132 * ox-latex.el (org-latex-headline): Apply change to
5133 `org-export-get-optional-title'.
5135 * ox-ascii.el (org-ascii--build-title): Add an argument.
5136 Use optional title when building a toc line.
5137 (org-ascii--build-toc): Call `org-ascii--build-title' with
5138 appropriate arguments.
5140 * ox-latex.el (org-latex-headline): Use optional title for table
5143 * ox-html.el (org-html--toc-text): Rename from
5144 `org-html-toc-text'. Add docstring.
5145 (org-html--format-toc-headline): Rename from
5146 `org-html-format-toc-headline'. Add docstring. Use optional
5148 (org-html-toc): Add docstring.
5150 * org-element.el (org-element-headline-parser): Node property
5151 :OPTIONAL_TITLE: in a headline will be parsed and stored under
5152 :optional-title property.
5154 * ox.el (org-export-get-optional-title): New function.
5156 * ox-latex.el (org-latex-format-headline-default-function):
5157 Make the variable a function.
5159 * ox-publish.el (org-publish-resolve-external-fuzzy-link):
5160 No error when resolving external fuzzy links outside publishing.
5161 Though search option for these links will not be resolved.
5163 * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5164 according to `org-export-coding-system'.
5166 * ox.el (org-export--generate-copy-script):
5167 Clone `buffer-file-coding-system' when creating a buffer copy.
5169 * ox-html.el (org-html-link): Resolve external links with search
5170 options like [[file.org::#custom-id]] or
5171 [[file.org::*headline-search]].
5173 * ox-publish.el (org-publish-collect-numbering)
5174 (org-publish-resolve-external-fuzzy-link): New functions.
5175 (org-publish-org-to): Add new collecting function to final output
5176 filter. Move index collecting function to the same filter.
5177 (org-publish-collect-index): Called from final output filter.
5179 * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5180 Use :CUSTOM_ID, not :custom-id.
5182 * org-element.el (org-element-latex-environment-parser): Fix wrong
5183 value for :post-affiliated property when parsing a latex
5186 * ox-latex.el (org-latex-property-drawer): Remove function.
5188 * ox-ascii.el (org-ascii-filter-paragraph-spacing):
5189 Remove reference to now renamed `e-ascii' back-end.
5191 * ox-beamer.el (org-beamer-template): Allow to span documentclass
5192 options accross multiple lines in template.
5194 * ox-latex.el (org-latex-template): Allow to span documentclass
5195 options accross multiple lines in template.
5197 * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5198 (org-texinfo--get-node): New function.
5199 (org-texinfo-headline, org-texinfo-link): Use new function.
5201 * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5202 contents. Just indent them.
5204 * ox-publish.el (org-publish-index-generate-theindex): Do not
5205 create an "* Index" headline in "theindex.inc". Though, create an
5206 "Index" title in fallback "theindex.org".
5208 * ox-publish.el (org-publish-projects): Publish "theindex.org"
5209 last, so that "theindex.inc" can be completed.
5211 * ox-publish.el (org-publish-project-alist): Fix docstring.
5212 (org-publish-collect-index): Fix typo.
5214 * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5215 highlighting brackets in UI
5217 * org-element.el (org-element-headline-parser)
5218 (org-element-inlinetask-parser): Fix docstring.
5220 * org.el (org-export-backends): Add new back-end in customize
5223 * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5224 (org-beamer--format-section, org-beamer--format-frame)
5225 (org-beamer--format-block, org-beamer-headline): Apply changes to
5228 * ox-html.el (org-html-headline, org-html-link, org-html-section):
5229 Apply changes to properties.
5231 * ox-icalendar.el (org-icalendar-create-uid)
5232 (org-icalendar-blocked-headline-p, org-icalendar-entry)
5233 (org-icalendar--valarm): Apply changes to properties.
5235 * ox-odt.el (org-odt-headline): Apply changes
5237 * ox-publish.el (org-publish-collect-index): Apply changes to
5240 * ox-texinfo.el (org-texinfo--generate-menu-list)
5241 (org-texinfo--generate-menu-items, org-texinfo-template)
5242 (org-texinfo-headline, org-texinfo-link): Apply changes to
5245 * ox.el (org-export-resolve-id-link, org-export-get-category):
5246 Apply changes to properties.
5247 (org-export-get-node-property): Update docstring.
5249 * org-element.el (org-element-headline-parser)
5250 (org-element-inlinetask-parser): Upcase properties. This is done
5251 to avoid confusion between properties from parser (e.g. `:end')
5252 and properties from the property drawer (e.g. :END:).
5254 * ox-publish.el (org-publish-index-generate-theindex): Preserve
5255 order in file. Fix error when two index entries were identical.
5256 Create again theindex.inc.
5258 * org-element.el (org-element-map): Allow to map over any list.
5259 Do not restrict mapping to object types.
5261 * org-faces.el (org-latex-and-related): Rename from
5262 `org-latex-and-export-specials', which wasn't appropriate anymore.
5264 * org.el (org-highlight-latex-and-related)
5265 (org-latex-and-related-regexp): New variables.
5266 (org-compute-latex-and-related-regexp, org-do-latex-and-related):
5267 New function, revived from a previous commit.
5268 (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5270 (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5273 * ox-publish.el (org-publish-org-to): Small refactoring.
5275 * ox.el (org-export-install-filters): Properly install filters
5276 send through ext-plist mechanism.
5278 * ox-publish.el (org-publish-org-to): Small refactoring.
5280 * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5281 ox-publish.el takes care of it already.
5283 * org-macro.el: New file.
5285 * org.el: Remove macro code.
5287 * ox.el: Require new library
5289 * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5290 when matching an headline.
5291 (org-export--dispatch-ui): Display a help message in header line
5292 for scrolling dispatcher's buffer
5293 (org-export-resolve-radio-link): Radio targets are
5296 * ox-icalendar.el (org-export-icalendar): Fix docstring.
5298 * ox.el (org-export-dispatch): Fix docstring.
5299 (org-export--dispatch-action): Small improvement to line by line
5301 (org-export-resolve-fuzzy-link): Refactor. Whitespaces are not
5302 significant when matching a fuzzy link.
5304 * org-element.el (org-element-link-parser): Do not remove newlines
5305 characters in paths anymore, since this is not required.
5307 * ox.el (org-export--dispatch-ui): Rename from
5308 `org-export-dispatch-ui'. Handle scrolling.
5309 (org-export--dispatch-action): Rename from
5310 `org-export-dispatch-action'. Implement scrolling.
5311 (org-export-dispatch): Apply renaming.
5313 * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5314 but still run `org-ctrl-c-ctrl-c-final-hook'.
5315 (org-end-of-line): Remove `ignore-error'.
5317 * org-element.el (org-element-at-point): Return nil when in the
5318 first empty lines of the buffer. Return headline when in empty
5319 lines just after the headline.
5321 * ox.el (org-export-output-file-name): Add a protection when
5322 output file name is the same as the original org.
5324 * ox-beamer.el (org-beamer-template): Add missing `class' argument
5325 for `format-string'.
5327 * ox-latex.el (org-latex-template): Add missing `class' argument
5328 for `format-string'.
5330 * ox.el (org-export-stack-mode): Fix docstring.
5332 * org-pcomplete.el (pcomplete/org-mode/file-option):
5333 Allow completion for ATTR_ prefixed keywords.
5335 * org.el (org-options-keywords): Add missing colons.
5337 * org-macs.el (org-default-options): Remove function.
5339 * org-pcomplete.el (org-command-at-point): Fix bug with some file
5341 (pcomplete/org-mode/file-option/x): Remove macro.
5342 (pcomplete/org-mode/file-option): Refactor code.
5343 (pcomplete/org-mode/file-option/author)
5344 (pcomplete/org-mode/file-option/date)
5345 (pcomplete/org-mode/file-option/title)
5346 (pcomplete/org-mode/file-option/tags)
5347 (pcomplete/org-mode/file-option/select_tags)
5348 (pcomplete/org-mode/file-option/priorities)
5349 (pcomplete/org-mode/file-option/language)
5350 (pcomplete/org-mode/file-option/filetags)
5351 (pcomplete/org-mode/file-option/exclude_tags)
5352 (pcomplete/org-mode/file-option/email): New functions.
5354 * ox.el (org-export--collect-headline-numbering): Remove footnote
5356 (org-export-collect-headlines): Do not count footnote section when
5357 numbering a headline.
5359 * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
5360 attributes in order to determine list's options.
5362 * ox-ascii.el (org-ascii-inner-template): New function.
5363 (org-ascii-template): Use new function.
5364 (org-ascii-export-as-ascii, org-ascii-export-to-ascii):
5367 * org-element.el (org-element-link-parser): Take into
5368 consideration links filled and indented.
5370 * org-element.el (org-element-link-parser): Remove all newline
5371 characters in path property.
5373 * ox.el (org-export-as): Call `inner-template' function, if
5376 * ox-html.el (org-html-inner-template): New function.
5377 (org-html-template): Move all parts that should be inserted even
5378 in a body-only export into `org-html-inner-template'.
5380 * org.el (org-forward-element, org-backward-element): When no
5381 headline is found at the same level, still move forward or
5384 * org-element.el (org-element--current-element): Add a limit
5386 (org-element--collect-affiliated-keywords): Fix parsing of orphaned
5387 keyword at the end of an element.
5389 * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
5390 character as `org-export-format-code-default' already makes sure
5391 the string returned will end with a single one.
5393 * ox-latex.el (org-latex-headline): When a function returns a
5394 sectioning command, only one placeholder should be required.
5396 * org-element.el (org-element-nested-p): Do not inline function.
5398 * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
5399 (org-export--generate-copy-script): Move earlier in the file.
5401 * ox-texinfo.el (org-texinfo-link): Do not transform path part of
5404 * org.el (org-org-menu): Small refactoring.
5406 * ox-beamer.el (require):
5407 * ox-icalendar.el (require):
5408 * ox-jsinfo.el (require):
5409 * ox-md.el (require): Require cl when compiling.
5411 * org.el (org-export-backends):
5412 * ox.el (org-export-dispatch): Fix docstring.
5414 * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
5416 * ox-latex.el (org-latex-special-block): Add :options attribute to
5417 special blocks to specify options.
5419 * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
5422 * ox-latex.el (org-latex-format-headline-function): Fix missing
5423 parens in the docstring.
5425 * org.el (org-export-backends): Remove `:initialize' function.
5427 * org.el (org-reload): Also reload export back-ends in use.
5429 * ox-latex.el (org-latex-example-block, org-latex-src-block):
5430 Ignore element if it's empty. This fixes error "apply: Wrong
5431 number of arguments: max, 0".
5433 * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
5436 * ox-latex.el (org-latex-template): Provide an error when LaTeX
5439 * org.el (org-modules): Remove export back-ends from the list.
5441 (org-export-backends): New variable.
5443 * ox.el (org-export-async-start): Make sure export framework is
5444 required in the external process.
5446 * org.el (org-format-latex-header-extra, org-export-have-math):
5448 (org-latex-default-packages-alist): Rename from
5449 `org-export-latex-default-packages-alist'.
5450 (org-latex-packages-alist): Rename from
5451 `org-export-latex-packages-alist'.
5452 (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
5453 org-cdlatex-math-modify): Reorder in file.
5454 (org-format-latex): Remove `org-format-latex-header-extra'.
5455 (org-create-formula-image-with-dvipng,
5456 org-create-formula-image-with-imagemagick): Apply variables renaming
5459 * org-entities.el (org-entities-user): Update docstring.
5461 * ox-latex.el (org-latex-classes, org-latex-listings):
5463 (org-latex-guess-inputenc): Rename from `org-latex--guess-inputenc'.
5464 (org-latex-guess-babel-language): Rename from
5465 `org-latex--guess-babel-language'.
5466 (org-latex-template): Apply renaming.
5468 * ox-beamer.el (org-beamer-template): Apply renaming.
5470 * ob-latex.el (org-babel-execute:latex): Apply variable renaming
5472 (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
5475 * org-macs.el (org-if-unprotected, org-if-unprotected-1)
5476 (org-if-unprotected-at): Remove macros.
5477 (org-re-search-forward-unprotected): Remove function.
5479 * org.el (org-format-latex):
5480 * org-list.el (org-list-struct):
5481 * org-footnote.el (org-footnote-at-reference-p):
5482 * org-capture.el (org-capture-fill-template): Remove reference to
5485 * ob-exp.el (org-babel-exp-process-buffer): Rename from
5486 `org-export-blocks-preprocess'.
5488 * ox.el (org-export-execute-babel-code): Apply previous renaming.
5490 * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
5491 keywords for completion without requiring the whole export
5493 (pcomplete/org-mode/file-option/options): Rewrite using new export
5494 framework. Only complete up to the colon.
5495 (pcomplete/org-mode/file-option/x): Remove macro.
5496 (pcomplete/org-mode/file-option/title)
5497 (pcomplete/org-mode/file-option/author)
5498 (pcomplete/org-mode/file-option/email)
5499 (pcomplete/org-mode/file-option/date): Remove functions.
5500 (pcomplete/org-mode/file-option/infojs_opt): New function.
5502 * org-clock.el (org-clocktable-defaults)
5503 (org-clocktable-write-default): Avoid requiring the whole export
5504 framework just to check one variable.
5506 * org-footnote.el (org-footnote-section): Update docstring.
5507 (org-footnote-normalize): Remove all export related part from the
5510 * org-inlinetask.el (org-inlinetask-export)
5511 (org-inlinetask-export-templates): Remove variables.
5512 (org-inlinetask-export-handler): Remove function.
5514 * org-plot.el: Remove dependency on `org-exp' library.
5516 * org.el (org-additional-option-like-keywords): Remove variable.
5517 (org-get-export-keywords): New function.
5518 (org-options-keywords): Update default list of keywords.
5519 (org-remove-flyspell-overlays-in): Apply changes to keywords
5521 (org-highlight-latex-fragments-and-specials)
5522 (org-latex-and-specials-regexp)
5523 (org-export-html-special-string-regexps): Remove variables.
5524 (org-compute-latex-and-specials-regexp)
5525 (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
5527 (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
5529 (org-use-sub-superscripts): Fix docstring. Remove unused group.
5530 (org-match-sexp-depth): Make it a defconst instead of a defcustom
5531 in order to remove `org-export-translation' group completely.
5533 * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
5536 * ob-latex.el (org-babel-execute:latex): Use new exporter.
5538 * ob-org.el (org-babel-execute:org): Use new exporter.
5540 * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
5541 iCalendar export back-end.
5543 * org-table.el (org-table-export, orgtbl-export):
5544 Remove dependency on `org-exp' library.
5545 (org-table-clean-before-export): New function.
5546 (org-table-colgroup-info): New variable.
5547 (orgtbl-to-html): Use to new HTML export back-end.
5549 * org.el (org-modules): Remove modules relative to obsolete export
5550 framework and add those relative to the new one.
5551 (org-create-formula-image-with-dvipng, org-format-latex
5552 org-create-formula-image-with-imagemagick): Use new exporter.
5553 (org-indent-line): INCLUDE keywords are indented like regular
5555 (org-mode-map): Bind C-c C-e to new export dispatcher.
5556 (org-menu): Install new exporter in menu.
5561 * org-exp-blocks.el:
5571 * org-special-blocks.el:
5572 * org-taskjuggler.el:
5573 * org-xoxo.el: Remove
5588 * ob-exp.el (org-export-blocks-preprocess): Do not use
5589 `indent-code-rigidly' as it doesn't indent contents of strings.
5591 * org-element.el (org-element-map): Change to function
5592 indentation. Also complete docstring.
5594 * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
5597 * org-element.el (org-element-at-point): When point is before any
5598 element, in the first blank lines of the buffer, return nil.
5599 When point is within blank lines just after a headline, return that
5601 (org-element-context): Return nil when point is within the blank at
5602 the beginning of the buffer.
5604 * org.el (org-edit-special): Fix regression.
5605 (org-timestamp-has-time-p, org-timestamp-format)
5606 (org-timestamp-split-range, org-timestamp-translate):
5609 * org-element.el (org-element-timestamp-interpreter):
5610 Interpret timestamps ranges with repeaters.
5612 * org.el (org-edit-special): Rewrite `org-edit-special' using Org
5613 Elements tools. Behavior should be unchanged.
5615 * org-element.el (org-element-context): Add an optional argument
5616 so that (org-element-context) and (org-element-context
5617 (org-element-at-point)) are equivalent.
5619 * ob.el: Only use the :wrap argument up to the first space when
5620 creating the #+END_ directive.
5622 * org-element.el (org-element-object-variables): New variable.
5623 (org-element-parse-secondary-string): Copy some buffer-local
5624 variables to the temporary buffer created to parse the string so
5625 links can still be properly expanded.
5626 (org-element-link-parser): Link expansion and translation are applied
5627 transparently for the parser.
5629 * org-element.el (org-element-line-break-parser): Line break
5630 includes the newline character following the backslashes.
5631 (org-element-line-break-interpreter): Apply changes to line break
5634 * org.el (org-all-targets): Fix radio targets detection when
5635 object is directly followed by a non-whitespace character.
5637 * ob.el (org-babel-use-quick-and-dirty-noweb-expansion):
5638 Rename from `org-babel-use-quick-and-dirty-noweb-expansion'.
5639 (org-babel-expand-noweb-references): Use new variable name.
5641 * org-element.el (org-element-timestamp-interpreter):
5642 Fix timestamp interpreter when raw value isn't available.
5644 * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
5645 inline babel call or inline src block instead of the following
5648 * org-element.el (org-element-timestamp-parser): Timestamp with
5649 time range has active/inactive-range type.
5650 (org-element-block-name-alist): Do not reset
5651 `org-element-block-name-alist' at each reload.
5652 (org-element-object-restrictions): Allow timestamps in parsed
5653 keywords (i.e. DATE).
5655 * org-agenda.el (org-agenda-show-clocking-issues)
5656 (org-agenda-format-item): Silence byte compiler.
5658 * org-colview.el (org-agenda-columns): Silence byte compiler.
5660 * org.el (org-properties-postprocess-alist): Silence byte
5663 * org-element.el (org-element-timestamp-parser): Return nil for
5664 unspecified :hour-end and :minute-end properties.
5665 (org-element-object-restrictions): Add footnote references objects
5667 (org-element-interpret-data): Clear text properties when
5668 interpreting a string .
5670 * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
5673 * org.el (org-adaptive-fill-function): Items do not have
5674 a :post-affiliated property. Use :begin property instead.
5676 * org-element.el (org-element-headline-parser)
5677 (org-element-inlinetask-parser): Remove :clockedp property.
5679 * org.el (org-adaptive-fill-function): All elements do not have a
5680 :post-affiliated property.
5681 (org-macro-replace-all): Signal an error when a circular macro
5683 (org-macro-initialize-templates): Fix docstring.
5685 * org-element.el (org-element-map): Fix docstring.
5686 (org-element-contents, org-element-set-contents)
5687 (org-element-adopt-elements): Fix accessors and setters wrt
5689 (org-element-headline-parser)
5690 (org-element-inlinetask-parser): Fix void-function
5691 `org-clocking-buffer' error.
5692 (org-element-context): Fix org-element-context on parsed keywords.
5693 (org-element-context): Find objects in document and parsable
5694 affiliated keywords.
5695 (org-element-center-block-parser)
5696 (org-element-drawer-parser, org-element-dynamic-block-parser)
5697 (org-element-footnote-definition-parser)
5698 (org-element-plain-list-parser)
5699 (org-element-property-drawer-parser)
5700 (org-element-quote-block-parser, org-element-special-block-parser)
5701 (org-element-babel-call-parser, org-element-comment-parser)
5702 (org-element-comment-block-parser, org-element-diary-sexp-parser)
5703 (org-element-example-block-parser)
5704 (org-element-export-block-parser, org-element-fixed-width-parser)
5705 (org-element-horizontal-rule-parser, org-element-keyword-parser)
5706 (org-element-latex-environment-parser)
5707 (org-element-paragraph-parser, org-element-src-block-parser)
5708 (org-element-table-parser, org-element-verse-block-parser):
5709 Add `:post-affiliated' property to elements.
5710 (org-element-inlinetask-parser): Remove affilated keywords.
5712 * org.el (org-adaptive-fill-function): Use new property.
5714 * org-element.el (org-element--collect-affiliated-keywords):
5715 Allow duals keywords with only secondary value.
5716 (org-element-timestamp-parser): Modify timestamp objects
5718 (org-element-headline-parser, org-element-inlinetask-parser): Remove
5719 `:timestamp' and `:clock' property. Add `:clockedp' property. Also,
5720 set `:closed', `:deadline' and `:scheduled' values to timestamp
5721 objects, not strings. Small refactoring.
5722 (org-element-clock-parser): Rename `:time' property into `:duration'.
5723 Also, set `:value' value as a timestamp object, not a string.
5724 (org-element-planning-parser): Set `:closed', `:deadline' and
5725 `:scheduled' values to timestamp objects, not strings.
5726 (org-element-clock-interpreter, org-element-planning-interpreter)
5727 (org-element-timestamp-interpreter): Update interpreters.
5728 (org-element--current-element): Tiny refactoring.
5730 * ob.el (org-babel-where-is-src-block-result): Insert new results
5731 keyword in current narrowed part of buffer, if necessary.
5733 (org-babel-insert-result): Do not widen buffer when new results have
5734 to be inserted. Therefore, results inserted after the last block of
5735 a narrowed buffer still belong to the narrowed part of the buffer.
5737 * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
5739 * org-element.el (org-element-paragraph-separate): Diary-sexp
5740 elements can separate paragraphs.
5741 (org-element-all-elements): Install new `diary-sexp' type.
5742 (org-element--current-element): Recognize new `diary-sexp' elements.
5743 (org-element-diary-sexp-parser)
5744 (org-element-diary-sexp-interpreter): New functions.
5745 (org-element-horizontal-rule-parser)
5746 (org-element-keyword-parser, org-element--current-element):
5748 (org-element-property): Access to text properties when argument is
5750 (org-element-put-property): Correctly set property when target is
5752 (org-element-adopt-elements): Also put :parent properties on
5755 * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
5757 (org-export-blocks-preprocess): Pos can sometimes be set to a
5758 value greater than start, because of indentation, and lead to a
5760 (org-babel-exp-code): Remove comma-escaping special rule for Org
5762 (org-export-blocks-preprocess): Results of an evaluated code block
5763 can be inserted within the blank lines after the block. Hence, if
5764 the block has to be removed, delete everything down to the first
5765 non-blank line after the end of block closing string, instead of
5766 removing everything down to the very end of the block.
5768 * org.el (org-all-targets): Make sure the regexp really matched a
5770 (org-macro-expand, org-macro-replace-all): Change signature.
5771 The function now accepts an alist of templates so it doesn't have to
5772 rely only on `org-macro-templates'.
5773 (org-macro-initialize-templates): {{{date}}} is not anymore an
5774 alias for {{{time}}}. During export, it will provide the value
5775 stored in DATE keyword instead.
5777 * org-element.el (org-element-object-restrictions): Allow links in
5778 caption. Also allow inline-src-blocks and inline-babel-calls.
5779 (org-element-map): Change signature.
5780 (org-element-parsed-keywords): Remove document properties from the
5782 (org-element-dual-keywords): Fix docstring.
5783 (org-element-document-properties): New variable
5784 (org-element-all-elements): Add `node-property' as a new element
5786 (org-element-greater-elements): Add property-drawer element to
5787 greater elements since they now contain node-property elements.
5788 (org-element-drawer-parser): Small refactoring.
5789 (org-element-property-drawer-parser): Move into Greater Elements
5791 (org-element-node-property-parser,
5792 org-element-node-property-interpreter): New functions.
5793 (org-element--current-element, org-element-at-point)
5794 (org-element--parse-elements): Handle new element type.
5795 (org-element--collect-affiliated-keywords): Fix return value.
5796 (org-element-center-block-parser)
5797 (org-element-drawer-parser, org-element-dynamic-block-parser)
5798 (org-element-footnote-definition-parser)
5799 (org-element-plain-list-parser, org-element-quote-block-parser)
5800 (org-element-special-block-parser, org-element-babel-call-parser)
5801 (org-element-comment-parser, org-element-comment-block-parser)
5802 (org-element-example-block-parser)
5803 (org-element-export-block-parser, org-element-fixed-width-parser)
5804 (org-element-horizontal-rule-parser, org-element-keyword-parser)
5805 (org-element-latex-environment-parser)
5806 (org-element-paragraph-parser, org-element-property-drawer-parser)
5807 (org-element-src-block-parser, org-element-table-parser)
5808 (org-element-verse-block-parser): Change signature. Now use an
5809 additional argument: affiliated.
5810 (org-element--current-element): Skip affiliated keywords and pass
5811 them as an argument to parsers. It prevents to walk through these
5812 keywords twice: the first time to get to the first line of the
5813 element, and a second time to collect the affiliated keywords.
5815 * ob-exp.el (org-babel-exp-non-block-elements): More accurate
5816 white space handling when evaluating inline-src-block, babel-call
5817 and inline-babel-call elements or objects. Also removed use of
5818 `org-babel-examplize-region' since it would never be called
5819 anyway; return value from `org-babel-exp-do-export' is never nil.
5820 (org-export-blocks-preprocess): Preserve affiliated keywords when
5821 replacing a code block.
5823 * org-element.el (org-element-multiple-keywords): Allow multiple
5826 * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
5827 when results are before the block.
5828 (org-export-blocks-preprocess): Improve blank lines handling in
5829 function. Add comments. Remove `org-export-blocks-postblock-hook'
5830 since it's defined nowhere now (and doesn't need to, there's
5831 `org-export-before-parsing-hook' already).
5833 * org-exp-blocks.el: Delete.
5835 * ob-exp.el (org-export-blocks-preprocess):
5836 * ob-ditaa.el (org-ditaa-jar-path): Move from
5837 "org-export-blocks.el".
5839 * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
5840 (org-babel-exp-non-block-elements): Rewrite function using Org
5843 * org-exp-blocks.el (org-export-blocks-preprocess):
5844 Rewrite function using Org Element.
5846 * org-element.el (org-element-recursive-objects)
5847 (org-element-object-restrictions): Remove `macro' from recursive
5850 * org.el (org-macro-initialize-templates): Small refactoring.
5851 (org-mode): Initialize macros templates.
5852 (org-macro-templates): New variable.
5853 (org-macro-expand, org-macro-replace-all)
5854 (org-macro-initialize-templates): New functions.
5856 * org-element.el (org-element-link-type-is-file): New variable.
5857 (org-element-link-parser): Extract search option and application
5858 in "file"-type links.
5860 * org.el (org-mode): Set back comment-start-skip so comment-dwin
5861 can tell a keyword from a comment.
5863 2013-11-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5865 * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
5866 inactive timestamp also with double universal argument.
5867 (org-set-regexps-and-options): Don't set font-lock defaults here.
5868 (org-mode): Set font-lock defaults here.
5869 (org-insert-link): Call `org-link-try-special-completion' from the
5872 2013-11-12 Oleh <oleh.krehel@gmail.com>
5874 * org.el (org-open-at-point): The new code is being run in the
5875 same spot as `org-open-link-functions'. In case they failed,
5876 check if link matches "^id:" and if so, load the id interface and
5879 2013-11-12 Rasmus <rasmus@gmx.us> (tiny change)
5881 * ox-latex.el (org-latex--inline-image): The pgf format is
5882 associated to an inline image and treated like tikz files.
5884 2013-11-12 Richard Lawrence <richard.lawrence@berkeley.edu> (tiny change)
5886 * org-agenda.el (org-cmp-ts): Avoid error when trying to
5887 `string-match' against nil.
5889 2013-11-12 Rick Frankel <rick@rickster.com>
5891 * ox-html.el (org-html-doctype): New function.
5892 (org-html-template): Use `org-html-doctype' instead of inline
5894 (org-html-headline): Use the new
5895 `org-html--container' function to set container element.
5896 (org-html--container): Returns appropriate element for headline
5898 (org-html-divs): Extra character in doc string.
5899 (org-babel-execute:sql): Unquote cmdline argument in
5900 format string, dbish requires three separate arguments. Add dbi
5901 to the list of engines with automatically added header separator.
5902 (org-html--build-pre/postamble): Add css class to wrapper div
5903 (defaults to `org-pre/postamble-class'). Move spec building to
5904 separate function (`org-html-format-spec').
5905 (org-html-format-spec): New function.
5906 (org-pre/postamble-class): New variable.
5907 (org-html--timestamp-format): New variable used in the metadata
5908 and the pre/postamble.
5909 (org-html-style-default): Make the preamble and postamble use the
5910 same style. Make all anchors font-size %100. Remove margin from
5911 the content section.
5912 (org-html-container-element): Fix docstring.
5913 (org-html-postamble-format, org-html-preamble-format):
5915 (org-html-template): Use `org-html--build-pre/postamble'.
5916 (org-html--build-pre/postamble): New function, combining the
5917 pre/postamble generator. Merge lists of formatters from the
5918 preamble and postamble. Fix bug, using :time-stamp-file instead
5919 of :with-date for auto display of date: this brings usage in-line
5920 with the latex and beamer exporter.
5921 (org-html--build-postamble, org-html--build-postamble): Delete.
5922 (define-backend): Add :html-doctype and :html-container
5924 (org-html-doctype): New option for doctype declaration.
5925 (org-html-container-elemnt): New option for specifying the wrapper
5927 (org-html-divs): Change to alist of three entries each containing
5928 a key ('preamble, 'content, 'postamble), an HTML element type and
5929 an id to allow setting container elements.
5930 (org-html--build-preamble, org-html--build-postamble): Modify to
5931 use `org-html-divs'.
5932 (org-html-template): Modify to use doctype and container-element
5934 (org-export-define-backend): Add css url option.
5935 (org-export-htmlized-org-css-url): Modify docstring and options.
5936 (org-html--build-style): Include css-url if specified.
5938 2013-11-12 Roberto Huelga Díaz <rhuelga@gmail.com> (tiny change)
5940 * org-timer.el (org-timer-set-timer): Use the variable
5941 `org-clock-sound' when calling `org-notify'.
5943 2013-11-12 Ryo TAKAISHI <ryo.takaishi.0@gmail.com>
5945 * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
5947 (org-capture-expand-embedded-elisp): Use the new function.
5949 * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
5950 name collid `org-babel-map-src-blocks' variable 'lang'.
5952 * org-protocol.el (org-protocol-convert-query-to-plist):
5954 (org-protocol-do-capture): Use new function.
5955 (org-protocol-data-separator): Change default separator.
5957 2013-11-12 Rémi Vanicat <vanicat@debian.org> (tiny change)
5959 * org-table.el (orgtbl-format-line): Fix bug when formatting line.
5961 2013-11-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5963 * ox-latex.el (org-latex-listings): Don't quote const value.
5965 * ob-C.el (org-babel-C-var-to-C): Add list support
5966 (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
5967 (org-babel-C-format-val): New functions.
5968 (org-babel-C-ensure-main-wrap, org-babel-execute:C)
5969 (org-babel-execute:C++, rg-babel-execute:cpp)
5970 (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
5972 * org-entities.el (org-entities): Add support for hbar.
5974 2013-11-12 Sacha Chua <sacha@sachachua.com> (tiny change)
5976 * org.el (org-read-date-get-relative): Handle positive and
5977 negative weekday specifications so that they don't return today.
5978 If today is Friday, "fri" should mean next Friday. This changes
5979 the previous behavior, which required you to specify "+2fri" in
5980 order to mean next Friday if today was Friday. If you want to
5981 schedule something for today, you can use ".".
5983 2013-11-12 Samuel Loury <konubinix@gmail.com> (tiny change)
5985 * org.el (org-open-at-point): Open a plain link even if the cursor
5986 is before it, which is consistent with the behavior with respect
5987 to bracket and angle links.
5989 2013-11-12 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
5991 * ob.el (org-babel-expand-noweb-references): Capture current noweb
5992 start and end patterns then use them to set buffer locals in a
5993 (with-temp-buffer ...) form.
5995 2013-11-12 Sebastien Vauban <xxx@public.gmane.org>
5997 * ox-latex.el (org-latex-listings-langs): Update custom variable.
5999 * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6000 of header arguments.
6002 * org-clock.el (org-clock-goto-before-context): New option.
6003 (org-clock-goto): Use the new option.
6004 (org-clocktable-write-default): Insert the summary as a standard
6005 #+CAPTION keyword for the (clock) table.
6007 2013-11-12 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> (tiny change)
6009 * org-agenda.el (org-agenda-prefix-format): Small docstring
6012 2013-11-12 Suhail Shergill <suhailshergill@gmail.com> (tiny change)
6014 * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6015 prefix and leave `temporary-file-directory' unchanged.
6017 2013-11-12 Suvayu Ali <fatkasuvayu+linux@gmail.com> (tiny change)
6019 * org.el (org-speed-commands-default): Change default binding for
6020 org-mark-subtree from "." to "@" to be more consistent with "C-c
6023 2013-11-12 Tim Burt <tcburt@rochester.rr.com> (tiny change)
6025 * org-datetree.el (org-datetree-find-year-create): Also match
6026 headlines with tags.
6028 2013-11-12 Toby S. Cubitt <tsc25@cantab.net>
6030 * org.el (org-time-clocksum-format)
6031 (org-time-clocksum-fractional-format): In addition to a single
6032 format string, the clocksum formats can now be plists specifying
6033 separate formats for different time units.
6034 (org-minutes-to-clocksum-string): New function to replace
6035 `org-minutes-to-hh:mm-string', which converts a number of minutes
6036 to a string according to the customization options.
6038 * org-colview.el (org-columns-number-to-string): Use the new
6039 `org-minutes-to-clocksum-string' function to format clocksum
6042 * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6043 function when formatting time durations, instead of calling
6044 `org-minutes-to-hh:mm-string' or passing
6045 `org-time-clocksum-format' directly to format.
6047 2013-11-12 Tokuya Kameshima <kametoku@gmail.com>
6049 * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6050 (org-mew-subject-alist, org-mew-capture-inbox-folders)
6051 (org-mew-capture-guess-alist): New options.
6052 (org-mew-store-link, org-mew-open): Rewrite.
6053 (org-mew-folder-name, org-mew-follow-link)
6054 (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6055 (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6056 (org-mew-capture-guess-selection-keys): New functions.
6058 2013-11-12 Trevor Murphy <trevor.m.murphy@gmail.com> (tiny change)
6060 * org.el (org-get-compact-tod): Always pad minutes to two places.
6062 2013-11-12 Viktor Rosenfeld <listuser36@gmail.com> (tiny change)
6064 * org.el (org-agenda-prepare-buffers): Add tags defined in
6065 `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6067 2013-11-12 Vitalie Spinu <spinuvit@gmail.com>
6069 * ob-tangle.el (org-babel-find-file-noselect-refresh):
6070 Call `find-file-noselect' with 'nowarn argument to surpress
6071 `yes-or-no-p' reversion message.
6073 * ob-core.el (org-babel-where-is-src-block-head):
6074 Return `point-marker' instead of `point'.
6076 2013-11-12 Yann Hodique <yann.hodique@gmail.com>
6078 * org-publish.el (org-publish-org-to-taskjuggler): New function to
6079 publish taskjuggler projects.
6081 2013-11-12 Yasushi Shoji <yashi@atmark-techno.com>
6083 * org-clock.el (org-clock-x11idle-program-name): New option.
6084 (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6086 2013-11-12 Yoshinari Nomura <nom@quickhack.net>
6088 * ox-html.el (org-html--has-caption-p): New function.
6089 (org-html-link--inline-image, org-html-table): Prepend ordinal
6091 (org-html-link): Make numbered link by counting captioned figures
6094 * ox.el (org-export-dictionary): Add Japanese translations for
6095 figures and tables. Add "Figure %d:" entry in the same manner
6098 2013-11-12 Nicolas Richard <nrichard@ulb.ac.be>
6100 * ob.el (org-babel-edit-distance): When insertion or deletion are
6101 needed, make sure the distance is incremented. In addition, the
6102 now obsolete mmin function was removed.
6104 2013-11-12 Oleh Krehel <wave@mail.ua>
6106 * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6107 if result is not a string and not nil. If the result is nil,
6108 treat it as if it was the empty string.
6110 * org-clock.el (org-clock-notify-once-if-expired):
6111 Honor `org-clock-sound'.
6113 2013-11-12 Rasmus Pank <rasmus.pank@gmail.com>
6115 * org.el (org-format-latex-header): Remove eucal and amsmath.
6116 (org-latex-default-packages-alist): Remove amstext and add
6119 * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6121 * org.el (org-latex-default-packages-alist): Remove latexsym.
6123 * org-entities.el (org-entities): Add support for ell, imath,
6124 jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6125 dag, ddag, colon, therefore, because, triangleq, leq, geq,
6126 lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6127 succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6128 diamond. Changes loz, vert, checkmark, smile and tilde.
6130 * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6133 * org-src.el (org-src-lang-modes): Add association between
6134 language C++ and `c++-mode'.
6136 * ox.el (org-export-smart-quotes-alist): Add ("da" "no" "nb"
6138 (org-export-dictionary): Add some entries ("da" "no" "nb" "nn"
6140 (org-export-default-language): Mention other variables affected by
6143 * ox-latex.el (org-latex-babel-language-alist): Add 'nb', 'nn',
6144 and 'no' for Norwegian. Removed 'no-no'.
6145 (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6146 and change the wording of the docstring.
6147 (org-latex-guess-babel-language): Replace AUTO with language if
6148 AUTO is the option of the LaTeX package Babel.
6149 (org-latex-classes): Update documentation with respect
6150 to `org-latex-guess-babel-language'.
6152 2013-11-12 Дядов Васил Стоянов <vdyadov@elvees.com> (tiny change)
6154 * org-docview.el (org-docview-export): New function to export
6157 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6159 * org-agenda.el (org-agenda-mode):
6160 * org-indent.el (org-indent-mode): Use the `local' arg of
6161 add-hook/remove-hook.
6163 2013-03-08 Bastien Guerry <bzg@gnu.org>
6165 * org-exp.el (org-export-normalize-links): Fix critical bug: do
6166 not rely on `org-context' to guess where to prevent links
6169 2013-02-28 Achim Gratz <Stromeko@Stromeko.DE>
6171 * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6172 org-reload uncompiled in the menu.
6174 2013-02-28 Bastien Guerry <bzg@gnu.org>
6176 * org-indent.el (org-indent-add-properties): Bugfix: prevent
6177 negative value for `added-ind-per-lvl'.
6179 * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6180 `isearch-mode-end-hook' so that any isearch fixes the problem with
6181 ellipsis on the first line.
6182 (org-fix-ellipsis-at-bol): New defsubst.
6183 (org-show-context, org-isearch-end): Use it.
6185 * org.el (org-show-context): Remove useless catch.
6186 Make sure the top of the window is a visible headline.
6187 (org-activate-plain-links): Remove unused catch.
6189 * org-macs.el (org-get-alist-option): Return nil, not (nil),
6190 so that `org-show-context' DTRT.
6192 * org.el (org-imenu-get-tree): Fix bug when matching against empty
6195 * org.el (org-overview): Stay on current line.
6196 (org-map-entries): Fix docstring.
6197 (org-at-clock-log-p): Delete.
6198 * org-clock.el (org-at-clock-log-p): Move here.
6200 * org.el (org-tsr-regexp-both): Don't activate dates in links.
6201 (org-activate-dates): Change match boundaries according to the new
6202 value of `org-tsr-regexp-both'.
6204 * org-agenda.el (org-agenda-to-appt): Fix typos.
6206 * org-agenda.el (org-agenda-local-vars): Don't include
6207 `org-agenda-show-window' as it needs to be checked outside of the
6210 * org.el (org-set-tags-command): Fix bug when setting tags for
6211 multiple headlines in an active region.
6213 * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6214 in an invisible region.
6216 * org.el (org-insert-heading-respect-content): Add docstring.
6217 New `invisible-ok' parameter.
6218 (org-insert-todo-heading-respect-content): Add docstring.
6220 * ob-tangle.el (org-babel-tangle-collect-blocks):
6221 Bugfix: remove code references from blocks.
6223 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6225 (org-agenda-show-new-time): Fix bug when displaying a temporary
6226 overlay with the scheduled/deadline information.
6228 * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6229 (org-setup-filling): Use it to prevent breaking a timestamp when
6230 filling a paragraph.
6232 * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6234 2013-02-28 Tim Burt <tcburt@rochester.rr.com> (tiny change)
6236 * org-datetree.el (org-datetree-find-year-create):
6237 Match headlines with tags.
6239 2013-02-07 Bastien Guerry <bzg@gnu.org>
6241 * org-agenda.el (org-agenda-get-deadlines)
6242 (org-agenda-get-scheduled): Fix bug: use text properties for the
6243 headline text since we rely on properties to get e.g. the effort.
6245 * org-exp.el (org-export-normalize-links): Don't match links
6248 * org-html.el (org-export-html-preamble-format)
6249 (org-export-html-postamble-format): Mention that
6250 org-export-html-preamble/postamble need to be `t' in order for
6251 these variables to have any effect.
6253 * org-html.el (org-html-handle-links): When the link description
6254 is an image and the attribute is "width", pass the attribute to
6257 * org.el (org-mode): Always honor `org-startup-indented', even
6258 when `org-inhibit-startup' is non-nil.
6260 * org-indent.el (org-indent-mode): Don't check
6261 `org-inhibit-startup'.
6263 * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6264 text properties outside of the buffer.
6266 * org.el (org-agenda-inhibit-startup): Rename from
6267 `org-agenda-inhibit-startup-visibility-cycling'.
6268 (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6269 `org-agenda-inhibit-startup'.
6271 * org.el (org-mode): Don't initialize `org-beamer-mode' when
6272 `org-inhibit-startup' is non-nil.
6274 * org-footnote.el (org-footnote-create-definition): Prevent
6275 `electric-indent-mode' from inserting the definition at the wrong
6278 * org-agenda.el (org-agenda-no-heading-message): Delete.
6279 (org-agenda-get-timestamps, org-agenda-get-progress)
6280 (org-agenda-get-deadlines, org-agenda-get-scheduled)
6281 (org-agenda-get-blocks): Don't use
6282 `org-agenda-no-heading-message', skip the entry.
6284 * org.el (org-agenda-inhibit-startup-visibility-cycling):
6286 (org-agenda-prepare-buffers): Use it to speed up the agenda
6289 * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6290 commented scheduled/deadline lines.
6292 * org-clock.el (org-clock-in): Fix bug when fetching the effort
6295 * ob-python.el (org-babel-python-command): Fix docstring.
6296 (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6297 from Emacs >24.1 requires a python command as an argument.
6299 * org-element.el (org-element-at-point): Fix typo in docstring.
6301 * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6302 `org-agenda-show-inherited-tags'.
6304 * org-agenda.el (org-agenda-skip): Correctly handle commented out
6305 scheduled/deadline lines. Refactor.
6307 * org-install.el: Do not warn users.
6309 * org.el (org-adaptive-fill-function): In message-mode, don't
6310 lines in the message header, nor table lines in the body.
6311 Correctly fill lines starting with `org-outline-regexp' in the
6314 * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6317 2013-02-07 Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org> (tiny change)
6319 * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6321 * org-macs.el (org-unmodified): Inhibit modification hooks.
6323 2013-02-07 John K. Luebs <jkluebs@luebsphoto.com> (tiny change)
6325 * org.el (org-get-wdays): Handle matching a lead time specified in
6328 2013-02-07 Muchenxuan Tong <demon386@gmail.com> (tiny change)
6330 * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6331 only when it exists.
6333 2013-02-07 Nicolas Goaziou <n.goaziou@gmail.com>
6335 * org-element.el (org-element-macro-parser): Fix error when last
6336 argument ends with a protected comma.
6338 * org-element.el (org-element-parse-buffer, org-element-map)
6339 (org-element-at-point, org-element-context): Be more verbose in
6340 docstrings. Also fix typos.
6342 * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6343 resetted because of a non-nil ORDERED property value, make sure it
6344 had a checkbox already.
6346 2013-02-07 Tokuya Kameshima <kametoku@gmail.com> (tiny change)
6348 * org-agenda.el (org-search-view): Fix checking
6349 `org-agenda-show-inherited-tags'.
6351 2013-02-07 racin <racin@free.fr> (tiny change)
6353 * org-bibtex.el (org-bibtex-search): Don't throw an error when
6354 `org-bibtex-prefix' is nil.
6356 2013-01-13 Bastien Guerry <bzg@gnu.org>
6358 * org-compat.el (org-condition-case-unless-debug): Delete.
6360 * org-odt.el (org-odt-cleanup-xml-buffers):
6361 Use `condition-case' instead of `org-condition-case-unless-debug',
6362 which is now deleted.
6364 * org-capture.el (org-capture-templates-contexts):
6365 * org-agenda.el (org-agenda-custom-commands-contexts):
6368 * org.el (org-get-tags-at): Remove duplicate inherited tags.
6370 * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
6371 to 'always or to a list of agenda types.
6372 (org-agenda-finalize): Rework conditions under which inherited
6373 tags should be made available even when not displayed.
6374 (org-search-view, org-agenda-get-todos)
6375 (org-agenda-get-timestamps, org-agenda-get-sexps)
6376 (org-agenda-get-progress, org-agenda-get-scheduled)
6377 (org-agenda-get-blocks): Use new possible values of
6378 `org-agenda-show-inherited-tags'.
6380 * org.el (org-open-at-point): Fix opening all links at point.
6382 * org-agenda.el (org-get-entries-from-diary): Turn off
6383 `diary-file-name-prefix' instead of
6384 `diary-file-name-prefix-function', the former is checked before
6387 * org.el (org-edit-special): Check for table.el before checking
6390 2013-01-13 Michael Albinus <michael.albinus@gmx.de>
6392 * ob-eval.el (org-babel-shell-command-on-region):
6393 Use `executable-find' for local `shell-file-name'.
6395 2013-01-09 Achim Gratz <Stromeko@Stromeko.de>
6397 * org-faces.el: Define face alias mode-line for XEmacs (it's
6398 called modeline there).
6400 * org-compat.el (org-no-popups): New wrapper macro which let-binds
6401 the correct variables to suppress popup windows depending on the
6402 Emacs version in use. This is a compile-time decision when
6405 * org.el (org-get-location, org-switch-to-buffer-other-window):
6406 Use the wrapper `org-no-popups' to let-bind the correct variables
6407 for suppression of popup windows.
6409 * org-compat.el (user-error): Defalias to `error' for Emacsen that
6412 * org-agenda.el (org-agenda-write): Use org-called-interactively-p
6413 instead of called-interactively-p.
6415 * org.el (org-find-invisible-foreground): Do not use the value of
6416 variables `default-frame-alist', `initial-frame-alist' and
6417 `window-system-default-frame-alist' when their symbol is not bound.
6419 2013-01-09 Bastien Guerry <bzg@gnu.org>
6421 * org-src.el (org-edit-src-code): Fix bug when trying to edit a
6424 * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
6427 * org.el (org-entry-get): Speed up by let-binding some variables
6428 only if needed. Also fix a bug: consider an empty drawer as no drawer.
6430 * org-agenda.el (org-search-view, org-agenda-get-todos)
6431 (org-agenda-get-timestamps, org-agenda-get-sexps)
6432 (org-agenda-get-progress, org-agenda-get-deadlines)
6433 (org-agenda-get-scheduled, org-agenda-get-blocks)
6434 (org-agenda-change-all-lines): Get local tags only.
6435 (org-agenda-use-tag-inheritance): New option.
6436 (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
6437 is non-nil, possibly reset tags in the agenda buffer.
6438 (org-agenda-check-type): Enhance docstring.
6440 * org.el (org-use-tag-inheritance): Fix typo in docstring.
6442 * org-agenda.el (org-float): Don't alias `org-float'.
6444 * org.el (org-scan-tags): The skipper already checks for archived
6447 * org.el (org-refresh-properties): Rename from
6448 `org-refresh-effort-properties' and use two new parameters.
6449 (org-agenda-prepare-buffers): Use `org-refresh-properties'.
6450 Also refresh the 'org-appt-warntime text property.
6452 * org-clock.el (org-clock-in): Use the renamed defun.
6454 * org-icalendar.el (org-icalendar-print-entries):
6455 Refresh the 'org-appt-warntime property.
6456 (org-icalendar-print-entries):
6457 * org-agenda.el (org-agenda-get-timestamps)
6458 (org-agenda-get-sexps, org-agenda-get-deadlines)
6459 (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
6460 "APPT_WARNTIME" property value.
6462 * org.el (org-id-link-to-org-use-id): Fix compiler warning.
6464 * org-agenda.el (org-agenda-format-item): Do not use
6465 `org-get-effort' to get the effort text property.
6466 (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
6468 * org-clock.el (org-clock-in): Refresh effort properties.
6470 * org.el (org-refresh-effort-properties): New defun.
6471 (org-get-effort): Delete.
6473 (org-property-next-allowed-value): Set the 'org-effort text property.
6474 (org-agenda-prepare-buffers): Refresh effort properties.
6476 * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
6477 nil so that the mouse doesn't jump when the option is set to t globally.
6479 * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
6480 (org-agenda-dim-blocked-tasks): Make interactive and allow an
6481 optional parameter 'invisible to hide blocked tasks instead of
6483 (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
6485 * org-agenda.el (org-agenda-finalize): Don't try to align tags
6486 when there are no tags. Only try to draw the habit consistency
6487 graph when there is a habit in the buffer. Only mark clocking
6488 task when there is one.
6490 * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
6492 * org.el (org-get-priority): Save match data even when using
6493 `org-get-priority-function'.
6495 * org-mobile.el (org-mobile-create-index-file):
6496 Possibly normalize `org-todo-keywords'.
6498 * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
6500 * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
6501 of the obsolete variable name.
6503 * org.el (org-fontify-meta-lines-and-blocks-1):
6504 Fix bug when fontifying keywords with no value.
6506 * org.el (org-goto-auto-isearch): Enhance docstring.
6507 (org-goto-map): Make a defun, so that the customized value of
6508 org-goto-auto-isearch is correctly initialized.
6509 (org-goto): Initialize the keymap with `org-goto-map'.
6510 (org-get-location): Use *Org Help* as a temporary buffer.
6511 Tell whether auto-isearch is on or off.
6513 * org-exp.el (org-export-as-org): Remove useless argument.
6515 * org-docbook.el (org-export-as-docbook-batch)
6516 (org-export-region-as-docbook, org-export-as-docbook-pdf):
6517 Fix the number of arguments.
6518 (org-export-as-docbook): Remove useless argument.
6520 * org.el (org-speed-commands-default): Use ":" instead of ";" for
6521 `org-set-tags-command', which is consistent with ":" in agenda
6522 view. Use "=" for `org-columns".
6524 * org.el (org-sparse-tree): Fix redundant information in prompt.
6526 * org-exp.el (org-export-string): Fix number of arguments passed
6527 to the org-export-as-* functions.
6529 * org-latex.el (org-export-as-latex): Fix typo in docstring.
6531 * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
6533 * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
6534 bug when fontifying a keyword with no associated value.
6535 (org-cycle-internal-local): Don't run hooks when cycling a plain
6536 list before first headline.
6537 (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
6539 (org-indent-line): Fix table formulas indenting.
6541 * org-agenda.el (org-agenda-open-link): Fix bug when no link is
6542 matched. Return a message instead of an error.
6543 (org-agenda-priority): Remove useless parameter and fix showing
6544 priority in agenda buffers.
6546 * org-macs.el (org-with-buffer-modified-unmodified): New macro.
6548 * org.el (org-entry-blocked-p): Use the new macro.
6550 * org-src.el (org-edit-src-exit): Don't comma-escape the content
6551 of a fixed width region.
6553 * org.el (org-blocker-hook): Update the docstring to mention that
6554 functions in this hook should not modify the buffer.
6555 (org-trigger-hook): Small docstring fix.
6556 (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
6557 so that the function never modifies the buffer.
6559 * org-agenda.el (org-agenda-open-link): Allow to open an internal
6560 link by using the new `org-offer-links-in-entry' function.
6562 * org.el (org-offer-links-in-entry): Do not open the link directly
6563 through `org-open-link-from-string', only offer to select a link
6564 and return a cons with the link (as a string) and the end of entry.
6565 (org-open-at-point): Use `org-offer-links-in-entry' correctly.
6567 * org.el (org-cycle-internal-local):
6568 Fix bug: allow headings with leading blank characters.
6570 * org-clock.el (org-clock-persist):
6571 Docstring fix: document the 'history value.
6573 * org.el (org-insert-link): Fix bug when inserting links to
6574 headlines containing the ">" character.
6576 * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
6578 * org-compat.el (org-delete-directory): New compatibility function
6579 for Emacs 22, where `delete-directory' does not support recursive
6582 * org-odt.el (org-odt-cleanup-xml-buffers):
6583 Use the new compatibility function.
6585 * org.el (org-table-map-tables): Fix allowed blocks.
6587 * org.el (org-edit-special):
6588 * org-src.el (org-edit-src-code): Fix regression: allow editing
6589 HTML and LaTeX source blocks again.
6591 * org.el (org-nonsticky-props): Add `htmlize-link'.
6592 (org-nonsticky-props): Add `htmlize-link'.
6594 * org.el (org-edit-special):
6595 * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
6597 * org-table.el (org-table-fedit-lisp-indent)
6598 (orgtbl-self-insert-command): Use `org-delete-backward-char'
6599 instead of `backward-delete-char'.
6601 * org-src.el (org-edit-src-code): Fix another bug about editing
6602 special blocks "example" and "verbatim".
6604 * org.el (org-structure-template-alist): Add verbatim.
6605 (org-edit-special): Fix bug about editing special blocks
6606 "example" and "verbatim".
6608 * org.el (org-delete-backward-char, org-delete-char):
6609 Save match data, `delete-backward-char' and `delete-char' don't.
6611 * org.el (org-enable-table-editor, org-insert-heading)
6612 (org-remove-timestamp-with-keyword, org-self-insert-command):
6613 * org-table.el (org-table-fedit-lisp-indent)
6614 (orgtbl-self-insert-command):
6615 * org-latex.el (org-export-latex-subcontent):
6616 * org-clock.el (org-clocktable-write-default):
6617 * org-ascii.el (org-export-ascii-preprocess):
6618 Use `delete-backward-char' instead of `backward-delete-char'.
6620 * org.el (org-todo): Ignore the comment string when changing the
6621 TODO state of a headline.
6622 (org-edit-special): Fix docstring.
6623 (org-in-src-block-p): Small enhancement.
6625 * org-publish.el (org-publish-org-to): Call `org-export-as-*'
6626 functions with the correct list of arguments.
6628 * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
6629 (org-export-as-html-and-open, org-export-as-html-batch)
6630 (org-export-region-as-html): Don't use obsolete arg.
6632 * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
6633 (org-export-as-ascii-to-buffer): Don't use obsolete arg.
6635 * org.el (org-in-fixed-width-region-p): Save match data.
6636 (org-in-src-block-p): Use case-folding for searching the block
6638 (org-activate-plain-links, org-activate-angle-links)
6639 (org-activate-bracket-links): Prevent link activation in
6642 * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
6643 setting the correct buffer before marking it unmodified to
6646 * org.el (org-set-font-lock-defaults): Don't activate links in
6647 source code blocks and fixed-width regions.
6649 * org-agenda.el (org-agenda-finalize): Fix links activation.
6651 * org.el (org-open-at-point): Throw the correct error on
6652 non-links. Use `user-error' instead of `error'.
6654 * org.el (org-in-fixed-width-region-p): Define before use.
6656 * org-src.el (org-in-src-block-p): Declare function.
6658 * org-compat.el: Fix bug: don't use `eval-when-compile' when
6659 aliasing `user-error'.
6661 * org-agenda.el (org-agenda-skip): Only check if point is
6662 inside a code block, not at a code block.
6664 * org.el (org-in-fixed-width-region-p):
6665 Rewrite using org-element.el.
6667 * org.el (org-fill-paragraph): Fill correctly in source code block.
6669 * org.el (org-in-fixed-width-region-p): New function.
6670 (org-edit-special): Fix bug: make sure to DTRT in every
6671 special environment. Also use the new function to check
6672 against fixed-width environment.
6674 * org-src.el (org-edit-src-code): Check if we are in a source code
6675 block with `org-in-src-block-p'. Slightly reformat the docstring.
6677 * org.el (org-in-src-block-p): Return t when point is at the
6678 #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
6679 'inside is set to t.
6681 * ob-exp.el (obe-marker): Delete useless var.
6683 * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
6684 (copy-marker nil) on Emacs <24.1.
6686 2013-01-09 Dmitry Antipov <dmantipov@yandex.ru>
6688 * org-agenda.el (org-agenda-get-restriction-and-command):
6689 * org-capture.el (org-capture-place-template):
6690 * org-colview.el (org-dblock-write:columnview):
6691 * org-mobile.el (org-mobile-locate-entry):
6692 * org-table.el (org-table-convert-region):
6693 * org.el (org-update-statistics-cookies): Use `point-marker'.
6695 2013-01-09 Eric Schulte <eric.schulte@gmx.com>
6697 * org-exp.el (org-export-string): Pass the dir option on through
6698 to any subsequent export functions.
6700 2013-01-09 Henning Weiss <hdweiss@gmail.com> (tiny change)
6702 * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
6703 description from block agendas when they have a title.
6705 2013-01-09 Jambunathan K <kjambunathan@gmail.com>
6707 * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
6708 Fix Emacs Bug#13254.
6710 * org-odt.el (org-odt-format-org-link): Add check for presence of
6711 description in headline links.
6713 2013-01-09 Michael Gauland <mike_gauland@stanfordalumni.org> (tiny change)
6715 * org-src.el: Create a marker to pass to copy-marker.
6717 2013-01-09 Nicolas Goaziou <n.goaziou@gmail.com>
6719 * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
6720 nil because `org-adaptive-fill-function' already determines which
6721 lines should be filled.
6723 * org.el (org-fill-paragraph): Small refactoring.
6725 * org-element.el (org-element--parse-elements)
6726 (org-element-at-point): Fix parsing of a list in a block in a list.
6728 2013-01-09 Sebastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
6730 * org.el (org-copy-subtree, org-paste-subtree):
6731 Fix whitespace handling when copying/pasting a subtree.
6733 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
6735 * ob.el (org-babel-temp-file): Fix setting of
6736 `temporary-file-directory' on remote hosts.
6738 * ob-eval.el (org-babel-shell-command-on-region):
6739 Use `process-file' instead of `call-process-region'. The latter one
6740 does not work on remote hosts.
6742 2012-12-13 Bastien Guerry <bzg@gnu.org>
6744 * org-latex.el (org-export-latex-links): Escape raw path when
6745 exporting links to files.
6747 * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
6748 S-TAB key should not trigger a native TAB command.
6750 * org.el (org-open-at-point): Allow to open any link within
6751 footnotes definition, not only bracket links.
6753 * org.el (org-sort-entries): Bugfix: keep track of the clock
6754 marker when sorting entries. Enhance the docstring.
6756 * org-clock.el (org-clock-out): Use `user-error' when the user
6757 tries to clock out while there is no running clock.
6759 * org-table.el (org-table-sort-lines): Ensure coordinates are
6760 correctly displayed when sorting.
6762 * org.el (org-do-sort): Enhance prompt.
6764 * org-agenda.el (org-agenda-finalize): Also activate plain links.
6766 * org-timer.el (org-timer-stop): Add message.
6768 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6769 Fix redundant messages.
6771 * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
6773 * org.el (org-additional-option-like-keywords): Add "INDEX:".
6775 * org-install.el: Enhance warning.
6777 2012-12-13 Erik Hetzner <egh@e6h.org> (tiny change)
6779 * org.el (org-log-into-drawer): Honor the nil value for the
6780 :LOG_INTO_DRAWER: property.
6782 2012-12-13 Le Wang <l26wang@gmail.com> (tiny change)
6784 * org-src.el (org-edit-src-exit): Fix editing source section with
6787 2012-12-13 Le Wang <le.wang@agworld.com.au>
6789 * org-src.el (org-edit-src-code): Use marker with insertion type
6790 t to track end and remove hack requiring delete from beg to (1- end).
6792 2012-12-13 Nicolas Goaziou <n.goaziou@gmail.com>
6794 * org-element.el (org-element-context): When point is between two
6795 objects, be sure to return the second one.
6797 * org-list.el (org-list-separating-blank-lines-number):
6798 When computing number of blank lines separating items, also count those
6799 in unparsed blocks, like example blocks.
6801 * org.el (org-end-of-line): When visual line mode is on, really
6802 move by visual lines. Small refactoring.
6804 * org.el (org-end-of-line): On a hidden block make sure to
6805 delegate motion to `end-of-line' instead of `move-end-of-line' in
6806 order to stay on the current line.
6808 2012-12-13 Rafael Laboissiere <rafael@laboissiere.net> (tiny change)
6810 * org-bibtex.el: In the documentation section of the file, fix the
6811 broken URL to Andrew Roberts' document on BibTeX entries.
6813 * org-remember.el (org-remember-handler): Correctly strip the
6814 comment lines in the temporary buffer *Remember* when handling a
6817 * org-remember.el (org-remember-apply-template): Start the
6818 commented lines in the Remember temporary buffer with the
6819 appropriate characters.
6821 2012-12-13 Toby S. Cubitt <tsc25@cantab.net>
6823 * org.el (org-beginning-of-line): Check `visual-line-mode' instead
6824 of `line-visual-mode' to determine whether to move by visual lines.
6826 * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
6828 2012-12-04 Chong Yidong <cyd@gnu.org>
6830 * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
6833 2012-10-26 Achim Gratz <stromeko@stromeko.de>
6835 * ob-ditaa.el: Needs to (require 'org-compat) for
6836 org-find-library-dir.
6838 * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
6839 work when loaded from compressed files.
6841 * org-compat.el: Make sure that file-name-directory is getting a
6842 stringp. This avoids a possible " (wrong-type-argument stringp
6843 nil)" error when the library in question does not exist.
6845 * org-odt.el: Replace arc-mode.el by arc-mode.
6847 * org.el: Replace org-macs.el by org-macs.
6849 * org-install.el: Provide an empty file that prints a warning
6850 about an outdated configuration.
6852 2012-10-26 Bastien Guerry <bzg@gnu.org>
6854 * org-latex.el (org-export-as-latex): Remove obsolete argument
6855 `hidden'. Also fix the docstring: using 'string as the value
6856 for `to-buffer' outputs a string with no LaTeX header.
6857 (org-export-as-latex-batch)
6858 (org-export-as-latex-to-buffer, org-export-region-as-latex)
6859 (org-export-as-pdf): Don't use the obsoleted argument.
6861 * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
6864 * org.el (org-refile): Run within `with-demoted-errors' so that a
6865 corrupted bookmark file does not stop the refile process.
6867 * org-capture.el (org-capture-bookmark-last-stored-position):
6868 Ditto for the capture process.
6870 * org-src.el (org-edit-src-exit): Fix bug when saving an empty
6873 * org-lparse.el (org-lparse): Fix bug by returning the output
6876 * org.el (org-refile-check-position): Throw an error when the
6877 refile target is the current buffer and is not a file.
6878 (org-agenda-file-to-front, org-remove-file): Throw an error
6879 when the current buffer is not a file.
6880 (org-check-agenda-file): Enhance the message.
6881 (org-element-type): Autoload.
6882 (org-element-context, org-element-paragraph-parser):
6883 Don't declare as these two functions are not used in org.el.
6885 * org-lparse.el (browse-url-file-url): Declare.
6887 * org.el (org-refile-check-position): Fix typo in docstring.
6889 * org-clock.el (org-clock-modeline-total): Make obsolete.
6890 (org-clock-mode-line-total): Rename from
6891 `org-clock-modeline-total'.
6892 (org-clock-get-sum-start): Fix references to
6893 `org-clock-modeline-total'.
6895 * org-faces.el (org-agenda-filter-tags)
6896 (org-agenda-filter-category, mode-line): Use the 'mode-line
6897 face instead of the obsolete 'modeline.
6899 * org-odt.el (org-odt-styles-dir): Try more directories.
6900 Don't throw an error, just send a message.
6902 * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
6903 (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
6904 (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
6905 correct directories without requiring other variables.
6907 * org-loaddefs.el: New file.
6909 * org.el ("org-loaddefs.el"): Don't throw an error if the file
6911 (org-version): Use org-loaddefs.el instead of org-install.el.
6913 * org.el: Don't dynamically autoload already autoloaded
6915 (org-clock-update-time-maybe): Move to org-clock.el.
6917 * org-exp.el (org-insert-export-options-template):
6918 Remove autoload cookie.
6920 * org-clock.el (org-resolve-clocks, org-clock-in)
6921 (org-clock-out, org-clock-cancel, org-clock-goto)
6922 (org-clock-sum, org-clock-display, org-clock-report)
6923 (org-dblock-write:clocktable): Add autoload cookie.
6924 (org-clock-update-time-maybe): Move from org.el.
6926 * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
6928 * org-ascii.el (org-export-ascii-preprocess): Ditto.
6930 * org-archive.el (org-archive-subtree)
6931 (org-archive-to-archive-sibling, org-toggle-archive-tag):
6932 Add autoload cookie.
6934 * org-colview.el (org-columns, org-dblock-write:columnview)
6935 (org-insert-columns-dblock, org-agenda-columns): Ditto.
6937 * org-table.el (org-table-create-with-table.el)
6938 (org-table-create-or-convert-from-region, org-table-create)
6939 (org-table-convert-region, org-table-import)
6940 (org-table-export, org-table-align)
6941 (org-table-justify-field-maybe, org-table-next-field)
6942 (org-table-previous-field, org-table-next-row)
6943 (org-table-copy-down, org-table-field-info)
6944 (org-table-current-dline, org-table-goto-column)
6945 (org-table-insert-column, org-table-delete-column)
6946 (org-table-move-column-right, org-table-move-column-left)
6947 (org-table-move-column, org-table-move-row-down)
6948 (org-table-move-row-up, org-table-move-row)
6949 (org-table-insert-row, org-table-insert-hline)
6950 (org-table-hline-and-move, org-table-kill-row)
6951 (org-table-sort-lines, org-table-cut-region)
6952 (org-table-copy-region, org-table-paste-rectangle)
6953 (org-table-convert, org-table-wrap-region)
6954 (org-table-edit-field, org-table-sum)
6955 (org-table-get-stored-formulas)
6956 (org-table-maybe-eval-formula)
6957 (org-table-rotate-recalc-marks)
6958 (org-table-maybe-recalculate-line, org-table-eval-formula)
6959 (org-table-recalculate, org-table-iterate)
6960 (org-table-edit-formulas)
6961 (org-table-toggle-coordinate-overlays)
6962 (org-table-toggle-formula-debugger, orgtbl-to-generic)
6963 (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
6964 (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
6966 * org.el (turn-on-orgtbl): Move here from org-table.el.
6967 (org-clock-persistence-insinuate): Move here from org-clock.el.
6968 (org-update-all-dblocks, org-map-entries)
6969 (org-require-autoloaded-modules, org-forward-element)
6970 (org-backward-element, org-up-element)
6971 (org-element-greater-elements, org-drag-element-backward)
6972 (org-drag-element-forward, org-mark-element)
6973 (org-narrow-to-element, org-transpose-element)
6974 (org-unindent-buffer): Don't autoload.
6976 * org-clock.el (org-clock-get-clocktable): Rename from
6977 `org-get-clocktable'.
6978 (org-clock-persistence-insinuate): Move to org.el.
6980 * org-capture.el: Do no set `generated-autoload-file' locally.
6981 Minor code clean up.
6983 * org-agenda.el (org-agenda-list):
6984 Use `org-clock-get-clocktable'. Do no set
6985 `generated-autoload-file' locally.
6987 * org-table.el (org-table-iterate-buffer-tables):
6989 (turn-on-orgtbl): Move to org.el.
6991 * org-html.el (org-export-htmlize-generate-css): Don't autoload.
6993 * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
6996 * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
6998 * ob-lob.el (org-babel-lob-ingest): Ditto.
7000 * org-id.el (org-id-copy)
7001 (org-id-get-with-outline-path-completion)
7002 (org-id-get-with-outline-drilling): Ditto.
7004 * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7005 (org-lparse-to-buffer, org-replace-region-by)
7006 (org-lparse-region): Ditto.
7008 * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7010 * org.el (org-cycle): Fix misplaced autoload cookie.
7012 * org-agenda.el (org-agenda-get-timestamps): Check if the item
7013 is an habit when formatting it with `org-agenda-format-item'.
7014 (org-agenda-get-blocks): Fix bug: don't assume the item is an
7015 habit when formatting with `org-agenda-format-item'.
7017 * org.el (org-calendar-agenda-action-key): Delete an option.
7018 (org-mode-map): Delete its keybinding.
7019 (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7022 * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7023 being used outside of Org agendas, as it can be used in
7024 calendar buffers too.
7026 2012-10-26 Caio Tiago Oliveira <asrail@gmail.com> (tiny change)
7028 * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7029 block enclosing the submitted code.
7031 2012-10-26 Myles English <mylesenglish@gmail.com> (tiny change)
7033 * org-clock.el (org-clock-in): Move the call to
7034 org-clock-in-prepare-hook until the task's properties
7037 2012-10-26 Nicolas Goaziou <n.goaziou@gmail.com>
7039 * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7040 mode is nil when pre-computed `fill-prefix' is the empty string.
7041 Otherwise filling functions from fill.el think it has to be computed
7042 again and overwrite it.
7044 * org.el: Make `org-closest-date' aware of hours repeaters.
7046 * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7047 moving to the end of line. Also improve behavior on elements that
7050 * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7053 * org-element.el (org-element--get-next-object-candidates):
7054 Fix parsing of objects of the same type in a single paragraph.
7056 * org-element.el (org-element-sub/superscript-successor):
7057 Fix parsing of sub/superscript at beginning of item.
7058 (org-element-latex-or-entity-successor): Fix parsing of latex
7059 fragments at beginning of item.
7061 * org-agenda.el (org-agenda-later): Fix function when span is
7062 a number and an argument was provided. Also fix typo in docstring.
7064 * org.el (org-read-date-analyze): Fix analyzing for dates like
7067 * org-element.el (org-element-center-block-parser)
7068 (org-element-drawer-parser, org-element-footnote-definition-parser)
7069 (org-element-inlinetask-parser, org-element-plain-list-parser)
7070 (org-element-quote-block-parser, org-element-special-block-parser)
7071 (org-element-babel-call-parser, org-element-clock-parser)
7072 (org-element-comment-parser, org-element-comment-block-parser)
7073 (org-element-example-block-parser, org-element-export-block-parser)
7074 (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7075 (org-element-keyword-parser, org-element-latex-environment-parser)
7076 (org-element-paragraph-parser, org-element-planning-parser)
7077 (org-element-property-drawer-parser, org-element-src-block-parser)
7078 (org-element-table-parser)
7079 (org-element-verse-block-parserorg-element-dynamic-block-parser):
7080 Make sure element never ends at the end of a blank non-empty line.
7082 * org-element.el (org-element-context)
7083 (org-element--get-next-object-candidates): Fix `org-element-context'.
7084 In particular, the restrictions for an object may be different from
7085 those of its container (i.e. table rows and table cells).
7087 * org-element.el (org-element-example-block-parser)
7088 (org-element-src-block-parser): Store value of example-blocks and
7089 src-blocks unescaped.
7090 (org-element-example-block-interpreter)
7091 (org-element-src-block-interpreter): Escape value again when storing
7094 * org-src.el (org-escape-code-in-string)
7095 (org-unescape-code-in-string, org-escape-code-in-region)
7096 (org-unescape-code-in-region): New functions.
7097 (org-edit-src-code, org-edit-src-exit): Use new functions.
7099 * org.el (org-strip-protective-commas): Remove function.
7101 * org-exp.el (org-export-select-backend-specific-text): Use new
7104 * ob.el (org-babel-parse-src-block-match)
7105 (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7106 Always escape produced blocks, independently on the language of the
7107 block, if any. Use new functions.
7109 * org-element.el (org-element-paragraph-parser): Fix regexp
7112 * org-element.el (org-element-center-block-parser):
7113 (org-element-drawer-parser, org-element-dynamic-block-parser)
7114 (org-element-example-block-parser, org-element-export-block-parser)
7115 (org-element-latex-environment-parser, org-element-paragraph-parser)
7116 (org-element-property-drawer-parser, org-element-src-block-parser)
7117 (org-element-verse-block-parser): Use stricter regexps for boundaries
7120 2012-10-26 Toby S. Cubitt <tsc25@cantab.net>
7122 * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7123 beginning of re-search-forward loop, otherwise next iteration picks up
7124 `extra' value from previous entry.
7126 2012-09-30 Abdó Roig-Maranges <abdo.roig@gmail.com>
7128 * org-html.el (org-export-html-preprocess)
7129 (org-export-html-format-image):
7130 Use `org-latex-preview-ltxpng-directory'.
7132 * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7135 * org.el (org-latex-preview-ltxpng-directory): New option.
7136 (org-preview-latex-fragment): Store LaTeX preview images in
7137 `org-latex-preview-ltxpng-directory'.
7139 2012-09-30 Achim Gratz <Stromeko@Stromeko.DE>
7141 * ob-R.el (org-babel-R-initiate-session): Protect against use of
7142 unbound variable `ess-ask-for-ess-directory´. The default for this
7143 variable is true, so act accordingly if it is found unbound.
7145 * ob-R.el: Remove initialization with `nil´ from
7146 `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7147 Remove second declaration for `ess-local-process-name´.
7149 * org-gnus.el: Add a missing require for gnus-util.
7151 * org-compat.el: Rename utils to make throughout.
7153 * org.el: Move check for outline-mode-keymap after (require
7156 * org-element.el: New file. Do not (require 'org).
7158 * org-agenda.el: Remove duplicate requires.
7160 * org.el (org-mode-map): Add keybindings to
7161 `org-element-transpose' and `org-narrow-to-element'.
7162 (org-metaup): Fall back on `org-element-drag-backward'.
7163 (org-metadown): Fall back on `org-element-drag-forward'.
7164 Also move chunks of declarations and require statements to get rid of
7167 * org-exp-blocks.el (org): Don't require org. Add declarations.
7169 * org-clock.el (org): Don't require org.
7171 * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7173 * ob.el (org-babel-exeext): New defconst to hold extension for
7174 executables or nil if none. Should be ".exe" for both Windows and
7177 * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7178 constructing the target file name for the compiled executable.
7180 * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7181 when constructing the target file name for the compiled
7184 * org-version.el: New file.
7186 * org-compat.el (org-check-version): New macro. Check if
7187 org-version.el exists and provide autoloads to that. Otherwise
7188 check if org-fixup.el exists and use it to provide definitions.
7189 Finally if nothing worked, complain about a botched installation
7190 and provide fallback definitions.
7192 * org.el: Use org-check-version.
7194 * org.el: Fix a subtle error resulting in version functions
7195 sometimes not being defined and byte-compiling failing.
7196 Always compile in fallback definitions into org.elc -- org-fixup either
7197 provides re-definitions at compile-time or checks org-version.el
7198 and then the git work tree when run uncompiled. So the fallback
7199 definitions will only come into effect when org-fixup is not
7202 * org.el (org-version): Make org-version more robust, e.g. when
7203 byte-compiling single files with 'make compile-dirty'.
7205 * org.el (org-reload): Revert an undesirable change in org-reload.
7206 Do not prepend org-dir to babel-files, which prevents the files
7207 from being found in load-path.
7209 * org.el (org-version): Add optional parameters 'full and 'message
7210 to optionally return the full version string and echo to message
7211 area in non-interactive calls.
7213 * org.el (org-submit-bug-report): Add optional parameter 'full to
7214 call of (org-version) so that the bug report has all version
7217 * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7218 exist anymore). Keep org-*.el at the end of the files list.
7219 Explicitly load org-version.el (since it doesn't provide feature
7220 'org-version) at the very end, but ignore errors when it doesn't
7221 exist. Add parameters 'full and 'message to the call of
7222 (org-version) so that after reload the full version information is
7223 displayed in the message area again.
7225 * org-agenda.el: Replace with-no-warnings with org-no-warnings
7226 (defined in org-macs.el).
7228 * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7229 (defined in org-macs.el).
7231 * org-clock.el: Replace with-no-warnings with org-no-warnings
7232 (defined in org-macs.el).
7234 * org.el: Replace with-no-warnings with org-no-warnings (defined
7237 * org.el: Add with-not-warnings around call of (org-fixup).
7239 * org-compat.el (org-find-library-dir):
7240 Rename org-find-library-name (misleading) and implement with a function
7241 that exists identically in Emacs/XEmacs.
7243 * org-exp-blocks.el: Change calls to org-find-library-dir.
7245 * org.el: change calls to org-find-library-dir. Make require for
7246 noutline fail silently because it is missing from XEmacs.
7248 * org.el (org-version): Use functions instead of global variables
7249 to get the version strings and remove the defvaralias to
7250 org-version. Warn when encountering a mixed installation (org and
7251 org-install.el should be found in the same directory).
7253 * org.el: Add with-no-warning to defvar for two unprefixed global
7254 variables from calendar.el (there's nothing else we can do inside
7255 org until it is fixed in calendar.el).
7257 * org.el: Require find-func and remove declare-function for
7258 find-library-name, otherwise autoloaded org-version doesn't show
7261 * org.el (org-version): Show the full path to org-install.el in
7262 the version string to avoid confusion if multiple installations
7263 exist or a previously loaded org-install.el has already defined a
7264 version string that is now out of date.
7266 * org.el (org-version): Remove determination of version
7267 information, show "N/A" if the information is not provided via
7270 * org.el (org-git-version): Placeholder for recording the Git
7271 version of org during install
7273 * org.el (org-version): Initialize local git-version with
7274 placeholder and fall through using it when org is not installed in
7277 2012-09-30 Adam Spiers <orgmode@adamspiers.org> (tiny change)
7279 * org-html.el: Add hyperlink to http://orgmode.org/ from export
7282 * org-clock.el (org-clock-modify-effort-estimate): Display a
7283 message when no clock is currently active.
7285 2012-09-30 Andrew Hyatt <ahyatt@gmail.com> (tiny change)
7287 * org-archive.el (org-archive-subtree): Allow archiving to a
7290 * org.el (org-archive-location): Ditto.
7292 2012-09-30 Bastien Guerry <bzg@gnu.org>
7294 * ob-io.el: New file.
7296 * ob-scala.el: New file.
7298 * org.el (org-url-hexify-p, org-doi-server-url)
7299 (org-latex-preview-ltxpng-directory, org-custom-properties)
7300 (org-sparse-tree-default-date-type): Add :version "24.3".
7302 * org-agenda.el (org-agenda-sticky)
7303 (org-agenda-custom-commands-contexts): Ditto.
7305 * org-capture.el (org-capture-bookmark)
7306 (org-capture-templates-contexts) (org-capture-use-agenda-date):
7309 * org-latex.el (org-export-latex-hyperref-options-format)
7310 (org-export-latex-link-with-unknown-path-format): Ditto.
7312 * org-id.el (org-id-link-to-org-use-id): Ditto.
7314 * org-datetree.el (org-datetree-add-timestamp): Ditto.
7316 * org.el (org-make-link-description-function): Enhance docstring.
7317 (org-insert-link): Fall back on interactive prompt when
7318 `org-make-link-description-function' fails.
7320 * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7321 `org-agenda-sticky' is non-nil.
7323 * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7324 (org-agenda-pre-follow-window-conf): New variable.
7325 (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7326 window when there an indirect buffer is already displayed.
7328 * org-agenda.el (org-agenda-manipulate-query)
7329 (org-agenda-goto-date, org-agenda-goto-today)
7330 (org-agenda-find-same-or-today-or-agenda, )
7331 (org-agenda-later, org-agenda-change-time-span)
7332 (org-agenda-change-all-lines)
7333 (org-agenda-execute-calendar-command)
7334 (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7335 get a property from (1- (point-max)), not (point-max)).
7337 * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7340 * org-table.el (org-table-eval-formula): Convert time-stamps to
7341 inactive time-stamp so that Calc can handle them correctly.
7343 * org-table.el (org-table-fix-formulas): Warn with a message when
7344 formulas have been updated.
7346 * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7347 base-dir argument and use (file-name-directory file) to get the
7349 (org-publish-update-timestamp)
7350 (org-publish-cache-file-needs-publishing):
7351 Call `org-publish-cache-ctime-of-src' with only one argument.
7353 * org.el (org-follow-timestamp-link): Fix bug when using sticky
7354 agenda. Add a docstring.
7356 * org-agenda.el (org-agenda-sticky): Don't use a function to set.
7357 Add a :version string.
7359 * org.el (org-priority): Use a new argument to show priority
7360 instead of setting it.
7361 (org-show-priority): New function to show priority both in normal
7362 Org buffers and in Org Agenda buffers.
7363 (org-speed-commands-default): Use "," as a speed command for
7366 * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
7367 to `C-c ,' as it was before.
7368 (org-agenda-show-priority): Delete.
7369 (org-agenda-priority): Use a new argument to show priority instead
7372 * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
7374 (org-display-inline-remove-overlay): Rename from
7375 `org-display-inline-modification-hook'.
7376 (org-speed-command-activate): Rename from
7377 `org-speed-command-default-hook'.
7378 (org-babel-speed-command-hook): Rename from
7379 `org-babel-speed-command-activate'.
7381 * org-agenda.el (org-agenda-update-agenda-type): Rename from
7382 `org-agenda-post-command-hook'.
7383 (org-agenda-mode): Use the new name.
7384 (org-agenda-post-command-hook): Define as obsolete function.
7386 * org-lparse.el (org-lparse): Temporarily activate the hooks
7387 needed for the ODT conversion.
7388 (org-lparse-preprocess-after-blockquote): Rename from
7389 `org-lparse-preprocess-after-blockquote-hook'.
7390 (org-lparse-strip-experimental-blocks-maybe): Rename from
7391 `org-lparse-strip-experimental-blocks-maybe'.
7392 (org-lparse-preprocess-after-blockquote-hook)
7393 (org-lparse-strip-experimental-blocks-maybe-hook): Define as
7396 * ob.el (org-babel-insert-result): Comma-escape results inserted
7397 with ":results org".
7399 * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
7400 saving the source editing window with the default value for
7401 `org-src-window-setup' (i.e. 'reorganize-frame).
7403 * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
7404 fontify the last character.
7406 * org.el (org-open-at-point): Don't follow timestamp within
7409 * org-capture.el (org-capture-templates): Fix typo in docstring.
7411 * org-agenda.el (org-agenda-skip): Skip information retrieved from
7414 * ob.el (org-babel-common-header-args-w-values)
7415 (org-babel-insert-result): Reintroduce ":results org" but using
7416 "#+BEGIN_SRC org", not "#+BEGIN_ORG".
7418 * ob.el (org-babel-common-header-args-w-values): Remove "org" the
7419 list of predefined values for the ":results" parameter.
7421 * ob.el (org-babel-insert-result): Remove support for ":results
7424 * ob.el (org-babel-common-header-args-w-values)
7425 (org-babel-insert-result): Deprecate ":results wrap" in favor of
7428 * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
7429 happens before the first headline.
7431 * org-capture.el (org-at-encrypted-entry-p)
7432 (org-encrypt-entry, org-decrypt-entry): Declare.
7433 (org-capture-set-target-location): Check whether `org-crypt' has
7436 * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
7439 * org-capture.el (org-capture-finalize): Maybe re-encrypt the
7440 target headline if it was decrypted.
7441 (org-capture-set-target-location): Maybe decrypt the target
7444 * org-crypt.el (org-at-encrypted-entry-p): New function.
7446 * org.el (org-options-keywords): Add "STYLE:".
7448 * org-agenda.el (org-agenda-ndays): Don't make an alias, as
7449 `org-agenda-span' is defined separately.
7451 * org.el (org-in-subtree-not-table-p): New utility function for
7453 (org-org-menu): Add an item for refiling. Check more contexts
7454 when activating items.
7455 (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
7457 * org-agenda.el (org-agenda-tree-to-indirect-buffer)
7458 (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
7460 * org-capture.el (org-capture-set-target-location): Set a correct
7461 time value when storing a note in a datetree and prompting the
7464 * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
7467 * org-agenda.el (org-agenda-menu-two-column)
7468 (org-finalize-agenda-hook, org-agenda-ndays):
7469 Use `define-obsolete-variable-alias' instead of
7470 `make-obsolete-variable'.
7472 * org.el (org-link-to-org-use-id): Move to org-id.el.
7474 * org-id.el (org-id-link-to-org-use-id): Rename from
7475 `org-link-to-org-use-id'. Use `nil' as the default value.
7476 (org-link-to-org-use-id): Alias and define as obsolete.
7478 * org-agenda.el (org-search-view, org-agenda-get-todos)
7479 (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
7480 parameter of `org-agenda-format-item' so that 'time-up and
7481 'time-down agenda sorting strategies are handled correctly.
7483 * org-capture.el (org-capture-fill-template): Fix checking of
7484 protected template entries.
7486 * org.el (org-cycle-global-at-bob): Fix typo in docstring.
7488 * org.el (org-insert-drawer): Deactivate the mark before trying to
7489 indent the :END: of the drawer.
7491 * org-agenda.el (org-agenda-export-html-style): Default to nil as
7492 any string value will replace the htmlize style.
7494 * org.el (org-cycle-hook): Fix tiny typo in docstring.
7496 * org.el (org-time-string-to-time)
7497 (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
7499 * org-freemind.el (org-freemind-write-node): Enhance links
7500 conversion in nodes.
7502 * org-freemind.el (org-freemind-write-node): Convert links in
7505 * org.el (org-link-to-org-use-id, org-directory)
7506 (org-default-notes-file, org-reverse-note-order)
7507 (org-extend-today-until, org-finish-function)
7508 (org-store-link-functions): Use "capture" instead of "remember" in
7509 docstrings. Also use the `org-capture' group when it makes sense.
7511 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
7512 correct agenda buffer. Don't split the agenda window when the
7513 indirect buffer is displayed in another frame.
7515 * org.el (org-mode): Try to set the org-hide face correctly.
7517 * org-exp.el (org-export): Set the mark correctly when exporting a
7520 * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
7521 display of the number of commands for block agendas.
7523 * org-agenda.el (org-agenda-before-write-hook)
7524 (org-agenda-add-entry-text-maxlines): Enhance phrasing.
7525 (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
7526 buffer is writable when the hook is called.
7527 (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
7530 * org-agenda.el (org-habit-show-all-today): Only use defvar to
7531 silent the byte-compiler.
7532 (org-agenda-get-scheduled): Check whether some org-habit.el
7533 options have been defined.
7535 * org-capture.el (org-capture-entry): New variable.
7536 (org-capture-string, org-capture): Use it to possibly skip the
7537 interactive prompt for a capture template.
7539 * org.el (org-activate-plain-links): Don't try to check if we are
7540 in a bracket link already.
7542 * org.el (org-read-date-analyze): Fix bug introduced in commit
7543 cc5f9f: adding a time should not prevent relative answers to be
7546 * org-agenda.el (org-agenda-bulk-action): Always read the date
7547 through `org-read-date'. When possible, use the date at point as
7550 * org-agenda.el (org-agenda-bulk-action): Fix bug when
7551 bulk-shifting timestamps.
7553 * org.el (org-version): New constant.
7555 * org-compat.el (org-random): New compatibility function.
7557 * org-id.el (org-id-uuid): Use it.
7559 * org-capture.el (org-capture-use-agenda-date): New option.
7560 (org-capture): Use it.
7562 * org-agenda.el (org-agenda-capture): New command.
7563 (org-agenda-mode-map): Bind it to `k'.
7564 (org-agenda-menu): Add it to the menu.
7566 * org-capture.el (org-capture): Update docstring.
7568 * org-capture.el (org-capture): When called from an agenda buffer,
7569 use the cursor date at the default date.
7571 * org-agenda.el (org-agenda-bulk-action): Use the let-bound
7572 `entries' instead the variable.
7574 * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
7575 persistent marks too early.
7577 * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
7578 point to reset the scheduled or deadline cookie. On date headers,
7579 use it without prompting the user. On an item, use the item's
7580 date as the default prompt for `org-read-date'.
7582 * org.el (org-read-date): Docstring fix.
7584 * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
7587 * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
7588 (org-agenda-mode-map): Delete related keys.
7590 * org-agenda.el (org-agenda-menu): Fix a keybinding.
7592 * org-colview.el (org-columns-goto-top-level): Correctly move the
7593 marker `org-columns-top-level-marker'.
7594 (org-agenda-columns): Don't set
7595 `org-agenda-overriding-columns-format' as a buffer variable, as we
7596 only need it dynamically.
7597 (org-agenda-colview-summarize): Fix a bug in returning the match
7600 * org-agenda.el (org-agenda-span-to-ndays): Make the second
7601 argument `starting-day' optional.
7602 (org-agenda-goto-date): Keep parameters of custom agendas.
7604 * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
7605 name through a temporary variable.
7606 (org-agenda-buffer-tmp-name): New variable to temporary store the
7609 * org-agenda.el (org-agenda-goto-date): Fix behavior when using
7612 * org-agenda.el (org-diary): Don't check whether there is an
7613 agenda buffer when trying to compile the prefix format.
7614 (org-compile-prefix-format): Check if there is an agenda buffer.
7615 If not, use the current buffer.
7617 * org-agenda.el (org-agenda-get-day-entries): Set the agenda
7618 buffer inconditionnally.
7620 * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
7621 more general regexp.
7623 * ob.el (org-babel-where-is-src-block-head): Find a src block head
7624 correctly when #+header(s) is before #+name.
7626 * org-agenda.el (org-agenda-finalize-hook)
7627 (org-agenda-finalize, org-agenda-finalize-entries): Rename from
7628 org-finalize-agenda-*.
7629 (org-agenda-run-series, org-agenda-finalize, org-timeline)
7630 (org-agenda-list, org-search-view, org-todo-list)
7631 (org-tags-view, org-diary, org-agenda-finalize-entries)
7632 (org-agenda-change-all-lines): Use the new names.
7634 * org-agenda.el (org-agenda-local-vars):
7635 Remove ̀org-agenda-last-arguments' from the list of local variables.
7636 (org-agenda-mode-map): `g' does the same than `r' in buffers with
7637 only one agenda view, but its behavior differs when there are
7638 several views. In manually appended agendas (with `A'), `g'
7639 displays only the agenda under the point. With multiple agenda
7640 blocks, `g' reinitializes the view by discarding any temporary
7641 changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
7642 changes for the agenda view under the point.
7643 (org-agenda-run-series, org-agenda-redo): Implement the above
7645 (org-agenda-mark-header-line): Don't set useless properties.
7646 (org-agenda-list, org-todo-only, org-search-view)
7647 (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
7648 (org-agenda-manipulate-query, org-agenda-goto-today)
7649 (org-agenda-later, org-agenda-change-time-span): Use text
7650 properties for storing the last command and the last arguments for
7652 (org-unhighlight-once): Delete.
7654 * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
7657 * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
7658 check whether we are in org-agenda-mode.
7660 * org-agenda.el (org-agenda-pre-window-conf): Rename from
7661 `org-pre-agenda-window-conf'.
7662 (org-agenda-local-vars, org-agenda-prepare-window)
7663 (org-agenda-Quit, org-agenda-quit): Use the new name.
7665 * org-agenda.el (org-keys, org-match): New variable, dynamically
7666 scoped in `org-agenda'.
7667 (org-agenda, org-agenda-list, org-search-view, org-todo-list)
7668 (org-tags-view): Use the new variables.
7669 (org-batch-store-agenda-views): Let-bind `match'.
7671 * org-agenda.el (org-search-view, org-todo-list)
7672 (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
7673 these functions programmatically. Also use the sticky agenda
7676 * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
7677 correctly with sticky agendas and non-custom commands.
7679 * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
7680 `org-fit-agenda-window'.
7681 (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
7682 (org-search-view, org-todo-list, org-tags-view): Use the new name.
7684 * org-agenda.el (org-agenda-prepare): Let `throw' display an
7687 * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
7688 when called from programs as (org-agenda-list).
7690 * org-agenda.el (org-todo-list): Make arg optional.
7692 * org.el (org-agenda-prepare-buffers): Rename from
7693 `org-prepare-agenda-buffers'.
7694 (org-match-sparse-tree, org-map-entries): Use the new names.
7696 * org-agenda.el (org-agenda-prepare-window): Rename from
7697 `org-prepare-agenda-window'.
7698 (org-agenda-prepare): Rename from `org-prepare-agenda'.
7699 (org-agenda-run-series, org-agenda-prepare, org-timeline)
7700 (org-agenda-list, org-search-view, org-todo-list)
7701 (org-tags-view, org-agenda-list-stuck-projects, org-diary)
7702 (org-agenda-to-appt): Use the new names.
7704 * org-mobile.el (org-mobile-create-index-file): Ditto.
7706 * org-icalendar.el (org-export-icalendar): Ditto.
7708 * org-clock.el (org-dblock-write:clocktable)
7709 (org-dblock-write:clocktable): Ditto.
7711 * org-agenda.el (org-agenda): In sticky agendas, use the current
7712 command's match to set the buffer name. This gives more
7713 information to the user and allows to distinguish various agendas
7714 triggered by the same key.
7715 (org-batch-store-agenda-views): Handle the new sticky agenda
7718 * org-agenda.el (org-agenda)
7719 (org-agenda-get-restriction-and-command): Use `S' as a key for
7720 searching words in TODO-only entries.
7722 * org-agenda.el (org-prepare-agenda): Fit agenda window when
7723 displaying a sticky agenda.
7725 * org-table.el (org-table-number-regexp): Allow the user to set it
7726 to a new regexp, which allows commas as decimal mark. The default
7727 is to not use this setting, but the one before commit 7ff8c1,
7728 which has ben reverted.
7730 * org-agenda.el (org-agenda-overriding-cmd)
7731 (org-agenda-multi-current-cmd)
7732 (org-agenda-multi-overriding-arguments): New variables.
7733 (org-agenda-run-series): `org-agenda-overriding-arguments'
7734 defaults to the last agenda block arguments, so don't use it
7736 (org-agenda-mark-header-line): Add properties needed so that
7737 `org-agenda-overriding-arguments', `org-agenda-current-span' and
7738 `org-agenda-last-arguments' can be set to their correct contextual
7740 (org-agenda-multi-back-to-pos): New variable.
7741 (org-agenda-later): Retrieve `org-agenda-current-span' and
7742 `org-agenda-overriding-arguments' from text properties.
7743 Also handle numeric span.
7744 (org-agenda-later, org-agenda-change-time-span):
7745 Set `org-agenda-overriding-cmd' so that we to take overriding
7746 arguments into account for this command only.
7748 * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
7749 Fix bug when called with a non-nil value of `org-agenda-stick'.
7751 * org-agenda.el (org-agenda-refile): Fix bug when refiling an
7752 entry from a sticky agenda.
7754 * org-agenda.el (org-prepare-agenda-window):
7755 Use `org-pre-agenda-window-conf' if already set.
7756 (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
7758 (org-agenda-quit): Ditto.
7760 * org-capture.el (org-capture-fill-template): Protect the text
7761 used for replacement from being further replaced.
7763 * org.el (org-contextualize-validate-key): Fix the check against a
7766 * org.el (org-contextualize-keys): Rename from
7767 `org-contextualize-agenda-or-capture'. Fix normalization to
7768 handle empty key replacement string.
7769 (org-contextualize-validate-key): Rename from
7770 `org-contexts-validate'. Allow checking against a custom
7773 * org-agenda.el (org-agenda-custom-commands-contexts): Update.
7774 (org-agenda): Use `org-contextualize-keys'.
7776 * org-capture.el (org-capture-templates-contexts): Ditto.
7778 * org.el (org-contextualize-agenda-or-capture):
7781 * org.el (org-contextualize-agenda-or-capture): Handle key
7782 replacement depending on the contexts.
7784 * org-capture.el (org-capture-templates-contexts): Allow to use
7785 the context as a way to replace one capture template by another
7788 * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
7789 use the context as a way to replace one agenda custom command by
7792 * org.el (org-contextualize-agenda-or-capture)
7793 (org-rule-validate): New functions, implement context filtering
7794 for agenda commands and capture templates.
7796 * org-agenda.el (org-agenda-custom-commands-contexts): New option.
7797 (org-agenda): Use it.
7799 * org-capture.el (org-capture-templates-contexts): New option.
7800 (org-capture-select-template): Use it.
7802 * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
7803 (org-mode): Set `beginning-of-defun-function' and
7804 `end-of-defun-function' directly.
7806 * org.el (org-insert-link): Fix bug: include links abbreviations
7809 * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
7810 `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
7811 items should not be ignored.
7813 * org.el (org-ds-keyword-length, org-make-tags-matcher):
7816 * org-freemind.el (org-freemind-convert-links-from-org): Replace
7817 literally to prevent errors when replacing with string containing
7820 * org-pcomplete.el (org-thing-at-point): Allow to match (and then
7821 complete) a "thing" containing dashes.
7823 * org-table.el (org-table-toggle-coordinate-overlays):
7824 Better message when interactively toggling.
7826 * org-table.el (org-table-number-regexp): Update the docstring to
7827 show an example of a decimal number using the comma as a
7830 * org-agenda.el (org-prepare-agenda): Minor code clean-up.
7831 (org-agenda-filter-by-category): Filtering must be turned off only
7832 when a category filter has been set and this filter is not empty.
7834 * org-agenda.el (org-search-view, org-agenda-get-todos)
7835 (org-agenda-get-timestamps, org-agenda-get-sexps)
7836 (org-agenda-get-progress, org-agenda-get-deadlines)
7837 (org-agenda-get-scheduled, org-agenda-get-blocks):
7838 Use `category-pos' instead of `org-category-pos'.
7840 * ob-fortran.el (org-babel-fortran-transform-list): Rename from
7841 `ob-fortran-transform-list'.
7842 (org-babel-fortran-var-to-fortran): Use the new function's name.
7844 * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
7845 `ob-calc-maybe-resolve-var'.
7846 (org-babel-execute:calc): Use the new function's name.
7848 * org-jsinfo.el (org-infojs-template): Add a license.
7849 (org-infojs-handle-options): Replace all template elements.
7851 * org-html.el (org-export-html-scripts): Add a license.
7852 (org-export-html-mathjax-config): Replace all template elements.
7853 (org-export-html-mathjax-template): Add a license.
7854 (org-export-as-html): Minor code clean-up.
7856 * org.el (org-options-keywords): Add "#+MATHJAX" and
7857 "#+INFOJS_OPT" to the list of keywords for completion.
7859 * org.el (org-src-prevent-auto-filling): Remove unused and useless
7862 * org.el (org-element-at-point): Autoload.
7863 (org-element-up): Remove useless declaration.
7864 (org-fill-context-prefix, org-fill-paragraph)
7865 (org-mark-element, org-narrow-to-element)
7866 (org-transpose-element, org-unindent-buffer): Do not require
7869 * org.el (org-fill-paragraph): Require org-element.
7871 * org-agenda.el (org-agenda-persistent-marks): Minor docstring
7874 * org.el (org-create-math-formula): Use the compatibility function
7875 `org-region-active-p'.
7877 * org-odt.el (org-export-as-odf): Ditto.
7879 * ob.el (org-babel-demarcate-block): Ditto.
7881 * org.el (org-mark-subtree): Maybe call `org-mark-element'
7883 (org-mark-element): Only mark further elements when called
7886 * org.el (org-mark-element, org-narrow-to-element)
7887 (org-transpose-element): Require org-element.
7889 * org-agenda.el (org-agenda-get-timestamps)
7890 (org-agenda-get-sexps, org-agenda-get-deadlines)
7891 (org-agenda-get-scheduled): Add the 'warntime as a text property,
7892 getting its value from the APPT_WARNTIME property.
7893 (org-agenda-to-appt): Use the 'warntime text property.
7895 * org-capture.el (org-capture-place-table-line): Fix bug.
7897 * org.el (org-activate-plain-links): Don't activate a plain link
7898 when it is part of a bracketed link, unless bracketed links are
7899 not enlisted in `org-activate-links'.
7900 (org-open-at-point): Don't consider the text immediately after a
7901 bracketed link is part of a plain link.
7903 * org.el (org-compute-latex-and-specials-regexp)
7904 (org-paste-subtree, org-sort-entries, org-store-link)
7905 (org-open-at-point, org-file-remote-p, org-add-log-setup)
7906 (org-set-tags-to, org-fast-tag-selection)
7907 (org-diary-sexp-entry): Ditto.
7909 * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
7910 (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
7911 (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
7912 end of (cond ...) constructs.
7914 * org-mobile.el (org-mobile-create-index-file): Ditto.
7916 * org-lparse.el (org-lparse-format-table-row): Ditto.
7918 * org-list.el (org-sort-list): Ditto.
7920 * org-id.el (org-id-get): Ditto.
7922 * org-html.el (org-export-html-preprocess): Ditto.
7924 * org-exp.el (org-default-export-plist)
7925 (org-table-clean-before-export): Ditto.
7927 * org.el (org-options-keywords): Add "TODO".
7928 (org-make-options-regexp): Make the hashtag mandatory for options
7929 and don't allow whitespaces between the hashtag and the plus sign.
7931 * org.el (org-refresh-category-properties)
7932 (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
7933 Allow lowercase "#+category" and "#+begin:" dynamic blocks.
7935 * org.el (org-context): Use case-folding when trying to match
7936 clocktables and source blocks contexts.
7938 * org-clock.el (org-clock-put-overlay): Put the overlay on the
7939 whole headline, not only on the last character. This fixes a bug
7940 with overlays on headlines ending with a bracketed link.
7942 * org-html.el (org-export-as-html): Make sure we always process a
7945 * org-exp.el (org-export-cleanup-toc-line): Always return a
7948 * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
7949 metalines with #+results[...]:.
7951 * org-exp.el (org-export-handle-metalines): Rename from
7952 `org-export-handle-table-metalines'. Now also handle source block
7954 (org-export-res/src-name-cleanup): Delete.
7955 (org-export-preprocess-string): Use `org-export-handle-metalines'.
7956 Don't use `org-export-res/src-name-cleanup' anymore.
7958 * org-html.el (org-format-org-table-html): Don't include the
7959 caption tag for empty captions in HTML export. Keep it in the
7960 DocBook export so that it produces valid DocBook XML.
7962 * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
7963 8am" to be parsed correctly with respect to possible values of
7964 `org-read-date-prefer-future'.
7965 (org-read-date-prefer-future): Update docstring to remove the
7966 restriction about inserting only the time. The user can now
7967 insert the time and the day.
7969 * org-icalendar.el (org-icalendar-print-entries): Rename from
7970 `org-print-icalendar-entries'.
7971 (org-icalendar-start-file): Rename from
7972 `org-start-icalendar-file'.
7973 (org-icalendar-finish-file): Rename from
7974 `org-finish-icalendar-file'.
7975 (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
7976 (org-export-icalendar): Use the correct functions.
7978 * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
7981 * org.el (org-fill-context-prefix): Require org-element.
7982 (org-timestamp-change): Fix bug by saving excursion when adjusting
7985 * org.el (org-read-date-prefer-future): Fix docstring formatting.
7986 (org-read-date-analyze): Fix the interpretation of
7987 `org-read-date-prefer-future'.
7989 * org-agenda.el (org-agenda-menu-two-column): Rename to
7990 `org-agenda-menu-two-columns'.
7992 * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
7993 Replace `org-labels' by `let*'.
7995 * org-bibtex.el (org-bibtex-headline): Ditto.
7997 * org-compat.el: Delete `org-labels'.
7999 * ob.el (org-babel-get-src-block-info)
8000 (org-babel-check-src-block, org-babel-current-result-hash)
8001 (org-babel-parse-src-block-match, org-babel-read-link)
8002 (org-babel-insert-result, org-babel-clean-text-properties):
8003 Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8004 (org-babel-clean-text-properties): Delete redundant function
8005 `org-babel-clean-text-properties'.
8007 * ob-tangle.el (org-babel-tangle-collect-blocks)
8008 (org-babel-tangle-comment-links): Ditto.
8010 * ob-table.el (sbe): Ditto.
8012 * ob-lob.el (org-babel-lob-get-info)
8013 (org-babel-lob-execute): Ditto.
8015 * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8017 * org-macs.el (org-no-properties): Allow a new parameter
8018 `restricted' to restrict the properties removal to those in
8019 `org-rm-props'. The default is now to remove all properties.
8021 * org-compat.el (org-substring-no-properties): Remove unused
8024 * org-remember.el (org-remember-apply-template): Remove redundant
8025 removal of text properties.
8026 (org-remember-apply-template): Use `org-no-properties'.
8028 * org-capture.el (org-capture-fill-template): Remove redundant
8029 removal of text properties.
8030 (org-capture-fill-template): Use `org-no-properties'.
8032 * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8033 Use `org-no-properties'.
8035 * org-colview.el (org-columns-display-here): Ditto.
8037 * org-table.el (org-table-eval-formula): Ditto.
8039 * org.el (org-entry-properties): Ditto.
8041 * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8042 handling `alarm-time'.
8044 * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8046 * org.el (org-store-log-note): Only skip comments starting with "#
8047 " when storing a note.
8049 * org.el (org-custom-properties): New option.
8050 (org-custom-properties-overlays): New variable.
8051 (org-toggle-custom-properties-visibility): New command to toggle
8052 the visibility of custom properties.
8053 (org-check-before-invisible-edit): Also prevent errors when trying
8054 to edit invisible properties.
8056 * org-datetree.el (org-datetree-add-timestamp): New option.
8057 (org-datetree-insert-line): Use it.
8059 * org.el (org-fill-template): Fix bug when filling template for a
8060 key associated to the nil value.
8062 * org-agenda.el (org-diary): Fix tiny typo.
8064 * org.el (message-in-body-p): Move declaration up to fix compiler
8067 * org.el (org-fill-context-prefix): Fix auto-filling in
8070 * org.el (org-fill-paragraph): Correctly fill paragraph in
8072 (org-indent-line): Correctly indent according to mode when
8073 `orgstruct++-mode' is on.
8074 (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8075 stored in `org-fb-vars'.
8077 * org.el (org-fill-paragraph): Make a command. Fix bug about
8078 filling message headers and citations.
8080 * org.el (org-redisplay-inline-images): New command.
8081 (org-mode-map): Bind it to C-c C-x C-M-v.
8083 * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8084 (org-columns-get-format): Fix compiler warning.
8086 * org-feed.el: Add declarations.
8088 * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8089 allow tag inheritance.
8091 * org-capture.el (org-capture): Fix bug introduced by commit
8094 * org-publish.el (org-publish-needed-p)
8095 (org-publish-update-timestamp, org-publish-file)
8096 (org-publish-cache-file-needs-publishing): New argument
8098 (org-publish-cache-ctime-of-src): Use the new argument to make
8099 sure we find the file according to :base-directory.
8101 * org-capture.el (org-capture-string): New command to prompt for
8102 the interactive text interactively. This can also be used in
8103 Elisp programs to use ̀org-capture' with some initial text.
8104 (org-capture-initial): New variable to store the initial text.
8105 (org-capture): Use `org-capture-initial'.
8107 * org.el (org-emph-re): Tiny docstring formatting fix.
8109 * org-compat.el (org-labels): Remove.
8111 * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8113 * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8115 * org.el (org-emph-re): Tiny formatting fix.
8117 * org.el (orgstruct-setup): Require `org-element'.
8119 * org.el (org-store-link, org-open-at-point): New link type
8122 * org-compat.el (org-flet): Remove alias.
8124 * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8125 (org-babel-get-rownames, org-babel-insert-result)
8126 (org-babel-merge-params)
8127 (org-babel-expand-noweb-references): Don't use `org-flet'.
8128 Also indent some functions correctly.
8130 * ob.el (org-babel-execute-src-block)
8131 (org-babel-join-splits-near-ch, org-babel-format-result)
8132 (org-babel-examplize-region): Don't use `org-flet'.
8133 (org-babel-tramp-handle-call-process-region): Fix typo.
8135 * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8137 * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8139 * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8140 Don't use `org-flet'.
8142 * org-pcomplete.el (org-compat): Require.
8144 * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8146 * org-bibtex.el (org-bibtex-write): Use let*.
8148 * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8150 * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8151 (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8153 * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8155 * org-pcomplete.el (org-thing-at-point): Ditto.
8157 * org.el (org-timestamp-change): Ditto.
8159 * org-mouse.el (org-mouse-timestamp-today)
8160 (org-mouse-set-priority, org-mouse-popup-global-menu)
8161 (org-mouse-context-menu): Don't use ̀org-flet'.
8163 * org.el (org-priority): Fix docstring.
8165 * org-publish.el (org-publish-write-cache-file)
8166 (org-publish-initialize-cache)
8167 (org-publish-cache-file-needs-publishing)
8168 (org-publish-cache-get): Small code clean-up.
8170 * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8172 * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8173 agenda entries created from sexps.
8175 * org-capture.el (org-capture-templates): Docstring clean up.
8176 (org-capture-place-entry, org-capture-place-item)
8177 (org-capture-place-plain-text, org-capture-place-table-line):
8178 Ensure to always position the point according to %?.
8180 * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8181 converting remote table references.
8183 * org-agenda.el (org-agenda-switch-to): Run hooks in
8184 ̀org-agenda-after-show-hook'.
8186 * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8187 variable `length' to `lgth'.
8189 * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8192 * org-exp.el (org-export-format-source-code-or-example): Ditto.
8194 * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8196 * ob.el (org-babel-view-src-block-info)
8197 (org-babel-execute-src-block, org-babel-edit-distance)
8198 (org-babel-switch-to-session-with-code)
8199 (org-babel-balanced-split, org-babel-insert-result): Ditto.
8201 * ob-ref.el (org-babel-ref-index-list): Ditto.
8203 * ob-python.el (org-babel-python-evaluate-session): Ditto.
8205 * ob-lob.el (org-babel-lob-get-info): Ditto.
8207 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8209 * ob-exp.el (org-babel-exp-do-export): Ditto.
8211 * org-table.el (orgtbl-to-generic): Fix docstring.
8213 * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8214 argument `switch-to-state' set to nil. Fix docstring.
8215 (org-clock-in-last): Prompt for a todo state to switch to when
8216 called with three universal prefix arguments. Don't display a
8217 message when the clock is already running. Update docstring.
8218 (org-clock-out): New argument `switch-to-state'. When this
8219 argument is non-nil, prompt for a state to switch the clocked out
8220 task to, overriding `org-clock-out-switch-to-state'.
8222 * org.el (org-entry-get): Don't use `org-flet'.
8224 * org.el (org-forward-heading-same-level): Rename from
8225 `org-forward-same-level'.
8226 (org-backward-heading-same-level): Rename from
8227 `org-backward-same-level'.
8229 * org.el (org-forward-element): Rename from `org-element-forward'.
8230 (org-backward-element): Rename from `org-element-backward'.
8231 (org-up-element): Rename from `org-element-up'.
8232 (org-down-element): Rename from `org-element-down'.
8233 (org-drag-element-backward): Rename from
8234 `org-element-drag-backward'.
8235 (org-drag-element-forward): Rename from
8236 `org-element-drag-forward'.
8237 (org-mark-element): Rename from `org-element-mark-element'.
8238 (org-transpose-element): Rename from `org-element-transpose'.
8239 (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8240 (org-mode-map): Update the names of a commands. Remove useless
8243 * org-element.el (org-element-forward, org-element-backward)
8244 (org-element-up, org-element-down)
8245 (org-element-drag-backward, org-element-drag-forward)
8246 (org-element-mark-element, org-narrow-to-element)
8247 (org-element-transpose, org-element-unindent-buffer): Move to
8250 * org.el (org-forward-same-level): Fix typo in docstring.
8252 * org-agenda.el (org-agenda-mode-map):
8253 Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8254 (org-agenda-next-item, org-agenda-previous-item): New commands to
8255 move by one item down/up in the agenda.
8256 (org-agenda-mode-map): Bind `org-agenda-next-item' and
8257 `org-agenda-previous-item' to `N' and `P' respectively.
8259 * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8260 Toggle headers when necessary.
8262 * org-element.el (org-narrow-to-element): Autoload.
8264 * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8265 (org-mark-subtree): Allow a numeric prefix argument to move up
8266 into the hierarchy of headlines.
8268 * org-element.el (org-element-up, org-element-down): Autoload.
8270 * org.el: Declare functions and don't require org-element.
8272 * org-element.el (org-element-at-point, org-element-forward)
8273 (org-element-backward, org-element-drag-backward)
8274 (org-element-drag-forward, org-element-mark-element)
8275 (org-element-transpose, org-element-unindent-buffer): Autoload.
8276 Require 'org and remove all declarations.
8278 * org.el (org-outline-regexp-bol, org-heading-regexp):
8279 Use variables instead of constants.
8281 * org-archive.el (org-datetree-find-date-create): Declare.
8283 * org.el (org-open-at-point): Only set
8284 `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8287 * org-icalendar.el (org-print-icalendar-entries):
8288 Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8290 * org.el (org-special-properties): New special property
8292 (org-entry-properties): Handle the new special property.
8294 * org-colview.el (org-columns): Handle a new special property
8296 (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8298 * org-clock.el (org-clock-sum-today): New function.
8299 (org-clock-sum): New argument PROPNAME to set a custom text
8300 property instead of :org-clock-minutes.
8302 * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8303 error message when no agenda is currently being displayed.
8305 * org.el (org-get-property-block): Find blocks before the first
8307 (org-entry-properties): Minor code cleanup.
8308 (org-entry-get, org-entry-get-with-inheritance): Get property
8309 before the first headline.
8311 * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8313 * org.el (org-make-link): Delete.
8314 (org-store-link, org-insert-link)
8315 (org-file-complete-link): Don't use `org-make-link'.
8317 * org-wl.el (org-wl-store-link-folder)
8318 (org-wl-store-link-message): Ditto.
8320 * org-vm.el (org-vm-store-link): Ditto.
8322 * org-rmail.el (org-rmail-store-link): Ditto.
8324 * org-mhe.el (org-mhe-store-link): Ditto.
8326 * org-mew.el (org-mew-store-link): Ditto.
8328 * org-irc.el (org-irc-erc-store-link): Ditto.
8330 * org-info.el (org-info-store-link): Ditto.
8332 * org-id.el (org-id-store-link): Ditto.
8334 * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8336 * org-eshell.el (org-eshell-store-link): Ditto.
8338 * org-bbdb.el (org-bbdb-store-link): Ditto.
8340 * org.el (org-url-hexify-p): New option. When non-nil (the
8341 default), hexify URLs when creating a link.
8343 * org.el (org-insert-link): Make sure point is at the beginning of
8346 * org.el (clean-buffer-list-kill-buffer-names): Declare.
8347 (org-open-at-point): Allow opening multiple shell links by
8348 creating a new output buffer for each shell process. The new
8349 buffer is added to `clean-buffer-list-kill-buffer-names'.
8351 * org-mobile.el (org-mobile-create-index-file):
8352 Use `org-global-tags-completion-table' instead of
8353 `org-tag-alist-for-agenda' to get the tags for the index file.
8355 * org.el (org-global-tags-completion-table): Fix typo in
8358 * org.el (org-link-to-org-use-id): Use `org-capture' instead of
8359 `org-remember' in the docstring.
8360 (org-link-fontify-links-to-this-file): New function to fontify
8361 links to the current buffer in `org-stored-links'.
8362 (org-store-link): Small code simplification.
8363 (org-link-prettify): Enclose literal links into <...> instead of
8365 (org-insert-link): Use `org-link-fontify-links-to-this-file'.
8366 Also allow completion over links' descriptions, as well as links
8367 destinations. When the user uses the description for completion,
8368 don't prompt again for a description.
8370 * org-capture.el (org-capture-templates): Fix docstring by adding
8371 Gnus to the list of mail clients.
8373 * org.el (org-log-repeat): Enhance docstring.
8375 * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
8376 `org-element-backward/forward' as these functions stops when there
8377 is no element of the same type before/after point. It is useful
8378 to navigate with `forward/backward-paragraph' with no stop in most
8381 * org-capture.el (org-capture-templates): New template %l to
8382 insert the literal link pointing at the current buffer.
8384 * org.el (org-todo-keywords): Ditto.
8386 * org.el (org-fill-paragraph): Falls back on
8387 `message-fill-paragraph' if required in `message-mode'.
8389 * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
8390 (pcomplete/org-mode/file-option/options)
8391 (pcomplete/org-mode/file-option/title)
8392 (pcomplete/org-mode/file-option/author)
8393 (pcomplete/org-mode/file-option/email)
8394 (pcomplete/org-mode/file-option/date): Use the new macro to offer
8395 completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
8398 * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
8399 an external file while `org-agenda-sticky' is non-nil.
8401 * org.el (org-speed-commands-default): New speedy command to
8402 quickly add the :APPT_WARNTIME: property.
8404 * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
8405 property to override `appt-message-warning-time' when adding an
8406 appointment from an entry.
8408 * org.el (org-version): Improve docstring.
8409 (org-self-insert-cluster-for-undo): The default value should be
8410 nil for Emacs >=24.1. See bug#11774.
8412 * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
8415 * org.el (org-options-keywords): New constant.
8416 (org-additional-option-like-keywords): Remove duplicates with
8417 keywords in the new constant.
8418 (org-additional-option-like-keywords-for-flyspell): Use the new
8420 (org-mode-flyspell-verify): Exclude keywords from the new
8423 * org-pcomplete.el (pcomplete/org-mode/file-option):
8424 Use `org-options-keywords'.
8426 * org.el (org-toggle-heading): Bugfix: use
8427 `org-element-mark-element' instead of `org-mark-list'.
8429 * org-list.el (org-mark-list): Delete.
8431 * org.el: Update a few keybindings.
8433 * org-element.el (org-element-down): Throw an error when the
8434 element has no content.
8436 * org-table.el (orgtbl-radio-table-templates): Add a template for
8438 (orgtbl-to-orgtbl): Complete and align the table created with
8439 orgtbl-to-orgtbl, in case the user use the function for radio
8441 (orgtbl-to-table.el): New function to export a table to another
8442 one using the table.el format.
8443 (orgtbl-to-unicode): New function to export a table using unicode
8446 * org-exp.el (org-export-language-setup): Use "Sommaire" for the
8447 french translation of "Table of contents", to avoid a possible bug
8448 when exporting to ODT.
8450 * org.el (org-additional-option-like-keywords): Add keywords.
8451 (org-additional-option-like-keywords-for-flyspell): New constant
8452 to use with flyspell.
8453 (org-mode-flyspell-verify): Use the dedicated constant and don't
8454 check `org-startup-options'.
8456 * org-agenda.el (org-batch-store-agenda-views): Use the sticky
8457 agenda buffer name, if required.
8458 (org-agenda-write): New parameter `agenda-bufname' to allow
8459 setting the agenda buffer name.
8461 * org.el (org-mode-map): Add keybindings for
8462 `org-element-forward', `org-element-backward', `org-element-up'
8463 and `org-element-down'.
8465 * org.el (org-auto-fill-function): Don't call `do-auto-fill'
8466 within (org-let org-fb-vars ...) as `do-auto-fill' should do the
8467 right thing whether orgstruct++-mode is turned on or off.
8469 * org.el (org-sparse-tree-default-date-type): New option.
8470 (org-ts-type): New variable.
8471 (org-sparse-tree): New argument `type'. Use the new option
8472 `org-sparse-tree-default-date-type' as the default value for
8473 `type'. Fix docstring.
8474 (org-re-timestamp): New function.
8475 (org-check-before-date, org-check-after-date)
8476 (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
8477 to tell compute the date regexp.
8479 * org.el (orgstruct++-mode, org-get-local-variables): Also set
8480 `normal-auto-fill-function' when turning on/off orgstruct++-mode.
8482 * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
8483 customization types.
8485 * org-faces.el (org-document-title): Use the normal height.
8487 * org-clock.el (org-x11idle-exists-p): New variable.
8488 (org-user-idle-seconds): Use it.
8490 * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
8493 * org.el (org-insert-all-links): New command.
8494 (org-insert-link): `org-keep-stored-link-after-insertion' is now
8495 checked when the link to insert has been defined, regardless on
8496 how it has been defined. Also don't read the description
8497 interactively when the `default-description' parameter was given.
8498 (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
8500 * org.el (org-inc-effort): New command to increment the effort
8502 (org-set-effort): Use it.
8503 (org-mode-map): Bind it to `C-c C-x E'.
8504 (org-speed-commands-default): Use `E' as a speed command for it.
8506 * org.el (org-re-property-keyword): New function.
8507 (org-entry-put): Use it to fix a bug with respect to setting the
8508 value of a property when a property line with no value already
8511 * org.el (org-timestamp-change): Adjust clock in other org files
8514 * org-clock.el (org-user-idle-seconds): Simplify.
8516 * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
8519 * org.el (org-mode-map): Add keybindings to
8520 `org-element-transpose' and `org-narrow-to-element'.
8521 (org-metaup): Fall back on `org-element-drag-backward'.
8522 (org-metadown): Fall back on `org-element-drag-forward'.
8523 Also move chunks of declarations and require statements to get rid of
8526 * org-exp-blocks.el (org): Don't require org. Add declarations.
8528 * org-clock.el (org): Don't require org.
8530 * ob-exp.el (org-list-forbidden-blocks): Add declarations.
8532 * org.el (org-timestamp-change): Don't use the `position'.
8534 * org.el (org-clock-history, org-clock-adjust-closest):
8536 (org-timestamp-change): Maybe adjust the next or previous clock in
8537 `org-clock-history'.
8538 (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
8539 timestamp at point and adjust the next or previous clock in
8540 `org-clock-history', when possible.
8542 * org-clock.el (org-clock-in): Set the marker for
8543 `org-clock-history' at a safer position.
8545 * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
8548 * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
8550 * org.el (org-indent-line): Fix indentation of a property line
8551 starting at the beginning of a line.
8553 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
8555 * org-compat.el: Alias `org-condition-case-unless-debug' to
8556 `condition-case-unless-debug' or `condition-case-no-debug'.
8558 * org.el (org-todo-keywords): Ditto.
8560 * org.el (org-use-fast-todo-selection): Reformat docstring.
8562 * org.el (org-flag-drawer): Add a docstring.
8563 (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
8564 `org-clock-in-last' to "C-cC-xC-x". This fixes a bug in the
8565 previous keybinding for `org-clock-in-last', which would override
8566 the one for `org-clock-in'.
8568 * org-clock.el (org-clock-in-last): Prevent errors when there is
8569 no clocking history.
8570 (org-clock-cancel): Fix bug when checking against a clock log in a
8573 * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
8574 new specifier. Update the docstring.
8576 * org.el (org-startup-options): Fix docstring formatting.
8578 * org.el (org-use-sub-superscripts): Fix typo in docstring.
8580 * org.el (org-refile): Fix bug: prevent looping when calling
8581 `org-set-tags' internally.
8583 * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
8584 `org-clock-in-last'.
8586 * org-clock.el (org-clock-continuously): New option.
8587 (org-clock-in): Three universal prefix arguments set
8588 `org-clock-continuously' to `t' temporarily.
8589 (org-clock-in-last): Fix call to `org-clock-select-task' and
8590 support continuous clocking.
8591 (org-clock-out-time): New variable.
8592 (org-clock-out): Set `org-clock-out-time' when clocking out.
8593 Small docstring rewriting.
8594 (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
8595 bug when trying to delete empty logbook drawer.
8596 (org-clock-cancel): If the clock log is gone, send a warning
8597 instead of deleting the region that is supposed to contain it.
8599 * org.el (org-move-line-down, org-move-line-up): Remove.
8600 (org-metaup, org-metadown): When the region is active, move it
8601 up/down by one line, with no regard to the context.
8603 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
8605 * org-compat.el: Alias `org-condition-case-unless-debug' to
8606 `condition-case-unless-debug' or `condition-case-no-debug'.
8608 * org-pcomplete.el (org-thing-at-point): Ignore trailing
8609 whitespaces while looking-back at properties.
8611 * org.el (org-mode): Set `indent-region-function'.
8612 (org-indent-region): New function.
8613 (org-fill-paragraph): When in a src block, use `indent-region' to
8614 indent the whole source code instead of falling back on
8615 `fill-paragraph', as this function messes up the code.
8617 * org-src.el (org-edit-src-code): Fix docstring formatting.
8619 * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
8621 * org.el (org-mode, org-add-log-setup)
8622 (org-get-property-block, org-entry-put)
8623 (org-property-next-allowed-value, org-return)
8624 (org-indent-line): Rename `org-indent-line-function' to
8627 * org-timer.el (org-timer-item): Ditto.
8629 * org-table.el (org-table-store-formulas): Ditto.
8631 * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
8633 * org-src.el (org-src-font-lock-fontify-block)
8634 (org-src-strip-leading-and-trailing-blank-lines)
8635 (org-src-ask-before-returning-to-edit-buffer)
8636 (org-edit-src-code, org-edit-src-continue)
8637 (org-edit-fixed-width-region)
8638 (org-src-do-key-sequence-at-code-block)
8639 (org-src-font-lock-fontify-block, org-src-fontify-buffer):
8640 Fix typos in docstrings.
8642 * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
8643 use "format string" instead of "formatting string".
8645 * org-latex.el (org-export-latex-emphasis-alist)
8646 (org-export-latex-title-command, org-export-latex-tables): Ditto.
8648 * org-html.el (org-export-html-postamble): Ditto.
8650 * org-latex.el (org-export-latex-hyperref-options-format):
8652 (org-export-latex-make-header): Use it.
8654 * ob.el (org-babel-confirm-evaluate): Prevent errors when
8655 `org-current-export-file' is void.
8657 * org-table.el (org-table-export): Use the file name extension to
8658 suggest the right conversion format. Also amend the docstring.
8660 * org.el (org-speed-commands-default): Two new speed commands.
8661 Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
8663 * org.el (org-time-stamp): With two universal arguments, insert an
8664 active timestamp with the current time without prompting the user.
8666 * org-clock.el (org-clock-in-last): New command.
8668 * org-clock.el (org-clock-in): Fix typo in docstring.
8670 * org-mobile.el (org-mobile-edit): Fix reference to a free
8673 * org.el (org-doi-server-url): Update :group.
8675 * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
8678 * org.el (org-doi-server-url): New option.
8679 (org-open-at-point): Use it.
8681 * org.el (org-at-comment-p): New function.
8682 (org-toggle-heading): Use `org-at-comment-p' to skip comments.
8684 * org-html.el (org-export-as-html): Add links to the Org mode and
8685 GNU Emacs websites When :html-postamble is set to 't.
8687 * org-export.el (org-export-creator-string): Add links to the Org
8688 mode and GNU Emacs websites.
8690 * org-special-blocks.el
8691 (org-special-blocks-convert-html-special-cookies): Prevent errors
8692 by first checking `org-line' is not nil.
8694 * org-clock.el (org-clock-string-limit)
8695 (org-clock-modeline-total, org-clock-task-overrun-text)
8696 (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
8698 * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
8699 point is right after the timestamp. `org-at-timestamp-p' still
8700 returns `t' in this case, as this is more practical.
8701 (org-return): Check against ̀org-ts-what' to verify that point is
8702 really within the timestamp (if any).
8704 * org.el (org-return): Follow time-stamp links when point is an a
8707 * org-capture.el (org-capture-bookmark): New option.
8708 (org-capture-finalize): Use it.
8710 * org-publish.el (org-publish-cache-file-needs-publishing):
8711 Make the column mandatory after #+include:.
8713 * org-exp.el (org-export-handle-include-files): Ditto.
8715 * org-bibtex.el (org-bibtex-entries): Rename from
8716 (org-bibtex-read, org-bibtex-write): Use the new name.
8718 * org-exp.el (org-export-handle-include-files): Allow to use
8719 #+include with no column.
8721 * org-publish.el (org-publish-cache-file-needs-publishing):
8722 Make quotes mandatory around the file name and allow spaces in it.
8724 * org-html.el (org-export-as-html): Add link to Org's and Emacs's
8728 (org-export-latex-link-with-unknown-path-format): New option.
8729 (org-export-latex-links): Use it.
8731 * org-agenda.el (org-agenda-get-timestamps): Remove any active
8732 timestamp from the headline text, not only those for the current
8735 * org.el (org-set-tags): Allow setting tags for headlines in the
8736 region when `org-loop-over-headlines-in-active-region' is non-nil.
8738 * org.el (org-allow-promoting-top-level-subtree): New option to
8739 allow promoting a top-level subtree.
8740 (org-called-with-limited-levels): New variable, dynamically bound
8741 within the `org-with-limited-levels' macro.
8742 (org-promote): Use the new option to allow promoting a top-level
8745 * org-macs.el (org-with-limited-levels): Let-bind
8746 `org-called-interactively-p' to t.
8748 * org.el (org-create-formula-image-with-dvipng)
8749 (org-create-formula-image-with-imagemagick): Make sure a file
8750 exists before trying to delete it.
8752 * org.el (org-scan-tags): Correctly match TODO keywords.
8754 * org-agenda.el (org-agenda-bulk-action): Fix bug: use
8755 `org-agenda-bulk-unmark-all'.
8757 * org.el (orgstruct++-mode): Fix docstring.
8758 (org-fill-paragraph): Use the 'justify parameter when falling back
8759 on `fill-paragraph'.
8761 * org.el (org-indent-line-function): Use `org-let' instead of
8762 `orgstruct++-ignore-org-filling'.
8763 (org-fill-paragraph, org-auto-fill-function): Ditto.
8765 * org-macs.el (orgstruct++-ignore-org-filling): Delete.
8767 * org-table.el (org-table-time-string-to-seconds): Return the
8768 empty string if provided.
8769 (org-table-eval-formula): When assigning a duration string, handle
8770 it correctly -- i.e. don't make any computation on it, except the
8771 one to insert it using the correct duration format.
8773 * org.el (org-indent-line-function): Fix bug.
8775 * org-clock.el (org-frame-title-format-backup): New variable to
8776 store the value of `frame-title-format' before `org-clock' might
8777 replace it by `org-clock-frame-title-format'.
8778 (org-clock-frame-title-format): New option.
8779 (org-frame-title-string): Delete.
8780 (org-clock-update-mode-line): Minor code reformatting.
8781 (org-clock-in, org-clock-out, org-clock-cancel):
8782 Use `org-clock-frame-title-format'.
8784 * org-clock.el (org-clock-get-clock-string): Add a space.
8786 * org-list.el (org-mark-list): Return an error when there is no
8789 * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
8790 at point before converting items to headings. With a simple
8791 universal-argument, set `current-prefix-arg' to 1, otherwise keep
8794 * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
8797 * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
8798 all entries for bulk action.
8799 (org-agenda-menu): New menu item for marking all entries.
8800 (org-agenda-bulk-mark-all): New function to mark all entries.
8801 (org-agenda-bulk-mark-regexp): Minor docstring fix.
8802 (org-agenda-bulk-unmark): With a prefix argument, unmark all.
8803 Also send a better message.
8804 (org-agenda-bulk-remove-all-marks): Rename to
8805 `org-agenda-bulk-unmark-all'. Check against
8806 `org-agenda-bulk-marked-entries' before trying to unmark entries.
8807 Minor docstring fix.
8808 (org-agenda-bulk-unmark-all): Rename from
8809 ̀org-agenda-bulk-remove-all-marks'.
8811 * org-agenda.el (org-agenda-bulk-mark-char): New option.
8812 (org-agenda-bulk-mark): Use the new option.
8814 * org.el (org-src-prevent-auto-filling): New option to prevent
8815 auto-filling in src blocks. This defaults to nil to avoid people
8816 being surprised that no auto-fill occurs in Org buffers where they
8817 use `auto-fill-mode'.
8818 (org-auto-fill-function): Use the new option.
8820 * org.el (org-properties-postprocess-alist): Better customization
8822 (org-set-property): Fix the check against
8823 `org-properties-postprocess-alist'.
8825 * org-macs.el (orgstruct++-ignore-org-filling):
8826 Set `def-edebug-spec' correctly.
8828 * org-colview.el (org-columns-string-to-number): When computing
8829 the values for the colview, match durations and convert them to
8832 * org.el (org-duration-string-to-minutes): Match non-round
8833 numbers. Add a new optional parameter to allow returning the
8836 * org.el (org-auto-fill-fallback-function)
8837 (org-indent-line-fallback-function)
8838 (org-fill-paragraph-fallback-function)
8839 (org-auto-fill-fallback-function)
8840 (org-indent-line-fallback-function)
8841 (org-fill-paragraph-fallback-function): Remove.
8842 (org-fb-vars): New buffer-local variable.
8843 (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
8844 store, use and restore variables if needed.
8845 (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
8847 (org-auto-fill-function, org-indent-line-function): Ditto.
8849 * org-macs.el (orgstruct++-ignore-org-filling): New macro.
8851 * org-exp-blocks.el: Use `org-find-library-name' instead of
8852 `find-library-name'.
8854 * org-compat.el (org-find-library-name): Convert into a macro to
8855 avoid compilation of a function from XEmacs in Emacs and vice
8858 * org-table.el (org-table-store-formulas): Fix typo.
8859 (org-table-maybe-eval-formula): Fix the regexp to only match
8860 formulas, which never end with the `=' character. If the field
8861 only contain this character, don't eval either.
8863 * org.el (org-set-property): Perform the correct check against
8864 `org-properties-postprocess-alist'.
8866 * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
8868 (name): Suppress (defvar 'name) as name is not eval'ed when
8869 setting `org-bbdb-anniversary-format-alist'.
8871 * org.el (org-version): When called non-interactively, insert the
8872 short version string, otherwise send a message with the complete
8875 * org-odt.el (org-odt-update-meta-file): Use (org-version) and
8876 delegate checking whether `org-version' is known as a variable
8879 * org-html.el (org-export-as-html): Use (org-version).
8881 * org-docbook.el (org-export-as-docbook): Ditto.
8883 * org-latex.el (org-export-latex-make-header): Ditto.
8885 * org-clock.el (org-clocktable-write-default): Temporarily disable
8886 `delete-active-region' so that we don't accidently delete an
8887 active region when exporting a subtree/region.
8889 * org-clock.el (org-program-exists): Remove.
8890 (org-show-notification, org-clock-play-sound):
8891 Use `executable-find' instead of `org-program-exists'.
8893 * org-agenda.el (org-diary): Prevent failure from
8894 `org-compile-prefix-format' when there is no agenda buffer.
8896 * org-agenda.el (org-agenda-mode): Replace obsolete variable
8897 `buffer-substring-filters'.
8899 * org-indent.el (org-indent-mode): Ditto.
8901 * org-compat.el (org-find-library-name): Silent the byte-compiler
8902 about a warning related to XEmacs support.
8904 * org-special-blocks.el
8905 (org-special-blocks-convert-html-special-cookies): Use `org-line'
8908 * org-html.el (org-html-handle-links, org-export-as-html)
8909 (org-format-org-table-html, org-format-table-table-html)
8910 (org-html-export-list-line): Use `org-line' instead of `line' as
8911 the free variable name.
8913 * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
8915 * org-faces.el (org-list-dt): New face.
8917 * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
8918 face for definition terms in definition lists.
8920 * org.el (org-fill-paragraph): Pass the `justify' argument to
8921 `org-fill-paragraph-fallback-function'.
8923 * org.el (org-eval-in-calendar): Fix docstring to mention the
8926 * org.el (org-refresh-category-properties): Let-bind
8927 `inhibit-read-only' to t.
8929 * org.el (org-auto-fill-fallback-function)
8930 (org-indent-line-fallback-function)
8931 (org-fill-paragraph-fallback-function): New variables to store
8932 some fall-back functions when turning `orgstruct++-mode' on.
8933 (orgstruct++-mode): Set the new variables.
8934 (org-indent-line-function, org-fill-paragraph)
8935 (org-auto-fill-function): Use them.
8937 * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
8938 the 'keepdate parameter set to t when setting the cursor type.
8940 * org-agenda.el (org-agenda-persistent-marks): New option to keep
8941 marks after a bulk action. The option defaults to nil.
8942 (org-agenda-bulk-action): Use the new option.
8944 * org-capture.el (org-capture-fill-template): Use %\n instead of
8945 %n as a template element to be replaced with the nth prompted
8947 (org-capture-templates): Update docstring.
8949 * org.el (org-goto): Fix docstring and document what C-u does.
8951 * org-publish.el (org-publish-cache-file-needs-publishing):
8952 Use (case-fold-search t) when looking for #+INCLUDE:.
8954 * org.el: Use (case-fold-search t).
8955 (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
8958 (org-table-store-formulas, org-table-get-stored-formulas)
8959 (org-table-fix-formulas, org-table-edit-formulas)
8960 (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
8961 (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
8964 (org-footnote-goto-local-insertion-point): Ditto.
8966 * org-exp.el: Ditto.
8969 (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
8971 * org-clock.el (org-clocktable-write-default): Ditto.
8973 * org-capture.el (org-capture-place-table-line): Ditto.
8975 * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
8976 (org-babel-src-block-names)
8977 (org-babel-where-is-src-block-result, org-babel-result-end)
8978 (org-babel-where-is-src-block-head)
8979 (org-babel-find-named-result, org-babel-result-names): Ditto.
8981 * org-table.el (orgtbl-send-table): Escape special characters.
8982 Introduce a new parameter :no-escape to prevent escaping.
8984 * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
8985 when called interactively.
8986 (org-agenda-get-restriction-and-command):
8987 Call `org-toggle-sticky-agenda' interactively.
8989 * org-agenda.el (org-agenda-top-category-filter): New variable for
8990 storing the current top-category filter.
8991 (org-agenda-redo): Apply a top-category filter, if any.
8992 (org-agenda-filter-by-top-category)
8993 (org-agenda-filter-top-category-apply):
8994 Set `org-agenda-top-category-filter' to the right value.
8996 * org-clock.el (org-clock-out, org-clock-cancel)
8997 (org-clock-in): Don't modify `frame-title-format' if it is a
9000 * org-latex.el (org-export-latex-special-chars): Fix bug when
9001 escaping special characters in a table.
9003 * org.el (org-read-date): Set cursor-type to nil in the calendar.
9005 * org-faces.el (org-date-selected): Use inverse video.
9006 Don't explicitly set bold to nil as it causes `customize-face' to show
9007 the weight property and thus encourage the user to change it.
9008 Warn in the docstring that using bold might cause problems when
9009 displaying the calendar.
9011 * org-id.el (org-id-update-id-locations): New parameter to silent
9013 (org-id-find): Use the new parameter.
9015 * org.el (org-show-hierarchy-above, org-cycle)
9016 (org-global-cycle, org-files-list, org-store-link)
9017 (org-link-search, org-open-file, org-display-outline-path)
9018 (org-refile-get-location, org-update-all-dblocks)
9019 (org-change-tag-in-region, org-entry-properties)
9020 (org-save-all-org-buffers, org-revert-all-org-buffers)
9021 (org-buffer-list, org-cdlatex-mode)
9022 (org-install-agenda-files-menu, org-end-of-subtree)
9023 (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9024 'org-mode) instead of (eq major-mode 'org-mode).
9026 * org-timer.el (org-timer-set-timer): Ditto.
9028 * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9030 * org-src.el (org-edit-src-exit, org-edit-src-code)
9031 (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9033 * org-remember.el (org-remember-handler): Ditto.
9035 * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9037 * org-macs.el (org-get-limited-outline-regexp): Ditto.
9039 * org-lparse.el (org-replace-region-by): Ditto.
9041 * org-latex.el (org-latex-to-pdf-process)
9042 (org-replace-region-by-latex): Ditto.
9044 * org-indent.el (org-indent-indent-buffer): Ditto.
9046 * org-id.el (org-id-store-link, org-id-update-id-locations)
9047 (org-id-store-link): Ditto.
9049 * org-html.el (org-export-html-preprocess)
9050 (org-replace-region-by-html): Ditto.
9052 * org-footnote.el (org-footnote-normalize)
9053 (org-footnote-goto-definition)
9054 (org-footnote-create-definition, org-footnote-normalize): Ditto.
9056 * org-docbook.el (org-replace-region-by-docbook): Ditto.
9058 * org-ctags.el (find-tag): Ditto.
9060 * org-colview.el (org-columns-redo)
9061 (org-columns-display-here, org-columns-edit-value)
9062 (org-columns-redo): Ditto.
9064 * org-capture.el (org-capture-insert-template-here)
9065 (org-capture, org-capture-finalize)
9066 (org-capture-set-target-location)
9067 (org-capture-insert-template-here): Ditto.
9069 * org-ascii.el (org-replace-region-by-ascii): Ditto.
9071 * org-archive.el (org-archive-subtree): Ditto.
9073 * org-agenda.el (org-agenda)
9074 (org-agenda-get-restriction-and-command)
9075 (org-agenda-get-some-entry-text, org-search-view)
9076 (org-tags-view, org-agenda-get-day-entries)
9077 (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9078 (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9080 * org.el (org-repeat-re)
9081 (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9082 (org-deadline, org-schedule, org-matcher-time)
9083 (org-time-stamp, org-read-date, org-read-date-get-relative)
9084 (org-display-custom-time, org-get-wdays)
9085 (org-time-string-to-absolute, org-closest-date)
9086 (org-timestamp-change): Allow to set hourly repeat cookie.
9087 Send an error when an hourly repeat cookie is set and no hour is
9088 specified in the timestamp.
9090 * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9093 * org-clock.el (org-program-exists): Fix docstring.
9095 * org-clock.el (org-clock-file-time-cell-format): New option.
9096 (org-clocktable-write-default): Use it.
9098 * org-faces.el (org-date-selected): New face.
9100 * org.el (org-date-ovl): Use `org-date-selected'.
9102 * org.el (org-mode): Don't use `buffer-face-mode' by default.
9104 * org-agenda.el (org-agenda-mode-map): Bind `^' to
9105 `org-agenda-filter-by-top-category'.
9107 * org-ascii.el (org-export-ascii-underline): Change the default
9108 underlining characters for headlines of level 1 and 2.
9109 Also introduce \. as the underline character for headlines of level 5.
9111 * org-table.el (org-table-recalculate-buffer-tables)
9112 (org-table-iterate-buffer-tables): Add autoload cookie.
9114 * org.el (org-table-map-tables): Exclude tables in src and example
9117 * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9118 untouched when filling an adjacent paragraph.
9120 * org-html.el (org-export-html-preamble-format)
9121 (org-export-html-postamble-format): Improve the docstring.
9123 * org.el (org-todo): Fix regression: rename `state' to
9126 * org-clock.el (org-show-notification): Use `fboundp' instead of
9127 `featurep' and the additional `require'.
9129 * org-clock.el (org-clock-in-prepare-hook): New option to format
9130 the total time cells.
9131 (org-clocktable-write-default): Use the new option.
9133 * org.el (org-open-at-point): Allow to open the agenda from an
9134 active or inactive timestamp in a headline.
9136 * org-html.el (org-export-html-date-format-string): Make a
9139 * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9141 2012-09-30 Carsten Dominik <carsten.dominik@gmail.com>
9143 * org-table.el (org-table-expand-lhs-ranges): Allow hline
9144 references to be expanded correctly in LHS of formulas.
9146 * org-beamer.el (org-beamer-inherited-properties): New option.
9147 (org-beamer-after-initial-vars): Use new option to look for
9148 inherited properties.
9150 * org.el (org-ts-regexp0): Allow time stamps without name of day.
9152 * org-agenda.el (org-toggle-sticky-agenda):
9153 (org-agenda-sticky): Improve :set property.
9155 * org-agenda.el (org-agenda-local-vars): Clean up the variable
9157 (org-agenda-get-restriction-and-command): Add a key for toggling
9158 sticky agenda views.
9160 * org-agenda.el (org-agenda-local-vars): Final decisions about
9163 * org-agenda.el (org-agenda-force-single-file): Variable removed.
9164 (org-prepare-agenda-window): Store pre-agenda window config
9166 (org-timeline): Introduce a scoped version of
9167 `org-agenda-show-log'.
9168 (org-agenda-list): Introduce a scoped version of
9169 `org-agenda-show-log'.
9170 (org-agenda-get-progress): Use the scoped version of
9171 `org-agenda-show-log'.
9172 (org-agenda-local-vars): Write the analysis result as a comment -
9173 to be cleaned up in the next iteration.
9175 * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9176 buffers when toggling sticky-agendas.
9177 (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9178 to explicitly kill all agenda buffers.
9179 (org-agenda-run-series): Remove any old agenda markers in the
9180 buffer that is going to take the new block agenda.
9181 (org-prepare-agenda): Reset markers before erasing the buffer anc
9182 running `org-agenda-mode', because after that the local variable
9183 `org-agenda-markers' will have gone away.
9185 (org-finalize-agenda): Install the marker resetter into the
9187 (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9189 (org-agenda-kill-all-agenda-buffers): New function.
9191 2012-09-30 Chris Gray <chrismgray@gmail.com>
9193 * org-html.el (org-export-as-html): Remove the check for body-only
9194 in the code for generating tables of contents.
9196 2012-09-30 Christoph Dittmann <github@christoph-d.de> (tiny change)
9198 * org-beamer.el (org-beamer-auto-fragile-frames):
9199 Make [fragile] work with overlay specifications.
9201 2012-09-30 Christophe Junke <christophe.junke@inria.fr> (tiny change)
9203 * org-agenda.el (org-agenda-list): Ensures that the list returned
9204 by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9205 checking if the latter is empty.
9207 2012-09-30 Christophe Rhodes <csr21@cantab.net> (tiny change)
9209 * org-latex.el (org-export-latex-tables): Support setting the
9210 :hfmt parameter from #+ATTR_LaTeX.
9212 2012-09-30 Daniel Dehennin <daniel.dehennin@baby-gnu.org> (tiny change)
9214 * org-exp.el (org-export-handle-include-files)
9215 (org-get-file-contents): Handle new parameter :addlevel.
9217 2012-09-30 Dave Abrahams <dave@boostpro.com> (tiny change)
9219 * org.el (org-link-prettify): New function to prettify links while
9220 displaying them with `org-insert-link'.
9221 (org-insert-link): Use the new function.
9223 2012-09-30 David Maus <dmaus@ictsoc.de>
9225 * org-exp.el (org-export-language-setup): Use numeric character
9226 entities for proper rendering of non-UTF8 documents.
9228 * org-exp.el (org-export-language-setup): Add japanese
9231 2012-09-30 Eric Schulte <eric.schulte@gmx.com>
9233 * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9235 * ob.el (org-babel-insert-result): Replace key sequence with
9236 function call. Use a more informative flag to the local function.
9237 (org-add-protective-commas): Declare a new external function.
9239 * org-src.el (org-add-protective-commas): This should be its own
9241 (org-edit-src-exit): Use the new function.
9243 * org-compat.el (org-labels): Remove.
9245 * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9247 * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9249 * ob.el (org-babel-string-read): Don't automatically evaluate code
9250 block results which look like elisp.
9251 (org-babel-import-elisp-from-file): Raise a warning message when
9252 the process of reading code block results raises an error.
9254 * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9255 macro argument multiple times.
9257 * org.el (org-compat): Require org-compat before we first use one
9258 of its functions (a macro actually).
9260 * ob-comint.el (org-babel-comint-with-output): Don't name the
9261 filter function, but rather pass through the anonymous lambda
9264 * org.el (org-babel-load-languages): Common lisp should be
9265 mentioned as a supported babel language.
9267 * org-clock.el (org-clock-special-range): "concat 'string" ->
9269 (org-clocktable-shift): "concat 'string" -> "concat"
9271 * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9274 * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9275 calc internal representations.
9277 * org-clock.el (org-clock-special-range): Replacing cl concatenate
9279 (org-clocktable-shift): Replacing cl concatenate with concat.
9281 * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9283 * org-compat.el (org-flet): Compatibility function now that flet
9284 has been removed from cl-macs.
9285 (org-labels): Compatibility function now that labels has been
9286 removed from cl-macs.
9288 * ob-R.el (org-compat): Require org-compat.
9290 * ob-comint.el: Require org-compat.
9292 * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9295 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9296 compatibility function.
9298 * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9300 (org-babel-lob-execute): Switch to compatibility function.
9302 * ob-python.el (org-babel-python-evaluate-session): Switch to
9303 compatibility function.
9305 * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9308 * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9311 * ob-tangle.el (org-babel-load-file): Switch to compatibility
9313 (org-babel-tangle): Switch to compatibility function.
9314 (org-babel-spec-to-string): Switch to compatibility function.
9316 * ob.el (org-babel-view-src-block-info): Switch to compatibility
9318 (org-babel-execute-src-block): Switch to compatibility function.
9319 (org-babel-edit-distance): Switch to compatibility function.
9320 (org-babel-switch-to-session-with-code): Switch to compatibility
9322 (org-babel-sha1-hash): Switch to compatibility function.
9323 (org-babel-balanced-split): Switch to compatibility function.
9324 (org-babel-join-splits-near-ch): Switch to compatibility function.
9325 (org-babel-get-rownames): Switch to compatibility function.
9326 (org-babel-format-result): Switch to compatibility function.
9327 (org-babel-insert-result): Switch to compatibility function.
9328 (org-babel-examplize-region): Switch to compatibility function.
9329 (org-babel-merge-params): Switch to compatibility function.
9330 (org-babel-noweb-p): Switch to compatibility function.
9331 (org-babel-expand-noweb-references): Switch to compatibility
9334 * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9336 (org-bibtex-fleshout): Switch to compatibility function.
9337 (org-bibtex-read): Switch to compatibility function.
9338 (org-bibtex-write): Switch to compatibility function.
9340 * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9341 compatibility function.
9343 * org-exp.el (org-export-format-source-code-or-example): Switch to
9344 compatibility function.
9346 * org-macs.el (org-called-interactively-p): Indentation fix.
9348 * org-mouse.el (org-mouse-timestamp-today): Switch to
9349 compatibility function.
9350 (org-mouse-set-priority): Switch to compatibility function.
9351 (org-mouse-popup-global-menu): Switch to compatibility function.
9352 (org-mouse-context-menu): Switch to compatibility function.
9354 * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
9355 compatibility function.
9356 (org-plot/gnuplot-script): Switch to compatibility function.
9358 * org.el (org-entry-get): Switch to compatibility function.
9359 (org-fill-paragraph): Switch to compatibility function.
9360 (org-auto-fill-function): Switch to compatibility function.
9362 * ob-lob.el (org-babel-lob-execute): Only try to insert extant
9365 * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
9367 * ob.el (org-babel-set-current-result-hash): Change the hash of
9368 the results for the current code block.
9369 (org-babel-current-result-hash): Fix documentation.
9371 * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
9372 function if the current call line hash matches that in its
9375 * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
9376 a table is a sequence.
9378 * ob-R.el (org-babel-R-assign-elisp): Clean up the code
9379 implementing reads of irregular data into R.
9381 * ob.el (org-babel-header-arg-expand): In new buffers
9382 (char-before) may return nil so use equal rather than =.
9384 * ob-R.el (org-babel-header-args:R): Adding values.
9386 * ob-clojure.el (org-babel-header-args:clojure): Adding values.
9388 * ob-lisp.el (org-babel-header-args:lisp): Adding values.
9390 * ob-sql.el (org-babel-header-args:sql): Adding values.
9392 * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
9394 * ob.el (org-babel-combine-header-arg-lists): Combine lists of
9395 arguments and values.
9396 (org-babel-insert-header-arg): Use new combined header argument
9398 (org-babel-header-arg-expand): Add support for completing-read
9399 insertion of header arguments after ":"
9400 (org-babel-enter-header-arg-w-completion): Completing read
9401 insertion of header arguments
9402 (org-tab-first-hook): Adding header argument completion.
9403 (org-babel-params-from-properties): Combining header argument
9406 * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
9409 * ob.el (org-babel-result-to-file): New optional description
9411 (org-babel-insert-result): Move description logic to another
9414 * ob.el (org-babel-insert-result): Change name of filelinkdescr to
9416 (org-babel-common-header-args-w-values): Change name of
9417 filelinkdescr to file-desc.
9419 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
9422 * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
9425 * ob.el (org-babel-parse-src-block-match): Make use of the new
9426 language argument to org-babel-strip-protective-commas.
9427 (org-babel-parse-inline-src-block-match): Make use of the new
9428 language argument to org-babel-strip-protective-commas.
9429 (org-babel-strip-protective-commas): Now accepts a language
9432 2012-09-30 Fabrice Niessen <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org> (tiny change)
9434 * org-agenda.el (org-agenda-write-buffer-name): Remove the test
9435 for the presence of <style> tag.
9437 2012-09-30 Feng Shu <tumashu@gmail.com>
9439 * org.el (org-create-formula-image-with-imagemagick):
9440 Use 'call-process to launch latex so that no shell output buffer will
9441 be shown when previewing formulas.
9443 * org.el (org-create-formula-image-with-imagemagick): Fix typo.
9445 * org.el (org-latex-create-formula-image-program): New option to
9446 use either dvipng or imagemagick to convert and preview LaTeX
9448 (org-preview-latex-fragment, org-format-latex): Handle the new
9450 (org-create-formula-image-with-dvipng): Rename from
9451 `org-create-formula-image'.
9452 (org-create-formula-image-with-imagemagick): New defun to handle
9453 LaTeX preview with imagemagick.
9454 (org-latex-color, org-latex-color-format): New defuns to handle
9457 * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
9458 Allow to use imagemagick to convert LaTeX fragments.
9460 * org-html.el (org-export-html-preprocess): Ditto.
9462 * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
9464 2012-09-30 George Kettleborough <g.kettleborough@member.fsf.org>
9466 * org-clock.el: New option `org-clock-clocked-in-display' to
9467 control whether the current clock is displayed in the mode line
9470 * org-timer.el: New option `org-timer-display' to control whether
9471 the current timer is displayed in the mode line and/or frame
9474 2012-09-30 Hans-Peter Deifel <hpdeifel@gmx.de> (tiny change)
9476 * ob.el (org-babel-execute-src-block): Allow the :dir header
9477 argument to take relative file names.
9479 2012-09-30 Harri Kiiskinen <harri@pp-kaitue.(none)> (tiny change)
9481 * org-protocol.el: New option.
9482 (org-protocol-store-link, org-protocol-do-capture): Use it.
9484 2012-09-30 Henning Weiss <hdweiss@gmail.com>
9486 * org-mobile.el (org-mobile-edit): Add handling of addheading,
9487 refile, archive, archive-sibling and delete edit nodes.
9488 (org-mobile-locate-entry): Olp links containing only a file are
9489 now be located correctly.
9490 (org-mobile-apply): Instead of finding the location of all target
9491 headings for edit nodes in a separate loop, they will be found
9492 immediately before applying edits.
9494 * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
9497 2012-09-30 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
9499 * org.el (org-parse-time-string): Allow strings supported by
9500 tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
9501 starts with < and ends with >. This means that e.g. in the
9502 clocktable parameters you can specify :tstart "<-1w>" :tend
9505 2012-09-30 Ippei FURUHASHI <top.tuna+orgmode@gmail.com> (tiny change)
9507 * org-colview.el (org-columns): New argument `columns-fmt-string'.
9509 * org-colview.el (org-columns-get-format-end-top-level):
9510 Split into `org-columns-get-format' and `org-columns-goto-top-level'.
9512 * org-colview.el (org-dblock-write:columnview): Add a new
9513 parameter :format which specifies the column view format for the
9514 output of the columnview dynamic block.
9516 2012-09-30 Jambunathan K <kjambunathan@gmail.com>
9518 * org-lparse.el (org-lparse-and-open)
9519 (org-lparse-do-convert): Open exported files with system-specific
9522 * org-odt.el: Don't meddle with `org-file-apps'.
9524 * org-compat.el (org-condition-case-unless-debug): Alias to
9525 `condition-case' when both `condition-case-no-debug' and
9526 `condition-case-unless-debug' is unavailable.
9528 * org-odt.el (org-odt-do-image-size): Replace `flet' with
9529 equivalent construct.
9531 * org-odt.el (org-odt-cleanup-xml-buffers):
9532 Use `condition-case-no-debug' instead of
9533 `condition-case-unless-debug'. This ensures backward
9534 compatibility with Emacs versions < 24.1.
9536 * org-odt.el (org-odt-zip-dir)
9537 (org-odt-cleanup-xml-buffers): New.
9538 (org-export-as-odt-and-open, org-export-as-odt)
9539 (org-odt-init-outfile, org-odt-save-as-outfile)
9540 (org-export-as-odf, org-export-as-odf-and-open):
9541 Use `org-odt-cleanup-xml-buffers'.
9543 * org-odt.el (org-export-odt-default-org-styles-alist):
9544 Add default character style.
9546 * org-odt.el (org-export-odt-default-org-styles-alist):
9547 Add default character style.
9549 * org-lparse.el (org-do-lparse): Remove stray call to
9550 `org-export-html-after-blockquotes-hook'.
9552 * org-bbdb.el (org-bbdb-export): Add support for ODT format.
9554 * org-odt.el (org-odt-update-meta-file): Check for `org-version'
9555 is bound before accessing it.
9557 * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
9558 moved away from $(git-root)/contrib/odt/etc/schema/ to
9559 $(git-root)/etc/schema/.
9561 * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
9562 internal links destined for headlines provide a description or
9563 not. In fact, the `org-store-link' and `org-insert-link' create
9564 internal links which do have a description.
9566 * org-lparse.el (org-lparse-insert-org-table): Consider short
9567 caption as plain text and not as org text.
9569 * org-odt.el (org-export-odt-format-formula)
9570 (org-export-odt-format-image): Ditto.
9572 * org-odt.el (org-odt-begin-table)
9573 (org-export-odt-format-formula, org-export-odt-format-image)
9574 (org-odt-format-entity): Handle short caption.
9576 * org-lparse.el (org-lparse-insert-org-table)
9577 (org-lparse-insert-list-table, org-lparse-insert-table-table):
9580 2012-09-30 Jay McCarthy <jay.mccarthy@gmail.com> (tiny change)
9582 * org-colview.el (org-columns-new-overlay): Make sure to add a
9583 face to a string that has no face.
9585 2012-09-30 Jérémie Courrèges-Anglas <jca@wxcvbn.org> (tiny change)
9587 * org-latex.el: Ensure a final newline is appended to the export
9590 2012-09-30 Levin Du <zslevin@gmail.com> (tiny change)
9592 * org-clock.el (org-clock-in): Fix bug in setting the clock
9595 2012-09-30 Madan Ramakrishnan <madanr79@gmail.com> (tiny change)
9597 * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
9598 advertised by the function.
9600 2012-09-30 Mark E. Shoulson <mark@kli.org> (tiny change)
9602 * org.el (org-fontify-entities): Hide {} when prettifying
9605 2012-09-30 Mark Shoulson <mark@kli.org> (tiny change)
9607 * org-entities.el (org-entities): Add new entities for characters
9608 which could cause formatting changes if typed directly.
9610 * org-entities.el (org-entities): Add \asciicirc entity for ^;
9611 also fixed \circ expansion in latex.
9613 * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
9614 and \there4 were not "prettified" when org-pretty-entities was
9617 2012-09-30 Mats Lidell <matsl@xemacs.org> (tiny change)
9619 * org-element.el (org-element-paragraph-separate):
9620 Remove redundant and misplaced t clause in case.
9622 2012-09-30 Matt Lundin <mdl@imapmail.org>
9624 * org-datetree.el: Fix regexp to allow datetree to find headings
9625 with trailing whitespace. This fixes a bug in which an existing
9626 datetree heading (e.g., "* 2012 ") would not be found by
9627 org-datetree-find-year-create if it had trailing whitespace.
9628 This can cause problems, for instance, if one is using column view on
9629 the date tree, since editing subheadings with column view adds
9630 whitespace at the end of the top heading.
9632 * org-footnote.el (org-footnote-new): Don't call
9633 org-footnote-unique-label if org-footnote-auto-label is set to
9636 * org-gnus.el (org-gnus-follow-link): Fix argument to
9637 gnus-group-read-group so that following a link does not result in
9638 unread article being selected.
9640 * org-bbdb.el (org-bbdb-anniv-extract-date)
9641 (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
9642 to accommodate BBDB 3.x. There are two major changes in BBDB 3.x
9643 that need to be taken into account. The first is that
9644 `bbdb-split' reverses the order of its parameters in 3.x.
9645 The second is that `bbdb-record-getprop' is replaced by
9646 bbdb-record-note in 3.x.
9648 2012-09-30 Max Mikhanosha <max@openchat.com>
9650 * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
9651 a single line of agenda by narrowing the agenda buffer to just
9652 that line before calling `org-agenda-finalize'.
9654 * org.el (org-mode): Don't set org-hide's foreground to
9656 (org-find-invisible-foreground): New function.
9658 * org-agenda.el (defvar org-habit-show-all-today): New variable
9659 (org-agenda-get-scheduled): Show all habits if user wants it
9661 * org-habit.el (defcustom org-habit-show-all-today): New variable
9663 * org-agenda.el (org-agenda-quit): Copy the code for optionally
9664 restoring window configuration after burying the sticky agenda
9667 * org-agenda.el (org-agenda-new-marker): Check for NIL
9669 (org-agenda-to-appt): Bind org-agenda-buffer to NIL
9671 * org-agenda.el (org-agenda-change-all-lines): Move accessing of
9672 'extra text property outside of with-current-buffer for original
9675 * org-agenda.el (defvar org-habit-show-habits-only-for-today):
9678 2012-09-30 Michael Brand <michael.ch.brand@gmail.com>
9680 * org-id.el (org-id-link-to-org-use-id): Align the doc string to
9681 the changed default.
9683 * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
9684 when heading has no text.
9686 * org-capture.el (org-capture-inside-embedded-elisp-p):
9689 * org-feed.el (org-feed-format-entry): Require `org-capture'.
9690 Expand Elisp %(...) templates.
9691 (org-feed-default-template): Update docstring.
9693 * org-capture.el (org-capture-expand-embedded-elisp):
9695 (org-capture-fill-template): Use it.
9696 (org-capture-inside-embedded-elisp-p): New function to tell if we
9697 are within an Elisp %(...) template.
9699 * org-list.el (org-at-item-description-p)
9700 (org-list-item-body-column): Make the inline regexp more
9701 consistent with `org-list-full-item-re', the inline regexp
9702 "Description list items" from `org-set-font-lock-defaults and
9705 2012-09-30 Mike Sperber <sperber@deinprogramm.de>
9707 * org.el (org-fill-paragraph): Pass optional argument to
9708 `fill-paragraph' to fix compatibility with XEmacs.
9710 * org.el (org-self-insert-cluster-for-undo):
9711 Default `org-self-insert-cluster-for-undo' also on XEmacs.
9713 * org.el (org-kill-line): Access `visual-line-mode' only if it's
9716 2012-09-30 Muchenxuan Tong <demon386@gmail.com> (tiny change)
9718 * org-timer.el (org-timer-set-mode-line):
9719 Check `org-timer-display' when value is 'off.
9721 2012-09-30 Nicolas Calderon Asselin <nicolas.calderon.asselin@gmail.com> (tiny change)
9723 * org-clock.el (org-clock-idle-time): Org-mode assumed that
9724 x11idle was an available command, and returned an idle time of 0
9726 (never idle): Add checks so that org-idle-time will come from
9727 emacs' own current-idle-time if x11idle cannot be found or if it
9728 cannot retrieve the idle time from X11
9730 2012-09-30 Nicolas Goaziou <n.goaziou@gmail.com>
9732 * org-element.el: Properly remove COMMENT and QUOTE keywords from
9735 * org-element.el (org-element-headline-parser): Fix parsing for
9736 headlines with a single COMMENT or QUOTE keyword.
9738 * ob-org.el (org-babel-default-header-args:org): By default,
9739 export code from Org src blocks.
9741 * org-element.el (org-element-inline-src-block-successor):
9742 Fix inline-src-block parsing at the beginning of an item.
9744 * org-element.el (org-element--collect-affiliated-keywords):
9745 Fix caption parsing.
9747 * org-element.el (org-element--current-element): At the very
9748 beginning of a footnote definition or an item, next element is
9751 * org-element.el (org-element-headline-parser): Handle nil titles.
9752 (org-element-inlinetask-parser): Add :raw-value property.
9753 Also handle nil titles.
9755 * org.el (org-set-regexps-and-options): Don't consider tags as a
9756 replacement for a missing title in an headline.
9758 * org.el (org-setup-filling): Remove duplicate code.
9760 * org.el (org-adaptive-fill-function): Make sure fill prefix is
9761 computed from beginning of line.
9763 * org-element.el (org-element-section-parser): Make sure section
9764 cannot contain an headline.
9765 (org-element--current-element): Fix bug requiring to parse a quote
9766 section even when point is at an headline.
9768 * org.el (org-adaptive-fill-function): Remove occasional spurious
9769 space character when auto-filling.
9771 * org.el (org-mode): Call external initalizers. Now both filling
9772 code and comments code have their own independant part in org.el.
9773 (org-setup-filling): Rename from `org-set-autofill-regexps'.
9774 (org-setup-comments-handling): New function.
9776 * org.el (org-fill-paragraph): Refine filling in comments and in
9777 paragraphs. Allow commented blank lines. Take into consideration
9778 the indentation of the second line of the paragraph being filled.
9779 (org-comment-or-uncomment-region): Rewrite function. Now comment
9780 region at a fixed column: the minimal indentation of the region.
9781 (org-fill-context-prefix): Rename function into
9782 `org-adaptive-fill-function'. Also, In a paragraph, choose the
9783 same prefix as the current line.
9785 * org-exp.el (org-export-handle-comments): Also remove comments at
9788 * org-exp.el (org-export-handle-comments): Handle inline comments
9791 * org.el (org-structure-template-alist): Add missing colon to
9794 * org.el (org-backward-element): When called at the beginning of
9795 first element in section, the function shouldn't return an error
9796 but move point to headline or point-min instead.
9798 * org-element.el (org-element-paragraph-parser): Tiny refactoring.
9800 * org-element.el (org-element-paragraph-parser): Remove trailing
9803 * org.el (org-fill-context-prefix): Fix incorrect output when
9804 called at the beginning of a plain list with an affiliated
9806 (org-fill-paragraph): Remove useless variable.
9808 * org-element.el (org-element-paragraph-parser): Fix parsing of
9809 paragraph at the beginning of an item.
9811 * org.el (org-mode): Set back comment-start-skip so comment-dwim
9812 can tell a keyword from a comment.
9814 * org.el (org-set-autofill-regexps): Install new comment line
9816 (org-comment-line-break-function): New function.
9817 (org-mode): Remove unnecessary line.
9819 * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
9820 fill verse blocks contents. Verse blocks can be used to format
9821 free-form poetry, so filling has to be done manually.
9823 * org.el (org-fill-paragraph-separate-nobreak-p): New function.
9824 (org-set-autofill-regexps): Introduce new predicate.
9825 (org-fill-item-nobreak-p): Remove function.
9827 * org-element.el (org-element-paragraph-separate): Since this
9828 variable is meant to be searched forward, \end{...} shouldn't
9829 trigger the end of a paragraph before checking if it is the end of
9830 a complete environment.
9831 (org-element-latex-environment-parser): Slight change to the
9832 regexp matching the beginning of a latex environment.
9833 (org-element-paragraph-parser): Paragraphs don't end at incomplete
9835 (org-element-latex-or-entity-successor): Remove paragraph
9836 environments from latex fragment search.
9838 * org-table.el (org-table-number-regexp): By default, accept comma
9839 as a decimal mark to represent numbers.
9841 * org-element.el (org-element-map): Fix comment typo.
9843 * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
9844 returning funny results.
9846 * org.el (org-fill-paragraph): Try not to include message header
9847 and citation lines in a paragraph when filling it.
9849 * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
9850 (org-fill-context-prefix): Fill prefix doesn't depend on current
9853 * org.el (org-mode): Line with a single hash sign on it is a
9856 * org.el (org-set-font-lock-defaults): Fix comment fontification.
9858 * org-element.el (org-element-item-parser): Do not remove tag from
9859 body if list isn't descriptive.
9861 * org-list.el (org-insert-item): Only ask about a term for
9863 (org-list-struct, org-list-insert-item): Do not recognize a tag in
9866 * org-element.el (org-element-set-element): Rewrite function.
9867 (org-element-adopt-elements): New function.
9868 (org-element-adopt-element): Remove function.
9869 (org-element--parse-elements, org-element--parse-objects): Use new
9872 * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
9873 which is now hard-coded.
9874 (org-cycle-list-bullet): Hard code `bullet' rule.
9875 (org-list-get-list-type): Make sure a list with numbered bullets
9876 cannot have `descriptive' type.
9878 * org-element.el (org-element-paragraph-parser): Fix previous
9881 * org.el (org-fill-paragraph): No need to use
9882 `org-element-paragraph-separate' in a verse block since blank
9883 lines only can end a "paragraph".
9885 * org-element.el (org-element-paragraph-separate): Apply changes
9887 (org-element-paragraph-parser): Correctly find end of paragraphs.
9888 (org-element--current-element): Require colons for Babel calls.
9889 (org-element-center-block-parser)
9890 (org-element-dynamic-block-parser, org-element-quote-block-parser)
9891 (org-element-special-block-parser)
9892 (org-element-comment-block-parser)
9893 (org-element-example-block-parser)
9894 (org-element-export-block-parser, org-element-src-block-parser)
9895 (org-element-verse-block-parser): Fall-back to paragraph parsing
9896 when incomplete or ill-formed.
9898 * org-element.el (org-element-swap-A-B): Small refactoring.
9900 * org-element.el (org-element-text-markup-successor): Fix typo in
9903 * org-element.el (org-element-at-point): Return consistent value
9904 when function is called on a blank line within a plain list.
9906 * org-element.el (org-element-paragraph-separate): Fix comments in
9907 paragraph separator regexp. Optimize it.
9909 * org-element.el: Update code commets.
9911 * org.el (org-mark-subtree): Fix bug when marking subtree with
9912 point on an inlinetask. Refactor code.
9914 * org.el (org-mark-subtree): Do not make a special case for
9915 inlinetasks when marking a subtree. These are handled by
9916 `org-element-mark-element'.
9918 * org-element.el (org-element-comment-parser): Consider first "+"
9919 as a comment when parsing an ill-defined keyword.
9921 * org-element.el (org-element-item-interpreter): Simplify bullet
9923 (org-element-plain-list-interpreter): Fix wrong bullets, if
9926 * org-element.el (org-element-comment-parser): Fix parsing when a
9927 keyword follows the commented line.
9929 * org.el (org-fill-context-prefix): Auto-fill first paragraph in
9930 footnote definitions.
9932 * org.el (org-mode): Define new comment syntax.
9933 (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
9934 (org-fill-context-prefix, org-insert-comment)
9935 (org-comment-or-uncomment-region): Use new comment syntax.
9937 * org-element.el (org-element-comment-parser)
9938 (org-element-comment-interpreter, org-element--current-element):
9939 Use new comment syntax.
9941 * org.el (org-fill-paragraph): When at an item or a footnote
9942 definition, fill first paragraph instead.
9944 * org.el (org-fill-paragraph): Fix filling when point is at the
9945 very end of a paragraph.
9947 * org.el (org-mode): Set comments related variables.
9948 (org-insert-comment, org-comment-or-uncomment-region):
9951 * org.el (org-fill-context-prefix): Small refactoring.
9952 (org-fill-paragraph): Add code comments.
9954 * org-element.el (org-element-at-point): Add :parent property to
9956 (org-element-context): Add :parent property to output.
9957 Also return a single element or object instead of a list of parents.
9958 (org-element-forward, org-element-up): Apply changes.
9960 * org.el (org-fill-context-prefix): New function.
9961 (org-fill-paragraph, org-auto-fill-function): Use new function.
9962 Also handle comments.
9963 (org-adaptive-fill-function): Remove function.
9964 (org-get-local-variables, orgstruct++-mode): Don't store now
9965 unused adaptive-fill* functions.
9967 * org-element.el (org-element-at-point): Fix function when buffer
9968 starts with an inlinetask. Also fix it when called on the last
9969 element in a greater element or the buffer.
9971 * org-element.el (org-element-center-block-parser)
9972 (org-element-dynamic-block-parser)
9973 (org-element-footnote-definition-parser)
9974 (org-element-headline-parser, org-element-inlinetask-parser)
9975 (org-element-quote-block-parser, org-element-special-block-parser)
9976 (org-element-plain-list-parser): Refactor code.
9977 (org-element-drawer-parser): Fall-back to paragraph parser when
9978 drawer is incomplete.
9980 * org-macs.el (org-with-limited-levels): Fix typo.
9982 * org-element.el (org-element-paragraph-separate): Refactor.
9983 (org-element-paragraph-parser): Fix paragraph parsing.
9985 * org.el (org-fill-paragraph): Rewrite function using
9986 `org-element-at-point'.
9988 * org-element.el (org-element-fill-paragraph): Remove function.
9990 * org.el (org-planning-or-clock-line-re): Make it a defconst.
9991 It's no use to make it a buffer-local variable since variables on
9992 which it depends are not buffer-local anyway.
9994 * org.el (org-drawer-regexp): Provide default value for
9995 `org-drawer-regexp' in non-Org buffers.
9997 * org-entities.el (org-entities-create-table): Function chokes
9998 when CAR of `org-entities' is a string.
10000 * org-list.el (org-list-automatic-rules): Allow check-boxes in
10002 (org-list-struct-apply-struct, org-insert-item): Remove rule
10005 * org-footnote.el (org-footnote-normalize): Fix positionning in
10006 HTML export without a footnote section.
10008 * org-list.el (org-list-struct-indent):
10009 Follow `org-list-demote-modify-bullet' specifications for ordered
10011 (org-list-indent-item-generic, org-indent-item-tree)
10012 (org-outdent-item-tree): Fix bug when operating on a region.
10013 (org-outdent-item, org-indent-item): Allow to operate on a region.
10015 * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10018 * org-footnote.el (org-footnote-delete-definitions): Remove blank
10019 lines before the footnote definition instead of removing those
10022 * org-footnote.el (org-footnote-at-definition-p): Don't grab
10023 trailing blank lines in a footnote definition.
10024 (org-footnote-delete-definitions): Remove both footnote definition
10025 and trailing blank lines.
10027 2012-09-30 Rick Frankel <rick@rickster.com>
10029 * ob-sql.el: Add dbi engine type and pre/post processing.
10031 2012-09-30 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
10033 * ob.el (org-babel-expand-noweb-references): Capture current noweb
10034 start and end patterns then use to set buffer locals in
10035 (with-temp-buffer) form.
10037 2012-09-30 Sebastien Vauban <sva@mygooglest.com> (tiny change)
10039 * org.el (org-update-all-dblocks): Autoload function.
10041 2012-09-30 Simon Thum <simon.thum@gmx.de> (tiny change)
10043 * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10046 2012-09-30 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> (tiny change)
10048 * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10051 2012-09-30 Stuart Hickinbottom <stuart@hickinbottom.com> (tiny change)
10053 * org-clock.el (org-x11idle-exists-p): Only shell out when running
10056 2012-09-30 Suhail Shergill <suhailshergill@gmail.com> (tiny change)
10058 * org-html.el (org-export-as-html): If possible, use the
10059 :CUSTOM_ID: property to assign unique ids to footnotes.
10061 2012-09-30 T.F. Torrey <tftorrey@tftorrey.com> (tiny change)
10063 * org-exp.el (org-export-remember-html-container-classes):
10064 Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10066 * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10067 of `widen' and don't toggle header as `rmail-widen' already takes
10070 2012-09-30 Tim Howe <vsync@quadium.net> (tiny change)
10072 * org-clock.el (org-clocktable-defaults): Revert extra layer of
10075 2012-09-30 Toby S. Cubitt <tsc25@cantab.net>
10077 * org-capture.el (org-capture-fill-template): Expand %<num> escape
10078 sequences into text entered for <num>'th %^{PROMPT} escape.
10080 * org-capture.el (org-capture-fill-template): Fix regexp for
10081 %<n> expandos to match any positive integer.
10082 (org-capture-templates): Update docstring accordingly.
10084 * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10085 Skip timestamp items in agenda view if item is already shown as a
10087 (org-agenda-skip-deadline-if-done): Pass deadline results to
10088 org-agenda-get-timestamps.
10089 (org-agenda-get-timestamps): Optionally take list of deadline
10090 results, so that timestamp results can be skipped if already
10091 included in deadline results.
10093 * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10094 deadline/scheduling information to be displayed in diary sexp
10096 (org-agenda-get-sexps): Extract deadline/scheduling information
10097 from diary sexp entries.
10099 * org-capture.el (org-capture-place-entry): Place captured entry
10100 immediately after last subheading of target, instead of just
10101 before next heading at same level as target.
10103 * org-capture.el (org-capture-templates): Document new capture
10104 template properties.
10106 * org-capture.el (org-capture-place-entry)
10107 (org-capture-empty-lines-before): Make new :empty-lines-before
10108 property override :empty-lines when inserting empty lines before
10109 captured captured entry.
10111 * org-capture.el (org-capture-finalize)
10112 (org-capture-empty-lines-after): Make new :empty-lines-after
10113 property override :empty-lines when inserting empty lines after
10114 captured captured entry.
10116 * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10117 Add new todo-unblocked and nottodo-unblocked skip conditions.
10118 These match as for todo and nottodo, but only for unblocked todo items.
10120 2012-09-30 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
10122 * org.el (org-read-date-display): Fix bug when displaying the
10125 2012-09-30 Niels Giesen <niels.giesen@gmail.com>
10127 * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10128 When present, the :hline following the head will be skipped.
10129 This is necessary to avoid doubling of horizontal rules in LaTeX
10130 longtable environments and consequent width problems.
10132 * org-latex.el (org-export-latex-tables-tstart)
10133 (org-export-latex-tables-hline)
10134 (org-export-latex-tables-tend): New options.
10135 (org-export-latex-tables): Use the new options.
10137 2012-09-30 Feng Shu <tumashu@gmail.com> (tiny change)
10139 * org-exp.el (org-export-language-setup): Add simplified chinese
10142 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10144 Better seed support for (random).
10145 * org-id.el (org-id-uuid):
10146 Change (random t) to (random), now that the latter is more random.
10148 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10150 Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10151 * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10152 (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10153 (ly-w32-midi-path): Rename from ly-win32-midi-path.
10154 (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10155 Check for "windows-nt", not "win32", in system-type.
10157 2012-06-02 Chong Yidong <cyd@gnu.org>
10159 * org-clock.el (org-clock-string-limit)
10160 (org-clock-modeline-total, org-clock-task-overrun-text)
10161 (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10163 2012-05-27 Mark Shoulson <mark@kli.org> (tiny change)
10165 * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10166 \there4 were not "prettified" when org-pretty-entities was enabled.
10168 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10170 * org.el (org-font-lock-add-priority-faces):
10171 Restrict priorities fontification to headlines and inlinetasks.
10173 2012-05-27 Jambunathan K <kjambunathan@gmail.com>
10175 * org-odt.el (org-odt-init-outfile)
10176 (org-odt-write-manifest-file):
10177 Disable `nxml-auto-insert-xml-declaration-flag'.
10179 * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10181 2012-05-27 Bastien Guerry <bzg@gnu.org>
10183 * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10185 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10187 * ob.el (org-babel-capitalize-examplize-region-markers):
10188 Controls the capitalization of begin and end example blocks.
10189 (org-babel-examplize-region):
10190 Optionally capitalize example block delimiters.
10192 * ob-plantuml.el (org-babel-execute:plantuml):
10193 Add a :java header argument to plantuml.
10195 * org-exp-blocks.el (org-export-blocks-preprocess):
10196 Even when the body of a block is not indented the boundary markers
10197 should be indented to their original positions so things like list
10198 indentation still work.
10200 * ob.el (org-babel-parse-src-block-match):
10201 Save match data during indentation check.
10203 2012-05-27 Bastien Guerry <bzg@gnu.org>
10205 * org.el (org-scan-tags): Correctly match TODO keywords.
10207 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10209 * org-list.el (org-list-struct): Fix white spaces.
10210 (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10212 * org-list.el (org-list-swap-items, org-list-send-item):
10213 Preserve visibility when moving items.
10215 2012-05-27 Mark E. Shoulson <mark@kli.org> (tiny change)
10217 * org.el (org-fontify-entities): Hide {} when prettifying entities.
10219 2012-05-27 Bastien Guerry <bzg@gnu.org>
10221 * org.el (org-cycle-internal-global): Prevent the display of
10222 messages when cycling from with a Gnus article buffer.
10224 * org-table.el (org-table-time-seconds-to-string):
10225 Fix bug about handling a negative duration value.
10227 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10229 * org.el (org-link-expand-abbrev): Fix docstring.
10231 * org.el (org-translate-link): Fix bug.
10233 2012-05-27 Bastien Guerry <bzg@gnu.org>
10235 * org-agenda.el (org-agenda-bulk-mark-regexp):
10236 Fix bug when setting the number of marked entries.
10238 * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10239 (org-set-calc-mode, org-table-eval-formula): Use it.
10241 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10243 * ob.el (org-babel-find-named-result):
10244 Fix bug finding empty named results.
10246 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
10248 * org.el (org-set-regexps-and-options):
10249 Fix `org-planning-or-clock-line-re' regexp. Indeed "\\>" will never
10250 match since time keywords must end with colons, which are not word
10253 2012-05-27 Bastien Guerry <bzg@gnu.org>
10255 * org-ctags.el (org-ctags-new-topic-template):
10256 Fix the option default value back again.
10258 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
10260 * org-bibtex.el (org-bibtex-export-to-kill-ring):
10261 Don't rely on kill-new to return a string.
10263 * org-bibtex.el (org-bibtex-headline):
10264 Remove call to bibtex-reformat which often hangs.
10266 2012-04-27 Glenn Morris <rgm@gnu.org>
10268 * org-ctags.el (org-ctags-new-topic-template):
10269 Revert 2012-04-09 removal of * from defcustom value, not doc.
10271 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10273 * org-table.el (org-table-number-fraction): Fix typo.
10275 2012-04-27 Eric Schulte <eric.schulte@gmx.com>
10277 * ob-python.el (org-babel-execute:python): Ensure newline precedes
10278 automatically-added returns.
10280 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10282 * org-mouse.el (org-mode-hook): Do not move point when clicking on
10283 a footnote reference.
10285 2012-04-27 Bastien Guerry <bzg@gnu.org>
10287 * org-faces.el (org-date-selected): Fix docstring.
10289 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10291 * org-list.el (org-list-struct-indent):
10292 Follow `org-list-demote-modify-bullet' specifications for ordered
10294 (org-list-indent-item-generic, org-indent-item-tree)
10295 (org-outdent-item-tree): Fix bug when operating on a region.
10296 (org-outdent-item, org-indent-item): Allow to operate on a region.
10298 * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10301 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
10303 * org-footnote.el (org-footnote-normalize): Fix positioning in
10304 HTML export without a footnote section.
10306 2012-04-27 Madan Ramakrishnan <madanr79@gmail.com> (tiny change)
10308 * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10309 advertised by the function.
10311 2012-04-27 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
10313 * org.el (org-read-date-display): Fix bug when displaying the
10316 2012-04-27 Bastien Guerry <bzg@gnu.org>
10318 * org.el (org-mode): Don't use `buffer-face-mode' by default.
10320 2012-04-27 Bastien Guerry <bzg@gnu.org>
10322 * org-faces.el (org-date-selected): New face.
10324 2012-04-27 Jambunathan K <kjambunathan@gmail.com>
10326 * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10327 internal links destined for headlines provide a description or
10328 not. In fact, the `org-store-link' and `org-insert-link' create
10329 internal links which do have a description.
10331 2012-04-27 Bastien Guerry <bzg@gnu.org>
10333 * org-clock.el (org-program-exists): Fix docstring.
10335 2012-04-14 Bastien Guerry <bzg@gnu.org>
10337 * org.el (org-point-at-end-of-empty-headline): Only try to match
10338 `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10340 (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10341 to fontify beyond (point-max).
10343 * org-clock.el (org-clock-task-overrun-text)
10344 (org-task-overrun, org-clock-get-clock-string)
10345 (org-clock-update-mode-line)
10346 (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10347 and `org-task-overrun-text' to `org-clock-task-overrun' and
10348 `org-clock-task-overrun-text' respectively.
10349 (org-task-overrun-text): New alias.
10351 * org-table.el (org-table-eval-formula): Fix bug about handling
10352 remote references as durations.
10353 (org-table-get-range): Fix bug: make sure references to $0 are
10356 * org-pcomplete.el (pcomplete/org-mode/file-option):
10357 Fix bug in `pcomplete/org-mode/file-option'.
10358 (org-thing-at-point): Also match line options like LATEX_CLASS
10359 when pcompleting from LATEX_.
10361 * org-agenda.el (org-agenda-filter-make-matcher)
10362 (org-agenda-filter-apply): Allow filtering entries out by
10363 category. Using `C-u <' from the agenda view will redisplay
10364 the agenda without entries from categories of the current line.
10366 2012-04-14 Eric Schulte <eric.schulte@gmx.com>
10368 * ob-C.el (org-babel-C-ensure-main-wrap):
10369 Add an explicit return to automatically generated main methods.
10371 2012-04-14 Matt Lundin <mdl@imapmail.org>
10373 * org.el (org-after-todo-state-change-hook):
10374 Fix docstring to reflect name change of state to `org-state'.
10376 2012-04-14 Mike Sperber <sperber@deinprogramm.de> (tiny change)
10378 * org-footnote.el (org-footnote-normalize):
10379 Correctly pass keyword arguments to `org-export-preprocess-string'.
10381 2012-04-03 Bastien Guerry <bzg@gnu.org>
10383 * org.el (org-todo): Fix regression: rename `state' to
10385 (org-use-effective-time): Fix group and type.
10387 2012-04-02 Bastien Guerry <bzg@gnu.org>
10389 * org-clock.el (org-clock-out-if-current): Fix regression: rename
10390 `org-clock-state' to `org-state' to match the name of the
10391 dynamically-scoped variable in `org-todo'.
10393 * org-agenda.el (entry, org-diary, org-class): Fix regression:
10394 rename `org-entry' to `entry'.
10396 2012-04-01 Bastien Guerry <bzg@gnu.org>
10398 * org.el (org-todo): Fix regression in `org-todo'.
10400 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10402 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
10403 C files on windows.
10405 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10407 * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10410 * ob.el (org-babel-parse-src-block-match): Make use of the new
10411 language argument to org-babel-strip-protective-commas.
10412 (org-babel-parse-inline-src-block-match): Make use of the new
10413 language argument to org-babel-strip-protective-commas.
10414 (org-babel-strip-protective-commas): Now accepts a language
10417 2012-04-01 Bastien Guerry <bzg@gnu.org>
10419 * org.el (org-fast-tag-selection): Fix an bug when listing tags
10422 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10424 * org.el (org-delete-property-globally): Fix a bug that left
10425 blank line in place of the property, instead of removing the line.
10427 2012-04-01 Bastien Guerry <bzg@gnu.org>
10429 * ob-maxima.el (org-babel-maxima-command): Add group information
10432 2012-04-01 Bastien Guerry <bzg@gnu.org>
10434 * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
10435 face to 'org-default.
10437 2012-04-01 Bastien Guerry <bzg@gnu.org>
10439 * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
10442 2012-04-01 Bastien Guerry <bzg@gnu.org>
10444 * org.el: Prevent a bug while defining the menu by requiring
10445 `org-beamer' when necessary.
10447 2012-04-01 Bastien Guerry <bzg@gnu.org>
10449 * org-table.el (orgtbl-self-insert-command):
10450 Use `backward-delete-char' instead of `delete-backward-char' as this
10451 last command gets caught by the compiler which says to not use it
10452 in programs. `backward-delete-char' is just an alias for
10453 `delete-backward-char' which is internally remapped to
10454 `org-delete-backward-char' for optimization purpose.
10456 2012-04-01 Bastien Guerry <bzg@gnu.org>
10458 * org-latex.el (org-export-latex-subcontent): Bugfix: when
10459 `org-export-latex-low-levels' is nil, do not export low levels.
10461 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10463 * ob.el (org-babel-insert-result): Fix bug in indented wrapped
10466 2012-04-01 Bastien Guerry <bzg@gnu.org>
10468 * org.el (org-set-tags): Include `org-tag-alist' in the list of
10469 possible completions, even when there are tags defined in the
10472 2012-04-01 Bastien Guerry <bzg@gnu.org>
10474 * org.el (org-set-tags): Don't add a column when there is only one
10475 tag offered for completion.
10477 2012-04-01 Bastien Guerry <bzg@gnu.org>
10479 * org.el (org-fast-tag-selection): Include tags from
10480 `org-tag-alist' when completing with the TAB key.
10482 2012-04-01 Shoji Nishimura <nishimura.shoji@gmail.com> (tiny change)
10484 * org.el (org-display-inline-images): Honor the ̀beg' parameter.
10486 2012-04-01 Bastien Guerry <bzg@gnu.org>
10488 * org-latex.el (org-export-latex-subcontent): Don't insert a
10489 linebreak when itemizing a subtree that is just a headline.
10491 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10493 * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
10494 parsing inline call_foo lines.
10496 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10498 * ob-maxima.el (org-babel-maxima-command): The maxima command used
10499 should be configurable (defaults to maxima-command if defined).
10500 (org-babel-execute:maxima): The maxima command used should be
10501 configurable (defaults to maxima-command if defined).
10503 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10505 * ob-C.el (org-babel-C-execute): Add the local directory to the
10506 library search path for C/C++ block compilation.
10508 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10510 * ob.el (org-babel-where-is-src-block-result): Don't truncate
10511 results name on call line execution.
10513 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10515 * org-colview.el (org-columns-cleanup-item): Handle case of empty
10518 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10520 * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
10521 export error when a src block produces fake footnotes.
10523 2012-04-01 Bastien Guerry <bzg@gnu.org>
10525 * org.el (org-read-date): Don't mention `parse-time-weekdays' and
10526 `parse-time-months' in the docstring.
10528 2012-04-01 Bastien Guerry <bzg@gnu.org>
10530 * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
10533 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10535 * org-colview.el (org-columns-compute): Also consider inline tasks
10536 when computing the sum.
10538 2012-04-01 Thomas Morgan <tlm@ziiuu.com> (tiny change)
10540 * org-habit.el (org-habit-insert-consistency-graphs):
10541 Fix alignment of consistency graph in filtered agenda view.
10543 2012-04-01 Bastien Guerry <bzg@gnu.org>
10545 * org-latex.el (org-export-as-latex): Fix bug in setting the
10546 export directory according to the LaTeX options.
10548 2012-04-01 K.Nagashima <uni.naga@gmail.com> (tiny change)
10550 * org.el (org-show-subtree): Make interactive.
10552 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu>
10554 * org-clock.el (org-clock-get-table-data): Make sure todo-only
10555 does not leak when it is set by make-org-tags-macher.
10557 2012-04-01 Bastien Guerry <bzg@gnu.org>
10559 * org.el (org-cycle-internal-local): Don't try to hide drawers
10560 within subtrees in this function, it slows cycling down.
10562 2012-04-01 Bastien Guerry <bzg@gnu.org>
10564 * org-agenda.el (org-agenda-custom-commands-local-options):
10565 Fix incorrect custom option definition.
10567 2012-04-01 Bastien Guerry <bzg@gnu.org>
10569 * org-colview.el (org-columns-display-here): Bugfix: use the date
10570 as the value for the ITEM column when displaying a summary.
10572 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
10574 * ob-lilypond.el: Re-direct homepage to Worg.
10576 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
10578 * ob-lilypond.el: Leave versioning to Org.
10580 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
10582 * ob-lilypond.el: Fix compiler warning.
10584 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10586 * org-odt.el (org-odt-format-entity-caption): Enumerate entities
10587 that have either a caption or a label.
10588 (org-odt-label-styles, org-odt-category-map-alist): Add a
10589 separator between sequence number and caption. Introduced two
10590 new label styles for handling of math formula and math label.
10591 (org-odt-format-label-definition)
10592 (org-export-odt-format-formula): Propagate above changes.
10594 2012-04-01 Bastien Guerry <bzg@gnu.org>
10596 * org.el (org-enforce-todo-dependencies): Fix docstring.
10598 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10600 * org-odt.el (org-export-odt-category-strings): New custom
10602 (org-odt-category-map-alist): Modify interpretation.
10603 Don't use the same field to double up as both a OpenDocument
10604 variable and a category string. Entries in this list now
10605 specify only the OpenDocument variable. Category strings are
10606 obtained through an indirect lookup of
10607 `org-export-odt-category-strings'. Use same OpenDocument
10608 variables as what LibreOffice uses for various entities.
10610 (org-odt-add-label-definition)
10611 (org-odt-format-label-definition)
10612 (org-odt-format-label-reference): Propagate above changes.
10614 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10616 * org-latex.el (org-export-as-latex): Check TeX-master correctly.
10618 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10620 * org-odt.el (org-odt-category-map-alist): Update docstring.
10621 (org-export-odt-user-categories)
10622 (org-export-odt-get-category-from-label)
10623 (org-odt-get-label-category-and-style): Remove.
10624 (org-odt-add-label-definition): Propagate above changes.
10626 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10628 * org.el (org-refile): Don't allow creation of parents when using
10629 the refile command to go to a headline.
10631 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10633 * org-odt.el (org-odt-format-org-link): Resolve links to headlines
10634 as section numbers only if section numbering is on.
10636 2012-04-01 Bastien Guerry <bzg@gnu.org>
10638 * org.el (format-spec): Require 'format-spec.
10640 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10642 * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
10644 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10646 * org.el (org-imenu-get-tree): Check that looking-at succeeds
10647 before using match results.
10649 2012-04-01 Bastien Guerry <bzg@gnu.org>
10651 * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
10653 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10655 * org-lparse.el (org-do-lparse): Make effective setting of
10656 `org-export-headline-levels' available to the ODT exporter.
10657 Also remove some stale comments.
10659 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10661 * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
10662 per-language string for "Table Of Contents".
10664 2012-04-01 Bastien Guerry <bzg@gnu.org>
10666 * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
10668 2012-04-01 Shaun Johnson <shaun@slugfest.demon.co.uk> (tiny change)
10670 * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
10673 2012-04-01 Suvayu Ali <fatkasuvayu+linux@gmail.com>
10675 * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
10676 case-fold-search is bound to nil globally, the
10677 (case-fold-search t) doesn't work until we get to the body.
10679 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10681 * org-latex.el (org-export-latex-tables): Allow to use
10684 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10686 * ob.el (org-babel-expand-noweb-references): Fix bug in src name
10687 regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
10689 2012-04-01 David Maus <dmaus@ictsoc.de>
10691 * org.el (org-scan-tags): Require one or more spaces (+) between
10692 keyword and headline.
10694 2012-04-01 David Maus <dmaus@ictsoc.de>
10696 * org-agenda.el (org-prepare-agenda): Don't reset
10697 `org-done-keywords-for-agenda' when `org-agenda-multi'.
10699 2012-04-01 Thomas Morgan <tlm@ziiuu.com> (tiny change)
10701 * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
10702 while inserting habit graph in the agenda buffer.
10704 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10706 * org-src.el (org-src-edit-buffer-p): New function.
10708 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10710 * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
10711 being checked. Also enhance the docstring a bit.
10713 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10715 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
10716 display of indirect agenda window.
10718 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10720 * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
10723 2012-04-01 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
10725 * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
10726 to tags-list and org-trust-scanner-tags to t while evaluating the
10727 matcher, since the matcher is always evaluated at the current
10730 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10732 * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
10733 evaluating the matcher, since the matcher is always evaluated at
10736 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10738 * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
10739 quoting expression.
10741 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10743 * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
10745 (org-babel-noweb-p): The "eval" argument only expands during
10748 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10750 * ob.el (org-strip-protective-commas): Declared.
10752 * org-agenda.el (org-agenda-filtered-by-category): Declared.
10753 (org-agenda-filter-apply): Capture free variable.
10755 * org-footnote.el (org-skip-whitespace): Declared.
10757 * org-mobile.el (org-agenda-filter): Declared.
10759 * org-src.el (org-strip-protective-commas): Declared.
10761 2012-04-01 Sebastien Vauban <sva@mygooglest.com> (tiny change)
10763 * org.el (org-version): Add autoload cookie.
10765 2012-04-01 David Maus <dmaus@ictsoc.de>
10767 * org-attach.el (org-attach-store-link-p): Remove spurious quote
10768 in customization form choice.
10770 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10772 * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
10773 (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
10776 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10778 * ob.el (org-babel-insert-result): Ensure correct order for empty
10779 result wrapping blocks.
10781 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
10783 * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
10784 and add easy pdf generation in the form of `ly-gen-pdf' variable.
10786 2012-04-01 Deech <deech@deech-ThinkPad-X200.none> (tiny change)
10788 * ob-tangle.el (org-babel-spec-to-string): The link generated by
10789 org-store-link is escaped twice when tangling with ":comments yes"
10792 2012-04-01 Bastien Guerry <bzg@gnu.org>
10794 * org-html.el (org-export-as-html): Remove another useless space
10797 2012-04-01 Bastien Guerry <bzg@gnu.org>
10799 * org-html.el (org-export-as-html): Remove another useless space
10802 2012-04-01 Bastien Guerry <bzg@gnu.org>
10804 * org-html.el (org-export-as-html): Remove useless space before
10807 2012-04-01 Sebastien Vauban <sva@mygooglest.com> (tiny change)
10809 * org.el (org-version): Add autoload cookie.
10811 2012-04-01 Bastien Guerry <bzg@gnu.org>
10813 * org.el (org-get-category): Save match data.
10815 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10817 * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
10818 :tangle is specified.
10820 * ob.el (org-babel-expand-noweb-references): Widen buffer when
10821 expanding noweb references.
10823 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10825 * ob-table.el (sbe): Don't accidentally leave a `t' value when
10826 variables are force interpreted as strings.
10828 2012-04-01 David Maus <dmaus@ictsoc.de>
10830 * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
10831 (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
10833 2012-04-01 David Maus <dmaus@ictsoc.de>
10835 * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
10836 (bbdb-search-organization): Declare functions to silence byte
10839 2012-04-01 Bernt Hansen <bernt@norang.ca>
10841 * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
10842 repeating tasks using .+n and ++n syntax.
10844 2012-04-01 Karl Fogel <kfogel@red-bean.com> (tiny change)
10846 * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
10847 heading that has a date but no todo keyword.
10849 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10851 * ob.el (org-babel-find-named-result): Fix code block replacement
10854 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10856 * org-footnote.el (org-footnote-normalize): Do not normalize
10857 labels when sort-only is non-nil.
10859 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10861 * org-footnote.el (org-footnote-normalize): Remove an useless part
10863 (org-insert-footnote-reference-near-definition): Remove function.
10865 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10867 * org-footnote.el (org-footnote-normalize): Fix normalization of
10868 inline footnotes with no footnote section.
10870 2012-04-01 David Maus <dmaus@ictsoc.de>
10872 * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
10873 to check for old or new version by a check for the required
10874 function in `org-bbdb-open' and `org-bbdb-store-link'.
10875 (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
10878 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10880 * ob.el (org-babel-find-named-result): Don't miss a code block
10881 when there are confounding spaces after the result name.
10883 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10885 * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
10886 regular expressions.
10887 (org-babel-inline-lob-one-liner-regexp): Less greedy regular
10890 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10892 * ob.el (org-babel-examplize-region): Fix bug in examplization.
10894 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10896 * org.el (org-link-search): Search for #+name affiliated keywords
10897 and invisible targets.
10899 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10901 * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
10902 newlines in a transcoded footnote definition. This ensures that
10903 the line that is currently being processed by `org-do-lparse' loop
10904 doesn't get broken up into multiple lines. Fix for the following
10907 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10909 * org-footnote.el (org-footnote-normalize): Force a paragraph
10910 break after the last footnote definition. This is an an implicit
10911 assumption made by the org-lparse.el library. With this change,
10912 footnote definitions can reliably be exported with ODT backend.
10913 See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
10915 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10917 * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
10919 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10921 * org-list.el (org-list-struct): Fix small bug introduced by
10922 commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
10924 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10926 * ob-ditaa.el (org-ditaa-jar-path): Already defined in
10929 * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
10930 for the fact that this is really now a Babel thing -- even if it
10931 is used here and the definition should remain here for reasons of
10934 2012-04-01 David Maus <dmaus@ictsoc.de>
10936 * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
10937 defined after bbdb was loaded.
10939 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10941 * org-latex.el (org-export-latex-tables): Don't add spurious
10942 preceding newline if caption is not above a longtable.
10944 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10946 * org-odt.el (org-odt-insert-toc): Remove this stray,
10947 dysfunctional routine. This possibly has crept in because of the
10948 broken merges between "maint" and "origin" branches.
10949 (org-odt-begin-table): Don't emit an empty paragraph when a table is
10950 neither labeled nor captioned.
10951 (org-odt-init-outfile): Remove reference to an unused variable.
10953 2012-04-01 Viktor Rosenfeld <listuser36@googlemail.com>
10955 * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
10958 2012-04-01 Andreas Leha <andreas.leha@med.uni-goettingen.de>
10960 * ob.el (org-babel-goto-named-src-block): Pushing the point to the
10961 org-mark-ring and guessing at the code block name to jump to.
10963 2012-04-01 David Maus <dmaus@ictsoc.de>
10965 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
10966 of indirect buffer and window.
10968 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10970 * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
10973 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10975 * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
10978 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10980 * org-exp.el (org-table-clean-before-export): Ignore table rows
10981 defining parameters for formulas during export.
10983 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10985 * org-list.el (org-list-get-item-number): New function.
10987 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10989 * org-list.el (org-list-ending-method, org-list-end-regexp):
10991 (org-in-item-p, org-list-separating-blank-lines-number)
10992 (org-list-parse-list, org-list-struct): Apply changes.
10994 * org-exp.el (org-export-mark-list-end)
10995 (org-export-mark-list-properties): Apply changes.
10997 * org-latex.el (org-export-latex-lists): Apply changes.
10999 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11001 * org.el (org-cycle-internal-local): Correctly unfold headlines
11002 containing an inlinetask.
11004 2012-04-01 Bastien Guerry <bzg@gnu.org>
11006 * org.el (org-structure-template-alist): Fix missing angle
11007 brackets for muse export style.
11009 2012-04-01 David Maus <dmaus@ictsoc.de>
11011 * org.el (org-recenter-calendar): Use `with-selected-window' to
11012 select calendar window and save currently selected window and
11015 2012-04-01 Toby S. Cubitt <tsc25@cantab.net> (tiny change)
11017 * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11018 argument set, otherwise not only are headlines in the current
11019 subtree excluded, but it throws an error if point happens not to
11020 be within a subtree (e.g. at start of buffer).
11022 2012-04-01 David Maus <dmaus@ictsoc.de>
11024 * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11026 2012-04-01 David Maus <dmaus@ictsoc.de>
11028 * org-clock.el (org-in-clocktable-p): Move to org.el.
11030 * org.el (org-in-clocktable-p): New function. Moved from
11033 2012-04-01 David Maus <dmaus@ictsoc.de>
11035 * org-exp.el (org-export-get-title-from-subtree): Don't format
11036 tags in title if title headline does not have tags.
11038 2012-04-01 Bastien Guerry <bzg@gnu.org>
11040 * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11043 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11045 * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11046 Delay it till the end of export.
11047 (org-odt-begin-document-body): Make a note of the default
11048 position of TOC in `org-lparse-dyn-first-heading-pos'.
11049 (org-odt-insert-toc): Insert TOC as directed by
11050 [TABLE-OF-CONTENTS] line or at the default position.
11051 (org-odt-end-export): Call `org-odt-insert-toc'.
11053 2012-04-01 Bastien Guerry <bzg@gnu.org>
11055 * org.el (org-preview-latex-fragment): Throw an error when called
11056 from a non-file buffer.
11058 2012-04-01 David Maus <dmaus@ictsoc.de>
11060 * org-capture.el (org-capture-place-item): Don't search for
11061 position in existing list if :exact-position was supplied.
11063 2012-04-01 Bastien Guerry <bzg@gnu.org>
11065 * org.el (org-set-font-lock-defaults): Fix bug in done headline
11068 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11070 * org-odt.el (org-odt-format-textbox): Honor user-specified width
11071 in captioned images.
11073 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11075 * org.el (org-update-property-plist): Fix bug in property list
11078 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11080 * ob.el (org-babel-balanced-split): Explicit checking if list
11081 before calling member.
11083 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11085 * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11086 as the separator to `org-table-convert-region'. Fixes errors when
11087 only one result per line of output.
11089 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11091 * ob.el (org-babel-strip-protective-commas):
11092 Use `org-strip-protective-commas'.
11094 * org-exp.el (org-export-select-backend-specific-text):
11095 Use `org-strip-protective-commas'.
11097 * org-src.el (org-edit-src-code):
11098 Use `org-strip-protective-commas'.
11100 * org.el (org-strip-protective-commas): Single definition for this
11103 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11105 * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11107 2012-04-01 David Maus <dmaus@ictsoc.de>
11109 * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11110 Run before the finalization process starts.
11111 (org-capture-finalize): Run new hook.
11113 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11115 * org.el (org-entry-get): Generalize to multiple "prop+"
11118 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11120 * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11121 the `org-src-mode-map'.
11123 2012-04-01 David Maus <dmaus@ictsoc.de>
11125 * org.el (org-recenter-calendar): Use `with-selected-window' to
11126 select calendar window and save currently selected window and
11129 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11131 * org-list.el (org-list-ending-method, org-list-end-regexp):
11133 (org-in-item-p, org-list-separating-blank-lines-number)
11134 (org-list-parse-list, org-list-struct): Apply changes.
11136 * org-exp.el (org-export-mark-list-end)
11137 (org-export-mark-list-properties): Apply changes.
11139 * org-latex.el (org-export-latex-lists): Apply changes.
11141 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11143 * org.el (org-entry-get): Accumulate properties from subtree
11146 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11148 * org.el (org-entry-get): Accumulate properties from subtree
11151 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11153 * org-odt.el (org-export-odt-image-size-probe-method)
11154 (org-odt-do-image-size): Use imagemagick preferentially to
11155 determine image sizes.
11157 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11159 * org-odt.el (org-export-as-odt-to-buffer)
11160 (org-replace-region-by-odt, org-export-region-as-odt):
11161 Remove these interactive functions. They are of questionable value.
11163 2012-04-01 Toby S. Cubitt <tsc25@cantab.net> (tiny change)
11165 * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11166 argument set, otherwise not only are headlines in the current
11167 subtree excluded, but it throws an error if point happens not to
11168 be within a subtree (e.g. at start of buffer).
11170 2012-04-01 Bastien Guerry <bzg@gnu.org>
11172 * org-exp.el (org-export-kill-product-buffer-when-displayed)
11173 (org-export-initial-scope, org-export-date-timestamp-format)
11174 (org-export-with-tasks, org-export-email-info)
11175 (org-export-table-remove-empty-lines): Add version tag.
11177 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11179 * org.el (org-cycle-internal-local): Correctly unfold headlines
11180 containing an inlinetask.
11182 2012-04-01 Bernt Hansen <bernt@norang.ca>
11184 * org-clock.el (org-clock-out): Do not delete the current clocking
11185 task when org-clock-out-hook clocks in another task.
11187 2012-04-01 David Maus <dmaus@ictsoc.de>
11189 * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11191 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11193 * org-odt.el (org-export-odt-convert-processes): Re-define
11194 (org-export-odt-convert-capabilities): Fix an accidental
11197 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11199 * org-odt.el (org-export-odt-convert-capabilities): Change the
11202 2012-04-01 David Maus <dmaus@ictsoc.de>
11204 * org-clock.el (org-in-clocktable-p): Move to org.el.
11206 * org.el (org-in-clocktable-p): New function. Moved from org-clock.el.
11208 2012-04-01 David Maus <dmaus@ictsoc.de>
11210 * org-exp.el (org-export-get-title-from-subtree): Don't format
11211 tags in title if title headline does not have tags.
11213 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11215 * org-footnote.el (org-blank-before-new-entry)
11216 (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11219 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11221 * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11222 and C-e behavior with visual lines.
11224 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11226 * org-exp-blocks.el (org-export-blocks): Change the name of
11227 exporting comment blocks given that it seems regular comment
11228 blocks no longer export.
11230 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11232 * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11234 (org-babel-exp-in-export-file): Access current export buffer.
11235 (org-babel-exp-src-block): Access current export buffer.
11236 (org-babel-exp-inline-src-blocks): Access current export buffer.
11238 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11240 * ob-exp.el (org-babel-exp-in-export-file)
11241 (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11242 Allow org-current-export-file to contain a buffer.
11244 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11246 * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11247 with `shell-command-to-string'.
11249 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11251 * org-footnote.el (org-footnote-create-definition): Fix space
11252 insertion when creating a new footnote. This fixes newline
11253 munching when `org-footnote-section' is nil and blank lines
11254 stacking when it isn't nil.
11256 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11258 * org-footnote.el (org-footnote-normalize): Make sure that
11259 footnotes are moved to a single place during export.
11261 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11263 * org-footnote.el (org-footnote-normalize): Ensure footnote
11264 definition will be inserted at the end of the section
11265 corresponding to to its first reference.
11267 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11269 * org-footnote.el (org-footnote-at-definition-p): Make sure to
11270 move point at the beginning of the separator before skiping white
11271 spaces. Refactor code.
11273 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11275 * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11276 export when "strip-export".
11278 * ob.el (org-babel-common-header-args-w-values): New noweb
11280 (org-babel-merge-params): New noweb header value.
11281 (org-babel-noweb-p): New noweb header value.
11283 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11285 * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11287 * ob.el (org-babel-noweb-wrap): Add default value.
11288 (org-babel-expand-noweb-references): Just use default value.
11290 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11292 * org-exp.el (org-export-select-backend-specific-text): Always
11293 preserve original indentation as a text property so that lists do
11294 not get broken by indentation at column 0.
11296 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11298 * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11299 in source names in noweb references.
11301 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11303 * org.el (org-fill-line-break-nobreak-p): New function.
11304 (org-set-autofill-regexps): Add previous function to
11305 `fill-nobreak-predicate'.
11307 2012-04-01 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
11309 * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11310 visibility regardless of local user customization.
11312 2012-04-01 Carsten Dominik <carsten.dominik@gmail.com>
11314 * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11315 (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11317 * org-indent.el (org-indent-set-line-properties):
11318 Honor `org-inlinetask-show-first-star'.
11320 2012-04-01 Bastien Guerry <bzg@gnu.org>
11322 * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11323 doesn't contain duplicates.
11325 2012-04-01 Bastien Guerry <bzg@gnu.org>
11327 * org.el (org-at-drawer-p): Normalize the docstring to match other
11328 `org-at-*-p' docstrings.
11329 (org-indent-block, org-indent-drawer, org-at-block-p):
11331 (org-metaright): Use the new functions to indent a drawer or a
11332 block depending on the context. Also update the docstring.
11334 2012-04-01 Bastien Guerry <bzg@gnu.org>
11336 * org.el (org-set-regexps-and-options): Set the value of
11337 `org-drawers' by adding the value of the infile #+DRAWERS option
11338 to that of the existing `org-drawers'.
11340 2012-04-01 Bastien Guerry <bzg@gnu.org>
11342 * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11345 2012-04-01 Bastien Guerry <bzg@gnu.org>
11347 * org-inlinetask.el (org-inlinetask-toggle-visibility):
11348 Use `org-show-entry' instead of `outline-flag-region' to keep the
11349 drawers folded when unfolding an inline task.
11351 2012-04-01 Torsten Anders <torsten.anders@beds.ac.uk> (tiny change)
11353 * org-beamer.el (org-beamer-environments-default): Add support and
11354 keybinding for the `exampleblock' environment.
11356 2012-04-01 Michael Brand <michael.ch.brand@gmail.com>
11358 * org.el (org-open-link-from-string): Regard `reference-buffer'
11359 when setting `org-inhibit-startup'.
11361 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11363 * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
11364 space between inline src block and results on export.
11366 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11368 * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
11369 punctuation to proceed an inline src block.
11371 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11373 * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
11374 list of characters allowed to proceed an inline src block.
11376 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11378 * ob-tangle.el (org-babel-tangle-clean): Use the customizable
11381 * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
11382 (org-babel-noweb-wrap-end): End a noweb reference.
11383 (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
11384 (org-babel-expand-noweb-references): Use the customizable noweb
11387 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11389 * org.el (org-beginning-of-line): Handle case when there's no
11390 character after box.
11392 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11394 * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11395 Delay it till the end of export.
11396 (org-odt-begin-document-body): Make a note of the default
11397 position of TOC in `org-lparse-dyn-first-heading-pos'.
11398 (org-odt-insert-toc): Insert TOC as directed by
11399 [TABLE-OF-CONTENTS] line or at the default position.
11400 (org-odt-end-export): Call `org-odt-insert-toc'.
11402 2012-04-01 Bastien Guerry <bzg@gnu.org>
11404 * org.el (org-preview-latex-fragment): Throw an error when called
11405 from a non-file buffer.
11407 2012-04-01 Bastien Guerry <bzg@gnu.org>
11409 * org.el (org-insert-property-drawer): Not an interactive
11411 (org-insert-drawer): With a prefix argument, insert a property
11412 drawer. Check for headline within the region before inserting the
11413 drawer. Don't include special drawers in the completion table.
11414 (org-mode-map): New keybinding `C-c C-x d' for
11415 `org-insert-drawer'.
11417 2012-04-01 Bastien Guerry <bzg@gnu.org>
11419 * org.el (org-insert-drawer): Support completion over known drawer
11420 names and inserting a drawer around the current region.
11422 2012-04-01 Bastien Guerry <bzg@gnu.org>
11424 * org.el (org-insert-drawer): New function.
11425 (org-insert-property-drawer): Use it.
11427 2012-04-01 Bastien Guerry <bzg@gnu.org>
11429 * org-list.el (org-mark-list): New function.
11431 2012-04-01 Bastien Guerry <bzg@gnu.org>
11433 * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
11434 complete drawer at point.
11435 (org-thing-at-point): Use it.
11437 2012-04-01 Bastien Guerry <bzg@gnu.org>
11439 * org.el (org-meta-return): Use `newline-and-indent' when in a
11442 2012-04-01 Bastien Guerry <bzg@gnu.org>
11444 * org.el (org-structure-template-alist): Fix docstring: the
11445 feature is not experimental anymore.
11447 2012-04-01 Bastien Guerry <bzg@gnu.org>
11449 * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
11450 display the item without unfolding drawers and logbooks.
11452 2012-04-01 Bastien Guerry <bzg@gnu.org>
11454 * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
11457 2012-04-01 Bastien Guerry <bzg@gnu.org>
11459 * org.el (org-structure-template-alist): Fix missing angle
11460 brackets for muse export style.
11462 2012-04-01 Bastien Guerry <bzg@gnu.org>
11464 * org.el (org-read-date): New parameter `inactive' when reading
11465 for insertion of inactive timestamps.
11466 (org-time-stamp, org-read-date-display): Use the new
11469 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11471 * ob.el (org-babel-expand-noweb-references): Only allow
11472 reference names which start and end with non-whitespace characters.
11473 Also, raise errors as appropriate given org-babel-noweb-error-langs.
11475 2012-04-01 Bastien Guerry <bzg@gnu.org>
11477 * org-src.el (org-src-in-org-buffer): Save and restore
11478 `buffer-undo-list' after editing.
11480 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11482 * ob.el (org-babel-common-header-args-w-values): Add new header
11484 (org-babel-expand-noweb-references): Use header argument rather than
11485 customization variable.
11487 2012-04-01 David Maus <dmaus@ictsoc.de>
11489 * org-capture.el (org-capture-place-item): Don't search for
11490 position in existing list if :exact-position was supplied.
11492 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11494 * ob.el (org-babel-noweb-separator): Custom variable for
11495 accumulated noweb references.
11496 (org-babel-expand-noweb-references): Allow separator for noweb
11499 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11501 * org.el (org-beginning-of-line): In an item, special position
11502 for C-a is after check-box, if any.
11503 (org-special-ctrl-a/e): Modify doc-string accordingly.
11505 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11507 * org-odt.el (org-export-odt-format-formula): Use :style
11508 property to specify custom table styles.
11510 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11512 * ob-exp.el (org-babel-exp-call-line-template): Control export of
11513 additional call line information.
11514 (org-babel-exp-non-block-elements): Fancier call line export.
11516 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11518 * org-odt.el (org-odt-entity-frame-styles): Add frame params
11519 for images that are anchored as character.
11520 (org-export-odt-format-image): Handle new anchor type
11522 (org-export-odt-default-image-sizes-alist): Misc. change.
11523 (org-export-odt-format-formula): Misc. change.
11525 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11527 * ob.el (org-babel-check-src-block): Don't report valid header
11528 arguments as suspicious.
11530 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11532 * ob-exp.el (org-babel-exp-non-block-elements): Map over both
11533 inline src blocks and call lines on export.
11535 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11537 * org-odt.el (org-odt-label-styles): Add a new style.
11538 (org-odt-category-map-alist): Use it.
11540 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11542 * org-odt.el (org-odt-table-style-format): New. Template for
11543 auto-generated table styles.
11544 (org-odt-automatic-styles, org-odt-object-counters):
11546 (org-odt-add-automatic-style): New function.
11547 (org-odt-write-automatic-styles): New function.
11548 Create automatic styles for tables that have custom :rel-width.
11549 (org-odt-begin-table): Parse attributes specified with
11550 "#+ATTR_ODT: " option and use it to create an automatic table
11552 (org-odt-save-as-outfile):
11553 Call `org-odt-add-write-automatic-styles'.
11554 (org-odt-init-outfile): Init newly add variables.
11555 (org-odt-section-count): Remove it.
11556 (org-odt-begin-section): Use `org-odt-add-automatic-style' to
11557 generate an automatic section name.
11559 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11561 * ob.el (org-babel-map-executables): Correctly position point when
11562 mapping hits an inline code block.
11564 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11566 * ob.el (org-babel-execute-src-block): Ensure params are
11567 incorporated *before* checking if evaluation is legal.
11569 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11571 * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
11572 marker so it is updated as required during export.
11574 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11576 * org-src.el (org-src-in-org-buffer): Run commands in the parent
11578 (org-edit-src-save): Use new macro.
11579 (org-src-tangle): Tangle the parent buffer.
11581 2012-04-01 Bastien Guerry <bzg@gnu.org>
11583 * org.el (org-set-font-lock-defaults): Fix bug in done
11584 headline fontification.
11586 2012-04-01 Bastien Guerry <bzg@gnu.org>
11588 * org.el (org-set-font-lock-defaults): Fix bug in done
11589 headline fontification.
11591 2012-04-01 Bastien Guerry <bzg@gnu.org>
11593 * org.el (org-return): Act normally when in code blocks.
11595 2012-04-01 Bastien Guerry <bzg@gnu.org>
11597 * org.el (org-in-src-block-p): New function.
11598 (org-context): Return new contexts :clocktable and :src-block.
11600 2012-04-01 Bastien Guerry <bzg@gnu.org>
11602 * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
11603 C-q' do the right thing even when point is before the first
11606 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11608 * ob.el (org-babel-noweb-p): Disambiguate intersection name.
11610 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11612 * org-odt.el (org-odt-format-textbox): Honor user-specified
11613 width in captioned images.
11615 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11617 * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
11618 (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
11619 (org-babel-map-call-lines): Replace gensym with make-symbol.
11620 (org-babel-map-executables): Replace gensym with make-symbol.
11622 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11624 * ob-exp.el (org-babel-exp-results): Alter a copy of info.
11626 2012-04-01 Bastien Guerry <bzg@gnu.org>
11628 * org-html.el (org-export-as-html):
11629 Initialize `html-pre-real-contents' correctly.
11631 2012-04-01 Bastien Guerry <bzg@gnu.org>
11633 * org-html.el (org-export-as-html):
11634 Initialize `html-pre-real-contents' correctly.
11636 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11638 * ob-exp.el (org-babel-exp-code): Ensure code block name is a
11641 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11643 * ob-exp.el (org-babel-exp-code-template): Customizable code
11644 block export format string.
11645 (org-babel-exp-code): Customizable code block export.
11647 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11649 * ob-clojure.el (org-babel-execute:clojure): Remove dependency
11650 on deprecated swank-clojure.
11652 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11654 * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
11655 (org-babel-map-inline-src-blocks): Don't pollute symbol space.
11656 (org-babel-map-call-lines): Don't pollute symbol space.
11657 (org-babel-map-executables): Map over *all* executable Org-mode
11659 (org-babel-execute-buffer): Execute elements in buffer order instead
11662 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11664 * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
11665 Those must be done with `copy-tree'.
11667 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11669 * org-src.el (org-edit-src-code): Referenced code block should
11670 not be evaluated on code block edit.
11672 2012-04-01 Bastien Guerry <bzg@gnu.org>
11674 * org.el (org-structure-template-alist): Use uppercase for
11677 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11679 * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
11680 code block results.
11682 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11684 * ob.el (org-babel-results-keyword): New user-configurable
11686 (org-babel-where-is-src-block-result): Use new user-configurable
11689 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11691 * org-indent.el (org-indent-refresh-maybe): Check for new
11692 headlines from the beginning of the line to be sure to catch
11693 any newly inserted headline there.
11695 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11697 * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
11698 (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
11700 * ob-tangle.el (org-babel-tangle-collect-blocks):
11701 Use `org-babel-noweb-p'.
11703 * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
11704 (org-babel-expand-src-block): Use `org-babel-noweb-p'.
11705 (org-babel-load-in-session): Use `org-babel-noweb-p'.
11706 (org-babel-merge-params): Use `org-babel-noweb-p'.
11707 (org-babel-noweb-p): New function used to determine if noweb
11708 expansion should be carried out in a given context.
11710 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11712 * org.el (org-update-property-plist): Fix bug in property list
11715 2012-04-01 François Pinard <pinard@iro.umontreal.ca> (tiny change)
11717 * org.el (org-kill-line): Use `kill-visual-line' in
11718 `visual-line-mode'.
11720 2012-04-01 Bernt Hansen <bernt@norang.ca>
11722 * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
11723 is outside the current restriction.
11725 2012-04-01 Bernt Hansen <bernt@norang.ca>
11727 * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
11728 in from the agenda.
11730 2012-04-01 Bernt Hansen <bernt@norang.ca>
11732 * org.el: Honor existing restrictions when regenerating the agenda.
11734 2012-04-01 Bastien Guerry <bzg@gnu.org>
11736 * org-agenda.el: New alias for `list-diary-entries-hook'.
11738 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11740 * ob.el (org-babel-common-header-args-w-values): Add the new
11741 header argument name.
11742 (org-babel-insert-result): Respect the value of the :wrap header
11743 argument when inserting results.
11744 (org-babel-result-end): Find the end of arbitrarily named result
11747 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11749 * org-indent.el (org-indent-refresh-maybe): Check for new
11750 headlines from the beginning of the line to be sure to catch
11751 any newly inserted headline there.
11753 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11755 * org.el (org-update-property-plist): Remove old instances of
11756 property when adding a new value for property.
11758 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11760 * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
11761 code block would cause an error when the block is was executed.
11762 This fix cures this behavior.
11764 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11766 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11767 pieces of a previous patch.
11769 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11771 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11773 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11775 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11776 pieces of a previous patch.
11778 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11780 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11782 2012-04-01 Bastien Guerry <bzg@gnu.org>
11784 * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
11785 instead of (end-of-buffer).
11787 2012-04-01 Bastien Guerry <bzg@gnu.org>
11789 * org-bbdb.el (name): Declare variable.
11790 (bbdb-record-get-field, bbdb-search-name)
11791 (bbdb-search-organization): Declare as part of ext:bbdb.
11793 2012-04-01 Bastien Guerry <bzg@gnu.org>
11795 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
11796 instead of the obsolete `org-agenda-filter'.
11798 2012-04-01 Bastien Guerry <bzg@gnu.org>
11800 * org-agenda.el: Add an alias for `org-agenda-filter'.
11801 (diary-list-entries-hook): Use the non-obsolete hook.
11802 (org-agenda-filter-apply): Silent compiler warning.
11804 2012-04-01 Bastien Guerry <bzg@gnu.org>
11806 * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
11807 (org-ditaa-jar-option): New option.
11808 (org-babel-execute:ditaa): Use it.
11810 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11812 * ob.el (org-babel-balanced-split): Explicit checking if list
11813 before calling member.
11815 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11817 * ob.el (org-babel-balanced-split): Explicit checking if list
11818 before calling member.
11820 2012-02-14 Chong Yidong <cyd@gnu.org>
11822 * org-footnote.el: Remove bogus defvar values (Bug#10745).
11824 2012-01-05 Eric Schulte <eric.schulte@gmx.com>
11826 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11827 pieces of a previous patch.
11829 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11831 2012-01-05 Bastien Guerry <bzg@gnu.org>
11833 * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
11834 instead of (end-of-buffer).
11836 * org-bbdb.el (name): Declare variable.
11837 (bbdb-record-get-field, bbdb-search-name)
11838 (bbdb-search-organization): Declare as part of ext:bbdb.
11840 * org-agenda.el: Add an alias for `org-agenda-filter'.
11841 (diary-list-entries-hook): Use the non-obsolete hook.
11842 (org-agenda-filter-apply): Silent compiler warnings.
11844 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
11845 instead of the obsolete `org-agenda-filter'.
11847 2012-01-03 Bastien Guerry <bzg@gnu.org>
11849 * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
11850 and removing checkboxes with `C-u C-c C-c' on the first item
11851 of a list. Also, don't reinitialize checkboxes that are
11854 2012-01-03 Bastien Guerry <bzg@gnu.org>
11856 * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
11857 value with only one digit for the hours.
11859 2012-01-03 Bastien Guerry <bzg@gnu.org>
11861 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
11862 Remove deleted function `org-encode-for-stdout'.
11864 2012-01-03 Bastien Guerry <bzg@gnu.org>
11866 * org.el (org-show-context): Complete docstring.
11868 2012-01-03 Bastien Guerry <bzg@gnu.org>
11870 * org-agenda.el (org-agenda-filter-by-tag):
11871 Use `read-char-exclusive' instead of `read-char'.
11873 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
11875 * org-clock.el (org-clock-in, org-clock-find-position):
11876 Remove erraneous space in regexp.
11878 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11880 * ob.el (org-babel-expand-noweb-references): Rather than using
11881 a pure regexp solution to resolve noweb references, actually
11882 check the information of every code block in the buffer.
11883 This will cause a slowdown in noweb reference expansion, but is
11884 necessary for correct behavior.
11886 2012-01-03 Bastien Guerry <bzg@gnu.org>
11888 * org.el (org-map-continue-from): Fix typo in docstring.
11890 2012-01-03 Bastien Guerry <bzg@gnu.org>
11892 * org.el (org-property-re): Also match cumulating properties
11895 2012-01-03 Bastien Guerry <bzg@gnu.org>
11897 * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
11898 matching the end of a block.
11900 2012-01-03 David Maus <dmaus@ictsoc.de>
11902 * org.el (org-open-at-point): Escape link path for http:,
11903 https:, ftp:, news:, and doi: links only if the path contains
11904 space or non-ascii character.
11906 2012-01-03 David Maus <dmaus@ictsoc.de>
11908 * org.el (org-refile-get-targets): Ignore headlines without a
11911 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11913 * ob.el (org-babel-map-call-lines): Move this file from
11914 ob-lob.el into ob.el to ease dependency pains.
11916 2012-01-03 Bastien Guerry <bzg@gnu.org>
11918 * org-publish.el (org-publish-index-generate-theindex):
11919 Use theindex.inc for storing index entries, and theindex.org for
11920 including theindex.inc.
11922 2012-01-03 Bastien Guerry <bzg@gnu.org>
11924 * org-publish.el (org-publish-index-generate-theindex):
11925 Create proper file target for index entries in subdirectories.
11927 2012-01-03 Bastien Guerry <bzg@gnu.org>
11929 * org-protocol.el (org-protocol-check-filename-for-protocol):
11930 Fix spelling mistake.
11932 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
11934 * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
11935 for title and subtitle.
11936 (org-odt-format-toc): New.
11937 (org-odt-format-preamble): New. Users can redefine this to
11938 customize what goes before the document body. Currently it
11939 outputs title, author and email, date and toc.
11940 (org-odt-begin-document-body): Use `org-odt-format-preamble'.
11941 (org-odt-format-date): Rename from
11942 `org-odt-iso-date-from-org-timestamp'. Also added an
11943 additional param for format string.
11944 (org-odt-begin-annotation, org-odt-update-meta-file):
11945 Use `org-odt-format-date'.
11947 2012-01-03 Bastien Guerry <bzg@gnu.org>
11949 * org.el (org-at-drawer-p): New function.
11950 (org-end-of-line): Use it.
11952 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11954 * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
11955 Controls the method in which noweb references are expanded.
11956 (org-babel-expand-noweb-references): Bring back the option for
11957 regexp-based noweb expansion.
11959 2012-01-03 Bastien Guerry <bzg@gnu.org>
11961 * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
11962 with only one digit for the hours.
11964 2012-01-03 Bastien Guerry <bzg@gnu.org>
11966 * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
11967 when ticking the checkbox of the first item.
11969 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
11971 * org-list.el (org-list-write-struct): Add an optional
11972 argument for structure changes happening outside the function.
11974 * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
11975 item of a sub-list should toggle check-box presence of every
11976 item in the same sub-list. Also fix check-box insertion on a
11979 2012-01-03 Bastien Guerry <bzg@gnu.org>
11981 * org-agenda.el (org-agenda-filter-preset): New alias.
11982 (org-agenda-filter-by-category): New command.
11983 (org-agenda-mode-map): Add the new command.
11984 (org-agenda-custom-commands-local-options): Add category
11986 (org-agenda-mark-filtered-text): Mark both tag and filter
11988 (org-agenda-category-filter-preset): New variable.
11989 (org-finalize-agenda, org-agenda-redo)
11990 (org-agenda-filter-make-matcher, org-agenda-filter-apply):
11991 Handle both category and tag filters.
11992 (org-agenda-filter-show-all-tag): Rename from
11993 `org-agenda-filter-by-tag-show-all'.
11994 (org-agenda-filter-show-all-cat): New function.
11995 (org-agenda-set-mode-name): Show the category filter in the
11998 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12000 * org-bbdb.el (org-bbdb-old): New variable.
12001 (org-bbdb-store-link, org-bbdb-open): Check for
12003 (org-bbdb-open-old, org-bbdb-open-new): New functions.
12005 2012-01-03 Bastien Guerry <bzg@gnu.org>
12007 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12008 Remove deleted function `org-encode-for-stdout'.
12010 2012-01-03 Bastien Guerry <bzg@gnu.org>
12012 * org.el (org-check-dates-range): New command.
12013 (org-sparse-tree): Use it.
12015 2012-01-03 Bastien Guerry <bzg@gnu.org>
12017 * org-agenda.el (org-agenda-write): Rename from
12018 `org-write-agenda'.
12019 (org-agenda-mode-map, org-agenda-menu)
12020 (org-batch-store-agenda-views): Use new name
12021 `org-agenda-write'.
12023 2012-01-03 Bastien Guerry <bzg@gnu.org>
12025 * org.el (org-loop-over-headlines-in-active-region):
12027 (org-todo, org-deadline, org-schedule): Honor the 'start-level
12028 value of `org-loop-over-headlines-in-active-region'.
12030 2012-01-03 Bastien Guerry <bzg@gnu.org>
12032 * org-archive.el (org-archive-subtree)
12033 (org-archive-to-archive-sibling, org-toggle-archive-tag):
12034 Bugfix: use 'region-start-level.
12036 2012-01-03 Bastien Guerry <bzg@gnu.org>
12038 * org.el (org-show-context): Complete docstring.
12040 2012-01-03 Bastien Guerry <bzg@gnu.org>
12042 * org-agenda.el (org-agenda-filter-by-tag):
12043 Use `read-char-exclusive' instead of `read-char'.
12045 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12047 * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12050 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
12052 * org-clock.el (org-clock-in, org-clock-find-position):
12053 Remove erraneous space in regexp.
12055 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12057 * org-odt.el (org-odt-lib-dir): Add docstring.
12058 (org-odt-data-dir): New variable. Use this variable to
12059 control the locations from which the ODT exporter picks the
12060 OpenDocument styles and schema files from. Set this variable
12061 explicitly only if the in-built heuristics for locating the
12063 (org-odt-styles-dir-list, org-odt-schema-dir-list):
12064 New variables. Pay specific attention to (eval-when-compile ...)
12065 form through which Makefile's $(datadir) - contained in
12066 `org-odt-data-dir' - gets compiled in as a "hard coded"
12068 (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12071 2012-01-03 Bastien Guerry <bzg@gnu.org>
12073 * org-archive.el (org-archive-subtree)
12074 (org-archive-to-archive-sibling, org-toggle-archive-tag)
12075 (org-archive-set-tag): Handle the 'start-level value for
12076 `org-loop-over-headlines-in-active-region'.
12078 2012-01-03 Bastien Guerry <bzg@gnu.org>
12080 * org.el (org-scan-tags): New parameter `start-level' to scan only
12081 through headlines of that level.
12082 (org-map-entries): New allowed value `region-start-level' for
12083 the `scope' parameter, to allow scanning through headlines of
12084 the same level than the first headline in the region.
12085 (org-loop-over-headlines-in-active-region): New allowed value
12088 2012-01-03 Bastien Guerry <bzg@gnu.org>
12090 * org-archive.el (org-archive-subtree)
12091 (org-archive-to-archive-sibling, org-archive-set-tag)
12092 (org-toggle-archive-tag): Allow to loop over the active region by
12093 using `org-loop-over-headlines-in-active-region'.
12095 2012-01-03 Bastien Guerry <bzg@gnu.org>
12097 * org.el (org-todo): Allow to loop over the active region by
12098 using `org-loop-over-headlines-in-active-region'.
12100 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12102 * ob.el (org-babel-expand-noweb-references): Rather than using
12103 a pure regexp solution to resolve noweb references, actually
12104 check the information of every code block in the buffer.
12105 This will cause a slowdown in noweb reference expansion, but is
12106 necessary for correct behavior.
12108 2012-01-03 Bastien Guerry <bzg@gnu.org>
12110 * org.el (org-map-continue-from): Fix typo in docstring.
12112 2012-01-03 Bastien Guerry <bzg@gnu.org>
12114 * org-agenda.el (org-agenda-write-buffer-name): New variable.
12115 (org-write-agenda): Use it.
12117 2012-01-03 Bastien Guerry <bzg@gnu.org>
12119 * org-exp.el (org-export-date-timestamp-format): New option to
12120 define the way a timestamp in #+DATE will be exported.
12121 (org-infile-export-plist): Use the new option.
12123 2012-01-03 Bastien Guerry <bzg@gnu.org>
12125 * org.el (org-property-re): Also match cumulating properties
12128 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12130 * org-odt.el (org-odt-styles-dir): Assume that the styles
12131 files are located under `data-directory' of Emacs distribution
12132 as etc/org/OrgOdtStyles.xml and
12133 etc/org/OrgOdtContentTemplate.xml. Also update docstring.
12134 (org-export-odt-schema-dir): Update docstring.
12136 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12138 * org-odt.el (org-odt-format-preamble): Honor following user
12139 options: author, timestamp and email.
12141 2012-01-03 Bastien Guerry <bzg@gnu.org>
12143 * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12144 for matching the end of a block.
12146 2012-01-03 Bastien Guerry <bzg@gnu.org>
12148 * org-eshell.el: New file.
12150 2012-01-03 David Maus <dmaus@ictsoc.de>
12152 * org.el (org-open-at-point): Escape link path for http:,
12153 https:, ftp:, news:, and doi: links only if the path contains
12154 space or non-ascii character.
12156 2012-01-03 Bastien Guerry <bzg@gnu.org>
12158 * org-beamer.el (org-beamer-fragile-re): Also recognize
12159 \lstinline and \verb as commands that make a frame fragile.
12161 2012-01-03 David Maus <dmaus@ictsoc.de>
12163 * org.el (org-refile-get-targets): Ignore headlines without a
12166 2012-01-03 Litvinov Sergey <slitvinov@gmail.com>
12168 * ob-octave.el: Add graphical output to png file.
12170 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12172 * ob.el (org-babel-map-call-lines): Move this file from
12173 ob-lob.el into ob.el to ease dependency pains.
12175 2012-01-03 Bastien Guerry <bzg@gnu.org>
12177 * org-publish.el (org-publish-index-generate-theindex):
12178 Use theindex.inc for storing index entries, and theindex.org for
12179 including theindex.inc.
12181 2012-01-03 Bastien Guerry <bzg@gnu.org>
12183 * org-publish.el (org-publish-index-generate-theindex):
12184 Create proper file target for index entries in subdirectories.
12186 2012-01-03 Bastien Guerry <bzg@gnu.org>
12188 * org-protocol.el (org-protocol-check-filename-for-protocol):
12189 Fix spelling mistake.
12191 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12193 * org-odt.el (org-export-odt-default-org-styles-alist):
12194 Add styles for title and subtitle.
12195 (org-odt-format-toc): New.
12196 (org-odt-format-preamble): New. Users can redefine this to
12197 customize what goes before the document body. Currently it
12198 outputs title, author and email, date and toc.
12199 (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12200 (org-odt-format-date): Rename from
12201 `org-odt-iso-date-from-org-timestamp'. Also added an
12202 additional param for format string.
12203 (org-odt-begin-annotation, org-odt-update-meta-file):
12204 Use `org-odt-format-date'.
12206 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12208 * ob-ref.el (org-babel-ref-split-args): Now uses
12209 `org-babel-balanced-split'.
12211 2012-01-03 Bastien Guerry <bzg@gnu.org>
12213 * org-html.el (org-export-html-preamble)
12214 (org-export-html-postamble): Fix docstrings.
12215 (org-export-as-html): Insert the string used by a custom
12216 function for `org-export-html-pre/postamble'.
12218 2012-01-03 Bastien Guerry <bzg@gnu.org>
12220 * org.el (org-block-regexp)
12221 (org-heading-keyword-regexp-format)
12222 (org-heading-keyword-maybe-regexp-format): Move up to keep the
12223 byte-compiler happy.
12225 2012-01-03 Dave Abrahams <dave@boostpro.com> (tiny change)
12227 * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12229 (org-agenda-tree-to-indirect-buffer): Use the new function.
12231 2012-01-03 Bastien Guerry <bzg@gnu.org>
12233 * org-html.el (org-export-as-html): Fix bug when inserting the
12234 output of a custom function for the pre/postamble.
12236 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12238 * org-odt.el (org-odt-format-source-code-or-example):
12239 Try loading htmlfontify safely.
12241 2012-01-03 Bastien Guerry <bzg@gnu.org>
12243 * org-odt.el (require): Require htmlfontify.el only if
12244 emacs-version is greater than 23.2.
12246 2012-01-03 Bastien Guerry <bzg@gnu.org>
12248 * org-faces.el (org-agenda-calendar-event)
12249 (org-agenda-calendar-sexp): Use the default face.
12251 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12253 * ob.el (org-babel-expand-noweb-references): Fix regexp.
12255 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
12257 * org.el (Key bindings): Remap the Outline functions from
12258 `outline-mode-prefix-map' where possible.
12260 2012-01-03 Christian Moe <mail@christianmoe.com> (tiny change)
12262 * org-html.el (org-export-as-html):
12263 Apply `org-export-html-get-todo-kwd-class-name' to the class
12264 attribute of the todo-keyword span tag, not to its text
12267 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
12269 * org-agenda.el (org-agenda-get-timestamps)
12270 (org-agenda-get-sexps): Use face for highlighting "calendar"
12273 2012-01-03 Peter Münster <pmlists@free.fr> (tiny change)
12275 * org.el (org-add-planning-info): Treat absolute time too.
12277 2012-01-03 Bastien Guerry <bzg@gnu.org>
12279 * org-table.el (org-table-transpose-table-at-point): Don't use
12282 2012-01-03 Dave Abrahams <dave@boostpro.com> (tiny change)
12284 * org-clock.el (org-clock-out-if-current): Check the clock
12285 buffer is existing.
12287 2012-01-03 Bernt Hansen <bernt@norang.ca>
12289 * org-clock.el (org-clock-out-if-current): Fix marker in no
12290 buffer error for task state change in an indirect buffer.
12292 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
12294 * org.el (org-offer-links-in-entry): Make list when assigning
12297 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12299 * ob.el (org-babel-expand-noweb-references): Rather than
12300 collect the info from *every* block in the current buffer,
12301 simply regexp search for those blocks which appear to match
12302 the continued source name.
12304 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12306 * ob.el (org-babel-insert-result): Do not examplize wrapped
12307 scalar results, simply wrap them.
12308 (org-babel-result-end): Find the end of results wrapped in a
12311 2012-01-03 Bastien Guerry <bzg@gnu.org>
12313 * org.el (org-todo-yesterday): When called from the agenda,
12314 use `org-agenda-todo-yesterday' instead.
12316 2012-01-03 Bastien Guerry <bzg@gnu.org>
12318 * org-table.el (org-table-transpose-table-at-point): New command.
12320 2012-01-03 Bastien Guerry <bzg@gnu.org>
12322 * org-html.el (org-export-html-headline-anchor-format):
12324 (org-html-level-start): Use the new option.
12326 2012-01-03 Rob Giardina <rob@giardina.us> (tiny change)
12328 * org-agenda.el (org-agenda-with-point-at-orig-entry):
12331 2012-01-03 Christian Moe <mail@christianmoe.com> (tiny change)
12333 * org-special-blocks.el
12334 (org-special-blocks-convert-html-special-cookies):
12335 Close paragraph before opening or closing the <div>, and open
12336 paragraph after. Also changed newline placement to be the same
12337 as for other blocks.
12339 2012-01-03 Roberto Huelga <rhuelga@gmail.com>
12341 * org-clock.el (org-program-exists): Make the function
12342 compatible with darwin systems.
12344 2012-01-03 David Maus <dmaus@ictsoc.de>
12346 * org-exp.el (org-export-normalize-links): Mark bracket links
12347 before normalization to avoid erroneous normalization of
12348 bracket link parts.
12350 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12352 * org-odt.el (org-odt-data-dir): Remove.
12353 (org-odt-styles-dir, org-export-odt-schema-dir):
12356 * org-odt.el, org-lparse.el: New files.
12358 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12360 * org-capture.el (org-capture-set-target-location): Set the
12361 capture default time also to the prompt time.
12363 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12365 * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
12366 and #+results lines during preprocess.
12368 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12370 * ob-picolisp.el (ob-comint): Required.
12371 (comint): Required.
12373 (run-picolisp): Declared.
12374 (org-babel-execute:picolisp): Capture free variable, and replace
12375 function from cl-extra with core function.
12377 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12379 * ob-picolisp.el: New file.
12381 * org.el (org-babel-load-languages): Add Pico Lisp to the list
12382 of supported code block languages.
12384 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
12386 * org-bibtex.el (org-bibtex): Now catches bibtex errors and
12387 directs the user to the location of the error.
12389 2012-01-03 Bastien Guerry <bzg@gnu.org>
12391 * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
12393 2012-01-03 Bastien Guerry <bzg@gnu.org>
12395 * ob.el (org-babel-execute-src-block): Fix typo.
12397 2012-01-03 Bastien Guerry <bzg@gnu.org>
12399 * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
12401 2012-01-03 Bastien Guerry <bzg@gnu.org>
12403 * org.el (org-link-unescape, org-link-unescape-compound):
12404 Fix two typos in docstrings.
12406 2012-01-03 Thomas Dye <dk@poto.local>
12408 * ob-R.el: Added tikzDevice support.
12410 2012-01-03 David Maus <dmaus@ictsoc.de>
12412 * org.el (org-clone-subtree-with-time-shift): Remove clocking
12413 information and empty drawers when preparing a clone.
12415 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12417 * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
12418 `org-export-blocks-postblock-hook'.
12420 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12422 * ob.el (org-babel-hide-result-toggle): Skip over header
12423 argument lines when toggling named code block visibility.
12425 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12427 * org-exp.el (org-export-grab-title-from-buffer):
12428 Don't license to kill text inside blocks when getting a title.
12430 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12432 * ob.el (org-babel-confirm-evaluate): Adding support for new
12433 range of :eval header arguments.
12435 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12437 * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
12438 during export when eval is set to "non-export".
12440 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12442 * ob-ref.el (org-babel-update-intermediate): New custom
12444 (org-babel-ref-resolve): Optionally update the in-buffer results
12445 of code blocks which are evaluated to resolve references.
12447 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12449 * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
12450 split string when a character appears on either side of the
12452 (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
12454 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12456 * org.el (org-reduce): Add a less functional Org-mode copy of
12457 the cl reduce function.
12459 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12461 * org.el (org-fontify-meta-lines-and-blocks-1):
12462 Recognize "name" as a valid keyword that can preceed a block.
12464 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12466 * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
12467 in-verbatim check to inline code blocks, do lob code blocks as
12470 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12472 * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
12474 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12476 * ob.el (org-babel-named-src-block-regexp-for-name):
12477 Ensure that partial names are not matched.
12478 (org-babel-named-data-regexp-for-name): Ensure that partial names
12481 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12483 * ob-ref.el (org-babel-ref-resolve): Search for named code
12484 blocks before named data.
12486 * ob.el (org-babel-named-data-regexp-for-name): New function for
12487 finding named data.
12489 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12491 * ob.el (org-babel-insert-result): Gracefully handle results
12492 which are neither lists nor strings.
12494 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12496 * ob-ref.el (org-babel-ref-resolve): Don't change location when
12497 looking at the contents.
12499 2012-01-03 Milan Zamazal <pdm@zamazal.org>
12501 * org.el (org-set-outline-overlay-data):
12502 Use outline-flag-region to make a region invisible. This ensures
12503 all necessary actions, especially adding
12504 isearch-open-invisible property, are applied.
12506 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12508 * ob-lob.el (org-babel-in-example-or-verbatim):
12509 Fix compilation warning.
12511 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12513 * ob.el (org-babel-find-named-result): Downcase "name" before
12516 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12518 * ob-lisp.el (org-babel-execute:lisp): Fix typo.
12519 (org-babel-lisp-vector-to-list): Fix typo.
12521 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12523 * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
12524 execution contexts (e.g., call lines) look like commented
12527 * ob.el (org-babel-get-src-block-info): Empty match string doesn't
12529 (org-babel-process-params): Always process parameters, even if
12530 you don't to table splitting.
12532 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12534 * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
12536 * ob-lob.el (org-babel-block-lob-one-liner-regexp):
12537 Update regular expression.
12538 (org-babel-inline-lob-one-liner-regexp): Update regular
12541 * ob-ref.el (org-babel-ref-resolve): Notice when something that
12542 looks like a data results may actually be a code block.
12544 * ob-table.el: Updated documentation.
12546 * ob.el (org-babel-src-name-regexp): Simplify regexp.
12547 (org-babel-get-src-block-info): Update match strings.
12548 (org-babel-data-names): Simplify acceptable names.
12549 (org-babel-find-named-block): Indentation.
12550 (org-babel-find-named-result): Update to not return a code block
12553 * org.el (org-fontify-meta-lines-and-blocks-1):
12554 Removing references to old syntactic elements.
12555 (org-additional-option-like-keywords): Removing references to
12556 old syntactic elements.
12558 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12560 * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
12561 and `buffer-substring'.
12563 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12565 * org-agenda.el (org-agenda-get-todos): Prevent an error when
12566 encountering tasks with only the TODO keyword.
12568 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12570 * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
12571 environment when at an item or an headline, but allow LaTeX
12573 (org-cycle): Try to call `cdlatex-tab' before cycling item's or
12574 headline's visibility, in order to catch LaTeX fragments within.
12576 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12578 * org-exp-blocks.el (org-export-blocks-preprocess): Require a
12579 newline and spaces before a code block.
12581 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12583 * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
12584 over all call lines in a buffer.
12586 * ob.el (org-babel-execute-buffer): Execute call lines when
12587 executing an entire buffer.
12589 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12591 * ob.el (org-babel-process-params): Don't disassemble tables
12594 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12596 * org-clock.el (org-clock-in, org-clock-find-position): Make space
12597 after date optional.
12599 * org.el (org-set-regexps-and-options)
12600 (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
12601 (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
12603 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12605 * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
12606 inside a verbatim block.
12608 * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
12611 2012-01-03 Litvinov Sergey <slitvinov@gmail.com>
12613 * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
12614 (org-babel-maxima-expand): Add input variables and graphic output.
12615 (org-babel-execute:maxima): Add input variables and graphic output.
12616 (org-babel-maxima-var-to-maxima): Add input variables and graphic
12618 (org-babel-maxima-graphical-output-file): Add input variables and
12620 (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
12623 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12625 * ob-fortran.el: New file. Adding support for Fortran code blocks.
12626 * org.el (org-babel-load-languages): Adding fortran to this list.
12628 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12630 * org-footnote.el (org-footnote-new): Cannot insert an inline
12631 footnote at beginning of line anymore.
12632 (org-footnote-at-reference-p): Don't recognize inline footnotes at
12635 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12637 * org.el (org-set-font-lock-defaults): Fix small error in matching
12638 group that prevented fontification of keywords like
12639 org-comment-string and stars in headlines.
12641 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12643 * org.el (org-catch-invisible-edits): New option.
12644 (org-self-insert-command, org-delete-backward-char)
12645 (org-delete-char): Call `org-check-before-invisible-edit'.
12646 (org-check-before-invisible-edit): New function.
12648 2012-01-03 Suvayu Ali <fatkasuvayu+linux@gmail.com>
12650 * org-exp.el (org-solidify-link-text): Respect
12651 org-export-with-tags when forming the export title during subtree
12654 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12656 * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
12657 (org-heading-keyword-maybe-regexp-format): Globalize variables so
12658 they are accessible even in buffers not in Org mode.
12660 2012-01-03 David Maus <dmaus@ictsoc.de>
12662 * org.el (org-insert-link): Don't use default-description if a
12663 `org-make-link-description-function' is defined.
12665 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12667 * org.el (org-set-regexps-and-options): Use property blocks for
12668 multi-line properties.
12670 2012-01-03 Bastien Guerry <bzg@gnu.org>
12672 * org.el (org-self-insert-command): Don't throw an error when
12673 editing takes place at the first point of the buffer.
12675 2012-01-03 Bastien Guerry <bzg@gnu.org>
12677 * org.el (org-self-insert-command): Unfold invisible region at
12678 point or right before point when editing.
12680 2012-01-03 Bastien Guerry <bzg@gnu.org>
12682 * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
12685 2012-01-03 Bastien Guerry <bzg@gnu.org>
12687 * org-html.el (org-html-expand): Prevent a nil value for STRING to
12688 return an error, just return nil.
12690 2012-01-03 Bastien Guerry <bzg@gnu.org>
12692 * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
12693 character in the #+LaTeX_CLASS option.
12695 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12697 * org-footnote.el (org-footnote-at-reference-p)
12698 (org-footnote-at-definition-p): Don't store text-properties of
12699 footnote definitions.
12701 2012-01-03 Bastien Guerry <bzg@gnu.org>
12703 * org-html.el (org-export-as-html): Convert special characters in
12704 meta tag "author", "date", "keyword" and "description".
12706 2012-01-03 Bastien Guerry <bzg@gnu.org>
12708 * org-capture.el (org-capture-before-finalize-hook): Docstring
12709 improvement: mention that the buffer is widened when this hook is
12712 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
12714 * org-html.el (org-export-as-html): Make sure the div for preamble
12715 is not inserted when the preamble is empty.
12717 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
12719 * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
12720 for filtering (shown in the mode-line).
12722 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12724 * ob.el (org-babel-parse-multiple-vars): Trimming excess white
12725 space from split variables.
12727 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12729 * org.el (org-link-search): Add an optional argument preventing
12730 function from revealing context around match.
12732 2012-01-03 Bastien Guerry <bzg@gnu.org>
12734 * org-agenda.el (calendar-check-holidays): Declare function.
12736 2012-01-03 Bastien Guerry <bzg@gnu.org>
12738 * org.el (org-return): Fix bug when matching the face property
12739 before following a link.
12741 2012-01-03 Matt Lundin <mdl@imapmail.org>
12743 * org-agenda.el (org-class): Fix holidays symbol in org-class.
12744 This was resulting in an "Bad sexp..." warning.
12746 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12748 * org.el (org-scan-tags): Also remember
12749 `org-complex-heading-regexp' in a property.
12751 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12753 * org-latex.el (org-export-as-latex): Turn off auto-insert and set
12754 TeX-master to t when creating new TeX buffers.
12756 * org-docbook.el (org-export-as-docbook): Turn off auto-insert
12757 when creating new buffers.
12759 * org-html.el (org-export-as-html): Turn off auto-insert
12760 when creating new buffers.
12762 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12764 * org-table.el (org-table-formula-handle-first/last-rc): Do not
12765 expand pointers to first/last row/column that are inside a call to
12767 (org-table-get-remote-range): Expand pointers to first/last
12770 2012-01-03 Michael Sperber <sperber@deinprogramm.de> (tiny change)
12772 * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
12773 compatibility issue when creating an indirect buffer.
12775 2012-01-03 Christophe Rhodes <csr21@cantab.net>
12777 * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
12778 the same way than LATEX_CLASS.
12780 2012-01-03 Bastien Guerry <bzg@gnu.org>
12782 * org.el (org-return): Check the presence of the 'org-link face
12783 even in contexts where there is more than one face.
12785 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12787 * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
12788 argument names which should be inherited.
12790 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12792 * org.el (org-in-block-p): Return matched name of block, if any.
12793 It can be useful when a list of block names is provided as
12796 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12798 * org-docbook.el (org-export-as-docbook): Fix regexp.
12800 * org-html.el (org-export-as-html): Fix regexp.
12802 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12804 * org-agenda.el (org-class): Allow holidays to be skipped.
12806 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12808 * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
12810 2012-01-03 Peter Münster <pmrb@free.fr> (tiny change)
12812 * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
12813 strings before calling `string-match'.
12815 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12817 * org-footnote.el (org-footnote-at-reference-p)
12818 (org-footnote-at-definition-p): Remove text-properties from label.
12820 2012-01-03 Bastien Guerry <bzg@gnu.org>
12822 * org-html.el (org-export-as-html): Add a "title" meta tag.
12824 2012-01-03 Bastien Guerry <bzg@gnu.org>
12826 * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
12827 entries to pass to `org-agenda-get-day-entries' and allow to
12828 filter out entries using a function.
12830 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12832 * org-agenda.el: Fix small display bug.
12834 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12836 * org.el (org-set-regexps-and-options): Fix small bug introduced
12837 by commit dfcb6faef11a2439b56b18a6289803361d402130.
12839 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12841 * org-agenda.el (org-search-view): Simplify regexp.
12842 (org-agenda-get-todos): Use new format string.
12844 * org-archive.el (org-archive-all-done): Simplify regexp.
12846 * org-ascii.el (org-export-as-ascii): More accurate regexp.
12848 * org-colview.el (org-columns-capture-view): Use new format string
12851 * org-docbook.el (org-export-as-docbook): More accurate
12852 regexp. Also use new regexp to match generic headlines.
12854 * org-exp.el (org-export-protect-quoted-subtrees): More accurate
12855 regexp. Also use new regexp to match generic headlines.
12857 * org-html.el (org-export-as-html): More accurate regexp.
12858 Also use new regexp to match generic headlines.
12860 * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
12861 and now erroneous function.
12863 * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
12865 (org-set-regexps-and-options): Create regexps according to the
12866 following rule: use spaces only to separate elements from an headline,
12867 while allowing mixed tabs and spaces for any indentation job.
12868 (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
12869 (org-set-font-lock-defaults): Fontify again headlines with a keyword
12870 and no other text. Use new format strings.
12871 (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
12872 (org-toggle-fixed-width-section): Use new format string.
12873 (org-todo): More accurate regexps.
12874 (org-point-at-end-of-empty-headline): Simplify regexp.
12875 (org-insert-heading): Headline can sometimes be nil.
12877 2012-01-03 David Maus <dmaus@ictsoc.de>
12879 * org-agenda.el (org-agenda-bulk-action): Bind
12880 `org-loop-over-headlines-in-active-region' to nil to avoid conflict
12883 2012-01-03 David Maus <dmaus@ictsoc.de>
12885 * org.el (org-deadline, org-schedule): Skip invisible headlines when
12886 mapping over headlines in active region.
12888 2012-01-03 David Maus <dmaus@ictsoc.de>
12890 * org.el (org-loop-over-headlines-in-active-region):
12891 New customization variable. Loop over headlines in active region.
12892 (org-schedule, org-deadline): Apply to headlines in region depending
12893 on new customization variable.
12895 2012-01-03 David Maus <dmaus@ictsoc.de>
12897 * org.el (org-map-entries): Immediately return if scope is 'region
12898 but no region is active.
12900 2012-01-03 David Maus <dmaus@ictsoc.de>
12902 * org.el (org-map-entries): Extend scope 'region to include entire
12903 body of last headline in active region.
12905 2012-01-03 Bastien Guerry <bzg@gnu.org>
12907 * org-src.el (org-edit-src-code): Fix typo-bug.
12909 2012-01-03 Bastien Guerry <bzg@gnu.org>
12911 * org.el (org-format-agenda-item, org-scan-tags):
12912 Rename `org-format-agenda-item' to `org-agenda-format-item'.
12914 2012-01-03 Bastien Guerry <bzg@gnu.org>
12916 * org-agenda.el: Replace `category-pos' by `org-category-pos' to
12917 silent byte-compiler.
12919 2012-01-03 Bastien Guerry <bzg@gnu.org>
12921 * org.el: Declare external function `cdlatex-compute-tables'.
12923 2012-01-03 Bastien Guerry <bzg@gnu.org>
12925 * org-latex.el (org-export-latex-set-initial-vars): Fix problem
12926 when matching #+LaTeX_CLASS.
12928 2012-01-03 Rafael Laboissiere <rafael@laboissiere.net> (tiny change)
12930 * org.el (org-link-search-must-match-exact-headline): Fix typos.
12932 2012-01-03 Bastien Guerry <bzg@gnu.org>
12934 * org-latex.el (org-export-latex-make-header): Add some hyperref
12937 2012-01-03 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
12939 * org-publish.el (org-publish-file): Add 'eval'ing the value of
12940 the :publishing-directory property before using it as destination
12941 of the publishing project. This allows to construct the publish
12942 destination directory dynamically at run-time using the return
12943 value of a function.
12945 2012-01-03 Bastien Guerry <bzg@gnu.org>
12947 * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
12949 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12951 * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
12953 (org-agenda-date-later): Improve the logical structure.
12955 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12957 * ob-calc.el (featurep): Require calc-store.
12959 * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
12962 * org-compat.el (fboundp): Support for XEmacs.
12964 * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
12966 * org-footnote.el (org-footnote-re): Optimize macro processing.
12968 * org.el (org-set-autofill-regexps): Xemacs compatibility.
12970 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12972 * ob.el (org-babel-balanced-split): Balance both [] and ()
12974 (org-babel-parse-header-arguments): Be sure to replace removed ":"
12977 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12979 * ob.el (org-babel-parse-header-arguments): Quick fix for a
12982 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12984 * ob.el (org-babel-params-from-properties): Now splits
12985 multiple var arguments behind a single ":var".
12986 (org-babel-balanced-split): Separated balanced splitting of
12987 strings out into a new function.
12988 (org-babel-parse-multiple-vars): Splits multiple var arguments
12989 behind a single ":var".
12991 2012-01-03 Bastien Guerry <bzg@gnu.org>
12993 * org.el: Remap `outline-promote' and `outline-demote' keys to
12994 `org-promote-subtree' and `org-demote-subtree'.
12996 2012-01-03 Leo Liu <sdl.web@gmail.com>
12998 * org-agenda.el (org-agenda-do-context-action): Check if marker is
13001 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13003 * org-agenda.el (org-agenda-date-later): Fix shifting of date
13006 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13008 * ob.el: Removing `org-babel-params-from-buffer' and
13009 #+PROPERTIES: entirely.
13011 * ob-exp.el (org-babel-exp-src-block):
13012 Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13014 * ob-lob.el (org-babel-lob-execute):
13015 Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13017 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13019 * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13020 lines in favor of general #+PROPERTIES: lines.
13022 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13024 * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13027 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13029 * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13030 update the internal cdlatex tables.
13032 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13034 * ob-sql.el (org-babel-execute:sql): Respect literal-results
13037 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13039 * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13040 code block colname and rowname handling.
13042 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13044 * org-publish.el (org-publish-cache-file-needs-publishing):
13045 Fix regexp to not inlcude newlines.
13047 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13049 * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13052 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13054 * org.el (org-fontify-entities): Match entities before
13055 numbers, as in `\sim2'.
13057 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13059 * org-agenda.el (org-agenda-date-later): Make pushing forward
13060 a past date to jump immedialtely to today.
13062 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13064 * org-exp.el (org-store-forced-table-alignment): Parse the
13065 column cookie for both alignment and width
13066 specification. Store the resulting value in `org-col-cookies'
13067 property. Retire the previously used `org-forced-aligns'
13068 property for consistency. Renamed local variable `aligns' to
13071 * org-html.el (org-format-org-table-html):
13072 Use `org-col-cookies'. Renamed local variable forced-aligns to
13075 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13077 * org.el (org-latex-to-mathml-jar-file)
13078 (org-latex-to-mathml-convert-command): New user-customizable
13080 (org-format-latex-mathml-available-p, org-create-math-formula)
13081 (org-format-latex-as-mathml): New functions.
13082 (org-format-latex): Add a new local variable block-type that notes
13083 the nature of the equation - inline or display. Associate it's
13084 value to `org-latex-src-embed-type' property of dvipng links.
13085 Add mathml as new processing type.
13087 2012-01-03 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
13089 * org.el (org-refile): Add tree name to prompt.
13091 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13093 * org-latex.el (org-export-latex-tables):
13094 Honor `org-export-latex-table-caption-above'
13095 (org-export-latex-table-caption-above): New option.
13097 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13099 * ob.el (org-babel-insert-header-arg): Now including language
13100 specific header arg values in insertion options.
13102 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13104 * ob.el (org-babel-insert-header-arg): Fix typo.
13106 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
13108 * org-exp.el (org-export-number-lines): Modify. Add a new
13109 parameter `preprocess' and use this for backend-agnostic
13110 handling of literal examples.
13112 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13114 * org.el (org-match-substring-regexp)
13115 (org-match-substring-with-braces-regexp): Allow subscripts and
13116 superscripts to start at beginning of line.
13118 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13120 * ob.el (org-babel-common-header-args-w-values): New variable to
13121 hold common header arguments and their default values.
13122 (org-babel-header-arg-names): Redefined using the new common
13123 header arg variable.
13124 (org-babel-insert-header-arg): New function to help when inserting
13127 2012-01-03 David Maus <dmaus@ictsoc.de>
13129 * org-html.el (org-html-handle-links): Remove unnecessary
13130 protection markers when publishing link in default format.
13132 2012-01-03 Pieter Praet <pieter@praet.org> (tiny change)
13134 * org-crypt.el (org-crypt-check-auto-save): New function, see
13137 * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13138 check out into a separate function, and call it at a later
13139 point, to assure it only runs when visiting an encrypted
13142 2012-01-03 John J Foerch <jjfoerch@earthlink.net> (tiny change)
13144 * org.el (org-log-note-headings): Document new %d and %D
13146 (org-store-log-note): Implement new %d and %D escapes.
13148 2012-01-03 Dave Abrahams <dave@boostpro.com>
13150 * org-agenda.el (org-agenda-follow-indirect): New option.
13151 (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13153 (org-agenda-do-context-action): Also do indirect follow mode
13156 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13158 * ob-table.el (sbe): Fix typo in new sbe specification.
13160 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13162 * ob-table.el (sbe): If first variable is a string and not a
13163 cons cell, then interpret it as a string of header arguments
13164 to be passed to the code block.
13166 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13168 * ob-shen.el (shen-eval-defun): Declare external function.
13169 (org-babel-execute:shen): Move requirement of inf-shen into
13170 the function in which it is used to fix build error.
13172 * ob-shen.el: New file.
13174 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13176 * org.el (org-open-at-point): Make `org-open-at-point' only
13177 ask once about creating a new headline.
13179 2012-01-03 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13181 * org.el (org-refile-targets): Elaborated the documentation of
13182 the variable as suggested by Dave Abrahams.
13184 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
13186 * org.el (org-align-tags-here): Allow tags to be placed right
13188 (org-tags-column): Document the meaning of tags column 0.
13190 2012-01-03 Niels Giesen <niels.giesen@gmail.com>
13192 * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13193 in agenda if start day is same as end day.
13195 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13197 * org.el (org-refile-get-location): Ignore errors when
13198 collection heading to be excluded.
13200 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13202 * org-special-blocks.el
13203 (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13204 strict problems by not enclosing special blocks in paragraph tags.
13206 2012-01-03 Bernt Hansen <bernt@norang.ca>
13208 * org-html.el (org-export-as-html): Check string-match
13210 (org-html-handle-time-stamps): Check string-match argument.
13212 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13215 (org-agenda-skip-additional-timestamps-same-entry):
13216 Change default value.
13218 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13220 * org.el (org-time-string-to-time):
13221 (org-time-string-to-absolute): Add optional arguments BUFFER and
13222 POS for error reporting.
13224 * org-agenda.el (org-get-all-dates):
13225 (org-agenda-get-timestamps, org-agenda-get-deadlines)
13226 (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13227 stamp parsing functions with information on where the
13228 timestamp was taken from.
13230 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13232 * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13233 after `show-all' in indirect buffer.
13235 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13237 * org-list.el (org-list-parents-alist): When no parent is found
13238 for an item, set it as the closest less indented item above.
13239 If none is found, make it a top level item.
13240 (org-list-write-struct): Externalize code.
13241 (org-list-struct-fix-item-end): New function.
13242 (org-list-struct): Remove a now useless fix.
13244 * org.el (org-ctrl-c-ctrl-c): Use new function.
13246 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13248 * org.el (org-end-of-line): When on an item, move point at the
13249 end of the line, but before any hidden text. Thus, it's still
13250 possible to use commands, like `C-c C-c', acting at
13251 items. This is still disabled if `org-special-ctrl-a/e'
13254 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13256 * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13258 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13260 * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13263 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13265 * org-footnote.el (org-footnote-at-definition-p):
13266 Remove useless `org-re'.
13268 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13270 * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13271 is at a real footnote reference or definition before
13274 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13276 * org-footnote.el (org-footnote-goto-definition): This patch
13277 makes sure the function says when a definition has been
13278 found. Thus, moving from the reference to the definition
13279 doesn't offer to create the latter again.
13281 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13283 * org-footnote.el (org-footnote-create-definition):
13284 Explicitly move point after tag, if it has just been
13287 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13289 * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13290 names on Windows systems.
13292 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13294 * org-footnote.el (org-footnote-create-definition): When the
13295 tag is missing, it is created before any existing footnote, or
13296 at end of buffer. In the latter case, the marker pointing at
13297 the position where the new footnote is going to be inserted
13298 (at end of buffer) stays before the tag. This patch makes
13299 sure that the marker will be kept after the tag.
13301 2012-01-03 Eli Zaretskii <eliz@gnu.org>
13303 * org.el (org-mode): Force left-to-right paragraphs in Org
13304 buffers. For a related discussions, see
13305 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13307 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13309 * ob-asymptote.el (org-babel-asymptote-define-type):
13310 Silence byte-compiler.
13312 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13314 * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13317 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13319 * org-bibtex.el (org-bibtex-type-property-name):
13320 Configurable property name for bibtex entry types.
13321 (org-bibtex-headline): Use new configurable property name.
13322 (org-bibtex-check): Use new configurable property name.
13323 (org-bibtex-create): Use new configurable property name.
13324 (org-bibtex-write): Use new configurable property name.
13326 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13328 * org.el (org-paste-subtree): Remove unnecessary `concat'.
13330 2012-01-03 Bastien Guerry <bzg@gnu.org>
13332 * org.el (org-paste-subtree): Remove useless (concat ...).
13334 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13336 * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13337 characterp with integerp (which should work w/Emacs22).
13339 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13341 * org-footnote.el (org-footnote-at-definition-p): Context must
13342 be valid at the beginning of line, not at point.
13344 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13346 * ob-tangle.el (org-babel-tangle-collect-blocks):
13347 Better delimiting of Org-mode text preceding a code block.
13349 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13351 * ob.el (org-babel-get-src-block-info): Fixing bug,
13352 accidentally deleted variable values.
13354 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13356 * ob-tangle.el (org-babel-process-comment-text):
13357 Customizable function to process comment text.
13358 (org-babel-tangle-collect-blocks): Make use of new
13359 customizable processing function.
13360 (org-babel-spec-to-string): Call customizable function rather than
13363 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13365 * ob-R.el (org-babel-execute:R): Collect and pass along the
13367 (org-babel-R-evaluate): Accept result-params and if "scalar" or
13368 "verbatim" don't process output.
13369 (org-babel-R-evaluate-session): Accept result-params and if
13370 "scalar" or "verbatim" don't process output.
13372 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13374 * ob.el (org-babel-merge-params): Differentiate between result
13375 types and wrappers.
13377 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13379 * ob.el (org-babel-get-src-block-info): Check that
13380 functional-syntax variables are initialized.
13382 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13384 * ob.el (org-babel-check-src-block): Adding a note for a
13385 future enhancement.
13387 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13389 * org-exp.el (org-export): Restore point when exporting a subtree.
13391 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13393 * ob.el (org-babel-parse-src-block-match): More robust to code
13394 blocks with empty bodies.
13396 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13398 * ob.el (org-babel-parse-src-block-match): Don't error on empty
13401 2012-01-03 David Maus <dmaus@ictsoc.de>
13403 * org.el (org-open-at-point): Unescape plain link.
13405 2012-01-03 David Maus <dmaus@ictsoc.de>
13407 * org-html.el (org-html-handle-links): Remove unnecessary link
13410 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13412 * ob.el (org-babel-merge-params): Better error message for
13413 unassigned variables.
13415 2012-01-03 Christian Egli <christian.egli@alumni.ethz.ch>
13417 * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
13418 buffer local variables to the temporary buffer before
13421 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13423 * org-exp.el (org-export-select-backend-specific-text):
13424 Only remove commas on the front line of a code block.
13426 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13428 * ob.el (org-babel-demarcate-block): Copy headers and indent to
13429 column of point when a block is split.
13431 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13433 * ob.el (org-babel-insert-result): Corrected file insertion
13434 for inline results.
13436 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13438 * org-footnote.el (org-footnote-in-valid-context-p):
13439 No footnote in latex fragments.
13441 2012-01-03 Martin Rudalics <rudalics@gmx.at>
13443 * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
13444 argument from `pop-to-buffer-same-window' call.
13446 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13448 * ob-R.el (org-babel-R-evaluate-session): Improve prompt
13451 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13453 * org-inlinetask.el (org-inlinetask-goto-end):
13456 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13458 * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
13460 (org-babel-asymptote-table-to-array): Remove function.
13462 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13464 * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
13465 recognize non-nested lists as uni-dimensional arrays.
13467 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13469 * ob.el (org-babel-params-from-properties): Don't check for
13470 header arguments in properties with leading ":"s.
13472 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13474 * org-inlinetask.el (org-inlinetask-goto-end):
13475 Correctly detect the end of an inlinetask when the next one starts
13476 immediately after the current one. Also, return position of
13479 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13481 * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
13484 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13486 * ob-asymptote.el (org-babel-asymptote-define-type):
13487 Elisp floats are asymptote reals.
13489 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13491 * ob-asymptote.el (org-babel-asymptote-table-to-array):
13492 Require a new argument TYPE specifying the detected type of
13493 array. If it's a string array, make sure every element is
13494 returned as a string. Also improve doc-string.
13495 (org-babel-asymptote-var-to-asymptote): Fill new argument.
13497 (org-babel-asymptote-define-type): Rewrite to avoid stopping
13498 search at first float found, as strings have precedence over
13501 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13503 * org-footnote.el (org-footnote-normalize): Be sure to separate
13504 the last footnote definition from the rest of the buffer.
13506 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13508 * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
13511 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13513 * org.el (org-latex-regexps): Allow matching latex fragments
13514 of type "$" and "$1" at beginning of line.
13516 2012-01-03 Bastien Guerry <bzg@gnu.org>
13518 * org-agenda.el (org-search-view, org-agenda-get-todos)
13519 (org-agenda-get-deadlines, org-agenda-get-scheduled):
13520 Add `category-pos' in let construct.
13522 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13524 * org-footnote.el (org-footnote-get-definition): The function has
13525 to widen buffer if definition has not been found in the current
13526 narrowed part. Be sure to restore that restriction once the
13527 definition is found.
13529 2012-01-03 Michal Sojka <sojka@os.inf.tu-dresden.de> (tiny change)
13531 * org-icalendar.el (org-print-icalendar-entries): Make alarm
13532 duration RFC5545 compliant.
13534 2012-01-03 Bastien Guerry <bzg@gnu.org>
13536 * org-agenda.el (org-agenda-get-timestamps)
13537 (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
13538 the `org-category-pos' property.
13540 2012-01-03 Bastien Guerry <bzg@gnu.org>
13542 * org-html.el (org-export-html-divs): Improve docstring.
13544 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13546 * org-table.el (org-table-fix-formulas): Throw error when
13547 changing formula leads to an invalid formula.
13549 2012-01-03 Bastien Guerry <bzg@gnu.org>
13551 * org.el (org-archive-location): Minor docstring fix.
13553 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13555 * org.el (org-block-todo-from-checkboxes):
13556 `org-list-search-forward' should be used when looking for an
13557 item, as it filters out contexts where match couldn't be in a
13558 list. Also use a correct item regexp, taking into account
13559 alphabetical ordered lists and counters.
13561 2012-01-03 Bastien Guerry <bzg@gnu.org>
13563 * org-html.el (org-html-make-link): Minor fix to the
13566 2012-01-03 Suvayu Ali <fatkasuvayu+linux@gmail.com> (tiny change)
13568 * org-inlinetask.el (org-inlinetask): New customizable face
13571 2012-01-03 Bastien Guerry <bzg@gnu.org>
13573 * org-agenda.el (org-agenda-get-todos): Properly set
13576 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13578 * org-list.el (org-list-struct-apply-struct): Don't use
13579 (copy-marker (point)) instead of (point-marker).
13581 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13583 * ob.el (org-babel-where-is-src-block-result): Don't try to
13584 resolve variables when simply checking if we're inside of a
13587 2012-01-03 Bastien Guerry <bzg@gnu.org>
13589 * org.el (org-refresh-category-properties): New text property
13590 'org-category-position to point at the beginning of the
13591 headline from which the category is set.
13593 2012-01-03 Matt Lundin <mdl@imapmail.org>
13595 * org.el (org-refile): Don't call `org-back-to-heading' with
13598 2012-01-03 Bastien Guerry <bzg@gnu.org>
13600 * org.el (org-link-display-descriptive): Remove this option and
13601 rely on the existing `org-descriptive-links' instead.
13602 (org-toggle-link-display): Use `org-descriptive-links'.
13604 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13606 * ob-ref.el (org-babel-ref-resolve): Allow matching of results
13607 with tags after the result name.
13609 2012-01-03 Bastien Guerry <bzg@gnu.org>
13611 * org-table.el (org-table-get-specials): Allow the use of the
13612 underscore character in column names.
13613 (org-table-get-specials): Allow the use of the underscore
13614 character in field names.
13616 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13618 * org-exp-blocks.el (org-export-blocks-preprocess):
13619 Explicitly cleaning up markers.
13621 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13623 * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
13624 around `org-babel-exp-do-export' which now searches in this case.
13625 (org-babel-exp-results): Position the point in the inline source
13626 block during export evaluation.
13628 * ob.el (org-babel-insert-result): More readable code.
13630 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13632 * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
13633 in function rather than the superfluous (and now removed)
13634 org-specific function.
13636 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13638 * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
13639 inline code blocks which are already escaped.
13641 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13643 * org-exp-blocks.el (org-marker-from-point): Helper function to
13644 create markers at specific points in source buffers.
13645 (org-export-blocks-preprocess): Use markers instead of points
13646 to delimit code blocks.
13648 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13650 * org-list.el (org-list-separating-blank-lines-number):
13651 The behavior of `org-back-over-empty-lines' depends on the
13652 associated value of `headline' in
13653 `org-blank-before-new-entry', which is out of context in a
13656 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13658 * org-indent.el (org-indent-initialize-agent): When the current
13659 buffer isn't being watched, resume initialization of other watched
13660 buffers. In that case, give hand to others idle timers or
13661 processes more frequently.
13662 (org-indent-agent-active-delay): Rename from
13663 `org-indent-agent-process-duration'.
13664 (org-indent-agent-passive-delay): New variable.
13665 (org-indent-agent-resume-delay): Change value.
13666 (org-indent-initialize-buffer): Change argument name.
13667 (org-indent-add-properties): Change argument name and type
13668 expected. It must be a time value now.
13670 2012-01-03 Bastien Guerry <bzg@gnu.org>
13672 * org.el (org-set-property): Bugfix.
13674 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13676 * ob.el (org-babel-remove-result): Idempotent code block
13677 evaluation and result removal.
13679 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13681 * ob-ruby.el (org-babel-ruby-initiate-session): No longer
13682 require inf-ruby when no session evaluation takes place.
13684 2012-01-03 Bastien Guerry <bzg@gnu.org>
13686 * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
13689 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13691 * org-agenda.el (org-agenda-custom-commands): Set a default
13692 value for this command.
13694 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13696 * org-agenda.el (org-agenda-include-all-todo): Declare this option
13697 as no longer working.
13698 (org-timeline): Rename the include-all argument to dotodo.
13699 (org-arg-loc): Rename from` org-include-all-loc'.
13700 (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
13701 because its function has changed.
13703 2012-01-03 Bastien Guerry <bzg@gnu.org>
13705 * org.el (org-fixup-indentation): Fix various small bugs.
13707 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13709 * org-indent.el (org-indent-agent-timer)
13710 (org-indent-agentized-buffers, org-indent-agent-resume-timer)
13711 (org-indent-agent-process-duration)
13712 (org-indent-agent-resume-delay): New variables.
13713 (org-indent-initial-marker): More accurate doc-string.
13714 (org-indent-initial-timer, org-indent-initial-resume-timer)
13715 (org-indent-initial-process-duration)
13716 (org-indent-initial-resume-delay)
13717 (org-indent-initial-lock): Remove variables.
13718 (org-indent-mode): Set up an agent to watch current buffer, or
13719 add it to the list of already watched buffers.
13720 (org-indent-initialize-agent): New function.
13721 (org-indent-initialize-buffer): Now requires a mandatory
13723 (org-indent-add-properties): Reflect changes to variables.
13724 The resume timer is now global.
13726 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13728 * org-footnote.el (org-footnote-normalize): Refactor, and fix
13729 some blank lines deletion.
13731 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13733 * org-indent.el (org-indent-mode):
13734 `org-indent-initial-resume-timer ' needs to be local.
13736 2012-01-03 Bastien Guerry <bzg@gnu.org>
13738 * org.el (org-fixup-indentation): Correctly indent meta lines.
13740 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13742 * org-indent.el (org-indent-set-line-properties): Add text
13743 properties down to the beginning of the next line.
13744 (org-indent-add-properties): When last position to add
13745 properties to is at the beginning of a line, all that line
13746 will have properties.
13748 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13750 * org-indent.el (org-indent-initial-resume-timer): New variable.
13751 (org-indent-initialize-buffer): Also resume after a small break.
13752 (org-indent-add-properties): When in asynchronous mode,
13753 proceed for 2 seconds, then take a break.
13755 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13757 * org-indent.el (org-indent-set-line-properties): New function.
13758 (org-indent-add-properties): Externalize worker function.
13760 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13762 * org-indent.el (org-indent-indent-buffer): Take into account
13765 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13767 * org-indent.el (org-indent-modified-headline-flag): Rename from
13768 `org-indent-deleted-headline-flag'
13769 (org-indent-notify-modified-headline): Rename from
13770 `org-indent-notify-deleted-headline'. Handle situations when
13771 the stars of an headline are modified.
13772 (org-indent-refresh-maybe): Remove case now handled by
13774 (org-indent-mode): Apply renames.
13776 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13778 * org-indent.el (org-indent-inlinetask-first-star):
13780 (org-indent-add-properties): Set the first star of inline-tasks'
13781 virtual indentation in `org-warning' face.
13783 * org-inlinetask.el (org-inlinetask-insert-task): Create a new
13784 inline-task slightly differently, so virtual indentation can
13785 be applied normally.
13787 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13789 * org-indent.el (org-indent-initial-marker)
13790 (org-indent-initial-timer, org-indent-initial-lock):
13792 (org-indent-mode): At initialization, start an idle timer to indent
13793 the whole buffer. When the user is asking for control, interrupt the
13794 process, and resume at the same point when idle again.
13795 (org-indent-initialize-buffer): New function.
13796 (org-indent-add-properties): Throw an interrupt when indentation of
13797 buffer is stopped during initialization.
13799 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13801 * org-indent.el (org-indent-indent-buffer): Send more
13802 appropriate messages.
13804 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13806 * org-indent.el (org-indent-notify-deleted-headline)
13807 (org-indent-refresh-maybe): Replace `org-indent-outline-re'
13808 with `org-outline-regexp-bol'.
13810 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13812 * org-indent.el (org-indent-max-levels): Modify default value and
13814 (org-indent-add-properties): Pay attention to `org-indent-max'
13815 and `org-indent-max-levels' values.
13816 (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
13819 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13821 * org-table.el (org-table-align): Remove now useless hack.
13823 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13825 * org-indent.el (org-indent-fix-section-after-idle-time):
13827 (org-indent-initialize): Remove timer.
13828 (org-indent-add-properties): Refactor code.
13829 (org-indent-refresh-subtree, org-indent-refresh-section)
13830 (org-indent-refresh-buffer, org-indent-set-initial-properties):
13832 (org-indent-deleted-headline): New variable.
13833 (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
13835 (org-indent-mode): Insert new functions into a hook.
13837 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13839 * org-indent.el (org-indent-mode): Completely refresh buffer
13840 before starting org-indent-mode. Also set idle timer to refresh
13841 only visible portion of buffer, and refresh the subtree instead of
13842 section when promoting or demoting it.
13843 (org-indent-add-properties): Rewrite function to proceed line by
13844 line, as required by `wrap-prefix' specificity.
13845 (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
13846 (org-indent-refresh-view): New function.
13847 (org-indent-refresh-to, org-indent-refresh-section):
13850 * org.el (org-unfontify-region): Do not remove prefix
13851 properties when unfontifying a region.
13853 2012-01-03 Bastien Guerry <bzg@gnu.org>
13855 * org-colview.el (org-columns-cleanup-item): Correctly remove
13856 leading stars in items displayed in the agenda column view.
13858 2012-01-03 Bastien Guerry <bzg@gnu.org>
13860 * org-colview.el (org-columns-display-here): Clean up items in
13861 `org-agenda-mode' too.
13862 (org-columns-cleanup-item): Take a new argument CPHR to allow
13863 passing a complex heading regexp. Rewrite to cleanup ITEM
13864 correctly in `org-agenda-mode'.
13866 2012-01-03 Bastien Guerry <bzg@gnu.org>
13868 * org-clock.el (org-duration-string-to-minutes)
13869 (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
13872 2012-01-03 Bastien Guerry <bzg@gnu.org>
13874 * org.el (org-refile-active-region-within-subtree): New option to
13875 allow refiling a region that is part of a subtree without
13876 containing a subtree itself. This default to `nil'.
13877 (org-refile): Use the new option. Put point at the beginning
13878 of the region/subtree to be refiled, so that users understand
13879 what will be refiled. Also improve the prompt to tell whether
13880 the user is refiling a region or a headline.
13882 2012-01-03 Bastien Guerry <bzg@gnu.org>
13884 * org.el (org-properties-postprocess-alist): New option to allow
13885 postprocessing the values of properties set through
13886 `org-set-property'.
13887 (org-set-property): Use this option.
13889 2012-01-03 Bastien Guerry <bzg@gnu.org>
13891 * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
13894 2012-01-03 Bastien Guerry <bzg@gnu.org>
13896 * org-archive.el (org-archive-to-archive-sibling):
13897 Use `org-outline-regexp' instead of `outline-regexp'.
13899 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13901 * org.el (org-between-regexps-p): Searching up to pos may
13902 match again beginning regexp.
13904 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13906 * org-footnote.el (org-footnote-goto-definition): Don't send
13907 erroneous message: suggested bindings might not be set outside
13910 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13912 * org-footnote.el (org-footnote-normalize): Effectively remove
13913 any footnote tag in non Org buffers, as detailled in the
13914 docstring of `org-footnote-tag-for-non-org-mode-files'.
13916 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13918 * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
13919 notify the opportunity to set the variable to the empty string.
13920 (org-footnote-normalize, org-footnote-create-definition):
13921 Carefully check for inserted newlines and presence of the
13924 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13926 * org-footnote.el (org-footnote-at-definition-p): Re-use
13927 `org-footnote-definition-re'.
13929 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13931 * org-footnote.el (org-footnote-definition-re): Remove an
13933 (org-footnote-at-definition-p): Reflect removal of the group.
13935 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13937 * org.el (org-set-regexps-and-options): Enforce white space
13938 after todo keyword, as word boundary isn't sufficient (i.e. in
13939 matches * TODO/this).
13941 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
13943 * org-inlinetask.el (org-inlinetask-export-templates):
13944 Fix template for html so that the exported file is valid
13945 xhtml. Added template for odt.
13946 (org-inlinetask-export-handler): Fix typo in the regexp that
13947 trims content. Make sure that the content is flanked by
13948 paragraph boundaries on either side.
13950 2012-01-03 Bastien Guerry <bzg@gnu.org>
13952 * org.el (org-add-planning-info): Don't insert superfluous
13953 space when updating timestamps.
13955 2012-01-03 Bastien Guerry <bzg@gnu.org>
13957 * org-agenda.el (org-cmp-effort): Fix docstring.
13959 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13961 * org-list.el (org-list-full-item-re): When an item has only a
13962 bullet and no space after it, list structure would not be
13963 recognized correctly.
13965 2012-01-03 Bastien Guerry <bzg@gnu.org>
13967 * org.el (org-overview): Use `outline-regexp' instead of
13968 `org-outline-regexp' so that global cycling using
13969 `orgstruct-mode' works outside of Org buffers.
13971 2012-01-03 Bastien Guerry <bzg@gnu.org>
13973 * org-table.el (org-table-eval-formula): Fix missing variable
13975 (org-table-time-string-to-seconds): Fix missing variable in
13978 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
13980 * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
13981 case of wdays being 0. Don't pass wdays to
13982 org-agenda-deadline-face, like before the old fix.
13983 (org-agenda-deadline-face): Revert to old state that was without
13986 2012-01-03 Bastien Guerry <bzg@gnu.org>
13988 * org-latex.el (org-export-latex-fixed-width): Only add one
13989 line break after exporting verbatim environments.
13991 2012-01-03 Bastien Guerry <bzg@gnu.org>
13993 * org-list.el (org-list-item-trim-br): New function.
13994 (org-list-to-generic): New parameter :nobr to use the new
13997 2012-01-03 David Maus <dmaus@ictsoc.de>
13999 * org.el (org-paste-subtree): Fix wrong order of lines to move
14002 2012-01-03 David Maus <dmaus@ictsoc.de>
14004 * org.el (org-paste-subtree): Paste subtree above target
14005 headline if point is at bol.
14007 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14009 * org-list.el (org-toggle-checkbox): Don't clear lim-down
14010 while used in the while loop.
14012 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14014 * org-list.el (org-toggle-checkbox): Lim-down must be a
14017 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14019 * org.el (org-activate-code): Correct regexp so ":.*" isn't
14022 2012-01-03 David Maus <dmaus@ictsoc.de>
14024 * org-macs.el (org-with-gensyms, org-called-interactively-p)
14025 (with-silent-modifications, org-bound-and-true-p)
14026 (org-unmodified, org-re, org-preserve-lc)
14027 (org-without-partial-completion, org-with-point-at)
14028 (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14029 (org-if-unprotected-at, org-with-remote-undo)
14030 (org-no-read-only, org-save-outline-visibility)
14031 (org-with-wide-buffer, org-with-limited-levels)
14032 (org-eval-in-environment): Provide edebug specifications.
14034 * org-src.el (org-src-do-at-code-block): Dto.
14036 * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14038 * org-compat.el (org-xemacs-without-invisibility): Dto.
14040 * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14042 * org-agenda.el (org-agenda-with-point-at-orig-entry)
14043 (org-batch-agenda, org-batch-agenda-csv)
14044 (org-batch-store-agenda-views): Dto.
14046 * ob.el (org-babel-do-in-edit-buffer)
14047 (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14049 * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14051 * ob-table.el (sbe): Dto.
14053 * ob-exp.el (org-babel-exp-in-export-file): Dto.
14055 * ob-comint.el (org-babel-comint-in-buffer)
14056 (org-babel-comint-with-output): Dto.
14058 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14060 * org-inlinetask.el (org-inlinetask-export-templates):
14063 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14065 * org-inlinetask.el (org-inlinetask-insert-task): Error when
14066 trying to nest inline tasks.
14068 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14070 * org.el (org-activate-code, org-toggle-fixed-width-section)
14071 (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14072 fixed-width section.
14074 2012-01-03 David Maus <dmaus@ictsoc.de>
14076 * org.el (org-paste-subtree): Don't eat headline when called
14077 with point at existing headline.
14079 2012-01-03 David Maus <dmaus@ictsoc.de>
14081 * org.el (org-paste-subtree): Fix typo in variable name.
14083 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
14085 * org-inlinetask.el (org-inlinetask-export-handler):
14086 Don't export inline tasks if the current backend has provided no
14087 entries in `org-inlinetask-export-templates'.
14089 2012-01-03 Valentin Wüstholz <wuestholz@gmail.com> (tiny change)
14091 * org.el (org-indent-line-function): Made the way in which
14092 example blocks are indented more flexible.
14094 2012-01-03 David Maus <dmaus@ictsoc.de>
14096 * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14097 when creating final parameter alist.
14099 2012-01-03 David Maus <dmaus@ictsoc.de>
14101 * org-agenda.el (org-batch-store-agenda-views): Use macro
14102 `org-eval-in-environment'.
14104 2012-01-03 David Maus <dmaus@ictsoc.de>
14106 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14107 Use `org-eval-in-environment.
14109 2012-01-03 David Maus <dmaus@ictsoc.de>
14111 * org-macs.el (org-make-parameter-alist): New function.
14112 Turn flat list of alternating symbol names and values into an alist
14113 with symbol name in car and value in cdr.
14115 2012-01-03 David Maus <dmaus@ictsoc.de>
14117 * org-agenda.el (org-agenda-with-point-at-orig-entry):
14118 Use macro `org-with-gensyms'.
14120 2012-01-03 David Maus <dmaus@ictsoc.de>
14122 * org-macs.el (org-substitute-posix-classes):
14123 New function. Substitute posix classes in regular expression.
14124 (org-re): Use new function.
14126 2012-01-03 David Maus <dmaus@ictsoc.de>
14128 * org-macs.el (org-eval-in-environment): New macro. Evaluate FORM
14131 2012-01-03 David Maus <dmaus@ictsoc.de>
14133 * org-macs.el (org-preserve-lc, org-with-point-at)
14134 (org-with-remote-undo, org-save-outline-visibility): Use new
14135 macro `org-with-gensyms'.
14137 2012-01-03 David Maus <dmaus@ictsoc.de>
14139 * org-macs.el (org-with-gensyms): New macro. Wrap let-binding
14140 of SYMBOLS to new uninterned symbols around BODY.
14142 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14144 * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14145 the task starts a paragraph or the HTML exporter will produce
14146 an incorrect output.
14148 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14150 * org.el (org-return): When filling happens, `newline' can
14151 change match data, hence modifying the indent column.
14153 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14155 * org-footnote.el (org-footnote-new): Only forbid non-inlined
14156 footnotes at column 0, as only them can be confused with a
14157 footnote definition.
14159 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14161 * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14162 when available when prompted for a label. Also rename a local
14163 variable to avoid confusion with an existing function.
14165 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14167 * org-footnote.el (org-footnote-label-history):
14169 (org-footnote-new): Remove call to that variable.
14171 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14173 * org.el (org-insert-heading): With `force-heading' non-nil,
14174 inserting an heading before any headline, and just after a
14175 list would return an error.
14177 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14179 * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14181 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14183 * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14184 non-special when resolving bibtex values.
14186 2012-01-03 David Maus <dmaus@ictsoc.de>
14188 * org.el (org-back-over-empty-lines): Don't move line upward
14189 if point is at eob.
14191 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14193 * org-footnote.el (org-footnote-in-valid-context-p):
14194 Check `org-protected' property before allowing to match a footnote.
14195 (org-footnote-at-reference-p): Remove an obsolete test. It is now
14196 done in the previous function.
14198 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14200 * org.el (org-between-regexps-p): Previous name implied the
14201 function was related to blocks, which isn't mandatory.
14202 (org-narrow-to-block, org-in-block-p)
14203 (org-indent-line-function): Applied the rename.
14205 * ob-exp.el (org-babel-in-example-or-verbatim):
14206 Applied rename. Also removed a white space.
14208 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14210 * org.el (org-in-regexps-block-p): Return an useful value when
14211 point is between START-RE and END-RE. No incomplete block is
14212 allowed anymore. Add another optional argument to bound the
14213 bottom part of the search.
14214 (org-narrow-to-block, org-in-block-p): Apply modifications.
14216 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14218 * ob.el (org-babel-src-block-regexp): If a code block has a
14219 body, its last character must be a newline.
14221 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
14223 * org-footnote.el (org-footnote-next-reference-or-definition):
14224 If no more footnote is found, be sure to go back to the
14225 original position. Otherwise, point might be left on a
14226 footnote-like element that has been dished out.
14228 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14230 * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14233 * ob.el (defvar): Wrap variable declaration in
14234 `eval-when-compile'.
14236 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14238 * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14240 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
14242 * ob-java.el (org-babel-execute:java): Allow cmdline flags
14243 during compilation and evaluation.
14245 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14247 * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14248 * ob-ref.el (org-babel-ref-parse): Fix typos.
14250 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14252 * ob.el (org-babel-execute-src-block): Fix typo.
14254 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14256 * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14258 2011-11-20 Andreas Schwab <schwab@linux-m68k.org>
14260 * org-list.el (org-list-send-item): Use sort instead of sort*.
14262 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14264 * org-table.el (org-table-line-to-dline): Fix typo.
14266 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14268 * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14269 (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14270 (org-search-syntax-table, org-modify-diary-entry-string)
14271 (org-write-agenda):
14272 * org-bbdb.el (org-bbdb-anniv-export-ical):
14273 * org-bibtex.el (org-bibtex-fields):
14274 * org-icalendar.el (org-icalendar-date-time-format):
14275 * org-latex.el (org-export-latex-inline-image-extensions):
14276 * org-list.el (org-list-insert-item): Fix typos.
14278 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14280 * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14282 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14284 * org.el (org-mode): Force left-to-right paragraphs in Org
14285 buffers. For a related discussions, see
14286 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14288 2011-09-17 Juanma Barranquero <lekktu@gmail.com>
14290 * org.el (org-toggle-pretty-entities): Fix typo in message.
14292 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14294 * org-compat.el (org-pop-to-buffer-same-window): Delete.
14296 * ob-ref.el (org-babel-ref-goto-headline-id):
14297 * org.el (org-get-location, org-tree-to-indirect-buffer)
14298 (org-mark-ring-goto, org-refile, org-add-log-note)
14299 (org-revert-all-org-buffers, org-switchb)
14300 (org-cycle-agenda-files, org-submit-bug-report)
14301 (org-goto-marker-or-bmk):
14302 * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14303 * org-capture.el (org-capture-goto-target)
14304 (org-capture-fill-template):
14305 * org-clock.el (org-clock-goto):
14306 * org-ctags.el (org-ctags-visit-buffer-or-file):
14307 * org-exp.el (org-export-as-org):
14308 * org-feed.el (org-feed-show-raw-feed):
14309 * org-html.el (org-export-htmlize-generate-css):
14310 * org-id.el (org-id-goto):
14311 * org-irc.el (org-irc-visit-erc):
14312 * org-mobile.el (org-mobile-apply):
14313 * org-publish.el (org-publish-org-to, org-publish-find-date):
14314 * org-remember.el (org-go-to-remember-target):
14315 * org-src.el (org-src-switch-to-buffer)
14316 (org-edit-fixed-width-region): Use switch-to-buffer.
14318 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14320 * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14321 argument from pop-to-buffer-same-window call.
14323 2011-07-30 Carsten Dominik <carsten.dominik@gmail.com>
14325 * ob.el (org-babel-src-block-regexp): If a code block has a body,
14326 its last character must be a newline.
14328 2011-07-28 Bastien Guerry <bzg@gnu.org>
14330 * org-pcomplete.el: New file. Rename from org-complete.el.
14331 * org-complete.el: Delete file.
14333 2011-07-28 Bastien Guerry <bzg@gnu.org>
14335 * org-publish.el (org-publish-index-generate-theindex):
14336 Rename from `org-publish-index-generate-theindex.inc'. Use the file
14337 theindex.org directly instead of including theindex.inc.
14338 (org-publish-projects): Don't delete .orgx files.
14339 (org-publish-aux-preprocess): Use .file.orgx.
14341 2011-07-28 Bastien Guerry <bzg@gnu.org>
14343 * org-html.el (org-export-html-preamble-format): New default for
14344 the HTML preamble: don't include the title. Also improve the
14346 (org-export-html-postamble-format): Improve the docstring.
14347 (org-export-as-html): Add the title within the "content" div.
14348 This is necessary for interaction with the org-info.js script.
14350 2011-07-28 Michael Brand <michael.ch.brand@gmail.com>
14352 * org-table.el (org-table-edit-field): Display field coordinates.
14354 2011-07-28 Bastien Guerry <bzg@gnu.org>
14356 * org-publish.el (org-publish-find-title): Bugfix: kill buffers
14357 unless they were already visited.
14358 (org-sitemap-sort-files, org-sitemap-sort-folders)
14359 (org-sitemap-ignore-case, org-sitemap-requested)
14360 (org-sitemap-date-format, org-sitemap-file-entry-format):
14361 Use a correct prefix.
14362 (org-publish-projects): Make sure to delete .orgx files.
14363 (org-publish-index-generate-theindex.inc): Small docstring fix.
14365 2011-07-28 Bastien Guerry <bzg@gnu.org>
14367 * org-table.el (org-table-duration-custom-format): New defcustom
14368 to select output format of durations computations.
14369 (org-table-time-seconds-to-string): Use the new variable.
14370 (org-table-eval-formula): Allow `t' as a flag, on top of `T'. `t'
14371 will use the custom output format defined in
14372 `org-table-duration-custom-format'.
14374 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14376 * org-list.el: Search blank lines down to the end of the item
14377 instead of stopping at the item, in order to possibly match such
14378 lines within the item.
14380 2011-07-28 Bastien Guerry <bzg@gnu.org>
14382 * org-latex.el (org-export-latex-href-format): Docstring fix to
14383 reflect the fact that you can use only one "%s".
14384 (org-export-latex-links): Allow `org-export-latex-href-format' to
14385 have only one "%s".
14387 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
14389 * org.el (org-org-menu): Add `org-copy-visible' to the menu.
14391 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
14393 * org.el (org-copy-visible): New command.
14395 2011-07-28 Bastien Guerry <bzg@gnu.org>
14397 * org-capture.el (org-capture-templates): Docstring fix.
14399 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14401 * ob.el (org-babel-view-src-block-info): New function to inspect
14404 * ob-keys.el (org-babel-key-bindings): Key bindings for
14405 `org-babel-view-src-block-info'.
14407 2011-07-28 Bastien Guerry <bzg@gnu.org>
14409 * org-exp.el (org-infile-export-plist): Handle recursively
14410 included setup files. The value of the last included file always
14411 takes precedence over previous values.
14413 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14415 * org.el (org-timestamp-change): Keep point in the same category
14416 when updating a time-stamp. This requires to be careful, as,
14417 depending on the locale, name of day might change of length during
14420 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14422 * org-footnote.el (org-footnote-create-definition): When skipping
14423 already written footnotes definition, the algorithme would assume
14424 each one was only one-line long.
14426 2011-07-28 Bastien Guerry <bzg@gnu.org>
14428 * org-table.el (org-table-eval-formula): Fix bug when a formula
14429 "range" is just one cell.
14430 (org-table-time-string-to-seconds): Don't check whether we
14431 manipulate a string.
14433 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14435 * org-exp.el (org-export-mark-list-end)
14436 (org-export-mark-list-properties): Don't remove the ending regexp
14437 when it consists in blank lines.
14439 * org-list.el (org-list-parse-list): Ditto, but remove it
14440 completely when it isn't made of blank lines (i.e. during export
14443 2011-07-28 Bastien Guerry <bzg@gnu.org>
14445 * org-table.el (org-table-time-string-to-seconds): Match either
14446 HH:MM:SS or HH:MM (instead of MM:SS).
14448 2011-07-28 Bastien Guerry <bzg@gnu.org>
14450 * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
14451 `org-ctrl-c-ctrl-c' cannot do anything useful in the given
14454 2011-07-28 Bastien Guerry <bzg@gnu.org>
14456 * org-html.el (org-export-html-with-timestamp)
14457 (org-export-html-html-helper-timestamp): These are obsolete
14458 variables as of Org version 7.7 as you can already export the
14459 timestamp from the preamble or the postamble.
14460 (org-export-html-before-content-div): Delete variable.
14461 (org-export-html-content-div): Obsolete variable as of 7.7.
14462 (org-export-html-divs): New variable to define divs used in
14464 (org-export-as-html): Now the preamble and the postamble are
14465 surrounded by a <div ...>. The name of the div is defined through
14466 `org-export-html-divs'.
14468 2011-07-28 Bastien Guerry <bzg@gnu.org>
14470 * org-table.el (org-table-eval-formula): Throw an error when
14471 trying to replace complex range with invalid references.
14473 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14475 * org-macs.el (org-with-limited-levels): Some functions, like
14476 `org-back-to-heading', being deeply based on outline-mode, still
14477 refer to `outline-regexp' instead of `org-outline-regexp'.
14479 2011-07-28 Bastien Guerry <bzg@gnu.org>
14481 * org.el (org-refile-get-targets): New optional argument
14482 `excluded-entries' to exclude entries from the targets.
14483 (org-refile-get-location): From an org-mode buffer, exclude
14484 current heading and subheadings from the list of targets when
14485 `org-refile-use-cache' is nil.
14487 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14489 * org.el (org-imenu-get-tree): Headlines start at bol.
14491 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14493 * ob-maxima.el: New file. Fixed self-proclaimed file name.
14495 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14497 * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
14500 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14502 * org.el (org-kill-is-subtree-p): Matched string needs to start at
14505 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14507 * org.el (org-paste-subtree, org-kill-is-subtree-p)
14508 (org-yank-folding-would-swallow-text, org-yank-generic):
14509 Use `org-with-limited-levels' macro.
14511 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14513 * org-macs.el (org-with-limited-levels): Also modify, when
14514 appropriate, `org-outline-regexp-at-bol'.
14516 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14518 * org.el (org-timestamp-change): Some locales don't use the same
14519 length for date abbreviations. Set a marker at origin in case
14520 length of new timestamp is different.
14522 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14524 * org.el (org-imenu-get-tree): Browse only true headlines.
14526 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14528 * org-archive.el (org-archive-subtree): While it might be possible
14529 to archive an headline of a temporary buffer (i.e. not visiting a
14530 file), it wouldn't be really sensible.
14532 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14534 * org-archive.el (org-extract-archive-file)
14535 (org-extract-archive-heading, org-archive-subtree):
14536 `buffer-file-name' is nil in an indirect buffer. Thus, use
14537 `(buffer-file-name (buffer-base-buffer))', which will, in any
14538 case, return the file name.
14540 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14542 * org-capture.el (org-capture): If dired isn't loaded,
14543 `dired-buffers' isn't defined, and %F will fail.
14545 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14547 * ob-java.el (org-babel-execute:java): Don't create empty package
14550 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14552 * ob-java.el: New file.
14554 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14556 * ob.el (org-babel-execute-src-block): Replace call to defunct
14557 function `org-babel-result-hash'.
14559 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14561 * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
14562 lines and headers in `message-mode'.
14563 (org-footnote-at-reference-p): Remove check for cited lines, this
14564 is now handled by the previous function. Refactor.
14566 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14568 * org-capture.el (org-capture): If no file is associated to
14569 current buffer, check dired buffer and try to retrieve a possibly
14570 directory associated.
14572 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14574 * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
14575 (not original) file buffer.
14577 * ob.el (org-babel-current-result-hash): More informative name,
14578 and remove useless optional argument.
14580 2011-07-28 Bastien Guerry <bzg@gnu.org>
14582 * org.el (org-refile-get-location): Exclude current heading from
14585 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14587 * org-footnote.el (org-footnote-at-reference-p): Test if match is
14588 in cited text, when replying to a message.
14589 (org-footnote-new): Do not create a new footnote at bol, as it
14590 might be seen as a definition.
14591 (org-footnote-at-definition-p): Ignore definitions in forbidden
14592 blocks, as it is already the case for references.
14594 2011-07-28 Matt Lundin <mdl@imapmail.org>
14596 * org-bibtex.el (org-bibtex-create, org-bibtex-write):
14597 Change argument of `org-toggle-tag' to 'on. (Other arguments, e.g., t,
14600 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14602 * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
14603 into empty strings.
14605 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14607 * org-list.el (org-list-insert-item): Actualize code comments.
14608 (org-insert-item): For consistency, point cannot be moved at a
14609 surprising place when the user is being asked to choose a new
14610 description term to insert in the list. Point should stay where
14611 the user called the command.
14613 2011-07-28 Bastien Guerry <bzg@gnu.org>
14615 * org.el (org-outline-regexp-bol): New defconst.
14616 (org-outline-level, org-set-font-lock-defaults, org-cycle)
14617 (org-overview, org-content, org-flag-drawer)
14618 (org-first-headline-recenter, org-insert-todo-heading)
14619 (org-map-region, org-move-subtree-down, org-paste-subtree)
14620 (org-kill-is-subtree-p, org-context-p, org-refile)
14621 (org-refile-new-child, org-toggle-comment, org-todo)
14622 (org-add-planning-info, org-add-log-setup, org-scan-tags)
14623 (org-set-tags, org-insert-property-drawer)
14624 (org-prepare-agenda-buffers, org-preview-latex-fragment)
14625 (org-speed-command-default-hook, org-check-for-hidden)
14626 (org-toggle-item, org-toggle-heading)
14627 (org-indent-line-function, org-set-autofill-regexps)
14628 (org-fill-paragraph, org-toggle-fixed-width-section)
14629 (org-yank-generic, org-yank-folding-would-swallow-text)
14630 (org-first-sibling-p, org-goto-sibling)
14631 (org-goto-first-child, org-show-entry):
14632 Use `org-outline-regexp' and `org-outline-regexp-bol'.
14634 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14636 * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
14637 be checked for parent, not current headline. Also, this function
14638 doesn't need to be interactive.
14640 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14642 * org-list.el (org-list-send-item, org-list-struct-apply-struct)
14643 (org-apply-on-list, org-toggle-checkbox): Make markers point
14644 nowhere when they have become useless.
14646 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14648 * org-list.el (org-list-insert-item): When insertion point is in
14649 some white line after the end of the list, remove all unnecessary
14650 white lines there before proceeding. Also refactor a snippet of
14653 2011-07-28 Bastien Guerry <bzg@gnu.org>
14655 * org-latex.el (org-export-latex-image-default-option):
14656 Change default value.
14658 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14660 * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
14661 correctly fontified when the buffer is missing a final newline.
14663 2011-07-28 Bastien Guerry <bzg@gnu.org>
14665 * ob.el (org-babel-strip-protective-commas): Return `nil' instead
14666 of an error if no argument is given.
14667 (org-babel-parse-src-block-match): Make sure body is defined in
14670 2011-07-28 Jon Anders Skorpen <jonas@ifi.uio.no> (tiny change)
14672 * org-publish.el (org-publish-cache-file-needs-publishing):
14673 Regexp did not find includes with double quoted file names.
14675 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14677 * org-footnote.el (org-footnote-normalize): Footnote section
14678 should be inserted only if there are footnotes to insert.
14680 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14682 * org-footnote.el (org-footnote-at-definition-p)
14683 (org-footnote-normalize): Do not grab signature in the definition
14684 of the last footnote.
14686 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14688 * org-bibtex.el (org-babel-trim): Declare this function to the
14690 (org-bibtex-get): Trimming whitespace off of bibtex fields read from
14693 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14695 * org-exp.el (org-export-preprocess-string): Add the possibility
14696 to call recursively the function. Also change order of some
14697 function calls. Comment export process for footnotes.
14699 * org-footnote.el (org-footnote-normalize): Change the export
14700 specific parameter to hold properties of export. Thus, the
14701 function can send every footnote definition in the buffer through
14702 `org-export-process-string'.
14704 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14706 * org-latex.el (org-export-latex-preprocess): First insert
14707 footnotes in the temporary buffer so their contents can properly
14708 be protected from further transformations if required.
14710 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14712 * org-list.el (org-list-indent-offset): New variable.
14713 (org-list-struct-fix-ind): Make use of the new variable.
14715 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14717 * org-latex.el (org-export-latex-list-parameters):
14718 Complete default value with cbtrans option.
14720 * org-list.el (org-list-to-latex): Set a more consistent default
14723 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14725 * org-list.el (org-list-swap-items): Move it to a meaningful
14726 position in source code (i.e. before any function using it), and
14727 rename it to an easier name.
14729 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14731 * org-list.el (org-list-separating-blank-lines-number): If there
14732 are blank lines already in the whole list, add a blank line.
14734 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14736 * org-list.el (org-list-use-circular-move): New variable.
14737 (org-previous-item, org-next-item): Make use of the new variable.
14738 (org-move-item-down, org-move-item-up): Make use of the new
14739 variable. Simplify code.
14741 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14743 * org-list.el (org-list-delete-item, org-list-send-item):
14746 2011-07-28 Bastien Guerry <bzg@gnu.org>
14748 * org-agenda.el (org-agenda-bulk-custom-functions): New variable
14749 for custom bulk action functions.
14750 (org-agenda-bulk-action): Use it.
14752 2011-07-28 Bastien Guerry <bzg@gnu.org>
14754 * org-latex.el (org-export-latex-quotes): New defcustom.
14755 (org-export-latex-quotation-marks): Use it.
14757 2011-07-28 Bastien Guerry <bzg@gnu.org>
14759 * org-capture.el (org-capture-finalize): Bugfix about inserted
14760 blank line when killing the capture buffer and
14761 `org-blank-before-new-entry' tells to not insert anything before a
14764 2011-07-28 Bastien Guerry <bzg@gnu.org>
14766 * org-html.el (org-export-html-content-div): Rename from
14767 `org-export-content-div'.
14768 (org-export-as-html): Use new name.
14770 2011-07-28 Bastien Guerry <bzg@gnu.org>
14772 * org-latex.el (org-export-latex-header-defs-re): Delete.
14774 2011-07-28 Bastien Guerry <bzg@gnu.org>
14776 * org.el (org-last-set-property): New variable.
14777 (org-read-property-name): Use the new variable: the prompt
14778 defaults to the last property set, unless there is a property in
14781 2011-07-28 David Maus <dmaus@ictsoc.de>
14783 * org-capture.el (org-capture-before-finalize-hook)
14784 (org-capture-after-finalize-hook, org-capture-mode-map)
14785 (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
14786 consistently refer to capture, not remember.
14788 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14790 * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
14791 "verbatim" results params.
14793 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14795 * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
14798 * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
14801 * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
14802 synonym for "scalar".
14804 * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
14807 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14809 * ob.el (org-babel-script-escape): Parse odd parens when nested
14812 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14814 * ob-clojure.el (org-babel-execute:clojure): No longer force
14815 results into elisp if they don't naturally fit.
14817 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14819 * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
14820 already parsed lisp results.
14822 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14824 * org-list.el (org-plain-list-ordered-item-terminator):
14825 Remove incorrect assumption.
14827 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14829 * org-footnote.el (org-footnote-forbidden-blocks): Add missing
14830 exporter specific blocks.
14832 * org-list.el (org-list-forbidden-blocks): Ditto.
14834 2011-07-28 Bastien Guerry <bzg@gnu.org>
14836 * org-latex.el (org-export-latex-tables): Bugfix: remove
14837 properties from fields.
14839 2011-07-28 Bastien Guerry <bzg@gnu.org>
14841 * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
14842 to use `org-clock-timestamps-change'.
14844 2011-07-28 Bastien Guerry <bzg@gnu.org>
14846 * org.el (org-timestamp-up, org-timestamp-down): Mention time
14847 changes in the docstring.
14849 2011-07-28 Bastien Guerry <bzg@gnu.org>
14851 * org-clock.el (org-clock-remove-empty-clock-drawer): New function
14852 to remove empty clock drawer.
14853 (org-clock-out-hook): Add the new function as a hook.
14855 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14857 * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
14859 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14861 * org.el (org-in-block-p): New function.
14863 * org-footnote.el (org-footnote-forbidden-blocks): New variable.
14864 (org-footnote-in-valid-context-p): New function.
14865 (org-footnote-at-reference-p): Use new function. Allow inline
14866 footnotes to start at bol.
14868 2011-07-28 Bastien Guerry <bzg@gnu.org>
14870 * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
14871 (org-lparse-warn): Use it.
14873 2011-07-28 Bastien Guerry <bzg@gnu.org>
14875 * org-ascii.el (org-export-as-utf8): Fix call to
14876 `org-called-interactively-p': it requires an argument. Also fix
14879 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14881 * ob-lilypond.el (show-all): Declaring function from outline.el.
14882 (org-babel-default-header-args:lilypond): Declared.
14883 (ly-process-basic): Use the appropriate prefix for the temporary
14884 file, and don't call a function from ob-dot.el.
14885 (ly-version): Let-bind a free variable.
14887 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14889 * ob-lilypond.el: New file.
14891 2011-07-28 Bastien Guerry <bzg@gnu.org>
14894 (org-publish-cache-file-needs-publishing): Only check against .org
14897 2011-07-28 Bastien Guerry <bzg@gnu.org>
14899 * org.el (org-mode): Use `org-default' as the default face in
14902 2011-07-28 Bastien Guerry <bzg@gnu.org>
14905 (org-publish-cache-file-needs-publishing): Takes care of more
14906 recently included files, returning `t' in case the file including
14907 them needs to be republished.
14909 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14911 * org-exp.el (org-export-preprocess-string): If the last subtree
14912 is a task, footnotes may be removed along with the subtree.
14913 This patch ensures footnotes are put at the end of the buffer after the
14914 subtree has been removed.
14916 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14918 * org-footnote.el (org-footnote-at-reference-p): Verify that what
14919 looks like a footnote doesn't belong to a link.
14920 (org-footnote-next-reference-or-definition): Check more strictly
14921 footnote definitions.
14923 2011-07-28 Deech <deech@deech-ThinkPad-X200.(none)> (tiny change)
14925 * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
14928 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14930 * ob-python.el (org-babel-python-evaluate-session): Inhibit return
14931 of the eoe string during session evaluation.
14933 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14935 * ob-python.el (org-babel-python-evaluate-session):
14936 Enough newlines to ensure a return when ":results output :session".
14938 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14940 * ob-python.el (org-babel-python-evaluate-session): Introduced a
14941 new local function for sending input with a slight delay to allow
14942 pythong to re-draw the prompt. No longer removing newlines inside
14943 code block bodies (was due to a defective regexp).
14945 2011-07-28 Bastien Guerry <bzg@gnu.org>
14947 * org-table.el (org-table-time-seconds-to-string):
14948 Use `org-format-seconds' instead of `format-seconds'.
14950 2011-07-28 David Maus <dmaus@ictsoc.de>
14952 * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
14955 2011-07-28 David Maus <dmaus@ictsoc.de>
14957 * org-latex.el (org-export-latex-preprocess): Use function
14958 argument instead of dynamically scoped symbol.
14960 2011-07-28 David Maus <dmaus@ictsoc.de>
14962 * org-freemind.el (org-freemind-convert-links-helper)
14963 (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
14964 (org-freemind-get-node-style): Use org-string-match-p for backward
14965 compatibility with Emacs 22.
14967 2011-07-28 David Maus <dmaus@ictsoc.de>
14969 * org-html.el (org-export-html-protect-char-alist): Add missing
14970 :group keyword in defcustom.
14972 2011-07-28 David Maus <dmaus@ictsoc.de>
14974 * ob-haskell.el (org-babel-haskell-export-to-lhs):
14975 Call `kill-buffer' with argument indiciating to kill current
14976 buffer. Emacs 22 compatibility.
14978 2011-07-28 David Maus <dmaus@ictsoc.de>
14980 * org-macs.el (org-without-partial-completion):
14981 Toggle partial-completion-mode only if it is turned on.
14983 2011-07-28 Bastien Guerry <bzg@gnu.org>
14985 * org.el (org-add-planning-info): Fix issues with timestamps not
14986 being inserted at the same position.
14988 2011-07-28 Bastien Guerry <bzg@gnu.org>
14990 * org-table.el (org-table-time-string-to-seconds)
14991 (org-table-time-seconds-to-string): New functions.
14992 (org-table-eval-formula): Implement the "T" (time) flag for
14993 computing durations.
14995 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
14997 * org.el (org-modules): Add org-lparse and org-odt as contrib
15000 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15002 * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15004 (org-additional-option-like-keywords): Include data as a synonym
15007 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15009 * ob.el (org-babel-sha1-hash): Improving code layout and removing
15010 export-variable headers in cache sha1.
15012 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15014 * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15015 rescan all IDs when trying to resolve a reference.
15017 2011-07-28 Julien Barnier <julien@nozav.org>
15019 * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15020 blocks lang attribute.
15022 2011-07-28 Eric S Fraga <e.fraga@ucl.ac.uk>
15024 * org-latex.el (org-export-latex-timestamp-inactive-markup):
15025 New option to allow different markup for inactive timestamps.
15027 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15029 * ob-org.el (org-babel-expand-body:org): Implemented this
15030 function, only action is to expand variables.
15031 (org-babel-execute:org): Uses the new body-expansion function.
15033 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15035 * org-list.el (org-list-full-item-re): Allow counter and check-box
15036 to be separated by white spaces.
15037 (org-list-struct-apply-struct): Reflect changes made to
15038 `org-list-full-item-re'.
15040 * org-html.el (org-html-export-list-line): Recognize spaces
15041 between counter and check-boxes as valid.
15043 * org-docbook.el (org-export-docbook-list-line): Ditto.
15045 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15047 * org-list.el (org-list-insert-item): Make sure point is moved to
15048 the specified POS before starting the function.
15050 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15052 * org.el (org-activate-footnote-links): Properly fontify inline
15054 (org-set-font-lock-defaults): Apply changes to previous function.
15056 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15058 * org-footnote.el (org-footnote-at-reference-p): First check if
15059 point is at the beginning of a footnote. Indeed `org-in-regexp'
15060 first checks backwards and might find an incorrect footnote if
15061 they are side-by-side.
15063 2011-07-28 Michael Brand <michael.ch.brand@gmail.com>
15065 * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15066 (org-agenda-block-separator): Add nil to docstring and customization.
15067 (org-prepare-agenda): Skip agenda block separator additionally if
15068 `org-agenda-block-separator' is nil.
15069 (org-agenda-overriding-header): Improve docstring.
15071 2011-07-28 Bastien Guerry <bzg@gnu.org>
15073 * org.el (org-set-tags): Remove useless
15074 `org-without-partial-completion'.
15076 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15078 * org-footnote.el (org-fill-paragraph): Declare function for the
15081 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15083 * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15085 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15087 * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15088 to appease compiler.
15090 2011-07-28 Michael Markert <markert.michael@googlemail.com>
15092 * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15093 all `org-called-interactively-p' function invocations.
15095 * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15096 to all `org-called-interactively-p' function invocations.
15097 (org-agenda-show-1): Adding optional argument KIND to all
15098 `org-called-interactively-p' function invocations.
15099 (org-agenda-set-tags): Adding optional argument KIND to all
15100 `org-called-interactively-p' function invocations.
15102 * org-ascii.el (org-export-as-latin1): Adding optional argument
15103 KIND to all `org-called-interactively-p' function invocations.
15104 (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15105 all `org-called-interactively-p' function invocations.
15106 (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15107 `org-called-interactively-p' function invocations.
15108 (org-export-region-as-ascii): Adding optional argument KIND to all
15109 `org-called-interactively-p' function invocations.
15111 * org-docbook.el (org-export-region-as-docbook): Adding optional
15112 argument KIND to all `org-called-interactively-p' function
15115 * org-html.el (org-export-region-as-html): Adding optional
15116 argument KIND to all `org-called-interactively-p' function
15119 * org-latex.el (org-export-region-as-latex): Adding optional
15120 argument KIND to all `org-called-interactively-p' function
15123 * org-table.el (org-table-blank-field): Adding optional argument
15124 KIND to all `org-called-interactively-p' function invocations.
15125 (org-table-current-column): Adding optional argument KIND to all
15126 `org-called-interactively-p' function invocations.
15127 (org-table-current-dline): Adding optional argument KIND to all
15128 `org-called-interactively-p' function invocations.
15129 (org-table-sort-lines): Adding optional argument KIND to all
15130 `org-called-interactively-p' function invocations.
15131 (org-table-sum): Adding optional argument KIND to all
15132 `org-called-interactively-p' function invocations.
15133 (org-table-rotate-recalc-marks): Adding optional argument KIND to
15134 all `org-called-interactively-p' function invocations.
15135 (org-table-eval-formula): Adding optional argument KIND to all
15136 `org-called-interactively-p' function invocations.
15137 (orgtbl-send-table): Adding optional argument KIND to all
15138 `org-called-interactively-p' function invocations.
15140 * org.el (org-mode): Adding optional argument KIND to all
15141 `org-called-interactively-p' function invocations.
15142 (org-copy-subtree): Adding optional argument KIND to all
15143 `org-called-interactively-p' function invocations.
15144 (org-paste-subtree): Adding optional argument KIND to all
15145 `org-called-interactively-p' function invocations.
15146 (org-store-link): Adding optional argument KIND to all
15147 `org-called-interactively-p' function invocations.
15148 (org-todo): Adding optional argument KIND to all
15149 `org-called-interactively-p' function invocations.
15150 (org-occur): Adding optional argument KIND to all
15151 `org-called-interactively-p' function invocations.
15153 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15155 * org-footnote.el (org-footnote-action): Offer to create
15156 definition when none is found.
15158 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15160 * org-footnote.el (org-footnote-re): Avoid matching inactive
15161 time-stamps or check-box cookies.
15162 (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15164 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15166 * org-exp.el (org-export-preprocess-string): If the last subtree
15167 is commented, footnotes inserted during normalizing at the end of
15168 the buffer may get deleted. This patch ensures deletion comes
15169 first, normalization second.
15171 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15173 * org-exp.el (org-export-footnotes-data): Change docstring.
15174 (org-export-footnotes-seen): Rename from
15175 org-export-footnotes-markers.
15177 * org-ascii.el (org-export-as-ascii): Apply change.
15179 * org-docbook.el (org-export-as-docbook): Apply change.
15181 * org-footnote.el (org-footnote-normalize): Apply change.
15183 * org-html.el (org-export-as-html): Apply change.
15185 * org-latex.el (org-export-as-latex): Apply change.
15187 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15189 * org-latex.el (org-export-latex-preprocess): Rely on
15190 `org-export-footnotes-markers' to retrieve definition of the
15191 current footnote during export.
15193 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15195 * org-footnote.el (org-footnote-normalize): Remember footnotes
15196 seen so far by the exporter when choosing the new marker.
15198 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15200 * org-footnote.el (org-footnote-normalize): Make use of
15201 `org-footnote-insert-pos-for-preprocessor'.
15203 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15205 * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15206 property to footnote markers when preparing for exportation.
15208 * org-html.el (org-export-as-html): Read new property to decide
15209 when to export a footnote.
15211 * org-docbook.el (org-export-as-docbook): Read new property to
15212 decide when to export a footnote.
15214 * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15215 column 0 cannot end a list containing it by adding
15216 `original-indentation' property to it.
15218 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15220 * org-exp.el (org-export-preprocess-string): Normalize footnotes
15221 before marking lists ending.
15223 * org-latex.el (org-export-latex-preprocess): Work with labels as
15224 strings and not as numbers.
15226 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15228 * org-docbook.el (org-export-docbook-footnote-separator):
15230 (org-export-as-docbook): Add a separator between footnotes.
15232 * org-html.el (org-export-html-footnote-separator): New variable.
15233 (org-export-as-html): Add a separator between footnotes.
15235 * org-latex.el (org-export-latex-footnote-separator):
15237 (org-export-latex-preprocess): Add a separator between footnotes.
15239 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15241 * org-exp.el (org-export-footnotes-markers)
15242 (org-export-footnotes-data): New variables.
15243 (org-export-preprocess-string): Use a more explicit argument.
15245 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15247 * org-footnote.el (org-footnote-goto-definition): Now, determining
15248 if point is at a footnote reference is entirely determined by
15249 `org-footnote-at-reference-p'. No need to check if pattern isn't
15250 at beginning of the line elsewhere.
15252 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15254 * org-footnote.el (org-footnote-next-reference-or-definition):
15257 * org.el (org-activate-footnote-links): Activate the whole
15258 footnote, but only fontify its label.
15260 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15262 * org-footnote.el (org-footnote-normalize): Make use of changes to
15263 `org-footnote-at-reference-p' and creation of various functions..
15265 (org-footnote-get-next-reference, org-footnote-delete-references)
15266 (org-footnote-delete-definitions): New functions.
15267 (org-footnote-goto-previous-reference, org-footnote-all-labels)
15268 (org-insert-footnote-reference-near-definition, org-footnote-delete):
15269 Rewrite to use org-footnote-get-next-reference.
15271 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15273 * org-footnote.el (org-footnote-re): Don't end an inline footnote
15274 at unrelated closing square brackets.
15275 (org-footnote-at-reference-p): Improve accuracy of the function to
15276 determine if point is at a reference and to extract definition of an
15278 (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15279 (org-footnote-auto-adjust-maybe): Make use of previous function.
15281 2011-07-28 Bastien Guerry <bzg@gnu.org>
15283 * org.el (org-deadline, org-schedule):
15284 keep warning cookie when rescheduling/redeadlining.
15285 (org-time-stamp): Fix problem with warning cookie.
15287 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15289 * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15290 clojure source into elisp source.
15292 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15294 * ob.el (org-babel-script-escape): Treats {} in the same manner as
15295 [] and allows for forcing string conversion.
15297 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15299 * org-exp.el (org-export-select-backend-specific-text):
15300 Strip protective commas from literal code blocks.
15302 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15304 * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15306 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15308 * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15310 (org-babel-ref-headline-body): Split out into its own function.
15311 (org-babel-ref-resolve): Using new functions, and alignment.
15313 * ob.el (org-babel-ref-goto-headline-id): Declare function.
15314 (org-babel-ref-headline-body): Declare function.
15315 (org-babel-expand-noweb-references): Now expands noweb references to
15316 headlines during expansion.
15318 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15320 * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15321 headlines by either global or custom id, in which case the
15322 contents of the headline are returned literally.
15324 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15326 * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15328 (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15331 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15333 * org-list.el (org-cycle-item-indentation): Cycling back to
15334 original position deleted any additional information in the item,
15335 like a counter or a tag.
15337 2011-07-28 Pieter Praet <pieter@praet.org>
15339 * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15340 (org-decrypt-entry): Before decrypting, check whether
15341 `auto-save-mode' is enabled for the current buffer, and act on it
15342 according to how `org-crypt-disable-auto-save' is set. Remove
15343 comment re "encrypt[ing] Org auto-saved buffers". Remove on-init
15344 check for `auto-save-default'.
15346 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15348 * ob.el (org-babel-merge-params): Ensure variable parameters are
15351 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15353 * ob.el (org-babel-insert-result): Fix results insertion for
15354 inline blocks which happen to start a line.
15356 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15358 * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
15359 if a call line is commented.
15361 2011-07-28 Vincent Belaïche <vincentb1@users.sourceforge.net>
15363 * org.el (org-read-property-name): Propose default property name.
15365 2011-07-28 Achim Gratz <stromeko@nexgo.de>
15367 * org.el (org-log-into-drawer): Correct typo.
15369 * org-clock.el (org-clock-into-drawer): New function to change the
15370 location of clock events based on properties CLOCK_INTO_DRAWER or,
15371 as fallback, LOG_INTO_DRAWER, like it is already possible for
15374 * org-clock.el (org-clock-jump-to-current-clock): Add statement to
15375 let clause to bind `org-clock-into-drawer' to result of function
15378 * org-clock.el (org-clock-find-position): Add statement to let
15379 clause to bind `org-clock-into-drawer' to result of function eval,
15380 change let to let* since the binding is used later in the same
15383 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15385 * ob-lob.el (require): Ensure 'cl is loaded during compilation so
15388 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15390 * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
15391 non-inline call lines.
15393 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15395 * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
15396 call_ blocks which aren't whitespace padded.
15398 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15400 * ob.el (org-babel-merge-params): Do not reverse variable order,
15401 and be sure to increment variable index as appropriate.
15403 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15405 * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
15406 successfully match optional trailing header arguments in square
15408 (org-babel-lob-get-info): Update to match the new regexp.
15410 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15412 * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
15413 then allow them to be so.
15415 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15417 * ob.el (org-babel-merge-params): If variables are not named they
15418 are assigned in order.
15420 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15422 * ob.el: Remove code comment about online documentation.
15424 * ob-exp.el: Remove code comment about online documentation.
15426 * ob-lob.el: Remove code comment about online documentation.
15428 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15430 * org-exp.el (org-export-format-source-code-or-example):
15431 Fix signature of org-<backend>-format-source-code-or-example function.
15433 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15435 * ob.el (org-babel-sha1-hash): Replace call to
15436 called-interactively-p with backwards-compatible interactive-p.
15438 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15440 * ob-exp.el (org-babel-exp-lob-one-liners):
15441 Appropriate replacement of inline call blocks with their results.
15443 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15445 * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
15446 trailing space ensures that the insertion of the results looks
15449 * ob.el (org-babel-insert-result): Insert inline lob line results
15452 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15454 * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
15455 appropriately given the style (block or inline) of the lob line.
15457 * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
15458 specific for block lob lines.
15459 (org-babel-inline-lob-one-liner-regexp): New regexp specific for
15461 (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
15462 (org-babel-lob-get-info): Return info from *either* the block or
15465 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15467 * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
15468 structure of the resulting info list.
15470 * ob-lob.el (org-babel-default-lob-header-args): Export the
15471 results of call lines by default.
15473 2011-07-28 Niels Giesen <niels.giesen@gmail.com> (tiny change)
15475 * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
15476 property based on the ID property of the org entry to the first
15477 character of the diary entry.
15479 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15482 (org-footnote-insert-pos-for-preprocessor): New variable.
15483 (org-footnote-normalize): Use it.
15485 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15487 * org-exp.el (org-export-format-source-code-or-example):
15488 Simplify. Also add `org-native-text' as a text property to the
15489 formatted text and throw error for unknown backends.
15491 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15493 * org-exp.el (org-export-format-source-code-or-example):
15494 Add support for: - custom formatters for existing backends - seamless
15495 plugging in of new backends.
15497 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15499 * org-exp.el (org-export-backends): New variable.
15500 (org-export-select-backend-specific-text): Use above
15501 variable. Also mark text between #+BACKEND and
15502 #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
15503 This text property is currently used only by the new line-oriented
15504 generic exporter (which is not yet part of the repo).
15506 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15508 * org-exp.el (org-export): Reserve keys 'o' and 'O' for
15509 OpenDocumentText export and bind them to `org-export-as-odt' and
15510 `org-export-as-odt-and-open'.
15512 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15514 * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
15517 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15519 * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
15520 lists before reading into emacs-lisp.
15522 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15524 * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
15526 * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
15528 * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
15530 * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
15532 * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
15534 * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
15536 * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
15538 * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
15540 * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
15542 * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
15544 * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
15546 * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
15548 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15550 * ob-awk.el: New file.
15552 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15554 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
15555 Respects ":results verbatim".
15557 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15559 * org-agenda.el (org-float): Aliases for `diary-float'.
15561 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15563 * ob-python.el (org-babel-python-evaluate-session):
15564 Send comint-send-input after every line when interacting with an
15565 interactive python process.
15567 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15569 * org-list.el (org-reset-checkbox-state-subtree): Make the command
15570 more robust, and correctly update check-boxes in the whole
15572 (org-update-checkbox-count): Fix bug accumulating count of checkboxes
15573 when walking a subtree.
15574 (org-update-checkbox-count-maybe): Add an optional argument passed to
15575 org-update-checkbox-count.
15577 2011-07-28 Teodor Zlatanov <tzz@lifelogs.com>
15579 * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
15581 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15583 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
15584 ":results scalar" header argument combination.
15586 2011-07-28 Dan Davison <dandavison7@gmail.com>
15588 * org-src.el: Append a space character to copied text so that the
15589 final text property change is picked up correctly.
15591 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15593 * ob-tangle.el (org-babel-tangle-file): Use the new argument list
15594 to org-babel-tangle.
15595 (org-babel-tangle): Now when called with a prefix argument, only the
15596 current code block is tangled.
15598 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15600 * org-list.el (org-list-parse-list): Replace transitional
15601 check-boxes with "[CBTRANS]" string during parsing.
15602 (org-list-to-generic): Use the new property `:cbtrans' to configure
15603 export string for transitional check-boxes.
15605 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15607 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
15608 Use stable internal `org-anniversary' instead of
15610 (org-class): New function.
15611 (org-diary-class): Use `org-class'.
15612 (org-anniversary, org-cyclic, org-date, org-block): New functions.
15614 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15616 * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
15617 of header argument names.
15619 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15621 * ob.el (org-babel-expand-noweb-references): Concatenating all
15622 bodies with the appropriate name or :noweb-ref header argument.
15624 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
15626 * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
15627 work also when #+begin line is indentex.
15629 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15631 * ob.el (org-babel-src-block-regexp): Babel: code block may have
15634 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15636 * org-macs.el (org-without-partial-completion): Avoid calling by
15637 name a function unknown to the compiler but explicitly checked by
15640 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15642 * org-mouse.el (org-agenda-earlier): Declaring previously unknown
15644 (org-agenda-later): Declaring previously unknown function.
15645 (org-agenda-mode-map): Declaring previously unknown variable.
15647 * org.el (org-read-date-analyze): Explicitly ignore the return
15648 value of a function.
15650 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15652 * org-agenda.el (org-agenda-mode): Globally replace
15653 buffer-substring-filters with filter-buffer-substring-functions.
15655 * org-indent.el (org-indent-mode): Globally replace
15656 buffer-substring-filters with filter-buffer-substring-functions.
15658 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15660 * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
15663 * org-attach.el: Replacing '(λ...) with #'(λ...).
15664 (org-attach-commit): Replacing '(λ...) with #'(λ...).
15666 * org-exp.el: Replacing '(λ...) with #'(λ...).
15667 (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
15669 * org-html.el: Replacing '(λ...) with #'(λ...).
15670 (org-export-as-html): Replacing '(λ...) with #'(λ...).
15672 * org-mouse.el: Replacing '(λ...) with #'(λ...).
15673 (org-mouse-popup-global-menu): Replacing '(λ...) with
15674 (org-mode-hook): Replacing '(λ...) with #'(λ...).
15675 (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
15677 * org-src.el: Replacing '(λ...) with #'(λ...).
15678 (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
15680 * org-table.el: Replacing '(λ...) with #'(λ...).
15681 (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
15683 * org.el: Replacing '(λ...) with #'(λ...).
15684 (org-confirm-shell-link-function): Replacing '(λ...) with
15685 (org-category): Replacing '(λ...) with #'(λ...).
15687 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15689 * org.el (mailcap-parse-mailcaps): Declaring functions used by
15691 (mailcap-extension-to-mime): Declaring functions used by
15693 (mailcap-mime-info): Declaring functions used by `org-open-file'.
15695 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15697 * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
15698 function `interactive-p'.
15699 (org-agenda-show-1): Replacing call to now-defunct function
15701 (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
15703 * org-ascii.el: Replacing call to now-defunct function
15705 (org-export-as-latin1): Replacing call to now-defunct function
15707 (org-export-as-latin1-to-buffer): Replacing call to now-defunct
15708 function `interactive-p'.
15709 (org-export-as-utf8): Replacing call to now-defunct function
15711 (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
15713 (org-export-region-as-ascii): Replacing call to now-defunct
15714 function `interactive-p'.Replacing call to now-defunct function
15717 * org-docbook.el: Replacing call to now-defunct function
15719 (org-export-region-as-docbook): Replacing call to now-defunct
15720 function `interactive-p'.Replacing call to now-defunct function
15723 * org-html.el: Replacing call to now-defunct function
15725 (org-export-region-as-html): Replacing call to now-defunct
15726 function `interactive-p'.Replacing call to now-defunct function
15729 * org-latex.el: Replacing call to now-defunct function
15731 (org-export-region-as-latex): Replacing call to now-defunct
15732 function `interactive-p'.Replacing call to now-defunct function
15735 * org-macs.el: Replacing call to now-defunct function
15737 (org-called-interactively-p): Replacing call to now-defunct
15738 function `interactive-p'.Replacing call to now-defunct function
15741 * org-table.el: Replacing call to now-defunct function
15743 (org-table-blank-field): Replacing call to now-defunct function
15745 (org-table-current-column): Replacing call to now-defunct function
15746 `interactive-p'.Replacing call to now-defunct function
15748 (org-table-current-dline): Replacing call to now-defunct function
15749 `interactive-p'.Replacing call to now-defunct function
15751 (org-table-sort-lines): Replacing call to now-defunct function
15753 (org-table-sum): Replacing call to now-defunct function
15755 (org-table-rotate-recalc-marks): Replacing call to now-defunct
15756 function `interactive-p'.
15757 (org-table-eval-formula): Replacing call to now-defunct function
15759 (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
15761 * org.el: Replacing call to now-defunct function `interactive-p'.
15762 (org-mode): Replacing call to now-defunct function
15764 (org-copy-subtree): Replacing call to now-defunct function
15766 (org-paste-subtree): Replacing call to now-defunct function
15768 (org-store-link): Replacing call to now-defunct function
15770 (org-todo): Replacing call to now-defunct function `interactive-p'.
15771 (org-occur): Replacing call to now-defunct function `interactive-p'.
15773 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15775 * ob-R.el (ess-local-process-name): This variable wasn't known to
15778 * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
15781 * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
15782 known to be defined.
15783 (org-babel-tangle-combine-named-blocks): Roll my own version of a
15784 forbidden common lisp function.
15786 * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
15787 called-interactively.
15789 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15791 * org-latex.el (org-export-latex-tables): Check for the
15792 "multiline" option and set the `floatp' option to true when
15793 multicolumn tables are requested.
15795 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15797 * org-html.el (org-export-as-html, org-html-level-start):
15798 Only convert section number underscores to dashes.
15800 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15802 * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
15803 `days-to-time, converting relative to 1 BC, while the code assumed
15804 it would return a time relative to 1970.
15806 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15808 * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
15809 inserting newlines between appended code blocks.
15811 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15813 * ob-exp.el: We may no longer need to export names along with code
15816 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15818 * org-exp-blocks.el (org-export-blocks-preprocess):
15819 Ensure balanced nested begin/end blocks in block bodies.
15821 2011-07-28 Dan Davison <dandavison7@gmail.com>
15823 * org-latex.el: Add -shell-escape to pdflatex commands.
15825 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15827 * ob-tangle.el (org-babel-tangle-named-block-combination):
15828 Block combination can now take a number of values.
15829 (org-babel-tangle-combine-named-blocks): More sophisticated block
15830 combination behavior.
15832 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15834 * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
15835 Switch to turn on the combination of code blocks of the same name.
15836 (org-babel-tangle-combine-named-blocks): Combine blocks of the same
15839 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15841 * ob-ruby.el (xmp): Declaring this function to appease the
15843 (org-babel-execute:ruby): "xmp" result option for outputting
15844 annotated source code.
15846 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> (tiny change)
15848 * org-list.el (org-list-to-latex): The enumerate environment in
15849 latex increments the counter before using it. Therefore, org-mode
15850 should set the enumeration counter to the desired value minus one.
15852 2011-07-28 Michael Brand <michael.ch.brand@gmail.com> (tiny change)
15854 * org.el (org-toggle-heading): More comments and fix number of
15855 stars when toggling from list items.
15857 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
15859 * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
15860 effort that is accepted by `org-duration-string-to-minutes´.
15862 2011-07-28 Julien Barnier <julien@nozav.org>
15864 * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
15865 wait until previous line execution is finished.
15867 * ob-comint.el (org-babel-comint-with-output): When looking for
15868 end-of-evaluation indicator, search forward for the indicator
15869 before searching forward for the prompt.
15871 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15873 * org-entities.el (org-entities): Fix HTML entity for degree.
15875 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15877 * org.el (org-auto-align-tags): Change docstring.
15878 (org-update-parent-todo-statistics): Keep tags aligned even when
15879 statistics cookies are shifting them.
15881 * org-list.el (org-update-checkbox-count): Keep tags aligned even
15882 when statistics cookies are shifting them.
15884 2011-07-28 Lawrence Mitchell <wence@gmx.li>
15886 * ob.el (org-babel-sha1-hash): Don't modify info argument by
15887 side-effect when sorting result-params list.
15889 2011-07-28 Lawrence Mitchell <wence@gmx.li>
15891 * ob.el (org-babel-result-regexp): Use non-shy group around
15892 `org-babel-data-names'.
15894 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15896 * org.el (org-insert-link): Set truncate-line in the *Org Link*
15897 buffer and make sure that it really is set there.
15899 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15901 * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
15902 changing how/if the current directory is represented to lisp code.
15903 (org-babel-execute:lisp): More general handling of the default
15906 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15908 * ob-lisp.el (org-babel-execute:lisp): Setting the value of
15909 *default-pathname-defaults* to either the value of the :dir header
15910 argument or the directory of the containing Org-mode file.
15912 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15914 * ob-lisp.el (org-babel-execute:lisp): No real functional change,
15917 2011-07-28 Sébastien Delafond <sdelafond@gmail.com> (tiny change)
15919 * org.el (org-mode-flyspell-verify): This is useful when using
15920 flyspell with a non-English dictionary, or if some of your
15921 keywords are in another language.
15923 2011-07-28 David Maus <dmaus@ictsoc.de>
15925 * org-exp.el (org-export): Use new compatibility function
15926 `org-activate-mark'.
15928 * org-compat.el (org-activate-mark): New function.
15929 Provide `activate-mark' if not present (e.g. Emacs 22).
15931 2011-07-28 David Maus <dmaus@ictsoc.de>
15933 * org-table.el (org-table-follow-field-mode): Declare variable to
15934 keep byte compiler happy.
15936 2011-07-28 David Maus <dmaus@ictsoc.de>
15938 * org-footnote.el (org-id-uuid): Declare function, silence byte
15941 2011-07-28 David Maus <dmaus@ictsoc.de>
15943 * org-bibtex.el (org-bibtex-headline): Don't use equalp at
15944 run-time, compare downcased strings.
15946 2011-07-28 David Maus <dmaus@ictsoc.de>
15948 * org-bibtex.el (org-id-locations): Declare variable to silence
15951 2011-07-28 David Maus <dmaus@ictsoc.de>
15953 * org-id.el (org-id-locations): Fix docstring, remove reference to
15954 non-existent option.
15956 2011-07-28 David Maus <dmaus@ictsoc.de>
15958 * org.el (org-self-insert-command): Use `delete-char' instead of
15959 `delete-backward-char'.
15961 * org-table.el (orgtbl-self-insert-command): Ditto.
15963 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15965 * org-latex.el (org-export-latex-special-chars): Save match data
15966 when checking for table.el table.
15968 2011-07-28 David Maus <dmaus@ictsoc.de>
15970 * org.el (org-re-property): Move before its first use.
15972 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15974 * org-latex.el (org-export-latex-preprocess):
15975 Add `original-indentation' property to footnotes so they cannot
15976 possibly end a list by being less indented than the item they
15979 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15981 * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
15983 (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
15986 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15988 * org-clock.el (org-clocktable-write-default): Implement adding
15989 property columns to the clock table.
15991 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15993 * org.el (org-toggle-item): Move parenthesis to correct location.
15995 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15997 * org.el (org-default-priority):
15998 (org-priority-start-cycle-with-default): Improve docstring.
15999 (org-priority): Throw error when priority is out of range.
16001 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16003 * org.el (org-self-insert-command): Catch the case of
16004 `buffer-undo-list' eq t.
16006 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16008 * org.el (org-toggle-heading): Region should be considered as made
16009 of full lines, without the last one if region-end is at bol.
16010 Removed unused variables. Refactored and commented code.
16012 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16014 * org.el (org-toggle-item): When region includes an headline less
16015 indented than first one, set it as the new reference.
16017 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16019 * org-list.el (org-list-to-subtree): If the list is before first
16020 heading and `org-odd-levels-only' is non-nil, the first item gets
16021 two stars instead of one.
16023 * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16024 `org-odd-levels-only' non-nil.
16026 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16028 * org.el (org-toggle-item): Converting an heading to an item would
16029 sometimes insert unnecessary spaces before it, and unwanted space
16030 with `org-indent-mode' on. Changing some text into an item
16031 wouldn't always preserve indentation.
16033 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16035 * org-capture.el (org-capture-current-plist): Improve docstring.
16036 (org-capture-put): Add docstring.
16037 (org-capture-get): Add docstring.
16038 (org-capture-member): Add LOCAL argument. Add docstring.
16039 (org-capture-set-target-location): Store the time received from a
16040 date prompt into the :prompt-time property.
16042 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16044 * org-exp.el (org-export-mark-list-properties): Even if context is
16045 invalid, mark list item with `list-context' property.
16047 * org-list.el (org-list-forbidden-blocks): Add exporters specific
16048 blocks to the list of forbidden blocks.
16050 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16052 * org-list.el (org-sort-list): Function tries to intern
16053 getkey-func before it is defined, so it's always nil.
16055 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16057 * org.el (org-babel-load-languages): Adding ob-awk to the list of
16058 executable languages.
16060 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16062 * org-table.el (org-table-get-field): Make sure the new field
16063 content is at least one space character.
16065 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16067 * org-crypt.el: Check for `daemonp' before using it.
16069 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16071 * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16072 :stdin header argument.
16073 (org-babel-execute:sh): Use the :stdin header argument.
16074 (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16076 (org-babel-sh-var-to-string): New function for converting elisp
16077 values to strings that make sense for parsing with sh.
16078 (org-babel-sh-evaluate): Adding "stdin" option to session and
16079 external evaluation options.
16081 2011-07-28 Roland Kaufmann <rlndkfmn+orgmode@gmail.com> (tiny change)
16083 * org-exp.el (org-remove-formatting-on-newlines-in-region):
16085 (org-export-format-source-code-or-example):
16086 Call `org-remove-formatting-on-newlines-in-region'.
16088 2011-07-28 David Maus <dmaus@ictsoc.de>
16090 * org.el (org-entry-put): Prevent adding of extra space to value
16091 if property already exists.
16093 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
16095 * org-html.el (org-export-as-html): Don't expand non-data lines of
16097 (org-html-expand): Remove the (buggy) test for non-data lines
16098 in table.el tables. The test is now done as part of
16099 org-export-as-html.
16100 (org-format-table-table-html-using-table-generate-source):
16101 Add test for spanning of cells in table.el tables using
16102 table.el's own library routine. Optionally suppress export of
16103 simple table.el tables.
16104 (org-format-table-html): Remove the (buggy) test for spanned
16105 table.el tables. The test is now done as part of
16106 org-format-table-table-html-using-table-generate-source.
16108 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16110 * org-latex.el (org-export-latex-special-chars): Do nothing in
16113 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16115 * org-capture.el (org-capture): Ignore errors when creating a
16118 2011-07-28 Nick Dokos <nick@dokosmarshall.org> (tiny change)
16120 * org-exp.el (org-export-define-heading-targets): Use dash instead
16121 of underscore to make labels valid.
16123 2011-07-28 Dan Davison <dandavison7@gmail.com>
16125 * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16126 is written to the results file before Emacs notices that the file
16129 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16131 * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16132 defined locally on my system, but not globally in Emacs.
16134 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16136 * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16137 generate code block output.
16138 (org-babel-exp-code): Re-create the code block body for exporting
16141 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16143 * org.el (org-read-date): Bury Calendar buffer after using it for
16146 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16148 * org-list.el (org-list-separating-blank-lines-number):
16149 Fix confusion between point and item beginning. Now, if no
16150 information is available, truly follow user preference when it
16151 inserts blank lines manually.
16152 (org-list-insert-item): Send correct argument to the preceding
16155 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16157 * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16158 newline inside of the code block body.
16160 2011-07-28 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
16162 * ob.el: Avoid spurious matches to literal.
16164 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16166 * org.el (org-indent-line-function): Don't include #+include
16169 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16171 * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16172 org-babel-check-src-block.
16174 * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16175 (org-babel-edit-distance): Returns the edit distance of two
16177 (org-babel-check-src-block): Check a code block for errors.
16179 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16181 * org-capture.el (org-capture-templates): Fix bug in customization
16184 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16187 (org-table-exit-follow-field-mode-when-leaving-table): New option.
16188 (org-table-check-inside-data-field): New optional argument
16189 `noerror'. When set, the function will only return nil instead of
16191 (org-table-edit-field): Interpret double prefix argument, and improve
16192 the properties of the editing window.
16193 (org-table-follow-field-mode): New minor mode.
16194 (org-table-follow-fields-with-editor): New function.
16196 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16198 * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16199 first, then check if timestamps cause exclusion.
16201 * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16202 if timestamps cause exclusion.
16204 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16206 * org-list.el (org-list-full-item-re): Allow description term to
16207 have a newline character after the colons.
16209 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16211 * org-list.el (org-sort-list): No longer ignore with-case
16212 argument: the function sorted case-sensitively, regardless of
16215 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16217 * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16219 * ob.el (org-babel-data-names): Configurable list of names of
16221 (org-babel-result-regexp): Using new results regexp.
16223 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16225 * org.el (org-special-properties): Add CLOCKSUM to the special
16228 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16230 * ob-exp.el (org-babel-exp-in-export-file):
16231 Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16233 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16235 * org-exp.el (org-export-add-options-to-plist): Use the right
16238 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16240 * org-latex.el (org-export-latex-preprocess): Protect index string.
16242 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16244 * org-latex.el (org-export-latex-preprocess): Pipe index entries
16245 through `org-export-latex-fontify-headline'.
16247 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16249 * org-exp.el (org-export-add-options-to-plist): Fix the option
16252 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16254 * org-latex.el (org-export-latex-preprocess): Replace index
16257 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
16259 * org.el (org-structure-template-alist): Add an easy template for
16260 index (i), and move include file to I from i.
16262 2011-07-28 Matt Lundin <mdl@imapmail.org>
16264 * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16265 line to `org-offer-links-in-entry'.
16267 2011-07-28 Matt Lundin <mdl@imapmail.org>
16269 * org-bibtex.el (org-bibtex-search): New function.
16270 (org-bibtex-export-to-kill-ring): New function. Export to kill
16272 (org-bibtex-create-in-current-entry): New function
16273 (org-bibtex-create): Make it easier to add bib fields to an
16275 (org-bibtex-export-arbitrary-fields)
16276 (org-bibtex-treat-headline-as-title): Fix typos
16277 (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16278 from type completion.
16280 2011-07-28 Matt Lundin <mdl@imapmail.org>
16282 * org-bibtex.el (org-bibtex-treat-headline-as-title):
16284 (org-bibtex-headline): Only use headline text (not TODO or other
16285 metadata) to generate title field and auto key.
16286 (org-bibtex-fleshout): Allow user to choose whether to treat
16289 2011-07-28 Tom Dye <tsd@tsdye.com>
16291 * org-bibtex.el: Added crossref field to other fields.
16293 2011-07-28 Tom Dye <tsd@tsdye.com>
16295 * org-bibtex.el: Add crossref option to incollection.
16297 2011-07-28 Matt Lundin <mdl@imapmail.org>
16299 * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16302 2011-07-28 Matt Lundin <mdl@imapmail.org>
16304 * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16305 warn if a duplicate ID is generated.
16307 2011-07-28 Matt Lundin <mdl@imapmail.org>
16309 * org-bibtex.el (org-bibtex-tags): New variable.
16310 (org-bibtex-tags-are-keywords): New variable.
16311 (org-bibtex-no-export-tags): New variable.
16312 (org-bibtex-headline): Export tags as comma-separated bibtex
16314 (org-bibtex-read): Import bibtex keywords field as tags.
16316 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16318 * org-publish.el (org-publish-find-date): Optimization.
16320 2011-07-28 Tassilo Horn <tassilo@member.fsf.org>
16322 * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16323 when following link.
16325 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16327 * org-publish.el (org-publish-project-alist): Document new
16328 :sitemap-sans-extension property.
16329 (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16332 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16334 * org.el (org-remove-uninherited-tags): Rename from
16335 `org-remove-iniherited-tags'.
16336 (org-scan-tags): Fix typo in function call.
16337 (org-get-tags-at): Fix typo in function call.
16339 2011-07-28 Matt Lundin <mdl@imapmail.org>
16341 * org.el (org-get-tags-at): Don't include filetags if local is t.
16343 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16345 * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16346 dispatch functions, wrap body in `(do )'.
16348 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16350 * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
16351 resulted in the creation of multiple overlays in src blocks.
16353 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16355 * ob-clojure.el (org-babel-execute:clojure): If results are not
16356 readable by lisp, then return them as a string.
16358 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16360 * org-bibtex.el (org-bibtex): Now prompts for a file name.
16362 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16364 * org-bibtex.el (org-bibtex-create): Adding prefix argument which
16365 will result in prompting for optional fields.
16367 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16369 * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
16370 which was causing compile problems.
16371 (org-bibtex-fleshout): Rename flet function `get' which was causing
16373 (org-bibtex-write): Rename flet function `get' which was causing
16376 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16378 * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
16379 never starts with a number.
16381 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16383 * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
16384 (org-bibtex-key-property): New option.
16385 (org-bibtex-put): Make use of new `org-bibtex-key-property'
16387 (org-bibtex-headline): Make use of new
16388 `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
16390 (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
16392 (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
16394 (org-bibtex-write): Make use of new `org-bibtex-key-property'
16397 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16399 * org-bibtex.el: Updating Copyright dates, author information,
16400 commentary and history notes.
16401 (org-bibtex-types): List of bibtex types with descriptions and
16402 required and optional fields.
16403 (org-bibtex-fields): List of bibtex fields with descriptions.
16404 (*org-bibtex-entries*): Special variable to hold parsed bibtex
16406 (org-bibtex-autogen-keys): Custom variable controlling whether
16407 bibtex keys are automatically generated
16408 (org-bibtex-prefix): Custom variable allowing use of optional prefix
16409 for bibtex properties in Org-mode headlines.
16410 (org-bibtex-get): Helper function for accessing bibtex elements of a
16412 (org-bibtex-put): Helper function for inserting bibtex element into
16414 (org-bibtex-headline): Return a bibtex entry of the given headline
16416 (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
16418 (org-bibtex-autokey): Generate a bibtex key for the current
16420 (org-bibtex-fleshout): Fill in missing bibtex properties of the
16422 (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
16423 (org-bibtex-check): Check that all bibtex properties are present in
16424 the current headline.
16425 (org-bibtex-check-all): Check all headlines in the current buffer.
16426 (org-bibtex-create): Create a new bibtex headline at the current
16428 (org-bibtex-read): Read the current bibtex entry from a bibtex file.
16429 (org-bibtex-write): Write the most recently read bibtex entry into
16432 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16434 * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
16436 (org-agenda-show-clocking-issues): Handle faces.
16438 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16440 * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
16441 content by default with "-Dfile.encoding=UTF-8".
16443 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16445 * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
16448 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16450 * org-exp.el (org-export-preprocess-string): Mark list end before
16451 expanding macros. Thus, a macro inside a list and containing
16452 blank lines cannot break the list structure.
16453 (org-export-preprocess-apply-macros): Multi-lines macros get
16454 indented with the same indentation as the first line. Thus, we
16455 are sure that every line belongs to the same list as the first
16456 line, if such list exists. Also add comments in code.
16458 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16460 * org-agenda.el (org-agenda-clock-consistency-checks): New option.
16461 (org-agenda-list): Handle display change to clock check.
16462 (org-agenda-get-progress): Show only clock entries if we are doing
16463 the consistency check.
16464 (org-agenda-show-clocking-issues): New function.
16465 (org-agenda-check-clock-gap): New function.
16466 (org-agenda-view-mode-dispatch): Offer consistency check.
16467 (org-agenda-log-mode): Handle switch to clock only display.
16468 (org-agenda-set-mode-name): Show lighter for Clockcheck.
16470 * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
16471 and return it unchanged.
16473 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16475 * org-list.el (org-list-struct): When walking down the list, the
16476 function would not pay attention to drawers or blocks indentation.
16477 Thus, such constructs couldn't consistently end an item or a list.
16478 This patch ensures line indentation is stored (if applicable)
16479 before skipping them. Also fixed doc-string and comments.
16481 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16483 * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
16486 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16488 * org-exp.el (org-export): Define a bound for finding enclosing
16489 tree with class/title definition.
16491 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16493 * org-exp.el (org-export): Go to next heading before searching
16494 backward, so make this also work if we are on the headline of the
16495 entry with the property.
16497 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16499 * org.el (org-promote):
16500 (org-demote): Soften the previous change, by only removing the
16501 flyspell function from after-change functions, because that was
16502 the one causing the slowdown - at least much of it.
16504 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16506 * org.el (org-promote, org-demote): Turn off
16507 after-change-functions to speed up the reindentation of text.
16509 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16511 * ob-ocaml.el (org-babel-ocaml-read-list):
16512 Use `org-babel-script-escape'.
16513 (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
16515 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16517 * org-html.el (org-html-handle-links): Add an alternate for inline
16520 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16522 * org-agenda.el (org-agenda-bulk-action): Do not use the entries
16523 variable before it is defined.
16525 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16527 * org-src.el (org-src-lang-modes): Add a language alias of "C"
16530 2011-07-28 Shaun Johnson <shaun@slugfest.demon.co.uk> (tiny change)
16532 * ob-tangle.el (org-babel-tangle): Make it work in an indirect
16535 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16537 * org-html.el (org-html-make-link): Correct a bug in coderef link.
16539 2011-07-28 Bernt Hansen <bernt@norang.ca>
16541 * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
16544 2011-07-28 Bernt Hansen <bernt@norang.ca>
16546 * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
16547 when headlines are missing.
16549 2011-07-28 Bastien Guerry <bzg@gnu.org>
16551 * org-mobile.el (org-mobile-push): Move call to hook, make it the
16552 first thing of the push operation.
16554 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16556 * ob.el (org-babel-params-from-buffer): Now looking for header
16557 arguments in #+Properties: as well as #+Babel:. Also, we're no
16558 longer caching these results into a file local variable.
16560 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16562 * ob-python.el (org-babel-python-evaluate-external-process):
16563 Allow parsing as a table in the case of ":results output table".
16564 (org-babel-python-evaluate-session): Allow parsing as a table in
16565 the case of ":results output table".
16567 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16569 * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
16570 all possible agenda views. Use `org-agenda-schedule' instead of
16571 `org-agenda-date-later'.
16573 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16575 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
16578 2011-07-28 Julien Danjou <julien@danjou.info>
16580 * org.el (org-entry-get, org-entry-delete, org-entry-put)
16581 (org-property-values, org-delete-property-globally):
16582 Use `org-re-property'.
16583 (org-re-property): New function allowing to build a regexp to
16586 2011-07-28 Julien Danjou <julien@danjou.info>
16588 * org.el (org-property-values): Enhance docstring.
16590 2011-07-28 Ethan Ligon <ligon@are.berkeley.edu> (tiny change)
16592 * org-html.el (org-html-export-list-line): Fix regexp for
16593 detecting description lists to allow "::" marker to be last
16594 visible element at end of line.
16595 * org-docbook.el (org-docbook-export-list-line): Fix regexp for
16596 detecting description lists to allow "::" marker to be last
16597 visible element at end of line.
16599 2011-07-28 Julien Danjou <julien@danjou.info>
16601 * org-table.el (org-table-cleanup-narrow-column-properties):
16602 Use point-min rather than 1 when moving in the buffer.
16604 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16606 * org-list.el (org-list-in-valid-context-p): Rename from
16607 `org-list-in-valid-block-p'.
16608 (org-at-item-p, org-list-search-generic): Use renamed function.
16610 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16612 * org.el (org-set-font-lock-defaults): Be more strict when
16613 recognizing description items, and do not fontify wrong cases
16614 like: "- term ::description" or "1. term :: description".
16616 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16618 * org-latex.el: Pay attention to end of footnote. Before closing
16619 the command, ensure that list is properly closed or that last link
16620 is separated from the curly brace.
16622 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16624 * org.el (org-indent-line-function): Footnote definition must stay
16625 at column 0 to be recognized as such. Body below can have normal
16626 indentation, so it should ignore its definition when computing
16629 2011-07-28 Bastien Guerry <bzg@gnu.org>
16631 * org-protocol.el (org-protocol-remember, org-protocol-capture):
16632 More appropriate message.
16634 2011-07-28 Bastien Guerry <bzg@gnu.org>
16636 * org-capture.el (org-capture-clock-keep): New local variable.
16637 (org-capture, org-capture-finalize): Use it and fix a bug when
16638 :clock-keep is set to `t'.
16640 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16642 * org-exp.el (org-export-preprocess-string): Handle include files
16643 before processing macros.
16645 2011-07-28 Bernt Hansen <bernt@norang.ca>
16647 * org-agenda.el: Remove obsolete code for adding todo list in
16648 front of the agenda.
16650 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16652 * org-latex.el (org-export-latex-convert-table.el-table):
16653 Fix format-string for insertion of captions.
16655 2011-07-28 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
16657 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
16660 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16662 * org.el (org-read-date-analyze): Help matching dotted European
16663 dates, like 31. 12. 2007
16665 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16667 * ob-lisp.el (org-babel-execute:lisp): Fix typo.
16669 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16671 * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
16672 before reading by elisp.
16673 (org-bable-lisp-vector-to-list): Stub of a vector->list function,
16674 should be replaced with a cl-vector->el-vector function.
16676 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16678 * ob-lisp.el (org-babel-execute:lisp): Now using
16679 `org-babel-reassemble-table' to apply the appropriate header
16680 arguments to results.
16682 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16684 * org.el (org-end-of-meta-data-and-drawers): New function.
16686 * org-capture.el (org-capture-place-plain-text): Implement adding
16687 plain text templates to Org nodes.
16689 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16691 * org-beamer.el (org-beamer-environments-extra): Fix docstring.
16693 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16695 * org-exp.el (org-export-handle-comments): Add the org-protected
16696 property to the replacement string.
16698 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16700 * org-html.el (org-export-as-html, org-html-level-start):
16701 Fix logic for section number printing when NUM is an integer.
16703 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16705 * org-latex.el (org-export-latex-special-chars): Fix regexp for
16706 `single' special characters and ellipsis.
16708 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16710 * org.el (org-point-at-end-of-empty-headline):
16711 Bind `case-fold-search' to nil.
16713 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16715 * org-capture.el (org-capture-fill-template): Resolve new %<...>
16717 (org-capture-templates): Document new %<...> template escape.
16719 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16721 * ob.el (org-babel-process-params): Make this function idempotent,
16722 as it will sometimes be called multiple times.
16724 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16726 * org.el (org-ts-regexp-both): Add "]" to class of characters that
16727 should not be matched.
16728 (org-ts-regexp0, org-ts-regexp1): Do not start a class with
16729 "^]-+", because that tries to (not) match characters between "]"
16730 and "+". Instead, move the "-" to the end of the class where it
16733 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16735 * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
16736 process with the edit buffer when :session is specified.
16738 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16740 * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
16741 extraction code into line with a newer version of the
16742 `org-store-link' function.
16744 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16746 * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
16747 wrapping the expression in either a let or progn, and possibly a
16748 pretty-print function invocation.
16749 (org-babel-execute:lisp): Greatly simplified method of executing
16752 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16754 * org-list.el: Move `org-update-checkbox-count-maybe' call outside
16755 of ̀save-excursion' to get back to original position.
16757 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16759 * org.el (org-numbered-action-format): New option.
16760 (org-new-numbered-action): New command.
16761 (org-collect-todos-in-subtree): New command.
16763 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16765 * org-exp.el (org-export-with-tasks): New option.
16766 (org-export-plist-vars): Add :tasks property.
16768 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16770 * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
16771 property to the export preprocessor.
16773 * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
16774 property to the export preprocessor.
16776 * org-html.el (org-export-as-html): Pass the :done-tasks property
16777 to the export preprocessor.
16779 * org-latex.el (org-export-as-latex): Pass the :done-tasks
16780 property to the export preprocessor.
16782 * org-exp.el (org-export-with-done-tasks): New option.
16783 (org-export-plist-vars): Add entry for :done-tasks.
16784 (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
16785 (org-export-remove-done-tasks): New function.
16787 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16789 * org-latex.el (org-export-latex-keywords-maybe): Protect # in
16792 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16794 * org.el (org-find-olp): Use the level of the correct match to
16797 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16799 * org-list.el (org-toggle-checkbox): Build value of
16800 org-keyword-time-regexp instead of using it directly, as it's
16801 buffer-local, and function might be called outside Org.
16803 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16805 * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
16806 blocks or drawers necessarily start somewhere. It it isn't the
16807 case, treat them as normal text.
16809 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16811 * ob-exp.el (org-babel-exp-results): Use code block name when
16812 finding cached results.
16814 2011-07-28 Julien Danjou <julien@danjou.info>
16816 * org-latex.el (org-export-latex-date-format): Change default date
16817 format to \today. This has the same result but respects the
16818 language set in the document by default.
16820 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16822 * org-list.el (org-list-checkbox): When called from an headline,
16823 function would normally skip drawers, but not if a SCHEDULED or
16824 DEADLINE keyword is standing before the drawer. Also avoid
16825 problems if function is called in buffers not is Org mode.
16827 2011-07-28 Bastien Guerry <bzg@gnu.org>
16829 * org-clock.el (org-clock-report): Change the scope of the
16830 inserted clock report depending on whether the point is within a
16831 subtree (:scope subtree) or not (:scope file).
16833 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
16835 * org-html.el (org-export-as-html): Fix export of footnotes
16836 containing lists, tables, quotes, etc.
16838 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16840 * org-latex.el (org-export-latex-preprocess): Correctly match
16841 starred command names.
16843 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16845 * org-html.el (org-export-as-html): Get local value of
16846 org-export-with-section-numbers from the buffer's plist.
16847 Deal specially with the case the resulting value is an integer.
16848 (org-html-level-start): New optional argument of the option plist used
16849 instead of `org-export-with-section-numbers'. Also deal specially
16850 with the case that the value is an integer.
16852 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16854 * org-latex.el (org-export-latex-subcontent): Deal specially with
16855 the case that NUM is an integer.
16857 2011-07-28 Bastien Guerry <bzg@gnu.org>
16859 * org-protocol.el (org-protocol-do-capture): Allow template keys
16861 (org-protocol-default-template-key): Update the docstring to
16862 reflect the change in `org-protocol-do-capture'.
16864 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16866 * org-taskjuggler.el: Fix a typo in the commentary.
16868 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16870 * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
16871 "purge allocations" statement if we are not targeting tj3.
16873 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16875 * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
16876 Replace recursive implementation with an iterative one.
16878 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16880 * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
16881 data into shell variables.
16883 2011-07-28 David Maus <dmaus@ictsoc.de>
16885 * org-html.el (org-html-handle-time-stamps): Protected linebreak
16886 element after timestamp markup.
16888 2011-07-28 David Maus <dmaus@ictsoc.de>
16890 * org-html.el (org-html-handle-links): Don't protect img tag in
16893 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16895 * org-table.el (org-table-formula-handle-first/last-rc):
16898 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16900 * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
16901 whatever the major mode is.
16903 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16905 * org-inlinetask.el (org-inlinetask-export-templates): Fix default
16907 (org-inlinetask-export-handler): Ensure contents of inline task,
16908 if any, starts and ends with a newline character. Refactor and
16911 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16913 * org-capture.el (org-datetree-find-date-create): Lower-case for
16914 variable names in `define-function' form.
16916 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16918 * org-table.el (org-table-convert-region): Throw error when
16919 SEPARATOR is smaller than 1.
16921 2011-07-28 Julien Danjou <julien@danjou.info>
16923 * org-colview.el (org-columns-display-here): Fix heading retrieval
16926 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16928 * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
16929 be on the same line as a list end marker.
16931 2011-07-28 Julien Danjou <julien@danjou.info>
16933 * org.el (org-icompleting-read): Do not use useless lambda.
16935 2011-07-28 Julien Danjou <julien@danjou.info>
16937 * org-agenda.el (org-format-agenda-item): Fix length computing.
16939 2011-07-28 Julien Danjou <julien@danjou.info>
16941 * org-agenda.el (org-format-agenda-item): Fix comment and use
16942 `add-text-properties'.
16944 2011-07-28 Julien Danjou <julien@danjou.info>
16946 * org-agenda.el (org-agenda-highlight-todo): Remove useless
16949 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16951 * org-list.el (org-list-to-generic): Set a default term for
16952 ill-formed description lists. Do not insert newline characters
16954 (org-list-to-texinfo, org-list-to-html): Apply changes to
16955 `org-list-parse-liste'.
16957 2011-07-28 Bastien Guerry <bzg@gnu.org>
16959 * org-clock.el (org-clock-clocktable-language-setup): Add a
16961 (org-clocktable-write-default): Use the new localized string
16962 in `org-clock-clocktable-language-setup'.
16964 2011-07-28 Bastien Guerry <bzg@gnu.org>
16966 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
16967 (org-taskjuggler-assign-resource-ids): Replace recursive
16968 implementation with an iterative one.
16970 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
16972 * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
16975 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
16977 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
16978 Compute the leafiness of a node.
16979 (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
16980 node as a milestone if it is a leaf and has no effort.
16982 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
16984 * org-taskjuggler.el (org-export-taskjuggler-target-version):
16985 (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
16986 to handle export to both tj2 and tj3.
16987 (org-taskjuggler-open-task): Use a different way to purge
16988 allocations for tj2 and tj3.
16990 2011-07-28 Matt Lundin <mdl@imapmail.org>
16992 * org-footnote.el (org-footnote-auto-label): New random option.
16994 * org-footnote.el (org-footnote-new): Create random footnote
16995 labels with unique ids.
16997 2011-07-28 Matt Lundin <mdl@imapmail.org>
16999 * org-footnote.el (org-footnote-create-definition): Allow for
17000 footnote sections above the current footnote insertion point.
17002 2011-07-28 Matt Lundin <mdl@imapmail.org>
17004 * org-footnote.el (org-footnote-create-definition): Don't search
17005 for last footnote when in org-mode file.
17007 2011-07-28 Bastien Guerry <bzg@gnu.org>
17009 * org-html.el (org-export-as-html): Handle links with
17010 `org-html-handle-links' after we handle special characters
17012 (org-html-make-link, org-export-html-format-image):
17013 Don't protect html with @ anymore, as links are now handled after
17014 special characters conversions.
17016 2011-07-28 Julien Danjou <julien@danjou.info>
17018 * org-agenda.el (org-agenda-get-timestamps):
17019 (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17020 (org-format-agenda-item): Remove no-prefix argument.
17021 (org-agenda-change-all-lines): Call org-format-agenda-item without the
17022 no-prefix argument.
17024 2011-07-28 Julien Danjou <julien@danjou.info>
17026 * org-agenda.el (org-agenda-highlight-todo): Stop using
17028 (org-cmp-alpha): Stop using prefix-length.
17029 (org-agenda-open-link): Stop using prefix-length.
17030 (org-agenda-change-all-lines): Stop using prefix-length.
17032 * org-colview.el (org-columns-display-here): Stop using
17033 prefix-length. Always return claned items.
17035 * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17038 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17040 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17041 `org-store-link' interactively as it can confuse the setting of
17042 `org-link-to-org-use-id' and cause undue edits to the org-mode
17043 buffer during tangling.
17045 2011-07-28 David Maus <dmaus@ictsoc.de>
17047 * org-html.el (org-export-html-format-image): Protect <p> element
17050 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17052 * org.el (org-read-date-force-compatible-dates): New option.
17053 (org-read-date, org-read-date-analyze): Check representable date range.
17055 2011-07-28 Bastien Guerry <bzg@gnu.org>
17057 * org-html.el (org-export-as-html): Fix export of email.
17059 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17061 * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17062 on tangling, no longer use the now-removed variable
17063 `org-babel-tangle-pad-newline'.
17065 * ob.el (org-babel-header-arg-names): Add padline to the list of
17066 header argument names.
17067 (org-babel-default-header-args): Set the default value of padline to
17069 (org-babel-merge-params): Cleaned up the merge logic, added padline.
17071 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17073 * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17074 code block header argument names.
17076 2011-07-28 Bastien Guerry <bzg@gnu.org>
17078 * org-crypt.el: Remove useless TODO in comments.
17080 2011-07-28 Bastien Guerry <bzg@gnu.org>
17082 * org-html.el (org-export-as-html): The default postamble now only
17083 export a date paragraph if `org-export-time-stamp-file' is
17086 2011-07-28 Bastien Guerry <bzg@gnu.org>
17088 * org-exp.el (org-export-xml): Remove the defgroup of
17091 2011-07-28 Bastien Guerry <bzg@gnu.org>
17093 * org-html.el (org-export-html-insert-plist-item): Remove.
17094 (org-export-html-preamble): Default to `t'. Accept functions.
17095 (org-export-html-postamble): Default to `auto'.
17096 Accept functions and distinguish between 'auto (no formatting string)
17097 and `t' (default formatting string).
17098 (org-export-as-html): Handle org-export-html-preamble and
17099 org-export-html-postamble new defaults/allowed values.
17100 Define email and creator-info before using them.
17102 2011-07-28 Bastien Guerry <bzg@gnu.org>
17104 * org-html.el (org-export-html-protect-char-alist): Fix typo in
17105 custom type definition.
17107 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17109 * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17112 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17114 * org-list.el (org-list-parse-list): Fix regexp.
17116 2011-07-28 David Maus <dmaus@ictsoc.de>
17118 * org-html.el (org-export-html-format-image): Protect image
17121 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17123 * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17124 contents of a code block body on export.
17125 (org-babel-tangle-collect-blocks): Apply
17126 `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17128 2011-07-28 David Maus <dmaus@ictsoc.de>
17130 * org-html.el (org-html-make-link, org-html-handle-links):
17131 Protect generated XHTML elements.
17132 (org-export-as-html): Expand character entities after creating markup
17133 for links and timestamps.
17135 2011-07-28 Bastien Guerry <bzg@gnu.org>
17137 * org-html.el (org-export-as-html): Bugfix: insert email
17140 2011-07-28 Bastien Guerry <bzg@gnu.org>
17142 * org-html.el: Bugfix: prevent infinite matching of the `&'
17145 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17147 * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17148 has been introduced with emacs 23.1.
17150 2011-07-28 Bastien Guerry <bzg@gnu.org>
17152 * org-attach.el: Allow to store a link to the attach-dir location.
17154 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
17156 * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17159 2011-07-28 Bernt Hansen <bernt@norang.ca>
17161 * org-clock.el (org-clock-in): Allow clocking in new tasks
17162 inserted before the current clocking task.
17164 2011-07-28 Bernt Hansen <bernt@norang.ca>
17166 * org-clock.el (org-clock-in): Set default clocking task when
17167 already clocking the task.
17169 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17171 * org.el (org-adaptive-fill-function): When a region is specified
17172 first line of paragraph isn't skipped, so fill-paragraph have to
17173 be computed even if point is at an item.
17175 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17177 * org-list.el (org-list-in-valid-block-p): New function.
17178 (org-at-item-p, org-list-search-generic): Use new function.
17180 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17182 * org.el (org-indent-line-function): Text in both a list and a
17183 valid block is indented with regards to current item, not to block
17186 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17188 * org-html.el (org-format-org-table-html): Fix anchors in HTML
17189 export (thanks to <aankhen@gmail.com>)
17190 (org-html-protect): Fix a bug that prevents some target to be
17191 rendered correctly.
17193 2011-07-28 Bastien Guerry <bzg@gnu.org>
17195 * org.el (org-default-properties): Add EXPORT_TEXT.
17197 2011-07-28 Matt Lundin <mdl@imapmail.org>
17199 * org-footnote.el (org-footnote-create-definition)
17200 (org-insert-footnote-reference-near-definition): Fix sorting
17203 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
17205 * org-html.el (org-export-as-html): Bugfix: don't insert closing
17206 HTML tags when exporting body only.
17208 2011-07-28 Jason Dunsmore <emacs-orgmode@deathroller.dunsmor.com> (tiny change)
17210 * org.el (org-back-over-empty-lines): Bugfix.
17211 Honor `org-blank-before-new-entry' correctly in various contexts.
17213 2011-07-28 Bastien Guerry <bzg@gnu.org>
17215 * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17216 and `save-restriction'.
17218 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17220 * org-timer.el (org-timer-item): `save-excursion' prevents
17221 `org-list-struct' to get the list structure when point isn't on
17222 the first line of the item.
17224 2011-07-28 Bastien Guerry <bzg@gnu.org>
17226 * org-capture.el (org-capture-templates): New option
17228 (org-capture): Use the new option.
17230 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17232 * org-list.el (org-update-checkbox-count): Ensure cookies on an
17233 heading are correctly updated when checkboxes are hidden.
17234 It allows, for example, to use C-c C-x C-b on a collapsed tree and
17235 still get the update.
17237 2011-07-28 David Maus <dmaus@ictsoc.de>
17239 * org-exp.el (org-export-visible): Accept keys for
17240 `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17242 2011-07-28 Bastien Guerry <bzg@gnu.org>
17244 * org.el (org-duration-string-to-minutes): Don't use
17247 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17249 * org.el (org-effort-durations): New variable.
17251 * org.el (org-duration-string-to-minutes): New function.
17253 * org-agenda.el (org-agenda-filter-effort-form)
17254 (org-format-agenda-item): Use it.
17256 * org-clock.el (org-clock-notify-once-if-expired)
17257 (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17259 2011-07-28 Bastien Guerry <bzg@gnu.org>
17261 * org-agenda.el (org-agenda-run-series): Rename from
17262 `org-run-agenda-series'.
17264 2011-07-28 Bastien Guerry <bzg@gnu.org>
17266 * org-capture.el: Don't allow currentfile anymore.
17268 2011-07-28 Bastien Guerry <bzg@gnu.org>
17270 * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17271 `org-agenda-current-span' when calling `org-agenda-list'.
17273 2011-07-28 Bastien Guerry <bzg@gnu.org>
17275 * org-capture.el (org-capture-put-target-region-and-position):
17276 New function to store information about the target buffer.
17277 (org-capture-set-target-location): Use it.
17278 (org-capture-finalize): Restore the target buffer in its
17279 possibly narrowed state. Also restore the cursor position.
17281 2011-07-28 Bastien Guerry <bzg@gnu.org>
17283 * org-crypt.el (auto-save-default): Make sure entries are
17284 encrypted before auto-saving.
17286 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17288 * org-inlinetask.el (org-inlinetask-promote)
17289 (org-inlinetask-demote): New functions.
17291 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17293 * org.el (org-demote-subtree, org-promote-subtree):
17294 Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17295 operating on inline tasks.
17297 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17299 * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17300 will move point to a real heading and not an inline task by
17301 wraping function into a `org-with-limited-levels' macro.
17303 2011-07-28 Bastien Guerry <bzg@gnu.org>
17305 * org-capture.el (org-capture-finalize): New argument clock-out,
17306 to tell whether finalizing the capture process should clock out
17308 (org-capture): Use the new argument.
17310 2011-07-28 Bastien Guerry <bzg@gnu.org>
17312 * org.el (org-refile-get-targets): Rename from
17313 `org-get-refile-targets'.
17315 2011-07-28 Bastien Guerry <bzg@gnu.org>
17317 * org-exp.el (org-export-table-remove-empty-lines): New custom
17319 (org-export-remove-special-table-lines): Use it.
17321 2011-07-28 Bastien Guerry <bzg@gnu.org>
17323 * org-table.el (org-table-fix-formulas-confirm): New custom
17325 (org-table-insert-column, org-table-delete-column)
17326 (org-table-move-column, org-table-move-row)
17327 (org-table-insert-row, org-table-kill-row): Use it.
17329 2011-07-28 Tassilo Horn <tassilo@member.fsf.org>
17331 * org.el (org-refile-get-location): Set and show default value.
17332 (org-goto, org-refile): Adapt calls.
17334 2011-07-28 Bastien Guerry <bzg@gnu.org>
17336 * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17338 (org-mobile-files-alist): Use it.
17340 2011-07-28 Bastien Guerry <bzg@gnu.org>
17342 * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17343 against headings outside of a narrowed buffer.
17345 2011-07-28 Bastien Guerry <bzg@gnu.org>
17347 * org.el (org-confirm-shell-link-not-regexp)
17348 (org-confirm-elisp-link-not-regexp): New custom variables.
17349 (org-open-at-point): Use the new custom variables.
17351 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17353 * org-latex.el: Place \title \author \date before
17356 2011-07-28 Bastien Guerry <bzg@gnu.org>
17358 * org-html.el (org-export-html-preamble)
17359 (org-export-html-postamble): Now default to `nil'.
17360 (org-export-as-html): When :html-pre/postamble is nil, fall
17361 back on the default pre/postamble, which depends on the
17362 :author-info, :email-info, :creator-info options.
17364 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17366 * ob-exp.el (org-babel-exp-results): Don't use cached results if
17369 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17371 * org-table.el (org-table-eval-formula): Treat relative column
17374 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17376 * org-table.el (org-table-use-standard-references): Change default
17379 2011-07-28 Bastien Guerry <bzg@gnu.org>
17381 * org.el (org-move-subtree-down): Leave the cursor at the same
17384 2011-07-28 Bastien Guerry <bzg@gnu.org>
17386 * org-attach.el (org-attach-store-link-p): New variable.
17387 (org-attach-store-link): New function.
17388 (org-attach-attach): When `org-attach-store-link-p' is
17389 non-nil, store a link in `org-stored-links' to a newly
17392 2011-07-28 Bastien Guerry <bzg@gnu.org>
17394 * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
17395 case-fold-search to avoid mixing TODO keywords with real headline
17398 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17400 * org-table.el (org-table-fedit-finish): Read more general LHS of
17402 (org-table-formula-handle-@L): New function to hanle @L references.
17403 (org-table-current-ncol): New variable.
17404 (org-table-line-to-dline): New function.
17405 (org-table-get-stored-formulas): Accept range formulas as matches.
17406 (org-table-get-specials): Compute and store the number of columns.
17407 (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
17408 only the region marked by the range, not the content.
17409 (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
17410 range targets. Also check for duplicate access to fields.
17411 (org-table-expand-lhs-ranges): New funktion.
17412 (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
17413 the caller's value.
17414 (org-table-edit-formulas): Support highlighting of range targets.
17415 (org-table-field-info): Handle renge formulas.
17417 2011-07-28 Bastien Guerry <bzg@gnu.org>
17419 * org-html.el (org-export-html-postamble-format)
17420 (org-export-html-preamble-format): Explain how to escape the
17423 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17425 * ob.el (org-babel-read): Read string variable values wrapped in
17426 double quotes, removing the quotes.
17428 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17430 * ob-exp.el (org-babel-exp-results): Ensure that processed params
17431 are send to org-babel-execute-src-block.
17433 2011-07-28 Bastien Guerry <bzg@gnu.org>
17435 * org-special-blocks.el
17436 (org-special-blocks-make-special-cookies):
17437 Use `org-export-current-backend'.
17439 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17441 * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
17443 (org-babel-exp-src-block): Explicitly pass language to
17444 `org-babel-exp-in-export-file'.
17445 (org-babel-exp-inline-src-blocks): Remove unused code.
17446 (org-babel-exp-results): Explicitly pass language to
17447 `org-babel-exp-in-export-file'.
17449 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17451 * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
17452 returned from calc-eval.
17454 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17456 * ob.el (org-babel-read): Pass elisp vectors through to code
17459 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17461 * ob.el (org-src-lang-modes): Defvar.
17462 (org-at-item-p): Declare function.
17464 * ob-calc.el (calc-store): Require.
17465 (var-syms): Defvar.
17467 * ob-python.el (py-default-interpreter): Defvar.
17469 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17471 * org-exp-blocks.el (backend): defvar.
17473 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17475 * org-agenda.el (org-agenda-get-scheduled):
17476 (org-agenda-get-timestamps): Bind local variable `show-all'.
17478 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17480 * ob-ref.el (org-at-item-p): Declare function.
17482 * org-agenda.el (diary-time-regexp): defvar.
17484 * org-archive.el (org-archive-subtree): Bind local variable
17487 * org-capture.el (org-capture-insert-template-here): Get template
17488 text from property list, to avoid byte compiler message.
17490 * org-latex.el (org-export-latex-tables): Bind local variable
17493 * org-special-blocks.el (org-compat): Add require statement.
17495 * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
17498 * org.el (org-eval): Move function here from org-agenda.el.
17500 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17502 * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
17503 when reading from tables.
17504 (org-babel-read-list): Inhibit lisp evaluation of values when
17505 reading from lists.
17506 (org-babel-read): Add optional argument which can be used to inhibit
17507 lisp evaluation of value.
17509 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17511 * ob-table.el (sbe): Ensure that ob-trim is only called on
17514 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17516 * ob-exp.el (org-babel-exp-results): On export, ensure that the
17517 result hash is resolved in the original org-mode file.
17519 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17521 * org-exp.el (org-export-mark-list-end): Change end marker.
17523 * org-docbook.el (org-export-docbook-list-line): Use new marker.
17525 * org-html.el (org-html-export-list-line): Use new marker.
17527 * org-latex.el (org-export-latex-lists): Use new marker.
17529 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17531 * org-latex.el (org-export-latex-lists): Make sure markers used
17532 for export are taken into account by temporarily setting an
17533 appropriate value for `org-list-ending-method'.
17535 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17537 * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
17538 regexp into its own variable, also allowing match of empty bodies.
17539 (org-export-blocks-preprocess): Using new regexp variable.
17541 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17543 * ob.el (org-babel-src-block-regexp): Code block regexp now
17544 matches blocks with empty bodies.
17546 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17548 * ob.el (org-babel-script-escape): If script escaped value doesn't
17549 parse cleanly, then return it literally.
17551 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17553 * ob-exp.el (org-babel-exp-src-block): When block will eventually
17554 be evaluated, pre-calculate the hash before noweb expansion, and
17555 expand the parameters before hash calculation.
17556 (org-babel-exp-do-export): Pass pre-calculated hash through to
17557 `org-babel-exp-results'.
17558 (org-babel-exp-results): Compare pre-calculated hash to results hash.
17560 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17562 * ob.el (org-babel-sha1-hash): Sort list values to header
17563 arguments, and sort the words in strings.
17565 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17567 * ob-ref.el (org-babel-ref-index-list): Special handling of hline
17570 2011-07-28 Julien Danjou <julien@danjou.info>
17572 * org-macs.el (org-with-point-at): Store evaluated version of
17573 pom. This fixes a potential bug when using (org-with-point-at
17574 (func) …), where (func) would be evaluated multiple times,
17575 therefore might return different results if a marker was returned
17576 and different each time.
17578 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17580 * org.el (org-open-at-point): If a link to a radio target is the
17581 first, (resp. the last), element of a buffer, function cannot find
17582 the property change required to get its boundaries, and
17583 `buffer-substring' is called with an invalid nil argument.
17585 2011-07-28 Bastien Guerry <bzg@gnu.org>
17587 * org-table.el (org-table-copy-down): Fix docstring.
17589 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17591 * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
17592 and for file types other than png and PDF it uses imagemagick to
17593 convert a compiled PDF file to the desired file type.
17594 (convert-pdf): Convert a PDF file to a new file type using
17597 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
17599 * org-capture.el (org-capture-fill-template): Fix bug with the
17600 display of interactive prompt in templates expansion.
17602 2011-07-28 Reiner Steib <reiner.steib@gmx.de>
17604 * org-clock.el (org-clock-display): Document how to remove subtree
17607 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17609 * org-exp-blocks.el (org-export-blocks-format-comment):
17610 Explicitly append a newline to the body.
17612 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17614 * org-list.el (org-list-insert-item): When computing size of item
17615 being inserted, function has to take into account that indentation
17616 may not only be made of spaces.
17618 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17620 * org-clock.el (org-clock-find-position): If a list was adjacent
17621 to some clocks and a drawer was going to be created, only the
17622 first element of the list would make it into the drawer.
17624 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17626 * org-list.el (org-toggle-checkbox): Fix bug where top item in
17627 list was omitted when checking boxes.
17629 2011-07-28 Dan Davison <dandavison7@gmail.com>
17631 * ob-R.el: Don't print result to echo area after evaluation.
17633 2011-07-28 Bastien Guerry <bzg@gnu.org>
17635 * org-capture.el (org-capture-refile): Fix typo in docstring.
17637 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17639 * ob-calc.el (org-babel-execute:calc): Call out to new function
17640 for variables resolution.
17641 (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
17642 variables in calc expressions.
17644 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17646 * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
17647 (org-babel-C++-compiler): Replace "c++" with "C++".
17648 (org-babel-execute:cpp): Replace "c" with "C++".
17649 (org-babel-execute:C++): Replace "c" with "C++".
17650 (org-babel-expand-body:C++): Replace "c" with "C++".
17651 (org-babel-C-execute): Replace "c" with "C++".
17653 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17655 * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
17656 a list if at the *beginning* of a list item.
17658 * ob.el (org-babel-read-result): Only try to read results as a
17659 list if at the *beginning* of a list item.
17661 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17663 * org-list.el (org-cycle-item-indentation): Do not break an
17664 indentation cycle because visibility cycling is requested.
17665 This happens when an item becomes a parent, due to indentation change.
17666 Not considered empty anymore, the function cannot change its
17669 2011-07-28 Bastien Guerry <bzg@gnu.org>
17671 * org-clock.el (org-clocktable-write-default): Bugfix: falls back
17672 on `org-export-default-language' when no :lang parameter is set.
17674 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17676 * org-capture.el (org-capture-expand-file): New function.
17677 (org-capture-target-buffer):
17678 (org-capture-set-target-location): Use `org-capture-expand-file'.
17680 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17682 * ob.el (org-babel-read-list): Reading the value of a list has
17683 been updated to reflect the new structure of org-mode lists in
17685 (org-babel-insert-result): Writing code block results to lists has
17686 been updated to reflect the new list structure.
17687 (org-babel-result-end): Remove a previous change to end-of-list
17690 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17692 * org-list.el (org-cycle-item-indentation): Each time the function
17693 moves item back to child position, a white space is added to the
17696 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17698 * ob.el (org-babel-process-params): Allow elisp code in
17699 specification of results header arguments.
17701 2011-07-28 Bastien Guerry <bzg@gnu.org>
17703 * org-agenda.el (org-agenda-append-agenda): New command.
17704 (org-agenda-mode-map): New keybinding to this new command.
17706 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17708 * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
17709 cursor it at very first item of the list, as specified in the
17710 manual. Also refactored the list part of the function a bit.
17712 2011-07-28 Bastien Guerry <bzg@gnu.org>
17714 * org-agenda.el (org-agenda): Set the 'last-args property to nil
17715 when calling `org-agenda'. Don't kill the local variable
17716 `org-agenda-current-span'.
17717 (org-run-agenda-series): Use the new property 'last-args.
17718 (org-agenda-change-time-span): Use the dynamically set
17719 `org-agenda-overriding-arguments' variable when non-nil.
17721 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17723 * ob.el (org-babel-result-end): Adjust marker of list end to
17724 changes in the list format.
17726 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17728 * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
17729 No need to wrap `org-entry-get' in `ignore-errors'.
17731 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17733 * org.el (org-toggle-item, org-toggle-heading): Make sure every
17734 sub-item in a list is changed into a sub-heading and sub-headings
17735 are translated into sub-items. Also ignore inline tasks in the
17738 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17740 * org-exp.el (org-export-select-backend-specific-text):
17741 Add `original-indentation' property when replacing #+begin_backend and
17742 #+backend blocks with their content. This is needed for lists, as
17743 they must know if the block belonged to them.
17745 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17747 * org-html.el (org-html-export-list-line): Insert a newline
17748 character before ending an item, as anchor could be on a line
17749 going to be deleted, like a drawer ending string.
17751 * org-list.el (org-list-to-html): Same.
17753 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17755 * org.el (org-set-autofill-regexps): Use `org-item-re' in
17756 `paragraph-start' to recognize alphabetical lists.
17757 (org-fill-paragraph): Enforce a pre-computed fill-prefix before
17758 calling `fill-paragraph' when point is in an item. Also prevent
17759 paragraphs getting merged into an adjacent list upon filling.
17760 (org-adaptive-fill-function): Make sure to determine real
17761 fill-prefix for auto-fill.
17762 (org-auto-fill-function): Use a pre-computed fill-prefix before
17763 calling `do-auto-fill'.
17765 * org-list.el (org-list-item-body-column): New function.
17767 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17769 * org-inlinetask.el (org-inlinetask-at-task-p)
17770 (org-inlinetask-toggle-visibility): New functions.
17772 * org-list.el (org-list-set-item-visibility): New function.
17774 * org.el (org-cycle, org-cycle-internal-local): Separate lists and
17775 inline tasks from headlines.
17776 (org-outline-level): Do not consider lists as headlines.
17777 Cycling visibility is using different tools.
17779 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17781 * org-list.el (org-list-struct): Mark items less indented than top
17782 item of the list, so that they will be modified.
17783 (org-list-struct-apply-struct): Compare struct's indentation with
17784 line's indentation instead of old-struct's. This is needed
17785 because `org-list-struct' automatically fixes indentation so
17786 changes might not be seen otherwise.
17788 * org.el (org-ctrl-c-ctrl-c): Small refactoring.
17790 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17792 * org-list.el (org-update-checkbox-count): When a part of the
17793 buffer is processed to count checkboxes, lists are read from top
17794 to bottom, but inside lists (in drawers, blocks, or inline tasks)
17795 are skipped. Thus, cookies cannot be updated. This patch
17796 enforces reading of such lists if counter is itself in a special
17799 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17801 * org-list.el (org-list-struct-apply-struct): Inline tasks along
17802 with their content must stay at column 0 even if the item is
17803 gaining indentation. Moreover, fix indentation of text in an
17804 inline task, now it can be in such a task within a list.
17806 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17808 * org-list.el (org-at-item-p): Also verify context is valid.
17809 Otherwise it would recognize valid items where `org-in-item-p'
17811 (org-in-item-p, org-list-struct-apply-struct): Use shorter version
17813 (org-cycle-list-bullet): Fix typo.
17814 (org-list-parse-list): Avoid calling `org-at-item-p' two times by
17815 using an appropriate regexp.
17817 * org.el (org-indent-line-function): Use an appropriate regexp
17818 instead of calling `org-at-item-p' two times.
17820 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17822 * org-list.el (org-in-item-p): When point was just after
17823 org-list-end-re, check wouldn't be done for starting line. So, if
17824 the first line was an item, it wouln't be noticed and function
17825 would return nil. Simplify and comment code.
17827 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17829 * org.el (org-toggle-item): When used on normal text, ensure every
17830 line in region is included in the new item, regardless of its
17831 original indentation.
17833 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17835 * org-list.el (org-list-struct-apply-struct): If end of list was
17836 at eol, for example, with list inside a block, the last list
17837 wouldn't be shifted. Thus, the patch ensures no blank lines is
17840 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17842 * org.el (org-toggle-item): Now accepts a prefix argument.
17843 When used without argument on normal text, it will make the whole
17844 region one item. With an argument, it defaults to old behavior:
17845 change each line in region into an item.
17847 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17849 * org.el (org-return): When called from inside an item with the
17850 indent flag, function should keep text moved inside the item.
17851 This allows to use C-j to separate lines in an item: cursor won't
17852 go back to column 0.
17854 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17856 * org-list.el (org-list-struct): When a line has org-example
17857 property, skip the entire block. This is needed during export,
17858 for example when src blocks in org markup contain lists, and are
17859 returned verbatim because org isn't in the list of interpreted
17862 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17864 * org-list.el (org-in-item-p): Handle special cases when function
17865 is called with cursor amidst `org-list-end-re' or at an inline
17868 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17870 * ob.el (org-babel-result-end): Apply renaming.
17872 * org-exp.el (org-export-mark-list-properties): Apply renaming.
17874 * org-list.el (org-list-prevs-alist): Rename from
17875 `org-list-struct-prev-alist'.
17876 (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
17877 (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
17878 (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
17879 (org-toggle-checkbox, org-update-checkbox-count)
17880 (org-cycle-list-bullet, org-list-repair, org-insert-item)
17881 (org-move-item-up, org-move-item-up, org-move-item-down)
17882 (org-next-item, org-previous-item, org-end-of-item-list)
17883 (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
17884 (org-get-bullet): Remove function, as it is not needed anymore.
17886 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17888 * org-list.el (org-list-insert-item-generic): Change arguments.
17889 The function now accepts structure and previous items alist.
17890 This allows to insert an item programmatically more easily.
17891 (org-insert-item): Apply changes to
17892 `org-list-insert-item-generic'. The function now takes care about
17893 repairing structure and updating checkboxes.
17895 * org-timer.el (org-timer-item): Apply changes to
17896 `org-list-insert-item-generic'. The function now takes care about
17897 repairing structure.
17899 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17901 * org-list.el (org-list-make-subtree): Function now uses
17902 `org-list-parse-list mechanism'.
17903 (org-list-make-subtrees): Remove function.
17904 (org-list-to-generic): Add a parameter and every parameter can
17905 be a sexp returning a string, for finer control.
17906 (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
17907 Slight modifications to apply changes to `org-list-to-generic'.
17908 (org-list-to-subtree): New function.
17910 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17912 * org.el (org-beginning-of-line): Apply changes to
17913 `org-item-beginning-re' to correct sub-expression reference.
17915 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17917 * org-docbook.el (org-export-docbook-list-line): Even with
17918 alphabetical lists, Org shouldn't enforce a particular list type
17919 to exporters. This is a job for style files.
17921 * org-html.el (org-html-export-list-line): Ib idem.
17923 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17925 * org-list.el (org-at-item-counter-p): New function.
17926 (org-list-parse-list): Handle counters and list depth.
17927 (org-list-to-generic): A special string is used when an item has a
17929 (org-list-to-latex): Use new special string for counters.
17930 This fixes the counter bug in LaTeX export, as the enumi counter was
17931 the only one modified.
17933 * org-latex.el (org-export-latex-lists): Use new
17934 `org-list-parse-list' output.
17936 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17938 * org-list.el (org-list-get-list-type): New function.
17939 (org-list-parse-list): Use new function.
17941 * org-html.el (org-html-export-list-line): Use new function.
17943 * org-docbook.el (org-export-docbook-list-line): Use new function.
17945 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17947 * org-list.el (org-alphabetical-lists): New variable
17948 (org-item-re, org-list-full-item, org-cycle-list-bullet)
17949 (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
17950 Reflect introduction of the new variable.
17951 (org-item-beginning-re): Change into a function, so any
17952 modification of `org-alphabetical-lists' will not require
17954 (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
17955 (org-list-parse-list, org-list-send-list): Reflect changes to
17956 `org-item-beginning-re'.
17957 (org-list-use-alpha-bul-p): New function.
17959 * org.el (org-check-for-hidden): Reflect changes to
17960 `org-item-beginning-re'.
17962 * org-capture.el (org-capture-place-item): Reflect changes to
17963 `org-item-beginning-re'.
17965 * org-docbook.el (org-export-docbook-list-line): Handle New type
17968 * org-exp.el (org-export-mark-list-end)
17969 (org-export-mark-list-properties): Reflect changes to
17970 `org-item-beginning-re'.
17972 * org-html.el (org-html-export-list-line): Handle new type of
17975 * org-latex.el (org-export-latex-lists): Handle new type of items
17976 and reflect changes to `org-item-beginning-re'.
17978 * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
17980 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17982 * org-list.el (org-list-end-re): Remove function and made it a
17983 variable. There's no need for the overhead of calling the
17984 function every at every line in a list. User will have to reload
17985 Org if he change value of either `org-list-end-regexp' or
17986 `org-empty-line-terminates-plain-lists'.
17987 (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
17989 * org-exp.el (org-export-mark-list-end)
17990 (org-export-mark-list-properties): Apply change.
17992 * org-latex.el (org-export-latex-lists): Apply change.
17993 Also prevent items with org-example property to be considered as real
17996 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17998 * org-inlinetask.el (org-inlinetask-export-templates): Slightly
17999 modify templates so environment boundaries don't interfere with
18000 content of task. Unprotect content of task so it might benefit
18001 from further transformations. Set original-indentation property to
18002 a high value to ensure that task is always in the last item of the
18003 list. Also, apply templates later in export process.
18005 * org-list.el (org-list-struct): Fix inline task skipping.
18007 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18009 * org-latex.el (org-export-latex-lists): Search for unprotected
18010 items only, and redefine `org-at-item'. This change is required
18011 when verbatim lists are inserted during export, usually by Babel.
18013 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18015 * ob.el (org-babel-result-end): End position is end of current
18016 sublist instead of bottom point, as results might be inserted in a
18019 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18021 * org-list.el (org-list-automatic-rules): Remove insert rule.
18022 (org-list-insert-item-generic): Remove code preventing user to
18023 insert another item in a block within a list. It is because new
18024 list context make it impossible to see if a point in a block is
18027 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18029 * org-exp.el (org-export-preprocess-string): Mark list endings
18030 before babel blocks preprocessing starts, so blank lines that may
18031 be inserted do not break list's structure. Then, mark list with
18032 special properties required by exporters. Thus output from babel
18033 can easily be included in lists.
18034 (org-export-mark-list-end): New function.
18035 (org-export-mark-list-properties): New function.
18036 (org-export-mark-lists): Remove function. It was split into the
18037 two preceding functions.
18039 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18041 * org-list.el (org-update-checkbox-count): Do not recompute every
18042 list before next heading when there are more than one cookie in an
18043 headline. Moreover, ignore the case where cookie is inserted
18044 neither at an heading nor at an item.
18046 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18048 * org-list.el (org-sort-list): Fix number of arguments to
18049 `org-list-repair', plus make `end-record' go to end of item before
18050 any blank line to keep them from being swallowed in the sorting.
18052 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18054 * org-list.el (org-list-forbidden-blocks): Rename from
18056 (org-list-export-context): New variable.
18058 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18060 * org-list.el (org-list-search-generic): Rename form
18061 `org-search-unenclosed-generic' to reflect the new behavior. Now,
18062 match can only be in a valid context for lists, as determined by
18063 `org-list-context'.
18064 (org-list-search-backward): Rename from
18065 `org-search-backward-unenclosed'.
18066 (org-list-search-forward): Rename from
18067 `org-search-forward-unenclosed'.
18068 (org-toggle-checkbox, org-update-checkbox-count): Use new
18070 (org-sort-list): Using default regexp search functions as context
18071 is not required in this case.
18073 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18075 * org-exp.el (org-export-mark-lists): New function, replacing
18076 org-export-mark-list-ending. It adds information as text
18077 properties to every list, before changes done by exporter destruct
18080 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18082 * org-list.el (org-list-get-first-item): New alias for
18083 `org-list-get-list-begin'.
18084 (org-list-get-last-item): New function.
18085 (org-list-get-list-end): Use `org-list-get-last-item'.
18087 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18089 * org.el (org-get-string-indentation): Move in generally useful
18090 functions section, as it wasn't specific to plain lists and that
18091 no code was using it in org-list.el.
18093 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18095 * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18098 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18100 * org-list.el (org-list-indent-item-generic): Remove error
18101 messages happening before process. This belongs to interactive
18103 (org-indent-item, org-indent-item-tree)
18104 (org-outdent-item, org-outdent-item-tree): Ensure point or region
18105 is correct before computing list structure. Return an error
18108 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18110 * org-list.el (org-apply-on-list): Use new structures.
18111 Function is now applied in reverse order so modifications do not change
18112 positions of items in buffer.
18114 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18116 * org-list.el (org-list-parse-list): Rewrite of function to allow
18117 text following a sub-list in the same item. See docstring for an
18119 (org-list-to-generic): Use new parsing function.
18120 (org-list-to-latex, org-list-to-html): Minor change for clearer
18123 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18125 * org-list.el (org-list-has-child-p): Rename from
18126 `org-list-get-child'. Returning first child is only useful as a
18127 predicate, as we are allowing an item to have more than one
18129 (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18130 of org-list-get-child.
18131 (org-in-item-p): Also return item beginning when list starts at
18133 (org-list-get-parent): Use of `org-list-struct-parent-alist'
18134 helper function is not optional anymore.
18135 (org-list-get-all-items): Shorten code with the help of cl.el.
18136 (org-list-get-children): Now returns all children of item, even if
18137 they do not belong to the same list. Renamed from
18138 `org-list-get-all-children'.
18139 (org-list-get-list-begin): Function wasn't return value when item
18140 was already the first item of the list at point.
18141 (org-list-get-list-end): Function wasn't return value when item
18142 was already the last item of the list at point.
18143 (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18144 `org-list-get-children'.
18146 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18148 * org.el (org-indent-line-function): Indentation of item's body
18149 starts just after the bullet, not after a checkbox. Moreover, As
18150 `org-in-item-p' also returns item beginning position when point is
18151 in a list, do not compute it a second time.
18153 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18155 * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18156 usage `org-repair-list', forcing another reading of the list, with
18157 only needed subroutines.
18159 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18161 * org-list.el (org-list-separating-blank-lines-number): Use new
18163 (org-list-insert-item-generic): Use list structures to insert a
18165 (org-list-exchange-items): Refactor and comment code. Now return
18166 new struct instead of modifying it, as list sorting would
18167 sometimes eat first item.
18168 (org-move-item-down, org-move-item-up): Reflect changes to
18169 `org-list-exchange-items'.
18170 (org-insert-item): As `org-in-item-p' also computes item beginning
18171 when applicable, reuse the result.
18173 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18175 * org-list.el (org-list-in-item-p): Unify methods for this
18177 (org-list-in-item-p-with-indent): Remove function.
18178 (org-list-ending-between): Remove function.
18179 (org-list-maybe-skip-block): Remove function.
18180 (org-list-in-item-p-with-regexp): Remove function.
18181 (org-list-top-point-with-regexp): Remove function.
18182 (org-list-top-point-with-indent): Remove function.
18183 (org-list-bottom-point-with-indent): Remove function.
18184 (org-list-bottom-point-with-regexp): Remove function.
18185 (org-list-get-item-same-level): Remove function.
18186 (org-list-top-point): Remove function.
18187 (org-list-bottom-point): Remove function.
18188 (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18189 be consistent with naming policy of non-interactive functions.
18190 (org-get-beginning-of-list): Remove function.
18191 (org-beginning-of-item-list): Use new accessors.
18192 (org-get-end-of-list): Remove function.
18193 (org-end-of-list): Use new accessors.
18194 (org-get-end-of-item): Remove function.
18195 (org-end-of-item): Use new accessors.
18196 (org-get-previous-item): Remove function.
18197 (org-previous-item): Use new accessors.
18198 (org-get-next-item): Remove function.
18199 (org-next-item): Use new accessors.
18200 (org-list-get-item-end-before-blank): Use new accessors.
18202 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18204 * org-list.el (org-list-repair): Remove optional argument
18205 FORCE-BULLET. The job of this interactive function is to
18206 completely fix a list at point. Changing bullets is a separate
18207 task. Also removed others optional arguments TOP and BOTTOM to
18208 follow the new structures.
18209 (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18210 STRUCT is a new required argument. This avoids computing a list
18211 structure many times when function is called more than once in a
18212 row, for example in `org-cycle-item-indentation'. Use new
18213 accessors. Now, also call `org-update-checkbox-count-maybe'.
18214 (org-outdent-item, org-indent-item, org-outdent-item-tree)
18215 (org-indent-item-tree): Remove need for TOP and BOTTOM.
18216 (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18217 (org-list-exchange-items): Use new accessors. Now modify struct
18218 to avoid re-reading it later.
18219 (org-move-item-down): Reflect changes to `org-list-repair'.
18221 (org-move-item-up): Reflect changes to `org-list-repair'. Use new
18223 (org-cycle-list-bullet): Use new structures. Also use a shortcut
18224 to `org-list-struct-fix-struct' in order to avoid unnecessary
18225 fixes, like `org-list-struct-fix-box'
18226 (org-sort-list): Use of new structures. Renamed an internal
18227 function for a little more clarity.
18228 (org-cycle-item-indentation): Remove dependency on
18229 `org-list-repair'. Use new accessors.
18230 (org-list-get-child): Correct bug when asking for the child of the
18232 (org-list-exchange-items): Use new accessors.
18234 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18236 * org-list.el (org-list-blocks): New variable.
18237 (org-list-context): New function.
18238 (org-list-full-item-re): New variable.
18239 (org-list-struct-assoc-at-point): Use new variable.
18240 (org-list-struct): Rewrite of function. Now, list data is
18241 collected by looking at the list line after line. It reads the
18242 whole list each time because reading only a subtree was not enough
18243 for some operations, like fixing checkboxes. It also removes the
18244 need to get `org-list-top-point' and `org-list-bottom-point'
18245 first. An added data is the position of item ending. This aims
18246 to be able to have list followed by text inside an item.
18247 (org-list-struct-assoc-end): New function.
18248 (org-list-struct-parent-alist): New function.
18249 (org-list-get-parent): New function.
18250 (org-list-get-child): New function.
18251 (org-list-get-next-item): New function.
18252 (org-list-get-prev-item): New function.
18253 (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18254 (org-list-get-all-items): New function.
18255 (org-list-get-all-children): New function.
18256 (org-list-get-top-point): New function.
18257 (org-list-get-bottom-point): New function.
18258 (org-list-get-counter): New function.
18259 (org-list-get-item-end): New function.
18260 (org-list-struct-fix-bul): Rewrite for cleaner code. Make use of
18262 (org-list-struct-fix-ind): Make use of new accessors.
18263 (org-list-struct-fix-box): New function.
18264 (org-list-struct-fix-checkboxes): Remove function.
18265 (org-list-struct-outdent): Use new accessors. Use the fact that
18266 there is no longer a virtual item at beginning of structure.
18267 (org-list-struct-indent): Use helper functions
18268 `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18269 Also use new accessors.
18270 (org-list-struct-fix-struct): Comment function. Call directly
18271 `org-list-struct-apply-struct', without removing unchanged items
18273 (org-list-struct-apply-struct): Comment function. Rewrite using
18274 new accessors. Use new variable `org-list-full-item-re'.
18275 (org-list-shift-item-indentation): Remove function, now included
18276 in `org-list-struct-apply-struct' because it is too specific.
18278 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18280 * org-list.el (org-toggle-checkbox): Use structures to fix
18281 checkboxes of a list.
18282 (org-update-checkbox-count): Use structures to update cookies.
18284 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18286 * org-list.el (org-list-struct-fix-checkboxes): New function.
18287 (org-checkbox-blocked-p): Remove function.
18289 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18291 * org-list.el (org-list-get-all-items): New function.
18292 (org-list-get-all-children): New function.
18293 (org-list-get-nth): New function.
18294 (org-list-set-nth): New function.
18295 (org-list-get-ind): New function.
18296 (org-list-set-ind): New function.
18297 (org-list-get-bullet): New function.
18298 (org-list-set-bullet): New function.
18299 (org-list-get-checkbox): New function.
18300 (org-list-set-checkbox): New function.
18301 (org-list-struct-fix-bul): Use new accessors.
18302 (org-list-repair): Use new accessors.
18303 (org-list-indent-item-generic): Make use of accessors.
18304 (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18305 (org-list-get-child): Rename from `org-list-struct-get-child'.
18306 (org-list-struct-fix-ind): Make use of accessors.
18307 (org-list-get-next-item): New function.
18308 (org-list-get-subtree): New function.
18310 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18312 * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18315 * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18316 value in structure.
18318 * org-list.el (org-list-struct-apply-struct): Also apply
18321 2011-07-28 Bastien Guerry <bzg@gnu.org>
18323 * org-latex.el (org-export-latex-content): Bind local variables
18324 for export in the temporary export buffer.
18326 2011-07-28 David Maus <dmaus@ictsoc.de>
18328 * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18329 (org-protocol-unhex-string, org-protocol-unhex-compound):
18330 Change date of obsolete declaration to 2011-02-17.
18332 2011-07-28 David Maus <dmaus@ictsoc.de>
18334 * org.el (org-link-escape): Throw error if encoding character in
18337 2011-07-28 David Maus <dmaus@ictsoc.de>
18339 * org-protocol.el (org-protocol-split-data)
18340 (org-protocol-open-source): Use `org-link-unescape' instead of
18341 obsolete unhex string function.
18343 2011-07-28 David Maus <dmaus@ictsoc.de>
18345 * org.el (org-link-escape, org-link-escape-chars-browser)
18346 (org-link-escape-chars): Always percent escape the percent sign.
18348 2011-07-28 David Maus <dmaus@ictsoc.de>
18350 * org.el (org-link-unescape): Simpler algorithm for replacing
18352 (org-link-unescape-compound): Use cond statements instead of nested
18353 if, convert hex string with string-to-number, save match data.
18354 (org-link-unescape-single-byte-sequence): Use mapconcat and
18355 string-to-number for unescaping single byte sequence.
18357 2011-07-28 David Maus <dmaus@ictsoc.de>
18359 * org.el (org-link-escape): Rename lambda argument.
18361 2011-07-28 David Maus <dmaus@ictsoc.de>
18363 * org.el (org-link-escape-chars-browser, org-link-escape-chars):
18364 Add percent sign to list of escape chars.
18366 2011-07-28 David Maus <dmaus@ictsoc.de>
18368 * org-mobile.el (org-mobile-escape-olp): Use new percent escape
18369 character table format.
18371 2011-07-28 David Maus <dmaus@ictsoc.de>
18373 * org-mobile.el (org-mobile-locate-entry): Remove obsolete
18374 argument in call to org-link-unescape.
18376 2011-07-28 David Maus <dmaus@ictsoc.de>
18378 * org-protocol.el (org-protocol-unhex-string)
18379 (org-protocol-unhex-compound)
18380 (org-protocol-unhex-single-byte-sequence): Declare obsolete and
18381 alias to respective org-link-unescape-* functions.
18383 2011-07-28 David Maus <dmaus@ictsoc.de>
18385 * org.el (org-link-unescape, org-link-unescape-compound)
18386 (org-link-unescape-single-byte-sequence): Functions moved and renamed
18387 from org-protocol.el.
18389 2011-07-28 David Maus <dmaus@ictsoc.de>
18391 * org-macs.el (org-char-to-string): Inline function to properly
18392 decode utf8 characters in Emacs 22. Moved and renamed from
18395 2011-07-28 David Maus <dmaus@ictsoc.de>
18397 * org.el (org-link-escape): New optional argument. Merge user
18398 table with default table.
18400 2011-07-28 David Maus <dmaus@ictsoc.de>
18402 * org.el (org-link-escape): Fixup doc string.
18404 2011-07-28 David Maus <dmaus@ictsoc.de>
18406 * org.el (org-link-escape-chars, org-link-escape-chars-browser):
18407 New format of percent escape table.
18408 (org-link-escape): Use new table format.
18410 2011-07-28 David Maus <dmaus@ictsoc.de>
18412 * org.el (org-link-escape): New Unicode aware percent encoding
18415 2011-07-28 Sebastian Rose <sebastian_rose@gmx.de>
18417 * org-protocol.el (org-protocol-unhex-single-byte-sequence):
18418 New function. Decode hex-encoded singly byte sequences.
18419 (org-protocol-unhex-compound): Use new function if decoding sequence
18420 as Unicode character failed.
18422 2011-07-28 Bastien Guerry <bzg@gnu.org>
18424 * org-html.el (org-export-as-html): Expand the HTML title.
18426 2011-07-28 Bastien Guerry <bzg@gnu.org>
18428 * org-publish.el (org-publish-cache-ctime-of-src):
18430 (org-publish-find-title): New option to explicitly reset the title
18432 (org-publish-format-file-entry): Use this new option.
18434 2011-07-28 Dan Davison <dandavison7@gmail.com>
18436 * org-exp.el (org-export-preprocess-string): Set the source buffer
18437 and use `org-clone-local-variables' to get local variables from
18440 2011-07-28 Dan Davison <dandavison7@gmail.com>
18442 * org-exp.el (org-export-format-source-code-or-example):
18443 Allow empty string as second element in minted/listings options.
18445 2011-07-28 Dan Davison <dandavison7@gmail.com>
18447 * org-exp.el (org-export-format-source-code-or-example):
18448 Support new user-customizable options.
18449 (org-export-latex-custom-lang-environments): Ensure new variable
18451 (org-export-latex-listings-options): Ensure new variable is defined.
18452 (org-export-latex-minted-options): Ensure new variable is defined.
18454 2011-07-28 Bastien Guerry <bzg@gnu.org>
18456 * org-html.el (org-export-as-html): Handle the case when
18457 `org-export-html-validation-link' is nil to keep backward
18458 compatible with the old default value of this variable.
18460 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18462 * ob.el (org-babel-insert-result): Don't choke if indent is not a
18465 2011-07-28 Christian Moe <mail@christianmoe.com> (tiny change)
18467 * org-bbdb.el (org-bbdb-export): When a link description has been
18468 added by `org-export-normalize-links', use path instead (remove
18469 the `bbdb:' prefix).
18471 2011-07-28 Bastien Guerry <bzg@gnu.org>
18473 * org-ascii.el (org-export-ascii-underline): Put the level's
18474 characters in the right order, as documented by the docstring.
18475 (org-ascii-level-start): Select the right char for underlining
18478 2011-07-28 Bastien Guerry <bzg@gnu.org>
18480 * org-src.el (org-edit-src-code): Allow to edit source code from
18481 modes derived from Org.
18483 2011-07-28 Niels Giesen <niels.giesen@gmail.com>
18485 * org-clock.el (org-clock-clocktable-language-setup): Add list of
18488 2011-07-28 Dan Davison <dandavison7@gmail.com>
18490 * org-beamer.el: Mark frame as fragile when it is using minted for
18493 2011-07-28 Bastien Guerry <bzg@gnu.org>
18495 * org-agenda.el (org-agenda-date-later)
18496 (org-agenda-date-earlier): Enhance docstrings.
18497 (org-agenda-bulk-mark-regexp): Only match against headlines.
18498 Send a message when no entry is marked.
18499 (org-agenda-bulk-action): Fix bug about scattering deadlines.
18500 Send an error when trying to scatter outside an agenda or a
18501 timeline view. Silently fail when trying to scatter sexp entries.
18503 2011-07-28 Bastien Guerry <bzg@gnu.org>
18505 * org-clock.el (org-clock-clocktable-language-setup): New custom
18507 (org-clocktable-defaults): Set the default language.
18508 (org-clocktable-write-default): Use the new variable.
18510 2011-07-28 Dan Davison <dandavison7@gmail.com>
18512 * ob.el (org-babel-src-block-names): Don't strip text properties
18514 (org-babel-result-names): Don't strip text properties from search
18517 2011-07-28 Dan Davison <dandavison7@gmail.com>
18519 * ob-python.el (org-babel-python-evaluate-session): Pass nil as
18520 remove-echo part of META argument to
18521 `org-babel-comint-with-output'.
18523 2011-07-28 Dan Davison <dandavison7@gmail.com>
18525 * ob.el (org-babel-script-escape): Use `substring' comparison
18526 instead of regexp matching.
18528 2011-07-28 Dan Davison <dandavison7@gmail.com>
18530 * org-src.el (org-edit-src-code): When generating the code edit
18531 buffer, it is necessary for several variables to inherit their
18532 values from the parent org buffer. These changes collect all such
18533 variables together into a single association list of
18534 `(variable-name value)' pairs. In addition, a new variable is
18535 added to the list: `org-edit-src-content-indentation'. This has
18536 the effect that a buffer local value can be used for that
18539 2011-07-28 Dan Davison <dandavison7@gmail.com>
18541 * ob-table.el (sbe): Don't truncate sbe results.
18543 2011-07-28 Lawrence Mitchell <wence@gmx.li>
18545 * org-exp.el (org-export-add-options-to-plist): Require match to
18546 start at a word-boundary.
18548 2011-07-28 Bastien Guerry <bzg@gnu.org>
18550 * org-latex.el (org-export-latex-hyperref-format):
18553 2011-07-28 Tom Dye <tsd@tsdye.com>
18555 * org.el: Update documentation of `org-add-link-type'.
18557 2011-07-28 Dan Davison <dandavison7@gmail.com>
18559 * org.el (org-open-at-point): Fix bug when using prefix arg to
18560 construct `org-link-search' call. Rename prefix arg with a more
18561 generic name, to reflect its diverse uses in this function.
18563 2011-07-28 Rémi Vanicat <vanicat@debian.org>
18565 * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
18566 (org-icalendar-date-time-format): New custom variable.
18567 (org-icalendar-use-UTC-date-timep): New function.
18568 (org-ical-ts-to-string): Use the new variable.
18570 2011-07-28 Bastien Guerry <bzg@gnu.org>
18572 * org-vm.el (org-vm-store-link): Make sure the buffer is
18573 associated with a file when trying to store an Org link.
18575 2011-07-28 Dan Davison <dandavison7@gmail.com>
18577 * ob.el (org-babel-params-from-properties): Test for
18578 "header-arg-name" and ":header-arg-name", in that order.
18580 2011-07-28 Bastien Guerry <bzg@gnu.org>
18582 * org-capture.el (org-capture-templates): Document "currentfile"
18583 for capture template.
18584 (org-capture-templates): Allow to use currentfile for capture
18586 (org-capture-set-target-location): Handle currentfile as a way to
18587 setting the capture buffer.
18589 2011-07-28 Bastien Guerry <bzg@gnu.org>
18591 * ob.el (org-babel-params-from-properties): Don't wrap
18592 `org-entry-get' into `condition-case'.
18594 2011-07-28 Dan Davison <dandavison7@gmail.com>
18596 * org.el (org-entry-get): Don't look for a property drawer if we
18597 are before the first heading in the file.
18598 (org-entry-get-with-inheritance): Don't attempt to move up the
18599 tree if we are before the first heading in the file. Also,
18600 enclose less of the function in the `save-excursion'.
18602 2011-07-28 Dan Davison <dandavison7@gmail.com>
18604 * ob.el (org-babel-params-from-buffer): Return desired value
18605 rather than nil from failed re search.
18607 2011-07-28 Bastien Guerry <bzg@gnu.org>
18609 * org-agenda.el (org-get-entries-from-diary): Put multiline diary
18610 entries on a single line when lines don't start with a diary time.
18612 2011-07-28 Bastien Guerry <bzg@gnu.org>
18614 * org-html.el (org-export-html-protect-char-alist): New custom
18615 variable to define characters to be HTML protected.
18616 (org-html-protect): Use the new variable.
18618 2011-07-28 Bastien Guerry <bzg@gnu.org>
18620 * org-info.el (org-info-store-link): Use "#" to separate the info
18622 (org-info-follow-link): Use both "#" to separate the info file and
18623 the node. Continue to use ":" for backward compatibility.
18625 2011-07-28 Bastien Guerry <bzg@gnu.org>
18627 * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
18629 (org-print-icalendar-entries): Use this new variable to prevent
18630 export of entries with a :noexport: tag.
18632 2011-07-28 Bastien Guerry <bzg@gnu.org>
18634 * org-exp.el (org-export-initial-scope): New custom variable.
18635 (org-export): Use this new variable. If there is an active
18636 region, tell it when prompting the user for an export command.
18637 Also change the way the function handles selection of buffer and
18640 2011-07-28 Bastien Guerry <bzg@gnu.org>
18642 * org-html.el (org-export-html-auto-preamble)
18643 (org-export-html-auto-postamble): Remove.
18644 (org-export-html-preamble, org-export-html-postamble): Turn into
18645 custom variables. Update the docstrings.
18646 (org-export-html-preamble-format)
18647 (org-export-html-postamble-format): New custom variables.
18648 (org-export-as-html): Use `org-export-html-postamble-format' and
18649 `org-export-html-preamble-format'.
18650 (org-export-html-title-format): Delete.
18652 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18654 * org-exp-blocks.el (org-export-blocks-format-ditaa):
18655 This function is begin deprecated in favor of begin_src blocks.
18656 (org-export-blocks-format-dot): This function is begin deprecated in
18657 favor of begin_src blocks.
18659 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18661 * ob.el (org-babel-header-arg-names): no-expand is now part of the
18662 default header argument names list.
18664 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
18666 * org-publish.el (org-publish-sitemap-date-format)
18667 (org-publish-sitemap-file-entry-format): New custom variables.
18668 (org-publish-projects): Use these variables to format the sitemap
18671 2011-07-28 Ulf Stegemann <ulf-news@zeitform.de>
18673 * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
18674 from `message-mode'.
18676 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18678 * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
18679 updating the filter while the clock report is following the
18682 2011-07-28 Julien Danjou <julien@danjou.info>
18684 * org-agenda.el (org-agenda): Kill all local variables.
18685 This assures we are not keeping buffer variable from an old agenda view
18686 when switching to a new custom agenda.
18688 2011-07-28 Julien Danjou <julien@danjou.info>
18690 * org-crypt.el (org-encrypt-string): New function.
18691 (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
18692 cached crypted values.
18693 (org-decrypt-entry): Store crypted text in decrypted text.
18695 2011-07-28 Dan Davison <dandavison7@gmail.com>
18697 * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
18698 if a non-nil result is returned.
18700 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18702 * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
18705 2011-07-28 Bastien Guerry <bzg@gnu.org>
18707 * org.el (org-update-parent-todo-statistics): Fix bug when
18708 updating statistics from the column view.
18710 2011-07-28 Bastien Guerry <bzg@gnu.org>
18712 * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
18713 (org-agenda-menu): Add the new command to the menu.
18714 (org-agenda-mode-map): Add % as the keybinding for the new
18717 2011-07-28 Bastien Guerry <bzg@gnu.org>
18719 * org-exp.el (org-export-target-internal-links): Locally turn on
18720 `org-link-search-must-match-exact-headline' to match exact
18723 2011-07-28 Julien Danjou <julien@danjou.info>
18725 * org-faces.el (org-special-keyword): Make it inherited from
18726 `font-lock-keyword-face'.
18728 2011-07-28 Julien Danjou <julien@danjou.info>
18730 * org-faces.el (org-link): Make `org-link' inherits from `link'
18733 2011-07-28 Bastien Guerry <bzg@gnu.org>
18735 * org.el (org-narrow-to-block): New function to narrow to block.
18736 Bound this function to `C-x n b'.
18738 2011-07-28 Bastien Guerry <bzg@gnu.org>
18740 * org.el (org-schedule, org-deadline): Fix bug: take care of
18741 repeating timestamps like ".+1d/3d" or "+1d 10d".
18743 2011-07-28 Bastien Guerry <bzg@gnu.org>
18745 * org-agenda.el (org-agenda-repeating-timestamp-show-all):
18746 Allow to use a list of TODO keywords as the value of this variable.
18747 The agenda will show repeating stamps for entries matching these TODO
18749 (org-agenda-get-timestamps, org-agenda-get-deadlines)
18750 (org-agenda-get-scheduled): Allow the use of a list of keywords in
18751 `org-agenda-repeating-timestamp-show-all'.
18753 2011-07-28 Bastien Guerry <bzg@gnu.org>
18755 * org-latex.el (org-export-latex-emph-format): Don't use
18756 `org-export-latex-use-verb'. Remove this variable.
18758 2011-07-28 Jason Dunsmore <emacs-orgmode@dunsmor.com> (tiny change)
18760 * org-html.el (org-html-handle-time-stamps): Fix bug when
18761 exporting inactive timestamps.
18763 2011-07-28 Bastien Guerry <bzg@gnu.org>
18765 * org-archive.el (org-archive-save-context-info): Fix docstring
18767 (org-archive-subtree-add-inherited-tags): New variable to control
18768 whether inherited tags should be appended to local tags when
18769 archiving subtrees.
18770 (org-archive-subtree): Use the new variable.
18772 2011-07-28 Bastien Guerry <bzg@gnu.org>
18774 * org-archive.el (org-archive-save-context-info): Fix docstring.
18776 2011-07-28 Julien Danjou <julien@danjou.info>
18778 * org-crypt.el (org-decrypt-entry): Delete \n on top level
18779 heading. This avoids a display bug showing the heading outlined
18780 where the text is not since it does not have the outline property.
18781 Restore subtree visibility state after decryption.
18783 2011-07-28 Julien Danjou <julien@danjou.info>
18785 * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
18786 as a possible default span if it is set.
18788 2011-07-28 Dan Davison <dandavison7@gmail.com>
18790 * org-src.el (org-edit-src-persistent-message): Change docstring.
18791 (org-edit-src-code): Get rid of help message in echo area.
18793 * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
18794 argument to org-edit-src-code as this has been removed.
18796 2011-07-28 Bastien Guerry <bzg@gnu.org>
18798 * org-latex.el (org-export-latex-emphasis-alist):
18799 Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
18801 (org-export-latex-use-verb): Now defaults to t.
18802 (org-export-latex-emph-format): Distinguish between =...= and
18805 2011-07-28 Julien Danjou <julien@danjou.info>
18807 * org.el (org-link-expand-abbrev): Allow any type of character in
18810 2011-07-28 Dan Davison <dandavison7@gmail.com>
18812 * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
18814 2011-07-28 Dan Davison <dandavison7@gmail.com>
18816 * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
18817 resolving references.
18819 2011-07-28 Bastien Guerry <bzg@gnu.org>
18821 * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
18822 instead of <hr> to keep w3c validator happy.
18824 2011-07-28 Dan Davison <dandavison7@gmail.com>
18826 * ob.el (org-babel-where-is-src-block-head): Detect src block if
18827 point is on a #+header line.
18829 2011-07-28 Dan Davison <dandavison7@gmail.com>
18831 * ob.el (org-babel-where-is-src-block-head): Skip over intervening
18832 #+header lines when searching for block associated with block name
18835 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18837 * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
18838 the more specific `org-at-item-p'.
18840 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18842 * org-latex.el (org-latex-default-figure-position): New defcustom
18843 for default placement of latex figures.
18844 (org-export-latex-tables): Positioning tables using the new
18845 defcustom variable.
18846 (org-export-latex-format-image): Positioning images using the new
18847 defcustom variable.
18849 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18851 * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
18852 evaluated and :file header argument is missing.
18854 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18856 * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
18857 to do anything to export code.
18858 (org-babel-exp-results): No longer returns a replacement for the
18860 (org-babel-exp-inline-src-blocks): Simplify.
18861 (org-babel-exp-src-block): Remove unnecessary pluralization from
18864 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18866 * ob-exp.el (org-babel-exp-inline-src-blocks):
18867 Simplify exportation of inline code blocks using normal code block
18868 execution mechanism to insert results.
18869 (org-babel-exp-results): Results exportation mechanism is unified
18870 for both inline and regular code blocks.
18872 * ob.el (org-babel-where-is-src-block-result): Returns the point
18873 after an inline code block for inline code blocks.
18875 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18877 * ob.el (org-babel-insert-result): Special handling of the
18878 position of results of inline code blocks.
18879 (org-babel-examplize-region): Now able to comment inline regions.
18881 2011-07-28 Lawrence Mitchell <wence@gmx.li>
18883 * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
18884 that \\[ a = b \\] is not interpreted as a keybinding by
18885 `substitute-command-keys'.
18887 2011-07-28 Dan Davison <dandavison7@gmail.com>
18889 * org-latex.el (org-export-as-latex): Process export property list
18890 with `org-export-process-option-filters' early in latex export.
18892 2011-07-28 Julien Danjou <julien@danjou.info>
18894 * org.el: Remove `org-invisible-p': `outline-invisible-p' is
18895 available in Emacs 22 and in recent XEmacs 21. Replace in various
18898 2011-07-28 Julien Danjou <julien@danjou.info>
18900 * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
18901 it must has \\ at the end of the line. This avoid matching the
18902 following heading when there's no newline between the logged state
18903 and the next heading.
18905 2011-07-28 Julien Danjou <julien@danjou.info>
18907 * org-agenda.el (org-format-agenda-item): Simplify time comuting.
18909 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18911 * org.el (org-current-level, org-store-link, org-mark-subtree):
18912 Use `org-with-limited-levels'.
18914 2011-07-28 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18916 * org-publish.el (org-publish-get-base-files): Add sitemap file.
18918 2011-07-28 Matt Lundin <mdl@imapmail.org>
18920 * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
18921 (org-agenda-todo-ignore-scheduled): New option.
18922 (org-agenda-todo-ignore-timestamp): New option.
18923 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
18924 Allow user to specify custom distance to ignore (future or past).
18925 (org-agenda-todo-custom-ignore-p): New function.
18927 2011-07-28 Matt Lundin <mdl@imapmail.org>
18929 * org-habit.el (org-habit-parse-todo) Don't parse more days than
18932 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18934 * ob.el (org-babel-map-inline-src-blocks): Macro for executing
18935 code in each inline code block.
18936 (org-babel-execute-buffer): Executes inline code blocks as well as
18937 regular code blocks.
18939 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18941 * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
18942 blocks for removal.
18944 2011-07-28 Benjamin Drieu <bdrieu@april.org> (tiny change)
18946 * org-clock.el (org-clock-before-select-task-hook): New hook.
18947 (org-clock-select-task): Run new hook.
18949 2011-07-28 Julien Danjou <julien@danjou.info>
18951 * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
18952 events with range. This display things like: <2011-01-22 Sat
18953 14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
18954 at 14:00 and ending at 20:00.
18956 2011-07-28 Dan Davison <dandavison7@gmail.com>
18958 * ob.el (org-babel-inline-src-block-regexp): Character preceding
18959 "src_" can now be anything as long as it is neither alphanumeric
18962 2011-07-28 Dan Davison <dandavison7@gmail.com>
18964 * ob.el (org-babel-merge-params): Docstring typo.
18966 2011-07-28 Dan Davison <dandavison7@gmail.com>
18968 * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
18971 2011-07-28 Dan Davison <dandavison7@gmail.com>
18973 * ob.el (org-babel-get-src-block-info): Alter order of merge
18976 2011-07-28 Dan Davison <dandavison7@gmail.com>
18978 * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
18980 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18982 * ob.el (org-babel-insert-result): Ensure all parts of result
18983 wrappers end in newlines.
18985 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18987 * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
18988 optionally creates parent directories of tangle targets.
18990 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18992 * org-ascii.el (org-ascii-level-start): Catch the case of levels
18993 which do not have an equivalent in the list of underline
18996 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18998 * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
18999 the format string used to escape arguments to shell code blocks.
19001 2011-07-28 Julien Danjou <julien@danjou.info>
19003 * org-agenda.el (org-agenda-reset-view): New function.
19004 (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19006 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
19008 * org-exp.el (org-export-handle-include-files): Support :lines
19010 (org-get-file-contents): New argument lines to include specify a
19011 range of lines to include.
19013 2011-07-28 Bastien Guerry <bzg@gnu.org>
19015 * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19017 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19019 * org-latex.el (org-export-latex-make-header): Export email in
19020 author line if `org-export-email-info' is non-nil.
19022 2011-07-28 Julien Danjou <julien@danjou.info>
19024 * org-agenda.el (org-agenda-goto-today): Respect current span.
19026 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19028 * org-complete.el (pcomplete/org-mode/link)
19029 (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19030 before uniquifying.
19032 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19034 * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19035 linking comment type
19036 (org-babel-tangle-comment-links): Returns comment links for the
19037 source code block at point.
19039 2011-07-28 Bastien Guerry <bzg@gnu.org>
19041 * org.el (org-refile-check-position): Send a more explicit message
19042 on how to clear the cache before refiling again.
19044 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19046 * org-agenda.el (org-agenda-skip-function-global): New option.
19047 (org-agenda-skip-eval): New function.
19048 (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19049 the global skipping condition.
19051 2011-07-28 David Maus <dmaus@ictsoc.de>
19053 * org-html.el (org-export-as-html): Handle timestamps after
19056 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19058 * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19059 until either a matching block is found, or the limits of the file
19062 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19064 * ob.el (org-babel-update-block-body): Literal argument to
19065 `replace-match' to allow insertion of text containing '\'.
19067 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19069 * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19072 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19074 * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19076 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19078 * ob.el (org-babel-open-src-block-result): Must collect result
19079 *before* jumping to the result buffer.
19081 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19083 * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19084 used after update to regexp.
19086 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19088 * ob.el (org-babel-temp-file): Ensure that
19089 `org-babel-temporary-directory' is bound before using.
19090 (org-babel-remove-temporary-directory): Safer error throwing.
19092 2011-07-28 niels giesen <niels.giesen@gmail.com>
19094 * org-docbook.el (org-export-docbook-finalize-table): Do literal
19097 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19099 * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19100 resolve language names for evaluation.
19102 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19104 * org-capture.el (org-capture-templates): Add %f and %F escapes
19105 (org-capture): Add more information to capture property list
19106 (org-capture-fill-template): Handle %f and %F escapes.
19108 2011-07-28 David Maus <dmaus@ictsoc.de>
19110 * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19113 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19115 * org.el (org-occur-next-match): New function.
19116 (org-mode): Set the variable `next-error-function'.
19117 (org-highlight-new-match): Add an `org-type' property to the
19120 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19122 * ob-calc.el: No longer require `calc-trail' on XEmacs.
19124 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19126 * org.el (org-modules): Add `org-eshell'.
19128 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19130 * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19131 dynamically scoped variables.
19133 * org.el (org-modules): Move `org-special-blocks' into the core
19136 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19138 * org-special-blocks.el: New file.
19140 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19142 * org.el (org-plist-delete): Remove duplicate definition.
19144 2011-07-28 Bernt Hansen <bernt@norang.ca>
19146 * org-agenda.el (org-agenda-goto): Display invisible entry text.
19148 * org-agenda.el (org-agenda-switch-to): Display invisible entry
19151 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19153 * org.el (org-get-category): New optional argument FORCE-REFRESH.
19154 Automatically refresh if the property is not there.
19155 (org-entry-properties): Remove refresh - this is now done in
19158 * org-clock.el (org-clock-insert-selection-line):
19159 Let `org-get-category' do the property refresh.
19161 * org-archive.el (org-archive-subtree): Force a refresh of
19162 category properties.
19164 2011-07-28 Julien Danjou <julien@danjou.info>
19166 * org-icalendar.el (org-print-icalendar-entries): Do not manually
19167 refresh categories.
19169 2011-07-28 Dan Davison <dandavison7@gmail.com>
19171 * org.el (org-display-inline-images): Check for clear-image-cache
19174 2011-07-28 Bernt Hansen <bernt@norang.ca>
19176 * org.el: Document missing value for org-link-frame-setup.
19178 2011-07-28 Dan Davison <dandavison7@gmail.com>
19180 * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19181 user code prior to the R exception-handling, so that errors in
19182 user code are unhandled.
19184 2011-07-28 Dan Davison <dandavison7@gmail.com>
19186 * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19187 that a major-mode function corresponding to the language string
19190 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
19192 * org-exp.el (org-export-mark-list-ending): Insert additional
19193 newline characters if end-list-marker is at a wrong position.
19195 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19197 * ob.el (org-babel-script-escape): Replace commas with spaces for
19198 better list reading when list items are packed with commas,
19199 e.g. Haskell list output.
19201 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19203 * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19206 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19208 * ob.el (org-babel-confirm-evaluate): Fix for the case when
19209 org-confirm-babel-evaluate is a function (used to always ask no
19210 matter what the function returns).
19212 2011-07-28 Dan Davison <dandavison7@gmail.com>
19214 * ob-R.el: Delete duplicated function.
19216 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19218 * ob.el (org-babel-execute-src-block): Remove unused flet
19221 2011-07-28 Dan Davison <dandavison7@gmail.com>
19223 * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19224 signal that the intended content has been written to file.
19226 * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19227 the intended content has been written to file.
19229 * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19230 intended content has been written to file.
19232 * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19233 that the intended content has been written to file.
19235 * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19236 the intended content has been written to file.
19238 * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19239 that the intended content has been written to file.
19241 * ob-octave.el (org-babel-execute:octave): Return result; not name
19244 * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19245 signal that the intended content has been written to file.
19247 * ob-python.el (org-babel-execute:python): Return result; not name
19250 * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19253 * ob-sass.el (org-babel-execute:sass): Return nil if result has
19254 been written to file.
19256 2011-07-28 Dan Davison <dandavison7@gmail.com>
19258 * ob-R.el (org-babel-R-graphical-output-file): New function
19259 returns the name of the output file iff R has been instructed to
19260 send graphical output to file by means of the ":results graphics"
19262 (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19263 when constructing the R code to evaluate, which may be augmented
19264 with code implementing the writing of graohical output to file.
19265 (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19266 determine whether R is taking responsibility for writing output to
19267 file; if so, this is signaled to ob.el by returning a nil result.
19269 2011-07-28 Dan Davison <dandavison7@gmail.com>
19271 * ob.el (org-babel-format-result): New function to format results
19272 of src block execution.
19273 (org-babel-execute-src-block): Use `org-babel-format-result' when
19275 (org-babel-open-src-block-result): Use `org-babel-format-result'
19276 when displaying results in a buffer. Name results buffer
19279 2011-07-28 Dan Davison <dandavison7@gmail.com>
19281 * ob.el (org-babel-execute-src-block): Avoid calling
19282 `orgtbl-to-generic' on number results.
19284 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19286 * ob.el (org-babel-execute-src-block): Allow specification of
19287 table separator with :sep header argument.
19288 (org-babel-open-src-block-result): Allow specification of table
19289 separator with :sep header argument.
19291 2011-07-28 Dan Davison <dandavison7@gmail.com>
19293 * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19294 executing buffer (note that this handles execute subtree also).
19296 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
19298 * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19299 do not modify match data either.
19300 (org-inlinetask-goto-end): Small refactoring, remove
19302 (org-inlinetask-goto-beginning): Small refactoring, remove
19305 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19307 * org-capture.el (org-capture-set-target-location):
19308 Use `current-time'.
19310 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19312 * org-capture.el (org-capture-set-target-location):
19313 Use `current-time'.
19315 2011-07-28 Bernt Hansen <bernt@norang.ca>
19317 * org.el (org-before-first-heading-p): If point is on an org-mode
19318 heading line then we are not before the first heading.
19320 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
19322 * org-timer.el (org-timer-continue-hook): Define the variable
19323 (org-timer-pause-or-continue): Run hook after relative timer is
19326 2011-07-28 Julien Danjou <julien@danjou.info>
19328 * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19330 2011-07-28 Julien Danjou <julien@danjou.info>
19332 * org-capture.el (org-capture-fill-template): Use org-eval.
19334 2011-07-28 Julien Danjou <julien@danjou.info>
19336 * org-agenda.el (org-eval): New function.
19338 2011-07-28 Dan Davison <dandavison7@gmail.com>
19340 * ob.el (org-babel-execute-src-block): With :results file, when
19341 :file is not supplied, interpret result as a file link as long as
19344 2011-07-28 David Maus <dmaus@ictsoc.de>
19346 * org-latex.el (org-export-latex-preprocess): Don't convert link
19347 description parts that look like numeric footnote.
19349 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19351 * org-latex.el (org-export-latex-tables): Allowing specification
19352 of tabular[xy] inner environments through the ATTR_LaTeX line.
19354 2011-07-28 Julien Danjou <julien@danjou.info>
19356 * org-capture.el (org-capture-fill-template):
19357 Use `org-set-property' directly.
19359 2011-07-28 Julien Danjou <julien@danjou.info>
19361 * org-agenda.el (org-agenda-prefix-format): Add missing `search'
19364 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19366 * org-exp.el (org-export-string): Use `format' to construct
19367 function call to allow symbolic or string arguments.
19369 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19371 * org-capture.el (org-capture-place-entry):
19372 (org-capture-insert-template-here): Check tree for validity before
19375 2011-07-28 Julien Danjou <julien@danjou.info>
19377 * org-gnus.el (org-gnus-store-link): Trim date.
19379 2011-07-28 Julien Danjou <julien@danjou.info>
19381 * org.el (org-email-link-description): Allow to retrieve email
19384 2011-07-28 Lawrence Mitchell <wence@gmx.li>
19386 * org.el (org-make-target-link-regexp): `regexp-quote' target
19387 before replacing whitespace.
19389 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19391 * ob.el (org-babel-expand-noweb-references): Noweb references can
19392 now be resolved from the library of babel.
19394 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19396 * ob.el (org-babel-result-end): No longer leaving trailing new
19397 line after block removal.
19399 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19401 * org-latex.el (org-export-latex-first-lines): Anchor outline
19402 regexp during LaTeX tree export.
19404 2011-07-28 Konrad Hinsen <konrad.hinsen@fastmail.net>
19406 * ob-python.el (org-babel-python-initiate-session-by-key):
19407 Make sure that py-which-bufname is initialized, as otherwise it will be
19408 overwritten the first time a Python buffer is created.
19410 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19412 * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
19415 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
19417 * ob-org.el (org-babel-execute:org): Padding code block with an
19418 empty title on LaTeX export.
19420 2011-07-28 Matt Lundin <mdl@imapmail.org>
19422 * org.el (org-entry-properties): Stop scanning for timestamps if a
19423 specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
19424 requested and a match is found. Also, if a specific timestamp
19425 property is requested, do not push non-relevant timestamps onto
19428 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19430 * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
19431 when grid is being made for today.
19433 2011-07-28 Matt Lundin <mdl@imapmail.org>
19435 * org-agenda.el (org-agenda-get-scheduled): Don't call
19436 `org-is-habit-p' until after checking for
19437 `org-agenda-skip-scheduled-if-done'.
19439 2011-07-28 Achim Gratz <Stromeko@nexgo.de>
19441 * org.el: Remove spurious linebreak introduced by earlier patch.
19443 * ob.el, ob-ref.el: Remove double fix of the same problem.
19445 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19447 * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
19449 2011-07-28 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
19451 * org-html.el (org-export-html-mathjax-template):
19452 Displaymath environment and MathJax.
19454 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
19456 * org-faces.el (org-agenda-current-time): New face.
19458 * org-agenda.el (org-agenda-show-current-time-in-grid):
19459 (org-agenda-current-time-string): New options.
19460 (org-agenda-add-time-grid-maybe): Add current time to time grid.
19462 2011-05-10 Jim Meyering <meyering@redhat.com>
19464 Fix doubled-word typos.
19465 * org-agenda.el (org-agenda-entry-types): the the -> the
19466 * org-table.el (org-table-get-remote-range): or or -> or
19467 * org-wl.el (org-wl-folder-type): the the -> the
19468 * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
19470 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19472 * org-src.el (org-src-switch-to-buffer):
19473 * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
19474 * org-mouse.el (org-mouse-agenda-type):
19475 * org-freemind.el (org-freemind-node-to-org):
19476 * ob-sql.el (org-babel-execute:sql):
19477 * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
19478 * ob-ref.el (org-babel-ref-resolve): Fix use of case.
19480 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
19482 * Version 23.3 released.
19484 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
19486 * org.el (org-blank-before-new-entry, org-context-in-file-links)
19487 (org-refile-targets, org-log-repeat, org-insert-link)
19488 (org-speed-command-default-hook, org-speed-command-hook)
19489 (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
19490 Fix typos in docstrings.
19491 (org-toggle-pretty-entities): Fix typo in message.
19493 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
19495 * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
19497 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
19499 * org-remember.el (org-remember-mode-map):
19500 * org-src.el (org-src-mode-map): Move initialization into declaration.
19502 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
19504 * org-remember.el (org-remember-mode):
19505 * org-capture.el (org-capture-mode): Don't run hook redundantly.
19507 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
19509 * org-faces.el (org-link): Inherit from link face.
19510 Suggested by Joakim Verona.
19512 2010-12-11 Tassilo Horn <tassilo@member.fsf.org>
19514 * org-footnote.el (org-footnote-create-definition): Place
19515 Footnotes section before message-signature-separator also in modes
19516 derived from message-mode.
19518 2010-12-11 Julien Danjou <julien@danjou.info>
19520 * org.el (org-make-tags-matcher): Remove useless cat-p value.
19522 2010-12-11 Julien Danjou <julien@danjou.info>
19524 * org.el (org-entry-properties): Enhance docstring.
19526 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19528 * org-list.el (org-list-top-point-with-indent)
19529 (org-list-bottom-point-with-indent): Pay also attention to
19530 'original-indentation property of text, as blocks are put to
19531 column 0 upon exporting.
19533 2010-12-11 Dan Davison <dandavison7@gmail.com>
19535 * ob.el (org-babel-remove-temporary-directory): Handle exception
19536 with message informing of failure to remove directory.
19538 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19540 * ob-clojure.el (org-babel-header-arg-names:clojure): Add
19541 `package' to the list of Clojure header arguments which will be read
19542 from heading properties.
19544 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19546 * org-inlinetask.el (org-inlinetask-export-templates): Add
19547 Sébastien Vauban's suggestion for LaTeX export in docstring. This is
19548 not default as it requires an additional LaTeX package: "todonotes".
19550 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19552 * org-inlinetask.el (org-inlinetask-export-templates): New variable.
19554 * org-inlinetask.el (org-inlinetask-export-handler): Make use of
19555 templates to export inline tasks.
19557 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19559 * org.el (org-current-level): Ignore inline tasks when getting current
19562 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19564 * org.el (org-indent-line-function): Ignore drawers inside inline
19565 tasks if the line to indent isn't inside an inline task itself.
19567 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19569 * org-inlinetask.el (org-inlinetask-get-task-level): New function.
19571 * org-indent.el (org-indent-add-properties): Find true level of
19572 indentation wrt inline tasks.
19574 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19576 * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
19578 * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
19580 * org-inlinetask.el (org-inlinetask-goto-end): New function.
19582 * org.el (org-mark-subtree): New command.
19584 * org.el (org-speed-commands-default, org-mode-map): Make use of
19587 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19589 * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
19590 from @<span class...> so it can be removed during LaTeX export.
19592 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19594 * ob.el (org-babel-insert-result): More informative code block
19595 evaluation messages.
19597 2010-12-11 Matt Lundin <mdl@imapmail.org>
19599 * org.el (org-make-heading-search-string): Optionally limit number
19600 of lines stored in file link search strings.
19601 (org-context-in-file-links): Add option to set to integer specifying
19604 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19606 * org-capture.el (org-capture-finalize): New prefix argument
19608 (org-capture-refile): Improve docstring.
19610 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19612 * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
19613 interaction engine.
19615 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19617 * org-agenda.el (org-agenda-list):
19618 (org-agenda-goto-today): Use `org-today'.
19620 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19622 * org-latex.el (org-export-latex-make-header): Swap \begin{document}
19623 and the title/author definitions.
19625 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19627 * org-macs.el: Better backup definition for
19628 `with-silent-modifications'.
19630 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19632 * ob-python.el (org-babel-execute:python): Rename "prefix" to
19634 (org-babel-python-evaluate): Rename "prefix" to "preamble".
19635 (org-babel-python-evaluate-external-process): Rename "prefix" to
19638 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19640 * ob.el (org-babel-examplize-region): Check if `end' is a marker
19641 or a point and handle appropriately.
19643 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19645 * ob-sql.el (org-babel-execute:sql): Explicitly set field
19646 separator to \t when importing tabular data.
19648 2010-12-11 Julien Danjou <julien@danjou.info>
19650 * org-agenda.el (org-agenda-custom-commands-local-options):
19651 Allow org-agenda-span to be a symbol.
19652 (org-agenda-ndays): Make obsolete.
19653 (org-agenda-span): New variable superseding org-agenda-ndays.
19654 (org-agenda-menu): Use org-agenda-current-span.
19655 (org-agenda-current-span): New local variable storing current
19657 (org-agenda-list): Take a span instead of ndays as argument.
19658 This function is now responsible for computing the ndays based
19660 (org-agenda-ndays-to-span): Return span only if number of days
19662 (org-agenda-span-to-ndays): New function.
19663 (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
19664 (org-agenda-goto-today): Use org-agenda-compute-starting-span.
19665 (org-agenda-later): Do not give compute a new span, use the
19667 (org-agenda-day-view, org-agenda-week-view)
19668 (org-agenda-month-view, org-agenda-year-view): Stop touching
19670 (org-agenda-change-time-span): Only compute starting-span.
19671 (org-agenda-compute-starting-span): New function derived from
19672 the old org-agenda-compute-time-span.
19673 (org-agenda-set-mode-name): Compute mode based on
19674 org-agenda-current-span.
19675 (org-agenda-span-name): New function.
19677 2010-12-11 Robert Pluim <rpluim@gmail.com> (tiny change)
19679 * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
19681 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19683 * org-clock.el (org-quarter-to-date): Define variables.
19684 (org-clock-special-range): Defin variables. Use org-floor*.
19685 (org-clocktable-write-default): Define tcol.
19687 * org-compat.el (org-floor*): New function.
19689 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19690 John Wiegley <jwiegley@gmail.com>
19692 * org-complete.el: New file.
19694 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19696 * org-clock.el (org-clocktable-write-default): Fix the % formula.
19698 2010-12-11 Matt Lundin <mdl@imapmail.org>
19700 * org-agenda.el (org-format-agenda-item): The value of
19701 org-category is not converted to a string unless it is defined.
19703 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19705 * ob-python.el (org-babel-execute:python): Pass the new "prefix"
19706 header argument through to external evaluation.
19707 (org-babel-python-evaluate): Pass the new "prefix" header argument
19708 through to external evaluation.
19709 (org-babel-python-evaluate-external-process): When specified prepend
19710 "prefix" to the file used in external evaluation.
19712 2010-12-11 Dan Davison <dandavison7@gmail.com>
19714 * ob-python.el (org-babel-python-evaluate-session): Change python
19715 module name from 'pp' to 'pprint'.
19717 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19719 * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
19720 from R session output, these are often the result of variable
19723 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19725 * ob-sql.el (orgtbl-to-csv): Declaring an external function to
19726 fix a compiler warning.
19728 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19730 * ob-eval.el (require): No longer require ob.el to allow
19731 requiring by ob.el.
19733 * ob.el (ob-eval): Require ob-eval.
19735 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19737 * ob.el (org-babel-confirm-evaluate): Show code block's name when
19738 it is available during evaluation query.
19740 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19742 * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
19744 (org-babel-execute:sql): Use sql specific body expansion function.
19745 (org-babel-sql-expand-vars): Insert variables into a sql code block.
19747 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19749 * ob.el (org-babel-insert-result): Using markers instead of
19750 points for more robust buffer anchors.
19752 2010-12-11 Julien Danjou <julien@danjou.info>
19754 * org-capture.el: Use org-today.
19756 2010-12-11 Julien Danjou <julien@danjou.info>
19758 * org-habit.el: Use org-today.
19760 2010-12-11 Julien Danjou <julien@danjou.info>
19762 * org.el (org-auto-repeat-maybe): Use org-today.
19764 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19766 * org-clock.el (org-day-of-week): New function.
19767 (org-quarter-to-date): New function.
19768 (org-clock-special-range): Implement quarters.
19770 2010-12-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
19772 * org.el (org-complete-tags-always-offer-all-agenda-tags):
19775 2010-12-11 Julien Danjou <julien@danjou.info>
19777 * org-agenda.el (org-format-agenda-item): Convert category to a string
19778 if it is a symbol. This fixes the following call to
19779 org-agenda-get-category-icon which fails if category is not a string.
19781 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19783 * ob-clojure.el: Updated requirements documentation to mention
19784 the minimum version of Clojure.
19785 (org-babel-expand-body:clojure): Fully qualified function name.
19787 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19789 * org-latex.el (org-export-latex-lists): Do not add an
19790 unnecessary newline character after a list.
19792 * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
19793 point is just after a non blank line.
19795 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19797 * ob.el (org-babel-examplize-region): Remove old assertion which
19798 no longer applies to the result insertion code.
19800 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19802 * ob-python.el (org-babel-execute:python): Use a :return header
19803 argument for external evaluation in which the code block body need
19804 to be wrapped in a function.
19806 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19808 * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
19811 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19813 * org.el (org-edit-special): Edit formulas when in TBLMF line.
19815 2010-12-11 Allen S. Rout <asr@ufl.edu> (tiny change)
19817 * org-capture.el (org-capture-after-finalize-hook): New hook.
19818 (org-capture-finalize): Run the new hook.
19820 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19822 * ob-clojure.el (org-babel-expand-body:clojure): Support for
19823 pretty printing of Clojure code and data.
19825 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19827 * ob.el (org-babel-insert-result): No longer escape results which
19828 will be wrapped in a block.
19830 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19832 * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
19833 warning and added documentation string.
19835 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19837 * ob-clojure.el (org-babel-execute:clojure): Remade using slime
19838 for all code evaluation.
19840 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19842 * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
19843 the column as well.
19845 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19847 * ob.el (org-babel-confirm-evaluate): More descriptive message
19848 when evaluation is aborted or disabled.
19850 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19852 * ob.el (org-babel-insert-result): Responds to new "wrap" header
19854 (org-babel-merge-params): Includes new "wrap" header argument in
19855 one of the results header argument exclusive groups.
19857 2010-12-11 David Maus <dmaus@ictsoc.de>
19859 * org-macs.el (with-silent-modifications): Fix condition for
19860 with-silent-modification.
19862 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19864 * ob.el (org-babel-parse-header-arguments): Stripping trailing
19865 spaces off of header arguments (even the first one).
19867 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19869 * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
19870 single quotes which is the best practice.
19871 (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
19872 more robust parsing of shell output.
19874 2010-12-11 Dan Davison <dandavison7@gmail.com>
19876 * org.el (org-additional-option-like-keywords): Add more keywords,
19877 and colons to some old ones.
19879 2010-12-11 Dan Davison <dandavison7@gmail.com>
19881 * ob-eval.el (org-babel-error-buffer-name): Define new variable.
19883 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19885 * ob-python.el (org-babel-python-table-or-string):
19886 Using `org-babel-script-escape' for reading string input from scripting
19889 2010-12-11 Achim Gratz <Stromeko@nexgo.de> (tiny change)
19891 * org-macs.el (org-called-interactively-p): Wrap function call in
19893 (with-silent-modifications): Declare macro for Emacs < 23.2.
19895 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19897 * ob.el (org-babel-parse-header-arguments): Remove addition of
19898 ":" to singleton first header arguments as it was leading to errors.
19900 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19902 * org-latex.el (org-export-latex-make-header): Run the title through
19903 `org-export-latex-fontify-headline'.
19904 (org-export-latex-fontify-headline): Do the protection of math
19905 snippets also here.
19907 2010-12-11 Richard Lawrence <richard.lawrence@berkeley.edu>
19909 * org-latex.el (org-export-as-latex): Sent the section title
19910 through the preprocessor.
19912 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19914 * org-html.el (org-html-level-start): Mark listified headings
19917 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19919 * org.el (org-open-at-point): Don't do footnote action if cursor is
19922 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19924 * org.el (org-edit-special): Check also for TBLFM line.
19926 2010-12-11 Achim Gratz <Stromeko@Stromeko.DE> (tiny change)
19928 * org-clock.el (org-get-clocktable): Previous patch incorrectly
19929 required whitespace in front of #+BEGIN: and #+END:.
19931 2010-12-11 Dan Davison <dandavison7@gmail.com>
19933 * org-src.el (org-edit-src-code): Allow region to be inherited by
19934 edit buffer when mark is one character beyond end of src block.
19936 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19938 * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
19939 checking item indentation.
19941 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19943 * ob.el (org-babel-map-src-blocks): Move to earlier in the file
19944 and now autoloading.
19946 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19948 * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
19949 for testing list membership.
19951 * ob.el (org-babel-read-result): Use higher level function for
19952 testing list membership.
19953 (org-babel-result-end): Use higher level function for testing list
19956 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19958 * ob-sqlite.el (ob-eval): Require ob-eval for external command
19960 (org-babel-execute:sqlite): No longer uses the init option for
19961 passing commands to sqlite.
19963 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19965 * org.el (org-indent-line-function): Drawers and blocks have no
19966 influence on indentation of text below. Also fix indentation
19967 problem with a block at column 0 and add a special case for
19970 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19972 * ob.el (org-babel-map-src-blocks): Ensure that the file argument
19973 is only evaluated once.
19975 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19977 * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
19979 (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
19981 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19983 * ob-tangle.el (org-babel-load-file): Can be called interactively.
19985 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
19987 * org-table.el (orgtbl-after-send-table-hook): New hook.
19988 (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
19990 (orgtbl-send-table): Return the number of sent tables, or nil if no
19991 sending has happened.
19993 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19995 * org.el (org-get-priority-function): New option.
19996 (org-get-priority): Call `org-get-priority-function' if that
19999 2010-12-11 Dan Davison <dandavison7@gmail.com>
20001 * ob-table.el (org-babel-table-truncate-at-newline): Only add
20002 "..." if there is something after the newline.
20004 2010-12-11 Achim Gratz <Stromeko@nexgo.de> (tiny change)
20006 * org-clock.el (org-get-clocktable):
20007 (org-in-clocktable-p):
20008 (org-clocktable-shift):
20009 (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20011 2010-12-11 Puneeth Chaganti <punchagan@gmail.com>
20013 * org-exp.el (org-export-handle-include-files): Support :minlevel
20015 (org-get-file-contents): New argument minlevel to demote included
20018 2010-12-11 Noorul Islam <noorul@noorul.com>
20020 * org-latex.el (org-export-latex-hyperref-format): New option.
20021 (org-export-latex-href-format): Rename the existing variable
20022 `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20023 (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20024 `org-export-latex-href-format'.
20026 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20028 * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20029 buffer exists before it is used.
20031 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20033 * org-exp.el (org-export-preprocess-string): Delay code block
20034 processing a bit to allow correct list parsing in the export string.
20036 2010-12-11 Christopher Allan Webber <cwebber@dustycloud.org>
20038 * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20039 (org-agenda-time-of-day-to-ampm): New function.
20040 (org-agenda-time-of-day-to-ampm-maybe): New function.
20041 (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20043 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20045 * org-faces.el (org-cycle-level-faces): New option.
20047 * org.el (org-get-level-face): Honor org-cycle-level-faces.
20049 2010-12-11 Julien Danjou <julien@danjou.info>
20051 * org-agenda.el (org-agenda-today): New function.
20052 (org-agenda-get-day-face): New function.
20053 (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20054 (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20055 (org-todo-list): Use org-agenda-today.
20056 (org-get-all-dates): Use org-agenda-today.
20057 (org-agenda-day-face-function): New variable.
20058 (org-agenda-get-day-face): Use org-agenda-day-face-function.
20060 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20062 * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20065 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20067 * org-html.el (org-export-as-html): Do not treat partially
20068 protected lines as if they were fully protected.
20070 2010-12-11 Dan Davison <dandavison7@gmail.com>
20072 * org-exp.el (org-export-format-source-code-or-example):
20073 Remove hard-wired configuration of minted export
20074 (org-export-latex-minted-with-line-numbers): Remove variable.
20076 2010-12-11 Bastien Guerry <bzg@gnu.org>
20078 * org-clock.el (org-dblock-write:clocktable): Fix double
20079 reference to `link' in let construct.
20080 (org-clock-clocktable-formatter): Fix typo in docstring.
20081 (org-clocktable-write-default): Fix typo in docstring.
20083 2010-12-11 David Maus <dmaus@ictsoc.de>
20085 * org-protocol.el (org-protocol-unhex-string): Normalize percent
20086 escape sequence to upper case letters.
20088 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20090 * ob-lob.el (org-babel-lob-get-info): Include pass-through
20091 header arguments in results variable header argument string.
20093 2010-12-11 David Maus <dmaus@ictsoc.de>
20095 * org-exp.el (org-export-visible): Limit search for in-buffer options
20096 beginning of first headline.
20098 2010-12-11 David Maus <dmaus@ictsoc.de>
20100 * org.el (org-open-at-point): Remove stale link handler for news:
20103 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20105 * org-clock.el (org-clocktable-write-default): Better handling of
20108 2010-12-11 Julien Danjou <julien@danjou.info>
20110 * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20112 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
20114 * org.el (org-indent-line-function): Simplify code and remove bug that
20115 would insert a tab at the beginning of the line when trying to
20118 2010-12-11 Julien Danjou <julien@danjou.info>
20120 * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20122 2010-12-11 Julien Danjou <julien@danjou.info>
20124 * org-agenda.el (org-agenda-prefix-format): Insert place holder
20126 (org-agenda-category-icon-alist): New option.
20127 (org-agenda-get-category-icon): New function.
20128 (org-format-agenda-item): Support for icons.
20129 (org-compile-prefix-format): Support for icons.
20131 2010-12-11 Julien Danjou <julien@danjou.info>
20133 * org-compat.el: Create defalias for `string-match-p' and
20136 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
20138 * ob-calc.el (org-babel-execute:calc): Support for variables --
20139 converts :var variables in calc variables.
20141 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20143 * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20145 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20147 * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20149 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20151 * org-id.el (org-id-store-link): Test for org-mode before checking
20154 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
20156 * org.el (org-shorten-string): New function.
20158 * org-exp.el (org-export-convert-protected-spaces): New function.
20159 (org-export-preprocess-string):
20160 Call `org-export-convert-protected-spaces' to handle new hard spaces.
20162 2010-12-11 David Maus <dmaus@ictsoc.de>
20164 * org.el (org-narrow-to-subtree): Check for heading that ends at end
20167 2010-11-12 Carsten Dominik <carsten.dominik@gmail.com>
20169 * org-capture.el (org-capture-templates): Remove autoload from
20172 * ob-lisp.el (slime): Don't expect slime to be present.
20174 2010-11-11 Dan Davison <dandavison7@gmail.com>
20176 * ob.el: `copy-sequence' suffices to copy alist; no need for
20179 2010-11-11 Dan Davison <dandavison7@gmail.com>
20181 * ob.el (org-babel-execute-src-block): If ":results file" is in
20182 effect, then ensure that the value of :file is returned as the
20183 result; don't rely on language files for this.
20185 2010-11-11 Dan Davison <dandavison7@gmail.com>
20187 * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20188 structure by side-effects of `sort'.
20190 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
20192 * org-list.el (org-list-bottom-point-with-indent): Do not check
20193 indentation of a non-empty blank line.
20195 * org-list.el (org-sort-list): Sort a list with point anywhere
20198 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20200 * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20201 hopefully better error messages.
20203 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20205 * org.el (org-babel-load-languages): Adding calc.
20207 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20209 * ob.el (org-babel-initiate-session): Don't resolve variable
20210 references unless prefix arg is supplied.
20212 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20214 * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20215 refers to the correct stack.
20217 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20219 * ob-calc.el: Adding the beginnings of support for calc code
20222 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20224 * ob-tangle.el (org-babel-update-block-body): Declaring function
20225 for updating code block bodies.
20226 (org-babel-spec-to-string):
20227 (org-babel-detangle): Detangle all tangled and commented code
20228 blocks in the current file back to org.
20229 (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20230 file back to the originating org-mode code block ob-tangle:
20231 detangle changes in code files back to the original org files.
20233 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20235 * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20236 (org-babel-tangle-comment-format-end): Fix typo.
20238 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20240 * org-exp.el (org-export-format-source-code-or-example):
20241 Use minted for latex source code export if `org-export-latex-listings'
20242 has the value 'minted.
20244 * org-latex.el (org-export-latex-listings): Document special value
20247 * org-latex.el (org-export-latex-minted): Delete variable.
20249 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20251 * ob.el (org-babel-get-src-block-info): Retrieve contents of
20252 parentheses, excluding parentheses themselves.
20254 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20256 * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20257 Fix bug in gnuplot data file assignment using user variables.
20259 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20261 * ob-latex.el (org-babel-execute:latex): Adding new :headers
20262 header argument for latex code blocks.
20264 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20266 * org-capture.el (org-capture-templates): New capture property
20268 (org-capture-finalize): Kill target buffer if that is desired.
20269 (org-capture-target-buffer): Remember if we have to make the buffer.
20271 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20273 * org-clock.el (org-dblock-write:clocktable): Fix bug when
20274 computing clock tables.
20276 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20278 * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20279 to caller even if no table is generated.
20281 2010-11-11 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
20283 * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20284 values from diary entries.
20286 * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20289 * org.el (org-diary-sexp-entry): Handle lists as return values
20290 from diary entries.
20292 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20294 * org-capture.el (org-capture-empty-lines-before):
20295 (org-capture-empty-lines-after): Make sure the n=0 does not insert
20298 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20300 * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20301 message when clojure binary is not found.
20303 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20305 * org-html.el (org-format-table-html): New argument DOCBOOK.
20306 (org-format-org-table-html): New argument DOCBOOK. When set, use
20307 align instead of class to align table fields.
20309 * org-docbook.el (org-export-as-docbook): Specify the docbook
20310 argument for the table converter.
20312 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20314 * org-macs.el (org-called-interactively-p): New macro.
20316 * org-freemind.el: No longer require 'rx.
20317 (org-freemind): New customization group, use it for all the
20319 (org-export-as-freemind): Add docstring.
20320 (org-freemind-show): Improve filen naming.
20321 (org-freemind-convert-links-helper): New function.
20322 (org-freemind-bol-helper-base-indent): New variable.
20323 (org-freemind-bol-helper): New function.
20324 (org-freemind-node-css-style): New option.
20325 (org-freemind-node-pattern): New variable.
20326 (org-freemind-from-org-mode): Better docstring.
20328 2010-11-11 David Maus <dmaus@ictsoc.de>
20330 * ob-haskell.el (org-babel-variable-assignments:haskell):
20331 Don't pass more than two arguments to mapc.
20333 2010-11-11 David Maus <dmaus@ictsoc.de>
20335 * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20337 2010-11-11 David Maus <dmaus@ictsoc.de>
20339 * org-footnote.el (message-signature-separator): Defvar to silence
20342 2010-11-11 David Maus <dmaus@ictsoc.de>
20344 * org-exp.el (org-export-string): Fix reference to wrong symbol.
20346 2010-11-11 Jambunathan K <kjambunathan@gmail.com>
20348 * org.el (org-link-search): Return 'dedicated on successful match
20349 when org-link-search-must-match-exact-headline is set to t.
20351 2010-11-11 Daniel Clemente <n142857@gmail.com>
20353 * org-html.el (org-html-make-link): Append fragment to file: links
20356 2010-11-11 Tassilo Horn <tassilo@member.fsf.org>
20358 * org-footnote.el (org-footnote-create-definition)
20359 (org-footnote-goto-local-insertion-point): Add footnotes before
20360 signature when in message-mode.
20362 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20364 * org.el (org-display-inline-images): Improve regexp.
20366 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20368 * org.el (org-cycle): Make sure resetting to startup visibility
20369 works after another cycle command.
20371 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20373 * org-exp.el (org-export-string): New function org-export-string
20374 can be used to convert a string of test in org-mode markup to a
20377 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20379 * org.el (org-display-inline-images): Allow non-ASCII characters
20380 in image file names. Save match data.
20382 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20384 * org.el (org-auto-repeat-maybe): Fix shifting multiple time
20387 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20389 * org-exp.el (org-store-forced-table-alignment):
20390 (org-export-remove-special-table-lines): Allow the "c" cookie for
20393 * org-html.el (org-export-table-header-tags):
20394 (org-export-table-data-tags): Add another %s format for the
20396 (org-export-html-table-align-individual-fields): New option.
20397 (org-format-org-table-html): Implement field-by-field alignment
20398 and support centering.
20399 (org-format-table-table-html): Make sure the new table tag formats
20400 don't break this function.
20402 * org-table.el (org-table-cookie-line-p):
20403 (org-table-align): Allow for the <c> cookie.
20405 * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
20407 2010-11-11 David Maus <dmaus@ictsoc.de>
20409 * org-exp.el (org-export-normalize-links): Skip normalization of
20410 plain links that are part of another link.
20412 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20414 * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
20416 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20418 * org-indent.el (org-indent-add-properties):
20419 Use `with-silent-modifications'.
20420 (org-indent-remove-properties): Use `with-silent-modifications'.
20422 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20424 * org-table.el (org-table-cookie-line-p): Fix indentation.
20426 * org-exp.el (org-store-forced-table-alignment): New function.
20427 (org-export-preprocess-string):
20428 Call `org-store-forced-table-alignment'.
20430 * org-html.el (org-format-org-table-html): Use stored alignment
20433 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20435 * ob.el (org-babel-execute-src-block): Respects prefix argument
20436 (which forces re-calculation).
20438 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20440 * ob.el (org-babel-execute-src-block): Remove needless param
20441 sorting from ob-execute-src-block, the params are sorted already
20444 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20446 * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
20447 header argument level.
20449 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20451 * ob.el (org-babel-sha1-hash): Consider words in different order
20452 as different input.
20454 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20456 * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
20458 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20460 * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
20461 structure of an Org-mode table (list of lists).
20463 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20465 * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
20466 (reference to unassigned variable `src-lang' and avoid calling
20467 org-babel-get-src-block-info twice.
20469 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20471 * ob.el (org-babel-demarcate-block): Update to reflect the new
20472 info list contents.
20474 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20476 * org-src.el (org-edit-src-code): Supply non-nil argument to
20477 `org-babel-get-src-block-info' to avoid resolving variable
20480 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20482 * ob.el (org-babel-map-src-blocks): Fix minor bug in and
20483 improved efficiency of org-babel-map-src-blocks.
20485 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20487 * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
20488 checks that a code block will actually be tangled before
20489 collecting it's full information (a process which could involve
20490 the execution of other code blocks).
20492 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20494 * ob.el (org-babel-demarcate-block): Use light version of
20495 `org-babel-get-src-block-info'.
20497 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20499 * ob.el (org-babel-sha1-hash): Now handles more complex types in
20502 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20504 * ob.el (org-babel-execute-src-block): Generally using the new
20505 more informative params
20506 (org-babel-process-params): Don't forget the :var portion of
20507 variable assignments.
20509 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20511 * ob-table.el (sbe): Simplify to reflect to var resolution.
20513 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20515 * ob-ref.el (org-babel-ref-resolve): Bringing the referent
20516 arguments back to their params before evaluation.
20518 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20520 * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
20523 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20525 * ob-table.el (sbe): Use `org-babel-process-params params' instead
20526 of `org-babel-expand-variables'.
20528 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20530 * ob-C.el (org-babel-C-execute): Remove call to
20531 org-babel-process-params which should no longer be called from
20532 within a language file.
20534 * ob-R.el (org-babel-execute:R): Remove call to
20535 org-babel-process-params which should no longer be called from
20536 within a language file
20537 (org-babel-R-variable-assignments): Remove call to
20538 org-babel-process-params which should no longer be called from
20539 within a language file.
20541 * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
20542 org-babel-process-params which should no longer be called from
20543 within a language file.
20545 * ob-clojure.el (org-babel-execute:clojure): Remove call to
20546 org-babel-process-params which should no longer be called from
20547 within a language file.
20549 * ob-dot.el (org-babel-execute:dot): Remove call to
20550 org-babel-process-params which should no longer be called from
20551 within a language file.
20553 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
20554 call to org-babel-process-params which should no longer be called
20555 from within a language file
20556 (org-babel-execute:emacs-lisp): Remove call to
20557 org-babel-process-params which should no longer be called from
20558 within a language file.
20560 * ob-haskell.el (org-babel-execute:haskell): Remove call to
20561 org-babel-process-params which should no longer be called from
20562 within a language file.
20564 * ob-js.el (org-babel-execute:js): Remove call to
20565 org-babel-process-params which should no longer be called from
20566 within a language file.
20568 * ob-lisp.el (org-babel-execute:lisp): Remove call to
20569 org-babel-process-params which should no longer be called from
20570 within a language file.
20572 * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
20573 org-babel-process-params which should no longer be called from
20574 within a language file.
20576 * ob-octave.el (org-babel-execute:octave): Remove call to
20577 org-babel-process-params which should no longer be called from
20578 within a language file.
20580 * ob-perl.el (org-babel-execute:perl): Remove call to
20581 org-babel-process-params which should no longer be called from
20582 within a language file.
20584 * ob-python.el (org-babel-execute:python): Remove call to
20585 org-babel-process-params which should no longer be called from
20586 within a language file.
20588 * ob-ruby.el (org-babel-execute:ruby): Remove call to
20589 org-babel-process-params which should no longer be called from
20590 within a language file.
20592 * ob-scheme.el (org-babel-execute:scheme): Remove call to
20593 org-babel-process-params which should no longer be called from
20594 within a language file.
20596 * ob-screen.el (org-babel-execute:screen): Remove call to
20597 org-babel-process-params which should no longer be called from
20598 within a language file
20599 (org-babel-prep-session:screen): Remove call to
20600 org-babel-process-params which should no longer be called from
20601 within a language file.
20603 * ob-sh.el (org-babel-execute:sh): Remove call to
20604 org-babel-process-params which should no longer be called from
20605 within a language file.
20607 * ob-sql.el (org-babel-execute:sql): Remove call to
20608 org-babel-process-params which should no longer be called from
20609 within a language file.
20611 * ob-haskell.el (org-babel-execute:haskell): Remove reference to
20614 * ob-clojure.el (org-babel-execute:clojure): Remove reference to
20617 * ob-R.el (org-babel-execute:R): Remove reference to processed
20620 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20622 * ob-sql.el (org-babel-execute:sql): Use generic expansion
20624 (org-babel-expand-body:sql): Delete function.
20626 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20628 * ob-sh.el (org-babel-execute:sh): Use generic expansion function
20629 (org-babel-expand-body:sh): Delete function
20630 (org-babel-prep-session:sh): Change name of called function
20631 (org-babel-variable-assignments:sh): Change function name.
20633 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20635 * ob-screen.el (org-babel-execute:screen): Use generic expansion
20637 (org-babel-expand-body:screen): Delete function
20638 (org-babel-prep-session:screen): Remove references to processed
20641 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20643 * ob-sass.el (org-babel-execute:sass): Use generic expansion
20645 (org-babel-expand-body:sass): Delete function.
20647 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20649 * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
20651 (org-babel-prep-session:ruby): Use new variable assignment
20653 (org-babel-variable-assignments:ruby): New function
20654 (org-babel-expand-body:ruby): Delete function.
20656 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20658 * ob-python.el (org-babel-execute:python): Use generic expansion
20660 (org-babel-prep-session:python): Change name of called function
20661 (org-babel-variable-assignments:python): Change function name
20662 (org-babel-expand-body:python): Delete function.
20664 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20666 * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
20667 (automatically handled by generic version).
20669 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20671 * ob-perl.el (org-babel-execute:perl): Use generic expansion
20673 (org-babel-expand-body:perl): Delete function
20674 (org-babel-variable-assignments:perl): New function.
20676 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20678 * ob-org.el (org-babel-expand-body:org): Delete function
20679 (automatically handled by generic version).
20681 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20683 * ob-octave.el (org-babel-execute:octave): Use generic expansion
20685 (org-babel-variable-assignments:octave): Change name of function
20686 (org-babel-variable-assignments:matlab): New defalias
20687 (org-babel-prep-session:octave): Change name of function
20688 (org-babel-expand-body:matlab): Delete function
20689 (org-babel-expand-body:octave): Delete function.
20691 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20693 * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
20695 (org-babel-variable-assignments:ocaml): New function
20696 (org-babel-expand-body:ocaml): Delete function.
20698 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20700 * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
20701 (automatically handled by generic version).
20703 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20705 * ob-js.el (org-babel-execute:js): Use new variable assignment
20707 (org-babel-expand-body:js): Delete function
20708 (org-babel-prep-session:js): Use new variable assignment function
20709 (org-babel-variable-assignments:js): New function.
20711 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20713 * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
20715 (org-babel-expand-body:haskell): Delete function
20716 (org-babel-prep-session:haskell): Use variable assignment function
20717 (org-babel-variable-assignments:haskell): New function.
20719 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20721 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
20722 assignment function
20723 (org-babel-prep-session:gnuplot): Use variable assignment function
20724 (org-babel-variable-assignments:gnuplot): New function.
20726 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20728 * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
20729 (automatically handled by generic version).
20731 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20733 * ob-css.el (org-babel-expand-body:css): Delete function
20734 (automatically handled by generic version).
20736 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20738 * ob-asymptote.el (org-babel-execute:asymptote): Use generic
20740 (org-babel-expand-body:asymptote): Delete function
20741 (org-babel-variable-assignments:asymptote): New function.
20743 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20745 * ob-R.el (org-babel-expand-body:R): Use new function
20746 `org-babel-variable-assignments:R'; don't trim body.
20747 (org-babel-execute:R): Respond to changes in
20748 `org-babel-expand-body:R'
20749 (org-babel-prep-session:R): Called function is now named
20750 `org-babel-variable-assignments:R'
20751 (org-babel-variable-assignments:R): Receives processed-params as
20752 new optional argument.
20754 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20756 * ob-C.el (org-babel-C-expand): Don't trim body.
20758 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20760 * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
20761 obtaining variable references.
20763 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20765 * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
20766 assignment lines to generic expansion command.
20768 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20770 * ob.el (org-babel-expand-src-block): Supply variable assignment
20771 lines to generic expansion function
20772 (org-babel-expand-body:generic): Prepend body with optional
20773 variable assignment lines.
20775 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20777 * ob-exp.el (org-babel-exp-results): Replaced old function call.
20779 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20781 * ob-lob.el (org-babel-lob-execute): Now expanding variable
20782 references before execution.
20784 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20786 * ob.el (org-babel-execute-src-block): Only sort parameters if
20787 it's required for caching.
20789 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20791 * ob-table.el (sbe): Reworking for better indentation and to
20792 integrate the new variable resolution.
20794 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20796 * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
20797 variables when resolving references.
20799 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20801 * ob.el (org-babel-merge-params): Fix order or precedence for
20804 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20806 * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
20807 * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
20808 (org-babel-R-variable-assignments):
20809 * ob-asymptote.el (org-babel-expand-body:asymptote)
20810 (org-babel-execute:asymptote):
20811 * ob-clojure.el (org-babel-expand-body:clojure)
20812 (org-babel-execute:clojure):
20813 * ob-css.el (org-babel-expand-body:css):
20814 * ob-ditaa.el (org-babel-expand-body:ditaa):
20815 * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
20816 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
20817 (org-babel-execute:emacs-lisp):
20818 * ob-gnuplot.el (org-babel-expand-body:gnuplot)
20819 * ob-haskell.el (org-babel-expand-body:haskell)
20820 (org-babel-execute:haskell, org-babel-load-session:haskell)
20821 (org-babel-prep-session:haskell):
20822 * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
20823 * ob-latex.el (org-babel-expand-body:latex):
20824 * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
20825 * ob-mscgen.el (org-babel-expand-body:mscgen):
20826 * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
20827 * ob-octave.el (org-babel-expand-body:matlab)
20828 (org-babel-expand-body:octave, org-babel-execute:octave)
20829 (org-babel-octave-variable-assignments):
20830 * ob-org.el (org-babel-expand-body:org):
20831 * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
20832 * ob-plantuml.el (org-babel-expand-body:plantuml):
20833 * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
20834 (org-babel-python-variable-assignments):
20835 * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
20836 * ob-sass.el (org-babel-expand-body:sass):
20837 * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
20838 * ob-screen.el (org-babel-expand-body:screen):
20839 * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
20840 (org-babel-sh-variable-assignments):
20841 * ob-sql.el (org-babel-expand-body:sql):
20842 * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
20843 * ob.el (org-babel-expand-body:generic):
20844 Remove obsoleted optional third argument.
20846 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20848 * ob-clojure.el (org-babel-prep-session:clojure): Purging all
20849 calls to removed org-babel-ref-variables.
20851 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20853 * ob-lob.el (org-babel-lob-ingest): Now returns the count of
20854 ingested code blocks.
20856 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20858 * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
20859 information from within the original export file.
20861 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20863 * ob.el (org-babel-get-src-block-info): Small but crucial fix)
20864 (this should return nil if not match found.
20866 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20868 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
20869 Whitespace (org-babel-execute:emacs-lisp): Whitespace.
20871 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20873 * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
20876 * ob-python.el (org-babel-python-variable-assignments):
20877 Provide missing docstring.
20879 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20881 * ob-octave.el (org-babel-expand-body:octave): Refactor: break
20882 variable assignment part out into a separate function
20883 (org-babel-octave-variable-assignments): New function constructing
20884 list of variable assignment statements
20885 (org-babel-prep-session:octave): Use new function
20886 `org-babel-octave-variable-assignments' instead of previous
20887 (incorrect) variable assignment code.
20889 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20891 * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
20892 assignment part out into a separate function
20893 (org-babel-sh-variable-assignments): New function constructing
20894 list of variable assignment statements
20895 (org-babel-prep-session:sh): Use new function
20896 `org-babel-sh-variable-assignments' instead of previous
20897 (incorrect) variable assignment code.
20899 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20901 * ob-python.el (org-babel-expand-body:python): Refactor: break
20902 variable assignment part out into a separate function
20903 (org-babel-python-variable-assignments): New function constructing
20904 list of variable assignment statements
20905 (org-babel-prep-session:python): Use new function
20906 `org-babel-python-variable-assignments' instead of previous
20907 (incorrect) variable assignment code.
20909 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20911 * ob-R.el (org-babel-expand-body:R): Refactor: break variable
20912 assignment part out into a separate function
20913 (org-babel-R-variable-assignments): New function constructing list
20914 of variable assignment statements
20915 (org-babel-prep-session:R): Use new function
20916 `org-babel-R-variable-assignments' instead of previous
20917 (incorrect) variable assignment code.
20919 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20921 * ob.el (org-babel-initiate-session): Better variable names.
20923 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20925 * ob.el (org-number-sequence):
20926 Declared * ob-R.el (org-number-sequence): Declared.
20928 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20930 * ob.el (org-babel-map-src-blocks): Store correct value of
20933 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20935 * ob.el (org-babel-mark-block): New function to mark the body of a
20936 src block in the style of `mark-defun'.
20938 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20940 * org-compat.el (org-number-sequence): New function.
20942 * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
20944 * ob.el (org-babel-where-is-src-block-result):
20945 Use `org-number-sequence'.
20946 (org-babel-current-buffer-properties): Fix variable definition.
20948 * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
20950 * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
20951 version of `shell-command'.
20953 * org-latex.el (org-export-as-pdf): Use the 2-argument version of
20956 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20958 * org-list.el (org-list-search-unenclosed-generic): Replace call
20961 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20963 * org.el (org-agenda-jump-prefer-future): New option.
20965 * org-agenda.el (org-agenda-goto-date):
20966 Use `org-agenda-jump-prefer-future'.
20968 2010-11-11 Noorul Islam <noorul@noorul.com>
20970 * org-latex.el (org-export-latex-links): Replaced hard coded
20971 hyperref format with custom variable
20972 `org-export-latex-hyperref-format'.
20974 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20976 * org.el (org-insert-heading): Fix docstring.
20978 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
20980 * org-capture.el (org-capture-place-entry): If the first line is
20981 already a headline, just stay there.
20983 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20985 * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
20988 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20990 * org-ascii.el (org-ascii-replace-entities): Match an optional {}
20993 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20995 * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
20998 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21000 * org.el (org-insert-heading): When on the headline of an inline
21001 task, insert another inline tasks.
21003 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21005 * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21006 links for blocks that will actually tangle.
21008 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21010 * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21011 in expanded shell bodies.
21013 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21015 * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21016 newline characters.
21018 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21020 * ob-sh.el (org-babel-expand-body:sh): Align code.
21022 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21024 * ob.el (org-babel-params-from-properties): Max line with at <=80.
21026 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21028 * org-latex.el (org-export-latex-listings-langs): Clojure is now
21029 recognized as a lisp.
21031 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21033 * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21034 to interpret property as header argument value.
21036 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21038 * ob.el (org-babel-parse-header-arguments): Simplify reading of
21041 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21043 * org-publish.el (org-publish-org-to-ascii):
21044 (org-publish-org-to-latin1):
21045 (org-publish-org-to-utf8): New functions.
21047 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21049 * org.el (org-insert-heading): Skip inline tasks when trying to
21050 insert a new heading after the end of the subtree.
21052 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21054 * org-inlinetask.el (org-inlinetask-min-level): Set customization
21055 type to integer or nil.
21057 * org.el (org-insert-heading): When after an inline task, do not
21058 use level but go back to headline level before the inline task.
21060 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21062 * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21064 * org.el (org-indent-line-function): Fix indentation of inline
21067 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21069 * org.el (org-activate-links): Fix customize type.
21071 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21073 * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21076 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21078 * org-latex.el (org-export-latex-minted): Document pygments
21081 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21083 * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21084 file if encryption has been turned on.
21085 (org-mobile-copy-agenda-files): Avoid double encryption of
21088 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21090 * org-exp.el (org-export-latex-minted-with-line-numbers):
21091 Ensure that variable is declared.
21093 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21095 * ob-python.el (org-src-preserve-indentation): Fix compiler
21098 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21100 * org-exp.el (org-export-format-source-code-or-example):
21101 Latex formatting of source code blocks using the minted package
21102 (org-export-plist-vars): Add :latex-minted property
21103 (org-export-latex-minted): Ensure variable is defined
21104 (org-export-latex-minted-langs): Ensure variable is defined.
21106 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21108 * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21110 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21112 * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21114 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21116 * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21117 when `org-src-preserve-indentation' is non-nil.
21119 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21121 * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21122 of blocks added to Library of Babel.
21124 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21126 * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21129 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21131 * org-beamer.el (org-beamer-place-default-actions-for-lists):
21132 Fix typo in regexp.
21134 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21136 * org-list.el (org-toggle-checkbox): Avoid some boundary error
21137 when inserting a checkbox in an empty last item of a list.
21139 2010-11-11 David Maus <dmaus@ictsoc.de>
21141 * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21142 Query article number from file is nil by default.
21144 2010-11-11 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
21146 * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21148 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21150 * org-capture.el (org-capture-place-entry): Move to `beg' before
21151 searching for `%?'.
21153 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21155 * org.el (org-format-latex): Fix mathjax treatment of single
21156 letters in between dollars.
21158 2010-11-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
21160 * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21163 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21165 * org.el (org-blank-before-new-entry): Improve docstring.
21167 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21169 * org-mobile.el (org-mobile-force-id-on-agenda-items):
21171 (org-mobile-write-agenda-for-mobile): Use outline path if we do
21172 not have an ID and are not allowed to make one.
21173 (org-mobile-get-outline-path-link): New function.
21175 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21177 * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21179 (org-mobile-write-agenda-for-mobile): Use the right name, even if
21180 the file get encrypted.
21181 (org-mobile-move-capture): Only delete tempfile if it does exist.
21183 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21185 * ob.el (org-babel-number-p): Fix documentation string.
21187 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21189 * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21190 "tangle" as a positive argument for the :noweb header argument
21193 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21195 * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21196 have links, with tests.
21198 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21200 * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21202 (org-export-latex-get-error): New function.
21203 (org-export-as-pdf): Give an indication of the errors that
21204 happened during processing.
21206 2010-11-11 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
21208 * org-exp.el (org-export-language-setup): Fix Polish entries.
21210 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21212 * org.el (org-set-tags): Allow comma as a separator when
21213 specifying tags at the completion interface.
21214 (org-tags-completion-function): Allow comma as a separator when
21215 specifying tags at the completion interface.
21217 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21219 * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21220 export-file if exporting from a buffer which is not visiting a
21223 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21225 * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21226 name in link construction if there is a heading to follow it.
21228 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21230 * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21231 as an allowed extension.
21233 2010-11-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
21235 * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21236 with zeros. Start applying face earlier.
21238 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21240 * ob.el (or): Don't create org-babel-temporary-directory in batch
21241 as it won't be removed by emacs-kill-hook
21242 (org-babel-remove-temporary-directory): Only try to remove this
21243 directory if it exists.
21245 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21247 * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21250 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21252 * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21253 the tangling message.
21255 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21257 * ob.el (org-babel-load-languages): Fixes compiler warning.
21259 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21261 * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21264 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21266 * org-ascii.el (org-export-as-ascii): Use the correct match group.
21268 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21270 * ob.el (boundp): Uncommenting defvar form for
21271 org-babel-temporary-directory
21272 (org-babel-temp-file): Now using the org-babel-temporary-directory
21273 for holding new babel temporary files
21274 (org-babel-remove-temporary-directory): Removes the babel temp dir
21275 when Emacs shutsdown
21276 (kill-emacs-hook): Now removing the babel temp dir on Emacs
21279 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21281 * org-capture.el (org-capture-fill-template): Initialize history
21284 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21286 * org-src.el (org-edit-src-code): Don't move point when generating
21289 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21291 * org-src.el (org-edit-src-code): Deal with point being in
21294 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21296 * org-table.el (org-table-current-column): Add interactive to turn
21297 this into a command.
21299 2010-11-11 Bernt Hansen <bernt@norang.ca>
21301 * org.el (org-insert-heading): Run org-insert-heading-hook when
21302 creating the first heading in a file.
21304 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21306 * org.el (org-startup-with-inline-images): New option.
21307 (org-startup-options): Add new keywords inlineimages and
21309 (org-mode): Inline images when this has been configured.
21311 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21313 * ob.el (org-babel-get-src-block-info): Remove optional
21314 HEADER-VARS-ONLY argument; further simplification.
21316 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21318 * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21319 prompt in ob-confirm-evaluate in some cases.
21321 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21323 * ob.el (org-babel-demarcate-block): Visible region and completion
21324 during language selection.
21326 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21328 * ob.el (org-babel-get-src-block-info): Remove comment.
21330 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21332 * ob.el (org-babel-get-src-block-info): Simplify function.
21334 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21336 * ob.el (org-babel-get-src-block-info): Form info list correctly
21337 when parenthesized arguments are missing.
21339 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21341 * ob-exp.el (org-export-babel-evaluate): Docstring typo
21342 (org-babel-exp-code): Docstring typo.
21344 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21346 * org-mobile.el (org-mobile-encryption-password):
21348 (org-mobile-encryption-password-session): New variable.
21349 (org-mobile-encryption-password): New function.
21350 (org-mobile-check-setup):
21351 (org-mobile-encrypt-file):
21352 (org-mobile-decrypt-file): Use the new function.
21354 2010-11-11 David Maus <dmaus@ictsoc.de>
21356 * org-capture.el (org-capture-place-template): Widen to remove
21357 possible restrictions in target buffer.
21359 2010-11-11 Jambunathan K <kjambunathan@gmail.com>
21361 * org.el (org-speed-command-hook): Add org-speed-command-hook
21362 (org-babel-speed-command-hook): Hook for Babel's speed commands.
21364 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21366 * ob.el (org-babel-execute-buffer): Re-implement using
21367 `org-babel-map-src-blocks'.
21369 2010-11-11 David Maus <dmaus@ictsoc.de>
21371 * org-capture.el (org-capture-templates): Update doc string with
21372 new message date related escapes.
21374 2010-11-11 David Maus <dmaus@ictsoc.de>
21376 * org-wl.el (org-wl-store-link-message): Define properties %:date)
21377 (%:date-timestamp, and %:date-timestamp-inactive.
21379 * org-mew.el (org-mew-store-link): Dto.
21381 * org-mhe.el (org-mhe-store-link): Dto.
21383 * org-rmail.el (org-rmail-store-link): Dto.
21385 * org-vm.el (org-vm-store-link): Dto.
21387 2010-11-11 David Maus <dmaus@ictsoc.de>
21389 * org-wl.el (org-wl-message-field): Always get literal content of
21392 2010-11-11 David Maus <dmaus@ictsoc.de>
21394 * org-gnus.el (org-gnus-store-link): Define properties
21395 %:date-timestamp and %:date-timestamp-inactive.
21397 2010-11-11 David Maus <dmaus@ictsoc.de>
21399 * org-gnus.el (org-gnus-store-link): Handle empty date header
21402 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
21404 * org.el (org-speed-command-hook): New. Hook for installing
21405 additional speed commands. Use this for enabling speed commands on
21407 (org-speed-command-default-hook): The default hook for
21408 org-speed-command-hook. Factored out from org-self-insert-command
21409 and mimics existing behavior.
21410 (org-self-insert-command): Modify to use org-speed-command-hook.
21412 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21414 * org-agenda.el (org-search-view): Recover spaces in search words
21415 if they were escaped with \ or inside a regexp.
21417 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21419 * org.el (org-additional-option-like-keywords): Add PROPERTIES to
21420 the list of completable meta line words.
21421 (org-complete): Complete property names after #+PROPERTY.
21423 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21425 * ob-python.el (org-babel-python-evaluate-session): Make temp file
21428 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21430 * ob-clojure.el (org-babel-clojure-evaluate-external-process):
21431 Delete extra format argument.
21433 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21435 * ob-org.el (org-babel-org-export): Typo in docstring.
21437 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21439 * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
21442 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21444 * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
21446 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21448 * ob.el (org-babel-process-file-name): New function
21449 (org-babel-maybe-remote-file): Delete function.
21451 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21453 * ob-C.el (org-babel-C-execute): Remove unused variable.
21455 2010-11-11 David Maus <dmaus@ictsoc.de>
21457 * org.el (org-make-link-string): Prevent superfluous colon.
21459 2010-11-11 David Maus <dmaus@ictsoc.de>
21461 * org.el (org-make-org-heading-search-string): Leave headline
21464 2010-11-11 David Maus <dmaus@ictsoc.de>
21466 * org.el (org-make-link-string): Don't escape characters in link
21469 2010-11-11 Bastien Guerry <bzg@gnu.org>
21471 * org-capture.el (org-capture-templates): Update docstring to
21472 advertise %:org-date.
21474 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21476 * ob-dot.el (org-babel-execute:dot): Automatically specifies
21477 "-T<ext>" based on file name extension.
21479 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21481 * ob-org.el (org-babel-org-export): Raise error on nested export
21484 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21486 * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
21489 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21491 * ob.el (org-babel-demarcate-block): Better initialization of
21494 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21496 * org-src.el (org-src-tab-acts-natively): Add customize interface.
21498 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21500 * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
21501 New variable allowing prevention of automatic stripping of leading and
21502 trailing blank lines when exiting edit buffer.
21503 (org-edit-src-exit): Respect value of
21504 `org-src-strip-leading-and-trailing-blank-lines'
21505 (org-src-native-tab-command-maybe):
21506 Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
21509 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21511 * org-src.el (org-edit-src-code): If mark was inside code block
21512 then code edit buffer inherits mark with active region.
21514 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21516 * ob.el (org-babel-demarcate-block): Fix compiler warnings.
21518 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21520 * ob.el (org-babel-demarcate-block): Better handling of empty
21521 space around demarcated area.
21523 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21525 * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
21528 2010-11-11 David Maus <dmaus@ictsoc.de>
21530 * org-gnus.el (org-gnus-open-nntp): New function.
21532 2010-11-11 David Maus <dmaus@ictsoc.de>
21534 * org-wl.el (org-wl-open-nntp): New function.
21536 2010-11-11 David Maus <dmaus@ictsoc.de>
21538 * org-wl.el (org-wl-open): Open message by numeric reference if
21539 article part is not a message id.
21541 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21543 * org-agenda.el (org-agenda-filter-apply): Move cursor to a
21546 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21548 * ob.el (org-babel-demarcate-block): Interactive demarcation of
21551 * ob-keys.el (org-babel-key-bindings): Key bindings for block
21554 2010-11-11 Bastien Guerry <bzg@gnu.org>
21556 * org.el (org-link-types): Add the "message" link type.
21558 2010-11-11 David Maus <dmaus@ictsoc.de>
21560 * org.el (org-link-types): Add 'message:' link type to default
21563 2010-11-11 Bastien Guerry <bzg@gnu.org>
21565 * org-gnus.el (org-gnus-store-link): Add the :date property to
21566 gnus links, allowing the use of %:date in capture templates.
21568 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21570 * org-list.el (org-cycle-list-bullet): Follow order of bullets
21571 indicated in doc-string.
21573 * org-list.el (org-list-bottom-point-with-indent): List is ended
21574 when a line is less indented that the last item, not the less
21577 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21579 * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
21580 original file before resolving code block parameters to ensure
21581 headline and buffer wide parameters are taken into consideration
21582 when only a narrowed portion of the file is exported.
21584 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21586 * org.el (org-forward-same-level): Fix docstring.
21588 2010-11-11 Sebastian Rose <sebastian_rose@gmx.de>
21590 * org-publish.el (org-publish-attachment): Put the attachment into
21591 the right directory.
21593 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
21595 * org.el (org-goto-first-child): New command.
21597 2010-11-11 Matt Lundin <mdl@imapmail.org>
21599 * org-agenda.el (org-prepare-agenda): If the agenda is called from
21600 within the agenda via an elisp link, such as
21601 [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
21602 of the file containing the link, since that buffer is current
21603 during org-prepare agenda (due to a with-current-buffer in
21604 org-agenda-open-link). An additional test now ensures that the
21605 agenda buffer is in fact current when the buffer is erased and
21606 local variables for the agenda are set.
21608 2010-11-11 David Maus <dmaus@ictsoc.de> (tiny change)
21610 * org-exp.el (org-infile-export-plist): Define property macro.
21612 2010-11-11 David Maus <dmaus@ictsoc.de>
21614 * org-mhe.el (org-mhe-get-header): Remove possible folding white
21615 space in message header field.
21617 2010-11-11 David Maus <dmaus@ictsoc.de>
21619 * org-feed.el (org-feed): Fix typo in customization group :tag
21622 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21624 * org-latex.el (org-export-latex-tag-markup): New option.
21625 (org-export-latex-keywords-maybe):
21626 Use `org-export-latex-tag-markup'.
21628 2010-11-11 Rémi Vanicat <vanicat@debian.org> (tiny change)
21630 * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
21631 (org-ical-ts-to-string): Use UTC time when requested.
21633 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
21635 * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
21636 from 'file' to 'http'.
21638 2010-11-11 David Maus <dmaus@ictsoc.de>
21640 * org.el (org-store-log-note): Fix wrong usage
21641 of`org-adapt-indentation'.
21643 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21645 * org.el (org-skip-over-state-notes): Do not compute bottom point
21648 * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
21649 instead of moving to each item.
21651 2010-11-11 David Maus <dmaus@ictsoc.de>
21653 * org-capture.el (org-capture-templates): Small fix in doc string.
21655 2010-11-11 aaa bbb <dominik@powerbook-g4-12-van-aaa-bbb.local>
21657 * org-archive.el (org-get-local-archive-location):
21658 Use `org-archive-location' as default.
21660 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21662 * ob-C.el (org): No longer requires org.
21664 * ob-ledger.el (org): No longer requires org.
21666 2010-11-11 David Maus <dmaus@ictsoc.de>
21668 * org.el (org-priority): Save match data before call to
21669 `read-char-exclusive'.
21671 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21673 * org-list.el (org-list-to-generic): Descriptions labels can be
21674 any suit of symbols, and will end at double colons.
21676 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21678 * org.el (org-indent-line-function): Indent past [@num] and
21679 [@start:num], consistently with what is already done with
21682 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21684 * org.el (org-store-log-note): Indent new notes to the right
21685 column. Also take `org-list-two-spaces-after-bullet-regexp' into
21686 consideration when creating the note.
21688 2010-11-11 David Maus <dmaus@ictsoc.de>
21690 * org-gnus.el (nnimap-group-overview-filename): Declare function
21691 to silence byte compiler.
21693 2010-11-11 David Maus <dmaus@ictsoc.de>
21695 * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21696 New customization variable.
21697 (org-gnus-nnimap-cached-article-number): New function.
21698 (org-gnus-follow-link): Try to fetch cached article number of
21701 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21703 * ob-org.el (org-babel-org-default-header): Used to insert a dummy
21704 first line into code blocks before export so that the first line
21705 is not interpreted as a title
21706 (org-babel-org-export): Use new dummy code block prefix.
21708 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21710 * ob.el (org-babel-insert-result): No longer throws error when
21711 inserting an empty result.
21713 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21715 * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
21717 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21719 * ob.el (org-babel-do-in-edit-buffer):
21720 Use `org-babel-where-is-src-block-head' to test for source block at
21723 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21725 * ob-keys.el (org-babel-key-bindings): Adding key-binding for
21726 `org-babel-goto-src-block-head'.
21728 * ob.el (org-babel-goto-src-block-head): Jump to the head of the
21729 current code block.
21731 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21733 * ob.el (org-babel-next-src-block): Now raising more informative
21734 error when no further code blocks can be found.
21735 (org-babel-previous-src-block): Now raising more informative error
21736 when no previous code blocks can be found.
21738 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21740 * org-exp-blocks.el
21741 (org-export-preprocess-after-include-files-hook): Now using this
21742 hook instead of `org-export-preprocess-hook'.
21744 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21746 * ob-plantuml.el (org-babel-execute:plantuml): ????
21748 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21750 * ob-python.el (org-babel-python-evaluate): Refactor as call to
21751 either `org-babel-python-evaluate-external-process' or
21752 `org-babel-python-evaluate-session'.
21753 (org-babel-python-evaluate-external-process): New function to
21754 handle evaluation in external process.
21755 (org-babel-python-evaluate-session): New function to handle
21756 evaluation in emacs inferior process.
21758 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21760 * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
21761 or html respecting :results header arg
21762 (org-babel-org-export): Exports a string of text to an output
21765 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21767 * ob.el (org-babel-insert-result): Remove existing results when
21768 nil results are returned.
21770 2010-11-11 David Maus <dmaus@ictsoc.de>
21772 * org-ascii.el (org-export-as-ascii): Bind and set link path for
21773 link type specific markup function.
21775 2010-11-11 David Maus <dmaus@ictsoc.de>
21777 * org-clock.el (notifications-notify): Properly declare function
21778 to silence byte compiler.
21780 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21782 * org-list.el (org-insert-item): Check invisibility of point at a
21783 meaningful location.
21785 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21787 * org-list.el (org-list-insert-item-generic): Updating checkboxes
21788 can modify bottom point of a list, so make it a marker before
21789 calling `org-update-checkbox-count-maybe'.
21791 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21793 * org.el (org-src-fontify-natively): Set to nil by default.
21794 Supply customize interface.
21796 2010-11-11 Bastien Guerry <bzg@gnu.org>
21798 * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
21799 `org-bracket-link-analytic-regexp++' to match the link type.
21801 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21803 * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
21806 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21808 * ob-tangle.el (org-babel-tangle-comment-format-beg):
21809 Format string specifying the link-comment preceding a code block
21810 (org-babel-tangle-comment-format-end): Format string specifying
21811 the link-comment following a code block
21812 (org-babel-tangle-collect-blocks): Storing more information in the
21813 spec of a tangling code block
21814 (org-babel-spec-to-string): Now makes use of customizable
21815 link-comment formats.
21817 2010-11-11 Achim Gratz <Stromeko@stromeko.net> (tiny change)
21819 * org.el (org-delete-backward-char): Check for nil overwrite-mode
21820 before inserting spaces.
21822 2010-11-11 David Maus <dmaus@ictsoc.de>
21824 * org-icalendar.el (org-print-icalendar-entries): Exclude tags
21825 from summary of non-TODO ical entries.
21826 (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
21827 exclude tags from summary of TODO ical entries.
21829 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21831 * ob.el (org-babel-map-src-blocks): Now exposes much information
21832 about the code block in the form of let-bound local variables.
21834 2010-11-11 David Maus <dmaus@ictsoc.de>
21836 * org-list.el (org-outline-regexp, org-ts-regexp)
21837 (org-ts-regexp-both, org-in-regexps-block-p)
21838 (org-level-increment, org-at-heading-p)
21839 (outline-previous-heading, org-icompleting-read)
21840 (org-time-string-to-seconds): Declare to fix compiler warning.
21842 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21844 * org-list.el (org-toggle-checkbox): Ignore items in drawers when
21845 used from an heading. Send an error when no item is in region.
21847 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21849 * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
21850 ensure that edit buffer is exited.
21852 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21854 * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
21855 control the amount of extra newlines inserted into tangled code
21856 (org-babel-tangle-collect-blocks): Now conditionally collects
21857 information to be used for "org" style comments
21858 (org-babel-spec-to-string): Now inserts "org" style comments, and
21859 obeys the newline configuration variable when inserting whitespace.
21861 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21863 * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
21865 (org-babel-tangle): Calls new tangle hook.
21867 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21869 * org-capture.el (org-capture): Compute the length of the correct
21870 string when removing properties.
21872 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21874 * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
21875 names before shell quoting.
21877 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21879 * org-src.el (org-src-tab-indents-natively): New variable
21880 controlling whether language-native TAB action should be performed
21881 (org-src-native-tab-command-maybe): New function to perform
21882 language-native TAB action.
21883 (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
21885 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21887 * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
21888 `org-plantuml-jar-path' before use.
21890 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21892 * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
21893 language major mode buffers during fontification.
21895 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21897 * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
21898 match code blocks with switches and header args.
21899 Call `org-src-font-lock-fontify-block' for automatic fontification of
21900 code in code blocks, controlled by variable
21901 `org-src-fontify-natively'.
21902 (org-src-fontify-natively): New variable.
21904 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21906 * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
21909 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
21911 * org-html.el (org-html-make-link): (expand-file-name) removes
21912 one "/" from "///path-to-file", so add one. Anything other than
21913 'file' type should be exported along with the type.
21915 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
21917 * org.el (org-insert-subheading): Fix compiler warning
21918 (org-insert-todo-subheading): Fix compiler warning.
21920 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21922 * org-capture.el (org-capture): Remove read-only text properties
21924 (org-capture-set-target-location): Throw an error if file+headline
21925 target does not point into a file which is in Org mode.
21927 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21929 * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
21931 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21933 * org-src.el (org-edit-src-code): Improve docstring.
21935 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21937 * ob.el (org-babel-execute-src-block): Document prefix argument in
21940 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21942 * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
21943 org-ditaa-jar-path with expand-file-name.
21945 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21947 * ob.el (org-babel-execute-subtree): Pass prefix arg through to
21948 `org-babel-execute-src-block'.
21950 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21952 * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
21953 [@x] syntax for list numbering.
21955 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21957 * org.el (org-indent-line-function): Indentation of source block
21958 is left to `org-edit-src-exit' and shouldn't be modified by
21959 `org-indent-line-function'. Indentation of others blocks should be
21960 the same as the #+begin line.
21962 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21964 * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
21965 forms on source blocks in current buffer; restore point in current
21968 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21970 * org-list.el (org-list-struct): Accept list boundaries as an
21971 argument in order to avoid computing `org-list-top-point' and
21972 `org-list-bottom-point' twice when indenting.
21974 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21976 * org-list.el (org-list-ending-method): Default value is now
21977 `both', to ensure maximum compatibility before previous
21980 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21982 * org-list.el (org-list-in-item-p-with-indent): Test if first line
21983 is the item beginning.
21985 * org-list.el (org-list-top-point-with-indent): Test if first line
21986 is a valid list beginning.
21988 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21990 * org-list.el (org-list-ending-method): New customizable variable
21991 to tell Org Mode how lists end. See docstring.
21993 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21995 * org-list.el (org-indent-item-tree): Shifting step of top-level
21996 item depends on `org-level-increment'.
21998 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22000 * org.el (org-indent-line-function): Indent first non blank line
22001 after a list according to current heading level.
22003 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22005 * org-docbook.el (org-export-as-docbook): Remove check for
22006 indentation on lines that do not start with a list bullet.
22008 * org-html.el (org-export-as-html): Same thing.
22010 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22012 * org-list.el (org-list-bottom-point): Take into consideration
22013 that bound of search can be before true ending of the list.
22015 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22017 * org-list.el (org-list-struct-apply-struct): No longer shift
22018 item's body twice: one after replacing bullet and one after
22019 changing indentation.
22021 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22023 * org-list.el (org-list-struct-indent): Add code to replace
22024 bullets if needed when indenting.
22026 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22028 * org-list.el (org-list-insert-item-generic): A single item
22029 already counting blank lines in his body should be separated with
22030 the next one by a blank line. Moreover, if user already provided
22031 blank lines, follow his wishes.
22033 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22035 * org-list.el (org-indent-item-tree): When moving top item of a
22036 *-list to column 0, only the first item had its bullet changed to
22037 -. It now changes all items of the top-level list, as expected.
22039 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22041 * org-list.el (org-toggle-checkbox): Go to beginning of line
22044 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22046 * org-list.el (org-list-struct-apply-struct): Check if ancestor
22049 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22051 * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22054 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22056 * org-list.el: Removed unused variable
22057 `org-suppress-item-indentation'.
22059 * org-list.el (org-renumber-ordered-list): Skip item if bullet
22060 number is already good.
22062 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22064 * org-list.el (org-list-automatic-rules): Doc-string reflects this
22067 * org-list.el (org-indent-item-tree): Prevent whole list from
22068 being moved when user is not moving subtree.
22069 Thus `org-cycle-item-indentation' will not allow to move the list.
22071 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22073 * org-list.el (org-indent-item-tree): Remove region code. It was
22074 prone to errors and undocumented.
22076 * org-list.el (org-item-indent-positions): Better heuristics to
22077 determine what bullet the item will have when demoted.
22079 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22081 * org-list.el (org-list-bullet-string): First check if
22082 `org-list-two-spaces-after-bullet-regexp' isn't nil.
22084 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22086 * org-list.el (org-list-bullet-string): Do not modify match-data.
22088 * org.el (org-toggle-item): Now working again when changing list
22089 items into plain text. Moreover take into consideration
22090 `org-list-two-spaces-after-bullet-regexp'.
22092 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22094 * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22095 fix, and improved heuristics to determine bullet when indenting.
22097 * org-list.el (org-item-indent-positions): Function now returns
22098 sane results when there are two lists separated with blank lines
22101 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22103 * org-docbook.el (org-export-as-docbook): Use override="num" in
22104 any listitem matching [@start:num].
22106 * org-html.el (org-export-as-html): Use value="num" in any li
22107 matching [@start:num].
22109 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22111 * org.el (org-set-font-lock-defaults): Correct fontification for
22112 checkboxes found after [@start:?].
22114 * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22115 [@start:?] when looking at a regex after a bullet.
22117 * org-list.el (org-toggle-checkbox): Correct insertion of
22118 checkboxes when there is already a [@start:?] in the item.
22120 * org-list.el (org-checkbox-blocked-p): Properly check if there's
22121 an unchecked item before.
22123 * org-list.el (org-list-parse-list): Function handles items having
22124 both a counter and a checkbox.
22126 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22128 * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22129 stores both indentation and bullet when cycle started.
22131 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22133 * org-list.el: `org-at-description-p' renamed to
22134 `org-at-item-description-p', `org-first-list-item-p' renamed to
22135 `org-list-first-item-p', `org-end-of-item-text-before-children'
22136 renamed to `org-end-of-item-or-at-child'.
22138 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22140 * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22141 of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22142 before toggling a checkbox.
22144 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22146 * org-list.el (org-list-bullet-string): New function returning
22147 bullet concatenated with an appropriate number of white spaces.
22149 * org-list.el (org-list-insert-item-generic): Insert the right
22150 bullet, with help of `org-list-bullet-string'.
22152 * org-list.el (org-indent-item-tree):
22153 Use `org-list-bullet-string'.
22155 * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22157 * org-list.el (org-toggle-checkbox): Send an error when
22158 `org-toggle-checkbox' is trying to insert a checkbox at a
22161 * org-list.el (org-item-re): Modify regexp so it can catch
22162 correct number of white space before item body.
22164 * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22165 consideration new `org-item-re'.
22167 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22169 * org-list.el (org-list-insert-item-generic): The second item in a
22170 list will be separated from its predecessor with the number of
22171 blank lines separating the first item from its parent, if any, or
22174 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22176 * org-list.el (org-indent-item-tree): Fix and reorder every list
22177 and sublist, from parent of list that has moved if indenting, or
22178 from list at point if outdenting.
22180 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22182 * org-list.el (org-indent-item-tree): Try to keep relative
22183 position on line. It can't if point is in white spaces before
22184 bullet because mixed tabs and spaces make some columns
22187 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22189 * org-list.el (org-cycle-item-indentation): Cycle when the whole
22190 item only contains bullet and maybe a checkbox. Previously, TAB
22191 would cycle when the first line of the item was blank.
22193 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22195 * org-list.el (org-cycle-item-indentation): Allow a point just
22196 after a description item or a checkboxed item to start cycling.
22198 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22200 * org-list.el (org-cycle-list-bullet):
22201 Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22202 as valid bullets when cycling.
22204 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22206 * org-list.el (org-cycle-item-indentation): Do return t if and
22207 only if cycling is possible and succeded.
22209 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22211 * org-list.el (org-indent-item-tree): When outdenting a subtree,
22212 the last item shouldn't have a children.
22214 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22216 * org-list.el (org-cycle-item-indentation): Cycling should play
22217 nicely with indent rule in `org-list-automatic-rules'.
22219 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22221 * org-list.el (org-indent-item-tree): If indent rule is activated,
22222 it should be impossible to outdent an item having children without
22223 moving its subtree. Improved reordering of lists modified by
22224 cycling indentation.
22226 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22228 * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22229 `org-fix-bullet-type' to prevent infinite loop, and some checks
22230 already done in `org-renumber-ordered-list'.
22232 * org-list.el (org-fix-bullet-type): Remove a check and call
22233 directly `org-maybe-renumber-ordered-list'.
22235 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22237 * org-list.el (org-indent-item-tree): It shouldn't be possible to
22238 indent the first item of a sublist (though outdent is possible) as
22239 it would break list's structure.
22241 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22243 * org-list.el (org-list-insert-item-generic): When local search
22244 doesn't help, search the list globally for blank lines. Moreover,
22245 don't bother with new lists, and add 1 blank line.
22247 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22249 * org-capture.el (org-capture-place-item):
22250 Use `org-search-forward-unenclosed' and
22251 `org-search-backward-unenclosed' and new variable
22252 `org-item-beginning-re'.
22254 * org-list.el (org-item-beginning-re): Regexp matching beginning
22257 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22259 * org-list.el (org-cycle-list-bullet): Put back support for
22260 'previous argument.
22262 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22264 * org-list.el (org-in-item-p): Handle case when point is at an
22267 * org-list.el (org-list-make-subtree): Add protection when used
22270 * org-list.el (org-insert-item): Remove useless hack now
22271 `org-in-item-p' is fixed.
22273 * org-timer.el (org-timer-item): Remove useless hack now
22274 `org-in-item-p' is fixed.
22276 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22278 * org-list.el (org-cycle-list-bullet): Prevent description items
22279 from being numbered. String argument is also recognized now, as
22280 long as it is a valid bullet.
22282 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22284 * org-list.el (org-indent-item-tree): Moving indentation of top
22285 list item will make the whole list move.
22287 * org-list.el (org-apply-on-list): Function is less sensitive to
22288 changes of indentation.
22290 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22292 * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22295 * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22297 * org-list.el (org-cycle-item-indentation): Allow cycling
22298 description items and checkbox items.
22300 * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22302 * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22305 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22307 * org-list.el (org-insert-item-internal): Guessing of blank lines
22308 number is made by looking at neighboring items, if any.
22310 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22312 * org-list.el (org-sort-list): Add the possibility to sort timer
22313 lists with the ?t or ?T options.
22315 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22317 * org-list.el (org-search-unenclosed-internal): New function to
22318 handle both `org-search-forward-unenclosed' and
22319 `org-search-backward-unenclosed'.
22321 * org-list.el (org-search-backward-unenclosed): Can send errors
22322 now. Removed useless usage of COUNT.
22324 * org-list.el (org-search-forward-unenclosed): Can send errors
22325 now. Removed useless usage of COUNT.
22327 * org-list.el (org-update-checkbox-count):
22328 Use `org-search-forward-unenclosed' and
22329 `org-search-backward-unenclosed' instead of `re-search-forward'
22330 and `re-search-backward'.
22332 * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22333 and `org-search-backward-unenclosed' instead of
22334 `re-search-forward' and `re-search-backward'.
22336 * org-list.el (org-list-make-subtree):
22337 Use `org-search-forward-unenclosed' and
22338 `org-search-backward-unenclosed' instead of `re-search-forward'
22339 and `re-search-backward'.
22341 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22343 * org-list.el (org-insert-item-internal): Fixes the problem when
22344 point was before the first char of the item's body.
22346 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22348 * org-timer.el (org-timer-item): Refactoring. Compute timer string
22349 before inserting it in the buffer.
22351 * org-timer.el (org-timer): Add an optional argument to return
22352 timer string instead of inserting it.
22354 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22356 * org-list.el (org-insert-item-internal): New function to handle
22357 positioning and contents of an item being inserted at a specific
22358 pos. It is not possible anymore to split a term in a description
22359 list or a checkbox when inserting a new item.
22361 * org-list.el (org-insert-item): Refactored by using the new
22362 `org-insert-item-internal' function.
22364 * org-timer.el (org-timer-item): Refactored by using the new
22365 `org-insert-item-internal' function.
22367 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22369 * org-list.el (org-list-bottom-point): Be sure to check real
22370 ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
22372 * org.el (org-cycle-internal-local): Cycle up to end of subtree or
22373 end of item if we are in a list.
22375 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22377 * org-list.el (org-insert-item): Move before any special block in
22378 a list prior to add a new item.
22380 * org-timer.el (org-timer-item): When in a timer list, insert a
22381 new timer item like `org-insert-item'. If in another list, send an
22382 error. Otherwise, start a new timer list.
22384 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22386 * org-list.el: Minor refactoring.
22388 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22390 * org-timer.el (org-timer-item): Insert description list item at
22393 * org-list.el (org-insert-item): Insert the right number of blank
22394 lines before a relative timer.
22396 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22398 * org-list.el (org-insert-item): Remove restriction on latex
22401 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22403 * org-list.el (org-search-backward-unenclosed): Do not stop in
22406 * org-list.el (org-search-forward-unenclosed): Do not stop in
22409 * org-latex.el (org-export-latex-lists): Use the fact that
22410 org-search-forward do not stop anymore at protected places.
22412 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22414 * org-list.el (org-search-backward-unenclosed): Do not prevent
22415 list items from being inside LaTeX blocks.
22417 * org-list.el (org-search-forward-unenclosed): Do not prevent list
22418 items from being inside LaTeX blocks.
22420 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22422 * org-list.el (org-in-item-p): Do not widen before checking if we
22425 * org-list.el (org-list-send-list): We cannot count on
22426 `org-list-top-point' and `org-list-bottom-point' before buffer is
22427 narrowed. Find bounds of list otherwise.
22429 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22431 * org-list.el (org-list-end-regexp): By default, list ending is
22432 exactly 2 blank lines.
22434 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22436 * org-docbook.el (org-export-as-docbook): When we find an empty
22437 line, we do not need to check for
22438 `org-empty-line-terminates-plain-lists' because we would have
22439 found end-list marker before.
22441 * org-html.el (org-export-as-html): Same.
22443 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22445 * org-list.el (org-insert-item): Simplify count of blank lines to
22448 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22450 * org-list.el (org-list-end-regexp): New customizable variable to
22451 define what string should end lists.
22453 * org-list.el (org-list-end-re): Function is now aware of
22454 `org-list-end-regexp'.
22456 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22458 * org-html.el (org-export-as-html): Code cleanup.
22460 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22462 * org-docbook.el (org-export-as-docbook): Properly close any open
22463 list when seeing ORG-LIST-END. Removed any reference to now
22464 unneeded DIDCLOSE variable.
22466 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22468 * org-exp.el (org-export-mark-list-ending): Fix number of blank
22469 lines inserted after a list.
22471 * org-list.el (org-list-parse-list): Fix case when
22472 `org-list-end-re' would have an indentation greater than current
22475 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22477 * org-exp.el (org-export-mark-list-ending): Differentiate between
22478 export backends, and replace `org-list-end-re' by a blank line
22481 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22483 * org-html.el (org-export-as-html): Delete didclose and everything
22484 related to it, as it is no longer needed.
22486 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22488 * org-html.el (org-export-html-preprocess): Remove unneeded
22489 insertion of list end marker, as it is now handled by
22490 `org-export-mark-list-ending'.
22492 * org-html.el (org-export-as-html): Cleaner termination of lists.
22494 * org-exp.el (org-export-mark-list-ending): New function to insert
22495 specific markers at the end of lists when exporting to a backend
22496 not using `org-list-parse-list'. This function is called early in
22497 `org-export-preprocess-string', while it is still able to
22500 * org-latex.el (org-export-latex-lists): Better search for
22501 lists. It now only finds items not enclosed and not protected.
22503 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22505 * org-list.el: Replaced `re-search-forward' by
22506 `org-search-forward-unenclosed' where it made sense.
22508 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22510 * org-list.el (org-apply-to-list): Now a return value is handed at
22511 each new call of the function applied.
22513 * org-list.el (org-fix-bullet-type): Use the new
22514 `org-apply-to-list' format.
22516 * org-list.el (org-renumber-ordered-list): Use the new
22517 `org-apply-to-list' format.
22519 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22521 * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
22524 * org-list.el (org-search-forward-unenclosed): Better regexp used.
22526 * org-list.el (org-search-backward-unenclosed): Better regexp
22529 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22531 * org-list.el (org-sort-list): End-rec function was ill-defined.
22533 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22535 * org-list.el (org-search-forward-unenclosed): Fix behavior when
22536 last occurrence was enclosed.
22538 * org-list.el (org-search-backward-unenclosed): Fix behavior when
22539 last occurrence was enclosed.
22541 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22543 * org.el (org-in-regexps-block-p): Fix documentation.
22545 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22547 * org-list.el (org-search-backward-unenclosed): Fix block regexp.
22549 * org-list.el (org-search-forward-unenclosed): Fix block regexp.
22551 * org-list.el (org-list-parse-list): Minor fix.
22553 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22555 * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
22556 called with t argument.
22558 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22560 * org-html.el (org-export-html-preprocess):
22561 Replace `org-list-end-re' by a blank line during pre-process.
22563 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22565 * org-list.el (org-list-bottom-point): No need for square brackets
22566 for `skip-chars-backward'.
22568 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22570 * org-html.el: Do not delete space between end of list and
22571 beginning of the following.
22573 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22575 * org-html.el: Preprocess buffer string and add ORG-LIST-END where
22576 needed. Lists should not end before seeing this.
22578 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22580 * org-html.el: Notice end of lists.
22582 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22584 * org-list.el (org-list-parse-list): Better handling of
22585 restrictions when function is called on a list with sublists.
22587 * org-list.el (org-list-send-list): Find the true ending of the
22590 * org-list.el (org-list-radio-list-templates): Templates are more
22593 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22595 * ob-js.el (org-babel-js-eoe): Indicate end of input
22596 (org-babel-execute:js): Support for session evaluation
22597 (org-babel-prep-session:js): Fleshed out definition
22598 (org-babel-js-initiate-session): Can initiate a session using
22601 2010-11-11 David Maus <dmaus@ictsoc.de>
22603 * org.el (org-set-regexps-and-options): Protect escape char in
22604 `org-complex-heading-regexp-format'.
22606 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22608 * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
22609 session-based evaluation
22610 (org-babel-execute:scheme): Now supports session-based evaluation
22611 (org-babel-prep-session:scheme): Now works and defines variables
22612 (org-babel-scheme-initiate-session): Now works using run-scheme
22615 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22617 * org.el (org-export-latex-default-packages-alist): Remove the
22618 t1enc package - this is already covered by fontenc.
22620 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22622 * ob.el (with-parsed-tramp-file-name): Declared
22623 (org-babel-tramp-localname): Ensure variable name exists locally.
22625 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22627 * ob.el (org-babel-temp-file): Don't use babel temporary directory
22628 in remote case; use make-temp-file with remote file name so that
22629 temp file is guaranteed not to exist previously on remote machine.
22630 (org-babel-tramp-localname): New function to return local name
22631 portion of possibly remote file specification.
22633 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22635 * ob-R.el (org-babel-R-write-object-command): New unified R
22636 command for writing results to file
22637 (org-babel-R-wrapper-method): Remove variable
22638 (org-babel-R-wrapper-lastvar): Remove variable
22639 (org-babel-R-evaluate-external-process): Use new R command
22640 (org-babel-R-evaluate-session): Use new R command.
22642 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22645 (org-babel-comint-eval-invisibly-and-wait-for-file): New function
22646 to evaluate code invisibly and block until output file exists.
22648 * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
22649 evaluate R code in session for :results value. Write result to
22650 file invisibly using new function
22651 `org-babel-comint-eval-invisibly-and-wait-for-file'.
22653 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22655 * org-capture.el (org-capture-fill-template): Align tags after
22658 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22660 * org-exp.el (org-export-concatenate-multiline-emphasis):
22661 Ignore matches that start in a headline.
22663 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22665 * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
22666 and out-file in shell-quote-argument.
22668 2010-11-11 David Maus <dmaus@ictsoc.de>
22670 * org-docview.el (org-docview-store-link): Use expanded macro to
22672 (doc-view-goto-page, image-mode-window-get): Declare functions for
22675 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22677 * ob-scheme.el: Very preliminary support for evaluating scheme
22680 * org.el (org-babel-load-languages): Adding scheme.
22682 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22684 * ob.el (require): Remove circular (require 'org).
22686 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22688 * ob-R.el (ess-make-buffer-current): Declared.
22689 (ess-ask-for-ess-directory): Declared.
22690 (ess-local-process-name): Declared.
22691 * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
22693 * ob.el (org-edit-src-code): Fixing arguments.
22694 (org-edit-src-exit): Declared.
22695 (org-outline-overlay-data): Declared.
22696 (org-set-outline-overlay-data): Declared.
22698 2010-11-11 Glenn Morris <rgm@gnu.org>
22700 * ob.el: Require org when compiling.
22701 (org-save-outline-visibility): Remove macro declaration.
22703 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
22704 Remove unnecessary/macro declarations.
22706 * org-docview.el: Require doc-view when compiling.
22707 (doc-view-goto-page): Autoload rather than declaring.
22708 (doc-view-current-page): Remove macro declaration.
22710 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
22711 (org-entry-get, org-table-import): Fix declarations.
22712 (org-match-string-no-properties): Remove declaration.
22714 * ob-sh.el (org-babel-comint-in-buffer)
22715 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
22716 (org-babel-comint-with-output): Remove unnecessary declarations.
22718 * ob-R.el (orgtbl-to-tsv): Fix declaration.
22720 * org-list.el (org-entry-get): Fix declaration.
22722 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22724 * ob.el (org-babel-remove-temporary-directory): Remove explicit
22727 2010-11-11 Magnus Henoch <magnus.henoch@gmail.com> (tiny change)
22729 * org-clock.el (org-clocktable-steps): Allow ts and te to be day
22732 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22734 * org-macs.el (org-save-outline-visibility): Move from org.el.
22736 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22738 * ob-org.el (org-babel-default-header-args:org): Additional
22739 ":results silent" default header argument for org code blocks.
22741 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22743 * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
22744 which is now an alias to ":eval no".
22746 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22748 * ob.el (org-babel-remove-temporary-directory): The version of
22749 `delete-directory' found in files.el can not be assumed to be
22750 present on all versions, so this copies the recursive behavior of
22751 that command in such a way that all calls to delete-directory will
22752 also work with the built-in internal C implementation of that
22753 function. This is not overly difficult as all elements of the
22754 directory can be assumed to be files.
22756 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22758 * ob-C.el (org-babel-C-execute): Corrected arguments to
22759 org-babel-temp-file.
22761 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22763 * ob.el (org-babel-temporary-directory): Variable to hold the
22764 value of the Babel temporary directory.
22766 2010-11-11 Aditya Siram <aditya.siram@gmail.com>
22768 * ob.el (org-babel-load-in-session): Expanding noweb references
22771 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22773 * org.el (org-make-link-regexps): Modify regexp of
22776 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
22778 * org-habit.el (org-habit-parse-todo): Find sr-days only if
22779 scheduled-repeat is non nil. Use 4th element of the list returned
22780 by (org-heading-components) as habit-entry. Modify the error
22781 message to be more meaningful.
22783 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22785 * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
22786 ":border" header arguments which both use the "preview" latex
22787 package to fit the resulting PDF image to the figure.
22789 2010-11-11 David Maus <dmaus@ictsoc.de>
22791 * org-wl.el (org-wl-store-link): Don't try to store link if point
22792 is at end of buffer.
22794 2010-11-11 Harri Kiiskinen <harkiisk@gmail.com>
22796 * org-publish.el (org-publish-project-alist): Document the new
22797 body-only property.
22798 (org-publish-org-to): Use the body-only property.
22800 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
22802 * org.el (org-store-link): Return link when invoked
22803 non-interactively from an agenda buffer.
22805 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
22807 * org.el (org-store-link): Storing of links to headlines in
22808 indirect buffers was broken. Fix it.
22810 2010-11-11 Aidan Kehoe <kehoea@parhasard.net>
22812 * ob-tangle.el (org-babel-tangle): Change the MODE argument to
22813 #'set-file-modes to use integer, not character syntax, avoiding
22814 compile problems with recent XEmacs.
22816 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22818 * org-agenda.el (org-agenda-add-entry-text): Make sure we move
22819 forward even if there is no text to be added.
22821 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22823 * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
22824 tags/property matcher.
22826 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22828 * org-exp.el (org-infile-export-plist): Bind case-fold-search to
22831 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22833 * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
22835 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22837 * org-latex.el (org-export-latex-set-initial-vars):
22838 Bind `case-fold-search' to t around the search for special LaTeX setup.
22840 * org-beamer.el (org-beamer-after-initial-vars):
22841 Bind `case-fold-search' to t around the search for special BEAMER
22844 2010-11-11 David Maus <dmaus@ictsoc.de>
22846 * org-agenda.el (org-write-agenda): Delete PostScript file after
22847 creating conversion to PDF.
22849 2010-11-11 David Maus <dmaus@ictsoc.de>
22851 * org-agenda.el (org-write-agenda): Move require statements to
22852 proper place in evaluated lisp expression.
22854 2010-11-11 David Maus <dmaus@ictsoc.de>
22856 * org-agenda.el (org-write-agenda): Rename temporary buffer to
22857 remove dependency of `flet' macro.
22859 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22861 * ob-lob.el (org-babel-lob-get-info): Edit docstring.
22863 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22865 * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
22866 from all standard sources when executing #+lob/#+call lines.
22868 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22870 * ob-R.el (org-babel-R-evaluate): Break the two branches into two
22872 (org-babel-R-evaluate-external-process): New function to handle
22873 external process evaluation
22874 (org-babel-R-evaluate-session): New function to handle session
22877 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22879 * ob.el (org-babel-initiate-session): New function derived from
22880 previous `org-babel-switch-to-session'
22881 (org-babel-switch-to-session): Refactored to use new
22882 `org-babel-initiate-session'.
22884 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22886 * ob.el (org-babel-switch-to-session): Supply missing "P" argument
22889 2010-11-11 David Maus <dmaus@ictsoc.de>
22891 * org-feed.el (org-feed-format-entry): Decode entry according to
22892 its character encoding.
22894 2010-11-11 David Maus <dmaus@ictsoc.de> (tiny change)
22896 * org-feed.el (xml-substitute-special): Declare function for byte
22898 (org-feed-unescape): Remove.
22899 (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
22900 Use `xml-substitute-special' to unescape XML entities.
22902 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22904 * ob.el (org-babel-switch-to-session): Throw error if block if
22905 :session not in effect for the block.
22907 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22909 * org-table.el (org-table-create-with-table.el): Align table
22912 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22914 * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
22915 that org-src buffer is current before attempting exit.
22917 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22919 * org-src.el (ob-comint): Require 'ob-comint
22920 (org-src-babel-info): Define variable.
22922 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22924 * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
22925 in the language major mode edit buffer.
22926 (org-babel-do-key-sequence-in-edit-buffer): New function to call
22927 an arbitrary key sequence in the language major mode edit buffer.
22929 * org-src.el (org-src-switch-to-buffer): Add new allowed value
22930 'switch-invisibly for `org-src-window-setup'.
22932 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22934 * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
22936 (org-src-do-at-code-block): New macro to evaluate lisp with point
22937 at the start of the Org code block containing the code in this
22939 (org-src-do-key-sequence-at-code-block): New function to execute
22940 command bound to key at the Org code block containing the code in
22943 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22945 * ob-R.el (org-babel-R-associate-session): New function to
22946 associate R code edit buffers with ESS comint session.
22948 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22950 * org-src.el (org-edit-src-code): If at src block, store babel
22951 info as buffer local variable.
22952 (org-src-associate-babel-session): New function to associate code
22953 edit buffer with comint session. Does nothing unless a
22954 language-specific function named
22955 `org-babel-LANG-associate-session' exists.
22956 (org-src-babel-configure-edit-buffer): New function to be called
22957 in `org-src-mode-hook'.
22958 (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
22961 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22963 * ob.el (org-babel-switch-to-session-with-code): New function to
22964 generate split frame displaying edit buffer and session.
22966 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22968 * org.el (org-set-tags): Consider org-indent-mode when computing
22971 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22973 * org-compat.el (org-looking-at-p): Only use looking-at-p when
22976 2010-11-11 David Maus <dmaus@ictsoc.de>
22978 * org-agenda.el (org-finalize-agenda-entries): Delete excluded
22979 lines directly after call to sorting filter function.
22981 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22983 * org.el (org-complex-heading-regexp-format): Document the
22985 (org-get-refile-targets): Use `org-complex-heading-regexp-format'
22986 to make the regular expression for matching the headline.
22988 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22990 * org.el (org-refile-check-position): New function.
22992 (org-refile-get-location): Call `org-refile-check-position'.
22994 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22996 * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
22997 instead of equal to compare symbols.
22999 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23001 * org-agenda.el (org-agenda-before-sorting-filter-function):
23003 (org-finalize-agenda-entries):
23004 Apply `org-agenda-before-sorting-filter-function'.
23006 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23008 * org-latex.el (org-export-latex-first-lines): Do not protect meta
23009 lines that have nothing to do with babel.
23011 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23013 * org-capture.el (org-capture-place-template): Handle the
23015 (org-capture-place-item): Provide boundaries for the search to
23016 make sure we do not get a match in a different tree.
23018 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23020 * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23023 2010-11-11 Noorul Islam <noorul@noorul.com>
23025 * org-latex.el (org-latex-to-pdf-process): Add output-directory
23026 option for the command pdflatex.
23027 (org-export-as-pdf): Respect directory in path of
23030 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23032 * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23033 which now means to use MathJax processing for HTML. Also allow
23034 new value `dvipng' to force the old image processing.
23035 (org-infile-export-plist): Parse for MATHJAX setup line.
23037 * org-html.el (org-export-html-mathjax-options): New option.
23038 (org-export-html-mathjax-config): New function.
23039 (org-export-html-mathjax-template): New option.
23040 (org-export-html-preprocess): Call the LaTeX snippet processor
23041 with an additional argument to declare special ways of processing.
23042 (org-export-as-html): Bind the dynamical variable
23043 `org-export-have-math'. Insert the MathJax script template when
23044 it is needed by the document.
23046 * org.el (org-preview-latex-fragment): Call `org-format-latex'
23047 with the additional processing argument.
23048 (org-export-have-math): New variable, for dynamic scoping.
23049 (org-format-latex): Implement specific ways of processing.
23050 New function argument for processing type.
23051 (org-org-menu): Remove the entry to configure LaTeX snippet
23054 2010-11-11 Bastien Guerry <bzg@gnu.org>
23056 * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23057 `org-clock-goto' and `J' for `org-agenda-clock-goto'. If the
23058 heading currently clocked in is not listed in the agenda, display
23059 this entry in another buffer. If there is no running clock,
23060 display a help message.
23062 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23064 * org-latex.el (org-export-latex-tables): Return "" instead of nil
23065 when no label is attached.
23067 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23069 * org-agenda.el (org-agenda-menu-show-match): New option.
23070 (org-agenda-menu-two-column): New option.
23071 (org-agenda-get-restriction-and-command): Implement dispatch menu
23072 without showing the matcher, and with two-column display.
23074 2010-11-11 Bernt Hansen <bernt@norang.ca>
23076 * org-indent.el (org-indent-mode): Fix grammar for message when
23079 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23081 * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23082 no previous result exists.
23084 2010-11-11 Noorul Islam <noorul@noorul.com>
23086 * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23089 2010-11-11 Noorul Islam <noorul@noorul.com>
23091 * org.el (org-set-visibility-according-to-property): Use backward
23092 search instead of forward, so that top hierarchy gets priority.
23094 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23096 * org-agenda.el (org-timeline): Allow indirect buffer.
23098 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23100 * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23101 (org-export-define-heading-targets-headline-hook): New hooks.
23103 * org.el (org-modules): Add entry for org-wikinodes.el.
23104 (org-font-lock-set-keywords-hook): New hook.
23105 (org-open-at-point-functions): New hook.
23106 (org-find-exact-headling-in-buffer):
23107 (org-find-exact-heading-in-directory): New functions.
23108 (org-mode-flyspell-verify): Better cursor position for checking if
23109 flyspell should ignore a word.
23111 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23113 * org-indent.el (org-indent-remove-properties):
23114 (org-indent-add-properties): Make sure changing these properties
23115 does not trigger modification hooks.
23117 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23119 * org.el (org-link-search-must-match-exact-headline): New option.
23120 (org-link-search-inhibit-query): New variable.
23121 (org-link-search): Search for exact headline match in Org files.
23123 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23125 * ob.el (org-babel-execute-src-block-maybe): Remove check for
23126 `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23127 function `org-babel-execute-safely-maybe'.
23129 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23131 * ob.el (org-babel-load-in-session): Set directory in case :dir
23134 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23136 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23137 errors when we're not under of a headline.
23139 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23141 * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23142 write delimited text instead of save -ascii
23143 (org-babel-octave-import-elisp-from-file): Specify that data
23144 written to file is tab-delimited.
23146 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23148 * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23151 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23153 * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23156 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23158 * ob-python.el (org-babel-python-table-or-string): Fix recognition
23159 of lists and tuples.
23161 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23163 * ob-octave.el (org-babel-octave-evaluate-external-process):
23164 Allow remote files.
23166 2010-11-11 Juan Pechiar <pechiar@computer.org>
23168 * ob-octave.el (org-babel-octave-evaluate-external-process):
23169 Use `org-babel-octave-import-elisp-from-file' instead of
23170 `org-babel-eval-read-file'.
23171 (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23172 and use '%s' as format specifier instead of '%S'.
23174 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23176 * ob-octave.el: Only (require 'matlab) when necessary.
23177 (org-babel-octave-initiate-session): (require) octave-inf or matlab
23179 (org-babel-execute:matlab): Remove (require).
23180 (org-babel-prep-session:matlab): Remove (require).
23181 (org-babel-matlab-initiate-session): Remove (require).
23183 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
23185 * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23188 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23190 * ob-python.el (org-babel-python-table-or-string): Can now handle
23191 VERY long result lines.
23193 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23195 * org-latex.el (org-export-latex-tables): Add label if any.
23197 * org-latex.el (org-export-latex-convert-table.el-table):
23198 Fix little mistake when inserting label.
23200 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
23202 * org.el (org-cycle-internal-local): Remove an unnecessary call
23203 to `org-back-to-heading' that was preventing point to stay at its
23204 column when cycling visibility.
23206 2010-11-11 Noorul Islam <noorul@noorul.com>
23208 * org-capture.el (org-capture-finalize): Make messages consistent.
23210 2010-11-11 Noorul Islam <noorul@noorul.com>
23212 * org-gnus.el: Suppress compiler warning by declaring outside
23213 function nnimap-retrieve-headers-from-file.
23215 2010-11-11 Noorul Islam <noorul@noorul.com>
23217 * org-colview.el Use org-beamer-select-environment instead of
23218 org-beamer-set-environment-tag.
23220 2010-11-11 Matt Lundin <mdl@imapmail.org>
23222 * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23223 that the value of org-last-inserted-timestamp includes time range.
23225 2010-11-11 David Maus <dmaus@ictsoc.de>
23227 * org-wl.el (org-wl-store-link-message): Provide link property for
23228 message-id without angle brackets.
23230 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23232 * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23234 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23236 * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23237 file ensuing that the latest changes on disk are represented.
23239 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23241 * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23242 arguments w/o quotes.
23244 2010-11-11 Bernt Hansen <bernt@norang.ca>
23246 * org-capture.el (org-capture-finalize): Fix clock in of
23247 interrupted task during capture finalize.
23249 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23251 * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23254 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23256 * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23257 expression for matching main function.
23259 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23261 * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23262 regexp -- it wasn't matching lob lines w/o indices.
23264 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23266 * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23267 warning in org-exp.el.
23269 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23271 * org-publish.el (org-publish-file): Better error message if
23272 base-directory or publishing-directory are not defined.
23274 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23276 * org-colview.el (org-columns-display-here): Use overlays to
23277 overrule line prefix properties during column view.
23279 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23281 * org-agenda.el (org-agenda-filter-preset): Document the
23282 limitation for the filter preset - it can only be used for an
23283 entire agenda view, not in an individual block in a block agenda.
23285 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23287 * ob-table.el (sbe): Now able to accept range references from
23290 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23292 * ob.el (org-babel-pick-name): If colnames or rownames contain a
23293 list of names, then use those directly.
23295 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23297 * org-exp.el (org-export-format-source-code-or-example):
23298 Escape underscores in code block names on latex listings export.
23300 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23302 * ob-tangle.el (org-babel-with-temp-filebuffer):
23303 Use find-file-noselect to avoid excess buffer movement.
23305 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23307 * org-html.el (org-html-should-inline-p): Only inline images if
23310 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23312 * org-id.el (org-id-store-link): Autoload.
23314 * org.el ("org-id"): Autoload `org-id-store-link'.
23316 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23318 * org-html.el (org-html-should-inline-p): Only inline images if
23321 2010-11-11 Eric S Fraga <e.fraga@ucl.ac.uk>
23323 * org-icalendar.el (org-icalendar-alarm-time): New option.
23325 * org-icalendar.el (org-print-icalendar-entries): Timed events are
23326 exported with alarm events, a.k.a. reminders.
23328 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23330 * org-capture.el (org-capture-target-buffer): Throw an error if we
23331 have no target file.
23332 (org-capture-select-template): Use a default template if the user
23333 has not specified any.
23335 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23337 * org.el (org-modules): Add entry for org-velocity.
23339 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23341 * ob-lob.el (org-babel-lob-execute): Changing indentation to
23342 improve line length.
23344 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23346 * org-exp.el (org-export-handle-table-metalines): Choose a better
23347 position for checking protectedness.
23349 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
23351 * org-table.el (org-table-convert-region): Don't continue csv
23352 importation which the point catches the end, this fixes an
23353 infinite loop which was caused by the (point) never catching up
23354 with the "end" marker.
23356 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23358 * org-macs.el (org-string-nw-p): New function.
23360 * org-capture.el (org-capture-import-remember-templates):
23361 Interpret an empty string as request to use
23362 `org-default-notes-file'.
23363 (org-capture-target-buffer): If the FILE is not a (non-empty)
23364 string, use `org-default-notes-file'.
23366 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
23368 * org-capture.el (org-capture-templates): Fix customize type.
23370 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
23372 * org.el (org-refile-targets):
23373 * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
23375 2010-08-19 Glenn Morris <rgm@gnu.org>
23377 * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
23378 (org-save-outline-visibility): Move to org-macs.
23379 * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
23380 (org-save-outline-visibility): Move here from org.el.
23381 (show-all): Autoload it.
23382 * ob.el: Don't require org when compiling.
23384 2010-08-18 Glenn Morris <rgm@gnu.org>
23386 * ob.el: Require org when compiling.
23387 (org-save-outline-visibility): Remove macro declaration.
23388 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23389 Remove unnecessary/macro declarations.
23390 * org-docview.el: Require doc-view when compiling.
23391 (doc-view-goto-page): Autoload rather than declaring.
23392 (doc-view-current-page): Remove macro declaration.
23394 2010-08-17 Glenn Morris <rgm@gnu.org>
23396 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23397 (org-entry-get, org-table-import): Fix declarations.
23398 (org-match-string-no-properties): Remove unnecessary declaration.
23399 * ob-sh.el (org-babel-comint-in-buffer)
23400 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23401 (org-babel-comint-with-output): Remove unnecessary declarations.
23402 * ob-R.el (orgtbl-to-tsv): Fix declaration.
23403 * org-list.el (org-entry-get): Fix declaration.
23405 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23407 * ob-C.el: New file.
23408 * ob-R.el: New file.
23409 * ob-asymptote.el: New file.
23410 * ob-clojure.el: New file.
23411 * ob-comint.el: New file.
23412 * ob-css.el: New file.
23413 * ob-ditaa.el: New file.
23414 * ob-dot.el: New file.
23415 * ob-emacs-lisp.el: New file.
23416 * ob-eval.el: New file.
23417 * ob-exp.el: New file.
23418 * ob-gnuplot.el: New file.
23419 * ob-haskell.el: New file.
23420 * ob-keys.el: New file.
23421 * ob-latex.el: New file.
23422 * ob-lob.el: New file.
23423 * ob-matlab.el: New file.
23424 * ob-mscgen.el: New file.
23425 * ob-ocaml.el: New file.
23426 * ob-octave.el: New file.
23427 * ob-perl.el: New file.
23428 * ob-python.el: New file.
23429 * ob-ref.el: New file.
23430 * ob-ruby.el: New file.
23431 * ob-sass.el: New file.
23432 * ob-screen.el: New file.
23433 * ob-sh.el: New file.
23434 * ob-sql.el: New file.
23435 * ob-sqlite.el: New file.
23436 * ob-table.el: New file.
23437 * ob-tangle.el: New file.
23440 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23442 * org-mks.el: New file.
23443 * org-capture.el: New file.
23445 2010-07-19 Christian Egli <christian.egli@sbszh.ch>
23447 * org-taskjuggler.el: New file.
23449 2010-07-19 Matt Lundin <mdl@imapmail.org>
23451 * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
23452 in org-agenda-text-search-extra-files.
23454 2010-07-19 David Maus <dmaus@ictsoc.de>
23456 * org-list.el (org-list-send-list): Locally bind variable `txt'.
23458 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23460 * org.el (org-reload): Now also reloading babel files.
23462 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23464 * org-capture.el (org-capture-set-plist): Make sure txt is a string
23465 before calling `string-match'.
23466 (org-capture-templates): Fix customization type.
23468 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23470 * org-latex.el (org-export-latex-preprocess): Make a special case
23472 (org-latex-entities): Remove the entry for \nbsp.
23473 (org-latex-entities-exceptions): Variable removed.
23475 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23477 * org-capture.el (org-capture-refile): Do not try to manipulate
23480 * org.el (org-refile): Use the correct bookmark here.
23482 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23484 * org-list.el (org-list-send-list): Parse list from its true beginning.
23486 * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
23488 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23490 * org.el (org-insert-link): Correctly determine if we should use
23493 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
23495 * org-list.el (org-list-radio-list-templates): Fix templates.
23497 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
23499 * org-list.el (org-list-send-list): Regexp defining the start of
23500 a radio list is now on par with the one used for radio tables.
23502 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23504 * org-entities.el (org-entities-help): Add a headline for
23505 the user-defined entities.
23507 2010-07-19 Dirk-Jan C. Binnema <djcb.bulk@gmail.com> (tiny change)
23509 * org-agenda.el (org-agenda-action): Document capture key and add it
23512 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23514 * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
23516 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23518 * org-latex.el (org-export-latex-first-lines): Do not mark
23519 meta lines for removal. Do not remove BABEL config lines during export.
23521 2010-07-19 David Maus <dmaus@ictsoc.de>
23523 * org-capture.el (org-capture): Check if
23524 `org-capture-link-is-already-stored' is bound before evaluating.
23526 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23528 * org.el: Add autoload for org-babel-do-load-languages.
23530 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23532 * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
23534 2010-07-19 David Maus <dmaus@ictsoc.de>
23536 * org-feed.el: Change indentation to match coding style
23539 2010-07-19 David Maus <dmaus@ictsoc.de>
23541 * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
23542 library if necessary.
23544 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23546 * org-beamer.el (org-beamer-amend-header): Standardize the
23547 header cookie for the beamer extra stuff.
23549 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23551 * org-beamer.el (org-beamer-amend-header): Put extra header
23554 2010-07-19 David Maus <dmaus@ictsoc.de>
23556 * org-exp-blocks.el (org-export-blocks-format-ditaa)
23557 (org-export-blocks-format-dot): Remove text properties of body before
23558 calculating cache hash.
23560 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23562 * org-latex.el (org-export-latex-tabular-environment): New option.
23563 (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
23565 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23567 * org-compat.el (org-version-check): New function.
23569 * org-indent.el (org-indent-mode): Check for exact emacs version.
23571 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23573 * org-capture.el (org-capture-templates): Allow the template
23574 to come from a file or function call.
23575 (org-capture-place-entry): Get the template from file or function.
23577 2010-07-19 David Maus <dmaus@ictsoc.de>
23579 * org-agenda.el (org-agenda-bulk-action): Don't create marker for
23580 position if target is entire file.
23582 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23584 * org.el (org-autoload): Autoload a few more org-table functions.
23586 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23588 * org.el (org-babel-load-languages): Add ob-mscgen.
23590 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23592 * org-latex.el (org-export-latex-tables): Format string now
23595 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23597 * org.el (org-babel-load-languages): This variable controls which
23598 languages will be loaded by org-babel. It is customizable through
23599 the customize interface.
23601 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23603 * org-latex.el (org-export-latex-format-image): Update number of
23604 arguments to allow for an optional short-name.
23606 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23608 * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
23610 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23612 * org-capture.el (org-capture-set-target-location):
23613 Store exact positions for file+regexp and file+function targets.
23614 (org-capture-place-entry, org-capture-place-item)
23615 (org-capture-place-table-line, org-capture-place-plain-text):
23616 Respect exact positions.
23617 (org-capture-finalize): Make sure we are at the beginning of a line
23618 when fixing the empty lines after the entry.
23620 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23622 * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
23623 (org-entry-get): Pass `literal-nil' into
23624 `org-entry-get-with-inheritance'.
23625 (org-todo): React to nil values of the LOGGING property.
23627 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23629 * org.el (org-default-notes-file): Update docstring.
23631 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23633 * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
23635 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23637 * org-exp.el (org-export-attach-captions-and-attributes):
23638 Add a shortname attribute to caption strings under the symbol name
23639 org-caption-shortn.
23641 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23643 * org.el (org-switchb): Rename from `org-iswitchb'.
23645 (org-iswitchb): New alias.
23646 (org-ido-switchb): Make alias point to `org-switchb'.
23648 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23650 * org-capture.el (org-capture-fill-template):
23651 Respect time-of-day preference in template prompt.
23653 2010-07-19 David Maus <dmaus@ictsoc.de>
23655 * org-feed.el (org-feed-unescape): Remove superfluous lambda.
23657 2010-07-19 David Maus <dmaus@ictsoc.de>
23659 * org-wl.el (org-wl-disable-folder-check): New customization
23661 (org-wl-open): Disable folder check depending on
23662 `org-wl-disable-folder-check'.
23664 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23666 * org-capture.el (org-capture-set-target-location):
23667 Fix file+function interpretation.
23669 2010-07-19 David Maus <dmaus@ictsoc.de>
23671 * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
23674 2010-07-19 David Maus <dmaus@ictsoc.de>
23676 * org-feed.el (xml-entity-alist): Declare variable
23677 `xml-entity-alist' for byte compiler.
23679 2010-07-19 David Maus <dmaus@ictsoc.de>
23681 * org-feed.el (org-feed-unescape): New function.
23682 Unescape protected entities.
23683 (org-feed-parse-atom-entry): Use function for atom:content
23684 type text and html.
23686 2010-07-19 David Maus <dmaus@ictsoc.de>
23688 * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
23691 2010-07-19 Bernt Hansen <bernt@norang.ca>
23693 * org.el (org-time-string-to-absolute): Ignore cyclic repeater
23694 when displaying items on todays agenda date.
23696 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23698 * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
23701 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23703 * org-publish.el (org-publish-initialize-cache):
23704 Make timestamp directory, the entire path to it.
23706 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23708 * org-exp.el (org-export-handle-comments): Make sure to check
23709 for protection in the comment line, and not in the line after it.
23711 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23713 * org-html.el (org-export-html-preprocess): Call org-format-latex,
23714 possibly with a protect-only argument.
23716 * org.el (org-format-latex): New argument PROTECT-ONLY.
23718 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23720 * org-exp.el (org-export-handle-table-metalines): This function
23721 removes table specific meta-lines, now that we aren't wiping
23722 everything that looks remotely like a comment at the end of the
23723 export process we have to be sure to catch all of the specific lines
23726 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
23728 * org-exp.el (org-export-select-backend-specific-text): Properly
23729 get rid of #+Backend and #+ATTR_Backend specifics to backends not
23730 matching the one we're exporting to.
23732 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23734 * org-table.el (orgtbl-to-generic): Add the :remove-newlines
23735 option which will strip newline characters from the text of table
23736 cells and replace then with "\n".
23738 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23740 * org.el (org-confirm-shell-link-function)
23741 (org-confirm-elisp-link-function): Limit the values that can be set by
23744 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23746 * org.el (org-compute-latex-and-specials-regexp): Deal with
23747 string elements by discarding them.
23749 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23751 * org.el (org-iswitchb): Make sure to use at least iswitchb.
23753 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23755 * org-capture.el (org-capture-position-for-last-stored)
23756 (org-capture-bookmark-last-stored-position): New functions.
23757 (org-capture-place-table-line): Better error catching.
23758 (org-capture-place-item, org-capture-place-entry)
23759 (org-capture-place-plain-text):
23760 Call `org-capture-position-for-last-stored'.
23761 (org-capture-finalize): Just call
23762 `org-capture-bookmark-last-stored-position'.
23764 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23766 * org-exp.el (org-export-mark-blockquote-verse-center):
23767 Fix small bug, now grabbing match data before overwritten by looking-at
23768 this fixes a problem with remainders of #+end_quote lines appearing
23769 in exported output.
23771 2010-07-19 David Maus <dmaus@ictsoc.de>
23773 * org.el (org-link-frame-setup): Add customization option for
23776 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23778 * org-latex.el (org-export-latex-fixed-width): Now check
23779 org-example rather than org-protected on verbatim export, because by
23780 default all ": " prefixed lines are marked protected.
23782 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23784 * org-latex.el (org-export-latex-fixed-width): Check for
23785 protection before wrapping ": " lines as verbatim.
23787 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23789 * org-exp.el (org-export-handle-comments): Check for protection
23790 before removing comments.
23792 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23794 * org-entities.el (org-entities): Restructure the list.
23795 (org-entities-help): Turn the help output into a buffer
23796 in Org-mode, so that it becomes easier to find a symbol
23798 (org-entities-create-table): Deal with new structure.
23800 2010-07-19 David Maus <dmaus@ictsoc.de>
23802 * org-agenda.el (org-write-agenda): Use backquotes to expand
23803 `flet' at compile time.
23805 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23807 * org.el (org-entry-properties): Make sure that standard property
23808 names are used even if the user has customized time keywords.
23810 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23812 * org-macs.el (org-not-nil): Return the value if not interpreted
23815 * org.el (org-entry-get)
23816 (org-entry-get-with-inheritance): Interpret the value "nil"
23817 as nil for properties.
23819 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23821 * org.el (org-switch-to-buffer-other-window): Return the buffer.
23823 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23825 * org-macs.el (org-not-nil): New function.
23827 * org.el (org-block-todo-from-children-or-siblings-or-parent):
23828 Use `org-not-nil' to interpret a property value of nil.
23830 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23832 * org.el (org-truely-invisible-p): New function.
23833 (org-beginning-of-line): Use `org-truely-invisible-p'.
23835 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23837 * org-agenda.el (org-agenda-get-timestamps): No errors
23838 while getting TODO state.
23839 (org-agenda-highlight-todo): No error when no keyword has
23842 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23844 * org.el (org-timestamp-change): New optional argument UPDOWN.
23845 Use this to identify calls from org-timestamp-up/down, so that we can
23846 skip by rounding minutes in this case.
23847 (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
23848 (org-timestamp-down-day): Call org-timestamp-change with the
23851 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23853 * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
23855 * org-capture.el: New file.
23857 * org-compat.el (org-get-x-clipboard): Function moved here from
23860 * org-mks.el: New file.
23862 * org.el (org-set-regexps-and-options): Allow statistic cookies as
23863 part of complex headlines.
23864 (org-find-olp): New argument THIS-BUFFER. When set, assume that the
23865 OLP does not contain a file name.
23867 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23869 * org.el (org-mode): Set `comment-start' instead of changing the
23870 syntax of the `#' character.
23872 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23874 * org-exp.el (org-export-format-source-code-or-example): Mark examples
23877 * org-html.el (org-export-html-close-lists-maybe): Check if raw
23878 HTML stuff was actually made from an example.
23880 2010-07-19 Bastien Guerry <bzg@gnu.org>
23882 * org-latex.el: Items are no longer skipped when their first line
23883 ends on a protected element.
23885 * org-list.el: Protected environments looking like lists are not
23888 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23890 * org-exp-blocks.el (org-export-blocks-preprocess):
23891 Cleanup trailing newline after block.
23893 2010-07-19 Bastien Guerry <bzg@gnu.org>
23895 * org-exp.el: Comment regexp now matches documentation. No more
23896 protection check when deleting comments before export.
23898 2010-07-19 Bastien Guerry <bzg@gnu.org>
23900 * org-exp.el (org-export-preprocess-string):
23901 Now using `org-export-handle-include-files-recurse' to resolve
23904 2010-07-19 Bastien Guerry <bzg@gnu.org>
23906 * org-agenda.el (org-agenda-get-deadlines)
23907 (org-agenda-get-scheduled):
23908 * org.el (org-time-string-to-seconds):
23909 For deadline and scheduled agenda display ignore the cyclic repeater
23910 when calculating how many days late the task is. If you have a weekly
23911 task and miss the date the agenda view will show more than a week late
23912 now instead of resetting on the cyclic repeating date. This makes it
23913 much more obvious when you missed a repeating task after the repeater.
23915 2010-07-19 Bastien Guerry <bzg@gnu.org>
23917 * org-exp.el (org-export-mark-blockquote-verse-center):
23918 Consider environments that end at eob.
23920 2010-07-19 Mikael Fornius <mfo@abc.se>
23922 * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
23923 with face `org-special-keyword'. Make property keys as :LAST_REPEAT:
23926 2010-07-19 Mikael Fornius <mfo@abc.se>
23928 * org.el (org-at-property-p): Use save-match-data macro instead of let.
23930 2010-07-19 Mikael Fornius <mfo@abc.se>
23932 * org.el (test): Remove unused test function.
23934 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23936 * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
23938 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23940 * org-exp-blocks.el (org-export-blocks-postblock-hook):
23941 Add documentation to and turn into a defcustom.
23943 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23945 * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
23946 instead of to nil we avoid errors when :prefix1 is defined, but
23949 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
23951 * org-latex.el (org-export-latex-preprocess): Environments coming
23952 from latex backend specific instructions (#+LaTeX) are already
23953 protected and won't be treated as normal environments.
23955 2010-07-19 Bastien Guerry <bzg@gnu.org>
23957 * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
23959 2010-07-19 Bastien Guerry <bzg@gnu.org>
23961 * org-timer.el (org-timer-set-timer): Use a prefix argument.
23962 See the docstring of the function.
23964 2010-07-19 Bastien Guerry <bzg@gnu.org>
23966 * org-timer.el (org-timer-set-timer): Fix bug about canceling
23969 2010-07-19 David Maus <dmaus@ictsoc.de>
23971 * org-w3m.el (org-w3m-copy-for-org-mode)
23972 (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
23973 Get text property directly, not using macro `w3m-anchor'.
23975 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23977 * org.el (org-emph-re): Document the match groups.
23979 2010-07-19 Bernt Hansen <bernt@norang.ca>
23981 * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
23982 t before calling `org-clock-out', so that that function can
23983 know its call context.
23985 2010-07-19 Bastien Guerry <bzg@gnu.org>
23987 * org-timer.el (org-timer-default-timer): New variable.
23988 (org-timer-set-timer): Use the new variable. Also offer the
23989 possibility to replace the current timer by a new one.
23991 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23993 * org.el (org-kill-note-or-show-branches): Hide subtree before
23994 exposing the headings.
23996 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23998 * org.el (org-add-planning-info): Remove the empty line also
23999 if there is no whitespace at all in there.
24001 * org-table.el (org-table-align): Fix alignment of strings
24002 with invisible characters.
24004 2010-07-19 David Maus <dmaus@ictsoc.de>
24006 * org.el (org-refile-cache-get): Return empty list of targets
24007 when cache was cleared.
24008 (org-clone-subtree-with-time-shift): Maybe create ID property
24009 in cloned subtrees.
24010 (org-clone-delete-id): New customization variable.
24011 (org-clone-subtree-with-time-shift): Use customization
24012 variable `org-clone-delete-id'.
24013 (org-clone-subtree-with-time-shift): Remove empty property
24014 drawer in cloned subtrees.
24016 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24018 * org.el (org-refile-use-cache): New option.
24019 (org-refile-cache, org-refile-markers): New variable.
24020 (org-refile-marker, org-refile-cache-clear)
24021 (org-refile-cache-check-set, org-refile-cache-put)
24022 (org-refile-cache-get): New function.
24023 (org-get-refile-targets): Use the refile cache.
24025 * org-clock.el (org-clock-sum): Don't include running clock if
24026 the time block is wrong.
24028 2010-07-19 John Wiegley <jwiegley@gmail.com>
24030 * org-clock.el (org-clock-clock-in, org-clock-in):
24031 Add parameter `start-time'.
24032 (org-clock-resolve-clock): Add parameter `clock-out-time'.
24033 If set, and resolve-to is a past time, then the clock out
24034 event occurs at `clock-out-time' rather than at `resolve-to'.
24035 In this case, `resolve-to' becomes the clock in time.
24036 (org-clock-jump-to-current-clock): Create new global command
24037 to reveal the current clock.
24038 (org-clock-resolve): Add new commands g/G and j/J, and a
24039 help window describing all commands and their meaning.
24040 (org-clock-resolve-expert): New customization variable.
24041 (org-find-open-clocks): Fix a bug that caused discovered
24042 clocks not to match up with the currently active clock.
24043 (org-resolve-clocks): Change the argument
24044 `also-non-dangling-p' to `only-dangling-p', since due to a bug
24045 this was the default behavior all along.
24047 2010-07-19 David Maus <dmaus@ictsoc.de>
24049 * org-id.el (org-id-uuid): New function. Return string with
24050 random (version 4) UUID.
24051 (org-id-method): Make 'uuid the new default value.
24052 (org-id-new): Use `org-id-uuid' if call to uuidgen program
24053 does not return a UUID.
24055 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24057 * org-latex.el (org-export-latex-format-image): Add support
24058 for multicolumn figures in LaTeX.
24060 2010-07-19 David Maus <dmaus@ictsoc.de>
24062 * org.el (org-clone-subtree-with-time-shift): Remove ID
24063 property of original subtree in cloned subtrees.
24065 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24067 * org-exp.el (org-export-format-source-code-or-example):
24068 XEmacs compatibility.
24070 * org-latex.el (org-export-latex-tables): Accept comma in
24073 * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24074 (org-export-docbook-xslt-proc-command): Fix docstring.
24075 (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24076 (org-export-as-docbook-pdf):
24077 Improve formatting of the xslt command.
24079 * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24081 * org.el (org-file-contents): Improve error message.
24082 (org-set-regexps-and-options): Remove spaces at both ends.
24084 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24086 * org-docbook.el (org-export-as-docbook-pdf):
24087 Improve formatting of the xslt command.
24089 2010-07-19 Sebastian Rose <sebastian_rose@gmx.de>
24091 * org-publish.el (org-publish-cache): Use one big hashmap for
24092 each project defined in `org-publish-project-alist'.
24093 (initialize-files-alist): Function removed.
24094 (org-publish-validate-link): Function removed.
24095 (org-publish-get-base-files): Add variable `sitemap-requested'
24096 to avoid sorting where possible.
24097 (org-publish-get-files): Function removed.
24098 (org-publish-get-project-from-filename): Make independent of
24100 (org-publish-file): New argument NO-CACHE.
24102 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24104 * org.el (org-beginning-of-defun, org-end-of-defun):
24106 (org-mode): Install the `org-beginning-of-defun' and
24107 `org-end-of-defun' functions.
24108 (org-pretty-entities): New option.
24109 (org-toggle-pretty-entities): New command.
24110 (org-fontify-entities): New function.
24111 (org-startup-options): New keywords for pretty entities.
24112 (org-set-font-lock-defaults): Call the pretty entities
24115 * org-latex.el (org-export-latex-keywords-maybe): Protect the
24118 2010-07-19 Mikael Fornius <mfo@abc.se>
24120 * org-habit.el (org-habit-build-graph): Help-echo date when
24121 mouse is over stars.
24123 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
24125 * org.el (org-file-apps): Improve docstring to reflect
24128 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24130 * org.el (org-set-startup-visibility): Fix empty line display.
24132 * org-latex.el (org-export-latex-links): Use the formatting
24133 function of the link type, if it is available.
24135 * org-table.el (org-table-get-remote-range): Return to
24136 original buffer when retrieving remote reference.
24138 * org.el (org-display-inline-images): Do the entire buffer,
24139 not just the narrowed region. Clear the cache.
24140 (org-display-inline-images): Match mode file paths.
24142 2010-07-19 David Maus <dmaus@ictsoc.de>
24144 * org-wl.el (org-wl-store-link-folder): Don't throw error when
24145 called on WL folder group.
24147 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24149 * org.el (org-replace-escapes): Make sure the cdr is not nil.
24150 (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24151 (org-mode): Revert comment syntax changes.
24153 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24155 * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24156 keywords, and `C-c / T' for a specific one.
24158 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24160 * org.el (org-mode): Fix comment syntax settings.
24162 * org-src.el (org-edit-src-allow-write-back-p):
24165 * org.el (org-inline-image-overlays): New variable.
24166 (org-toggle-inline-images, org-display-inline-images)
24167 (org-remove-inline-images): New commands.
24168 (org-mode-map): Define a key for `org-toggle-inline-images'.
24170 2010-07-19 David Maus <dmaus@ictsoc.de>
24172 * org-wl.el (org-wl-message-field): New function.
24173 Return content of header field in message entity.
24174 (org-wl-store-link): Call `org-wl-store-link-folder' or
24175 `org-wl-store-link-message' depending on major-mode.
24176 (org-wl-store-link-folder): New function. Store link to
24178 (org-wl-store-link-message): New function. Store link to
24179 Wanderlust message.
24180 (org-wl-store-link-message): Store link to message while
24182 (org-wl-open): Don't try to jump to message when opening a
24185 2010-07-19 David Maus <dmaus@ictsoc.de>
24187 * org.el (org-replace-escapes): Avoid infinite loop when
24188 replace string contains escape sequence it replaces.
24190 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24192 * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24193 encryption when now key is set.
24195 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24197 * org-table.el (org-table-recalculate-buffer-tables)
24198 (org-table-iterate-buffer-tables): New commands.
24200 * org.el (org-check-for-hidden): When there is a region, skip
24203 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
24205 * org-src.el (org-edit-src-code): allow-write-back-p had
24206 erroneously been omitted from let binding.
24208 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24210 * org-agenda.el (org-sorting-choice): New sorting type alpha.
24211 (org-cmp-alpha): New defsubst.
24212 (org-em): New defsubst.
24213 (org-entries-lessp): Only compute needed comparisons.
24215 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24217 * org-html.el (org-format-org-table-html): Test all columns
24218 for number content.
24220 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24222 * org-latex.el (org-export-latex-treat-sub-super-char):
24223 Make sure parenthesis matching is consistent.
24225 * org-table.el (org-table-colgroup-line-p)
24226 (org-table-cookie-line-p): New functions.
24228 * org-exp.el (org-table-clean-before-export): Better tests for
24229 colgroup and cookie lines.
24231 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24233 * org-agenda.el (org-agenda-goto): Push a mark before changing
24236 * org-footnote.el (org-footnote): New group.
24237 (org-footnote-section)
24238 (org-footnote-tag-for-non-org-mode-files): Fix typos.
24240 * org-list.el (org-end-of-item-text-before-children): Also do
24241 the right thing at the end of a file.
24243 * org.el (org-set-packages-alist, org-get-packages-alist):
24245 (org-export-latex-default-packages-alist)
24246 (org-export-latex-packages-alist): Add extra flag to
24247 each package, indicating if it should be used for snippets.
24248 (org-create-formula-image): Add the snippet argument.
24249 (org-splice-latex-header): New argument SNIPPET-P, pass it
24250 through to `org-latex-packages-to-string'.
24251 (org-latex-packages-to-string): New argument SNIPPET-P.
24253 * org-latex.el (org-export-latex-make-header): Add the snippet
24256 * org-docbook.el (org-export-as-docbook): Implement ordered
24257 lists starting at some offset.
24259 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24261 * org.el (org-link-types, org-open-at-point): Add doi links.
24263 * org-ascii.el (org-export-ascii-preprocess): Remove list
24264 startcounter cookies.
24266 * org-list.el (org-renumber-ordered-list): Respect counter
24269 * org-latex.el (org-export-latex-lists): Accept ordered list
24270 item offset cookie.
24272 * org-html.el (org-export-as-html): Accept ordered list
24273 item offset cookie.
24275 * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24276 which messes up alignment of tags.
24278 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24280 * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24281 the modeline display is removed.
24283 * org-exp.el (org-export-format-drawer-function):
24286 * org-agenda.el (org-agenda-refile): New optional argument
24288 (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24290 (org-agenda-bulk-action): Call the refile command with updates
24291 suppressed - but arrange for `org-agenda-redo' to be called at
24294 * org.el (org-mode): Make table mapping quiet.
24295 (org-table-map-tables): New optional argument QUIETLY.
24297 * org-ascii.el (org-export-ascii-preprocess): Make table
24300 * org-html.el (org-export-as-html, org-html-level-start):
24301 Change XHTML IDs to not use dots.
24303 * org-exp.el (org-export-define-heading-targets):
24304 Change XHTML IDs to not use dots.
24306 * org-docbook.el (org-export-docbook-level-start):
24307 Change XHTML IDs to not use dots.
24309 * org-latex.el (org-export-as-latex): Make sure that the
24310 result buffer is in latex-mode.
24312 * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24313 (org-shiftleft-final-hook, org-shiftright-final-hook):
24316 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24318 * org-table.el (org-table-justify-field-maybe): Make sure that
24319 inserting a value does not turn a line into a hline.
24321 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24323 * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24324 (org-clock-sum): Add property to selected headlines.
24325 (org-dblock-write:clocktable): Make tags matcher.
24327 * org.el (org-set-autofill-regexps): XEmacs compatibility.
24329 * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24330 in latex class definitions.
24332 * org.el (org-shiftup-hook, org-shiftdown-hook)
24333 (org-shiftleft-hook, org-shiftright-hook): New hooks.
24335 * org-entities.el (org-entities): Use \land and \lor for logical
24338 * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24339 indentation commands.
24340 (org-hidden-tree-error): New defsubst.
24341 (org-metaleft, org-metaright): Check for hidden stuff and throw an
24343 (org-check-for-hidden): New function.
24345 * org-list.el (org-item-re): New function.
24346 (org-at-item-p): Use `org-item-re'.
24347 (org-end-of-item-text-before-children): New function.
24348 (org-outdent-item, org-indent-item): Arrange for leaving the
24350 (org-outdent-item-tree, org-indent-item-tree): New argument
24352 (org-indent-item-tree): Use `org-end-of-item-text-before-children'
24353 to find the end for processing while ignoring the subtree.
24355 * org-publish.el (org-publish-sitemap-sort-alphabetically)
24356 (org-publish-sitemap-sort-folders)
24357 (org-publish-sitemap-sort-ignore-case): New options.
24359 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24361 * org-publish.el (org-publish-compare-directory-files): Fix sorting.
24363 * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
24365 * org-publish.el (org-publish-project-alist): Update docstring.
24366 (org-publish-file-title-cache): New variable.
24367 (org-publish-initialize-files-alist):
24368 Initialize `org-publish-initialize-files-alist' to nil.
24369 (org-publish-sort-directory-files): New function.
24370 (org-publish-projects): Access the new properties.
24371 (org-publish-find-title): Use the file title cache.
24372 (org-publish-find-title): Build the file title cache.
24373 (org-publish-get-base-files-1): Sort files.
24374 (org-publish-aux-preprocess): Do not throw an error when before
24375 the first headline. Allow an empty target, meaning to link just
24377 (org-publish-index-generate-theindex.inc): Check if there is
24378 actually a target and only then add it to the link.
24379 (org-publish-projects): Fix a remaining issue with the last commit.
24381 * org-html.el (org-export-as-html): Treat verse as open/close
24383 (org-export-html-close-lists-maybe): Allow to splice raw HTML into
24386 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
24388 * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
24389 be used in a read-only mode.
24390 (org-edit-src-code): Different message in read-only mode.
24392 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24394 * org-src.el (org-edit-src-find-region-and-lang): Test for
24395 table.el as late as possible.
24397 * org-colview.el: Make sure this file is never loaded into XEmacs.
24399 * org-agenda.el (org-highlight, org-unhighlight): Use direct
24402 * org.el (org-key): Apply the translations defined in
24403 `org-xemacs-key-equivalents'.
24405 * org-mouse.el (org-mode-hook): Use `org-defkey'.
24407 * org-compat.el (org-xemacs-key-equivalents): New constant.
24409 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24411 * org-inlinetask.el (org-inlinetask-defaut-state): New option.
24412 (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
24413 Obey `org-odd-levels-only'.
24415 * org-compat.el (org-find-overlays): Use overlays-in/at.
24417 * org.el (org-remove-empty-overlays-at)
24418 (org-outline-overlay-data, org-hide-block-toggle)
24419 (org-format-latex, org-context): Use overlays-in/at.
24421 * org-src.el (org-edit-src-exit): Use overlays-in/at.
24423 * org-agenda.el (org-agenda-mark-clocking-task)
24424 (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
24425 (org-agenda-entry-text-hide)
24426 (org-agenda-fix-tags-filter-overlays-at)
24427 (org-agenda-bulk-remove-overlays): Use overlays-in/at.
24429 * org-compat.el (org-overlays-at): Function removed.
24430 (org-overlays-in): Function removed.
24432 2010-07-19 Bastien Guerry <bzg@gnu.org>
24434 * org-clock.el (org-clock-set-current): Just return the headline
24435 itself, strip the TODO keyword, the priority cookie and the tags.
24437 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24439 * org-compat.el (org-xemacs-without-invisibility): New macro.
24440 (org-xemacs-without-invisibility): New macro.
24441 (org-indent-to-column, org-indent-line-to, org-move-to-column):
24442 Redefine using the macro `org-xemacs-without-invisibility'.
24444 * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
24446 * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
24448 * org-compat.el (org-make-overlay, org-delete-overlay)
24449 (org-overlay-start, org-overlay-end, org-overlay-put)
24450 (org-overlay-get, org-overlay-move, org-overlay-buffer):
24452 (org-add-to-invisibility-spec): Function removed.
24454 * org-html.el (org-export-as-html-and-open): Add argument to
24457 * org-habit.el (require): `calendar' is now required already by
24458 org.el on top level.
24460 * org-clock.el (require): `calendar' is now required already by
24461 org.el on top level.
24463 * org-agenda.el (require, org-timeline, org-agenda-list)
24464 (org-todo-list, org-agenda-to-appt): `calendar' is now required
24465 already by org.el on top level.
24467 * org.el (org-export-latex-fix-inputenc): Declare function.
24469 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
24472 * org.el (calendar): Require calendar now on top level in org.el
24473 and define aliases to new variables when needed.
24474 (org-read-date, org-goto-calendar): Do not bind obsolete
24477 * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
24478 compilation warning, add comment that this cannot be done with
24479 `with-current-buffer'.
24481 * org-wl.el (org-wl-open): Use `with-current-buffer'.
24483 * org.el (overlay, org-remove-empty-overlays-at)
24484 (org-outline-overlay-data, org-set-outline-overlay-data)
24485 (org-show-block-all, org-hide-block-toggle)
24486 (org-highlight-new-match, org-remove-occur-highlights)
24487 (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
24488 (org-read-date, org-read-date-display, org-eval-in-calendar)
24489 (org-format-latex, org-context)
24490 (org-speedbar-restriction-lock-overlay)
24491 (org-speedbar-set-agenda-restriction): Use the normal overlay API.
24493 * org-table.el (org-table-add-rectangle-overlay)
24494 (org-table-remove-rectangle-highlight)
24495 (org-table-overlay-coordinates)
24496 (org-table-toggle-coordinate-overlays): Use the normal overlay
24499 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
24500 (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
24501 normal overlay API.
24503 * org-colview.el (org-columns-new-overlay)
24504 (org-columns-display-here, org-columns-remove-overlays)
24505 (org-columns-edit-value, org-columns-next-allowed-value)
24506 (org-columns-update): Use the normal overlay API.
24508 * org-clock.el (org-clock-out, org-clock-cancel)
24509 (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
24512 * org-agenda.el (org-agenda-mark-filtered-text)
24513 (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
24514 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
24515 (org-agenda-entry-text-hide)
24516 (org-agenda-restriction-lock-overlay)
24517 (org-agenda-set-restriction-lock)
24518 (org-agenda-filter-by-tag-hide-line)
24519 (org-agenda-fix-tags-filter-overlays-at)
24520 (org-agenda-filter-by-tag-show-all, org-hl)
24521 (org-agenda-goto-calendar, org-agenda-bulk-mark)
24522 (org-agenda-bulk-remove-overlays): Use the normal overlay API.
24524 * org-freemind.el (org-freemind-from-org-mode-node)
24525 (org-freemind-from-org-mode)
24526 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
24527 Use interactive-p instead of called-interactively, because this is
24528 backward compatible with older Emacsen I still support..
24530 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24532 * org-exp.el (org-export-define-heading-targets): Fix bug in
24533 regexp finding ID and CUSTOM_ID properties.
24535 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24537 * org-footnote.el (org-footnote-goto-previous-reference):
24538 Rename from `org-footnote-goto-next-reference'.
24540 * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
24541 org-log-repeat is non-nil, or if there is clocking data in the
24544 * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
24546 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24548 * org.el (org-align-all-tags): New command.
24550 2010-07-19 David Maus <dmaus@ictsoc.de>
24552 * org-wl.el (org-wl-link-remove-filter): New customizable
24553 variable. If non-nil, filter conditions are stripped when storing
24554 link to message in filter folder.
24555 (org-wl-shimbun-prefer-web-links): New customizable variable.
24556 If non-nil, links to shimbun messages are created as web links to
24558 (org-wl-nntp-prefer-web-links): New customizable variable.
24559 If non-nil, links to nntp message are created as web links to gmane
24561 (org-wl-namazu-default-index): New customizable variable.
24562 Directory of namazu search index that should be used as default
24563 when opening a link in a search folder.
24564 (org-wl-folder-types): New constant. Wanderlust folder type
24566 (org-wl-folder-type): New function. Return type of Wanderlust
24568 (org-wl-store-link): Create web links for shimbun or nntp messages
24569 and strip filter conditions depending on customizable variables.
24570 (org-wl-open): Open namazu search folder for message when called
24573 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24575 * org.el (org-remove-if, org-remove-if-not): New functions.
24576 (org-open-file): Use internal remove-if functions.
24578 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
24580 * org.el (org-file-apps-entry-match-against-dlink-p): New function.
24581 (org-file-apps-ex): Remove variable.
24582 (org-open-file): Integrate org-file-apps-ex functionality back
24583 into org-file-apps, and decide whether to match a regexp against
24584 the link or the filename using org-file-apps-entry-uses-grouping-p.
24586 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
24588 * org.el (org-file-apps-ex): New variable.
24589 (org-open-file): Before considering org-file-apps, first match the
24590 regexps from org-file-apps-ex against the whole link.
24591 See docstring of org-file-apps-ex.
24593 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24595 * org.el (org-export-latex-default-packages-alist):
24596 Remove microtype package.
24597 (org-todo-repeat-to-state): New variable.
24598 (org-auto-repeat-maybe): Allow user-selected target states.
24599 (org-default-properties): Add the new property REPEAT_TO_STATE.
24601 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24603 * org-mobile.el (org-mobile-check-setup): Make sure that there is
24604 a binary to compute checksums.
24606 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com>
24608 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
24611 * org.el (calendar): Require calendar now on top level in org.el
24612 and define aliases to new variables when needed.
24613 (org-read-date, org-goto-calendar): Do not bind obsolete
24616 2010-06-22 Glenn Morris <rgm@gnu.org>
24618 * org-entities.el: Add explicit utf-8 coding cookie to file with
24621 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
24623 * org.el (org-file-complete-link): Avoid (expand-file-name ".").
24625 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
24627 * Version 23.2 released.
24629 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24631 * org-table.el (orgtbl-setup):
24632 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
24634 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24636 * org-table.el (orgtbl-mode): Use define-minor-mode.
24638 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24640 * org.el (org-insert-link): Find the link buffer on visible frames.
24641 (org-export-latex-default-packages-alist): Hyperref must be loaded
24643 (org-open-file): More care with the new matching for file links.
24645 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24647 * org-latex.el (org-export-latex-preprocess): Do not yet protect
24648 defined entities - these will be taken care of later.
24649 (org-export-latex-special-chars): Post-process entity replacement.
24650 (org-export-latex-fontify-headline): Do not yet protect defined
24651 entities - these will be taken care of later.
24652 (org-export-latex-tables, org-export-latex-links): Format the
24655 * org-entities.el (org-entities-user): Fix typo.
24657 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
24659 * org-entities.el (org-entities-user): Improve docstring.
24661 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24663 * org-entities.el (org-macs): Require org-macs, to be sure that we
24664 have `declare-function' defined.
24666 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24668 * org-latex.el (org-export-latex-classes): Update docstring.
24670 * org.el (org-format-latex-header): Add cookies to the header.
24671 (org-splice-latex-header): Implement placement according to cookies.
24673 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24675 * org-publish.el (org-publish-aux-preprocess): Control case
24678 2010-04-10 Bastien Guerry <bzg@gnu.org>
24680 * org.el (org-splice-latex-header): Fix typo.
24682 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24684 * org-latex.el (org-export-latex-make-header):
24685 Use `org-splice-latex-header' to build the header.
24686 (org-export-latex-classes): Update docstring.
24688 * org.el (org-splice-latex-header): New function.
24689 (org-create-formula-image): Use `org-splice-latex-header' to build
24692 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
24694 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24696 * org.el (org-export-latex-packages-alist)
24697 (org-export-latex-default-packages-alist): Fix docstring to
24698 reflect the expected structure.
24700 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
24701 (org-export-docbook-finalize-table): Make use of label for tables.
24703 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24705 * org-attach.el (org-attach-commit): Split on newlines.
24707 * org.el (org-export-latex-default-packages-alist): Use list
24708 instead of cons for the entries.
24710 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24712 * org-entities.el (org-entity-get-representation): Catch the case
24713 that there is not entry in the list.
24715 * org-mobile.el (org-mobile-use-encryption)
24716 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
24718 (org-mobile-check-setup): CHeck the encryption setup.
24719 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
24720 (org-mobile-create-sumo-agenda): Use encryption code.
24721 (org-mobile-encrypt-and-move): New function.
24722 (org-mobile-encrypt-file, org-mobile-decrypt-file):
24724 (org-mobile-move-capture): Decrypt the capture file.
24726 * org.el (org-entities): Require the new file.
24727 (org-export-latex-default-packages-alist): New variable.
24728 (org-complete): Use new entity code for completion.
24729 (org-create-formula-image): Use the new packages variable.
24731 * org-latex.el (org-export-latex-classes): Remove the standard
24732 packages from the class headers.
24733 (org-export-latex-make-header): Use the new package variable.
24734 (org-export-latex-special-chars): Better regexp for entities, to
24735 support entity name that contain numbers.
24736 (org-export-latex-treat-backslash-char): Use the new entity code.
24738 * org-html.el (org-html-do-expand): Use the new entity code.
24740 * org-exp.el (org-export): Add the new export commands.
24741 (org-html-entities): Constant removed.
24742 (org-export-visible): Add the new export commands.
24744 * org-docbook.el (org-docbook-do-expand): Use new entity code.
24746 * org-ascii.el (org-export-ascii-entities): New variable.
24747 (org-export-as-latin1, org-export-as-latin1-to-buffer)
24748 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
24749 (org-export-as-encoding): New function.
24750 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
24751 (org-ascii-replace-entities): New function.
24753 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24754 Ulf Stegemann <ulf@zeitform.de>
24756 * org-entities.el: New file.
24758 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24760 * org-html.el (org-html-level-start): Catch the case that target
24763 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
24765 * org.el (org-appearance): Change Customize group variable name
24766 from org-font-lock to org-appearance, and change tag from "Org
24767 Font Lock" to "Org Appearance".
24768 (org-odd-levels-only): Change Customize group variable name.
24769 (org-level-color-stars-only): Change Customize group variable name.
24770 (org-hide-leading-stars): Change Customize group variable name.
24771 (org-hidden-keywords): Change Customize group variable name.
24772 (org-fontify-done-headline): Change Customize group variable name.
24773 (org-fontify-emphasized-text): Change Customize group variable name.
24774 (org-fontify-whole-heading-line): Change Customize group variable name.
24775 (org-highlight-latex-fragments-and-specials): Change Customize
24776 group variable name.
24777 (org-hide-emphasis-markers): Change Customize group variable name.
24778 (org-emphasis-alist): Change Customize group variable name.
24779 (org-emphasis-regexp-components): Change Customize group variable
24781 (org-modules): Remove mention of org-R.
24783 * org-faces.el (org-faces): Change Customize group variable name.
24785 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24787 * org-agenda.el (org-diary-last-run-time): New variable.
24788 (org-diary): Prepare agenda buffers only if last call was some
24791 * org-html.el (org-export-html-preprocess): Replace \ref macros
24793 (org-format-org-table-html): Add the label as an anchor.
24795 * org-docbook.el (org-export-docbook-format-image): Do some
24796 formatting on captions.
24798 * org-latex.el (org-export-latex-tables, org-export-latex-links):
24799 Do some formatting on captions.
24801 * org-html.el (org-export-html-format-image)
24802 (org-format-org-table-html): Do some formatting on captions.
24804 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
24806 * org.el (org-hidden-keywords): New customizable variable. This is
24807 a list of symbols specifying which of the special keywords #+DATE,
24808 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
24809 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
24810 implementing new faces and hiding behavior.
24812 * org-faces.el (org-document-title): New face for #+TITLE lines.
24813 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
24814 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
24817 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24819 * org-publish.el (org-publish-sanitize-plist): New function to
24820 rename "index" properties to "sitemap". Do this renaming
24822 (org-publish-with-aux-preprocess-maybe): New macro.
24823 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
24825 (org-publish-aux-preprocess)
24826 (org-publish-index-generate-theindex.inc): New function.
24828 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24830 * org-table.el (org-table-align): Interpret <N> at fixed width,
24831 not as maximum width.
24833 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24835 * org-exp.el (org-export-author-info, org-export-email-info):
24838 * org-beamer.el (org-beamer-select-environment): Rename from
24839 `org-beamer-set-environment-tag'. Improve docstring.
24841 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
24842 problem with odd levels.
24844 * org-ascii.el (org-export-as-ascii): Export email only if the
24847 * org-docbook.el (org-export-as-docbook): Export email only if the
24850 * org-html.el (org-export-as-html): Export email only if the
24853 * org-exp.el (org-export-email-info): New option.
24854 (org-export-plist-vars): Add entry for `org-export-email'.
24856 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24858 * org-table.el (org-table-goto-line): Fix typo.
24860 2010-04-10 Mikael Fornius <mfo@abc.se>
24862 * org.el (org-agenda-files): Typo.
24863 (org-read-agenda-file-list): Add optional argument to help
24864 `org-store-new-agenda-file-list' to remember un-expanded file
24865 names. Expand file names relative to `org-directory'.
24866 (org-store-new-agenda-file-list): Keep un-expanded file names when
24867 saving, if available.
24868 (org-agenda-files): Update documentation.
24870 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24872 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
24873 a buffer with no file name attached.
24875 * org.el (org-log-refile): New option.
24876 (org-log-note-headings): Add a heading for refiling.
24877 (org-startup-options): Add keywords for logging of the refile
24879 (org-refile): Add logging action.
24880 (org-add-log-note): Allow for refiling action.
24882 * org-agenda.el (org-agenda-bulk-action): Make sure
24883 `org-log-refile' is not `note' during a bulk action.
24885 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24887 * org.el (org-map-dblocks): Use save-excursion to remember the
24890 * org-attach.el (org-attach-commit): Remove dependence on xargs.
24891 (org-attach-delete-one): Commit after deleting a file.
24893 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
24894 borders for strike-through emphasis.
24896 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
24897 handling of odd levels.
24899 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
24900 and `future' values.
24901 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
24902 Handle `past' and `future' values.
24904 * org.el (org-read-agenda-file-list): Interpret file names
24905 relative to org-directory and allow environment variables and
24908 * org-latex.el (org-export-latex-special-chars): Allow a
24909 parenthesis before an exponent or subscript.
24911 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
24913 * org-src.el (org-edit-src-exit): When returning from code edit
24914 buffer, if code block is hidden, leave point at start of
24917 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24919 * org.el (org-insert-heading): Do not remove all spaces if the
24922 * org-indent.el (org-indent): Fix group name.
24924 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24926 * org-table.el (org-table-goto-column): Fix forcing a non-existing
24928 (org-table-get, org-table-put, org-table-goto-line)
24929 (org-table-current-line): New functions.
24931 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
24933 * org.el (org-open-file): Allow regular expressions in
24934 org-file-apps to capture link parameters using groups. In a
24935 command string to be executed, the parameters can be referenced
24936 using %1, %2, etc. Lisp forms can access them using
24937 (match-string n link).
24938 (org-apps-regexp-alist): Adopt the created regexp, as this is now
24939 matched against a file: link instead of the file name.
24941 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24943 * org-crypt.el (org-reveal-start-hook): Add a decryption function
24945 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
24948 * org.el (org-point-at-end-of-empty-headline)
24949 (org-level-increment, org-get-previous-line-level): New function.
24950 (org-cycle-level): Rewritten to be independent of when this
24951 function is called.
24952 (org-in-regexps-block-p): New function.
24953 (org-reveal-start-hook): New hook.
24954 (org-reveal): Run new hook.
24956 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24958 * org-latex.el (org-export-latex-keywords): Start a new paragraph
24959 after time keywords, do not add "\newline".
24961 * org-html.el (org-export-as-html): Avoid double # in href.
24963 * org.el (org-refile-get-location): Catch an invalid target
24966 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24968 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
24969 Make sure the behavior regarding to extracting time is
24972 2010-04-10 Stephen Eglen <stephen@gnu.org>
24974 * org-agenda.el (org-agenda-insert-diary-extract-time):
24976 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
24977 variable rather than `org-agenda-search-headline-for-time'.
24979 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24981 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
24983 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24985 * org.el (org-adaptive-fill-regexp-backup): New variable.
24986 (org-set-autofill-regexps): Store a backup of
24987 `adaptive-fill-regexp'.
24988 (org-adaptive-fill-function): Fix filling of comments and ordered
24989 lists. If there is no other match, till try adaptive fill.
24991 2010-04-10 John Wiegley <jwiegley@gmail.com>
24993 * org-agenda.el (org-agenda-include-deadlines): Add new
24994 customization variable to determine whether unscheduled tasks
24995 should appear in the agenda solely because of their deadline.
24996 Default to true, which was the previous behavior (it just wasn't
24998 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
24999 the agenda to show/hide deadline tasks.
25000 (org-agenda-menu): Add menu option for show/hide deadlines.
25001 (org-agenda-list): Make the agenda list sensitive to the value of
25002 `org-agenda-include-deadlines'.
25003 (org-agenda-toggle-deadlines): New function to toggle the value of
25004 `org-agenda-include-deadlines' and repaint the modeline
25006 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25007 modeline if deadline tasks are being displayed.
25009 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25011 * org-table.el (org-table-eval-formula): Replace $# and @# by
25012 current column and row number.
25014 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25016 * org.el (org-set-property, org-delete-property): Go back to
25017 prompting for the property.
25019 * org-latex.el (org-export-latex-make-header): Fully process
25021 (org-export-latex-fontify-headline): Allow several arguments, not
25023 (org-export-latex-fix-inputenc): Catch the error when
25024 `latexenc-coding-system-to-inputenc' is not defined.
25026 * org-agenda.el (org-agenda-skip-if-todo): New function.
25027 (org-agenda-skip-if): Add conditions for TODO keywords.
25028 (org-agenda-skip-if): Document the new todo conditions.
25030 2010-04-10 Mikael Fornius <mfo@abc.se>
25032 * org.el (org-at-property-p): Check if we are inside a property
25033 drawer not just any drawer.
25034 (org-set-property, org-delete-property): When cursor is on a
25035 property key value pair do not prompt for property name instead
25036 use name at cursor.
25037 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25038 on the first line of a property drawer.
25039 (org-property-end-re): Spell check.
25041 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25043 * org-exp.el (org-export-attach-captions-and-attributes): Add the
25044 properties to the entire table, in case the first line is
25047 * org-archive.el (org-archive-reversed-order): New option.
25048 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25049 option `org-archive-reversed-order'.
25051 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25053 * org-agenda.el (org-agenda-entry-types): New variable.
25054 (org-agenda-list): Use `org-agenda-entry-types'.
25055 (org-agenda-custom-commands-local-options): Support for setting
25056 `org-agenda-entry-types' as an option.
25057 (org-diary): Shift some documentation from here to the variable
25058 `org-agenda-entry-types'.
25060 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25062 * org-latex.el (org-export-latex-make-header): Apply macros in
25065 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25066 (org-clock-select-task, org-clock-notify-once-if-expired)
25067 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25068 (org-clock-out-if-current, org-clock-save): Use the new functions.
25070 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25072 * org-docbook.el (org-export-as-docbook): Remove unnecessary
25074 (org-export-as-docbook): Remove unnecessary newline.
25075 (org-export-as-docbook): Fix problem with double footnote
25076 reference in one place.
25078 * org-exp.el (org-export-format-source-code-or-example):
25079 Remove unnecessary newline.
25081 * org.el (org-deadline, org-schedule): Allow rescheduling entries
25084 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25085 function calls that look like references.
25087 * org.el (org-open-at-point): Get link abbreviations from
25090 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25092 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25095 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25097 * org.el (org-link-unescape): Solve issue with lower-case escapes.
25099 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25101 * org-latex.el (org-export-latex-classes):
25102 Add \usepackage{latexsym} to all classes.
25104 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25106 * org-html.el (org-export-as-html): Do not allow protected lines
25107 into the table of contents.
25109 * org-latex.el (org-export-latex-special-chars): Find subsequent
25110 occurrences of special characters.
25111 (org-export-latex-tables): Do not convert table-like stuff that is
25114 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25116 * org-list.el (org-toggle-checkbox): No errors when updating
25117 checkbox count fails because there is no heading.
25119 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25121 * org-clock.el (org-clock-report-include-clocking-task):
25123 (org-clock-sum): Add the current clocking task.
25125 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25127 * org.el (org-cycle): Print a message when in a table.el table.
25128 (org-edit-special): Recognize the table.el context.
25129 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25131 * org-src.el (org-at-table.el-p): Declare.
25132 (org-edit-src-code): Handle a special case for table.el editing.
25133 (org-edit-src-find-region-and-lang): Recognize the table.el
25136 * org-latex.el (org-export-latex-tables): Convert table.el
25138 (org-export-latex-convert-table.el-table): New function.
25140 * org-html.el (org-html-expand): Fix table.el export.
25142 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25145 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25146 table for the id locations.
25148 * org.el (org-read-date-analyze): Match American-style dates, like
25149 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
25150 current year when reading ISO and American dates.
25152 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25154 * org.el (org-face-from-face-or-color): New function.
25155 (org-get-todo-face, org-font-lock-add-priority-faces)
25156 (org-get-tag-face): Use `org-face-from-face-or-color'.
25158 * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25159 Allow simple colors as values.
25160 (org-faces-easy-properties): New option.
25162 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25163 restricted, as an agenda mode.
25164 (org-agenda-fontify-priorities): Allow simple colors as values.
25166 2010-04-10 Bastien Guerry <bzg@gnu.org>
25168 * org-timer.el (org-timer-current-timer): Rename from
25169 `org-timer-last-timer'.
25170 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25171 (org-timer-cancel-timer, org-timer-show-remaining-time)
25172 (org-timer-set-timer): Update to use only one timer.
25174 * org.el (org-set-property): Remove useless space in the prompt.
25176 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25178 * org-html.el (org-export-html-style-default): Add a default style
25181 * org-exp.el (org-export-format-source-code-or-example):
25184 2010-04-10 Bastien Guerry <bzg@gnu.org>
25186 * org-clock.el (org-clock-current-task): New variable to store
25187 last clocked in task.
25188 (org-clock-set-current, org-clock-delete-current): New functions.
25190 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25192 * org-remember.el (org-remember-apply-template): Extend comment.
25193 (org-remember-handler): Implement clock sibling filing.
25195 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25197 * org-publish.el (org-publish-all, org-publish-current-file)
25198 (org-publish-current-project): When called with prefix argument
25199 FORCE, also rebuild the validation file list.
25201 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25204 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25206 * org-html.el (org-export-as-html-and-open): Kill product buffer
25207 if the user wants that.
25209 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25210 if the user wants that.
25212 * org-exp.el (org-export-kill-product-buffer-when-displayed):
25215 * org-agenda.el (org-batch-agenda-csv): Use the time property
25216 instead of the `time-of-day' property.
25218 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25220 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25221 (org-timer-pause-hook, org-timer-set-hook)
25222 (org-timer-cancel-hook): New hooks.
25223 (org-timer-start): Run `org-timer-start-hook'.
25224 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25225 (org-timer-stop): Run `org-timer-stop-hook'.
25226 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25228 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25230 * org.el (org-reveal): Double prefix arg shows the subtree of the
25233 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25235 * org-agenda.el (org-search-view): Fix bug with searching full
25236 words in headlines in search view.
25237 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25238 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25239 scheduled (if the user configures it so.
25241 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25243 * org.el (org-hide-archived-subtrees): Don't jump to end of
25244 subtree if the match was not in a headline.
25245 (org-inside-latex-macro-p): Allow more complex arguments.
25246 (org-emphasize): Protect against use at end of buffer.
25248 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25250 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25253 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25255 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25257 (org-agenda-todo-ignore-scheduled)
25258 (org-agenda-todo-ignore-deadlines): More control with different
25260 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25261 Honor the new option settings.
25263 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25265 * org.el (org-get-location): Make sure the selection buffer is
25266 shown in the current frame.
25268 * org-ascii.el (org-export-ascii-table-widen-columns):
25270 (org-export-ascii-preprocess): Realign tables to remove narrowing
25271 if `org-export-ascii-table-widen-columns' is set.
25273 * org-table.el (org-table-do-narrow): New variable.
25274 (org-table-align): Narrow only if `org-table-do-narrow' is t.
25276 * org.el (org-deadline, org-schedule): Allow updating if the
25277 relevant time stamp does not have a repeater, i.e. do not require
25278 that no time stamp has a repeater.
25280 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25281 new white space before the tags.
25283 * org-latex.el (org-export-as-latex): Do nit require the buffer to
25284 be visiting a file when only exporting to a buffer or string.
25285 (org-export-latex-fix-inputenc): Only save the buffer is there is
25286 a file name attached to it.
25288 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
25290 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25292 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25294 * org.el (org-fontify-meta-lines-and-blocks):
25295 Honor `org-fontify-quote-and-verse-blocks'.
25297 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25299 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25301 * org.el (org-open-at-point): Also check for text property
25302 org-linked-text before offering collected links.
25304 2010-04-10 Stephen Eglen <stephen@gnu.org>
25306 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25307 Optionally extract time specification from text and add to the
25310 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25312 * org-exp.el (org-html-entities): Fix typo.
25314 * org-latex.el (org-export-latex-make-header): Use \providecommand
25315 to make sure the \alert macro is defined.
25317 * org.el (org-format-latex-signal-error)
25318 (org-create-formula-image): Use `org-format-latex-signal-error'.
25320 2010-04-10 Stephen Eglen <stephen@gnu.org>
25322 * org.el (org-store-link): For dired buffers, use
25323 default-directory as link name if dired-get-filename returns
25326 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25328 * org-exp.el (org-export-concatenate-multiline-links): The for
25329 protectedness at beginning of match.
25331 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25332 AUTO as a coding system, instead default to utf8.
25334 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25336 * org.el (org-block-todo-from-children-or-siblings-or-parent)
25337 (org-block-todo-from-checkboxes): Respect the local variable
25338 value when deciding if blocking should be active.
25340 * org-latex.el (org-export-latex-make-header): Define the align
25341 macro if it is not yet defined.
25343 * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25344 Call `org-insert-heading' with the INVISIBLE-OK argument.
25346 * org-mac-message.el (org-mac-message-insert-flagged):
25347 Call `org-insert-heading' with the INVISIBLE-OK argument.
25349 * org.el (org-insert-heading): New argument INVISIBLE-OK.
25351 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
25354 * org-html.el (org-html-level-start): Use the
25355 `html-container-class' text property to set an additional class
25356 for an outline container.
25358 * org-exp.el (org-export-remember-html-container-classes):
25360 (org-export-preprocess-string):
25361 Call `org-export-remember-html-container-classes'.
25363 * org.el (org-cycle): Mention level cycling in the docstring.
25364 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
25366 * org-remember.el (org-remember-apply-template): Do file insertion
25369 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25371 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
25372 problem with mis-aligned graphs when showing habits.
25374 2010-04-10 Mikael Fornius <mfo@abc.se>
25376 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
25377 when assigning. Begin using numerical characters when all in name
25378 is used up. This is to spare alphanumeric characters for better
25379 match with other keywords.
25381 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25383 * org-exp.el (org-export-preprocess-hook): Improve documentation.
25385 * org-latex.el (org-export-latex-preprocess): More consistent
25386 conversion and protection of the words LaTeX and TeX.
25387 (org-export-latex-fontify-headline, org-export-latex-preprocess):
25388 Allow angle brackets in commands, for beamer.
25390 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25392 * org-clock.el (org-clock-in): Improve the look of the clock line
25393 by formatting links.
25395 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25397 * org-latex.el (org-export-latex-classes): Use AUTO as the place
25398 holder string for the coding system. And improve the
25400 (org-export-latex-fix-inputenc): Only modify the coding system if
25401 it is given by the placeholder AUTO.
25403 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25405 * org-clock.el (org-task-overrun-text): New option.
25406 (org-task-overrun, org-clock-update-period): New variables.
25407 (org-clock-get-clock-string, org-clock-update-mode-line):
25408 Mark overrun clock.
25409 (org-clock-notify-once-if-expired): Check if clock is overrun.
25411 * org-faces.el: New face `org-mode-line-clock-overrun'.
25413 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
25415 * org.el (org-narrow-to-subtree): Position the end of the narrowed
25416 region before the line with the next heading, to prevent the user
25417 from prepending text to the next headline.
25419 2010-04-10 Stephen Eglen <stephen@gnu.org>
25421 * org-agenda.el (org-get-time-of-day):
25422 Use org-agenda-time-leading-zero to allow leading zero (rather than
25425 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25427 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
25428 org-datetree.el is loaded.
25430 * org-datetree.el: Autoload `org-datetree-find-day-create'.
25432 * org-latex.el (org-export-latex-hyperref-format): New option.
25433 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
25435 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25437 * org-ctags.el (org-ctags-enable): Change order of functions.
25438 (org-ctags-create-tags): Add wildcard to file name expansion.
25440 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25442 * org.el (org-entry-properties): Fix some important bugs.
25444 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25446 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
25447 the table is not explicitly given.
25449 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25451 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
25453 (org-clock-out-if-current): Work with the new list value of
25454 `org-clock-out-when-done'.
25455 (org-clock-out, org-clock-out-if-current): Avoid circular logic
25456 between clocking out and state changes.
25458 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
25460 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
25461 accident protect a character that is before a backslash.
25463 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
25465 * org-ctags.el: New file.
25467 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25469 * org-agenda.el (org-diary-class):
25470 Use `org-order-calendar-date-args'.
25472 * org.el (org-order-calendar-date-args): New function.
25474 * org-exp.el (org-export-target-internal-links): Check for
25475 protectedness after the first bracket.
25477 * org.el (org-entry-properties): Don't match wrong-case TODO
25480 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
25481 Document that ARG is passed through to remove the date.
25482 (org-agenda-bulk-action): Accept prefix arg and pass it on.
25483 Do not read a date when the user has given a `C-u' prefix.
25485 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25487 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
25490 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25492 * org-latex.el (org-export-latex-fix-inputenc): New function.
25493 (org-export-latex-inputenc-alist): New option.
25495 * org-exp.el (org-export): New key SPC to publish enclosing
25498 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25500 * org-indent.el (org-indent-add-properties): Catch case when there
25501 is no headline in the buffer.
25503 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25505 * org-exp.el (org-html-entities): Add checkmark symbol.
25507 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
25508 verbatim code for ASCII export.
25510 * org.el (org-update-statistics-cookies): Also see checkboxes in
25513 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25515 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
25518 * org-beamer.el (org-beamer-amend-header): Change the location
25519 where `org-beamer-header-extra' is inserted.
25521 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
25522 just for computing this regexp.
25524 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25526 * org-beamer.el (org-beamer-frame-default-options): New option.
25527 (org-beamer-sectioning): Use default options if the user does not
25529 (org-beamer-fix-toc): Put a frame around the table of contents.
25531 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
25532 Make sure case-folding works well when processing comment stuff.
25534 * org-latex.el (org-export-latex-after-save-hook): New hook.
25535 (org-export-as-latex): Run the new hook.
25537 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25539 * org-beamer.el (org-beamer-environments-default): Add the note
25541 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
25542 lines and collect and combine the content.
25543 (org-beamer-after-initial-vars): Check for note tags and make sure
25544 they will be seen like a property.
25546 * org.el (org-offer-links-in-entry): Fix bug when there is a
25549 * org-exp.el (org-export): Make sure the mark is activated, also
25550 when `transient-mark-mode' is off.
25552 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
25553 (org-agenda-search-view-search-words-only): Obsolete variable, is
25554 now an alias for `org-agenda-search-view-always-boolean'.
25555 (org-agenda-search-view-force-full-words): New option.
25556 (org-search-view): Improve docstring, and implement a better logic
25557 for Boolean and phrase searches.
25558 (org-agenda-last-search-view-search-was-boolean): New variable.
25559 (org-agenda-manipulate-query): Consider the type of the last
25560 search when modifying the search string.
25562 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25564 * org-latex.el (org-export-as-latex): Do the first letbind in the
25567 * org-agenda.el (org-get-entries-from-diary): Add the new face to
25570 * org-faces.el (org-agenda-diary): New face.
25572 * org.el (org-make-link-regexps): Allow regexp-special characters
25574 (org-open-file): When in-emacs is `system', also force system
25575 opening, like when the value was `(16)'.
25576 (org-update-statistics-cookies): Handle entries without children.
25579 (org-export-preprocess-before-normalizing-links-hook): New hook.
25580 (org-export-preprocess-string): Run the new hook.
25582 * org.el (org-offer-links-in-entry): Make RET open all links.
25584 * org-html.el (org-export-as-html): Remove any leftover display
25585 properties in the html file.
25587 * org-wl.el (org-wl-store-link): Work-around for format bug with
25590 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
25591 invisibility while adding the graphs.
25593 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25595 * org-remember.el (org-select-remember-template): Use C letter to
25596 customize remember templates.
25598 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
25599 Move cursor to next visible line.
25601 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25603 * org-beamer.el (org-beamer-sectioning): Leave columns environment
25604 by specifying 0 or 1 for column width.
25605 (org-beamer-column-widths): Make 0 stand for 0.0.
25607 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25609 * org-exp.el (org-export-mark-radio-links): Don't match inside
25612 * org.el (org-format-latex-header-extra): New variable.
25613 (org-format-latex): Set org-format-latex-header-extra from
25615 (org-format-latex): Add org-format-latex-header-extra to the
25616 variables on which image creation depends.
25617 (org-create-formula-image): Add the header stuff from in-buffer
25619 (org-read-date-analyze): Base the analysis for future preference
25620 on NOW, not on the default date.
25622 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
25623 for TODO keyword in inline tasks.
25625 * org.el (org-log-note-headings): New headings for removing
25626 deadline or scheduling date.
25627 (org-deadline, org-schedule): Arrange for logging when removing a
25629 (org-add-log-note): Handle deadline and scheduling removal.
25631 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25633 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
25635 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25637 * org-agenda.el (org-diary-class): New function.
25639 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25641 * org-latex.el (org-export-latex-preprocess): Do process the text
25644 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25646 * org.el (org-entry-properties): Add TIMESTAMP properties back
25649 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25651 * org.el (org-all-time-keywords): New variable.
25652 (org-set-regexps-and-options): Set `org-all-time-keywords'.
25653 (org-entry-blocked-p): New function.
25654 (org-special-properties): Add BLOCKED as a new special property.
25655 (org-entry-properties): New optional argument SPECIFIC, only parse
25656 for this property when it is specified.
25657 (org-entry-get): Pass a SPECIFIC argument to
25658 `org-entry-properties'.
25660 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
25662 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25664 * org-latex.el (org-export-latex-tables): No forced line end if
25665 there is no caption.
25667 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25669 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
25672 * org-latex.el (org-export-latex-tables): Only add a caption when
25673 macro is in longtable environments if one has been defined.
25675 * org-html.el (org-export-as-html): Only take title from buffer if
25676 not exporting body-only.
25678 * org-latex.el (org-export-latex-preprocess): Better version of
25679 the regular expression for protecting LaTeX macros.
25680 (org-export-latex-preprocess): Start searching for macros to
25681 protect from beginning of buffer.
25683 * org-exp.el (org-export-target-internal-links): Check for
25684 protectedness earlier in the string.
25686 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
25689 * org-id.el (org-id-store-link): Match TODO keywords case
25692 * org.el (org-heading-components, org-get-outline-path)
25693 (org-display-outline-path): Match TODO keywords case sensitively.
25695 * org-latex.el (org-export-as-latex): Ignore read-only
25698 * org-exp.el (org-export-preprocess-string): Remove any
25699 `read-only' properties.
25701 * org-agenda.el (org-agenda-inactive-leader): New option.
25702 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
25703 (org-tags-view): Prompt for matcher if MATCH is an empty string.
25704 (org-todo-list): Prompt for matcher if ARG is an empty string.
25706 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25708 * org.el (org-open-link-functions): New hook.
25709 (org-open-at-point): Run `org-open-link-functions'.
25711 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25713 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
25716 * org.el (org-inhibit-startup-visibility-stuff): New variable.
25717 (org-mode): Don't do startup visibility if inhibited.
25718 (org-outline-overlay-data, org-set-outline-overlay-data):
25720 (org-save-outline-visibility): New macro.
25721 (org-log-note-headings): Document that one should not change the
25722 `state' note format.
25724 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25726 * org.el (org-make-link-regexps): Capture link path into a group.
25728 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25730 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
25733 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25735 * org.el (org-startup-with-beamer-mode): New option.
25736 (org-property-changed-functions)
25737 (org-property-allowed-value-functions): New hooks.
25738 (org-entry-put, org-property-get-allowed-values): Run the new
25740 (org-property-next-allowed-value): Run the new hooks.
25742 * org-exp.el (org-export-select-backend-specific-text): Add the
25743 special beamer tags.
25745 * org-beamer.el: New file.
25747 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
25748 (org-export-as-latex):
25749 Run `org-export-latex-after-initial-vars-hook'.
25750 (org-export-latex-format-toc-function)
25751 (org-export-latex-make-header):
25752 Call `org-export-latex-format-toc-function'.
25754 * org.el (org-fill-template): Make template searches case sensitive.
25756 * org-exp.el (org-export): Use "1" as a sign to export only the
25759 * org-colview.el (org-columns-edit-value):
25760 Use org-unrestricted property.
25762 * org.el (org-compute-property-at-point): Set org-unrestricted
25763 text property if the list contains ":ETC".
25764 (org-insert-property-drawer):
25765 Use org-unrestricted property.
25768 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
25769 (org-export-preprocess-string):
25770 Run `org-export-preprocess-before-selecting-backend-code-hook'.
25772 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
25774 * org-latex.el (org-export-region-as-latex):
25775 Run `org-export-first-hook'.
25777 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
25779 * org-docbook.el (org-export-as-docbook):
25780 Run `org-export-first-hook'.
25782 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
25784 * org-exp.el (org-export-first-hook): New hook.
25786 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25788 * org-list.el (org-previous-item): Exit at the beginning of the
25791 * org-id.el (org-id-locations-save): Only write the id locations
25792 if any are defined.
25794 * org-archive.el (org-archive-all-done): Make this work in a file
25795 with org-odd-levels-only set.
25797 * org.el (org-get-refile-targets): Catch the case when a buffer
25800 * org-latex.el (org-export-as-latex): Cleanup forced line ends
25801 where they are not needed.
25802 (org-export-latex-subcontent): Remove unnecessary newlines.
25804 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25806 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
25807 (org-export-latex-fontify): Fix regexp bug that takes special
25808 care of protecting the right boundary characters in emphasis
25810 (org-export-latex-preprocess): Allow multiple arguments to latex
25813 * org.el (org-make-link-regexps): Use John Gruber's regexp for
25816 * org-macs.el (org-re): Interpret :punct: in regexps.
25818 * org-exp.el (org-export-replace-src-segments-and-examples):
25819 Also take the final newline after the END line.
25821 * org.el (org-clean-visibility-after-subtree-move): Only fix
25822 entries that are not entirely invisible already.
25823 (org-insert-link): Respect org-link-file-path-type for
25824 "docview:" links in addition to "file:" links.
25826 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25828 * org-exp.el (org-export-format-source-code-or-example):
25829 Avoid additional extra white lines in LaTeX.
25831 * org-list.el (org-list-parse-list): Leave empty lines after the
25832 list, don't consider them as part of the list.
25834 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
25837 * org-clock.el (org-clock-select-task): Convert integer to
25838 character for XEmacs.
25840 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25842 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
25845 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
25847 * org.el (org-complete-tags-always-offer-all-agenda-tags):
25849 (org-set-tags): Use it.
25851 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25853 * org-list.el (org-empty-line-terminates-plain-lists):
25856 * org.el (org-format-latex): Fix link creation for processed latex
25859 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25861 * org-footnote.el (org-footnote-normalize): Protect replacement
25864 * org.el (org-inside-latex-macro-p): Save match data.
25866 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
25868 * org-docview.el: New file.
25870 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25872 * org-latex.el (org-export-latex-class-options): New variable.
25873 (org-export-latex-set-initial-vars): Use the class options.
25875 * org.el (org-forward-same-level): Stop at headings that start
25876 with an invisible character.
25877 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
25879 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25881 * org-footnote.el (org-footnote-normalize): Don't take optional
25882 arguments in LaTeX macros as footnotes.
25884 * org.el (org-inside-latex-macro-p): New function.
25886 * org-latex.el (org-latex-to-pdf-process): Change customization
25887 group to `org-export-pdf'.
25889 * org-agenda.el (org-agenda-get-blocks): Look at time string also
25890 on days after the first one.
25892 * org.el (org-insert-heading): Also check for item before assuming
25893 before-first-heading condition.
25895 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
25896 (org-export-pdf-logfiles): New option.
25897 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
25898 (org-export-pdf-logfiles): Fix customization type.
25900 * org.el (org-insert-link): Improve error message when there is no
25901 default link to select with RET.
25903 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
25906 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25908 * org-latex.el (org-export-latex-parse-global)
25909 (org-export-latex-parse-content)
25910 (org-export-latex-parse-subcontent):
25911 Use `org-re-search-forward-unprotected'.
25912 (org-export-as-pdf): Remove log files produced by XeTeX.
25914 * org-macs.el (org-re-search-forward-unprotected): New function.
25916 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
25918 * org-colview.el (org-agenda-colview-summarize): Sort out some
25919 confusion between properties and titles, which resulted in
25920 agenda summaries not working if a title was set for a column.
25922 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25924 * org-mobile.el (org-mobile-agendas): New option.
25925 (org-mobile-sumo-agenda-command): Select the right agendas.
25927 * org-latex.el (org-export-latex-format-image): Preserve the
25928 original-indentation property.
25930 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25932 * org-clock.el (org-clock-insert-selection-line): Catch error when
25933 an old tasks no longer exists.
25935 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
25936 (org-export-as-pdf): Don't remove the old PDF file before making
25939 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
25940 (org-mouse-context-menu): Use `org-looking-back'.
25942 * org.el (org-cycle-level): Use `org-looking-back'.
25944 * org-list.el (org-cycle-item-indentation):
25945 Use `org-looking-back'.
25947 * org-compat.el (org-looking-back): New function.
25949 * org.el (org-insert-heading): Catch before-first-headline when
25950 inserting a headline.
25952 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25954 * org-latex.el (org-export-latex-format-image): Indent figure
25955 environment, so that it does not interrupt plain list.
25957 * org.el (org-open-at-point): Allow long link descriptions.
25959 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25961 * org-html.el (org-export-as-html): Remove empty lines at the
25962 beginning of the exported text.
25964 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
25966 * org.el (org): Remove from hypermedia group.
25968 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
25972 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
25974 * org-freemind.el (org-freemind-from-org-mode-node)
25975 (org-freemind-from-org-mode)
25976 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25977 Pass arg to called-interactively-p.
25979 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
25981 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
25982 Fix typos in docstrings.
25984 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
25986 * org.el (org-get-outline-path, org-speed-command-help):
25987 Fix typos in error messages.
25989 2009-12-14 Juri Linkov <juri@jurta.org>
25991 * org-html.el (org-export-html-style-include-default):
25992 Put `safe-local-variable booleanp' on
25993 `org-export-html-style-include-default' instead of mistakenly
25994 duplicate `org-export-html-style'.
25996 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
25998 * org-agenda.el (org-agenda-diary-entry-in-org-file):
25999 Rebuild agenda after adding new entry.
26001 * org-datetree.el (org-datetree-find-day-create): Fix regular
26004 * org.el (org-display-outline-path): Use a format specifier for
26005 message, to avoid problems with heading containing `%'.
26007 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26008 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26009 (org-agenda-fix-displayed-tags): New function.
26010 (org-agenda-do-context-action): Just call
26011 `org-display-outline-path', without piping the result through
26014 * org-latex.el (org-export-latex-preprocess): Protect secondary
26015 footnote references.
26017 * org-indent.el (org-indent-initialize): Avoid empty strings as
26020 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26021 hat checking for the mark does not throw an error.
26022 (org-agenda-diary-entry-in-org-file): Catch the case that there is
26023 not `day' text property in the cursor line.
26025 * org.el (org-sort-entries-or-items): Make sure that the final
26026 entry has a newline before doing the sorting.
26028 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26029 property at the beginning of the line.
26031 * org.el (org-make-link-string): Don't allow a description with
26034 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26035 (org-agenda-insert-diary-as-top-level): New function.
26036 (org-agenda-add-entry-to-org-agenda-diary-file):
26037 Call `org-agenda-insert-diary-as-top-level'.
26039 * org.el (org-occur-in-agenda-files): Make sure none of the
26040 buffers is narrowed.
26041 (org-activate-plain-links): Add the face property here.
26042 (org-set-font-lock-defaults): Do not add the face to plain links,
26043 the activator function does this.
26045 * org-habit.el (org-is-habit-p): Add doc string.
26047 * org-archive.el (org-archive-subtree-default-with-confirmation):
26050 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26051 after match optional (happens at the end of a line...).
26053 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26054 for special blocks.
26056 * org-faces.el (org-copy-face): Set lisp indentation.
26057 (org-quote, org-verse): New faces.
26059 * org-agenda.el (org-agenda-remove-date): Remove variable.
26061 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26063 * org-html.el (org-export-as-html): Move the home/up link into
26066 * org.el (org-export-latex-packages-alist): Option definition
26067 moved here from org-latex.el.
26069 * org-html.el (org-export-html-home/up-format): Add an ID to the
26072 * org-wl.el (org-wl-store-link): Handle the case that
26073 `wl-use-petname' is set.
26075 * org.el (org-set-effort): Improve prompt.
26076 (org-get-outline-path): Widen to get full path.
26077 (org-compact-display-after-subtree-move): Function removed.
26079 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
26081 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26082 hash keys to cache and re-use images generated by the
26083 org-exp-blocks interface to ditaa and dot.
26085 * org.el (org-format-latex): Latex images are now saved to files
26086 named by the sha1 hash of the latex source text avoiding
26087 regeneration of identical images.
26089 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26091 * org-latex.el (org-export-as-latex): Add the :drawers property.
26093 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26095 * org.el (org-speed-commands-user): Allow documentation headlines.
26096 (org-speed-commands-default): Organize the value of this constant
26097 with descriptive headlines.
26098 (org-print-speed-command): Output the headlines.
26100 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
26102 * org-agenda.el (org-agenda-show-outline-path): New option.
26103 (org-agenda-do-context-action): New function.
26104 (org-agenda-next-line, org-agenda-previous-line):
26105 Use `org-agenda-do-context-action'.
26107 * org.el (org-use-speed-commands): Allow function value.
26108 (org-speed-commands-default): Make headline motion safe, so that
26109 these commands always end on a headline.
26110 (org-speed-commands-default): New key `v' for `org-agenda'.
26111 (org-speed-move-safe): New function.
26112 (org-self-insert-command): Use the function value of
26113 `org-use-speed-commands'.
26114 (org-get-outline-path): Improve docstring.
26115 (org-format-outline-path): New function.
26116 (org-display-outline-path): New function.
26118 2009-11-15 John Wiegley <jwiegley@gmail.com>
26120 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26121 a string, use that to find the LOGBOOK drawer.
26123 2009-11-15 Glenn Morris <rgm@gnu.org>
26125 * org-agenda.el (org-datetree-find-date-create)
26126 (org-habit-get-priority):
26127 * org.el (org-format-agenda-item): Fix declarations.
26129 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26131 * org.el (org-clone-subtree-with-time-shift): Make it work at the
26134 * org-mobile.el (org-mobile-write-checksums): Specify coding
26136 (org-mobile-timestamp-buffer): Keep local variable/mode line at
26137 beginning of buffer.
26139 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26141 * org.el (org-block-todo-from-children-or-siblings-or-parent)
26142 (org-block-todo-from-checkboxes): Do not block changes to a nil
26145 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26147 * org-habit.el (org-habit-parse-todo): Indicate which habit is
26148 wrongly set up in the error messages.
26150 * org-colview.el (org-columns-display-here): Don't try to
26151 calculate values if the underlying property is not set.
26152 (org-columns-string-to-number): Convert age strings back into
26154 (org-agenda-colview-summarize): Handle extended summary types
26157 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26159 * org-exp.el (org-export-format-drawer-function): New variable.
26160 (org-export-format-drawer): New function.
26161 (org-export-preprocess-string): Pass the backend as a parameter to
26162 `org-export-remove-or-extract-drawers'.
26163 (org-export-remove-or-extract-drawers): New parameter BACKEND.
26165 * org-protocol.el (org-protocol-char-to-string): New defsubst.
26167 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26169 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26170 message when no block is selected.
26172 * org-latex.el (org-export-latex-links): Check for protectedness
26173 in the last matched character, not after the match.
26175 * org-datetree.el (org-datetree-find-date-create):
26176 Respect restriction when KEEP-RESTRICTION is set.
26177 (org-datetree-file-entry-under): New function.
26178 (org-datetree-cleanup): New command.
26180 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26182 * org-src.el (org-edit-src-code): New optional argument context
26183 allows calling functions to avoid altering the saved window
26185 (org-edit-src-exit): Do not restore window configuration when this
26186 function is used in the context of saving the edit buffer.
26188 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26190 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26191 instances to switching to with-current-buffer, because these seem
26192 to cause problems - no idea why.
26194 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26195 Require diary-lib for (diary-date-display-form).
26197 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26199 * org.el (org-log-reschedule, org-log-redeadline): New options.
26200 (org-log-note-headings): Add templates for rescheduling and
26202 (org-startup-options): Add in-buffer settings for logging changing
26203 schedule and deadline time stamps.
26204 (org-deadline, org-schedule): Check for existing date and arrange
26205 for logging if the user requests it.
26206 (org-add-log-note): Prepare proper note buffers for rescheduling
26207 and deadline changes.
26209 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26211 * org-agenda.el (org-agenda-diary-entry-in-org-file)
26212 (org-agenda-add-entry-to-org-agenda-diary-file)
26213 (org-agenda-insert-diary-make-new-entry): New functions.
26214 (org-agenda-diary-entry):
26215 Call `org-agenda-diary-entry-in-org-file' when appropriate.
26217 * org.el (org-calendar-insert-diary-entry-key): New option.
26218 (org-agenda-diary-file): New option.
26219 ("calendar"): Install our insertion function in the calendar.
26221 * org-remember.el (org-datetree): Require.
26222 (org-remember-templates): Add new positioning option.
26223 (org-remember-reference-date): New variable.
26224 (org-remember-apply-template): Store the reference date in a local
26226 (org-remember-handler): Implement date tree positioning of entries.
26228 * org-datetree.el: New file.
26230 * org-latex.el (org-export-latex-preprocess): Protect targets in
26233 * org-html.el (org-export-as-html): Protect targets in verbatim
26236 * org-docbook.el (org-export-as-docbook): Protect targets in
26239 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26241 * org-clock.el (org-show-notification): Handle messages that
26242 contain a percent character.
26244 * org-remember.el (org-remember-apply-template): Turn of partial
26247 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26248 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26250 * org.el (org-indent-mode): Define variable already in org.el.
26251 (org-unfontify-region): Remove line-prefix and wrap-prefix
26252 properties only if org-indent-mode is active.
26254 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26256 * org-icalendar.el (org-print-icalendar-entries): Save match data
26257 around call to verify function.
26258 (org-print-icalendar-entries): Add a call to the verification
26261 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26262 save-restrivtion' form.
26264 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26266 * org-exp.el (org-export-format-source-code-or-example):
26267 Restrict scope of preserve-indentp to the let binding.
26268 (org-src): Require org-src, since org-src-preserve-indentation is used.
26270 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26272 * org-timer.el (org-timer-set-timer): Set variables
26273 org-timer-timer[123] correctly.
26275 * org-mobile.el (org-mobile-files-alist): Make it work when
26276 `agenda-archives' is included in
26277 `org-agenda-text-search-extra-files'.
26278 (org-mobile-push): Restore agenda after mobile push.
26280 2009-11-13 John Wiegley <jwiegley@gmail.com>
26282 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26283 way the amount of idle time is presented in the minibuffer.
26285 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26287 * org-icalendar.el (org-print-icalendar-entries):
26288 Use org-icalendar-verify-function only if non-nil.
26290 * org.el (org-refile): Refile to clock only if the prefix arg is
26292 (org-sparse-tree): Fix docstring to be in line with prompt.
26293 (org-update-parent-todo-statistics):
26294 Call `org-after-todo-statistics-hook' on each level.
26296 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26298 * org-remember.el (org-remember-apply-template): Make sure the
26301 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26303 * org.el (org-tab-ind-state): New variable.
26304 (org-cycle-level): New function.
26305 (org-cycle-level-after-item/entry-creation): New option.
26306 (org-flag-subtree): New function.
26307 (org-hide-archived-subtrees): Call `org-flag-subtree'.
26308 (org-set-effort): Indexed access.
26310 * org-list.el (org-cycle-item-indentation): New function.
26312 * org.el (org-refile): Make prefix argument 2 refile to current
26314 (org-priority): Interpret action `remove' as call to remove the
26317 * org-remember.el (org-remember-apply-template): Don't depend on
26318 buffer name being like file name.
26320 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26322 * org-clock.el (org-clock-play-sound): Expand file in
26323 org-clock-sound, to allow ~ for home.
26325 * org-remember.el (org-remember-handler):
26326 Set text-before-node-creation even if this already looks like a node,
26327 because the string might be needed on non-org-mode target files.
26329 * org-agenda.el (org-agenda-open-link): Make this work in agenda
26331 (org-agenda-switch-to): Follow a link at point if
26332 org-return-follows-link' is set and there is nothing else to do in
26335 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
26337 * org-exp-blocks.el: Modify split separator regexp to avoid empty
26340 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26342 * org-colview.el (org-columns-new): Make this work with the new
26344 (org-columns-store-format): Make this work with the new operators.
26346 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26348 * org-src.el (org-src-preserve-indentation): Document that this
26349 variable is also used during export.
26351 * org-exp.el (org-export-format-source-code-or-example):
26352 Preserve indentation if a block has a -i option, or if
26353 `org-src-preserve-indentation' is set.
26355 * org-exp-blocks.el (org-export-blocks-preprocess):
26356 Preserve indentation if a block has a -i option, or if
26357 `org-src-preserve-indentation' is set.
26359 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26361 * org.el (org-mode-map): Define the new archiving keys.
26362 (org-speed-commands-default): Define an archiving key in the speed
26364 (org-org-menu): Improve the menu structure concerning archiving.
26366 * org-archive.el (org-archive-subtree-default-with-confirmation):
26369 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
26370 (org-agenda-menu): Add the new archiving commands to the menu.
26371 (org-agenda-archive-default)
26372 (org-agenda-archive-default-with-confirmation): New commands.
26373 (org-agenda-archive, org-agenda-archive-to-archive-sibling):
26374 Just call `org-agenda-archive-with'.
26375 (org-agenda-archive-with): New function.
26377 * org-table.el (org-table-convert-region): Inert spaces around "|"
26378 to avoid line beginnings like "|-1" which will be mistaken as
26381 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26383 * org.el (org-offer-links-in-entry): Return nil if there are no
26384 links, t if a link has been selected.
26385 (org-open-at-point): Open attachment directory when called in the
26386 headline and there are no links in the entry body.
26387 (org-speed-commands-default): Add "o" for open-at-point as a speed
26390 * org-attach.el (org-attach-reveal): Optional prefix arg
26391 IF-EXISTS, which avoids creating the attachment directory if it
26392 does not yet exist.
26394 * org-agenda.el (org-agenda, org-run-agenda-series):
26397 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26399 * org.el ("abbrev"): Work with abbrev tables only after they have
26402 * org-list.el (org-list-send-list): Fix bug related to match
26405 * org-latex.el (org-export-latex-fontify): Apply verbatim
26407 (org-export-latex-make-header): Insert \obeylines if line breaks
26408 should be preserved.
26410 * org-exp.el (org-export-protect-verbatim): Add an
26411 `org-verbatim-emph' property to such text.
26413 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26415 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
26416 (org-print-icalendar-entries): Skip entries where the timestamp is
26417 not a deadline and not scheduled, if the user requests that.
26419 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
26420 before an opening quote.
26422 * org-archive.el (org-archive-subtree): Keep archive after
26423 archiving something.
26425 * org-id.el (org-id-update-id-locations): Add archive files if
26426 that is required by `org-id-extra-files'.
26428 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26430 * org-src.el (org-src-window-setup): New option.
26431 (org-src-switch-to-buffer): New function.
26432 (org-edit-src-exit): Add optional argument CONTEXT and use it to
26433 restore window configuration.
26434 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
26435 Call `org-src-switch-to-buffer'.
26437 * org.el (org-default-properties): Add STYLE property.
26438 (org-files-list): Use the function call to get the files.
26439 (org-additional-option-like-keywords): Add SETUPFILE to completion
26442 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26444 * org-table.el (org-table-convert-region): Correctly interpret
26445 quoting in csv import.
26447 * org.el (org-icompleting-read): Make iswitchb completion work
26448 with lists and tables.
26450 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
26451 while pushing the mobile agenda.
26453 2009-11-13 John Wiegley <jwiegley@gmail.com>
26455 * org-clock.el (org-clock-auto-clock-resolution): Now takes three
26456 values: nil, t and `when-no-clock-is-running'.
26457 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
26458 whether or not to resolve Org buffers on clock in.
26460 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26462 * org-colview.el (org-format-time-period): Function to format
26463 times in fractional days for display.
26464 (org-columns-display-here): Add support for showing a calculated
26465 value in place of the property.
26466 (org-columns): Set `org-columns-time' to the current time so time
26467 difference calculations will work.
26468 (org-columns-time): Use to store the current time when column view
26469 is displayed, so all time differences will use the same reference
26471 (org-columns-compile-map): There is now an extra position in each
26472 entry specifying the function to use to calculate the displayed
26473 value for the non-calculated properties in the column.
26474 (org-columns-compute-all): Set `org-columns-time' to the current
26475 time so time difference calculations will work.
26476 (org-columns-compute): Handle column operators where the values
26477 used are calculated from the underlying property.
26478 (org-columns-number-to-string): Handle the 'age' column format.
26479 (org-columns-string-to-number): Correct the function name (was
26480 org-column...). Add support for the 'age' column format.
26481 (org-columns-compile-format): Support the additional parameter in
26482 org-columns-compile-map.
26484 2009-11-13 Bastien Guerry <bzg@gnu.org>
26486 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
26489 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26491 * org-clock.el (org-clock-has-been-used): New variable.
26492 (org-clock-in): Set `org-clock-has-been-used'.
26493 (org-clock-save): Save only if clock data has been used or created
26494 during this session.
26496 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26498 * org-clock.el (org-clock-persist): New value, to store only the
26500 (org-clock-save): Don't save the clock if only the history should
26502 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
26503 when restoring a saved clock.
26505 2009-11-13 John Wiegley <jwiegley@gmail.com>
26507 * org-clock.el (org-clock-display, org-clock-put-overlay):
26508 Use `org-time-clock-use-fractional'.
26510 * org.el (org-time-clocksum-use-fractional)
26511 (org-time-clocksum-fractional-format): Two new customizable
26512 variables which allow the user to select fractional times (1.25
26513 instead of 1:25) in the `org-clock-display' report.
26515 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26517 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
26520 * org.el (org-tag-alist): Fix customization type.
26522 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26524 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
26525 Make sure the regexp search can fail without throwing an error.
26526 (org-mobile-apply): Save the inbox buffer after removing
26527 successfully applied changes.
26529 2009-11-13 John Wiegley <jwiegley@gmail.com>
26531 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
26532 time is reported after the user comes back (but before they
26535 * org.el (org-get-repeat): Change so that this function can be
26536 called with either `org-scheduled-string' or
26537 `org-deadline-string'.
26539 * org-clock.el (org-clock-auto-clock-resolution): Rename from
26540 `org-clock-disable-clock-resolution', since negatives don't sound
26541 good in customization variables.
26542 (org-clock-in): Don't use the auto-resolution logic if the user is
26543 clocking into a different task while an active clock is running.
26544 This then allows the default behavior of clocking out of the open
26545 task and then into the new task.
26547 * org.el (org-modules): Made this variable more consistent, since
26548 it was referring to Org, OrgMode and Org-mode, whereas the docs
26549 for the variable always refer to Org-mode.
26551 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26553 * org.el (org-repeat-re): The changed org-repeat-re no longer
26554 matched simple +2d type repeaters. Fix it so it does.
26556 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26558 * org-latex.el (org-export-latex-preprocess): Protect the vspace
26559 macro in the VERSE environment.
26561 2009-11-13 John Wiegley <jwiegley@gmail.com>
26563 * org-habit.el (org-habit-get-priority): A new function that
26564 determines the relative priority of a habit, based on how long
26565 past its scheduled date it is, and how near the deadline is.
26567 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
26568 using `org-habit-get-priority'.
26570 * org-habit.el (org-habit-build-graph): Start displaying colors
26571 from the first scheduled date, if that date is earlier than the
26572 first completion date.
26574 * org-habit.el: Changed all "color" variables to faces, and made
26575 them appropriate for light and dark backgrounds.
26577 * org-habit.el (org-habit-duration-to-days): Made this function
26579 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
26581 * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
26582 habits, since they don't use DEADLINE anymore.
26584 * org.el (org-repeat-re, org-display-custom-time)
26585 (org-timestamp-change): Extend to support the new ".+N/N"
26586 syntax, used for habits.
26588 * org-clock.el (org-clock-resolve-clock): Fix an incorrect
26589 variable reference.
26591 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
26592 modeline when habits are being displayed (if that module is being
26595 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26597 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
26598 idle time using the xscreensaver extension.
26599 (org-user-idle-seconds): Use X11 idle time if available.
26601 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26603 * org-agenda.el (org-agenda-next-line): New command.
26604 (org-agenda-previous-line): New commands.
26605 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
26607 (org-agenda-follow-mode): Do the follow immediately if the mode is
26609 (previous-line, next-line): Replace keys with the corresponding
26611 (org-agenda-mode-map): Bind backspace and delete to the scrolling
26614 * org.el (org-icompleting-read): Turn off partial completion mode
26615 for the duration of this completion round.
26617 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
26618 macros in author lines and similar stuff.
26620 * org.el (org-file-tags): Fix docstring.
26621 (org-get-buffer-tags): Add the #+FILETAGS tags.
26622 ("ecb"): Make ecb show context after jumping into an Org file.
26624 2009-11-13 John Wiegley <johnw@newartisans.com>
26626 * org-agenda.el (org-finalize-agenda): Draw habit consistency
26627 graphs after everything else in the buffer has been setup.
26629 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26631 * org-mobile.el (org-mobile-apply): Count success and failure.
26633 * org.el (org-indent-line-function): Fix regexp replace problem.
26635 2009-11-13 John Wiegley <johnw@newartisans.com>
26637 * org-clock.el (org-clock-disable-clock-resolution):
26638 New customization variable that disable automatic clock resolution on
26640 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
26641 not automatically resolve anything. This is does not affect
26642 idle-time resolution, however, if `org-clock-idle-time' is set.
26644 2009-11-13 John Wiegley <johnw@newartisans.com>
26646 * org-habit.el: New file, which implements code to build a "habit
26647 consistency graph".
26649 * org-agenda.el (org-agenda-get-deadlines)
26650 (org-agenda-get-scheduled): Display consistency graphs when
26651 outputting habits into the agenda. The graphs are always relative
26652 to the current time.
26653 (org-format-agenda-item): Add new parameter `habitp', which
26654 indicates whether we are formatting a habit or not. Do not
26655 display "extra" leading information if habitp is true.
26657 * org.el (org-repeat-re): Improve regexp to include .+ and ++
26658 leaders for repeat strings.
26659 (org-get-repeat): Now takes a string parameter `tagline', so the
26660 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
26662 2009-11-13 John Wiegley <johnw@newartisans.com>
26664 * org-agenda.el (org-agenda-auto-exclude-function):
26665 New customization variable for allowing the user to create an "auto
26666 exclusion" filter for doing context-aware auto tag filtering.
26667 (org-agenda-filter-by-tag): Changes to support the use of
26668 `org-agenda-auto-exclude-function'. See the new manual addition.
26670 2009-11-13 John Wiegley <johnw@newartisans.com>
26672 * org.el (org-files-list): Don't attempt to return a file name for
26673 Org buffers which have no associated file.
26675 * org-agenda.el (org-agenda-do-action): Fix a typo.
26677 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26679 * org-mobile.el (org-mobile-locate-entry): Interpret files
26680 relative to org-directory.
26681 (org-mobile-inbox-for-pull): Document the best location for this
26683 (org-mobile-check-setup): Verify `org-directory'.
26684 (org-mobile-create-index-file): Sort the files to be listed in
26687 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26689 * org.el (org-fast-tag-selection): Add a way to display a
26690 description for a tag group. This is done by adding a string to
26691 either the startgroup or endgroup cell.
26693 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26695 * org-clock.el (org-clock-resolve, org-resolve-clocks)
26696 (org-emacs-idle-seconds): Use `org-float-time' instead of
26699 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26701 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
26704 * org.el (org-pre-cycle-hook): Document that `empty' can also be
26705 the value of ARG when doing local cycling.
26707 2009-11-13 John Wiegley <johnw@newartisans.com>
26709 * org-clock.el (org-clock-resolve-clock): If keeping or
26710 subtracting time results in a clock out at a time in the past, and
26711 if the resolution occurred due to idleness or invoking `M-x
26712 org-resolve-clocks', remember that past moment in time. On the
26713 next clock in, the user will be prompted to see if they want to
26714 back-date their new clock to then.
26715 (org-clock-resolve): Do not jump the user to the location of a
26716 dangling clock if the resolution is occurring due to an idle
26717 timeout. In that case there is typically only one dangling clock,
26718 the active one, and there is no value gained by shuffling their
26719 windows around to show it to them. Being prompted to resolve an
26720 idle clock should be as inobtrusive as possible.
26721 (org-resolve-clocks-if-idle): New function that resolves only the
26722 currently active clock if the user has exceeded the time returned
26723 by `org-user-idle-seconds', based on the value of
26724 `org-clock-idle-time'.
26725 (org-clock-in): If, after resolving clocks, (???)
26726 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
26728 * org-clock.el (org-clock-resolve-clock): New function that
26729 resolves a clock to a specific time, closing or resuming as need
26730 be, and possibly even starting a new clock.
26731 (org-clock-resolve): New function used by `org-resolve-clocks'
26732 that sets up for the call to `org-clock-resolve-clock'.
26733 It determines the time to resolve to based on a single-character
26734 selection from the user to either keep time, subtract away time or
26736 (org-resolve-clocks): New user command which resolves dangling
26737 clocks -- that is, open but not active -- anywhere in the file
26738 list returned by `org-files-list'.
26739 (org-clock-in): Automatically resolve dangling clocks whenever a
26741 (org-clock-cancel): If the user cancels the solely clock in a
26742 LOGBOOK, remove the empty drawer.
26744 * org-clock.el (org-clock-idle-time): New user customizable option
26745 for detecting whether the user has left a clock idle. Note: it is
26746 only used in this commit to test whether it's worthwhile to check
26747 OS X to get the Mac user's current idle time. If the Emacs idle
26748 time is less than the value, the user hasn't been away long enough
26749 to be worth checking (a more expensive test than just getting
26751 (org-user-idle-seconds, org-mac-idle-seconds)
26752 (org-emacs-idle-seconds): This three functions, in conjunction
26753 with the user customization variable `org-clock-idle-time', return
26754 the number of seconds (as a floating point) that the user has been
26755 away from their Emacs (or, if running on OS X, their computer).
26757 * org-clock.el (org-find-open-clocks): New function that returns a
26758 list of all open clocks in the given FILE. Note that each clock
26759 it returns is a cons cell of the format (MARKER . START-TIME).
26760 This "clock" value is used by several of the new clock module
26762 (org-is-active-clock): New inline function which tests whether the
26763 given clock value is the same as the currently active clock.
26764 Returns non-nil if this is the case.
26765 (org-with-clock-position): New macro that evaluates FORMS with
26766 point in the buffer and at the position of the given clock.
26767 Changes to the current clock are global.
26768 (org-with-clock): New macro that evaluates FORMS with point in the
26769 buffer and at the position of the given clock. However, changes
26770 to the current clock are local and have no effect on the user's
26771 active clock. This allows, for example, far any clock to be
26772 canceled without canceling the active clock.
26773 (org-clock-clock-in): New inline function that switches the active
26774 clock to the given clock. If either the argument RESUME, or the
26775 global `org-clock-in-resume', are non-nil, it will resume a clock
26776 that was previously left open.
26777 (org-clock-clock-out): New inline function that clocks out the
26778 given clock value without affecting the currently active clock.
26779 (org-clock-clock-cancel): New inline function that cancels the
26780 given clock value without affecting the currently active clock.
26782 * org-clock.el (org-clock-in): Before creating
26783 `org-clock-mode-line-timer', check to make sure an older timer is
26784 not currently running.
26785 (org-clock-out): Accept new third parameter `at-time', which
26786 permits a clock to be clocked out at a specific time. Note that
26787 no attempt is made to verify that the clock out time is later than
26790 * org.el (org-files-list): New utility function for returning a
26791 list of all open org-mode buffers, plus all files used to build
26792 the agenda buffer. Note that not all the files will necessarily
26793 be visited by a buffer at time of call.
26794 (org-entry-beginning-position): Like the function
26795 `line-beginning-position', this inline function returns the
26796 beginning position of the current heading/entry.
26797 (org-entry-end-position): Like the function `line-end-position',
26798 this inline function returns the end position of the current
26801 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26803 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
26806 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26808 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
26810 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26812 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
26813 entries that have no tags.
26814 (org-agenda-search-view): New customize group.
26815 (org-agenda-search-view-search-words-only): New option.
26816 (org-search-view): Implement substring search.
26818 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26820 * org.el (org-outline-level): Add doc string.
26822 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26824 * org-inlinetask.el (org-inlinetask-export): Re-introduce
26826 (org-inlinetask-export-handler): Only export inline task if the
26827 user option calls for it.
26829 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26831 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
26834 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26836 * org-latex.el (org-export-latex-tables): Don't format in
26839 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26841 * org-src.el (org-edit-src-code)
26842 (org-edit-src-find-region-and-lang, org-edit-src-exit):
26843 Handle macro editing.
26845 * org-agenda.el (org-prefix-category-max-length): New variable.
26846 (org-format-agenda-item): Use `org-prefix-category-max-length'.
26847 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
26849 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26851 * org-mobile.el (org-mobile-create-index-file): Improve the
26852 listing of tags and todo keywords.
26854 * org-latex.el (org-export-latex-format-image): New function.
26855 (org-export-latex-links): Use `org-export-latex-format-image'.
26857 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26859 * org-inlinetask.el (org-inlinetask-get-current-indentation)
26860 (org-inlinetask-remove-terminator): New functions.
26861 (org-inlinetask-export-handler): Terminate the description list.
26863 * org-exp.el (org-export-select-backend-specific-text): Remove the
26866 * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
26867 tasks without content.
26869 * org-clock.el: Make sure the clock-in target position does not
26870 move to a different node by widening the buffer.
26872 * org-html.el (org-export-html-format-image): Wrap image into
26873 figure div only when there is a caption.
26875 * org-archive.el (org-archive-mark-done): Change default value to
26878 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26880 * org.el (org-context): Call `bobp', not `eobp'.
26882 * org-clock.el (org-clock-cancel): Remove quotes from marker
26885 * org.el (org-read-date-prefer-future): New allowed value `time'.
26886 (org-read-date-analyze): Shift day to tomorrow depending on time
26887 entered and value of `org-read-date-prefer-future'.
26889 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
26891 * org.el (org-version, org-get-refile-targets, org-refile)
26892 (org-store-log-note, org-diary-to-ical-string)
26893 (org-speedbar-set-agenda-restriction):
26894 * org-publish.el (org-publish-find-title):
26895 * org-plot.el (org-plot/gnuplot):
26896 * org-mouse.el (org-mouse-do-remotely):
26897 * org-mobile.el (org-mobile-move-capture):
26898 * org-mac-message.el (org-mac-message-insert-flagged):
26899 * org-latex.el (org-replace-region-by-latex):
26900 * org-docbook.el (org-replace-region-by-docbook):
26901 * org-clock.el (org-clock-out, org-clock-cancel):
26902 * org-bibtex.el (org-execute-file-search-in-bibtex):
26903 Use with-current-buffer.
26905 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
26907 * org.el (org-directory, org-map-entries):
26908 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
26910 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26912 * org.el (org-set-tags-to): New command.
26914 * org-latex.el (org-export-latex-set-initial-vars): Also check in
26917 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
26920 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
26922 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26924 * org-inlinetask.el (org-inlinetask-export): Option removed.
26925 (org-inlinetask-export-handler): Better export.
26927 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
26928 (org-export-as-xoxo): Run the new hook.
26930 * org-html.el (org-export-html-final-hook): New hook.
26931 (org-export-as-html): Run the new hook.
26933 * org-docbook.el (org-export-docbook-final-hook): New hook.
26934 (org-export-as-docbook): Run the new hook.
26936 * org-ascii.el (org-export-ascii-final-hook): New hook.
26937 (org-export-as-ascii): Run the new hook.
26939 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
26940 space character as the character before the ^/_.
26941 (org-export-latex-final-hook): New hook.
26942 (org-export-as-latex): Run `org-export-latex-final-hook'.
26944 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26946 * org-macs.el (org-if-unprotected-at): Fix docstring.
26948 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
26949 text in the prefix (if category is a link).
26951 * org-latex.el (org-export-latex-preprocess): Deal properly with
26952 empty lines in verse environments.
26954 * org.el (org-format-latex-header): Inline fullpage.sty.
26956 * org-footnote.el (org-footnote-create-definition): Reveal context
26957 to add a new footnote definition.
26959 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
26960 org-table-recalculate when cursor is in TBLFM line.
26962 * org-list.el (org-renumber-ordered-list): Fix cursor position
26963 when bullet length has changed.
26965 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26967 * org.el (org-format-latex): Mention `org-format-latex-options' in
26970 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26972 * org.el (org-agenda-get): New function.
26974 * org-agenda.el (org-agenda-post-command-hook): No longer move
26975 point away from end of line.
26976 (org-agenda-add-entry-text, org-agenda-collect-markers)
26977 (org-finalize-agenda, org-agenda-mark-clocking-task)
26978 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
26979 (org-agenda-entry-text-show, org-agenda-highlight-todo)
26980 (org-agenda-compare-effort, org-agenda-filter-apply)
26981 (org-agenda-later, org-agenda-change-time-span)
26982 (org-agenda-post-command-hook, org-agenda-show-priority)
26983 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
26984 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
26985 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
26986 (org-agenda-open-link, org-agenda-copy-local-variable)
26987 (org-agenda-switch-to, org-agenda-check-no-diary)
26988 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
26989 (org-agenda-add-note, org-agenda-change-all-lines)
26990 (org-agenda-priority, org-agenda-set-tags)
26991 (org-agenda-set-property, org-agenda-set-effort)
26992 (org-agenda-toggle-archive-tag, org-agenda-date-later)
26993 (org-agenda-show-new-time, org-agenda-date-prompt)
26994 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
26995 (org-agenda-clock-in, org-agenda-bulk-mark)
26996 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
26997 Use `org-get-at-bol'.
26999 * org-colview.el (org-columns-display-here)
27000 (org-columns-edit-allowed, org-agenda-columns):
27001 Use `org-get-at-bol'.
27003 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27005 * org.el (org-special-ctrl-a/e): Improve documentation and
27007 (org-end-of-line): Don't jump to after the ellipsis.
27008 (org-mode-map): Bind <home> and <end> as well.
27010 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27012 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27013 space after #+ as comments.
27014 (org-open-at-point): Run `org-follow-link-hook' always.
27016 * org-latex.el (org-export-latex-emph-format): Use better commands
27017 to insert special characters in verbatim snippets.
27019 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27021 * org-faces.el (org-copy-face): New function. Use it to create
27022 various faces formerly created by using `copy-face'.
27024 * org-agenda.el (org-prepare-agenda): Don't officially mark this
27026 (org-agenda-quit): Kill the frame containing the agenda window if
27027 that frame was created for the agenda.
27029 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27031 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27032 stamp in the agenda.
27034 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27036 * org-agenda.el (org-prepare-agenda):
27037 Reset `org-drawers-for-agenda'.
27038 (org-prepare-agenda): Uniquify list of drawers.
27040 * org.el (org-complex-heading-regexp-format): New variable.
27041 (org-set-regexps-and-options):
27042 Define `org-complex-heading-regexp-format'.
27043 (org-drawers-for-agenda): New variable.
27044 (org-map-entries): Bind `org-drawers-for-agenda'.
27045 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27047 * org-remember.el (org-go-to-remember-target)
27048 (org-remember-handler): Use `org-complex-heading-regexp-format'.
27050 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27052 * org-agenda.el (org-agenda-highlight-todo): Fix text property
27055 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27056 always with `invisible-ok'.
27057 (org-store-link): No error when there is nothing to link to in the
27060 * org-list.el (org-update-checkbox-count): Insert changed cookie
27061 before the old, to avoid problems with invisibility at the end of
27063 (org-update-checkbox-count): Insert changed cookie before the old,
27064 to avoid problems with invisibility at the end of the line.
27066 * org.el (org-sort-entries-or-items): Include the final newline.
27067 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27068 lines for fontification.
27069 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27070 (org-prepare-dblock): Store the current indentation of the BEGIN
27072 (org-update-dblock): Apply the indentation of the begin line to
27073 the rest of the block.
27074 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27075 (org-startup-folded): New allowed value `showeverything'.
27076 (org-startup-options): Add STARTUP keyword `showeverything'.
27077 (org-set-startup-visibility): Respect value `showeverything' in
27078 org-startup-folded.
27080 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27082 * org.el (org-closest-date): Fix issue with past preference.
27084 * org-archive.el (org-archive-set-tag)
27085 (org-archive-subtree-default): New commands.
27087 * org-clock.el (org-clock-clocktable-default-properties):
27089 (org-clock-report):
27090 Use `org-clock-clocktable-default-properties'.
27092 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27094 * org.el (org-iswitchb-completing-read): Fix typo.
27096 * org-crypt.el: New file.
27098 * org.el: Add an entry for org-crypt.
27100 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27102 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27104 (org-batch-store-agenda-views): New function.
27105 (org-agenda-title-append): Define variable.
27106 (org-write-agenda): New export to Org files.
27107 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27108 (org-agenda): Allow to keep the restricted file list if a special
27109 variable is bound to t.
27110 (org-agenda): Define a special agenda view for working on flagged
27112 (org-agenda-get-restriction-and-command): List the new agenda
27114 (org-agenda-show-the-flagging-note): New command.
27115 (org-agenda-mode-map): New key `?' for looking at the flagging
27118 * org.el (org-autoload): Autoload org-mobile.el.
27119 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27121 * org-mobile.el: New file.
27123 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27125 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27127 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27129 (org-table-get-remote-range): Match indented #+TBLNAME
27132 * org.el (org-convert-to-odd-levels)
27133 (org-convert-to-oddeven-levels): Work also correctly if the file
27134 is in outline-mode.
27136 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27138 * org.el (org-store-link): When in agenda buffer, link to
27140 (org-add-planning-info): Remove spaces at eol.
27142 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27145 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27147 * org-latex.el (org-export-latex-first-lines): Fix problem with
27148 LaTeX export of first line and selected subtree.
27150 * org.el (org-shifttab): Interpret arg differently when using only
27153 2009-10-01 Bastien Guerry <bzg@gnu.org>
27155 * org.el (org-check-agenda-file): Use a more explicit message.
27157 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27159 * org-exp.el (org-export-remove-special-table-lines): Don't remove
27162 2009-10-01 Bastien Guerry <bzg@gnu.org>
27164 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27165 prompt in the temporary window.
27167 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27168 prefix for marked entries in the agenda view.
27170 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
27172 * org.el (outline-end-of-subtree): Bugfix: advise this function in
27173 a way that prevents any trailing character from being displayed.
27175 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27177 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27180 * org-exp.el (org-export-remove-special-table-lines): Remove bad
27183 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27185 * org-latex.el (org-export-latex-preprocess): Do not protect in
27188 * org-src.el (org-edit-src-save): Save window setup while saving.
27189 (org-edit-src-code): Use new buffer name construction scheme.
27191 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27193 * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27195 (org-agenda-entry-text-cleanup-hook): New hook.
27196 (org-agenda-get-some-entry-text): Remove matches of
27197 `org-agenda-entry-text-exclude-regexps' and run the hook
27198 `org-agenda-entry-text-cleanup-hook'.
27200 * org.el (org-offer-links-in-entry): New argument ZERO to
27201 implement a link with index zero.
27202 (org-cycle-show-empty-lines): Not keep empty line under header
27204 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27205 to nil for special completion.
27206 (org-store-link): Don't error before the first heading.
27208 * org-agenda.el (org-agenda-open-link): Pass the prefix to
27209 `org-offer-links-in-entry'.
27211 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
27213 * org-agenda.el (org-agenda-quit): Provide the window argument for
27214 `window-dedicated-p', Emacs 22 needs it.
27215 (org-format-agenda-item): If the category is a link, arrange for
27216 invisible text to replaced with spaces.
27217 (org-compile-prefix-format): Add the extra space.
27218 (org-prefix-category-length): New variable.
27220 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27221 references from TOC lines.
27223 * org.el (org-selected-window): New variable.
27225 * org-table.el (org-table-edit-formulas): Remember the selected
27227 (org-table-fedit-finish, org-table-fedit-abort): Select the window
27228 that was originally selected.
27230 * org-exp.el (org-export-preprocess-apply-macros): Scan the
27231 expansion of a macro for more macro definitions.
27233 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27234 invisibility overlay starts on the newline.
27236 2009-10-01 Glenn Morris <rgm@gnu.org>
27238 * org-agenda.el (calendar-check-holidays):
27239 * org-exp.el (org-agenda-skip):
27240 * org-list.el (outline-back-to-heading):
27241 * org-wl.el (wl-summary-goto-folder-subr):
27242 * org.el (iswitchb-mode, remember, remember-buffer-desc)
27243 (remember-finalize, remember-save-after-remembering, remember-register)
27244 (remember-buffer, remember-handler-functions)
27245 (remember-annotation-functions): Remove unused declarations.
27247 * org.el (iswitchb-read-buffer): Fix declaration.
27249 2009-09-30 Glenn Morris <rgm@gnu.org>
27251 * org-compat.el (w32-focus-frame):
27252 * org-exp-blocks.el (R):
27253 * org-exp.el (htmlize-buffer):
27254 * org-protocol.el (server-edit):
27255 * org-table.el (org-format-org-table-html):
27256 * org.el (org-indent-mode): Fix declarations.
27258 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27259 free variable `fun'.
27261 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
27263 * org-agenda.el (org-agenda-restore-windows-after-quit):
27264 Fix typo in docstring.
27266 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
27268 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27269 (org-shiftselect-error, org-ctrl-c-ctrl-c):
27270 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27271 * org-attach.el (org-attach-check-absolute-path):
27272 * org-docbook.el (org-export-as-docbook):
27273 * org-html.el (org-export-as-html):
27274 * org-id.el (org-id-update-id-locations):
27275 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27276 Fix typos in error messages.
27278 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
27280 * org-ascii.el: Require CL for the `loop' macro.
27282 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
27284 * org-gnus.el (require): Wrap (require gnus-sum) into
27287 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
27289 * org-protocol.el (org-protocol-store-link)
27290 (org-protocol-remember, org-protocol-open-source): Remove autoload
27293 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27294 referencing the start of the line.
27296 * org-gnus.el: Remove unnecessary declare-function forms.
27297 (gnus-sum): Always require gnus-sum.
27299 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27301 * org-protocol.el (org-protocol-store-link)
27302 (org-protocol-remember, org-protocol-open-source): Add autoloads.
27304 * org-compat.el (org-float-time): New function.
27306 * org.el (org-clock-update-time-maybe)
27307 (org-sort-entries-or-items, org-do-sort)
27308 (org-evaluate-time-range, org-time-string-to-seconds)
27309 (org-closed-in-range): Use `org-float-time'.
27311 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27312 (org-timer-seconds): Use `org-float-time'.
27314 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27315 (org-clock-sum, org-dblock-write:clocktable)
27316 (org-clocktable-steps): Use `org-float-time'.
27318 * org-agenda.el (org-agenda-last-marker-time)
27319 (org-agenda-new-marker, org-diary): Use `org-float-time'.
27321 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27324 * org-exp.el (org-get-file-contents): Only protect lines that
27327 * org-html.el (require): Require cl for compilation.
27329 * org.el: Avoid using `default-major-mode'.
27331 * org-plot.el (require): Require CL only at compile time.
27333 * org-exp.el (require): Require CL only at compile time.
27335 * org-agenda.el (org-agenda-quit): When the agenda window is
27336 dedicated, remove other windows before exiting, so that the frame
27337 really will be killed.
27339 * org-exp.el (org-export-handle-include-files): Reset START and
27340 END for each loop cycle.
27342 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27344 * org.el (org-eval-in-calendar):
27345 Use `org-select-frame-set-input-focus'.
27347 * org-compat.el (org-select-frame-set-input-focus): New function.
27349 * org.el (org-update-statistics-cookies): New function.
27350 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
27352 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27354 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
27355 after the local variables are set.
27357 * org-latex.el (org-export-latex-protect-amp): New function.
27358 (org-export-latex-links): Protect link ampersands in tables.
27360 * org-exp.el (org-export-select-backend-specific-text): Match in
27361 two steps, to avoid regexp problems.
27363 * org.el (org-offer-links-in-entry): Improve working with many and
27366 * org-agenda.el (org-agenda-show-1): Make more consistent with
27368 (org-agenda-cycle-show): Make more consistent with normal cycling.
27370 * org-gnus.el (org-gnus-store-link): Restore the linking to a
27373 2009-09-02 Bastien Guerry <bzg@gnu.org>
27375 * org-latex.el (org-export-latex-first-lines): Bugfix.
27377 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27379 * org-clock.el (org-clock-modify-effort-estimate): Emit message
27382 * org.el (org-set-effort): New function.
27383 (org-mode-map): New key for effort setting command.
27385 * org-agenda.el (org-agenda): Keep window setup when calling
27386 agenda from within agenda window.
27387 (org-agenda-mode-map): New keys for effort setting commands.
27388 (org-agenda-menu): Add effort setting commands to menu.
27389 (org-agenda-set-property, org-agenda-set-effort): New functions.
27391 * org-latex.el (org-export-latex-tables):
27392 Fix `org-table-last-alignment' and `org-table-last-column-widths' if
27393 the first column has been removed.
27395 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27397 * org.el (org-remove-timestamp-with-keyword): Only remove in
27398 entry, not in subtree.
27400 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
27403 * org.el (org-open-at-point): When on headline, offer all strings
27406 * org-remember.el (org-remember-templates): Documentation fix.
27408 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
27409 `org-get-last-sibling' instead of the outline versions of these
27411 (org-get-last-sibling): New function.
27412 (org-refile): Use `org-get-next-sibling' instead of the outline
27413 version of this function.
27414 (org-clean-visibility-after-subtree-move):
27415 Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
27416 outline versions of these functions.
27418 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27420 * org-agenda.el (org-prepare-agenda): When creating a new frame
27421 for the agenda, make the window dedicated.
27423 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
27425 * org-table.el (org-table-align): Change the order of reinsertion
27426 and deletion, to avoid problems with overlays following the table.
27428 * org.el (org-parse-time-string): Better error message.
27429 (org-show-subtree): Use org-end-of-subtree.
27431 * org-macs.el (org-goto-line): New defsubst.
27433 * org.el (org-open-file, org-change-tag-in-region)
27434 (org-fast-tag-show-exit): Don't use `goto-line'.
27436 * org-table.el (org-table-align, org-table-insert-column)
27437 (org-table-delete-column, org-table-move-column)
27438 (org-table-sort-lines, org-table-copy-region)
27439 (org-table-paste-rectangle, org-table-wrap-region)
27440 (org-table-get-specials, org-table-rotate-recalc-marks)
27441 (org-table-get-range, org-table-recalculate)
27442 (org-table-edit-formulas, org-table-fedit-convert-buffer)
27443 (org-table-show-reference, org-table-highlight-rectangle):
27444 Don't use `goto-line'.
27446 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
27447 (org-edit-src-exit): Don't use `goto-line'.
27449 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
27451 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
27452 Don't use `goto-line'.
27454 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
27456 * org-colview.el (org-columns, org-columns-redo)
27457 (org-agenda-columns): Don't use `goto-line'.
27459 * org-agenda.el (org-agenda-mode): Force visual line motion off.
27460 (org-agenda-add-entry-text-maxlines): Improve docstring.
27461 (org-agenda-start-with-entry-text-mode): New option.
27462 (org-agenda-entry-text-maxlines): New option.
27463 (org-agenda-entry-text-mode): New variable.
27464 (org-agenda-mode): Set initial value of
27465 `org-agenda-entry-text-mode'.
27466 (org-agenda-mode-map): Add the `E' key.
27467 (org-agenda-menu): Add entry text mode to the menu.
27468 (org-agenda-get-some-entry-text): Fix line count bug.
27469 (org-finalize-agenda): Apply entry text mode if appropriate.
27470 (org-agenda-entry-text-show-here): New function.
27471 (org-agenda-entry-text-show): New function.
27472 (org-agenda-entry-text-hide): New function.
27473 (org-agenda-view-mode-dispatch): Add entry text mode to the view
27475 (org-agenda-entry-text-mode): New command.
27476 (org-agenda-set-mode-name): Add entry text mode to the mode line
27478 (org-agenda-undo, org-agenda-get-restriction-and-command)
27479 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
27482 2009-09-02 Bernt Hansen <bernt@norang.ca>
27484 * org-clock.el (org-notify): Bugfix.
27486 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27488 * org-agenda.el (org-agenda-open-link): Handle multiple links and
27489 check for after-string.
27491 * org-gnus.el (org-gnus-store-link): Simplify.
27493 * org.el (org-latex-regexps): Don't add extra empty lines for
27496 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27498 * org-agenda.el (org-agenda-get-some-entry-text): New function.
27499 (org-agenda-add-entry-text):
27500 Use `org-agenda-get-some-entry-text'.
27502 * org.el (org-cycle-separator-lines): Update docstring.
27503 (org-cycle-show-empty-lines): Handle negative values for
27504 `org-cycle-show-empty-lines'.
27506 * org-exp.el (org-export-protect-sub-super): New function.
27507 (org-export-normalize-links): Protect the url of plain links from
27508 supscript and superscript processing.
27510 * org-remember.el (org-remember-escaped-%): New function.
27511 (org-remember-apply-template): Use `org-remember-escaped-%' to
27512 detect escaped % signs.
27514 2009-09-02 Bastien Guerry <bzg@gnu.org>
27516 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
27517 sound when showing the notification.
27519 * org-clock.el (org-notify): New function.
27520 (org-clock-notify-once-if-expired): Use `org-notify'.
27522 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
27523 and `gnus-article-mode' separately.
27524 (gnus-summary-article-header): Fix the declare-function.
27526 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27528 * org-exp.el (org-export-format-source-code-or-example):
27529 Translate language.
27531 * org-src.el (org-src-lang-modes): New variable.
27532 (org-edit-src-code): Translate language.
27534 * org-exp.el (org-export-format-source-code-or-example): Deal wit
27535 the new structure of the `org-export-latex-listings-langs'
27538 * org-latex.el (org-export-latex-listings-langs): Change structure
27539 of the variable from plist to alist.
27541 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27543 * org.el (org-in-commented-line): New function.
27545 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27547 * org.el (org-hide-block-toggle): Make folded blocks searchable.
27549 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
27551 * org.el (org-flag-drawer): More useful error.
27553 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27555 * org-remember.el (org-remember-apply-template):
27556 Use org-icompleting-read.
27558 * org-publish.el (org-publish): Use org-icompleting-read.
27560 * org-colview.el (org-columns-edit-value, org-columns-new)
27561 (org-insert-columns-dblock): Use org-icompleting-read.
27563 * org-attach.el (org-attach-delete-one, org-attach-open):
27564 Use org-icompleting-read.
27566 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27568 * org.el (org-hierarchical-todo-statistics): Improve docstring.
27569 (org-version): Return the version text.
27570 (org-org-menu): Add a menu entry for the new bug reporter.
27571 (org-submit-bug-report): New command.
27573 * org-list.el (org-hierarchical-checkbox-statistics):
27576 * org.el (org-emphasis-regexp-components): Add "`" to set of
27577 pre-emphasis characters.
27579 * org-latex.el (org-export-latex-classes): Always include the soul
27581 (org-export-latex-emphasis-alist): Use \st for strikethough.
27583 * org-exp-blocks.el (org-export-blocks-preprocess):
27584 Use `indent-code-rigidly' to indent.
27586 * org-agenda.el (org-agenda-get-restriction-and-command):
27587 Remove properties only if MATCH really is a string.
27589 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27591 * org-latex.el (org-export-latex-packages-alist):
27592 Fix customization type.
27594 * org.el (org-create-formula-image): Also use
27595 `org-export-latex-packages-alist'.
27597 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
27598 (org-export-as-html): Format footnotes correctly.
27600 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27602 * org.el (org-fast-tag-selection): Avoid text properties on tags
27605 * org-agenda.el (org-agenda-get-restriction-and-command):
27606 Avoid text properties on the match element.
27608 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27610 * org.el (org-set-regexps-and-options): Make sure the list of done
27611 keywords is not invalid.
27613 * org-exp.el (org-export-interpolate-newlines): New function.
27615 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27617 * org.el (org-format-latex): Avoid nested overlays.
27619 * org-latex.el (org-export-latex-listings-langs): Add a few more
27622 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
27623 ignore newlines and space before the first macro argument.
27625 * org-latex.el (org-export-latex-tables): Remove save-excursion
27626 around `org-table-align'.
27628 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27630 * org.el (org-export-html-special-string-regexps):
27631 Definition moved into org.el.
27633 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
27636 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27638 * org-latex.el (org-export-latex-listings)
27639 (org-export-latex-listings-langs): New options.
27641 * org-exp.el (org-export-format-source-code-or-example):
27642 Use listing package if requested by the user.
27644 2009-09-02 Bastien Guerry <bzg@gnu.org>
27646 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
27647 command before actually switching to a buffer.
27649 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27651 * org-exp.el (org-get-file-contents): Only quote org lines when
27652 the markup is src or example.
27654 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
27656 (org-agenda-get-day-entries): Remember deadline results and pass
27657 them on into the function getting the scheduling information.
27658 (org-agenda-get-scheduled): Accept deadline results as parameters
27659 and maybe skip some entries.
27660 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
27662 * org.el (org-insert-heading): When respecting content, do not
27663 convert current line to headline.
27665 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
27666 Also cheeeeeck the hd marker.
27667 (org-clock-in): Also set the hd marker.
27668 (org-clock-out): Also set the hd marker.
27669 (org-clock-cancel): Reset markers.
27671 * org.el (org-clock-hd-marker): New marker.
27673 * org-faces.el (org-agenda-clocking): New face.
27675 * org-agenda.el (org-agenda-mark-clocking-task): New function.
27676 (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
27678 * org.el (org-modules): Add org-track.el.
27680 * org-agenda.el (org-agenda-bulk-marked-p): New function.
27681 (org-agenda-bulk-mark, org-agenda-bulk-unmark):
27682 Use `org-agenda-bulk-marked-p'.
27683 (org-agenda-bulk-toggle): New command.
27685 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27687 * org.el (org-move-subtree-down): Hide subtree if it was folded,
27690 * org-remember.el (org-remember-finalize): Avoid buffer-modified
27693 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
27695 * org-html.el (org-export-as-html):
27696 * org-docbook.el (org-export-as-docbook):
27697 Use (default-value 'major-mode) instead of default-major-mode.
27699 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
27701 * org-docbook.el: Add arch-tag.
27703 * org-exp-blocks.el: Add arch-tag.
27705 * org-id.el: Add arch-tag.
27707 * org-indent.el: Add arch-tag.
27709 * org-inlinetask.el: Add arch-tag.
27711 * org-protocol.el: Add arch-tag.
27713 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27715 * org.el (org-create-formula-image): Remove the -E option for
27718 * org-exp.el (org-default-export-plist): Respect #+BIND.
27719 (org-export-confirm-letbind): New function.
27721 * org.el (org-paste-subtree): Test the kill ring entry if it is
27723 (org-copy-subtree): Use `org-forward-same-level'.
27724 (org-forward-same-level): Respect the `invisibe-ok' arg for
27727 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27729 * org.el (org-table-map-tables): Make sure cursor is back at table
27730 beginning after funcall.
27732 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
27733 handled before children, and do not error if an entry is not
27734 found, probably because it hase been remove when the parent was
27735 archived or refiled.
27737 * org.el (org-ido-completing-read): Accept straight lists for
27738 completion as well as alists.
27740 * org-timer.el (org-timer-cancel-timers): Rename from
27741 `org-timer-cancel-timers'.
27743 * org.el (org-cycle-internal-local): Fix problem with finding next
27746 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27748 * org-list.el (org-list-send-list):
27749 Call `org-list-goto-true-beginning' instead of
27750 `org-list-find-true-beginning', which does not exist.
27752 * org-timer.el (org-timer-reset-timers): Use `mapc'.
27753 (org-timer-set-timer): Do not assign to heading.
27755 * org-id.el (org-id-open): Quote function name.
27757 * org-macs.el (org-unmodified): Turn off recording undo
27758 information while running inside the macro.
27760 * org-table.el (org-table-export): Also work in file-less
27763 * org.el (org-startup-indented): New option.
27764 (org-startup-options): Add new options indent and noindent.
27765 (org-unfontify-region): Remove line-prefix and wrap-prefix
27767 (org-after-demote-entry-hook, org-after-promote-entry-hook):
27769 (org-promote, org-demote): Run the new hooks.
27771 * org-table.el (org-table-align): Replace leading \n as well.
27773 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
27774 and `line-wrap' text properties.
27776 * org-compat.el (org-kill-new): New function.
27778 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
27779 `line-wrap' text properties.
27781 * org-indent.el: New file.
27783 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27785 * org.el (org-provide-todo-statistics): Tweak docstring.
27787 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
27789 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27791 * org-exp.el (org-export-as-org): Insert the "-source" string
27792 before the extension.
27794 * org.el (org-read-date): Make sure the calendar is in the current
27796 (org-set-emph-re): Remove the ? from the post-match.
27797 (org-emphasis-regexp-components): Add backslash to the
27799 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
27800 optional so that also lines at the end of the buffers will still
27801 be matched as headlines.
27803 * org-table.el (org-table-error-on-row-ref-crossing-hline):
27804 Variable made obsolete.
27805 (org-table-relative-ref-may-cross-hline): New option.
27806 (org-table-find-row-type): Honow the new option
27807 `org-table-relative-ref-may-cross-hline'.
27809 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27811 * org-table.el (org-table-cut-region, org-table-copy-region):
27812 Work on single field if no active region.
27814 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27816 * org-latex.el (org-export-latex-make-header): Only insert title
27819 * org.el (org-make-options-regexp): Allow empty values.
27821 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27823 * org.el (org-cycle-internal-local): Improve version of finding
27825 (org-cycle-hide-drawers): Only hide drawers if this is really
27827 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
27828 org-version of this function in Org-mode. We use advice to
27829 implement this change, so that future changes to this function in
27830 outline.el wil be handled properly.
27831 (org-forward-same-level, org-backward-same-level): New commands.
27833 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27835 * org.el (org-remove-empty-overlays-at)
27836 (org-clean-visibility-after-subtree-move): New functions.
27837 (org-move-subtree-down): Simplify cleanup of display.
27839 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27841 * org-mac-message.el (org-mac-message-get-links): Improve
27842 docstring. Make argument SELECT-OR-FLAGGED optional, default to
27843 "s". Fix the return value.
27844 (org-mac-message-insert-flagged): Simplify.
27846 * org.el (org-refile-get-location): Tamper with refile history o
27847 that history contains compete matches instead of the entered
27850 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27852 * org.el (org-store-link): Never store a link to an inline task.
27854 * org-footnote.el (org-footnote-goto-local-insertion-point):
27855 Skip inline tasks when positioning footnotes.
27857 * org.el (org-refile): Remove the END line when archiving an
27858 inline task that does have an END line.
27860 * org-archive.el (org-archive-subtree): Remove the END line when
27861 archiving an inline task that does have an END line.
27863 * org-macs.el (org-with-limited-levels): New macro.
27864 (org-get-limited-outline-regexp): New function.
27866 * org-exp.el (org-export-format-source-code-or-example): Fix bug
27867 that did not enumerate first line.
27868 (org-export-mark-radio-links): Skip matches in links.
27870 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27872 * org.el (org-activate-plain-links): Make single-match.
27873 (org-adapt-indentation): Fix docstring.
27875 * org-macs.el (org-unmodified): Turn of modification hooks while
27876 running this macro.
27878 2009-08-06 Bastien Guerry <bzg@gnu.org>
27880 * org.el (org-adapt-indentation): Slightly improve the docstring.
27881 (org-occur): Sends an error when the user inputs an empty string.
27882 (org-priority): Bugfix: the tag alignement should happen within
27885 2009-08-06 Bastien Guerry <bzg@gnu.org>
27887 * org.el (org-make-link-regexps): Don't exclude parentheses from
27888 `org-plain-link-re'.
27889 (org-cycle-internal-local): When locally cycling, switch directly
27890 from CHILDREN to FOLDED if there is no subtree.
27891 (org-cycle): Update the docstring to document the new behavior of
27892 `org-cycle-internal-local'.
27894 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
27896 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
27897 an abbreviated format for days.
27899 2009-08-06 Bastien Guerry <bzg@gnu.org>
27901 * org-protocol.el (org-protocol-default-template-key):
27904 * org.el (org-refile): Bugfix: save-excursion before reading the
27905 refile target, otherwise cursor moves might confuse `org-refile'.
27907 * org.el (org-toggle-heading): Bugfix: correctly convert list
27908 items before the first headline.
27910 * org.el (org-provide-todo-statistics): Allow a list of TODO
27911 keywords to compute statistics against headlines containing a
27912 keyword from this list.
27913 (org-update-parent-todo-statistics): Possibly use the new allowed
27914 value of `org-provide-todo-statistics'.
27916 2009-08-06 Bastien Guerry <bzg@gnu.org>
27918 * org-timer.el: Add autoload cookie.
27920 * org.el (org-occur-link-in-agenda-files): New function.
27922 * org-timer.el (org-timer-last-timer): New variable.
27924 * org-agenda.el (org-agenda-mode-map): New key for
27925 org-timer-set-timer called from the agenda.
27927 * org.el (org-mode-map): New key for org-timer-set-timer.
27929 * org-timer.el (org-timer-reset-timers)
27930 (org-timer-show-remaining-time, org-timer-set-timer):
27933 * org-clock.el (org-show-notification): Update the docstring.
27935 * org.el (org-provide-todo-statistics): Allow new value
27936 'all-headlines for this option, which includes entries with no
27937 TODO keywords in the todo statistics.
27938 (org-update-parent-todo-statistics): Possibly use the new
27939 'all-headline value from `org-provide-todo-statistics'.
27941 2009-08-06 Bastien Guerry <bzg@gnu.org>
27943 * org-clock.el (org-dblock-write:clocktable): Add a new option
27944 :timestamp which allows display of timestamps in clock reports.
27946 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
27947 list to a subtree, preserving the structure of the list.
27948 (org-set-emph-re): Make the last element optional in the regexp.
27949 This regexp now matches an emphasized string at the end of a line.
27951 * org-list.el (org-list-goto-true-beginning)
27952 (org-list-make-subtree, org-list-make-subtrees): New functions.
27954 * org.el (org-eval-in-calendar): Select the right frame.
27955 (org-save-frame-excursion): Remove this macro.
27957 2009-08-06 Bastien Guerry <bzg@gnu.org>
27959 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
27960 trying to find the beginning of a list.
27962 * org-exp.el (org-get-file-contents): Use a new argument: markup.
27963 When present, tell org-get-file-contents not to protect org-like
27966 * org-id.el (org-id-uuid-program): New option to set the name of
27967 the uuidgen program.
27968 (org-id-method): Use `org-id-uuid-program'.
27969 (org-id-new): Use `org-id-uuid-program'.
27971 2009-08-06 Bastien Guerry <bzg@gnu.org>
27973 * org-exp.el (org-export-number-lines): Allow whitespace in code
27974 references. Allow the -r switch to remove the references in the
27975 source code even when the lines are not numbered: the labels can
27976 be explicit enough.
27978 * org.el (org-fontify-whole-heading-line): New option.
27979 (org-set-font-lock-defaults): Use the new option.
27981 * org-clock.el (org-show-notification-handler): New option.
27982 (org-show-notification): Use the new option.
27984 2009-08-06 Bastien Guerry <bzg@gnu.org>
27986 * org.el (org-eval-in-calendar): Fix a bug about calendar
27987 navigation when `calendar-setup' value is 'calendar-only.
27989 2009-08-06 Bastien Guerry <bzg@gnu.org>
27991 * org.el (orgstruct++-mode): Fix typo in docstring.
27992 (org-insert-link): Clean up: (or (...)) => (...)
27993 (org-insert-link): Use TAB for stored links completion.
27995 2009-08-06 Bastien Guerry <bzg@gnu.org>
27997 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
27998 building the list of targets.
28000 * org-remember.el (org-remember-delete-empty-lines-at-end):
28002 (org-remember-handler): Use the new option.
28004 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
28006 * org.el (org-tags-sort-function): New option for sorting tags.
28007 (org-set-tags): Use the new option to sort tags.
28009 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28010 premature deletion of the data when using org-plot in a script.
28012 2009-08-06 Bastien Guerry <bzg@gnu.org>
28014 * org-clock.el (org-clock-in-prepare-hook): New hook.
28015 (org-clock-in): Use this new hook.
28017 2009-08-06 Bastien Guerry <bzg@gnu.org>
28019 * org.el (org-special-ctrl-a/e): Explicitly bind the value
28020 'reversed for this option to the "true line boundary first"
28022 (org-tags-match-list-sublevels): Document the 'indented value for
28025 * org-latex.el (org-export-latex-first-lines): Fix problem with
28026 publishing the region.
28028 * org-exp.el (org-export-format-source-code-or-example):
28029 Fix bad line numbering when exporting examples in HTML.
28031 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
28033 * org-colview.el (org-format-time-period): Formats a time in
28034 fractional days as days, hours, mins, seconds.
28035 (org-columns-display-here): Add special handling for SINCE and
28036 SINCE_IA to format for display.
28038 * org.el (org-time-since): Add a function to get the time since an
28040 (org-entry-properties): Add two new special properties: SINCE and
28041 SINCE_IA. These give the time since any active or inactive
28042 timestamp in an entry.
28043 (org-special-properties): Add SINCE, SINCE_IA.
28044 (org-tags-sort-function): Add custom declaration for tags
28046 (org-set-tags): Sort tags if org-tags-sort-function is set.
28048 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28050 * org-clock.el (org-clock-goto): Find hidden headlines as well.
28052 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28054 * org-plot.el (org-plot/add-options-to-plist): Add timeind
28057 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28059 * org-publish.el (org-publish-remove-all-timestamps): New function.
28060 (org-publish-all): Remove all timestamp files if `org-publish-all'
28061 is called with a prefix argument.
28063 * org-list.el (org-indent-item): Fix typo.
28064 (org-item-indent-positions): Normalize ordered bullet.
28066 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28068 * org-macs.el (org-set-local): Make a local variable, do not make
28069 the variable buffer-local!
28071 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28073 * org-exp.el (org-infile-export-plist): Read BIND lines.
28074 (org-install-letbind): New function.
28075 (org-export-as-org, org-export-preprocess-string):
28076 Call `org-install-letbind'.
28078 * org-list.el (org-list-demote-modify-bullet): New option.
28079 (org-first-list-item-p): Save point.
28080 (org-fix-bullet-type): New optional argument FORCE-BULLET.
28081 (org-indent-item): Honor `org-list-demote-modify-bullet'.
28082 (org-item-indent-positions): Return bullet types along with
28085 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28087 * org.el (org-show-entry): Hide drawers.
28089 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28091 * org-footnote.el (org-footnote-auto-adjust): New option.
28092 (org-footnote-auto-adjust-maybe): New function.
28093 (org-footnote-new, org-footnote-delete):
28094 Call `org-footnote-auto-adjust-maybe'.
28096 * org.el (org-startup-options): Add new footnote-related
28099 * org-publish.el (org-publish-timestamp-filename): Additional
28100 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28101 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28102 TRUE-PUB-DIR. Pass them through to
28103 `org-publish-timestamp-filename'.
28104 (org-publish-update-timestamp): Additional arguments PUB-DIR and
28105 PUB-FUNC, which are included in the hash.
28106 (org-publish-file): Delay timestamp test until the publishing
28109 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28111 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28112 setting the deadline.
28114 * org.el (org-read-date-final-answer): New variable.
28115 (org-read-date): Store the final answer string, including the date
28116 from the calendar, for reuse by agenda bulk commands.
28118 * org-publish.el (org-publish-attachment): Fix publishing of
28121 * org-latex.el (org-export-latex-quotation-marks): Fix export of
28122 quotation makrs in parenthesis.
28123 (org-remove-initial-hash): New function.
28124 (org-export-latex-preprocess): Fix bug with infinite loop if
28125 environment is not properly closed.
28127 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28130 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28131 highlight also when indented.
28133 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28135 * org-footnote.el (org-footnote-renumber-fn:N): New command.
28136 (org-footnote-action): Offer renumbering.
28138 * org.el (org-cycle): Honor the `integrate' value of
28139 org-cycle-include-plain-lists'.
28141 * org-list.el (org-cycle-include-plain-lists): New allowed value
28142 `internal'. Improve the docstring.
28144 * org.el (org-set-autofill-regexps): Improve the paragraph-start
28145 regexp to work better with LaTeX commands.
28147 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28149 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28150 and eps extensions.
28152 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28154 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28157 * org.el (org-map-entries): No longer force
28158 `org-tags-match-list-sublevels' to t during a todo-only tags
28161 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28163 * org-latex.el (org-export-latex-low-levels): Allow user-defined
28165 (org-export-latex-subcontent): Handle user-defined environment.
28167 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28168 the View dispatcher.
28170 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28173 * org-latex.el (org-export-as-pdf): Protect match data during call
28174 to shell-quote-argument.
28176 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28177 (org-agenda-view-mode-dispatch): New function.
28179 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28181 * org-agenda.el (org-agenda-mode): Reset list of marks.
28182 (org-agenda-mode-map): Define new keys for refile and bulk action.
28183 (org-agenda-menu): Add menu itesm for refile and bulk action.
28184 (org-agenda-refile): New function.
28185 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28186 (org-agenda-marked-entries): New variable.
28187 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28188 (org-agenda-remove-all-bulk-action-marks)
28189 (org-agenda-bulk-action): New functions/commands.
28191 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28193 * org-exp.el (org-get-file-contents): Protect org-like lines in
28195 (org-export-format-source-code-or-example): Remove newlines.
28197 * org-latex.el (org-export-latex-links): Check for no-description
28200 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28201 argument separator back to comma.
28202 (org-export-normalize-links): Mark links without description.
28204 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28206 * org-exp.el (org-infile-export-plist): Fix bug in macro
28209 * org-agenda.el (org-agenda-clock-out): Update line after clocking
28211 (org-agenda-highlight-todo): Fix bug with highlighting.
28213 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28215 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28216 new alignment strings.
28218 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28220 (org-table-align): Check for forced align type.
28222 * org.el (org-self-insert-command): Add yas/expand to command
28225 * org-clock.el (org-clock-in-hook): New hook.
28226 (org-clock-in): Run `org-clock-in-hook.
28227 (org-clock-out-hook): New hook.
28228 (org-clock-out): Run `org-clock-out-hook.
28229 (org-clock-cancel-hook): New hook.
28230 (org-clock-cancel): Run `org-clock-cancel-hook.
28231 (org-clock-goto-hook): New hook.
28232 (org-clock-goto): Run `org-clock-goto-hook.
28234 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28236 * org.el (org-store-link): Better default description for link to
28239 * org-exp.el (org-export-generic): Autoload the generic exporter
28241 (org-export): Implement the `g' key for the generic exporter.
28243 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28245 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28248 * org-exp.el (org-infile-export-plist): Get macros also from
28251 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28253 * org-colview.el (org-columns-capture-view): Protect vertical bars
28255 (org-columns-capture-view): Exclude comment and archived trees.
28257 * org.el (org-quote-vert): New function.
28259 * org-latex.el (org-export-latex-verbatim-wrap): New option.
28261 * org-exp.el (org-export-format-source-code-or-example):
28262 Use `org-export-latex-verbatim-wrap'.
28264 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28267 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
28269 * org-exp-blocks.el: New file.
28271 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28273 * org-remember.el (org-remember-templates): Allow the headline
28274 element to be a function.
28275 (org-remember-apply-template): If the headline is a function, call
28276 it to get the true function.
28278 * org-clock.el (org-clock-menu): New function.
28279 (org-clock-update-mode-line): Update help string.
28280 (org-clock-modify-effort-estimate): New function.
28281 (org-clock-mark-default-task): New function.
28283 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28285 (org-org-menu): Add new clocking stuff.
28286 (org-clock-is-active): New function.
28288 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28290 * org.el (org-open-non-existing-files): Improve docstring.
28292 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28294 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28296 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28298 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28300 * org-list.el (org-get-checkbox-statistics-face): Use the new
28303 * org-faces.el (org-checkbox-statistics-todo)
28304 (org-checkbox-statistics-done): New faces.
28306 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28308 * org-latex.el (org-export-latex-use-verb): New variable.
28309 (org-export-latex-emph-format): Prefer \texttt over \verb when
28310 org-export-latex-use-verb is set.
28312 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28314 * org-remember.el (org-remember-handler): Abort remember if the
28317 * org-exp.el (org-export-format-source-code-or-example):
28318 Run `org-src-mode-hook'.
28320 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28322 * org.el (org-indent-line-function): Fix indentation of +#end lines.
28324 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
28326 * org-gnus.el (org-gnus-store-link): Require message.el in
28327 org-gnus-store-link.
28329 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28331 * org-src.el: New file, split out of org.el.
28333 * org-macs.el (org-replace-match-keep-properties): New function.
28335 * org-exp.el (org-export-mark-blockquote-verse-center):
28336 Better preprocessing of center and quote and verse blocks.
28338 * org-list.el (org-list-end): Respect the stored "original"
28339 indentation when determining the end of the list.
28341 * org-exp.el (org-export-replace-src-segments-and-examples):
28342 Remember indentation correctly.
28344 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28346 * org-clock.el (org-clock-update-mode-line): Apply face
28347 org-mode-line-clock.
28349 * org-faces.el (org-mode-line-clock): New face.
28351 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
28353 * org-gnus.el (org-gnus-store-link): Fix bug where
28354 `org-gnus-store-link' used wrong subject when called in an article
28355 buffer. Patch provided by fengli AT gmail DOT com.
28357 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28359 * org-exp.el (org-export-format-source-code-or-example):
28360 Remember the original indentation of source code snippets and examples.
28362 * org-latex.el (org-export-as-latex): Relocate the table of
28365 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
28367 * org-agenda.el (org-run-agenda-series): Scope global options also
28368 when creating the agenda buffer.
28370 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28372 * org.el (org-adapt-indentation): Improve documentation.
28373 (org-insert-property-drawer): Respect org-adapt-indentation when
28374 inserting the drawer.
28375 (org-remove-flyspell-overlays-in): New function.
28376 (org-do-emphasis-faces, org-activate-plain-links)
28377 (org-activate-code, org-fontify-meta-lines-and-blocks)
28378 (org-activate-angle-links, org-activate-footnote-links)
28379 (org-activate-bracket-links, org-activate-dates)
28380 (org-activate-target-links, org-activate-tags): Remove flyspell
28383 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28385 * org.el (org-edit-src-save): New function.
28387 * org-clock.el (org-clock-out-switch-to-state): New option.
28388 (org-clock-out): Honor `org-clock-out-switch-to-state'.
28390 * org-compat.el (org-compatible-face): Improve macro.
28392 * org.el (org-global-properties-fixed): Add default for
28393 CLOCK_MODELINE_TOTAL.
28395 * org-clock.el (org-clock-sum): Accept lists and strings as tstart
28397 (org-clock-sum-current-item): Optional argument TSTART, pass it to
28399 (org-clock-get-sum-start): New function.
28401 * org.el (org-startup-options): New keywords blockhide and
28403 (org-mode): Add new invisibility spec.
28404 (org-set-startup-visibility): Hide block on startup if so
28406 (org-hide-block-startup): New option.
28407 (org-block-regexp): New constant.
28408 (org-hide-block-overlays): New variable.
28409 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
28410 (org-show-block-all, org-hide-block-toggle-maybe)
28411 (org-hide-block-toggle): New functions.
28412 (org-edit-src-exit): Do not quote lines starting with # and no +
28414 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
28417 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28419 * org.el (org-buffer-property-keys): Add Effort property for
28422 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28424 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
28425 when retrieving total clocked time in the subtree.
28427 * org.el (org-quoting-blocks): New variable.
28429 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28431 * org-table.el (org-table-store-formulas)
28432 (org-table-get-stored-formulas, org-table-fix-formulas)
28433 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
28434 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
28436 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
28437 Allow indented #+TBLFM line.
28439 * org-footnote.el (org-footnote-goto-local-insertion-point):
28440 Allow indented #+TBLFM line.
28442 * org-colview.el (org-dblock-write:columnview): Allow indented
28445 * org-clock.el (org-dblock-write:clocktable): Allow indented
28448 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28450 * org-exp.el (org-export-format-source-code-or-example):
28451 Make editing indented blocks work correctly.
28453 * org.el (org-edit-src-nindent): New variable.
28454 (org-edit-src-code, org-edit-fixed-width-region)
28455 (org-edit-src-find-region-and-lang, org-edit-src-exit):
28456 Make editing indented blocks work correctly.
28458 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28460 * org-exp.el (org-export-replace-src-segments-and-examples):
28461 Find indented blocks.
28462 (org-export-format-source-code-or-example): Fix indentation of
28464 (org-export-remove-indentation): New function.
28465 (org-export-select-backend-specific-text): Allow backend-specific
28466 code to be indented.
28467 (org-export-mark-blockquote-verse-center): Allow markers to be
28470 * org.el (org-fontify-meta-lines): New function.
28471 (org-set-font-lock-defaults): Call the new fontification
28474 * org-faces.el (org-meta-line): New face.
28475 (org-block): New face.
28477 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28479 * org.el (org-treat-insert-todo-heading-as-state-change)
28480 (org-treat-S-cursor-todo-selection-as-state-change):
28482 (org-insert-todo-heading):
28483 Honor `org-treat-insert-todo-heading-as-state-change'.
28484 (org-shiftright, org-shiftleft):
28485 Honor `org-treat-S-cursor-todo-selection-as-state-change'.
28486 (org-inhibit-logging): New variable.
28488 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28490 * org-agenda.el (org-remove-subtree-entries-from-agenda):
28491 Reduce range for marker position checking.
28493 * org-latex.el (org-export-latex-first-lines): Fix bug when
28494 exporting a region.
28496 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28498 * org-exp.el (org-export-push-to-kill-ring): Protect using
28499 x-set-selection, because that does not always work.
28501 * org-agenda.el (org-agenda-list): Apply the new face
28502 `org-agenda-date-today'.
28504 * org-faces.el (org-agenda-date-today): New face.
28506 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28508 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
28509 creating appointments.
28511 * org-latex.el (org-export-latex-low-levels): Fix customization
28514 * org.el (org-priority, org-shiftup, org-shiftdown):
28515 Disable priority commands.
28517 * org-agenda.el (org-agenda-priority): Disable priority commands.
28519 * org.el (org-enable-priority-commands): New option.
28521 * org-colview.el (org-columns-compute)
28522 (org-columns-number-to-string): Fix problems with empty fields.
28524 * org-exp.el (org-export-push-to-kill-ring): New function.
28525 (org-export-copy-to-kill-ring): New option.
28527 * org-latex.el (org-export-as-latex):
28528 Call `org-export-push-to-kill-ring'.
28530 * org-exp.el (org-export-show-temporary-export-buffer):
28533 * org-latex.el (org-export-as-latex):
28534 Use `org-export-show-temporary-export-buffer'.
28536 * org-exp.el (org-export-show-temporary-export-buffer):
28538 (org-export-push-to-kill-ring): New function.
28540 * org-colview.el (org-columns-compile-map): New variable.
28541 (org-columns-new, org-columns-compute)
28542 (org-columns-number-to-string, org-columns-uncompile-format)
28543 (org-columns-compile-format): Implement new operators.
28545 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28547 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
28549 * org-list.el (org-update-checkbox-count): Make property
28552 * org.el (org-hierarchical-todo-statistics): New option.
28553 (org-update-parent-todo-statistics): Modify to handle recursive
28556 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28558 * org-publish.el (org-publish): Make this function behave
28559 correctly in interactive use when called with a prefix argument.
28561 * org.el (org-todo-statistics-hook): New hook.
28562 (org-update-parent-todo-statistics): Use new hook.
28563 (org-log-into-drawer): New function.
28564 (org-add-log-setup): Use the new `org-log-into-drawer' function to
28565 determine if we should be logging into a drawer.
28566 (org-log-into-drawer): Update docstring.
28567 (org-default-properties): Add LOG_INTO_DRAWER as a property.
28569 * org-list.el (org-checkbox-statistics-hook): New hook.
28570 (org-update-checkbox-count-maybe): Use new hook.
28572 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28574 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
28575 better buffer-generating mechanism.
28576 (org-edit-src-find-buffer): New function.
28578 * org-icalendar.el (org-print-icalendar-entries): Don't check for
28579 archive tag, this is already done by `org-agenda-skip'.
28580 data while constructing lost of tags.
28582 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28584 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
28585 as argument separator in macros.
28587 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28589 * org.el (org-after-sorting-entries-or-items-hook): New hook.
28590 (org-sort-entries-or-items): Run the new hook.
28591 (org-after-refile-insert-hook): New hook.
28592 (org-refile): Run `org-after-refile-insert-hook'.
28594 * org-agenda.el (org-agenda-get-progress): Never take time of day
28595 from headline when displaying progress.
28597 * org-latex.el (org-export-latex-complex-heading-re): New variable.
28598 (org-export-as-latex): Force the correct regexp in the
28599 preprocessor buffer.
28600 (org-export-latex-set-initial-vars):
28601 Set `org-export-latex-complex-heading-re'.
28603 * org-agenda.el (org-agenda-start-with-log-mode): New option.
28604 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
28606 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28608 * org-latex.el (org-export-latex-tables-centered): New option.
28609 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
28611 * org-exp.el (org-export-as-org): New command.
28612 (org-export-as-org): New command.
28614 * org-publish.el (org-publish-org-to-org): New function.
28616 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28618 * org.el (org-yank): Just call `org-yank-generic'.
28619 (org-yank-generic): New function, containing the formaer
28620 functionality of `org-yank'.
28622 * org-latex.el (org-export-latex-not-done-keywords)
28623 (org-export-latex-done-keywords): New variables.
28624 (org-export-latex-todo-keyword-markup): New option.
28625 (org-export-latex-set-initial-vars): Remember the TODO keywords.
28626 (org-export-latex-keywords-maybe): Apply the TODO markup.
28628 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28630 * org-exp.el (org-infile-export-plist): Add more default macros.
28631 (org-export-preprocess-apply-macros): Process macro arguments.
28633 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28635 * org-icalendar.el (org-icalendar-include-todo): New allowed value
28637 (org-print-icalendar-entries): Respect the new value of
28638 `org-icalendar-include-todo'.
28640 * org.el (org-link-try-special-completion)
28641 (org-file-complete-link): New functions.
28642 (org-insert-link): Add special completion support for some link
28645 * org-bbdb.el (org-bbdb-complete-link): New function.
28647 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28649 * org-list.el (org-update-checkbox-count): Allow recursive
28651 (org-hierarchical-checkbox-statistics): New option.
28653 * org.el (org-cycle): Remove erraneous space character.
28655 * org-icalendar.el (org-icalendar-timezone): Initialize from
28658 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28660 * org.el (org-autoload): Fix autoloading of ascii export
28662 (org-modules): Add org-special-blocks.
28664 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28666 * org-icalendar.el (org-start-icalendar-file): Use the new option.
28667 (org-ical-timezone): New option.
28669 * org-exp.el (org-export-get-coderef-format): Use the description
28672 * org.el (org-sort-entries-or-items): Improve docstring, and make
28673 better implementation for time sorting.
28675 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28677 * org.el (org-edit-src-persistent-message): New option.
28678 (org-edit-src-code, org-edit-fixed-width-region): Use the new
28681 * org-clock.el (org-clock-insert-selection-line): Fix prefious
28684 * org.el (org-edit-src-code, org-edit-fixed-width-region):
28685 Use separate buffer instead of indirect buffer to edit source code.
28686 (org-edit-src-exit): Make this function work with the new setup.
28688 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
28689 are properly fontified before shown in the selection menu.
28691 * org.el (org-fontify-like-in-org-mode): New function.
28693 * org-latex.el (org-export-latex-links): Use the property list to
28694 retrieve the default image attributes.
28696 * org-exp.el (org-export-plist-vars): Add a new option.
28698 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28700 * org-exp.el (org-export, org-export-visible): Support ASCII
28702 (org-export-normalize-links): Do not protect the description if it
28703 is explicitly given.
28705 * org-list.el (org-reset-checkbox-state-subtree): Move here from
28707 (org-reset-checkbox-state-subtree):
28708 Call `org-reset-checkbox-state-subtree'.
28710 * org-remember.el (org-select-remember-template): For the
28711 selection of a valid template.
28713 * org-latex.el (org-export-region-as-latex): Supply the
28714 force-no-subtree argument.
28715 (org-export-as-latex): Provide better limits when exporting the
28716 first line. When exporting to string, we still want the first
28718 (org-export-latex-first-lines): New argument END, to force the end
28720 (org-export-region-as-latex): Use the property list.
28721 (org-export-as-latex): ????
28723 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28725 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
28726 (org-export-latex-preprocess): Run the new hook.
28728 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
28729 (org-export-preprocess-string): Run the new hook.
28731 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28733 * org-macs.el (org-check-external-command): New defsubst.
28735 * org.el (org-mode-map): New key for reload.
28736 (org-format-latex): Better error message when external programs
28739 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
28741 * org.el (org-sort-entries-or-items): Explicit sorting function
28742 for priorities, needed for XEmacs compatibility.
28744 * org-remember.el (org-remember-apply-template): Improve auto-save
28747 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28749 * org-latex.el (org-export-latex-preprocess): Also protect
28750 environments ending in a star.
28752 * org-list.el (org-at-item-p): Fix regular expression.
28754 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28756 * org.el (org-end-of-subtree): Improve speed.
28758 * org-agenda.el (org-agenda-get-timestamps)
28759 (org-agenda-get-progress, org-agenda-get-deadlines)
28760 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
28761 in particular, wait as long as possible to collect the tags.
28762 (org-stuck-projects): Improve docstring.
28764 * org.el (org-store-link): No errors when getting custom id before
28766 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
28768 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28770 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
28772 * org-protocol.el: Remove dependency on url.el.
28773 (org-protocol-unhex-compound, org-protocol-open-source):
28774 Remove dependency on url.el.
28776 * org-latex.el (org-export-as-pdf):
28777 Use `org-latex-to-pdf-process'.
28779 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28781 * org-latex.el (org-latex-to-pdf-process): New option.
28783 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
28785 (org-agenda-get-timestamps):
28786 Honor `org-agenda-skip-additional-timestamps-same-entry'.
28788 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
28789 (org-clock-goto): Find recent task only if
28790 `org-clock-goto-may-find-recent-task' allows it.
28792 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
28793 drawers, and drawers that are missing the :END: line.
28795 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28797 * org-clock.el (org-clock-goto): Go to recently clocked task if no
28800 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28802 * org.el (org-update-parent-todo-statistics): Check for
28803 STATISTICS_FROM property.
28805 * org-list.el (org-update-checkbox-count): Check for
28806 STATISTICS_FROM property.
28808 * org.el (org-tab-first-hook)
28809 (org-tab-after-check-for-table-hook)
28810 (org-tab-after-check-for-cycling-hook): New hooks.
28811 (org-cycle-internal-global, org-cycle-internal-local):
28812 New functions, split out from `org-cycle'.
28813 (org-cycle): Call the new hooks.
28815 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28817 * org-exp.el (org-export-preprocess-string): Reset the list of
28818 preferred targets for each run of the preprocessor.
28820 * org.el (org-refile-target-verify-function):
28821 Improve documentation.
28822 (org-get-refile-targets): Respect point being moved by the
28823 verification function.
28825 * org-latex.el (org-export-latex-timestamp-keyword-markup):
28827 (org-export-latex-keywords): Use new option.
28829 * org.el (org-rear-nonsticky-at): New defsubst.
28830 (org-activate-plain-links, org-activate-angle-links)
28831 (org-activate-footnote-links, org-activate-bracket-links)
28832 (org-activate-dates, org-activate-target-links)
28833 (org-activate-tags): Place the rear-nonsticky properties at the
28836 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28838 * org-protocol.el (server-edit): Declare `server-edit'.
28839 (org-protocol-unhex-string, org-protocol-unhex-compound):
28841 (org-protocol-check-filename-for-protocol): Call `server-edit'.
28843 * org.el (org-default-properties): New default properteis for
28846 * org-exp.el (org-export-add-subtree-options): Add new properties
28847 for subtree export.
28849 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28851 * org-id.el (org-id-get-with-outline-path-completion): Turn off
28852 org-refile-target-verify-function for the duration of the command.
28854 * org.el (org-link-to-org-use-id): New possible value
28855 `create-if-interactive-and-no-custom-id'.
28856 (org-store-link): Use custom IDs.
28857 (org-link-search): Find custom ID properties from #link.
28858 (org-default-properties): Add CUSTOM_ID for property completion.
28859 (org-refile-target-verify-function): New option.
28860 (org-goto): Turn off org-refile-target-verify-function
28861 for the duration of the command.
28863 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28865 * org-exp.el (org-export-preferred-target-alist): New variable.
28866 (org-export-define-heading-targets): Find the new CUSTOM_ID
28868 (org-export-target-internal-links): Target the custom ids when
28871 * org-latex.el (org-export-latex-preprocess): Better regexp for
28872 matching latex macros with arguments.
28874 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28876 * org-remember.el (org-remember-handler): Allow filing to non-org
28879 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
28881 * org-table.el (org-table-fix-formulas): Do not change references
28883 (org-table-get-remote-range): Convert standard coordinates to RC
28886 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
28888 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28890 * org-compat.el (org-sha1-string): Function removed.
28892 * org.el (org-refile-allow-creating-parent-nodes): New option.
28893 (org-refile-get-location): New argument NEW-NODES.
28894 (org-refile): Call `org-refile-get-location' with the new
28896 (org-refile-get-location): Arrange for adding a new child.
28897 (org-refile-new-child): New function.
28899 * org-clock.el: Fix a number of docstrings.
28900 (org-clock-find-position): New argument
28901 FIND-UNCLOSED to make the function find an unclosed clock in the
28903 (org-clock-in): Call `org-clock-find-position' with the new
28904 argument if we might be resuming a clock.
28906 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28908 * org-latex.el (org-export-latex-display-custom-times): New variable.
28909 (org-export-latex-timestamp-markup): New option.
28910 (org-export-latex-set-initial-vars): Remember the local value of
28911 `org-display-custom-times'.
28912 (org-export-latex-content): Process time stamps.
28913 (org-export-latex-time-stamps): New function.
28915 * org-macs.el (org-maybe-intangible): Add intangible property
28916 again to invisible text.
28918 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28920 * org-exp.el (org-default-export-plist): Handle undefined
28923 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28925 * org.el (org-sort-entries-or-items): Match TODO keywords
28926 case-sensitively, when sorting.
28927 (org-priority): Do not match TODO keywords with wrong case.
28929 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28931 * org.el (org-todo): Honor the NOBLOCKING property.
28933 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
28934 NOBLOCKING property.
28936 * org.el (org-scan-tags): Fix bug in tag scanner.
28938 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28940 * org.el (org-modules): Mark obsolete packages.
28942 * org-html.el: New file, split out from org-exp.el.
28944 * org-icalendar.el: New file, split out from org-exp.el.
28946 * org-xoxo.el: New file, split out from org-exp.el.
28948 * org-ascii.el: New file, split out from org-exp.el.
28950 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28952 * org-compat.el (org-find-library-name): New function.
28954 * org.el (org-pre-cycle-hook): New hook.
28955 (org-cycle): Call the new hook in appropriate places.
28956 (org-reload): Only reload files that have been loaded before.
28958 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28960 * org.el (org-set-font-lock-defaults): Enforxe space or line end
28961 after todo keyword.
28962 (org-todo): When changing TODO state, do matching
28964 (org-map-continue-from): New variable.
28965 (org-scan-tags): Respect values in `org-map-continue-from'.
28966 (org-reload): Make XEmacs compatible.
28968 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28970 * org-protocol.el (org-protocol-flatten-greedy): New function.
28971 (org-protocol-flatten): New function.
28973 * org.el (org-open-link-from-string): Pass reference buffer to
28974 `org-open-at-point'.
28975 (org-open-at-point): New optional argument `reference-buffer'.
28977 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28979 * org.el (org-scan-tags): Make tag scan find headline in first
28981 (org-get-refile-targets): Add the naked file name.
28982 (org-refile): Store as top-level entry when only file name was
28985 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
28987 * org.el (org-block-todo-from-children-or-siblings-or-parent):
28988 Rename from org-block-todo-from-children-or-siblings, and
28989 enhanced to look for the parent's status as well.
28991 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
28992 (org-agenda-get-progress): Add first notes line to log entry if so
28995 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28997 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
28998 (org-agenda-cleanup-fancy-diary): Call the new hook.
29000 * org-remember.el (org-remember-apply-template): Take the default
29001 for the annotation from the :annotation property.
29003 * org-mac-message.el (org-mac-message-get-link): Remove the
29005 (org-mac-message-get-link): Return the result.
29007 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29009 * org.el (org-refile-get-location): Add file name only if not
29010 already included in outline path.
29012 * org-faces.el (org-n-level-faces): Fix customization type from
29015 * org-exp.el (org-export-headline-levels): Fix customization type
29016 from number to integer.
29018 * org-agenda.el (org-agenda-confirm-kill)
29019 (org-agenda-custom-commands-local-options)
29020 (org-timeline-show-empty-dates, org-agenda-ndays)
29021 (org-agenda-start-on-weekday, org-scheduled-past-days):
29022 Fix customization type from number to integer.
29024 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29026 * org-protocol.el: Declare some functions.
29028 * org-agenda.el (org-agenda-compare-effort):
29029 Honor `org-sort-agenda-noeffort-is-high'.
29030 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29031 (org-agenda-compare-effort): Implement the "?" operator for
29032 finding entries without effort setting.
29034 * org.el (org-extract-attributes-from-string): New function.
29036 * org-exp.el (org-export-splice-attributes): New function.
29038 2009-08-06 Bastien Guerry <bzg@gnu.org>
29039 Daniel M German <dmg@uvic.org>
29040 Sebastian Rose <sebastian_rose@gmx.de>
29041 Ross Patterson <me@rpatterson.net>
29043 * org-protocol.el: New file.
29045 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
29047 * org-docbook.el: New file.
29049 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29051 * org-mouse.el: XEmacs compatibility fixes.
29053 * org.el (org-modules): Add org-inlinetasks.el.
29054 (org-cycle): Implement limiting level on cycling.
29055 (org-move-subtree-down): Fix bug with swapping subtrees at end of
29058 * org-inlinetask.el: New file.
29060 * org.el (org-emphasis-regexp-components): Allow braces in
29061 emphasis pre and post match.
29063 * org-footnote.el (org-footnote-normalize): When only sorting, do
29064 not insert inline notes at the end.
29066 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29068 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29070 * org.el (org-reftex-citation): New command.
29072 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29074 * org-agenda.el (org-agenda-cmp-user-defined): New option.
29075 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29077 (org-entries-lessp): Apply the new sorting option.
29079 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29080 blocker code, when an older sibling has children.
29082 * org-mac-message.el (org-mac-message-get-link): Improve getting
29083 links from multiple selected messages.
29085 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29087 * org-remember.el (org-remember-finalize): Do not set buffer file
29089 (org-remember-handler): Mark buffer as unmodified.
29090 (org-remember-handler): Delete backup file and show message about
29091 remaining backup files.
29092 (org-remember-auto-remove-backup-files): New option.
29094 * org.el (org-store-link): Use buffer name as link description in
29096 (org-ido-switchb): Fix argument bug for completion.
29098 * org-remember.el (org-remember-apply-template): Set local
29099 variable `auto-save-visited-file-name' instead of global one.
29101 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29103 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29104 (org-agenda-get-todos): Mark file tags as inherited.
29105 (org-agenda-list): Always search diary lines for a time.
29107 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29109 * org-feed.el: New file.
29111 * org-exp.el (org-export-as-html): Close local lists depending on
29112 indentation, also when starting a table.
29114 * org-remember.el (org-remember-backup-directory)
29115 (org-remember-backup-name): New internal variable.
29117 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29119 * org-clock.el (org-clock-out-if-current): Make buffer detection
29120 work in indirect buffers as well.
29122 * org.el (org-emphasis-regexp-components): Add the exxclamation
29123 mark to the post-emphasis characters.
29125 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29127 * org.el (org-read-date-minibiffer-septup-hook): New hook.
29128 (org-read-date): Run the new hook.
29130 * org-mac-message.el (org-mac-flagged-mail): New group.
29131 (org-mac-mail-account): New variable.
29132 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29135 * org-remember.el (org-remember-backup-directory): New variable.
29136 (org-remember-apply-template): Write file to backup directory.
29138 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29140 * org-mouse.el (org-mouse-todo-menu): New function.
29141 (org-mouse-todo-keywords): Function removed.
29142 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29144 * org-table.el (org-table-beginning-of-field)
29145 (org-table-end-of-field): New commands.
29146 (org-table-previous-field, org-table-beginning-of-field):
29147 Better error messages.
29148 (orgtbl-setup): Include `M-a' and `M-e'.
29150 * org.el (org-backward-sentence, org-forward-sentence):
29153 * org-colview.el (org-colview-initial-truncate-line-value):
29155 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29156 (org-columns): Remember the value of `truncate-lines'.
29158 * org.el (org-columns-skip-arrchived-trees): New option.
29160 * org-agenda.el (org-agenda-export-html-style): Define color for
29161 org-agenda-done face.
29162 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29163 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29165 * org.el (org-scan-tags): Use the new face.
29167 * org-faces.el (org-agenda-done): New face.
29169 * org.el (org-scan-tags): Test the value org
29170 `org-tags-match-list-sublevels'.
29171 (org-tags-match-list-sublevels): New allowed value: indented.
29173 * org-latex.el (org-export-latex-make-header): Apply macros
29176 * org-exp.el (org-export-apply-macros-in-string): New function.
29178 * org-latex.el (org-export-latex-list-parameters): Fix bug
29179 with the definition of a checked box.
29181 * org-clock.el (org-clock-find-position): Fix drawer indentations.
29183 * org-latex.el (org-export-latex-low-levels): More options
29184 for how to process lower levels in LaTeX.
29185 (org-export-latex-subcontent): Better treatment for lists as a
29186 means of publishing lower levels.
29188 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29190 * org.el (org-set-font-lock-defaults): Use new checkbox face.
29192 * org-faces.el (org-checkbox): New face.
29194 * org-exp.el (org-export-html-preprocess): Only create LaTeX
29195 fragement images if there is an export file.
29197 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29199 * org-agenda.el (org-stuck-projects): Document that the subtree of
29200 projects that are not stuck will now be searched for stuck
29202 (org-agenda-skip-entry-when-regexp-matches)
29203 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29204 (org-agenda-list-stuck-projects):
29205 Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29207 * org-latex.el (org-export-latex-preprocess):
29208 Improve export of verses.
29210 * org-exp.el (org-export-as-html): Implement centering as a div
29211 rather than a paragraph. Do a better job with line-end in verse
29214 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29216 * org.el (org-open-at-point): Fix tags searches by mouse click.
29218 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29220 * org-latex.el (org-export-latex-preprocess): Implement the
29223 * org-exp.el (org-export-mark-blockquote-verse-center):
29224 Rename from `org-export-mark-blockquote-and-verse'.
29225 (org-export-as-html): Implement the centering markup.
29227 * org-latex.el (org-export-latex-tables): Fix vertical
29230 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29232 * org.el (org-read-date-history): New variable.
29233 (org-read-date): Use new history variable.
29234 (org-toggle-heading): Fix bug when used before first headline.
29235 (org-store-log-note): Remove drawer if empty while note is
29237 (org-remove-empty-drawer-at): New function.
29238 (org-check-after-date): New command.
29239 (org-sparse-tree): New sparse tree command "a".
29241 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29243 2009-08-06 Bastien Guerry <bzg@gnu.org>
29245 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29246 column and a space, not only a column.
29248 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29250 * org-latex.el (org-export-latex-emphasis-alist):
29251 Better defaults for verbose emphasis.
29252 (org-export-latex-emph-format): New function.
29253 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29255 * org-agenda.el (org-agenda-menu): Add new commands to menu.
29256 (org-agenda-do-date-later, org-agenda-do-date-earlier)
29257 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29258 (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29261 * org.el (org-timestamp-change): Move end-time along with start
29264 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29266 * org-exp.el (org-export-target-internal-links)
29267 (org-export-as-html): Protect links specified as #name.
29269 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29271 * org.el (org-clone-subtree-with-time-shift): New command.
29273 * org-latex.el (org-export-latex-special-chars)
29274 (org-export-latex-treat-sub-super-char): Fix subscript export.
29276 * org-exp.el (org-create-multibrace-regexp): Do not add
29277 backslashes to the class.
29279 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29281 * org-colview.el (org-columns-map): Better functions for moving up
29282 and down a row, even if `truncate-line' is nil.
29284 * org.el (org-insert-todo-heading): Make sure the keyword is
29285 inserted at the correct position.
29287 * org-publish.el (org-publish-project-alist)
29288 (org-publish-projects, org-publish-org-index): Change default anme
29289 for the index of file names to "sitemap.org".
29291 * org-latex.el (org-export-latex-tables):
29292 Use `org-split-string', for Emacs 21 compatibility.
29294 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29296 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29298 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29300 * org-exp.el (org-export-page-description)
29301 (org-export-page-keywords): New variables.
29302 (org-export-plist-vars): Add entries for :keywords and
29304 (org-infile-export-plist): Parse for new keywords.
29305 (org-get-current-options): Add new keywords.
29306 (org-export-as-html): Publish description and keywords.
29308 * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29310 (org-agenda-add-entry-text):
29311 Honor `org-agenda-add-entry-text-descriptive-links'.
29313 * org-latex.el (org-export-latex-preprocess): Make all
29314 external preprocess functions use a PARAMETER arg.
29316 * org-exp.el (org-export-preprocess-string)
29317 (org-export-select-backend-specific-text)
29318 (org-export-format-source-code-or-example)
29319 (org-format-org-table-html): Support docbook export.
29320 (org-export-preprocess-string): Make all external preprocess
29321 functions use a PARAMETER arg.
29323 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29325 * org-exp.el (org-export-html-style-include-scripts): New option.
29326 (org-export-plist-vars): Add new option
29327 `org-export-html-style-include-scripts'.
29328 (org-export-as-html): Honor new option
29329 `org-export-html-style-include-scripts'.
29330 (org-export-html-scripts, org-export-html-style-default):
29331 Fix xml issues with the Safari browser.
29333 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29335 * org-publish.el (org-publish-attachment): Only copy file when the
29336 directories differ.
29338 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29340 * org-clock.el (org-clocktable-steps): Use inactive time stamps
29341 for clocktable steps.
29343 * org.el (org-additional-option-like-keywords): Add two more
29346 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29348 * org-exp.el (org-export-format-source-code-or-example):
29349 Mark temporary buffer unmodified, so that it will be killed even if
29350 mode like message mode has decided to assign a file name.
29352 * org.el (org-scan-tags): Improve tag inheritance.
29353 (org-scan-tags, org-make-tags-matcher): Make tag comparison
29355 (org-scan-tags): Use the internal tags list instead of creating it
29357 (org-trust-scanner-tags, org-scanner-tags): New variables.
29358 (org-scan-tags): Set `org-scanner-tags'.
29359 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
29360 (org-map-entries): Document the possible speedup using scanner
29363 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29365 * org.el (org-add-planning-info): Fix bug with looking for keyword
29368 * org-agenda.el (org-agenda-custom-commands-local-options):
29369 Add option for tags filter preset.
29370 (org-prepare-agenda): Store filter preset as a property on the
29372 (org-finalize-agenda): Call the filter, if there is a preset.
29373 (org-agenda-filter-by-tag): Filter again after clearing the
29374 filter, when there still is a preset.
29375 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
29376 Include the preset filter.
29377 (org-agenda-redo): Apply the filter again, also the preset filter.
29379 * org-exp.el (org-export-as-html): Use IDs in the correct way.
29381 * org.el (org-uuidgen-p): New function.
29383 * org-agenda.el (org-agenda-fontify-priorities): New default value
29385 (org-agenda-fontify-priorities): Rename from
29386 org-fontify-priorities.
29388 * org.el (org-set-font-lock-defaults):
29389 Call `org-font-lock-add-priority-faces'.
29390 (org-font-lock-add-priority-faces): New function.
29392 * org-faces.el (org-set-tag-faces): New option.
29393 (org-priority-faces): New variable.
29395 * org-exp.el (org-export-as-html): Add a "content" div around the
29396 entire content of the body tag.
29397 (org-export-html-get-bibliography): New function.
29398 (org-export-html-validation-link): New variable.
29399 (org-export-as-html): Add validation link to exported page.
29401 * org.el (org-match-sparse-tree): Rename from
29402 `org-tags-sparse-tree'.
29403 (org-tags-sparse-tree): New alias.
29405 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29407 * org.el (org-get-valid-level): Catch the case where the level
29410 * org-clock.el (org-clock-find-position): Better indentation of
29413 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29415 * org-agenda.el (org-agenda-quit): Delete window only when the
29416 frame-setup was not `current-window'.
29418 * org.el (org-tag-persistent-alist): New option.
29419 (org-startup-options): Add keyword `noptag'.
29420 (org-fast-todo-selection): Handle :newline correctly.
29421 (org-set-tags): Handle :newline correctly.
29422 (org-fast-tag-selection): Handle :newline correctly.
29424 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29426 * org-exp.el (org-export-as-ascii): Reverse link buffer before
29428 (org-export-ascii-push-links): Fix bug with pussing links into the
29431 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29433 * org-archive.el (org-archive-subtree): Do not add 1 to level if
29434 pasting at top level.
29436 * org-bbdb.el: Improve documentation.
29438 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29440 * org-list.el (org-insert-item): Only consider insert empty lines
29441 is `org-empty-line-terminates-plain-lists' is not nil.
29443 * org.el (org-blank-before-new-entry): Mention the dependence on
29444 `org-empty-line-terminates-plain-lists' in the docstring.
29446 * org-publish.el (org-publish-get-project-from-filename):
29447 New optional argument UP. Only find the top project if UP is set.
29448 (org-publish-current-project): Find the top encloding project.
29450 * org-agenda.el (org-agenda-before-write-hook)
29451 (org-agenda-add-entry-text-maxlines): New options.
29452 (org-write-agenda): Run the new hook in the temporary buffer.
29453 (org-agenda-add-entry-text): New function.
29454 (org-write-agenda): Implement PDF export, using ps2pdf.
29456 * org.el (org-global-properties-fixed, org-global-properties):
29457 Improve documentation string.
29459 * org-exp.el (org-export-ascii-links-to-notes): New option.
29460 (org-export-as-ascii): Handle links better.
29461 (org-export-ascii-wrap, org-export-ascii-push-links):
29464 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29466 * org-agenda.el (org-agenda): Make prefix arg optional.
29467 (org-agenda-search-headline-for-time): New option.
29468 (org-format-agenda-item):
29469 Honor `org-agenda-search-headline-for-time'.
29471 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
29474 * org.el (org-self-insert-cluster-for-undo): New option.
29475 (org-self-insert-command): Cluster undo for 20 characters.
29476 (org-self-insert-command-undo-counter): New variable.
29478 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29480 * org-exp.el (org-export-as-html): Fix problem with closing colone
29483 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29485 * org-latex.el (org-export-as-latex)
29486 (org-export-latex-first-lines): Avoid modification flag when
29487 adding or removing text properties.
29488 (org-export-latex-fontify): Catch error when org-emph-alist has
29489 entries that are not defined for LaTeX export.
29491 * org-export-latex.el: Rename to org-latex.el.
29493 * org-latex.el: Rename from org-export-latex.el.
29495 * org.el (orgstruct++-mode): New function.
29496 (turn-on-orgstruct++): Call `orgstruct++-mode'.
29497 (org-context-p): Allow detecting item context after the first line
29499 (orgstruct-make-binding): Detect if item-body context should be
29501 (orgstruct-is-++): New variable.
29502 (org-add-planning-info): Catch the case when there is no planning
29503 info yet and the call does not want to add anything, only maybe
29504 tries to remove something.
29505 (org-special-ctrl-a/e): All value to be a cons cell with separate
29506 settings for `C-a' and `C-e'.
29507 (org-beginning-of-line, org-end-of-line): Honor separate values
29508 for `C-a' and `C-e'.
29510 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
29512 * org.el (org-reload): New command.
29514 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
29516 * org-gnus.el (org-gnus-store-link): Fix bug where
29517 org-gnus-store-link used wrong subject when called in an article
29518 buffer. Patch provided by fengli AT gmail DOT com.
29520 2009-03-13 D. Goel <deego3@gmail.com>
29522 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
29523 replace ls by (values-list ls).
29525 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
29527 * org-remember.el (org-remember-apply-template): Turn off ido for
29530 * org.el (org-priority): Also find invisible headings, for remote
29532 (org-completing-read-no-ido): New function.
29533 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
29535 * org-colview.el (org-columns-edit-value): No special treatment of
29538 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
29540 * org.el (org-block-todo-from-children-or-siblings):
29541 Use `org-up-heading-all' so that this will work correctly with hidden
29542 property drawers and entries.
29543 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
29544 falling back to normal, default command.
29545 (org-get-location): Temporarily turn off special behavior.
29547 2009-02-13 Glenn Morris <rgm@gnu.org>
29549 * org-rmail.el (rmail-show-message): Restore argument list to the
29550 declaration now that this functions behaves in Emacs 23 as in 22.
29552 2009-02-12 Glenn Morris <rgm@gnu.org>
29554 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
29556 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
29558 * org-footnote.el (org-footnote-action): Fix doc typo.
29560 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
29562 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
29563 text before first headline.
29564 (org-export-remove-or-extract-drawers): Fix regular expression for
29565 extracting drawers.
29567 * org.el (org-format-latex): Stop LaTeX fragment processing in
29568 protected examples.
29570 2009-02-05 Glenn Morris <rgm@gnu.org>
29572 * org-rmail.el (rmail-show-message): Update declaration.
29573 (rmail-buffer, rmail-view-buffer): Declare.
29574 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
29576 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
29578 * org.el (org-return-follows-link): Revert setting
29579 `org-return-follows-link' to t by default.
29581 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
29583 * org.el (org-cycle-global-at-bob): Fix typo.
29585 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
29587 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
29589 * org.el (org-mode): Make dependence stuff work more reliably.
29590 (org-update-parent-todo-statistics): Fix bug with updating
29592 (org-yank-adjusted-subtrees, org-return-follows-link)
29593 (org-use-fast-todo-selection, org-tags-column): New default
29594 setting for variables.
29596 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
29597 ~ as verbatim delimiters, to avoid table bug.
29598 (org-export-latex-classes): Remove the a4paper option from the
29601 * org-exp.el (org-export-html-format-image): New argument
29602 PAR-OPEN, to fix XHTM validation bug.
29603 (org-export-as-html): Pass par-open to
29604 `org-export-html-format-image'.
29605 (org-export-html-footnotes-section): Use a more consistent id for
29608 * org-agenda.el (org-agenda-sorting-strategy)
29609 (org-agenda-tags-column): New default setting for variables, based
29610 on a poll what typical uses use.
29611 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
29612 setting the blocked tag.
29614 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
29616 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
29617 only checking for blocks.
29619 * org-exp.el (org-export-html-footnotes-section): Make the div id
29622 * org-export-latex.el (org-export-latex-classes):
29623 Remove paper size option from LaTeX classes.
29625 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
29627 * org.el (org-enforce-todo-checkbox-dependencies): New option.
29628 (org-block-todo-from-checkboxes): New function.
29629 (org-todo): Make triple prefix arg circumvent blocking.
29631 2009-01-30 Glenn Morris <rgm@gnu.org>
29633 * org-list.el (org-empty-line-terminates-plain-lists)
29634 (org-toggle-checkbox): Doc fixes.
29636 * org-table.el (org-table-clean-before-export): Fix declaration.
29638 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
29640 * org-timer.el (org-timer): Provide the timer feature.
29642 * org.el (org-require-autoloaded-modules): Add a few more files to
29643 the list of autoloaded modules.
29645 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
29647 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
29648 drawers that are unprotected.
29649 (org-export-html-format-image): Make sure inlined LaTeX fragment
29650 images remain inlined.
29652 * org.el (org-toggle-ordered-property): New function.
29653 (org-mode-map): Add a key for `org-toggle-ordered-property'.
29654 (org-org-menu): Add menu entries for TODO dependencies.
29656 * org.el (org-default-properties): Add ORDERED to the default
29657 properties, to get completion support for it.
29659 * org-list.el (org-update-checkbox-count): Update more than one cookie.
29661 * org.el (org-update-parent-todo-statistics): Update more than one
29664 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
29666 * org-agenda.el (org-agenda-get-todos): Start search from correct
29669 * org.el (org-fast-todo-selection): Make sure TODO selection does
29670 not change buffer position.
29672 * org-list.el (org-toggle-checkbox): Implement adding or removing
29673 checkboxes from line or region when called with a prefix
29676 * org-rmail.el (org-rmail-store-link): Protect the call to
29677 `rmail-narrow-to-non-pruned-header'.
29679 * org-clock.el (org-clock-special-range): Fix week display in
29682 * org-exp.el (org-get-current-options): Fix bug when in indirect
29685 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
29686 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
29687 (org-agenda-dim-blocked-tasks): New function.
29689 * org.el (org-enforce-todo-dependencies): New option.
29690 (org-block-todo-from-children-or-siblings): New function.
29692 * org-faces.el (org-agenda-dimmed-todo-face): New face.
29694 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
29696 * org.el (org-todo): Return correct state type even if the blocker
29698 (org-modifier-cursor-error): Rename from
29699 `org-shiftcursor-error'.
29700 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
29701 (org-shiftmetadown): Call `org-modifier-cursor-error'.
29703 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
29704 to get real errors from the blocker hook.
29706 * org.el (org-shiftselect-error, org-call-for-shift-select):
29708 (org-set-visibility-according-to-property): Turn off the setting
29709 of `org-show-entry-below', to avoid overruling a FOLDED visibility
29712 * org.el (org-support-shift-select): New option.
29713 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
29714 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
29715 selection outside contexts.
29717 * org-list.el (org-at-item-bullet-p): New function.
29719 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
29722 * org-footnote.el (org-footnote-normalize): Remove unnecessary
29724 (org-insert-footnote-reference-near-definition):
29725 Remove unnecessary let form.
29727 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
29729 * org-export-latex.el (org-export-as-latex):
29730 Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
29731 (org-export-latex-first-lines): New parameter OPT-PLIST.
29733 * org.el (org-yank): Tell `delete-selection-mode' about
29736 * org-faces.el (org-clock-overlay): Fix face definition.
29738 * org-export-latex.el (org-export-latex-first-lines):
29739 Pass timestamp and footnote parameters to the preprocessor.
29741 * org-exp.el (org-export-remove-timestamps): Do not remove time
29742 stamps inside tables.
29744 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29746 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
29748 * org.el (org-agenda-tags-todo-honor-ignore-options):
29751 * org-table.el (org-table-insert-hline): Fix typo in function call
29752 to `backward-char'.
29754 * org-exp.el (org-export-as-html): Remove the initial space from
29757 * org.el (org-scan-tags):
29758 Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
29760 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
29761 New customization groups.
29762 (org-agenda-tags-todo-honor-ignore-options): New option.
29763 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
29765 (org-agenda-get-todos):
29766 Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
29768 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29770 * org-exp.el (org-export-format-source-code-or-example):
29771 Escape HTML characters also in examples that anre not treated with
29772 htmlize. Also, just switch to EXAMPLE processing if we do not
29773 have a good version of htmlize.
29775 * org-rmail.el: Fix copyright notice.
29777 * org.el (org-activate-footnote-links): Improve footnote link
29780 * org-footnote.el (org-footnote-normalize): Fix finding the end of
29781 a footnote definition at the end of the file.
29783 * org-table.el (org-table-get-specials): Add an imagined hline at
29784 the end of the table. This can be useful for references that want
29785 to go to the end of the table. Also fix bug when computing last
29786 row constants, in tables that do not start right at the right
29788 (org-table-eval-formula): Match and replace remove references.
29789 (org-table-formula-substitute-names): Make sure that names inside
29790 a "remote" call are left alone, the will be replaced later when
29791 the remote call is handled.
29792 (org-table-convert-refs-to-rc): Do not convert things that might
29793 look like a reference, but are really part of an ID or namei n a
29795 (org-table-get-remote-range): New function.
29797 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29799 * org-faces.el (org-clock-overlay): Fix bug in face definition.
29801 * org-clock.el (org-clock-put-overlay): Use new face instead of
29802 `secondary-selection'.
29804 * org-faces.el (org-clock-overlay): New face.
29806 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29808 * org-exp.el (org-get-current-options): Include the option for
29809 publishing time stamps.
29811 * org.el (org-toggle-heading): Rename from
29812 `org-toggel-region-headings'.
29813 No longer needs a region defined, but will use it if there is one.
29814 (org-ctrl-c-star): Simplify, relying more on the internal
29815 workings of `org-toggle-heading'.
29816 (org-toggle-item): Rename from `org-toggle-region-items'.
29817 No longer needs a region defined, but will use it if there is one.
29818 (org-ctrl-c-minus): Simplify, relying more on the inernal
29819 workings of `org-toggle-item'.
29821 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
29822 environment detection. Also, do real changes only in unprotected
29825 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29827 * org-export-latex.el (org-export-latex-quotation-marks):
29828 Use `org-if-unprotected-1'.
29829 (org-export-latex-set-initial-vars): Check for class definition in
29832 * org-macs.el (org-if-unprotected-1): New macro.
29834 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29836 * org-compat.el (org-count-lines): New function.
29838 * org-exp.el (org-export-format-source-code-or-example):
29839 Handle switches related to text areas.
29841 * org.el (org-activate-footnote-links): Don't allow match inside a
29844 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
29846 * org-export-latex.el (org-export-latex-links): Keep a relative
29847 path relative also after export.
29849 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
29851 * org.el (org-make-tags-matcher): Never use IDO for completing the
29852 tags matcher match string.
29853 (org-completing-read): Also remove the special biding for "?".
29855 * org-attach.el (org-attach-allow-inheritance): New option.
29856 (org-attach-inherited): New variable.
29857 (org-attach-dir): Handle properties related to the attachment
29859 (org-attach-check-absolute-path): New function.
29860 (org-attach-set-directory, org-attach-set-inherit): New commands.
29861 (org-attach): Accommodate the new commands in the dispatcher.
29863 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29865 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
29866 `window-full-width-p'.
29868 * org-exp.el (org-export-as-html): Only check for images files
29869 that really can be inlined.
29871 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
29872 list of extensions to be a parameter.
29874 * org-exp.el (org-export-html-inline-image-extensions):
29877 * org-agenda.el (org-prepare-agenda):
29878 Use `org-agenda-block-separator'.
29879 (org-agenda-block-separator): New option.
29881 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29883 * org-export-latex.el (org-export-latex-tables):
29884 Call `org-table-clean-before-export' with the new optional argument.
29886 * org-exp.el (org-table-clean-before-export): New optional
29887 parameter MAYBE-QUOTED, allows for quoted characters like \# in
29890 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29892 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
29895 * org-colview.el (org-colview-construct-allowed-dates):
29896 Better error catching when a date/time property does not have allowed
29899 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29901 * org.el (org-map-entries): Restore point and restriction after
29904 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29906 * org.el (org-time=, org-time<, org-time<=, org-time>)
29907 (org-time>=, org-time<>): Make sure both values are dates.
29909 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29911 * org-archive.el (org-extract-archive-heading): Allow %s for file
29912 name also in achive location heading.
29914 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29916 * org-archive.el (org-add-archive-files): Uniquify the list before
29919 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29921 * org-compat.el (org-fit-window-to-buffer):
29922 Use `window-full-width-p'.
29924 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
29925 space after the colon in short examples.
29927 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
29928 enforce a space after the colon. However, we also allow lines
29929 that are *only* a colon.
29930 (org-export-as-html): Enforce the space after the colon in short
29932 (org-export-preprocess-string): Do the colon example protection
29934 (org-export-remove-timestamps): Do not check for protection at the
29937 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29939 * org.el (org-format-latex-options): Add new matcher for single
29940 letters between dollars.
29941 (org-get-header): Function removed.
29942 (org-heading-components): New function.
29944 * org-exp.el (org-export-define-heading-targets): Record ID's also
29945 as alternative targets.
29946 (org-export-as-html): Interpret "id:" links to other files by
29947 preserving the relative path.
29949 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
29952 * org-exp.el (org-export-normalize-links): Protect the main link,
29953 to avoid special character processing.
29955 * org-export-latex.el (org-export-latex-special-keyword-regexp):
29957 (org-export-latex-special-string-regexps): Variable removed.
29958 (org-export-latex-keywords): Use the new regexp.
29960 * org-exp.el (org-export-handle-include-files): Fetch switches and
29961 put them into the BEGIN statement.
29963 * org-timer.el (org-timer-mode-line-string): New variable.
29965 * org-clock.el (org-clock-mode-line-map): Rename from
29966 `org-clock-mode-map'.
29967 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
29968 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
29969 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
29970 (org-clock-remove-overlays): Rename from
29971 `org-remove-clock-overlays'.
29973 * org-timer.el (org-timer-pause-or-continue): Implement stopping
29974 and mode line display.
29975 (org-timer-stop): New command.
29976 (org-timer-seconds): Return correct time when timer is paused.
29977 (org-timer-mode-line-timer): New variable.
29978 (org-timer-set-mode-line, org-timer-update-mode-line):
29981 * org.el (org-insert-heading): Handle new value `auto' for
29982 `org-blank-before-new-entry'.
29983 (org-org-menu): Add new items for timer functions.
29985 * org-list.el (org-insert-item): Handle new value `auto' for
29986 `org-blank-before-new-entry'.
29988 * org.el (org-blank-before-new-entry): New value `auto', made
29991 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29993 * org-exp.el (org-export-normalize-links): If the link is also
29994 used as the description, protect the description.
29996 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29998 * org.el (org-closest-date): Fix bug with yearly repeats, in
29999 combination with preference of the past as it is used for deadline
30000 and scheduling search.
30002 * org-exp.el (org-html-handle-time-stamps): No longer check for
30003 the `org-export-with-timestamps' option, because the preprocesser
30004 has taken care of this already.
30006 * org.el (org-entry-properties): Catch the case when this is
30007 called in a non-org-mode file.
30009 * org-export-latex.el (org-export-latex-remove-from-headlines):
30010 Variable made obsolete, also LaTeX export now uses the standard
30012 (org-export-as-latex): Add the timestamps parameter to the
30013 preprocessor parameter list.
30014 (org-export-latex-content): Export the remaining keywords without
30015 considering to remove them.
30016 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30017 Use bold font instead of tt font for the keywords.
30018 (org-export-latex-fontify-headline): Format headlines, assuming
30019 that all keywords still present should be published.
30020 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30021 publish what ever remains of the time stamps.
30022 (org-export-latex-list-parameters): New option.
30023 (org-export-latex-lists): Pass additional parameters to the list
30026 * org-exp.el (org-export-preprocess-string): Remove clock lines
30027 and timestamps already in the preprocesor.
30028 (org-export-remove-timestamps, org-export-remove-clock-lines):
30030 (org-export-as-ascii, org-export-as-html): Add the timestamps
30031 parameter to the preprocessor parameter list.
30033 * org-list.el (org-list-parse-list): Parse for checkboxes.
30034 (org-list-to-generic): Introduce and handle new parameters :cbon
30036 (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30037 Add optional parameter PARAMS.
30039 * org-export-latex.el (org-export-latex-special-chars):
30040 Fix problems with interpreting dollar signs.
30041 (org-inside-latex-math-p): New function.
30042 (org-export-latex-preprocess): Protect all the math fragments.
30044 * org.el (org-latex-regexps): Allow a dash after a dollar.
30046 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30047 mark after copying.
30049 * org-agenda.el (org-run-agenda-series): Have series options set
30050 when finalizing the agenda.
30052 * org-exp.el (org-export-format-source-code-or-example):
30053 Protect the converted examples.
30055 * org.el (org-set-regexps-and-options): Fix the regexp
30056 `org-complex-heading-regexp'.
30058 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30060 * org.el (org-edit-src-get-label-format): New function.
30061 (org-coderef-label-format): New option.
30062 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30063 a label format specification and make sure it is used in the edit
30065 (org-edit-src-get-label-format): New function.
30066 (org-store-link): Handle new coderef formats.
30067 (org-link-search): Handle new coderef formats.
30069 * org-footnote.el (org-footnote-create-definition)
30070 (org-footnote-goto-local-insertion-point): Make footnote insertion
30071 work correctly when the "Footnotes" headline is the last line in
30074 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30077 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30079 * org-w3m.el (org-w3m): New customization group.
30080 (org-w3m-deactivate-mark): New option.
30081 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30084 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30086 * org.el (org-set-font-lock-defaults): Trigger footnote
30088 (org-activate-footnote-links): New function.
30089 (org-activate-links): New entry `footnote'.
30091 * org-faces.el (org-footnote): New face.
30093 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30095 * org-macs.el (org-re): Handle the [:word:] class.
30097 * org-exp.el (org-export-preprocess-string):
30098 Call `org-export-protect-colon-examples'.
30099 (org-export-protect-colon-examples): Rename from
30100 `org-export-protect-examples', and scope limited to lines starting
30103 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30105 * org-exp.el (org-export-preprocess-string): Move the preprocess
30106 hook to after turning on Org-mode.
30107 (org-export-preprocess-after-include-files-hook)
30108 (org-export-preprocess-after-tree-selection-hook)
30109 (org-export-preprocess-before-backend-specifics-hook)
30110 (org-export-preprocess-final-hook): New hooks.
30111 (org-export-preprocess-string): Run the new hooks.
30113 * org.el (org-ctrl-c-minus): Fix indentation for new items.
30115 * org-footnote.el: New file.
30117 * org.el (org-footnote): Require footnote code.
30118 (org-startup-options): Add new footnote options.
30119 (org-mode-map): New keybindig for footnotes.
30120 (org-ctrl-c-ctrl-c): Add function at footnotes.
30121 (org-org-menu): New menu entries for footnotes.
30123 * org-export-latex.el (org-export-as-latex): Pass footnote
30124 variable to preprocessor.
30125 (org-export-latex-preprocess): Treat multiple references to a
30128 * org-exp.el (org-export-preprocess-string):
30129 Call `org-footnote-normalize'.
30130 (org-export-as-ascii, org-export-as-html): Pass footnote variable
30132 (org-export-as-html): Treat multiple references to a footnote.
30134 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
30136 * org-export-latex.el (org-export-latex-links): Handle coderef
30139 * org.el (org-bracket-link-analytic-regexp++): New variable.
30140 (org-make-link-regexps):
30141 Initialize `org-bracket-link-analytic-regexp++'.
30142 (org-store-link): Implement special case in edit-src buffer.
30143 (org-insert-link): No use of ide to insert stored links.
30144 (org-link-search): Implement special case for coderefs.
30146 * org-exp.el (org-export-html-scripts): New constant.
30147 (org-export-html-style-default): Add a new style for highlighted
30149 (org-export-code-refs): New variable.
30150 (org-export-preprocess-string): Initialize `org-export-code-refs'.
30151 Call `org-export-replace-src-segments-and-examples'
30152 No longer call `org-export-protect-examples'.
30153 (org-export-target-internal-links): Take care of coderef targets.
30154 (org-export-last-code-line-counter-value): New variable.
30155 (org-export-replace-src-segments-and-examples): Rename from
30156 `org-export-replace-src-segments', and modified.
30157 (org-export-format-source-code-or-example): Rename from
30158 `org-export-format-source-code'.
30159 (org-export-number-lines): New function.
30160 (org-export-as-ascii, org-export-as-html): Handle coderef links.
30162 2009-01-23 Glenn Morris <rgm@gnu.org>
30164 * org-rmail.el (rmail-narrow-to-non-pruned-header):
30165 Remove declaration of deleted function.
30167 2009-01-16 Glenn Morris <rgm@gnu.org>
30169 * org-mouse.el (org-mouse-show-context-menu):
30170 Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30171 mouse-major-mode-menu.
30173 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
30175 * org-remember.el (org-remember-handler): Safer way to get a new
30176 buffer accessing the target file.
30178 * org.el (org-refile-get-location): Handle case of current buffer
30179 not having a file associated with it.
30181 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
30183 * org-table.el (org-table-get-formula): Only ask to overwrite
30184 field formula if there really is one.
30186 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
30188 * org-export-latex.el (org-export-latex-make-header): Double the
30189 commenting % in the time stamp format.
30190 (org-export-latex-special-chars): Handle case where there is no
30193 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30195 * org.el (org-get-refile-targets, org-refile-get-location):
30196 Use expanded file name to improve comparison.
30198 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30200 * org.el (org-scan-tags): Rescan for tags, to get the correct
30201 upcase/downcase stuff. This slows things down for now, but it
30203 (org-mode): Make sure the tag-faces regexp is initialized.
30205 * org-export-latex.el (org-export-latex-links): Fix bug with
30208 * org-table.el (org-table-get-specials):
30209 Set `org-table-current-last-data-line'.
30210 (org-table-current-last-data-line): New variable.
30211 (org-table-insert-column, org-table-delete-column)
30212 (org-table-move-column, org-table-fix-formulas):
30213 Call `org-table-fix-formulas' a second time to fix the $LR references.
30214 (org-table-get-specials): Add the $LR references to the tables.
30215 (org-table-get-formula): Do not offer last-row names as LHS of
30218 * org.el (org-store-link): Capture link description from
30219 `org-id-store-link'.
30221 * org-exp.el (org-export-html-format-image): Add the / to the end
30223 (org-export-format-source-code): Surround example by empty lines,
30224 to make sure it will not be inside a paragraph.
30226 * org.el (org-ido-switchb): New function.
30228 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
30230 * org-agenda.el (org-agenda-show): New prefix argument
30233 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30236 2008-12-20 Glenn Morris <rgm@gnu.org>
30238 * org.el (org-org-menu): Fix some more menu entries.
30240 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
30242 * org-table.el (org-table-get-specials): Revert introduction of @0
30243 as reference of the last table row, because of conflicts.
30245 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30246 argument, get the current tags directly.
30247 (org-agenda-set-tags): Leave getting current tags to
30248 `org-agenda-change-all-lines'.
30250 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
30252 * org.el (org-org-menu): Do not quote the set-tags command.
30254 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
30256 * Fix typos in comments and docstrings throughout Org-mode.
30258 * org.el (org-get-outline-path): Fix bug if level is not given.
30260 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30262 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30264 * org.el (org-refile): Avoid refiling to within the region to be
30267 * org-export-latex.el (org-export-latex-special-chars):
30268 Replace special characters also in tables.
30270 * org-agenda.el (org-agenda-change-all-lines): New argument
30272 (org-agenda-set-tags): Get the new tags and pass them to
30273 `org-format-agenda-item'.
30275 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30277 * org-export-latex.el (org-export-latex-classes): Add longable as
30278 a default package to all classes.
30279 (org-export-latex-tables): Handle the longtable attribute and the
30282 * org-table.el (orgtbl-to-generic): Handle tables that start with
30285 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30286 \verb for colde-like snippets.
30287 (org-export-as-latex): Fix issues with region export.
30289 * org.el (org-up-heading-safe): Speed up function by using a
30290 direct regexp search.
30291 (org-olpa): New variable.
30292 (org-get-outline-path): Speed-up path constructions in cases where
30293 this is possible because the entire hierarchy is scanned anyway.
30294 (org-refile-get-location): Don't compare the truenames of files,
30296 (org-goto-max-level): New option.
30297 (org-goto): Use `org-goto-max-level'.
30299 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
30301 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30302 Strip angle brackets from message-ids in the former and don't do
30304 (org-gnus-follow-link): Open summary reliable, even if the last
30305 messages were deleted, and handle empty groups, too.
30307 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30309 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30310 instead of \texttt for the =...= and ~===~ emphasis environments.
30311 (org-export-as-latex): Remove any old :org-license-to-kill text
30313 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30314 (org-export-latex-make-header): Add some hard space after the
30316 (org-export-latex-first-lines): Accept RBEG argument.
30317 Mark exported text so that it will be excuded in further steps.
30319 * org-table.el (org-table-get-specials): Make @0 reference the
30320 last line in a table.
30321 (org-table-recalculate): Improve docstring.
30323 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30325 * org.el (org-log-done): Fix docstring.
30327 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30329 * org-exp.el (org-export-html-format-image): Fix bugs.
30331 * org-export-latex.el (org-export-latex-tables)
30332 (org-export-latex-links): Implement attribute, label, and caption
30335 * org-exp.el (org-export-html-style-default): Add style
30336 definitions for the figure div.
30337 (org-export-preprocess-string, org-export-as-html):
30338 Implement attribute, label, and caption handling.
30339 (org-export-attach-captions-and-attributes): New function.
30340 (org-export-html-format-image): New function.
30341 (org-format-org-table-html): Implement attribute, label, and
30344 * org.el (org-find-text-property-in-string): New function.
30345 (org-extract-attributes): Use the property org-attr instead of
30346 org-attrobutes, because this property is now set with the #+ATTR
30349 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30351 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
30352 the case that FROM is nil.
30354 * org.el (org-before-first-heading-p): New function.
30356 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30358 * org-exp.el (org-export-as-html): Do not add a space before
30359 enforces line breaks.
30360 (org-export-as-html): Close paragraph before blockquote and verse
30363 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
30365 * org-id.el (org-id-locations-file): Wrap file name with
30366 `convert-standard-filename'.
30367 (org-id-files): New variable.
30368 (org-id-use-hash): New option.
30369 (org-id-update-id-locations): Also search in all files current
30370 listed in `org-id-files'. Convert the resulting alist to a hash
30371 if the user customation says so.
30372 (org-id-locations-save): Handle he case if `org-id-locations' is a
30374 (org-id-locations-load): Convert the alist to a hash.
30375 (org-id-add-location): Handle the hast case.
30376 (kill-emacs-hook): Make sure id locations are saved when Emacs is
30378 (org-id-hash-to-alist, org-id-alist-to-hash)
30379 (org-id-paste-tracker): New functions.
30381 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30383 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
30384 bindings of calendar variables.
30386 * org-table.el (org-table-find-row-type): Rename from
30387 `org-find-row-type'.
30388 (org-table-rewrite-old-row-references): Rename from
30389 `org-rewrite-old-row-references'.
30390 (org-table-shift-refpart): Rename from `org-shift-refpart'.
30391 (org-table-cleanup-narrow-column-properties): Rename from
30392 `org-cleanup-narrow-column-properties'.
30394 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30396 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
30397 for better error messages.
30398 (org-table-get-descriptor-line): Supply the new arguments to
30399 `org-find-row-type'.
30400 (org-table-error-on-row-ref-crossing-hline): New option.
30402 * org.el (org-target-link-regexp): Make buffer-local.
30403 (org-move-subtree-down): Fix bug with trees at beginning of
30406 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30408 * org-faces.el (org-set-tag-faces): New function.
30409 (org-tags-special-faces-re): New variable.
30411 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
30413 * org-faces.el (org-tag-faces): New option.
30414 (org-tag): Mention `org-tag-faces' in the docstring.
30416 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30418 * org-exp.el (org-export-html-style-default): Implement new
30421 * org-jsinfo.el (org-infojs-template): Implement new quoting.
30423 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
30424 command to the `w3m-minor-mode-map'.
30426 * org-archive.el (org-archive-to-archive-sibling):
30427 Protect `this-command' to avoid appending kills during archiving.
30429 * org-exp.el (org-export-with-priority): New variable.
30430 (org-export-add-options-to-plist): Use `org-export-plist-vars'
30431 instead of internal list of strings and properties.
30432 (org-print-icalendar-entries): Retrieve the location property with
30435 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30437 * org-exp.el (org-export-with-todo-keywords): New option.
30438 (org-export-plist-vars): Include also the keys for the #+OPTIONS
30440 (org-default-export-plist, org-export-add-options-to-plist)
30441 (org-export-as-ascii, org-export-as-html): Use the new structure
30442 of `org-export-plist-vars'.
30444 * org.el (org-map-entries): Return all values.
30446 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30448 * org.el (org-matcher-time): Recognize more special values.
30450 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
30452 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30454 * org.el (org-tags-exclude-from-inheritance): New option.
30455 (org-tag-inherit-p, org-remove-uniherited-tags):
30456 Respect `org-tags-exclude-from-inheritance'.
30458 * org-agenda.el (org-agenda-show-inherited-tags): New option.
30459 (org-format-agenda-item): Add inherited tags to the agenda line
30460 string, and make sure that properties are kept when downcasing the
30462 (org-agenda-add-inherited-tags): New function.
30463 (org-downcase-keep-props): New function.
30465 * org.el (org-scan-tags): Mark inherited tags with a text
30467 (org-get-tags-at): Mark inherited tags with a text property.
30468 (org-add-prop-inherited): New function.
30470 * org-agenda.el (org-agenda-add-inherited-tags): New function.
30471 (org-agenda-show-inherited-tags): New option.
30473 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30475 * org.el (org-modules): Add org-w3m to the default modules.
30477 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
30479 (orgtabl-create-or-convert-from-region): New command.
30481 * org-exp.el (org-export-as-ascii): Remove the handling of
30483 (org-export-ascii-preprocess): Handle targets already in this
30486 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30488 * org-timer.el (org-timer-start-time): Define this variable.
30489 (org-timer-item): Make argument optional.
30491 * org-list.el (org-insert-item): Automatically insert a timer item
30492 if the current list is a timer list.
30494 * org-timer.el: New file.
30496 * org-publish.el (org-publish-org-index): Only exclude the index
30497 file in the main directory from being added to the site-map.
30498 (org-publish-get-project-from-filename): If the current project is
30499 a component, start publishing from the parent project.
30501 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
30503 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
30505 * org-publish.el (org-publish-org-index): Improve removal of
30508 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
30510 * org-agenda.el (org-get-closed): Re-apply changes
30511 accidentially overwritten by last commit to Emacs.
30513 * org.el (org-outline-path-complete-in-steps): New option.
30514 (org-refile-get-location):
30515 Honor `org-outline-path-complete-in-steps'.
30516 (org-agenda-change-all-lines, org-tags-sparse-tree)
30517 (org-time-string-to-absolute, org-small-year-to-year)
30518 (org-link-escape): Re-apply changes accidentially overwritten
30519 by last commit to Emacs.
30521 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30523 * org-clock.el (org-dblock-write:clocktable): Make sure the
30524 clocktable sees the first line.
30525 (org-clock-in): Warn if the clock cannot be resumed.
30527 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30529 * org.el (org-open-at-point): Fix mixup about interactive and
30530 non-interactive elisp links.
30532 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30534 * org-exp.el (org-export-preprocess-string): Allow one comment
30535 line before the first headline to always be included. This is
30536 to not miss a commented target.
30538 * org-mouse.el (org-mouse-insert-item):
30539 Call `org-indent-to-column' instead of `indent-to', for XEmacs
30542 * org.el (org-refile-targets): Fix customize definition so
30543 that it works also in XEmacs.
30544 (org-fixup-indentation): Call `org-indent-to-column' instead
30545 of `indent-to', for XEmacs compatibility.
30547 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
30549 * org-mew.el (org-mew-store-link): Get the correct case folder
30550 for refiled messages.
30552 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30554 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
30555 line break indicators.
30557 * org.el (org-ido-completing-read): Remove the "i:" prefix for
30558 ido-completion propts.
30560 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30562 * org-remember.el (org-remember-apply-template):
30563 Use `org-substring-no-properties'.
30565 * org-compat.el (org-substring-no-properties): New function.
30567 * org-remember.el (org-remember-apply-template):
30568 Use `org-substring-no-properties' for compatibility.
30570 * org-list.el (org-list-two-spaces-after-bullet-regexp):
30572 (org-fix-bullet-type):
30573 Respect `org-list-two-spaces-after-bullet-regexp'.
30575 * org-clock.el (org-clock-load): Clean up the code.
30577 * org.el (org-adaptive-fill-function): Allow two spaces after
30578 "1." as a list bullet.
30580 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30582 * org-clock.el (org-clock-save, org-clock-load): Check for
30583 live buffers, existing files, and buffer file names to ensure
30584 consistent information.
30585 (org-clock-persist): Make `clock' a special value of this
30586 variable, and improve docstring.
30588 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
30589 (org-get-string-indentation): Adapt indentation when the bullet
30592 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30594 * org-remember.el (org-remember-finalize): Make interactive.
30595 (org-remember-kill): New command.
30596 (org-remember-finish-immediately): Call `org-remember-finalize'
30598 (org-remember-finalize): Make `org-remember-finalize' an interactive
30601 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30603 * org-remember.el (org-remember-apply-template): No ido completion
30604 for free prompts in remember templates.
30605 (org-remember-before-finalize-hook): New hook.
30606 (org-remember-mode): New minor mode.
30607 (org-remember-apply-template): Turn on `org-remember-mode'.
30609 * org-remember.el (org-remember-apply-template): Fix the way how
30610 the list of allowed properties is retrieved from the target file.
30612 * org.el (org-insert-link): Improve file link matching.
30614 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30616 * org-colview.el (org-columns-display-here): New argument
30617 DATELINE, to trigger using the new face.
30618 (org-agenda-colview-summarize): Call `org-columns-display-here'
30619 with the new argument.
30621 * org-faces.el (org-agenda-column-dateline): New face.
30623 * org-publish.el (org-publish-org-index): Use index-title at page
30624 title, not as section.
30626 * org-exp.el (org-export-html-format-desc): Respect the
30627 org-protect property.
30628 (org-export-as-html): Protect image specifiers that are in the
30629 description part of a link.
30631 * org.el (org-sort-entries-or-items, org-completing-read)
30632 (org-refile-get-location, org-olpath-completing-read, org-todo)
30633 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
30634 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
30635 (org-set-property, org-delete-property)
30636 (org-delete-property-globally): Use `org-ido-completing-read'.
30638 * org-remember.el (org-remember-apply-template):
30639 Use `org-ido-completing-read'.
30641 * org-publish.el (org-publish): Use `org-ido-completing-read'.
30643 * org-colview.el (org-columns-edit-value, org-columns-new)
30644 (org-insert-columns-dblock): Use `org-ido-completing-read'.
30646 * org-attach.el (org-attach-delete-one, org-attach-open):
30647 Use `org-ido-completing-read'.
30649 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
30650 Use `org-ido-completing-read'.
30652 * org.el (org-time-today): New function.
30653 (org-matcher-time): Use `org-time-today'. Add special treatment
30654 for "<tomorrow>" and "<yesterday>".
30655 (org-ido-completing-read): New function.
30656 (org-completion-use-ido): New option.
30658 * org-exp.el (org-export-format-source-code): Fix bug in require
30660 (org-export-target-internal-links): Fix bug in search for text
30663 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30665 * org-export-latex.el (org-export-latex-subcontent):
30666 Interpret target aliases as additional labels.
30668 * org-exp.el (org-export-target-aliases): New variable.
30669 (org-export-preprocess-string)
30670 (org-export-handle-invisible-targets): Fill the alias alist.
30671 (org-export-as-html): Remove the from the anchor, and also
30673 (org-html-level-start): Insert the target aliases as additional
30676 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
30679 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30681 * org.el (org-open-at-mouse): Ensure correct link abbreviations
30682 when following a link with the mouse from the agenda.
30684 * org-exp.el (org-export-as-html): Avoid lone </div> when no
30685 headlines are created.
30687 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30689 * org.el (org-link-translation-function): New option.
30690 (org-open-at-point): Call `org-link-translation-function' if
30692 (org-translate-link): New function.
30693 (org-translate-link-from-planner): New function.
30694 (org-open-at-point): Allow interactive commands in elisp links.
30696 * org-exp.el (org-icalendar-cleanup-string): Restore the old
30697 iCalendar quoting. The new one seems to caus problems with
30700 * org.el (org-yank): Set `this-command' to `yank', so that
30701 `yank-pop' will work.
30703 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30705 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
30706 compliance as far as quoting is concerned.
30708 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
30709 hexified version of the tag.
30711 * org-vm.el (org-vm-follow-link): Require `vm-search'.
30713 * org.el (org-up-heading-safe, org-forward-same-level):
30714 Always call `org-back-to-heading' instead of `outline-back-to-heading'.
30715 (org-back-to-heading): New wrapper around outline-back-to-heading,
30716 with a useful error message telling where the error happened.
30718 * org-list.el (org-update-checkbox-count): Always call
30719 `org-back-to-heading' instead of `outline-back-to-heading'.
30721 * org-exp.el (org-export-as-html): Make sure that each <img> tag
30722 has an `alt' attribute, to ensure XHTML validation.
30724 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30726 * org-publish.el (org-publish-attachment): Allow publishing to
30727 overwrite attachment files.
30729 * org-agenda.el (org-agenda-timerange-leaders): New option.
30730 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
30732 * org.el (org-edit-src-exit): Untabify ASCII image before
30735 2008-11-19 Glenn Morris <rgm@gnu.org>
30737 * org.el, org-mouse.el (org-agenda-change-all-lines):
30740 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
30742 * org.el ("speedbar"): Only show context if the file really is an
30745 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
30747 * org.el (org-time-string-to-absolute, org-small-year-to-year)
30748 (org-tags-sparse-tree): Fix typos in docstrings.
30750 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
30752 * org-publish.el (org-publish-attachment): Allow copy-file to
30755 2008-11-13 Glenn Morris <rgm@gnu.org>
30757 * org-agenda.el (org-get-closed): Fix alias.
30759 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
30761 * org.el (org-link-escape): Fix typo in docstring.
30763 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30765 * org.el (org-yank): Make any prefix force normal yanking.
30766 Suppress folding if text would be swallowed into a folded
30768 (org-yank-folded-subtrees, org-yank): Docstring updates.
30770 * org-agenda.el (org-agenda-compare-effort): Treat no effort
30773 * org-exp.el (org-export-language-setup): Add Catalan and
30774 Esperanto language entries.
30776 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30778 * org.el (org-refile): Allow refiling of entire regions.
30780 * org-clock.el (org-clock-time%): New function.
30782 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
30783 retrieve property values.
30785 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30787 * org-agenda.el (org-agenda-list): Handle the value `only' of
30788 org-agenda-show-log'.
30789 (org-agenda-log-mode): Interpret a double prefix arg.
30791 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30793 * org-exp.el (org-export-html-footnotes-section): New variable.
30794 (org-export-as-html): Use `org-export-html-footnotes-section' to
30795 insert the footnotes.
30796 (org-export-language-setup): Add "Footnotes" to language words.
30798 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30800 * org.el (org-yank): Fix bug when not inserting a subtree.
30802 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30804 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
30805 instead of `vm-beginning-of-message'.
30807 * org.el (org-make-link-regexps): Make sure that links to gnus can
30810 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30812 * org-attach.el (org-attach-dir): Remove duplicate ID creation
30815 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
30818 * org.el (org-link-abbrev-alist): Improve customization type.
30820 * org-attach.el (org-attach-expand-link, org-attach-expand):
30823 * org-agenda.el (org-agenda-get-progress): Rename from
30824 `org-get-closed'. Implement searching for state changes as well.
30825 (org-agenda-log-mode-items): New option.
30826 (org-agenda-log-mode): New option prefix argument, interpreted as
30827 request to show all possible progress info.
30828 (org-agenda-get-day-entries): Call `org-get-progress' instead of
30830 (org-agenda-set-mode-name): Handle the more complex log mode
30832 (org-get-closed): New alias, pointing to `org-get-progress'.
30834 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30836 * org.el (org-file-apps-defaults-gnu)
30837 (org-file-apps-defaults-macosx)
30838 (org-file-apps-defaults-windowsnt): Add an entry defining the
30840 (org-file-apps): Allow `system' as key and value.
30841 (org-open-at-point): Explain the effect of a double prefix arg.
30842 (org-open-file): If the argument `in-emacs' is (16),
30843 i.e. corresponding to a double prefix argument, try to open the
30846 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30848 * org.el (org-insert-link): Abbreviate absolute files names in
30849 links. Also, fix a bug in which the double C-u prefix would not
30852 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30854 * org.el (org-insert-heading): If buffer does not end with a
30855 newline, add one if necessary to insert headline correctly.
30857 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
30858 paragraphs, not inside.
30860 * org.el (org-todo):
30861 Quote `org-agenda-headline-snapshot-before-repeat'.
30863 * org-exp.el (org-export-as-html): Fully process link descriptions.
30864 (org-export-html-format-desc): New function.
30865 (org-export-as-html): Collect footnotes into the correct basket.
30866 (org-html-protect): No longer protect quotations marks here, this
30869 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
30872 * org-compat.el (org-fit-window-to-buffer): New function (not
30873 really, a preliminary and incomplete version was present earlier,
30876 * org.el (org-fast-todo-selection, org-fast-tag-selection):
30877 Use `org-fit-window-to-buffer'.
30879 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
30881 * org-agenda.el (org-agenda-get-restriction-and-command)
30882 (org-fit-agenda-window, org-agenda-convert-date):
30883 Use `org-fit-window-to-buffer'.
30885 * org-exp.el (org-export-as-html): Process href links through
30886 `org-export-html-format-href'.
30887 (org-export-html-format-href): New function.
30889 * org-agenda.el (org-agenda-todo): Update only the current
30890 headline if this is a repeated TODO, marked done for today.
30891 (org-agenda-change-all-lines): New argument JUST-THIS, to change
30892 only the current line.
30894 * org.el (org-todo): Take a snapshot of the headline if the
30895 repeater might change it.
30897 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30899 * org-publish.el (org-publish-find-title): Remove buffers visited
30900 only for extracting the title.
30902 * org-exp.el (org-export-html-style)
30903 (org-export-html-style-default): Mark style definitions as
30906 * org-publish.el (org-publish-validate-link):
30907 Function re-introduced.
30909 2008-11-12 Charles Sebold <csebold@gmail.com>
30911 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
30913 (org-plot-quote-timestamp-field): New function.
30914 (org-plot-quote-tsv-field): Call timestamp field function when
30915 necessary rather than just quoting as a string.
30916 (org-plot/gnuplot-to-data): Pass in timefmt property.
30917 (org-plot/gnuplot-script): Supports timefmt property.
30918 (org-plot/gnuplot): Checks for timestamp column before checking
30919 for text index column.
30921 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30923 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
30925 * org-publish.el (org-publish-org-index): Create a section in the
30927 (org-publish-org-index): Stop linking to directories.
30929 * org.el (org-emphasis-alist): Use span instead of <u> to
30932 * org-exp.el (org-export-as-html): Make sure <p> is closed before
30935 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
30937 * org-jsinfo.el (org-infojs-template): Remove language attribute
30940 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30942 * org-agenda.el (org-agenda-remove-marked-text): New function.
30943 (org-agenda-mark-filtered-text)
30944 (org-agenda-unmark-filtered-text): New functions.
30945 (org-write-agenda): Remove filtered text.
30947 * org.el (org-make-tags-matcher): Give access to TODO "property"
30948 without speed penalty.
30950 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30952 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
30954 (org-store-link-props): Make sure adding to the plist works
30957 * org-gnus.el (org-gnus-no-new-news): New function.
30958 (org-gnus-follow-link): Allow the article ID to be a message-id,
30959 in addition to allowing article numbers. Message IDs make much
30960 more roubust links.
30961 (org-gnus-store-link): Use message-id to create link.
30963 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30965 * org.el (org-emphasize): Reverse the selection array.
30966 (org-emphasis-alist): Set <code> tags for the verbatim
30969 * org-remember.el (org-remember-handler): Fix bug with
30970 prefix-related changing of the note storage target.
30972 * org-exp.el (org-print-icalendar-entries): Make the exported
30973 priorities compatible with RFC 2445.
30975 * org-clock.el (org-clock-save): Insert time stamp without
30976 dependence on time-stamp.el.
30978 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30980 * org.el ("saveplace"): If saveplace puts point into an invisible
30981 location, make it visible.
30982 (org-make-tags-matcher): Allow inactive time stamps in time
30984 (org-yank-adjusted-subtrees): New option.
30985 (org-yank): Incorporate adjusting trees.
30986 (org-paste-subtree): New argument FOR-YANK which will cause
30987 insertion at point without backing up over white lines, and leave
30988 point at the end of the inserted text. Also if the cursor is
30989 at the beginning of a headline, use the same level or the inserted
30992 * org-publish.el (org-publish-get-base-files-1): Deal correctly
30993 with broken symlinks.
30995 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30997 * org-exp.el (org-export-select-tags, org-get-current-options):
31000 2008-11-06 Glenn Morris <rgm@gnu.org>
31002 * org-publish.el (org-publish-attachment): Use copy-file rather than
31005 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
31007 * org.el (org-columns-modify-value-for-display-function):
31008 * org-table.el (org-table-convert-region): Fix typos in docstrings.
31010 2008-10-28 Glenn Morris <rgm@gnu.org>
31012 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31014 * org-list.el (outline-next-heading, outline-back-to-heading):
31017 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31019 * org-agenda.el (org-format-agenda-item)
31020 (org-agenda-filter-make-matcher): Make sure tags are stored and
31021 compared downcased.
31023 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31025 * org.el (org-insert-todo-heading): Fix bug with force-heading
31028 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31030 * org-exp.el (org-export-as-ascii): Handle the case that we are
31031 bulishing from an indirect buffer.
31033 * org-table.el (org-table-copy-down): Fix bug with time stamp
31036 * org-mouse.el (org-mouse-features): New option.
31037 (org-mode-hook): Turn on features depending on
31038 `org-mouse-features'.
31040 * org.el (org-insert-heading-respect-content): Force heading
31042 (org-insert-heading): Keep the folding state of the heading before
31045 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31047 * org-archive.el (org-archive-to-archive-sibling): Handle top
31048 level headlines better.
31050 2008-10-26 Bastien Guerry <bzg@gnu.org>
31052 * org-export-latex.el (org-export-latex-classes):
31053 Add \usepackage{graphicx} to the default list of packages.
31055 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31057 * org-agenda.el (org-agenda-filter): Rename from
31058 `org-agenda-filter-tags'.
31060 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31062 * org.el (org-entry-properties): Add CATEGORY property, iven if it
31063 is not defined as a property in this entry.
31064 (org-add-log-note): Mask prefix argument when immediately storing
31067 * org-agenda.el (org-agenda-filter-effort-default-operator):
31070 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
31072 * org.el (org-add-log-setup): Bugfix; code to find insertion point
31073 after drawers was skipping ahead one line too many, so notes were
31074 inserted after the first note instead of before it.
31076 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31078 * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31080 (org-prepare-agenda): Reset the filter tags.
31081 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31082 Show filter tags in mode line.
31084 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31087 * org-export-latex.el (org-latex-entities-regexp): New constant.
31088 (org-export-as-pdf): Use two calls to `shell-command'.
31090 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31092 * org-export-latex.el (org-export-latex-treat-sub-super-char):
31093 Honor the {} value of the subsuperscript setting. Make sure that
31094 longer subsuperscripts are typeset in a roman font.
31096 * org.el (org-clock-update-time-maybe): Compute negative clock
31097 intervals correctly.
31099 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31101 * org.el (org-add-log-setup):
31102 Respect `org-log-state-notes-insert-after-drawers'.
31103 (org-log-state-notes-insert-after-drawers): New option.
31104 (org-todo-trigger-tag-changes): New function.
31105 (org-todo): Call `org-todo-trigger-tag-changes'.
31107 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
31109 * org.el (org-add-log-setup): Only skip drawers if they are
31110 immediately after the scheduling keywords.
31112 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31114 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31115 call it with the current todo state to get the state to switch to
31117 (org-clock-in): Use org-indent-line-function to indent clock lines.
31118 (org-clock-find-position): Fix indentation of empty clock drawers.
31120 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31122 * org-publish.el (org-publish-org-to): Handle case when
31123 org-export-to-pdf does return a file name, not a buffer.
31124 (org-publish-org-to-pdf): New function.
31126 * org-export-latex.el (org-export-as-pdf)
31127 (org-export-as-pdf-and-open): New commands.
31129 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31132 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31133 things in protexted regions.
31135 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
31137 * org-export-latex.el (org-export-latex-preprocess):
31138 Improve quoting of LaTeX environments.
31140 2008-10-19 Eli Zaretskii <eliz@gnu.org>
31142 * org.el (org-default-notes-file):
31143 * org-publish.el (org-publish-timestamp-directory):
31144 * org-id.el (org-id-locations-file): Run file names that begin
31145 with a period thru `convert-standard-filename'.
31147 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31149 * org-plot.el: Switch coding system to unix.
31151 2008-10-12 John Wiegley <johnw@newartisans.com>
31153 * org-attach.el: New file.
31155 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
31157 * org.el (org-edit-fixed-width-region): Exclude final newline from
31160 * org-export-latex.el (org-export-latex-subcontent): Add labels to
31161 sections, to make internal links work.
31162 (org-export-latex-fontify-headline): Do not remove all text
31163 properties, to make sure that target properties survive this
31166 * org-exp.el (org-export-preprocess-string): Change sequence of
31167 modifications, to make sure links are prepared before the LaTeX
31168 conversions do happen.
31170 * org-attach.el (org-attach-delete-all): Rename from
31171 `org-attch-delete'. Add a security query before deleting the
31172 entire directory. New optional argument FORCE can overrule the
31174 (org-attach-delete-one): New command.
31176 * org-attach.el (org-attach-file-list): Fix bug with directory.
31178 * org.el (org-apps-regexp-alist): New function.
31179 (org-file-apps): Add auto-mode to the default value.
31180 (org-open-file): Use the new structure of org-file-apps.
31182 * org-attach.el (org-attach): Support the new keys.
31183 (org-attach-method): New option.
31185 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31188 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31189 of the list value o `org-use-tag-inheritance'.
31191 * org-attach.el (org-attach-auto-tag): New option.
31192 (org-attach-tag, org-attach-untag): New functions.
31193 (org-attach-attach, org-attach-new, org-attach-sync):
31194 Call `org-attach-tag'.
31195 (org-attach-delete): Call `org-attach-untag'.
31197 * org-table.el (orgtbl-self-insert-command): Make this work for
31198 the keypad as well.
31200 * org.el (org-add-log-setup): Limit searc for drawers to entry
31201 text, not to subtree.
31203 * org-clock.el (org-clock-heading-for-remember): New variable.
31204 (org-clock-in): Set `org-clock-heading-for-remember'.
31206 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
31208 * org-remember.el (org-remember-apply-template): Add new
31209 expansions: %k, %K for currently clocked task and a link to the
31210 currently clocked task, and %< to file notes in the currently
31213 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31215 * org-export-latex.el (org-export-latex-make-header): Also insert
31216 the content of the property :latex-header-extra.
31218 * org-exp.el (org-infile-export-plist): Put the content of
31219 #+LATEX_HEADER: into the property :latex-header-extra.
31221 * org-colview.el (org-columns-get-format-and-top-level):
31222 Remove resetting the marker.
31224 * org.el (org-entry-property-inherited-from): Improve docstring.
31225 (org-entry-get-with-inheritance): Reset marker before starting the
31228 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31230 * org.el (org-entry-get-multivalued-property)
31231 (org-entry-protect-space, org-entry-restore-space):
31233 (org-file-apps-defaults-macosx): Let PostScript files be opened by
31235 (org-time-stamp-inactive): Call `org-time-stamp'.
31236 (org-time-stamp): New argument `inactive'. Also edit inactive
31237 stamps. Convert time stamp type.
31238 (org-open-file): Interpret the `default' value for the `command'
31239 in `org-file-apps'.
31241 * org-id.el (org-id-int-to-b36-one-digit)
31242 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31243 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31246 * org-id.el (org-id-reverse-string): New function.
31247 (org-id-new): Use `org-id-reverse-string' to make sure the
31248 beginning chars of the ID are mutating fast. This allows to use a
31249 directory structure to spread things better.
31250 (org-id-prefix): Change default to nil.
31252 * org-list.el (org-move-item-down, org-move-item-up): Remember and
31253 restore the column of the cursor position.
31255 * org-remember.el (org-remember-apply-template): Remove properties
31258 * org-wl.el (org-wl-open): Remove useless call to
31259 `wl-thread-open-all'.
31261 * org-remember.el (org-remember-handler): Fix bug with `bottom'
31264 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31265 `org-bbdb-anniversaries'.
31267 * org.el (org-get-next-sibling, org-forward-same-level):
31268 New functions, similar to the outline versions, but invisible headings
31271 2008-10-12 Bastien Guerry <bzg@gnu.org>
31273 * org.el (org-auto-repeat-maybe): Insert a space between
31274 the timestamp's type and the timestamp itself.
31276 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31278 * org-table.el (org-table-sum): Do not format the result with %g,
31279 it does rounding when there are too many digits.
31281 * org.el (org-map-entries): Protect the keyword-selecting variables.
31283 2008-10-12 Bastien Guerry <bzg@gnu.org>
31285 * org-agenda.el (org-agenda-to-appt): Make sure the function check
31286 against all agenda files.
31288 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31289 Bastien Guerry <bzg@gnu.org>
31291 * org-list.el: New file, aggregating list functions from org.el
31292 and org-export-latex.el.
31294 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31296 * org.el (org-edit-src-region-extra): New option.
31298 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31301 2008-10-12 Bastien Guerry <bzg@gnu.org>
31303 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31305 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
31307 * org-plot.el (org-plot/gnuplot): Make tables starting with a
31308 hline work correctly.
31309 (org-plot/gnuplot-script): Put commas at the end of each script
31312 * org.el (org-get-refile-targets): Replace links with their
31314 (org-imenu-get-tree): Replace links with their descriptions.
31316 * org-remember.el (org-remember-apply-template): Add a new
31317 expansion for adding properties to remember items.
31319 * org.el (org-add-log-setup): Skip over drawers (properties,
31320 clocks etc) when adding notes.
31322 * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31323 items as well as the start and end times.
31325 * org-compat.el (org-get-x-clipboard-compat): Add a compat
31326 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31328 * org-remember.el (org-get-x-clipboard): Use the compat
31329 function to get clipboard values when x-selection-value is
31330 unavailable. Use substring-no-properties instead of
31331 set-text-properties to remove text properties from the clipboard
31334 * org-clock.el (org-update-mode-line): Support limiting the
31335 modeline clock string, and display the full todo value in the
31336 tooltip. Set a local keymap so mouse-3 on the clock string goes to
31337 the currently clocked task.
31338 (org-clock-string-limit): Add a custom value for the maximum
31339 length of the clock string in the modeline.
31340 (org-clock-mode-map): Add a keymap for the modeline string.
31342 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31344 * org-compat.el (org-propertize): New function.
31346 2008-10-12 Bastien Guerry <bzg@gnu.org>
31348 * org-export-latex.el (org-export-latex-tables): Protect exported
31349 tables from further special chars conversion.
31350 (org-export-latex-preprocess): Preserve LaTeX environments.
31351 (org-list-parse-list): Parse descriptive lists.
31352 (org-list-to-generic, org-list-to-latex, org-list-to-html)
31353 (org-list-to-texinfo): Export descriptive lists.
31354 (org-quote-chars): Remove.
31355 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
31356 (org-export-latex-list-beginning-re): Rename to
31357 `org-list-beginning-re'.
31358 (org-list-item-begin): Rename to `org-list-item-beginning'.
31360 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
31362 * org-plot.el: New file.
31364 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31366 * org.el (org-refile): Allow refiling to the last entry in the
31368 (org-get-tags-at): Fix bug when inheritance is turned off.
31370 * org.el (org-indent-line-function): No longer check for src
31371 regions, this is too much overhead.
31373 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
31376 * org.el (org-scan-tags): Make sure that tags matching is not case
31377 sensitive. TODO keyword matching is case sensitive, however, to
31378 avoid confusion with similar words that are not meant to be
31381 * org.el (org-get-local-tags-at): New function.
31382 (org-get-local-tags): New function.
31384 * org-exp.el (org-export-get-categories): New function.
31386 * org-agenda.el (org-sorting-choice)
31387 (org-agenda-sorting-strategy, org-agenda-get-todos)
31388 (org-agenda-get-timestamps, org-agenda-get-deadlines)
31389 (org-agenda-get-scheduled, org-agenda-get-blocks)
31390 (org-entries-lessp): Implement sorting by TODO state.
31391 (org-cmp-todo-state): New defsubst.
31393 * org-colview.el (org-colview-construct-allowed-dates):
31395 (org-columns-next-allowed-value):
31396 Use `org-colview-construct-allowed-dates'.
31398 * org.el (org-protect-slash): New function.
31399 (org-get-refile-targets): Use `org-protect-slash'.
31401 * org-agenda.el (org-global-tags-completion-table): New variable.
31403 * org-exp.el (org-export-handle-export-tags): New function.
31404 (org-export-preprocess-string):
31405 Call `org-export-handle-export-tags'.
31407 * org-publish.el (org-publish-expand-components): Function removed.
31408 (org-publish-expand-projects): Allow components to have components.
31410 * org.el (org-indent-line-function): Do not indent in regions that
31411 are external source code.
31412 (org-yank-and-fold-if-subtree): New function.
31414 * org-agenda.el (org-agenda-todayp): New function.
31415 (org-agenda-get-deadlines, org-agenda-get-scheduled):
31416 Use `org-agenda-todayp'.
31418 * org.el (org-insert-heading-respect-content)
31419 (org-insert-todo-heading-respect-content): New commands.
31420 (org-insert-heading-respect-content): New option.
31421 (org-insert-heading): Respect `org-insert-heading-respect-content'.
31423 * org-clock.el (org-clock-find-position): Make sure the note after
31424 the clock line gets moved into the new clock drawer.
31426 * org-id.el (org-id-new): New option.
31428 * org-table.el (org-table-copy-down): Avoid overflow during
31429 increment. Use prefix argument 0 to temporarily disable the
31432 * org-exp.el (org-export-as-html): Do not turn on the major mode
31433 if the buffer will be killed anyway.
31434 (org-get-current-options): Exclude the #+TEXT field.
31435 (org-export-as-html): Make sure text before the first headline is
31438 * org-publish.el (org-publish-org-to): Tell the exporter that this
31439 buffer will be killed, so it is not necessary to do major mode
31442 * org-archive.el (org-archive-to-archive-sibling): Show empty
31443 lines after folding the archive sibling.
31445 * org.el (org-log-note-extra): New variable.
31447 2008-10-12 Bastien Guerry <bzg@gnu.org>
31449 * org.el (org-additional-option-like-keywords): Add keywords for
31450 the _QUOTE, _VERSE and _SRC environments.
31452 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
31453 exporting _QUOTE and _VERSE environments.
31455 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
31457 * org-agenda.el (org-agenda-filter-by-tag): New command.
31459 * org-exp.el (org-get-current-options): Remove angular brackets
31460 from the date entry.
31462 * org.el (org-edit-fixed-width-region): New function.
31463 (org-edit-fixed-width-region): Also try
31464 `org-edit-fixed-width-region'.
31465 (org-edit-fixed-width-region-mode): New option.
31466 (org-activate-code): Only interpret lines starting with colon
31467 plus a space as example lines.
31469 * org-remember.el (org-remember-templates): Add nil instead of
31470 empty strings to fix the length of remember templates.
31472 * org-table.el (org-calc-default-modes): Fix the time format for
31473 calc, from 12 hour to 24 hour clock.
31475 * org-agenda.el (org-agenda-get-deadlines)
31476 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
31477 entries that are pre-warnings of deadlines or reminders.
31479 * org.el (org-sort-entries-or-items): Make numeric and alpha
31480 comparisons ignore any TODO keyword and priority cookie.
31482 * org-remember.el (org-remember-handler): Reinterpretation of the
31485 * org-agenda.el (org-agenda-get-scheduled): Use new
31486 `org-scheduled' face.
31488 * org-faces.el (org-scheduled): New face.
31490 * org-wl.el (org-wl-open): Remove incorrect declaration.
31492 * org-gnus.el (org-gnus-store-link): Support for :to information
31495 * org-exp.el (org-export-as-html): Fix typo in creator
31497 (org-export-protect-examples): New parameter indent. Insert extra
31498 spaces only when this parameter is specified.
31499 (org-export-preprocess-string): Call `org-export-protect-examples'
31500 with an indentation parameter when exporting to ASCII.
31502 * org-remember.el (org-remember-templates)
31503 (org-remember-apply-template): Allow the file component to be a
31506 * org.el (org-goto-local-search-headings): Rename from
31507 `org-goto-local-search-forward-headings'. Added the possibility
31508 to search backwards.
31510 * org-export-latex.el (org-export-latex): New customization
31513 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
31515 * org-exp.el (org-html-do-expand): Allow {} to terminate
31518 * org.el (org-buffer-list): Select buffers based on major mode,
31521 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
31524 * org-colview.el (org-columns-display-here):
31525 Use `org-columns-modify-value-for-display-function'.
31527 * org.el (org-columns-modify-value-for-display-function): New option.
31529 * org-publish.el (org-publish-file): Make sure the directory match
31530 for the publishing directory works correctly.
31532 * org-agenda.el (org-agenda-execute-calendar-command)
31533 (org-agenda-diary-entry): Additional optional argument.
31535 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
31537 * org-exp.el (org-export-as-html): Add attributes also in mailto
31540 * org.el (org-autoload): Add `org-dblock-write:columnview'.
31542 2008-08-11 Glenn Morris <rgm@gnu.org>
31544 * org-mac-message.el (do-applescript): Fix declaration.
31546 2008-08-10 Glenn Morris <rgm@gnu.org>
31548 * org-exp.el (org-export-as-html): Let-bind `i'.
31550 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
31551 (org-extract-attributes): Let-bind `key', `value'.
31552 (org-make-tags-matcher): Let-bind `time-p'.
31554 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
31556 * org-install.el: New file.
31558 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
31560 * org-exp.el (org-export-html-style)
31561 (org-export-html-style-extra): Declare as safe-local-variable.
31563 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
31565 * org-publish.el (org-publish-file): Use the true name of the
31568 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
31571 * org-exp.el (org-export-plist-vars)
31572 (org-export-add-options-to-plist): Handle creator setting flag.
31573 (org-export-as-html): Handle attributes also for ftp and mailto
31576 * org-agenda.el (org-agenda-diary-entry)
31577 (org-agenda-execute-calendar-command): Cater for the second
31578 argument of `calendar-cursor-to-date'.
31580 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
31582 * org-exp.el (org-export-region-as-html, org-export-as-html):
31583 Make sure that calls from `org-export-region-as-html' do not do the
31584 special check for a subtree.
31586 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
31588 * org.el (org-open-file):
31589 Use `org-open-directory-means-index-dot-org'.
31590 (org-open-directory-means-index-dot-org): New option.
31592 * org.el (org-make-link-string): Remove link attributes from
31594 (org-open-at-point): Remove link attributes before using the path.
31596 * org-exp.el (org-export-as-html): Handle link attributes.
31598 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
31600 * org-table.el (org-table-to-lisp): New function.
31602 * org.el (org-narrow-to-subtree): Do not include the final newline
31603 into the narrowed region.
31605 * org-agenda.el (org-agenda-custom-commands-local-options):
31606 Fix bug with user-define skipping condition.
31608 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
31610 * org-exp.el (org-export-html-style-default): Automatic overflow
31611 handling for pre fields.
31612 (org-export-as-ascii, org-export-as-html): Change default format
31615 * org-table.el (org-table-export): Offer completion for translator
31616 functions, and do not require a heading above the table.
31618 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
31619 Cater for the case of a list starting in the first line of the
31622 * org-publish.el (org-publish-find-title): Bug fix.
31623 (org-publish-org-index): Implement new :index-style option.
31625 * org-publish.el (org-publish-timestamp-filename):
31626 Use SHA1-encoded file names in the timestamp directory.
31628 * org-publish.el (org-publish-needed-p): Be verbose about files
31629 published and files skipped.
31631 * org-exp.el (org-export-preprocess-string): Swap link
31632 normalization and internal link targeting.
31634 * org-publish.el (org-publish-needed-p): Create timestamp
31635 directory when it does not exist.
31637 * org-clock.el (org-clock-out-when-done): Doc fix.
31639 * org.el (org-agenda-skip-unavailable-files): Doc fix.
31641 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
31642 Ignore case when searching for the COMMENT cookie at export time.
31644 * org-exp.el (org-get-file-contents)
31645 (org-get-and-remove-property): New functions.
31646 (org-export-handle-include-files): Handle the new prefix options.
31647 (org-export-as-html): Fix the verse environment.
31649 * org.el (org-time=, org-time<, org-time<=, org-time>)
31650 (org-time>=, org-time<>, org-2ft): New functions.
31651 (org-op-to-function): Also provide for the time testing functions.
31653 * org-exp.el (org-export-html-style-default): New constant.
31655 * org-exp.el (org-export-html-style-extra): New variable.
31656 (org-export-splice-style): New function.
31658 * org-exp.el (org-export-plist-vars, org-export-as-html):
31659 Implement `org-export-creator-info'.
31660 (org-export-creator-info): New option.
31662 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
31663 (org-property-drawer-re, org-clock-drawer-re): New constants.
31665 * org-exp.el (org-icalendar-use-deadline)
31666 (org-icalendar-use-scheduled): New options.
31667 (org-icalendar-include-todo): Default changed to t.
31668 (org-print-icalendar-entries): Implement better utilization of
31669 scheduling and deadline time stamps.
31670 (org-export-target-internal-links, org-export-as-html): Allow file
31671 lines without the "file:" prefix if the file path is an absolute
31672 path or starts with ".".
31674 * org-clock.el (org-clocktable-shift): Also understand yesterday,
31676 (org-clock-special-range): Also understand yesterday, lastweek etc.
31678 * org.el (org-agenda-skip-archived-trees): Docstring now
31679 discourages using this.
31680 (org-scan-tags): Check for org-agenda-archives-mode.
31681 (org-map-entries): Make sure org-agenda-archives-mode is nil.
31682 (org-agenda-files): Functionality of second arg changed.
31684 * org-agenda.el (org-agenda-archives-mode): New variable.
31685 (org-write-agenda, org-prepare-agenda, org-agenda-list)
31686 (org-search-view, org-todo-list, org-tags-view)
31687 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
31689 (org-agenda-quit): Reset the archives mode.
31690 (org-agenda-archives-mode): New command.
31691 (org-agenda-set-mode-name): Include archives info.
31693 * org.el (org-paste-subtree): Make sure the yanked headline is
31694 visible if it was yanked at a visible point.
31695 (org-move-item-up): Fix the bug with moving white space at the end
31697 (org-show-empty-lines-in-parent): New function.
31699 2008-07-19 Juri Linkov <juri@jurta.org>
31701 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
31702 new keymap `narrow-map' instead of binding "\C-xns".
31704 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
31706 * org.el (org-agenda-skip-unavailable-files):
31707 * org-clock.el (org-clock-out-when-done): Doc fixes.
31709 2008-06-18 Glenn Morris <rgm@gnu.org>
31711 * org.el (org-map-entries): Let-bind `file'.
31713 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31715 * org-colview.el (org-columns-next-allowed-value): Bug fix.
31717 * org-agenda.el (org-agenda-get-closed): Get the end time into the
31718 agenda prefix as well.
31720 * org-publish.el (org-publish-org-index): Make a properly indented
31723 * org.el (org-calendar-agenda-action-key): New option.
31724 (org-get-cursor-date): New function.
31725 (org-mark-entry-for-agenda-action): New command.
31726 (org-overriding-default-time): New variable.
31727 (org-read-date): Respect `org-overriding-default-time'.
31729 * org-remember.el (org-remember-apply-template): Respect the
31730 overriding default time.
31732 * org-agenda.el (org-agenda-action-marker): New variable.
31733 (org-agenda-action): New command.
31734 (org-agenda-do-action): New function.
31736 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31738 * org.el (org-schedule, org-deadline): Protect scheduled and
31739 deadline tasks against changes that accidentally remove the
31740 repeater. Also show a message with the new date when done.
31742 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31744 * org.el (org-beginning-of-line): Cater for the case when there
31745 are tags but no headline text.
31746 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
31749 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31751 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
31752 the return value is nil instead of "nil" when there is no match.
31754 * org-exp.el (org-insert-centered): Use fill-column instead of
31756 (org-export-as-ascii): Use string-width to measure the width of
31759 * org.el (org-diary-to-ical-string): No longer kill buffer
31760 FROMBUF, this is now done by the caller.
31762 * org-exp.el (org-print-icalendar-entries): Move the call to
31763 `org-diary-to-ical-string' out of the loop, and kill the buffer
31766 * org-remember.el (org-remember-visit-immediately):
31767 Position cursor after moving to the note.
31768 (org-remember-apply-template): Use a text property to record the
31770 (org-remember-handler): Align tags after pasting the note.
31772 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31774 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
31776 * org-agenda.el (org-agenda-open-link): If there is an
31777 org-bbdb-name property in the current line, jump to that bbdb
31780 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
31781 text property, so that the agenda knows where this entry comes
31784 * org-agenda.el (org-agenda-clock-in): Fix bug in the
31785 interaction between clocking-in from the agenda, and automatic
31786 task state switching.
31788 * org-macs.el (org-with-point-at): Bug fix in macro definition.
31790 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
31791 zmacs-region stays after this command in XEmacs.
31793 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31795 * org.el (org-scan-tags): Allow new values for ACTION parameter.
31797 * org-remember.el (org-remember-templates): Fix bug in
31798 customization type definition.
31800 * org.el (org-map-entries): New function.
31802 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31804 * org-agenda.el (org-agenda-skip-comment-trees): New option.
31805 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
31807 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31809 * org-remember.el (org-jump-to-target-location): New variable.
31810 (org-remember-apply-template):
31811 Set `org-remember-apply-template' if requested by template.
31812 (org-remember-handler): Start an idle timer to jump to
31815 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
31817 * org.el (org-set-regexps-and-options): Fix bug with parsing of
31819 (org-get-tags-at): Add the content of `org-file-tags'.
31821 * org-exp.el (org-export-handle-comments): Fix bug with several
31822 comment lines after each other.
31823 (org-number-to-roman, org-number-to-counter): New functions.
31824 (org-export-section-number-format): New option.
31826 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31828 * org-exp.el (org-export-protect-examples): Catch the case of a
31829 missing end_example line.
31831 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
31832 `org-file-tags' to nil.
31834 * org-colview.el (org-columns-next-allowed-value): Handle next
31835 argument NTH to directly select a value.
31837 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31839 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
31841 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31843 * org.el (org-columns-ellipses): New option.
31845 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31847 * org-colview.el (org-columns-add-ellipses): New function.
31848 (org-columns-compact-links): New function.
31849 (org-columns-cleanup-item): Call `org-columns-compact-links'.
31850 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
31852 (org-columns-edit-value): Fix bug with editing values from
31853 agenda column view.
31854 (org-columns-redo): Also redo the agenda itself.
31856 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31858 * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
31861 * org-colview.el (org-agenda-columns-cleanup-item): New function.
31863 * org-exp.el (org-export-ascii-preprocess): Rename from
31864 `org-export-ascii-clean-string'.
31865 (org-export-kill-licensed-text)
31866 (org-export-define-heading-targets)
31867 (org-export-handle-invisible-targets)
31868 (org-export-target-internal-links)
31869 (org-export-remove-or-extract-drawers)
31870 (org-export-remove-archived-trees)
31871 (org-export-protect-quoted-subtrees)
31872 (org-export-protect-verbatim, org-export-protect-examples)
31873 (org-export-select-backend-specific-text)
31874 (org-export-mark-blockquote-and-verse)
31875 (org-export-remove-comment-blocks-and-subtrees)
31876 (org-export-handle-comments, org-export-mark-radio-links)
31877 (org-export-remove-special-table-lines)
31878 (org-export-normalize-links)
31879 (org-export-concatenate-multiline-links)
31880 (org-export-concatenate-multiline-emphasis): New functions,
31881 obtained from spliting the export preprocessor.
31883 * org-table.el (org-table-recalculate): Improve error message if
31884 the row number is invalid.
31886 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31888 * org-archive.el (org-archive-save-context-info): Fix bugs in
31889 customization setup and docstring.
31891 * org-exp.el (org-export-html-style): Change the size of in the
31892 <pre> element to 90%.
31894 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31896 * org.el (org-find-src-example-start): Function removed.
31897 (org-edit-src-find-region-and-lang): New function.
31899 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31901 * org.el (org-edit-src-exit): New function.
31902 (org-exit-edit-mode): New minor mode.
31904 * org-exp.el (org-export-preprocess-string): Fix bug with removing
31905 comment-like lines from protected examples.
31907 * org.el (org-edit-src-example, org-find-src-example-start)
31908 (org-protect-source-example, org-edit-special): New functions.
31910 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31912 * org-publish.el (org-publish-project-alist): Fix typo in
31914 (org-publish-project-alist): Handle :index-title property.
31916 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31918 * org-export-latex.el (org-export-as-latex): Make sure region
31919 bounds are correct. Parse subtree properties relating to export.
31921 * org-exp.el (org-export-add-options-to-plist): New function.
31922 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
31924 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31926 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
31929 * org-exp.el (org-export-get-title-from-subtree)
31930 (org-export-as-ascii, org-export-as-html): Make sure the original
31931 region-beginning and region-end are used, even after moving point.
31932 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
31935 * org-remember.el (org-remember-last-stored-marker): New variable.
31936 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
31937 (org-remember-handler): Also use marker to remember
31938 last-stored position.
31940 * org.el (org-goto-marker-or-bmk): New function.
31942 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31944 * org.el (org-file-properties): Rename from `org-local-properties'.
31945 (org-scan-tags): Take file tags into account.
31946 (org-tags-match-list-sublevels): Default changed to t.
31948 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
31950 * org.el (org-update-parent-todo-statistics): New function.
31952 * org-exp.el (org-icalendar-store-UID): New option.
31953 (org-icalendar-force-UID): Option removed.
31954 (org-print-icalendar-entries): IMplement UIDs.
31956 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31958 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
31960 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31962 * org-faces.el (org-column): Document how this face is being used
31963 and why sometimes the background faces shine through.
31965 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
31967 * org-publish.el (org-publish-attachment): Create publishing
31968 directory if it does not yet exist.
31970 * org-table.el (org-calc-default-modes): Change default number
31971 format to (float 8).
31973 * org.el (org-olpath-completing-read): New function.
31974 (org-time-clocksum-format): New option.
31975 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
31977 * org-clock.el (org-clock-display, org-clock-out)
31978 (org-update-mode-line): Use `org-time-clocksum-format'.
31980 * org-colview.el (org-columns-number-to-string):
31981 Use `org-time-clocksum-format'.
31983 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31985 * org-id.el: New file, move from contrib to core.
31987 * org-exp.el (org-icalendar-force-UID): New option.
31989 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31991 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
31992 shifted by one day if there is a date range without an end time.
31994 * org.el (org-try-structure-completion): New function.
31996 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31998 * org.el (org-set-font-lock-defaults): Improve fontification of
32000 (org-insert-item): Handle description lists.
32001 (org-adaptive-fill-function): Improve auto indentation in
32004 * org-exp.el (org-export-as-html, org-export-preprocess-string):
32005 Implement VERSE environment.
32006 (org-export-preprocess-string): Implement the COMMENT
32009 * org-export-latex.el (org-export-latex-preprocess):
32010 Implement VERSE environment.
32012 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32014 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32017 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32019 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32021 * org.el (org-quote-csv-field): New functions.
32023 * org-table.el (org-table-export-default-format): Remove :splice
32024 from default format, we get the same effect by not specifying
32026 (org-table-export): Improve setup, distinguish better between
32027 interactive and non-interactive use, allow specifying the format
32028 on the fly, better protection against wrong file names.
32029 (orgtbl-to-generic): Fix documentation. Do not require :tstart
32030 and :tend when :splice is omitted.
32032 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32034 * org-clock.el (org-clock-select-task): Make sure the selection
32035 letters are 1-9 and A-Z, no special characters.
32037 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32039 * org-exp.el (org-export-htmlize): New group.
32040 (org-export-htmlize-output-type)
32041 (org-export-htmlize-css-font-prefix): New options.
32042 (org-export-htmlize-region-for-paste): New function.
32043 (org-export-htmlize-generate-css): New command.
32045 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32047 * org.el (org-set-visibility-according-to-property): New function.
32048 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32049 and compute the regular expressions, and update font-lock.
32050 (org-property-re): Allow a dash in property names.
32052 * org-archive.el (org-extract-archive-file): Insert the file name
32053 without the path into the format, to allow the location format to
32054 contain a subdirectory.
32056 * org-agenda.el (org-agenda-post-command-hook): If point is at end
32057 of buffer, and the `org-agenda-type' property undefined, use the
32058 value from the character before.
32060 * org.el (org-add-planning-info): Don't let indentation for
32061 would-be timestamp become extra whitespace at the end of headline.
32063 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32065 * org.el (org-remove-double-quotes, org-file-contents):
32068 * org-exp.el (org-infile-export-plist): Also parse the
32069 contents of #+SETUPFILE files, recursively.
32071 * org.el (org-set-regexps-and-options): Also parse the
32072 contents of #+SETUPFILE files, recursively.
32074 * org-exp.el (org-export-handle-include-files): New function.
32075 (org-export-preprocess-string):
32076 Call `org-export-handle-include-files'.
32078 * org.el (org-delete-property-globally)
32079 (org-delete-property, org-set-property): Ignore case during
32081 (org-set-property): Use `org-completing-read' instead of
32084 * org.el (org-complete-expand-structure-template): New,
32085 experimental function.
32086 (org-structure-template-alist): New, experimental option.
32087 (org-complete): Call `org-complete-expand-structure-template'.
32089 2008-06-17 Bastien Guerry <bzg@gnu.org>
32091 * org-export-latex.el (org-export-latex-preprocess):
32092 Add support for blockquotes.
32094 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32096 * org.el (org-read-date-analyze): Catch the case where only a
32099 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32101 * org.el (org-set-font-lock-defaults): Make the description
32104 * org-exp.el (org-export-as-html, org-close-li):
32105 Implement description lists.
32107 2008-06-17 Jason Riedy <jason@acm.org>
32109 * org-table.el (*orgtbl-default-fmt*): New variable.
32110 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32111 when there is no other fmt available.
32113 (orgtbl-to-generic): Allow an explicitly nil :tstart or
32114 :tend to suppress the appropriate string.
32116 (orgtbl-to-orgtbl): New function for translating to another orgtbl
32119 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32121 * org.el (org-read-date-analyze): "." as an alias for "+0" in
32124 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32127 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32130 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32132 * org-clock.el (org-clock-find-position): Don't include notes
32135 * org-archive.el (org-archive-subtree): No longer remove an
32136 extra line after cutting the subtree. `org-cut-subtree' already
32137 takes care of this.
32139 * org-remember.el (org-remember-handler): Only kill the target
32140 buffer if it does not contain the running clock.
32142 * org.el (org-markers-to-move): New variable.
32143 (org-save-markers-in-region, org-check-and-save-marker)
32144 (org-reinstall-markers-in-region): New function.
32145 (org-move-subtree-down, org-copy-subtree): Remember relative
32146 marker positions before cutting.
32147 (org-move-subtree-down, org-paste-subtree): Restore relative
32148 marker positions after pasting.
32150 * org-remember.el (org-remember-clock-out-on-exit): New option.
32151 (org-remember-finalize): Clock out only if the setting in
32152 `org-remember-clock-out-on-exit' requires it.
32153 (org-remember-handler): Do the cleanup in the buffer, to make sure
32154 that the clock marker remains in tact.
32156 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32158 * org-clock.el (org-clock-goto): Widen buffer if necessary.
32159 (org-clock-in): Make sure that also tasks outside the narrowed
32160 region will be clocked in correctly.
32161 (org-clock-insert-selection-line): Widen the buffer so that we can
32162 find the correct task heading.
32164 * org.el (org-base-buffer): New function.
32166 * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32167 and ";" are escaped.
32168 (org-print-icalendar-entries): Also apply
32169 `org-icalendar-cleanup-string' to the headline, not only to the
32172 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
32174 * org-exp.el (org-export-preprocess-hook): New hook.
32175 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32177 * org.el (org-font-lock-hook): New variable.
32178 (org-font-lock-hook): New function.
32179 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32181 ;; Local Variables:
32183 ;; add-log-time-zone-rule: t
32186 Copyright (C) 2008-2014 Free Software Foundation, Inc.
32188 This file is part of GNU Emacs.
32190 GNU Emacs is free software: you can redistribute it and/or modify
32191 it under the terms of the GNU General Public License as published by
32192 the Free Software Foundation, either version 3 of the License, or
32193 (at your option) any later version.
32195 GNU Emacs is distributed in the hope that it will be useful,
32196 but WITHOUT ANY WARRANTY; without even the implied warranty of
32197 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32198 GNU General Public License for more details.
32200 You should have received a copy of the GNU General Public License
32201 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.