Merge from emacs-24; up to r117581
[emacs/old-mirror.git] / lisp / org / ChangeLog
blob2f7c82563b4ec7ec58dfc707c52c85eb3bd2a470
1 2014-10-12  Marco Wahl  <marcowahlsoft@gmail.com>
3         * org-agenda.el (org-get-entries-from-diary): Use
4         `diary-fancy-display' instead of the obsolete
5         `diary-display-hook'.
7 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
9         * ox.el (org-export-async-start): Limit first argument to lambda
10         expressions.
12         * ox-publish.el (org-publish, org-publish-all)
13         (org-publish-current-file): Replace `ignore', per limit stated
14         above.
16 2014-10-12  Christopher Schmidt  <ch@ristopher.com>
18         * org.el (orgstruct-make-binding): Do not use loop in interpreted code.
20 2014-10-12  Mike McLean  <mike.mclean@pobox.com>  (tiny change)
22         * org-agenda.el (org-agenda-time-grid): Change docstring.
24 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
26         * ox.el (org-export-async-start): Allow to use symbols as function.
28 2014-10-03  Achim Gratz  <Stromeko@Stromeko.DE>
30         * ob-sh.el (org-babel-sh-initiate-session): After initiating a
31         session, initialize the marker `comint-last-output-start' since it
32         is going to be used by the ANSI color filter without further
33         checks in Emacs 23 and throws an error.
35         * ob-lilypond.el: Change prefix from `ly-' to
36         `org-babel-lilypond-' throughout.
38         * org-footnote.el: Forward declare `org-element-context',
39         `org-element-property' and `org-element-type'.
41         * org.el: Add forward declarations for a number of functions that
42         the compiler otherwise warns about as potentially undefined at
43         runtime.
45         * ob-core.el: Add comment to forward declaration of
46         'org-src-preserve-indentations'.
48         * ob-exp.el: Require org-src to import
49         'org-src-preserve-indentations'.
51         * ob-haskell.el, ob-python.el: Remove superfluous forward
52         declaration of 'org-src-preserve-indentations', since it gets
53         imported by other requires.
55         * ob-core.el (org-every): Forward declare 'org-every'.
57         * ob-C.el: Require cl during compilation so that lexical-let is
58         known.
60         * org-entities.el: Remove superfluous require of org-macs.
61         Forward declare 'org-toggle-pretty-entities' and
62         'org-pretty-entities'.
64         * ox.el (org-export-get-parent): Move definition of
65         'org-export-get-parent' before first use.  Leave comment at original
66         place of definition.
68         * org.el (org-uniquify): Move definition of 'org-uniquify' before
69         first use.  Leave comment at original place of definition.
71         * ob-tangle.el (org-babel-tangle): When `file-name-directory'
72         returns nil, do not run make-directory.  Remove superfluous when
73         clauses by using short-circuiting `and' instead.
75 2014-10-03  Alex Kosorukoff  <alex@3form.com>  (tiny change)
77         * org-capture.el (org-capture-fill-template): Set `mark-active' to
78         nil.
80 2014-10-03  Bastien Guerry  <bzg@gnu.org>
82         * org-agenda.el (org-agenda-prepare): Reset preset filters when
83         using sticky agendas.
85         * org-agenda.el (org-agenda-get-sexps): Don't add tags as text
86         properties.
88         * org-capture.el (org-capture-fill-template): Take
89         `org-extend-today-until' into account when setting the format time
90         string.
92         * org.el (org-paste-subtree): Fix match subexpression.
94         * org.el (org-fix-ellipsis-at-bol): Delete.
95         (org-mode, org-show-context, org-isearch-end): Don't use
96         `org-fix-ellipsis-at-bol'.
98         * org-agenda.el (org-agenda-filter-apply): Fix setting of
99         `org-agenda-filtered-by-category'.
101         * org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
102         of `org-hidden-keywords'.
104         * org-agenda.el (org-cmp-ts): Fix agenda entry type checking.
106         * org-agenda.el (org-entries-lessp): Fix inactive timestamp
107         comparison.
109         * org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
110         when agenda are sticky.
111         (org-agenda-tag-filter-while-redo): Delete.
112         (org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
113         Remove unused code.
114         (org-agenda-clockreport-mode, org-agenda-set-mode-name): Don't
115         consider tag filters.
117         * org.el (org-fix-ellipsis-at-bol)
118         (org-first-headline-recenter): Use `set-window-start' instead
119         of `recenter'.
121         * org-agenda.el (org-recenter-heading): Delete.
123         * org.el (org-insert-heading): With one universal prefix argument
124         or `org-insert-heading-respect-content' set to `t', always respect
125         the content, i.e. don't insert a list item and don't convert
126         normal lines into headings.  Update docstring.
127         (org-insert-heading-respect-content): Remove unused arg.
128         (org-insert-todo-heading-respect-content): Don't use
129         `org-insert-todo-heading-respect-content', use the second argument
130         of `org-insert-todo-heading' instead.
132         * org-mobile.el (org-mobile-edit): Use only one arg.
134         * org.el (org-overview): Don't call `recenter'.
136         * org-agenda.el (org-agenda-custom-commands-local-options): Fix
137         misquoted values.
139         * org.el (org-property-re): Also match null properties by default.
140         (org-entry-delete): Also delete null properties.
141         (org-read-property-value): Allow the empty string as a new value.
142         (org-delete-property): Throw a message when there is not property
143         to delete.
145         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Fix
146         docstring.
148         * org.el (org-re-property): New parameter `allow-null' to match
149         property with a null value.
150         (org-entry-put): Correctly update a property with a null
151         value.
153         * ox-md.el (org-md-headline): When exporting with a HTML table of
154         contents, add HTML anchors to Markdown headlines.
156         * org.el (org-insert-heading): Don't insert an item when called
157         with two universal prefix arguments.
159         * org-agenda.el (org-agenda-finalize): Remove duplicate check for
160         'org-hd-marker.
162         * org-agenda.el (org-agenda-prepare-window): New parameter
163         `filter-alist' to set the filters correctly when
164         `org-agenda-persistent-filter' is on.
165         (org-agenda-prepare): Use the new parameter for
166         `org-agenda-prepare-window'.
168         * org-compat.el (org-in-invisibility-spec-p): Tiny code cleanup.
169         (org-move-to-column): Only remove '(org-filtered) from
170         `buffer-invisibility-spec'.
172         * org-agenda.el (org-agenda-mode): Add buffer invisibility specs.
173         (org-agenda-filter-hide-line, org-agenda-remove-filter): Set
174         the 'invisible text property to 'org-filtered.
175         (org-agenda-show-new-time): Add the default face to avoid the
176         foreground of the last character on the line to leak into the
177         timestamp notification.
179         * org-agenda.el (org-get-time-of-day): Don't return time string
180         from within links.
182         * org-timer.el (org-timer-value-string): Always return a positive
183         value.  Add docstring.
185         * org-capture.el (org-capture-steal-local-variables): Don't steal
186         `mark-active', which should be nil in the target buffer.
188         * org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.
190         * org.el (org-move-subtree-down): Use `org-end-of-subtree' instead
191         of `outline-end-of-subtree'.
192         (outline-end-of-subtree): Remove advice.
194         * org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely): Use
195         `org-end-of-subtree' instead of `outline-end-of-subtree'.
197         * org-agenda.el (org-cmp-ts): Argument `type' is not optional.
198         Don't quote it.
200         * org-habit.el (org-habit-insert-consistency-graphs): Don't remove
201         filter overlays as we don't use overlays for filters anymore.
203         * org-agenda.el (org-agenda-local-vars): Add
204         `org-agenda-top-headline-filter'.
205         (org-agenda-filter-by-category): Fix syntax.
206         (org-agenda-filter-show-all-top-filter): New function.
207         (org-agenda-filter-by-top-headline)
208         (org-agenda-filter-remove-all): Use the new function.
209         (org-agenda-filter-top-headline-apply): Use a dedicated symbol
210         `top-headline'.
212         * org.el (org-entry-properties): Ensure the special property is
213         not commented out when matched.
215         * org-agenda.el (org-agenda-write): Code cleanup.
216         (org-agenda-mark-filtered-text)
217         (org-agenda-unmark-filtered-text)
218         (org-agenda-fix-tags-filter-overlays-at): Delete.
219         (org-agenda-remove-marked-text): Use the `property' argument
220         instead of hard-coding 'org-filtered.
221         (org-agenda-filter-remove-all): Use `org-agenda-finalize'.
222         (org-agenda-filter-hide-line): Rewrite using text properties
223         instead of overlays.
224         (org-agenda-remove-filter): New function.
225         (org-agenda-filter-show-all-tag)
226         (org-agenda-filter-show-all-cat)
227         (org-agenda-filter-show-all-re): Rewrite using
228         `org-agenda-remove-filter'.
230         * org-attach.el (org-attach-dir): When the property is "inherited"
231         from a variable outside of the file, do not use
232         `org-entry-property-inherited-from' to find the attachment
233         position, assume we need to go back to the current headline.
235         * ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
236         one-dimensional value.
238         * org.el (org-insert-heading): Fix bug when trying to insert a
239         heading when point is before the first headline and not at the
240         beginning of a line.
242         * org-table.el (org-table-eval-formula): Fix conversion of
243         inactive timestamps to active ones.
245         * org.el (org-set-regexps-and-options): Allow
246         `org-complex-heading-regexp-format' to match [/] and [%] cookies
247         when they are both before and after the heading.
249         * org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
250         (org-agenda-max-effort): Fix type strings.
252         * org-capture.el (org-capture-fill-template): Deactivate region
253         while trying to align tags on the current headline.
255         * org-agenda.el (org-agenda-finalize): Filter by top headline if
256         `org-agenda-top-headline-filter' is set.
258 2014-10-03  Bernt Hansen  <bernt@norang.ca>
260         * org-macs.el: Remove restriction when locating markers.
262 2014-10-03  Dmitry Gorbik  <dgorbik@me.com>  (tiny change)
264         * org.el (org-fast-tag-selection): Fix window splitting.
266 2014-10-03  Eric Schulte  <schulte.eric@gmail.com>
268         * ob-screen.el (org-babel-screen-test): Use unpredictable name for
269         temporary file.
271         * ob-screen.el (org-babel-screen-session-write-temp-file): Use
272         unpredictable temp file name, fixes bug#17416.
274 2014-10-03  Ian Kelling  <ian@iankelling.org>
276         * ob-core.el (org-babel-insert-result): Test all list elements
277         against listp and (eq element 'hline) instead of checking just the
278         first.
280 2014-10-03  Konstantin Kliakhandler  <kosta@slumpy.org>  (tiny change)
282         * org-agenda.el (org-agenda-redo): Reapply the filters correctly.
284 2014-10-03  Kyle Meyer  <kyle@kyleam.com>  (tiny change)
286         * ox.el (org-export-show-temporary-export-buffer): Fix typo.
288 2014-10-03  Matt Lundin  <mdl@imapmail.org>
290         * ox-publish.el (org-publish-find-title, org-publish-find-date):
291         Make sure to call org-export-get-environment in copy of buffer if
292         emacs is already visiting. Otherwise, #+bind variables meant for
293         export can be set in live buffers.
295         * org.el (org-agenda-inhibit-startup): fix docstring to reflect
296         default value
298         * ox-publish.el (org-publish-find-title, org-publish-find-date):
299         Fix unnecessary invocations of org-mode with org-inhibit-startup.
301 2014-10-03  Nick Dokos  <ndokos@gmail.com>
303         * org-table.el (org-table-clean-before-export): The regexes match
304         spaces in addition to the special characters that might be used in
305         the first column as special marking characters.  Remove the space
306         from the character class.
308         * ox-ascii.el (org-ascii-superscript): Change _ to ^ in the
309         output.
311 2014-10-03  Nick Dokos  <ndokos@redhat.com>
313         * org-table.el (org-table-show-reference): Call `set-window-start'
314         with the calculated values `min' and `max', not with
315         (point-min) and (point-max).
317 2014-10-03  Nicolas Goaziou  <n.goaziou@gmail.com>
319         * ox-latex.el (org-latex-link): Improve test for unnumbered
320         headlines.
322         * ox-ascii.el (org-ascii--fill-string): Allow filling even when
323         `org-export-preserve-breaks' is non-nil.
325         * org.el (org-N-empty-lines-before-current): Make sure to delete
326         only empty lines, not trailing whitespaces.
328         * ox-html.el (org-html-headline): Make sure even listified
329         headlines have proper anchors so internal links can refer to them.
330         Small refactoring.
332         * org-src.el (org-edit-src-code): Fix regexp.
333         (org-edit-src-exit): Do not remove auto-save timer.  This is
334         handled by the timer itself.
336         * org.el (org-re-property): Fix regexp.  Improve docstring.
338         * org-element.el (org-element-property-drawer-parser)
339         (org-element-node-property-parser): Ignore lines that are not node
340         properties.
341         (org-element-node-property-interpreter): Allow nil properties.
343         * org.el (org-re-property): Fix regexp to match properties with
344         empty values.
346         * org-element.el (org-element-headline-interpreter): Take into
347         consideration `org-odd-levels-only' value.  Small refactoring.
349         * ox-texinfo.el (org-texinfo--get-node): Return a node or anchor
350         name.
351         (org-texinfo--sanitize-content): Fix regexp.
352         (org-texinfo-link): Fix various bugs in link export.
354         * ox-beamer.el (org-beamer-link):
355         * ox-html.el (org-html-link):
356         * ox-latex.el (org-latex-link):
357         * ox-odt.el (org-odt-link): When radio link has no valid
358         target (e.g., this is a subtree export and the radio target is not
359         in the exported subtree), simply return contents.
361         * org.el (org-called-with-limited-levels): Initialize variable.
363         * org-agenda.el (org-agenda-write): Write headings in proper
364         order.
366         * org-element.el (org-element-table-interpreter): Enhance
367         docstring.
369         * ox-md.el (org-md-link): Allow custom link type export function.
371         * ox-texinfo.el (org-texinfo-template): Fix language and encoding
372         case.
374         * ox-md.el (org-md-separate-elements): Outside of lists, preserve
375         blank lines between paragraphs and plain lists.
377         * org-element.el (org-element-normalize-contents): Fix indentation
378         removal when there is an empty line within a verse block.
380         * ox-texinfo.el (org-texinfo--normalize-headlines): Properly add a
381         section to the contents.
383         * ox-texinfo.el (org-texinfo--normalize-headlines): Do not set pre
384         blanks since the value is now hard-coded.
385         (org-texinfo-headline): Force one blank line before contents, when non
386         empty.  Refactoring.
387         (org-texinfo-src-block): Refactor code.  Comply to predicate naming.
389         * ox-texinfo.el (org-texinfo--sanitize-node): Handle
390         " (not)allowed" case.
392         * ox-texinfo.el (org-texinfo-headline): Remove wrong code
393         comments.
395         * ox-texinfo.el (org-texinfo-headline): Remove `not-in-toc'
396         special case for tags.
398         * ox-texinfo.el (org-texinfo-headline): Remove LaTeXism (optional
399         arguments within square brackets).
401         * ox-texinfo.el (org-texinfo-info-process): Fix docstring.
402         (org-texinfo-compile): Do not check for impossible cases (e.g., if the
403         previous variable contains a function).
405         * ox-texinfo.el (org-texinfo-max-toc-depth): Fix docstring.
407         * ox-texinfo.el (org-texinfo--make-option-string,
408         org-texinfo--sanitize-headline,
409         org-texinfo--sanitize-headline-contents): Remove.
411         * ox-texinfo.el (org-texinfo--sanitize-node): "@", "{" and "}"
412         characters are allowed in a node name.  So are "(" and ")" unless
413         "(" starts the name and there is ")" somewhere in the name.  Also
414         trim and collapse whitespace characters.  Renamed from
415         `org-texinfo--sanitize-menu'.
416         (org-texinfo--get-node): Do not sanitize node names over zealously.
417         Ensure returned node names are unique.
418         (org-texinfo-headline): Only add @node command where it makes sense.
420         * ox-texinfo.el (org-texinfo--sanitize-menu)
421         (org-texinfo--sanitize-content): Fix docstrings.
423         * ox-texinfo.el (org-texinfo--normalize-headlines): Make sure a
424         blank line always follows nodes.
426         * ox-texinfo.el (org-texinfo-make-menu): Change signature.  Remove
427         some intermediate functions.  Generate the full master menu when
428         asked.
429         (org-texinfo--build-menu): Use a simpler algorithm.
430         (org-texinfo--format-entries): Fix entries when both node and title
431         are different.
432         (org-texinfo--menu-entries): Renamed from `org-texinfo--generate-menu-list'.
433         (org-texinfo-headline): Move menu handling to next function.
434         (org-texinfo-section): Handle menu for current parent.
435         (org-texinfo--menu-headlines, org-texinfo--generate-detailed): Remove
436         functions.
437         (org-texinfo--normalize-headlines): New function.
439         * ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
441         * ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
442         text for sectioning command.
444         * ox-texinfo.el (org-texinfo--generate-menu-list): ":COPYING: nil"
445         is expected to be equivalent to no COPYING property at all.
447         * ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
449         * ox-texinfo.el (org-texinfo-plain-list): Fix format string.
450         Small refactoring.
452         * ox-texinfo.el (texinfo): Provide new export property.
453         (org-texinfo-template): Use dedicated title for hard copy, when
454         available.
456         * ox-texinfo.el (org-texinfo-headline): Always obey to a non-nil
457         :APPENDIX: property.  Small refactoring.
459         * ox-texinfo.el (org-texinfo-verse-block): Generate somewhat
460         meaningful Texinfo code instead of LaTeX.
462         * ox-texinfo.el (org-texinfo-table): Remove reference to
463         "verbatim" attribute.  Handle table.el tables.  Tiny refactoring.
464         (org-texinfo-table--org-table, org-texinfo-table--table.el-table):
465         Remove functions.
466         (org-texinfo-table-column-widths): Indent code correctly.  Ignore
467         special column, if any.  Add a comment about the limitation on the
468         width computation.
469         (org-texinfo-table-row): Small refactoring.
471         * ox-texinfo.el (texinfo): Do not provide a default value for
472         @setfilename value.
473         (org-texinfo-filename): Remove variable.
474         (org-texinfo-template): Correctly find value for @setfilename command.
475         If none is possible, do not provide the command at all.
477         * ox.el (org-export-to-file): Provide output file name in
478         communication channel, through :output-file property.
480         * ox-texinfo.el (org-texinfo-template): Do not hardcode "Manual"
481         in top node.
483         * ox-texinfo.el (org-texinfo-classes): Change default value.
484         Update docstring.
485         (org-texinfo-template): Insert header string from current class after
486         "@settitle" command.  Always provide "\input texinfo" at the beginning
487         of the output.
489         * ox-texinfo.el (org-texinfo-template): Remove spurious blank
490         lines in output.  Refactor code.
492         * ox-texinfo.el (org-texinfo-template): Fix multi-line subtitles.
494         * ox-texinfo.el (org-texinfo-template): Make sure table of
495         contents are allowed before inserting them.
497         * ox-texinfo.el (org-texinfo-template): Check if copying data is
498         not nil before using it.
500         * ox-texinfo.el (org-texinfo-template): Fix multi-line subauthors.
501         Correctly add email, when provided.  Check if author info is
502         wanted first.
504         * ox-texinfo.el (org-texinfo-node-description-column)
505         (org-texinfo-format-drawer-function): Fix docstrings.
507         * ox-texinfo.el (texinfo): Make sure comments are ignored.
508         (org-texinfo-comment, org-texinfo-comment-block): Remove functions.
510         * ox-texinfo.el (org-texinfo-template): Properly pad @direntry
511         description.
513         * org-element.el (org-element-headline-parser): Add missing
514         `:post-blank' property in docstring.
516         * ox-latex.el (org-latex-table-scientific-notation): Set
517         appropriate value.
518         (org-latex-listings-options): Fix docstring.
520         * ox.el (org-export-raw-special-block-p): New function.
522         * org-element.el (org-element-link-parser): Properly handle
523         multi-line links according to RFC 3986 when enclosed within square
524         brackets.
526         * org-element.el (org-element-parse-secondary-string): Clone all
527         local variables from current buffer before parsing a secondary
528         string.  Small refactoring.
529         (org-element-object-variables): Remove variable.
531         * ox-odt.el (org-odt--format-paragraph): Change signature to
532         include info.
533         (org-odt-footnote-reference, org-odt-paragraph): Apply signature
534         change.
536         * org-clock.el (org-clocktable-indent-string): Use "\emsp" instead
537         of "\__", which is not supported anymore since Org 8.0.
539         * ox-odt.el (org-odt--paragraph-style): New function.
540         (org-odt--format-paragraph): Use new function to get proper style
541         to apply.
543         * org-element.el (org-element--current-element): Fix regexp.
545         * org-element.el (org-element--current-element): Fix regexp
546         matching latex environments.  Discrepancy with regexp used in
547         `org-element-latex-environment-parser' introduced matching errors.
549         * ox-ascii.el (org-ascii--table-cell-width): Correctly export
550         tables with width cookies.
552         * org.el (org-insert-heading): Fix error when inserting a headline
553         before first headline, with point not at bol.  Remove source block
554         check for consistency with behavior after first headline.  Tiny
555         fix to docstring.
557         * org.el (org-scan-tags): Fix typo in docstring.
559         * ox.el (org-export--get-inbuffer-options): Return the empty
560         string instead of nil when TITLE keywords has no value.
561         (org-export--get-buffer-attributes): Do not set :title property
562         early.
563         (org-export--get-global-options): Do not ignore anymore nil values.
564         Small refactoring.
565         (org-export-as): Correctly set :title here.
567         * org-list.el (org-list-repair): Fix typo in docstring.
569         * ox-ascii.el (org-ascii--current-text-width): Tiny fix.
571         * ox-org.el (org-org-section): Tiny refactoring.  Use appropriate
572         property.
574         * ox-org.el (org-org-headline): Ignore footnote sections.
575         (org-org-section): New function.
577         * ox-beamer.el (org-beamer-select-environment): Ignore persistent
578         tags when displaying environments.
580         * ox-ascii.el (org-ascii-indented-line-width): Update docstring.
581         (org-ascii-paragraph): Do not apply indentation to the very first line
582         of a section.
584         * ox-latex.el (org-latex-inlinetask): Skip body if contents are
585         empty.
587         * ox-html.el (org-html-standalone-image-p): Ensure paragraph
588         contains at least a link before return a non-nil value.  Clarify
589         docstring.
591         * ox.el (org-export-data): Always return a string, as specified
592         by the docstring.
594         * ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
595         stack overflow in regexp matcher on very long lines.
597         * org-element.el (org-element-timestamp-parser): Fix docstring.
599         * ox-icalendar.el (org-icalendar-include-sexps,
600         org-icalendar-blocked-headline-p): Fix docstrings.
601         (org-icalendar-clear-blank-lines): Fix docstring and regexp.
603         * ox-icalendar.el (org-icalendar-entry): Use
604         `org-icalendar-with-timestamps'.
606 2014-10-03  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
608         * org.el (org-cycle-internal-local): Don't show a trailing
609         character when cycling a subtree that ends with a non-newline
610         character at the end of the buffer or the narrowed region.
612 2014-10-03  Sebastien Vauban  <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
614         * ox-ascii.el (org-ascii--box-string): Choose more universal
615         Unicode characters for boxquote corners.
617 2014-10-03  Marco Wahl  <marcowahlsoft@gmail.com>  (tiny change)
619         * org-agenda.el (org-agenda-bulk-mark)
620         (org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all): Fix
621         org-agenda-bulk-mark-all when time-grid is shown.
623 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
625         * org-compat.el (activate-mark): Set transient-mark-mode buffer-locally.
627 2014-06-22  Mario Lang  <mlang@delysid.org>
629         * org-list.el (org-list-insert-item): The the -> the.
631         * org-bibtex.el (org-bibtex-fields): The the -> the.
633 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
635         * ob-core.el (org-babel-insert-result): Prefer point-min-marker
636         and point-max-marker.
637         * org-mouse.el (org-mouse-do-remotely): Prefer point-marker
638         to copy-marker of point.
640 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
642         * org-compat.el (org-font-lock-ensure): New function.
643         * ox-odt.el (org-odt-do-format-code):
644         * ox-html.el (org-html-fontify-code):
645         * org.el (org-fontify-like-in-org-mode):
646         * org-src.el (org-src-font-lock-fontify-block):
647         * org-clock.el (org-clock-get-clocktable): Use it.
648         * ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
649         from Elisp.
651 2014-05-12  Eric Schulte  <eric.schulte@gmx.com>
653         * ob-screen.el (org-babel-screen-session-write-temp-file)
654         (org-babel-screen-test):
655         Use unpredictable names for temporary files.  (Bug#17416)
657 2014-04-22  Aaron Ecay  <aaronecay@gmail.com>
659         * org-src.el (org-edit-src-exit): Place an undo boundary before
660         writing changes back to parent buffer.
662 2014-04-22  Achim Gratz  <Stromeko@Stromeko.DE>
664         * ob-gnuplot.el (org-babel-gnuplot-process-vars):
665         `org-babel-gnuplot-table-to-data´ expects a table, so we need to
666         construct one when Babel hands us a vector.
668         * ob-ref.el (org-babel-ref-parse):
669         If `org-babel-current-src-block-location' is a marker, it can be from
670         another buffer, use marker-position instead in this case.
672 2014-04-22  Arun Persaud  <apersaud@lbl.gov>  (tiny change)
674         * org-src.el (org-edit-src-exit): Don't add indentation on empty lines.
676 2014-04-22  Bastien Guerry  <bzg@gnu.org>
678         * org.el (org-insert-heading): Fix behavior when point is at the
679         beginning of a heading or a list item.  Enhance docstring.
681         * ox-html.el (org-html-infojs-install-script): Don't install
682         infojs scripts when #+INFOJS_OPT: is empty.
684         * org.el (org-mode): Fix the use of `org-*-element' functions for
685         C-M-a and C-M-e but fix C-M-e.
687         * org-agenda.el (org-agenda-search-view): Fix tag.
689         * org.el (org-check-before-invisible-edit): Don't just cycle, show
690         the subtree, as cycling may leave the current heading folded.
691         (org-contextualize-validate-key): Fix wrong test.
693         * org-bibtex.el (org-bibtex-headline): Don't throw an error when
694         trying to add a keyword field to a BibTeX entry that is not known
695         by BibTeX or defined by the user.
696         (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
698         * ox-latex.el (org-latex-src-block): Fix wrong propagation of
699         labels and captions when using the listings environment.
701         * org.el (org-sort-entries): Fix the number of blank lines to
702         keep for the last entry to sort.
704         * org-clock.el (org-clock-put-overlay): Fix display when
705         `org-indent-mode' is on.
707         * org.el (org-sort-entries): Allow to sort by clocking time.
709         * org-agenda.el (org-agenda-finalize): Apply all filters
710         correctly.
712         * org.el (org-update-dblock): Use `save-excursion' instead of
713         `save-window-excursion' so that blocks can edit other windows and
714         change the window layout.
716         * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
717         (org-agenda-dim-blocked-tasks): Make overlays intangible.
718         (org-agenda-show-new-time): Fix bug when deleting a timestamp
719         right after changing it.
720         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
721         (org-agenda-get-sexps, org-agenda-filter-by-regexp)
722         (org-agenda-filter-top-headline-apply): Fix indentation.
724         * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
725         to edit/move as in a table.
727         * org-agenda.el (org-agenda-show-new-time): Don't use
728         `move-beginning-of-line' as it is slower and not needed.
730         * org-compat.el (org-move-to-column): Temporarily set
731         `buffer-invisibility-spec' more accurately.
733         * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
734         underlining instead of \uline{...} as requiring the hyperref
735         package makes \uline{...} unusable on headline.
737         * org.el (org-latex-default-packages-alist): Add the "soul"
738         package.
740         * org.el (org-refresh-properties): Don't add the property to
741         the whole subtree, only to the part between the beginning of
742         the headline and the end of the "content", before any other
743         headline.  This fix a bug about properties displayed as
744         inherited in the agenda, where Org properties are checked
745         against text properties.
747         * ox-latex.el (org-latex--text-markup): Replace newlines by
748         whitespaces in \verb constructs.
750         * org-agenda.el (org-agenda-filter-hide-line): Hide from the
751         beginning of the line to the beginning of the next line.
752         (org-agenda-show-new-time): Use `move-beginning-of-line' and
753         `move-end-of-line'.
754         (org-agenda-drag-line-forward): Adapt to the new definition of
755         hidden filtered lines.
757         * org-compat.el (org-move-to-column): Always ignore invisible
758         text in agenda buffer, and when there is both a bracket link
759         and '(org-link) as a member of `buffer-invisibility-spec'.
760         Add a docstring.
762         * org.el (org-align-tags-here): Add docstring and remove useless
763         arguments when calling `org-move-to-column'.
765         * org-table.el (org-table-copy-down)
766         (org-table-find-dataline, org-table-move-row)
767         (org-table-insert-hline, org-table-kill-row):
768         * org-agenda.el (org-agenda-next-item)
769         (org-agenda-previous-item, org-agenda-todo)
770         (org-agenda-priority, org-agenda-show-new-time)
771         (org-agenda-clock-in, org-agenda-clock-out): Remove useless
772         arguments when calling `org-move-to-column'.
774         * org.el (org-refile): Fix calling with a numeric prefix argument
775         of 3 to refile and keep.
777         * org-clock.el (org-clock-get-table-data): When :link is `t' in
778         the clocktable parameters, bracket links in the clocktable should
779         only contain their description, other C-c C-o will try to open the
780         bracket link at point instead of the headline.
782         * org-agenda.el (org-agenda-todo): Always restore the window state
783         after `org-agenda-change-all-lines' has been called.
784         (org-agenda-open-link): Don't throw an error when trying to open a
785         link when the point is on a place that is not associated with a
786         buffer.
788         * ox-latex.el (org-latex-link): Escape `%' characters.
790         * org.el (org-entry-get-with-inheritance): Remove wrong quote.
791         (org-entry-get): Only try to combine file properties with local
792         properties when the property drawer contains such local property,
793         not when the property drawer exists.
795         * ox-latex.el (org-latex-link):
796         * ox-html.el (org-html-link):
797         * ox-beamer.el (org-beamer-link): Fix links to radio targets.
799         * ox-ascii.el (org-ascii-link): For links to a radio target, use
800         the link, not the target.
802         * org.el (org-do-emphasis-faces): Explicitly prevent nested
803         emphasis.
804         (org-insert-heading): Don't remove whitespaces following an empty
805         headline.
807         * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
808         nil.
810         * org.el (org-store-link): Ensure desc is not nil before matching
811         a regexp against it.  Fall back on an empty string when no
812         description is available.
814         * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
815         `org-agenda-buffer-name'.
817         * org-capture.el (org-capture-finalize): Ensure to widen the
818         buffer when the target buffer is not initially narrowed.
820         * org-compat.el (org-move-to-column): Fix bug about ignoring
821         bracket links visibility status in tables with S-RET.
823         * org-src.el (org-edit-src-find-region-and-lang): Check if we are
824         in a table.el table last.
826         * org.el (org-delete-property): Don't suggest to delete the
827         CATEGORY property when the category is not explicitely set in the
828         property drawer.  Also enforce matching when completing.
829         (org-insert-heading): Fix regression: with two universal prefixes,
830         insert heading at the end of the subtree.
831         (org-insert-todo-heading): Bugfix: only enforce the first TODO
832         state when arg is '(4).
834         * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
836         * org.el (org-contextualize-validate-key): Fix bug: perform the
837         check even when (buffer-file-name) returns `nil'.
839         * org-colview.el (org-columns-display-here): Let-bind `fm'.
841         * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
842         and `org-code' for ~text~.
843         (org-open-link-marker): Fix typo in docstring.
845         * org-colview.el (org-columns-display-here): Fix the column
846         view for numbers with a format specifier (e.g. {+; %5.1f}).
848         * org-src.el (org-edit-src-code): Throw a warning instead of
849         an error when loading the mode fails, otherwise the user is
850         left with unusable buffers.
852         * org-table.el (org-table-copy-down)
853         (org-table-find-dataline, org-table-move-row)
854         (org-table-insert-hline, org-table-kill-row):
855         Use `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
856         that abbreviated rows don't interfer with setting the cursor back
857         at the correct position.
859         * org.el (org-agenda-prepare-buffers): Use `save-excursion'
860         instead of `save-window-excursion'.
861         (org-file-contents): Return an empty string instead of the
862         message.
863         (org-open-at-point): Fix bug when opening a plain link followed by
864         a bracket link.
865         (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
866         formulas in tables.
867         (org-refile--get-location): New internal function using a wider
868         set of possible refile locations.
869         (org-refile-get-location): Use it.
870         (org-refile): Fix bug when refiling the last subtree of the
871         buffer: don't leave out the last character.
872         (org-sort-entries): Restore the point location when there is
873         nothing to sort.
875         * org-table.el (org-table-field-info): Throw a user error when not
876         at a table.
878         * org-agenda.el (org-agenda-drag-line-forward):
879         Call `org-agenda-mark-clocking-task' when done.
880         (org-agenda-mark-clocking-task): Small refactoring.
882         * org-compat.el (org-set-transient-map): Alias pointing at
883         `set-transient-map' if defined, at `set-temporary-overlay-map'
884         otherwise.
886         * org-agenda.el (org-agenda-next-item)
887         (org-agenda-previous-item, org-agenda-toggle-archive-tag)
888         (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
889         (org-agenda-clock-out): Put the cursor back on the correct
890         column, when possible.
891         (org-agenda-todo): When `org-clock-out-when-done' is `t', also
892         remove the current clock overlay.
894         * org.el (org-format-latex-options): Fix docstring.
896         * ox.el (org-export--get-subtree-options): When using the headline
897         as a title for a subtree export, only take the true heading, no
898         TODO keyword, no priority cookie, no tag.
900         * org.el (customize-package-emacs-version-alist): Fix Org version
901         for Emacs 24.4.
903         * org.el (org-demote): Ignore invisible text when aligning tags.
904         (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
905         invisible text when restoring the cursor to the correct column.
907         * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
908         properties before formatting the results.
910         * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
911         docstring.
912         (org-agenda-reapply-filters): New function.
913         (org-agenda-drag-line-forward): Rewrite to fix a bug when used
914         in filtered agendas.
915         (org-agenda-drag-line-backward): Rewrite using
916         `org-agenda-drag-line-forward'.
918         * ob-table.el (org-sbe): Rename from `sbe'.
920         * org.el (org-store-link): When a link has been stored, always
921         returns it.
923         * ob-python.el (org-babel-python-var-to-python): Fix code typo.
925         * org-entities.el (org-entities-help): Prevent the display of
926         pretty entities, as this help buffer is meant to list literal
927         strings, not utf-8 representations.
929 2014-04-22  Benjamin Drieu  <bdrieu@april.org>
931         * org.el (org-store-link): Fix selection of the function to store
932         the link.
934 2014-04-22  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
936         * org.el (org-entry-get-with-inheritance): Temporarily let-bind
937         `org-file-properties', `org-global-properties' and
938         `org-global-properties-fixed' to nil before calling
939         `org-entry-get' on entries up the hierarchy from the queried
940         entry.
942 2014-04-22  Justin Gordon  <justin.gordon@gmail.com>
944         * ox-md.el (org-md-separate-elements): Fix blank line insertion
945         between elements.
947         * ox-md.el (org-md-inner-template): New function.
949 2014-04-22  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
951         * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
952         of unknown BibTeX entries.
954 2014-04-22  Markus Hauck  <markus1189@gmail.com>  (tiny change)
956         * org-agenda.el (org-agenda-get-scheduled):
957         If `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
958         'repeated-after-deadline, still show tasks without any deadline
960 2014-04-22  Michael Brand  <michael.ch.brand@gmail.com>
962         * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
963         lines with `forward-line'.
965 2014-04-22  Michael Weylandt  <michael.weylandt@gmail.com>  (tiny change)
967         * ox-latex.el (org-latex-export-to-latex): Downcase the language
968         name when using minted highlighting for src block exports.
970 2014-04-22  Nick Dokos  <ndokos@gmail.com>
972         * org-mobile.el (org-mobile-create-index-file): delete :grouptags
973         entries from tags list when creating the org-mobile index file.
975 2014-04-22  Nicolas Goaziou  <n.goaziou@gmail.com>
977         * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
978         standards.
980         * org.el (org-sparse-tree): Fix code typo.  Small refactoring.
982         * ox-latex.el (org-latex-link):
983         * ox-html.el (org-html-link):  Do not expand absolute file names
984         and do not try to fix hierarchy part, as it is already taken care of
985         at the parser level.
987         * ox-md.el (org-md-link): Ditto.  Also fix absolute file names.
989         * ox-odt.el (org-odt-link):
990         * ox-man.el (org-man-link):
991         * ox-texinfo.el (org-texinfo-link):
992         * org-element.el (org-element-link-parser): Fix ill-defined "file"
993         type links.  Expand absolute file names in the process.
995         * org.el (org-make-link-regexps): Use `regexp-opt' instead of
996         `mapconcat' and `regexp-quote'.
998         * ox-html.el (org-html-link):
999         * ox-latex.el (org-latex-link):
1000         * ox-man.el (org-man-link):
1001         * ox-odt.el (org-odt-link):
1002         * ox-html.el (org-html-link):
1003         * ox-latex.el (org-latex-link):
1004         * ox-man.el (org-man-link):
1005         * ox-odt.el (org-odt-link):
1006         * ox-texinfo.el (org-texinfo-link): Append "//" after some link
1007         types.
1009         * ox-md.el (org-md-link):
1010         * org.el (org-make-link-regexps): Allow optional double slashes
1011         after type.  Small refactoring.
1013         * org-element.el (org-element-headline-parser): Tiny refactoring.
1015         * org-element.el (org-element-headline-parser): Correctly parse
1016         blank lines after a headline.
1018         * org-element.el (org-element-table-cell-parser)
1019         (org-element-table-cell-successor): Recognize cell even when last
1020         vertical bar is missing.
1022         * ox-md.el (org-md-example-block): handle switches and references
1023         in source blocks.
1025         * org.el (org-latex-packages-alist)
1026         (org-latex-default-packages-alist): Update docstrings.
1028         * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
1029         uniquifying links in section.
1031         * ox-odt.el (org-odt-template): Ignore blank titles.
1033         * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
1034         "#").
1036         * ox-ascii.el (org-ascii-link):
1037         * ox-beamer.el (org-beamer-link):
1038         * ox-html.el (org-html-link):
1039         * ox-latex.el (org-latex-link):
1040         * ox-md.el (org-md-link):
1041         * ox-odt.el (org-odt-link): Update radio target export according
1042         to recent changes.
1044         * org-element.el (org-element-all-successors)
1045         (org-element-object-restrictions): Prioritize `link' over other
1046         successors in order to find radio links starting with another
1047         syntax object (e.g., an entity).  Also allow text markup within
1048         radio targets.
1049         (org-element-link-parser): Add contents to radio targets.
1051         * org.el (org-make-target-link-regexp): Fix regexp so it can match
1052         targets starting with an Org object (e.g., an entity).
1053         (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
1054         within a radio target.
1056         * org.el (org-mode): Change "\" and "~" characters syntax from
1057         `punctuation' to `symbol' so they are on par with other characters
1058         used in Org syntax (e.g., "/", "*"...).
1060         * ox-beamer.el (org-beamer-publish-to-pdf):
1061         * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
1062         generated in the same directory as the ".org" file.
1064         * ox-latex.el (org-latex-headline): Hard-code "\underline" in
1065         sections because "\uline" ("ulem" package) returns an error and
1066         "\ul" ("soul" package) doesn't support chinese characters.
1068         * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
1069         between radio targets and radio links.
1071         * org-element.el (org-element-link-parser): "radio" links have
1072         their path downcased to avoid introducing case mismatch with their
1073         relative radio target.  With this change it is also necessary to
1074         add contents to them, since `:path' property no longer matches
1075         real value of the link.
1076         (org-element-radio-target-parser): Downcase value as explained
1077         above.  Store the initial value in a new `:raw-value' property.
1079         * org-element.el (org-element-context): Fix parsing of bold
1080         objects at the beginning of a headline.
1082         * org-element.el (org-element-context): Fix timestamps parsing.
1084         * ox-beamer.el (org-beamer-item): Insert the export snippet right
1085         after the first \item, not all of them.
1087         * org-element.el (org-element--list-struct): Fix regexp.
1089         * org-element.el (org-element-inlinetask-parser): Fix parsing when
1090         regular and degenerate inlinetasks are mixed in the section.
1092         * ox-md.el (org-md-link): Generate md links to other Org files
1093         instead of html links.  Do not confuse caption and alt-text.
1094         Provide "img" as default alt-text.
1096         * org-element.el (org-element-normalize-contents): Do not ignore
1097         empty lines when an object follows.
1098         (org-element-interpret-data): Do not remove properties by
1099         side-effect when interpreting a string, as it also removes them
1100         from the parse tree, making the string unusable without its
1101         :parent property.
1103         * ob-exp.el (org-babel-exp-process-buffer): Also check
1104         `org-src-preserve-indentation' to know when to preserve indentation.
1105         (org-babel-exp-code-template): Include switches in template.
1106         (org-babel-exp-code): Provide %switches placeholder.
1108         * ox-latex.el (org-latex-plain-list): Do not automatically
1109         enclose value for :options attribute within square brackets.
1110         Instead, append them verbatim next to the block name, as special
1111         blocks do.
1113         * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
1114         flags.
1115         (org-babel-exp-process-buffer): Make processing more robust when
1116         results are inserted before source block or when source block is
1117         followed by multiple blank lines.
1119         * ox.el (org-export-insert-default-template): Only insert
1120         keywords and options relatives to the selected back-end.
1121         Ignore those relatives to its parent in the case of a derived back-end.
1123         * ox-beamer.el: Remove unnecessary package definitions in default
1124         class.
1126         * ox-latex.el (org-latex-headline, org-latex-item): Fix items
1127         starting with a square bracket.
1129         * org.el (org-mode-restart): Fix turning off `org-indent-mode'
1130         when necessary.
1131         (org-get-previous-line-level): Do not call `org-current-level'
1132         twice unless necessary.  Also, avoid using `line-number-at-pos'
1133         when the information needed is to know if point is in the first
1134         line of the visible part of the buffer.
1136         * ob-core.el (org-babel-get-inline-src-block-matches): Do not
1137         compute line number if all is needed is to know if we're on the
1138         first one.
1140         * ox-md.el (org-md-item): Do not return an error when exporting
1141         an empty item.
1143         * ox-beamer.el (org-beamer-select-environment): Function doesn't
1144         work if fast tag selection is disabled, so make sure it is always
1145         on, independently on user's configuration.
1147 2014-04-22  Nikolai Weibull  <now@disu.se>  (tiny change)
1149         * org.el (org-mode): Add guard around set-face-foreground.
1151 2014-04-22  Rasmus  <w530@pank.eu>
1153         * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
1155 2014-04-22  Rick Frankel  <rick@rickster.com>
1157         * ox-html.el (org-html-link): Unescape org-escaped links an
1158         re-escape for html (browser).
1160 2014-04-22  Sacha Chua  <sacha@sachachua.com>
1162         * org.el (org-refresh-properties): Don't throw an error when
1163         reaching the end of the buffer.
1165 2014-04-22  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1167         * org-bibtex.el (org-bibtex-read): Check string length before
1168         using aref.
1170 2014-04-22  Yasushi SHOJI  <yashi@atmark-techno.com>
1172         * ox-ascii.el (org-ascii--current-text-width): Convert `length'
1173         to `string-width'.
1174         (org-ascii--build-title, org-ascii--build-toc)
1175         (org-ascii--list-listings, org-ascii--list-tables)
1176         (org-ascii-template--document-title)
1177         (org-ascii-inner-template, org-ascii-format-inlinetask-default)
1178         (org-ascii-format-inlinetask-default, org-ascii-item
1179         (org-ascii--table-cell-width, org-ascii-table-cell)
1180         (org-ascii--current-text-width): Likewise.
1182 2014-02-25  Glenn Morris  <rgm@gnu.org>
1184         * org-version.el (org-odt-data-dir):
1185         Remove incorrect, duplicate definition.  (Bug#16734)
1187 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1189         Spelling fixes.
1190         * org-irc.el (org-irc-ellipsify-description): Rename from
1191         org-irc-elipsify-description.  All uses changed.
1193 2013-01-07  Bastien Guerry  <bzg@gnu.org>
1195         * org-clock.el (org-clock-cancel-hook)
1196         (org-clock-leftover-time): Fix typo in docstring.
1198         * ox-odt.el (org-odt--frame): Add a draw:name property to the
1199         draw:frame tag.
1200         (org-odt-format-label): Don't use short-caption at all.
1202         * org-rmail.el (org-rmail-follow-link): Don't raise an error when
1203         no article is matched.
1205         * org.el (org-set-tags): Ignore invisible text when restoring
1206         cursor position.
1207         (org-refile-get-location): Check for a refile position when the
1208         position is not nil, otherwise allow to create the parent node if
1209         the user requests it.
1210         (org-refile-allow-creating-parent-nodes): Fix typo in
1211         docstring.
1212         (org-entry-get): Minor docstring enhancement.
1213         (org-set-startup-visibility): Bugfix.
1214         (org-shiftcontrolup, org-shiftcontroldown):
1215         When `org-support-shift-select' is not `nil', let-bind it to nil if
1216         point is on a clock log.  Otherwise throw an error.
1218         * ob-lob.el (org-babel-lob-files): Fix custom type.
1219         (org-babel-lob-ingest): Small docstring fix.
1221         * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
1222         `later than any date' instead of `later than today'.
1224         * org.el (org-do-emphasis-faces): Handle false positives by
1225         restarting the re-search one char after the beginning of the
1226         match, not one char before its ending.
1227         (org-entry-put): Check that the value provided is a string.  If it
1228         is nil, convert it to the empty string.
1230         * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
1231         instead of list as the defcustom type.
1233         * ox.el (org-export-with-creator):
1234         * org.el (org-loop-over-headlines-in-active-region)
1235         (org-mouse-1-follows-link, org-provide-todo-statistics):
1236         * org-agenda.el (org-agenda-custom-commands-local-options)
1237         (org-agenda-start-with-log-mode)
1238         (org-agenda-show-inherited-tags): Don't quote const values.
1240         * ox-texinfo.el (org-texinfo-def-table-markup):
1241         * org-inlinetask.el (org-inlinetask-show-first-star):
1242         * ob-maxima.el (org-babel-maxima-command): Add type.
1244         * org-table.el (org-table-fix-formulas): Handle multiple
1245         #+tblfm: lines.
1247         * ox.el (org-export-to-file): Fix typo in docstring.
1249         * org.el (org-self-insert-command)
1250         (orgtbl-self-insert-command): Change the value of the
1251         `delete-selection' property to allow other commands like
1252         `electric-pair-will-use-region' to be run before deletion.
1254         * org-attach.el (vc-git): Require.
1255         (org-attach-commit): Check whether git is installed.
1257 2013-01-07  Nicolas Goaziou  <n.goaziou@gmail.com>
1259         * ox-icalendar.el (org-icalendar--combine-files): Make sure
1260         anniversaries do not end up in *Message* buffer instead of the ICS
1261         file.
1263         * ox-html.el: Clean up "FIXME" comments.
1265         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
1266         Fix docstring.
1268         * ox.el (org-export-smart-quotes-regexps): Fix smart quote
1269         detection when it is followed by an open parenthesis syntax class.
1271         * org-element.el (org-element-inline-babel-call-successor):
1272         Use original regexp to stay up-to-date with Babel changes.
1273         (org-element--affiliated-re): Fix affiliated keyword regexp.
1275         * ox-org.el (org-org-identity): Since back-end specific keywords
1276         are stripped from output, also remove attr_backend keywords.
1277         (org-babel-exp-process-buffer): Fix duplicate evaluation with
1278         :wrap src.
1279         (org-babel-exp-non-block-elements): Remove function.
1281 2013-01-07  Ted Wiles  <thewiles@wharton.upenn.edu>  (tiny change)
1283         * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
1284         not just "TODO".
1286 2013-01-07  Miguel Ruiz  <rbenit68@yahoo.es>  (tiny change)
1288         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
1289         typo.
1291 2013-01-07  Vladimir Lomov  <lomov.vl@gmail.com>  (tiny change)
1293         * ox-html.el (org-html-style-default): New classes caption.t-above
1294         and caption.t-bottom.
1295         (org-html-table): Use new classes.
1297 2013-12-23  Chong Yidong  <cyd@gnu.org>
1299         * org.el (orgstruct-make-binding): Call set-transient-map instead
1300         of old name set-temporary-overlay-map.
1302 2013-12-06  Achim Gratz  <Stromeko@Stromeko.DE>
1304         * org-crypt.el: Declare `epg-context´.
1305         (org-encrypt-string): Correct indentation.
1307         * org.el (org-version): Replace `_version´ by `version1´.
1309 2013-12-06  Alexander Vorobiev  <alexander.vorobiev@gmail.com>  (tiny change)
1311         * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
1312         to get the clipboard data under Windows.
1314 2013-12-06  Bastien Guerry  <bzg@gnu.org>
1316         * ox.el (org-export-with-sub-superscripts):
1317         * org.el (org-use-sub-superscripts): Fix version and enhance
1318         docstring again.
1320         * ox.el (org-export-with-sub-superscripts):
1321         * org.el (org-use-sub-superscripts): Enhance docstrings.
1323         * org-macs.el (org-autoload): Delete.
1325         * org-docview.el ("docview"): Fix declarations and require
1326         doc-view directly.
1328         * org-id.el (org-id-copy)
1329         (org-id-get-with-outline-path-completion)
1330         (org-id-get-with-outline-drilling, org-id-new):
1332         * org-colview.el:
1333         (org-colview-initial-truncate-line-value)
1334         (org-columns-open-link, org-string-to-number):
1335         * org-clock.el:
1336         (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
1337         * org-archive.el (org-get-local-archive-location):
1338         * org-agenda.el (org-agenda-todo-custom-ignore-p):
1339         Autoload.
1341         * org.el (org-return-follows-link):
1342         * ob-python.el (org-babel-python-command): Don't use :set.
1344         * ox-odt.el (org-odt-content-template-file): Fix version.
1346         * ox-texinfo.el (org-texinfo-filename): Fix default value.
1347         (org-texinfo-format-headline-function): Use 'ignore as the
1348         default value.
1349         (org-texinfo-format-drawer-function): Use a function as the
1350         default value.  Update docstring.
1351         (org-texinfo-drawer): Always use
1352         `org-texinfo-format-drawer-function' as it is now a function
1353         by default.
1354         (org-texinfo-headline):
1355         Compare `org-texinfo-format-headline-function' against 'ignore.
1356         (org-texinfo-inlinetask):
1357         Compare `org-texinfo-format-inlinetask-function' against 'ignore.
1359         * ox-odt.el (org-odt-format-drawer-function): Use a function as
1360         the default value.  Update docstring.
1361         (org-odt-format-headline-function)
1362         (org-odt-format-inlinetask-function): Fix default value.
1363         (org-odt-drawer): Always use `org-odt-format-drawer-function'
1364         as it is now a function by default.
1365         (org-odt-format-headline--wrap):
1366         Compare `org-odt-format-headline-function' against 'ignore.
1368         * ox-latex.el (org-latex-format-drawer-function): Use a function
1369         as the default value.  Update docstring.
1370         (org-latex-format-inlinetask-function): Fix default value.
1371         (org-latex-drawer): Always use
1372         `org-latex-format-drawer-function' as it is now a function by
1373         default.
1374         (org-latex-inlinetask):
1375         Compare `org-latex-format-inlinetask-function' against 'ignore.
1377         * ox-html.el (org-html-format-drawer-function): Use a function as
1378         the default value.  Update docstring.
1379         (org-html-format-headline-function)
1380         (org-html-format-inlinetask-function): Fix default value.
1381         (org-html--format-toc-headline)
1382         (org-html-format-headline--wrap):
1383         Compare `org-html-format-headline-function' against 'ignore.
1384         (org-html-inlinetask):
1385         Compare `org-html-format-inlinetask-function' against 'ignore.
1387         * ox-ascii.el (org-ascii-format-drawer-function): Use a
1388         function as the default value.  Update docstring.
1389         (org-ascii-drawer): Always use
1390         `org-ascii-format-drawer-function' as it is now a function by
1391         default.
1392         (org-ascii-format-inlinetask-default): New function.
1393         (org-ascii-format-inlinetask-function):
1394         Use `org-ascii-format-inlinetask-default' as the default.
1396         * org.el (org-mouse-1-follows-link): Use :set to set the default
1397         value.  Update custom type.
1398         (org-log-note-headings): Fix order or list items in the custom
1399         type.
1400         (orgstruct-heading-prefix-regexp): Use an empty string as the
1401         default value.  Use 'regexp as the custom type.
1402         (orgstruct-make-binding): Tiny docstring enhancement.
1403         Assume `orgstruct-heading-prefix-regexp' is a string.
1405         * org-agenda.el (org-agenda-search-view-max-outline-level):
1406         Set default value to 0.  Update docstring.
1407         (org-agenda-deadline-leaders): Fix custom type.
1408         (org-search-view):
1409         Assume `org-agenda-search-view-max-outline-level' is a number.
1411         * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
1413         * ob-python.el (org-babel-python-mode): Use :set to set the
1414         default value.
1415         (org-babel-python-None-to): Fix custom type.
1417         * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
1418         (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
1419         string.
1421         * ob-latex.el (org-babel-latex-htlatex): Fix default value.
1422         (org-babel-latex-htlatex-packages): Fix custom type.
1423         (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
1424         string.
1426         * ox-odt.el (org-odt-display-outline-level): Fix version.
1428         * ox-odt.el (org-odt-inline-formula-rules)
1429         (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
1430         and package-version.
1432         * ox-html.el (org-html-format-drawer-function)
1433         (org-html-format-headline-function)
1434         (org-html-format-inlinetask-function)
1435         (org-html-creator-string): Add version and package-version.
1437         * ox-html.el (org-html-text-markup-alist): Fix version.
1439         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1441         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1443         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
1444         let-binding.
1446         * ob-table.el (sbe): Move debug declaration.
1448         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1450 2013-12-06  Nicolas Goaziou  <n.goaziou@gmail.com>
1452         * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
1453         object, look for something to do at a higher level instead of
1454         bailing out.
1456         * ox-html.el (org-html-format-latex): Add an argument.  Ensure
1457         latex header is the same as specified in the original buffer when
1458         exporting a LaTeX fragment or environment.
1459         (org-html-latex-environment, org-html-latex-fragment):
1460         Apply signature change.
1462         * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
1463         when publishing a non-existent file.
1465         * org-element.el (org-element-paragraph-separate): More accurate
1466         regexp.
1468         * org.el (org-entry-get): Widen buffer in order to retrieve
1469         properties, as `org-entry-properties' and
1470         `org-entry-get-with-inheritance' already do.
1472         * ox-html.el (org-html--format-toc-headline): Add missing headline
1473         number in TOC entries.
1475         * org.el (org-entry-properties): Ignore narrowing when retrieving
1476         current headline properties.
1478 2013-12-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
1480         * org-crypt.el (org-encrypt-string, org-encrypt-entry)
1481         (org-decrypt-entry): Fix warning.
1483 2013-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1485         Spelling fixes.
1486         * ob-python.el (org-babel-python-with-earmuffs):
1487         Rename from org-babel-python-with-earmufs.  All uses changed.
1488         (org-babel-python-without-earmuffs):
1489         Rename from org-babel-python-without-earmufs.  All uses changed.
1491 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1493         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1495 2013-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1497         Address some byte-compiler warnings.
1498         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1499         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
1500         * ob-table.el (sbe): Move debug declaration.
1501         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1502         * org.el (org-version): Avoid var name starting with _.
1503         (org-inhibit-startup, org-called-with-limited-levels)
1504         (org-link-search-inhibit-query, org-time-was-given)
1505         (org-end-time-was-given, org-def, org-defdecode, org-with-time):
1506         * org-colview.el (org-agenda-overriding-columns-format):
1507         * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
1508         (org-agenda-show-log-scoped):
1509         * ob-python.el (py-which-bufname, python-shell-buffer-name):
1510         * ob-haskell.el (org-export-copy-to-kill-ring):
1511         * ob-exp.el (org-link-search-inhibit-query):
1512         * ob-R.el (ess-eval-visibly-p):
1513         * ob-core.el (org-src-window-setup): Declare before use.
1514         (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
1515         * ox-odt.el (org-odt-hfy-face-to-css):
1516         * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
1517         * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
1518         (org-bibtex-check):
1519         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
1520         (org-babel-tangle-single-block, org-babel-tangle-comment-links):
1521         * ob-table.el (sbe):
1522         * ob-sqlite.el (org-babel-sqlite-expand-vars):
1523         * ob-sql.el (org-babel-sql-expand-vars):
1524         * ob-shen.el (org-babel-execute:shen):
1525         * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
1526         * ob-scala.el (org-babel-scala-evaluate):
1527         * ob-ruby.el (org-babel-ruby-table-or-string)
1528         (org-babel-ruby-evaluate):
1529         * ob-python.el (org-babel-python-table-or-string)
1530         (org-babel-python-evaluate-external-process)
1531         (org-babel-python-evaluate-session):
1532         * ob-picolisp.el (org-babel-execute:picolisp):
1533         * ob-perl.el (org-babel-perl-evaluate):
1534         * ob-maxima.el (org-babel-execute:maxima):
1535         * ob-lisp.el (org-babel-execute:lisp):
1536         * ob-java.el (org-babel-execute:java):
1537         * ob-io.el (org-babel-io-evaluate):
1538         * ob-haskell.el (org-babel-execute:haskell):
1539         * ob-fortran.el (org-babel-execute:fortran):
1540         * ob-exp.el (org-babel-exp-code):
1541         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
1542         * ob-ditaa.el (org-babel-execute:ditaa):
1543         * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
1544         (org-babel-parse-header-arguments, org-babel-reassemble-table)
1545         (org-babel-goto-src-block-head, org-babel-mark-block)
1546         (org-babel-expand-noweb-references, org-babel-script-escape)
1547         (org-babel-process-file-name):
1548         * ob-clojure.el (org-babel-execute:clojure):
1549         * ob-calc.el (org-babel-execute:calc):
1550         * ob-awk.el (org-babel-execute:awk):
1551         * ob-R.el (org-babel-expand-body:R):
1552         * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
1554 2013-11-12  Glenn Morris  <rgm@gnu.org>
1556         * ox-html.el (org-html-scripts): Add 2013 to copyright years.
1557         (org-html-infojs-template): Copyright holder to FSF.
1559 2013-11-12  Aaron Ecay  <aaronecay@gmail.com>
1561         * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
1562         supported filetypes.
1563         (org-latex--inline-image): Implement SVG files inclusion.
1564         (org-latex-headline): Don’t insert alternate title if identical to
1565         regular one.
1567         * ob-python.el: Update the arglist passed to `declare-function'
1568         for `run-python'.
1570         * ob-tangle.el (org-babel-tangle): Use `light' argument to
1571         `org-babel-get-src-block-info'.
1573         * ob-core.el (org-babel-execute-src-block): Return nil in case of
1574         `:results none'.  Also run `org-babel-after-execute-hook' in this
1575         circumstance.
1577         * org-id.el (org-id-locations-save): Bind print-(level,length) to
1578         nil in this function.
1580         * ob-R.el (org-babel-R-graphics-devices): New defvar.
1581         (org-babel-R-construct-graphics-device-call): Use it instead of a
1582         hard-coded list of graphics devices.
1584         * ob-core.el (org-babel-when-in-src-block): New macro.
1585         (org-babel-execute-src-block-maybe)
1586         (org-babel-expand-src-block-maybe)
1587         (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
1588         Use it.
1589         (org-babel-execute-src-block): Use `copy-tree' to prevent setf
1590         from modifying users variables withing let-bound `info' variable.
1592         * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
1593         option.
1594         (org-babel-exp-results): Implement 'inline-only for
1595         `org-export-babel-evaluate'.
1597         * org.el (org-edit-special): Use prefix arg.
1599         * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
1600         (org-babel-expand-body:picolisp): Remove optional arg.
1602         * ob-R.el (org-babel-R-initiate-session): Handle case where the
1603         session buffer exists, but does not have a live process.
1604         (org-babel-R-construct-graphics-device-call): Change file
1605         extension of tikz graphics files to .tikz.
1607         * org-src.el (org-edit-src-exit): Don't modify the undo list when
1608         inserting the code.
1610         * ox-latex.el (org-latex-plain-text): Properly escape "~" for
1611         LaTeX export.
1612         (org-latex-image-default-option): Change default value to "".
1613         (org-latex-image-default-width, org-latex-image-default-height):
1614         New variables.
1615         (org-latex-inline-image-rules): Make .tikz files as exportable
1616         with LaTeX.
1617         (org-latex--inline-image): Support tikz images.  Also support
1618         separate :width and :height parameters for images.
1620         * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1621         of longlines-mode.
1623 2013-11-12  Abdó Roig-Maranges  <abdo.roig@gmail.com>
1625         * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1626         the image already exists.
1628         * org-agenda.el (org-agenda-search-view-max-outline-level):
1629         New option to define the max level for the entries shown by the search
1630         view.  A value of 1 means to show the top parent of the entries.
1632         * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1633         this function fail with no :foreground and :background attributes
1634         set, due to bad handling of "Transparent" color.  Fix bug when
1635         colors are not `default'.
1636         (org-format-latex-options): Add `auto' to docstring.
1637         (org-format-latex): Get face colors at point and put them inside
1638         opt.
1639         (org-create-formula-image-with-imagemagick): Fix bug when handling
1640         "Transparent" bg color.
1641         (org-dvipng-color-format): Same as `org-latex-color-format' for
1642         dvipng-style color specification.
1644 2013-11-12  Achim Gratz  <Stromeko@Stromeko.DE>
1646         * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1647         evaluating the function pointed to by `org-confirm-babel-evaluate'
1648         when it is a functionp and its value as a variable otherwise.
1649         (org-babel-get-rownames, org-table.el)
1650         (org-table-transpose-table-at-point): Replace the inadvertent use
1651         of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1652         (org-babel-params-from-properties):
1653         Use `org-babel-current-src-block-location' for evaluating new-style
1654         header-argument properties.  Remove superfluous save-match-data
1655         clauses.  Comment which properties get evaluated where.
1656         (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1657         Replace `if' with empty else part by `when' for readability.
1658         (org-babel-params-from-properties): Inquire for language specific
1659         and default header properties.  Language specific header
1660         properties take precedence over default header properties and
1661         old-style header property specifications.
1663         * org.el (org-re-property): Re-implement using full regex for
1664         `org-re-property'.  Add optional argument LITERAL to flag when
1665         PROPERTY should to be regex-quoted.  Move before definition of
1666         `org-re-property'.
1667         (org-re-property-keyword): Remove, functionality is subsumed by
1668         `org-re-property'.
1669         (org-property-re): Define using `org-re-property'.
1670         Improve definition so that this regex can be
1671         (org-entry-get, org-property-values): Adjust match number for
1672         PROPVAL.  (org-entry-put): Use `org-re-property' instead of
1673         `org-re-property-keyword'.
1674         used in all situations.  Extend docstring with explanation of
1675         matching groups.
1676         (org-at-property-p): Implement using `org-element-at-point'.
1677         (org-entry-properties, org-buffer-property-keys, org-indent-line):
1678         Use `org-property-re' and adjust match group numbers accordingly.
1680         * org-compat.el (define-obsolete-variable-alias)
1681         (define-obsolete-function-alias): Actually remove the third (and
1682         any following) argument from the argument list before calling the
1683         advised function.  Extend eval-and-compile clause and add advices
1684         for functions that have different parameter lists in XEmacs.
1685         Add variable definitions that XEmacs lacks .
1687         * ob-fortran.el (org-every): Declare.
1689         * org-element.el (org-element-node-property-parser):
1690         Use `org-property-re' and adjust match group numbers accordingly.
1691         Move `looking-at' out of the let clause to not rely on the
1692         unspecified evaluation order inside the let.
1694         * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1695         and org-compat as necessary.
1697         * ob-tangle.el (org-edit-special, org-store-link)
1698         (org-open-link-from-string): Declare functions.
1700         * org-macs.el (declare-function): Define macro to use autoload
1701         instead for XEmacs.
1703         * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1704         'noerror on the require form.
1706         * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1707         argument list that XEmacs complains about by adding parenthesis.
1709         * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1710         can't be loaded, try octave instead before giving up.
1711         Emacs 24.3.50 and upwards replaces octave-inf with just plain octave.
1713         * org-id.el (org-id-update-id-locations): Autoload interactive
1714         function.
1716         * ob-core.el (org-babel-parse-inline-src-block-match):
1717         * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1718         properties priority over default header arguments.
1720         * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1721         first line could be the symbol `hline' rather than a list of table
1722         cells, so check for that as well.
1724         * org.el (org-table-clean-did-remove-column):
1725         * org-table.el (org-table-clean-did-remove-column): Move defvar,
1726         this dynamic variable is only used in org-table.
1728         * org-table.el (org-table-colgroup-info): Remove unused defvar for
1729         `org-table-colgroup-info'.
1730         (org-table-clean-before-export): Let-bind regular expression
1731         strings and remove unused matching group.
1732         Use `org-table-clean-did-remove-column' in cond statement rather than
1733         branching via if to avoid code duplication.  Remove the code
1734         associated with the removed `org-table-colgroup-info'.
1735         (orgtbl-export): Remove unused internal function.
1737         * org-macro.el (org-macro-expand): Do not try to interpret the
1738         macro replacement text as a regex so that escaped backslashes and
1739         commas in macro arguments will be interpreted correctly.
1741         * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1742         only after evaluation so that output is not mixed into results
1743         eavaluation.
1744         (org-babel-perl-evaluate): Fix the handling of results for
1745         ":results output" to also parse tables.  Use the same lambda
1746         construction as in ob-sh.el to avoid code duplication.
1748         * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1749         Suppress user confirmation of the emacs-lisp wrapper execution
1750         around a lob call.
1752         * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1753         for table results as expected by
1754         `org-babel-import-elisp-from-file´.
1756         * ob-core.el (org-babel-number-p): String match for any number
1757         moved first so that the match data for the length check does not
1758         become corrupted.
1759         (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1760         variable, if bound non-nil the confirmation dialog will not be
1761         initiated and denial of evaluation is assumed.
1762         (org-babel-check-confirm-evaluate): New macro to establish
1763         bindings based on INFO.
1764         (org-babel-check-evaluate): New defsubst that checks if the
1765         evaluation of a code block is disabled.  Refactors the first part
1766         of the original function `org-babel-confirm-evaluate´.
1767         (org-babel-confirm-evaluate): New defsubst that checks if the user
1768         should be queried and returns the answer.  Keeps the second part
1769         of the original function `org-babel-confirm-evaluate´.
1770         Re-implement using bindings for common subexpressions.
1771         (org-babel-execute-src-block): Do not ask for confirmation if the
1772         cached result is current.
1773         (org-babel-call-process-region-original): Change declaration into
1774         definition with nil initial value at the beginning of the file and
1775         drop the later definition.  Add comment that the dynamic scoping
1776         of this variable is done for tramp.
1778         * org-table.el (org-table-eval-formula): The condition-case to
1779         check for must be "error", not "user-error".
1781         * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1782         through to `org-babel-perl-evaluate´.
1783         (org-babel-variable-assignments:perl): Add "my" to variable
1784         declaration so that it becomes compatible with "use strict;".
1785         Use new internal formatting function `org-babel-perl--var-to-perl´.
1786         (org-babel-perl--var-to-perl): New internal function, uses Perl
1787         non-interpolating quoting on the string that defines the variable
1788         to suppress spurious interpretation of it as Perl syntax.
1789         (org-babel-perl-wrapper-method): Use a block and declare all
1790         variables as "my", also use Perl quoting throughout.  Redirect
1791         STDOUT to the temporary file so that simply "print" will put the
1792         results there.  Check the return value and output in table form if
1793         it is an ARRAY ref, otherwise print it without a final newline.
1794         (org-babel-perl-preface): Content of this variable is prepended to
1795         body before invocation of perl.  Rename input parameter body to
1796         ibody and let-bind body to concatentation of
1797         `org-babel-perl-preface' and ibody.  Implement results
1798         interpretation so that tables are easier to produce.
1800         * ob-eval.el (org-babel-eval): Use simplified version of
1801         `org-babel--shell-command-on-region´, we are the only caller of
1802         this function.
1803         (org-babel--shell-command-on-region):
1804         Replace `org-babel-shell-command-on-region´ with a much more simplified
1805         internal version, remove superfluous DOCSTRING and interactive
1806         clause, strip out all conditionals which were never used.  Prevent
1807         deletion of temporary input file to aid debugging when the symbol
1808         `org-babel--debug-input´ is bound and has non-nil value.
1810         * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1811         arg is even documented in the manual.
1813         * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1814         for first argument.
1816         * ob-core.el (org-babel-execute-src-block): Add binding for
1817         merged-params to avoid multiple evaluation of
1818         `org-babel-merge-params´.  Rename cache? to cache-p, add binding
1819         for cache-current-p and use it.  Do not run
1820         `org-babel-confirm-evaluate´ if source block has a cache and the
1821         cache value is current (there is no evaluation involved in this
1822         case).
1824         * org.el (org-current-time): Replace call to obsolete function
1825         `time-to-seconds´ with a call to compatibility function
1826         `org-float-time´.
1828         * org-compat.el (user-emacs-directory): If not bound, define as an
1829         alias to `user-init-directory´ so that XEmacs continues to be
1830         happy with Org.
1832         * org-macs.el: New macro to allow the 5-argument form of load to
1833         be used where possible without breaking compatibility with XEmacs.
1835         * org.el (org-version, org-reload):
1836         Use `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1837         to load directly.  Guard against undefined variable load-suffixes,
1838         which doesn't exist in XEmacs.
1840         * org.el: Use
1841         `org-define-obsolete-{function,variable}-alias´instead of
1842         `define-obsolate{function,variable}-alias´.
1844         * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1845         don't have it.
1847         * ob-python.el (org-babel-python-hline-to)
1848         (org-babel-python-None-to): Specify customize group as 'org-babel
1849         and widget type as 'string.
1851         * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1852         formal parameter `result-params´.
1854         * org.el (org-reload): Major rewrite.
1856         * org.el (org-clock-get-last-clock-out-time): Declare function.
1858 2013-11-12  Alan Schmitt  <alan.schmitt@polytechnique.org>
1860         * ob-ocaml.el (org-babel-prep-session:ocaml):
1861         Use `save-window-excursion' around the code starting the tuareg
1862         process.
1863         (org-babel-ocaml-command): New option to specify the name of the
1864         toplevel to run.
1865         (org-babel-prep-session:ocaml): Directly call
1866         `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1867         argument.
1868         (org-babel-execute:ocaml): Always append ";;" at the end of the
1869         expression before sending it to the toplevel.  Do not remove the
1870         type information if "verbatim" is a results parameter of the code
1871         block.
1872         (org-babel-ocaml-parse-output): Make sure the complete type is
1873         taken into account when matching against known types.
1875         * org-faces.el (org-footnote): Fix docstring.
1877 2013-11-12  Andreas Leha  <andreas@lehas.net>
1879         * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1880         copies the body of the block into a tikz file.
1882 2013-11-12  Arun Persaud  <apersaud@lbl.gov>
1884         * org-agenda.el (org-agenda-prefix-format): Add documentation for
1885         the new %b option.
1886         (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1887         (org-agenda-format-item): Add breadcrumbs if requested.
1888         (org-compile-prefix-format): Add compiled information for
1889         breadcrumbs, add %b option.
1891 2013-11-12  Aurélien Aptel  <aurelien.aptel@gmail.com>  (tiny change)
1893         * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1894         string replacements for code and verbatim text when exporting to
1895         HTML.
1897 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1899         * org.el (org-align-tags-here): Fix bug: move to the correct
1900         position.
1901         (org-agenda-prepare-buffers): Restore the point position.
1902         (org-insert-link): Don't remove brackets when they belong to a
1903         timestamp in a headline.
1905         * org-capture.el (org-capture-refile): Don't finalize prematurely.
1906         (org-capture): Store :return-to-wconf earlier.
1907         (org-capture-place-template): Don't store :return-to-wconf when
1908         called from a capture template using `function', rely on the early
1909         :return-to-wconf value store from `org-capture'.
1911         * org-compat.el (org-move-to-column): New argument
1912         `ignore-invisible' to turn on `buffer-invisibility-spec'.
1914         * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1915         when inserting the new time as a text property.
1916         (org-agenda-filter-make-matcher): When filtering tags and hitting
1917         space, filter out entries with tags, only keep those without tags.
1918         (org-agenda-drag-line-forward, org-agenda-drag-line-backward):
1919         Fix bugs: don't drag lines without text and don't drag lines
1920         before/after hidden lines.
1922         * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1923         rel-width property as a string.
1924         (org-odt-template): Fall back on a string for :rel-width.
1926         * org.el (org-directory, org-default-notes-file)
1927         (org-reverse-note-order): Don't use the `org-remember'
1928         customization group.
1929         (org-require-autoloaded-modules): Don't require
1930         `org-remember'.
1932         * org-capture.el: Update commentary section to reflect the fact
1933         that org-remember.el is not used anymore.
1935         * org.el (org-babel-load-file): Set `exported-file' correctly, in
1936         case the file as been tangled using a buffer-local value.
1938         * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1939         files.
1941         * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1942         ensure to show all headings and all blocks before fontifying.
1944         * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1946         * ox.el: Fix comment: remove reference to the obsolete variable
1947         `org-export-language-setup'.
1949         * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1950         of the tags list.
1952         * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1954         * org.el (org-refile): With a numeric prefix argument of `3',
1955         emulate (setq org-refile-keep t) and copy the subtree to the
1956         target location, don't delete it.
1957         (org-set-regexps-and-options-for-tags): Fix the setting of tag
1958         groups when relying on `org-tag-alist', not on tags directly set
1959         in the buffer with the #+TAGS option.
1961         * org-agenda.el (org-agenda-archive-with): Save window excursion.
1963         * org.el (org-forward-element, org-backward-element): Throw a
1964         message instead of an error when trying to move from a position
1965         where there is no element.
1966         (org-clock-is-active): Fix docstring.
1968         * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1969         plain list by checked status.
1971         * org.el (org-structure-template-alist): Fix custom type and
1972         default value.
1973         (org-set-regexps-and-options-for-tags): Enhance docstring.
1974         (org-set-regexps-and-options): Make sure not to add
1975         `org-tag-alist' twice when setting this variable through et
1976         #+setupfile: directive.
1977         (org-tags-expand): Use `with-syntax-table'.
1979         * org-list.el (org-sort-list): Implement sorting by "checked"
1980         status for check lists.
1982         * org-table.el (org-table-sum): Fix rounding error when summing
1983         times.
1985         * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
1986         typo.  Add declarations.
1988         * ox-html.el (org-html-link-use-abs-url): New option.
1989         (org-html-link): Use it to prepend relative links with the value
1990         of HTML_LINK_HOME, when defined.
1992         * org.el (org-refile): Fix refiling the active region within an
1993         list.  Don't store the last refiled subtree in the kill ring.
1995         * org.el (org-mode-map): Remap `forward-paragraph' and
1996         `backward-paragraph' to `org-forward-element' and
1997         `org-backward-element'.
1999         * ox-html.el (org-html-begin-plain-list): New parameter
2000         `ordered-num' to tell whether the list is ordered numerically.
2001         (org-html-plain-list): Handle alphabetical ordered list.
2003         * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
2004         to nil during batch export.
2006         * org.el (org-copy-subtree): Fix typo in docstring.
2007         (org-scan-tags): Don't disable `case-fold-search' too early.
2009         * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
2011         * org-capture.el (org-capture-set-target-location): Don't throw an
2012         error when `org-time-was-given' is not bound.
2014         * org-clock.el (org-clock-modify-effort-estimate):
2015         Clarify docstring.
2017         * org.el (org-set-regexps-and-options-for-tags): Return a list
2018         with tag-related variables.
2019         (org-set-regexps-and-options): Append tags from a setup file to
2020         the local tags of the file.
2021         (org-agenda-prepare-buffers): Set tags from a setup file by
2022         calling `org-set-regexps-and-options' when necessary.
2023         (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
2024         and `org-scheduled-time-hour-regexp'.
2026         * org-table.el (org-table-TBLFM-begin-regexp): Rename from
2027         `org-TBLFM-begin-regexp'.
2028         (org-table-calc-current-TBLFM): Rename from
2029         `org-calc-current-TBLFM'.
2031         * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
2032         (org-refresh-properties): Put the text property on the whole
2033         subtree, not just on the headline.
2034         (org-get-outline-path): Remove statistical and checkboxes cookies.
2036         * org-agenda.el (org-agenda, org-search-view, org-tags-view)
2037         (org-agenda-get-day-entries, org-agenda-set-restriction-lock):
2038         Use (current-buffer) as the value of `org-agenda-restrict'.  Fix a bug
2039         about narrowing to wrong region boundaries when
2040         `org-agenda-restrict' is non-nil.
2042         * org.el (org-agenda-text-search-extra-files): Fix typos in
2043         docstring.
2044         (org-insert-heading): Fix case when there the first heading starts
2045         at the beginning of the buffer.
2047         * ob-core.el (org-babel-expand-src-block):
2048         Use `org-called-interactively-p'.
2050         * org.el (org-agenda-prepare-buffers): Avoid duplicates in
2051         `org-tag-alist-for-agenda' correctly.
2052         (org-read-date-minibuffer-local-map): Check if we are at the
2053         beginning of the prompt, not if we are after a whitespace.
2054         Bind C-. to `calendar-goto-today'.
2056         * org-clock.el (org-clock-in): Don't forward by one character when
2057         setting the marker in the clock history.
2059         * org.el (org-read-date-minibuffer-local-map):
2060         Call `calendar-goto-today' only if there is a space before point in the
2061         minibuffer prompt.
2062         (org-insert-heading): Reveal context when called interactively.
2063         Fix bug about wrong conversion of lines with :END: or #+end_ into
2064         headlines.
2065         (org-in-drawer-p): New function.
2066         (org-meta-return): Use `org-catch-invisible-edits' and the
2067         `org-in-drawer-p' to check whether we are within a drawer.
2069         * org-list.el (org-sort-list): Fix infloop.
2071         * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
2072         for a time shift if there is a time-stamp.  Don't ask for a time
2073         shift when called with a universal prefix argument.
2075         * ob-core.el (org-babel-insert-result): Fix bug when inserting
2076         results as a list: ensure we split a string containing "\n".
2078         * ox-html.el: Fix copyright header.
2080         * org.el (org-store-link): Don't add a search string when storing
2081         a link from a radio target.
2082         (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
2083         the simple target (<<target>>).
2085         * org-table.el (org-table-get-remote-range): Fix typo.
2087         * org-datetree.el (org-datetree-find-month-create)
2088         (org-datetree-find-day-create): Add a docstring.
2089         (org-datetree-find-year-create): Only match headlines with a
2090         year or a year and one or more tags.
2092         * org-crypt.el (org-crypt-check-auto-save)
2093         (org-crypt-use-before-save-magic): Use `org-add-hook' when the
2094         hooks are local hooks.
2096         * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
2097         upstream change from Emacs revno r112320.
2099         * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
2100         (org-babel-pop-to-session-maybe): Use true function's name,
2101         not its alias.
2103         * org-agenda.el (org-agenda-drag-line-forward)
2104         (org-agenda-drag-line-backward): New commands.
2105         (org-agenda-mode-map): Bind the new commands to M-<down> and
2106         M-<up> respectively.
2108         * org.el (org-insert-heading): Fix insertion of items.
2110         * org-capture.el (org-capture-use-agenda-date): Fix docstring.
2112         * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
2113         (org-agenda-bulk-toggle-all): New command.
2114         (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
2115         and `org-agenda-bulk-toggle-all' to `M-*'.
2116         (org-agenda-menu): Add `org-agenda-bulk-toggle' and
2117         `org-agenda-bulk-toggle-all'.
2118         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
2119         next headline, not the next line.
2121         * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
2122         to nil while matching the first letter of a multi-letters
2123         template.
2125         * org.el (org-store-link): When a bracket link is found in a
2126         headline, use the link description or the link path.
2127         (org-flag-drawer, org-hide-block-toggle)
2128         (org-goto-left, org-goto-right, org-promote)
2129         (org-paste-subtree, org-narrow-to-block, org-sort-entries)
2130         (org-insert-link, org-offer-links-in-entry, org-open-file)
2131         (org-refile, org-refile-get-location)
2132         (org-refile-check-position, org-prepare-dblock, org-todo)
2133         (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
2134         (org-occur, org-priority, org-scan-tags)
2135         (org-get-tags-string, org-property-action, org-set-effort)
2136         (org-entry-put, org-insert-drawer)
2137         (org-compute-property-at-point)
2138         (org-property-next-allowed-value, org-evaluate-time-range)
2139         (org-closest-date, org-timestamp-change)
2140         (org-revert-all-org-buffers, org-cycle-agenda-files)
2141         (org-agenda-file-to-front, org-remove-file)
2142         (org-preview-latex-fragment, org-format-latex)
2143         (org-create-math-formula, org-create-formula-image)
2144         (org-speed-command-help, org-check-before-invisible-edit)
2145         (org-modifier-cursor-error, org-hidden-tree-error)
2146         (org-mark-subtree, org-kill-line, org-first-sibling-p)
2147         (org-up-element, org-down-element)
2148         (org-drag-element-backward, org-drag-element-forward)
2149         (org-unindent-buffer, org-speedbar-set-agenda-restriction):
2150         Use `user-error' instead of `error'.
2152         * ox-latex.el (latex): Don't force exporting with smart quotes.
2154         * ox.el (org-export-with-smart-quotes): Mention the need to use
2155         the relevant Babel package when setting this option to non-nil.
2157         * org-src.el (org-edit-src-turn-on-auto-save): New option.
2158         (org-edit-src-code): Use it.
2159         (org-edit-src-auto-save-idle-delay): Enhance docstring.
2161         * org-capture.el (org-mks): Make cursor invisible.
2163         * org.el (org-link-expand-abbrev): Save match data before before
2164         calling the replacement function.
2166         * org-list.el (org-sort-list): Don't move point when matching time
2167         values.
2169         * org.el (org-shifttab): Show the correct number of empty
2170         headlines when called with a numeric prefix argument.
2171         Enhance docstring.
2172         (org-uniquify): Use `copy-sequence'.
2173         (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
2174         error message when parse an element fails in the current buffer.
2176         * ox.el (org-export-with-planning): Enhance docstring.
2178         * org.el (org-closed-keep-when-no-todo): New option.
2179         (org-todo): Use the new option.
2180         (org-open-line): Rename from `org-ctrl-o'.
2181         (org-mode-map): Use `remap'.
2182         (org-cycle-emulate-tab, org-file-apps)
2183         (org-set-font-lock-defaults)
2184         (org-translate-link-from-planner, org-link-search)
2185         (org-refile-get-targets, org-read-date-get-relative):
2186         Minor code clean-up: fix dangling parentheses.
2188         * org-agenda.el (org-agenda-entry-text-mode): Also check against
2189         regexp filters.
2190         (org-timeline): Handle `org-agenda-show-log'.
2192         * org-clock.el (org-clock-select-task): Remove successive
2193         duplicates in the clock history to consider.
2195         * org.el (org-uniquify-alist): Improve docstring.
2196         (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
2197         tags to the tags completion table.
2198         (org-tags-expand): Prevent circular replacement of group tags.
2199         Tiny docstring formatting.
2200         (org-uniquify): Make a defsubst.  Use `delete-dups' instead of
2201         `add-to-list'.
2202         (org-todo): Also remove the CLOSED planning information when
2203         removing the TODO keyword.
2204         (org-forward-heading-same-level): Fix bug when forwarding
2205         to a hidden subtree of the same level.
2206         (org-tags-expand): Use word delimiters when building the tag
2207         search regexp.
2209         * org-clock.el (org-clock-insert-selection-line): Don't display
2210         the clockout time.
2212         * org.el (org-emphasis-regexp-components): Make a defvar.
2213         (org-emphasis-alist): New default value: don't set HTML tags.
2214         (org-emphasize, org-set-emph-re): Use the new value of
2215         `org-emphasis-alist'.
2217         * org-mobile.el (org-mobile-edit): Insert new headings at the end
2218         of the parent subtree.  Use `org-at-heading-p' instead of the
2219         obsolete `org-on-heading-p'.
2221         * org.el (org-insert-heading): When called from a list item and
2222         `org-insert-heading-respect-content' is non-nil, insert a heading,
2223         not an item.
2224         (org-insert-heading-respect-content): Fix docstring.
2225         (org-insert-heading): When in a non-empty non-headline line,
2226         convert the current line into a headline.
2228         * org-table.el (org-table-copy-down): Don't move cursor when
2229         getting the field.
2231         * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
2232         evaluate babel code blocks.
2234         * ox-html.el (html): Add more options.
2236         * ox-publish.el (org-publish-project-alist): Add :with-planning in
2237         docstring.
2239         * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
2241         * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
2243         * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
2244         name.
2246         * ox.el (org-export-options-alist, org-export--skip-p):
2247         Use `:with-planning' instead of `:with-plannings', to keep in sync
2248         with the corresponding option's name.
2250         * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
2252         * org-agenda.el (org-agenda-undo, org-agenda)
2253         (org-agenda-append-agenda)
2254         (org-agenda-get-restriction-and-command, org-agenda-write)
2255         (org-agenda-clock-cancel)
2256         (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
2257         (org-agenda-execute-calendar-command)
2258         (org-agenda-goto-calendar, org-agenda-convert-date)
2259         (org-agenda-bulk-mark, org-agenda-bulk-action)
2260         (org-agenda-show-the-flagging-note): Use `user-error' instead of
2261         `error'.
2263         * org-macs.el (org-with-remote-undo): Normalize argument names.
2265         * org.el (org-store-log-note): Fix `buffer-undo-list' when called
2266         after `org-agenda-todo'.
2267         (org-add-log-note): Minor formatting fix.
2269         * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
2271         * org-clock.el (org-clock-select-task): Throw a user error when
2272         the clock history is empty.
2274         * org-table.el (org-table-get-remote-range): Fix docstring: use
2275         #+NAME instead of #+TBLNAME.
2277         * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
2279         * ox-html.el (org-html-table-row-tags): Better example.
2281         * org-clock.el (org-clock-select-task): Fix window to buffer.
2282         Hide the cursor.
2283         (org-clock-insert-selection-line): Add the clock-out time.
2285         * ox-html.el (org-html-table-row-tags): Allow new dynamically
2286         bound value `row-number'.
2287         (org-html-table-row): Bind `row-number' to the number of the
2288         row (first row is 0).
2290         * org.el (org-minutes-to-clocksum-string): Round fractions of
2291         minutes.
2293         * ox-html.el (org-html-table-row-tags): Fix example in docstring.
2295         * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
2296         (org-agenda-goto-date): Fix bug when going to a date in month
2297         view.
2298         (org-agenda-goto-date): Put the cursor on the agenda line with the
2299         selected date.
2300         (scheduled/deadline items with hour spec) then redo an agenda*.
2302         * org-clock.el (org-clock-resolve): Enhance the content of the
2303         help window.
2305         * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
2307         * ox-odt.el (org-odt-link): Fix bug: convert & to &amp; in
2308         links.
2310         * ox-html.el (org-html-table-row): Dynamically bind
2311         `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
2312         `top-row-p', `bottom-row-p'.
2313         (org-html-table-row-tags): Update docstring: tell what variables
2314         are dynamically bound.
2316         * org-src.el (org-edit-src-code): Don't set
2317         `buffer-auto-save-file-name' unless `auto-save-default' is
2318         non-nil.
2320         * ox.el (org-export-table-row-group): Fix typo in docstring.
2322         * org-table.el (orgtbl-apply-fmt): Enhance docstring.
2324         * org.el (org-file-contents): Make the message more prominent.
2326         * ox.el (org-export-replace-region-by): New function.
2328         * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
2329         * ox-md.el (org-md-convert-region-to-md),
2330         * ox-latex.el (org-latex-convert-region-to-latex),
2331         * ox-html.el (org-html-convert-region-to-html): New functions to
2332         replace the active region by its export into various backends.
2334         * org-faces.el (org-agenda-restriction-lock): Use less flashy
2335         colors.
2337         * org-agenda.el
2338         (org-agenda-restriction-lock-highlight-subtree): New option.
2339         (org-agenda-top-headline-filter): Rename from
2340         `org-agenda-top-headline-filter'.
2341         (org-find-top-headline): Rename from `org-find-top-category'.
2342         Add a docstring.
2343         (org-agenda-filtered-by-top-headline): Rename from
2344         `org-agenda-filtered-by-top-category'.
2345         (org-agenda-filter-by-top-headline): Rename from
2346         `org-agenda-filter-by-top-category'.  Fix docstring.
2347         (org-agenda-filter-top-headline-apply): Rename from
2348         `org-agenda-filter-top-category-apply'.  Fix docstring.
2349         (org-agenda-mode-map): Update binding.
2350         (org-agenda-get-todos): Set `todo-state' earlier so that we can
2351         skip false-positives in time.
2353         * org.el (org-get-todo-state): Add a docstring.
2354         (org-ctrl-o): New command to insert a new row in tables
2355         (like `M-S-<down>' does) and open a line elsewhere.
2356         (org-mode-map): Bind the new command to `C-o'.
2357         (org-set-regexps-and-options): Process tags from an external setup
2358         file.
2360         * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
2361         (org-agenda-finalize-entries): Conditionally apply limits so
2362         that we don't manipulate big lists uselessly.
2363         (org-agenda-limit-entries): Limit exclusively.  E.g., when
2364         limiting to a maximum of "2 tags", don't limit among tagged
2365         entries only, but limit among all entries.
2366         (org-agenda-limit-interactively): New command.
2367         (org-agenda-mode-map): Bind the new command to "~".
2368         (org-agenda-redo): Small fix: don't use `eval'.
2370         * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
2371         list beginning should be stored using a marker so that updating
2372         [%0] to [%50] will not throw an error.
2373         (org-babel-load-file): Move `org-babel-load-file' from
2374         ob-tangle.el to here so that it is correctly autoloaded by Emacs
2375         before Org is required.
2377         * org-mac-message.el: Delete.
2379         * org.el (org-modules): org-mac-message.el is not a core package
2380         anymore.
2382         * org-table.el (orgtbl-to-generic): Fix bug when exporting the
2383         cells of radio tables with 'hline.
2385         * org.el (org-speed-commands-default): Use ?s for
2386         `org-narrow-to-subtree'.
2388         * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
2389         (org-agenda-start-day): Enhance docstring.
2391         * org-src.el (org-src-native-tab-command-maybe): Check that we are
2392         in a source code block.
2394         * org-mobile.el: Remove useless defvar.
2396         * org.el (org-indent-line): A line just below a line with a list
2397         item is now indented depending on the indentation of this list
2398         item.
2400         * org.el (org-options-keywords): Add #+TARGET.
2402         * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
2403         last clock if the clock buffer still exists.
2404         (org-clock-out, org-clock-cancel): Set markers to nil.
2406         * ox-org.el (org-org-publish-to-org):
2407         * ox-html.el (org-html-publish-to-html): Use the custom extension.
2409         * org.el (org-cycle-internal-local): Fix invalid search bound when
2410         `org-cycle-include-plain-lists' is set to 'integrate.
2412         * org.el (org-sparse-tree-default-date-type): Add an option for
2413         closed time-stamps.
2414         (org-sparse-tree): Allow to check against closed time-stamps.
2415         (org-re-timestamp): Handle closed time-stamps.
2416         (org-closed-in-range): Delete.
2418         * org-capture.el (org-capture-import-remember-templates):
2419         Take care of adding :jump-to-captured option if needed.
2421         * org.el (org-toggle-pretty-entities): Enhance messages.
2422         (org-raise-scripts): Handle scripts like "a_b^c".
2424         * org-capture.el (org-capture-templates): Document new option
2425         :jump-to-captured in the docstring.  Offer the complete list of
2426         options when customizing.
2427         (org-capture-finalize): Handle :jump-to-captured.
2429         * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
2430         `org-tag-alist' to nil and don't append duplicate tags to
2431         `org-tag-alist-for-agenda'.
2432         (org-store-link): Storing multiple links in the active region now
2433         requires a triple prefix argument.
2434         (org-store-link, org-link-search): Fix handling of links to #+NAME
2435         and #+TARGET keywords.
2437         * org-compat.el (org-ignore-region): Tiny docstring fix.
2439         * org-capture.el (org-capture): Don't store multiple links over
2440         lines in the active region.
2442         * ox-odt.el (org-odt-special-block): Don't wrap annotations into
2443         <text:p>...</text:p> at all.
2444         (org-odt--fix-annotations): New function.
2445         (org-odt--export-wrap): Use the new function to fix annotations
2446         insertion in content.xml.
2448         * org.el (org-mode-flyspell-verify): Require 'org-element so that
2449         `org-element-affiliated-keywords' is defined.
2451         * ox-odt.el (org-odt-special-block): Don't insert annotations
2452         using style "Text_20_body".
2454         * org.el (org-toggle-tags-groups): Correctly highlight group tags.
2455         (org-tags-expand): Expand tags as words, with characters ?@
2456         and ?_ being considered words constituents.
2457         (org-set-regexps-and-options): Don't read setup files from
2458         read-only buffers.
2459         (org-file-contents): When no-error is non-nil, throw a less
2460         intrusive message.
2462         * org-agenda.el (org-agenda-scheduled-leaders)
2463         (org-agenda-deadline-leaders): Re-align leaders to the left,
2464         back to a 11 characters width.
2466         * org.el (org-refile-cache-check-set): More informative message.
2468         * org-agenda.el (org-tags-view): Set the matcher after preparing
2469         the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
2470         (org-agenda-filter-make-matcher): New parameter `filter' and
2471         `type'.  Handle group tags.
2472         (org-agenda-filter-expand-tags): New function.
2473         (org-agenda-filter-apply): Handle group tags.
2475         * org.el (org-blank-before-new-entry): Tiny docstring fix.
2476         (org-tag-alist-for-agenda): Add docstring.
2477         (org-tag-groups-alist-for-agenda): New global variable.
2478         (org-tag-groups-alist): New buffer-local variable.
2479         (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
2480         (org-group-tags): New option.
2481         (org-toggle-group-tags): New command.
2482         (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
2483         (org-set-regexps-and-options-for-tags): New function, factored
2484         out from `org-set-regexps-and-options'.
2485         (org-set-regexps-and-options): Don't handle tags, they are now
2486         handled separately by `org-set-regexps-and-options-for-tags'.
2487         (org-assign-fast-keys): Handle :grouptags.
2488         (org-mode): Use `org-set-regexps-and-options-for-tags' on top
2489         of `org-set-regexps-and-options'.
2490         (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
2491         (org-make-tags-matcher): Expand group tags in the matcher.
2492         (org-tags-expand): New function.
2493         (org-tags-completion-function): Tiny code clean up.
2494         (org-set-current-tags-overlay): Add a docstring.
2495         (org-fast-tag-selection): Highlight group tags.
2496         (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
2497         and `org-tag-groups-alist-for-agenda'.  Don't uniquify
2498         `org-tag-alist-for-agenda' as we may need the grouping
2499         information for filtering in the agenda buffer.
2500         (org-uniquify-alist): New function.
2502         * org-pcomplete.el (pcomplete/org-mode/file-option/tags):
2503         Handle :grouptags.
2505         * org-faces.el (mode-line): New face for group tags.
2507         * ob-core.el (org-babel-hash-show-time): Tiny docstring
2508         enhancement.
2510         * org-element.el (org-element-paragraph-separate): Use new name
2511         `org-list-allow-alphabetical'.
2513         * org-list.el (org-list-allow-alphabetical): Rename from
2514         `org-alphabetical-lists'.
2515         (org-list-empty-line-terminates-plain-lists): Rename from
2516         `org-empty-line-terminates-plain-lists'.
2517         (org-checkbox-hierarchical-statistics): Rename from
2518         `org-hierarchical-checkbox-statistics'.
2520         * org.el (org-image-actual-width): Update docstring.
2521         (org-display-inline-images): Use the #+attr_html: :width syntax.
2522         (org-modules): Remove deleted libraries, add new ones.
2524         * ox-html.el (org-html-indent): Default to nil, as non-nil can
2525         break indentation of source code blocks.
2526         (org-html-link): Don't insert nil if there is no attributes.
2527         (org-html-link--inline-image): Use the correct syntax for image
2528         attributes.  Allow :width :height and :alt as predefined
2529         attributes for inline images.
2530         (org-html-link, org-html-table): Use the standard syntax---
2531         e.g. "#+attr_html: :options ..."--- to get attributes.
2533         * ox.el (org-export-table-cell-alignment): Treat an empty cell as
2534         a number if it follows a number.
2536         * ox.el (org-export-as): Allow user functions in
2537         `org-export-before-parsing-hook' to modify the point.
2539         * org.el (org-entry-add-to-multivalued-property): Add the new
2540         value by appending it at the end of the line.
2542         * org-table.el (orgtbl-to-generic): New parameter `backend' to
2543         export cells content using a specific backend.
2544         (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
2545         and Texinfo before sending the table.
2547         * ox.el (org-export-define-backend)
2548         (org-export-define-derived-backend): Make defuns and update
2549         docstrings.
2551         * ox-texinfo.el (texinfo):
2552         * ox-org.el (org):
2553         * ox-odt.el (odt):
2554         * ox-md.el (md):
2555         * ox-man.el (man):
2556         * ox-latex.el (latex):
2557         * ox-icalendar.el (icalendar):
2558         * ox-html.el (html):
2559         * ox-beamer.el (beamer):
2560         * ox-ascii.el (ascii): Use `org-export-define-backend' and
2561         `org-export-define-derived-backend' as defuns, not macros.
2563         * org.el (org-set-regexps-and-options):
2564         Use `org-table-set-constants'.
2566         * org-table.el (org-table-set-constants): New function.
2567         (orgtbl-ctrl-c-ctrl-c): Use it.
2569         * org-pcomplete.el
2570         (pcomplete/org-mode/block-option/clocktable): Add parameters.
2572         * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
2573         through ox-html.el now.
2575         * org-agenda.el (org-agenda-redo): Set filters after agenda has
2576         been redone.
2578         * org.el (org-store-link): When there is an active region, store
2579         each line as a separate link.
2580         (org-insert-all-links): Use a default description when links
2581         do not have one already.
2583         * org-agenda.el (org-agenda-redo): Fix code typo.
2585         * org.el (org-link-display-format): Fix docstring.
2587         * ox-publish.el (org-publish-org-to)
2588         (org-publish-org-sitemap, org-publish-find-title)
2589         (org-publish-find-date)
2590         (org-publish-cache-file-needs-publishing):
2591         Set `org-inhibit-startup' to t when visiting files for
2592         publication.
2594         * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
2595         publication time.
2597         * org.el (org-set-font-lock-defaults): Set font-lock keywords
2598         correctly for plain links.
2600         * ox-texinfo.el (org-texinfo-logfiles-extensions)
2601         (org-texinfo-remove-logfiles): New options.
2602         (org-texinfo-compile): Use the new options to remove files
2603         after compiling a Texinfo file.
2605         * ox-texinfo.el (org-texinfo-coding-system): New option.
2606         (org-texinfo-template): Add @documentlanguage and
2607         @documentencoding.
2608         (org-texinfo-headline): Add a space before tags.
2609         (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
2610         Use `org-texinfo-coding-system' as the coding system for
2611         exported buffers.
2612         (org-texinfo-publish-to-texinfo): New function.
2614         * ox-texinfo.el (org-texinfo-filename)
2615         (org-texinfo-info-process, org-texinfo-max-toc-depth)
2616         (org-texinfo--sanitize-menu): Docstrings tiny fixes.
2618         * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
2619         message when called interactively.  Fix docstring position in the
2620         defun.
2622         * ox-html.el (org-html--build-meta-info): Fix setting of
2623         http-equiv="Content-Type".
2625         * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2626         regexp and ?| for removing all filters.
2627         (org-agenda-filter-remove-all): New command.
2628         (org-agenda-filter-show-all-re): Rename from
2629         `org-agenda-filter-show-all-regexp'.
2630         (org-agenda-filter-by-regexp):
2631         Call `org-agenda-filter-show-all-re'.
2633         * org-list.el (org-insert-item): Don't ask for a definition term
2634         when insert an item in a description list.
2636         * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2637         This prevents bugs when calling e.g., `org-diary' after quitting
2638         an agenda window.
2639         (org-agenda-entry-types): Move earlier in the file.
2640         (org-agenda-custom-commands-local-options, org-diary)
2641         (org-agenda-get-day-entries): Don't hardcode the default agenda
2642         entry types, use `org-agenda-entry-types'.
2643         (org-agenda-custom-commands): Fix default setting so that the
2644         customize interface does not complain about a mismatch.
2646         * org.el (org-export-backends): Add new backends.
2648         * ox-html.el (org-html-indent): New option.
2649         (org-html-use-unicode-chars): New option.
2650         (org-html-pretty-output): Delete.
2651         (org-html-final-function): Use the new options.
2653         * ox-html.el (org-html-link): Fix handling of abbreviated links
2654         which include a file: protocol.
2655         (org-html--build-postamble): Default to today's date.
2656         (org-html--build-meta-info): When #+DATE contains a time stamp,
2657         parse it as a RFC 822 time string, otherwise simply insert the
2658         date as a string.
2660         * ox.el (org-export--copy-to-kill-ring-p): New function.
2661         (org-export-copy-to-kill-ring): Use 'if-interactive as the
2662         default.
2663         (org-export-to-buffer, org-export-to-file):
2664         Use `org-export--copy-to-kill-ring-p' and fix docstrings.
2666         * ox-odt.el (org-odt-export-as-odf):
2667         Use `org-export--copy-to-kill-ring-p'.
2669         * org.el (org-set-font-lock-defaults): Fontify macros.
2671         * org-faces.el (org-macro): New face.
2673         * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2674         time shift when the entry at point has a time stamp and when the
2675         command is called with a universal prefix argument.
2676         (org-execute-file-search-functions): Docstring fix.
2678         * org-compat.el (org-defvaralias): Fix declare form.
2680         * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2681         (org-clock-special-range): New argument mstart.
2682         (org-dblock-write:clocktable, org-dblock-write:clocktable)
2683         (org-clocktable-write-default, org-clocktable-steps)
2684         (org-clock-get-table-data): Handle the :mstart parameter.
2686         * org.el (org-map-entries): Use `save-window-excursion'.
2688         * org-compat.el (org-defvaralias): New compatibility function.
2690         * org-list.el (org-cycle-include-plain-lists): Also add to the
2691         'org-cycle customization group.
2692         (org-list-allow-alphabetical)
2693         (org-checkbox-hierarchical-statistics)
2694         (org-list-empty-line-terminates-plain-lists)
2695         (org-list-description-max-indent): Rename and add aliases to old
2696         names.
2698         * org-element.el (org-element-context): Prevent an error when
2699         getting the context of a table rule.
2701         * org.el (org-deadline-time-hour-regexp)
2702         (org-scheduled-time-hour-regexp): New buffer local variables.
2703         (org-set-regexps-and-options): Set the new variables.
2705         * org-agenda.el (org-agenda-custom-commands-local-options):
2706         Add :deadline* and :scheduled* to the list of possible agenda entry
2707         types.
2708         (org-agenda): Implement a new agenda type agenda* with :scheduled*
2709         and :deadline* replacing :scheduled and :deadline respectively in
2710         agenda entry types.  In such agenda, only scheduled and deadline
2711         items with a time specification [h]h:mm will be considered.
2712         (org-agenda-entry-types): Document the new agenda entry types
2713         :scheduled* and :deadline*.
2714         (org-agenda-list): New parameter `with-hour'.  Use :scheduled* and
2715         :deadline*.
2716         (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2717         (org-agenda-get-deadlines, org-agenda-get-scheduled):
2718         New parameter `with-hour'.  Use `org-deadline-time-hour-regexp' or
2719         `org-scheduled-time-hour-regexp' as the search string if needed.
2720         (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2721         as other scheduled and deadline items don't have a time spec and
2722         cannot be turned into appointments.  Trim bracket links and use
2723         only the description as the appointment text.
2724         (org-agenda-get-restriction-and-command):
2725         Add default description for the agenda* view.
2726         (org-agenda-run-series): Handle agenda* views.
2728         * org-faces.el (org-agenda-filter-tags)
2729         (org-agenda-diary, org-agenda-calendar-event)
2730         (org-agenda-calendar-sexp): Minor code clean up.
2731         (org-agenda-filter-category): Docstring fix.
2732         (org-agenda-filter-category): New face.
2734         * org-agenda.el (org-agenda-local-vars):
2735         Add `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2736         (org-agenda-mode-map): Use "|" for
2737         `org-agenda-filtered-by-regexp'.
2738         (org-agenda-re-filter-overlays): New variable.
2739         (org-agenda-mark-filtered-text):
2740         Use `org-agenda-re-filter-overlays'.
2741         (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2742         (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2743         here instead of within `org-agenda-apply-filter'.
2744         (org-agenda-regexp-filter): New variable.
2745         (org-agenda-filter-by-regexp): New function to filter agenda
2746         buffers by regexp.
2747         (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2748         (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2749         `org-agenda-category-filter'.  Maybe apply regexp filter.
2750         (org-agenda-filter-hide-line): Add docstring.
2751         Hide regexp-filtered lines.
2752         (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2753         Add docstring.
2754         (org-agenda-filter-show-all-regexp): New function.
2755         (org-agenda-set-mode-name): Add regexp-filter information.
2756         (org-agenda-custom-commands-local-options): Add regexp filter.
2757         (org-agenda-regexp-filter-preset): New variable.
2758         (org-agenda-prepare): Use the new variable.
2760         * ox-odt.el (org-odt-code, org-odt-verbatim):
2761         Use `org-odt--encode-plain-text'.
2763         * ox-html.el (org-html-link): Minor code clean-up.
2765         * org.el (org-insert-heading): DTRT when in a narrowed region.
2767         * org-compat.el (org-buffer-narrowed-p): New compatibility
2768         function.
2770         * ox-html.el (org-html-format-inline-image): Fix missing string in
2771         formatting string.
2773         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2774         New allowed value `repeated-after-deadline' which will prevent the
2775         display of scheduled items when repeated after the current
2776         deadline.
2777         (org-agenda-get-scheduled): Handle the new value.
2779         * org.el (org-time-string-to-absolute): Tiny docstring fix.
2781         * ox-html.el (org-html-style-default): New classes `footpara' and
2782         `footdef' for the footnotes paragraphs and definitions.
2783         (org-html-format-footnote-definition): Wrap the footnote
2784         defintions into their own div.
2785         (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2786         footnote.
2787         (org-html-container-element, org-html-divs): Mention that
2788         org-info.js will not work when changing the defaults.
2790         * ox-md.el (md): Export underlined text as verbatim.
2792         * ox-html.el (org-html-style-default): New CSS .underline and
2793         #org-div-home-and-up.
2794         (org-html-text-markup-alist): Don't hardcode the style, use the
2795         new class .underline.
2796         (org-html-home/up-format): Don't hardcode the style, use
2797         #org-div-home-and-up.
2798         (org-html-center-block): Use the .center class.
2800         * ox-md.el (org-md-underline): New function.
2802         * org-agenda.el (org-sorting-choice): Fix default value.
2804         * ox-html.el (org-html-format-footnote-definition)
2805         (org-html-footnote-section): Don't wrap footnote definitions into
2806         tables.
2807         (org-html-paragraph): Add HTML style and class parameter when the
2808         paragraph is in a footnote definition.  Also allow to add an extra
2809         string after the paragraph.  Further parameters can be added for
2810         paragraphs in other environments.
2811         (org-html-template): Always include the title as <h1
2812         class="title"></h1>, even when there is no title, as org-info.js
2813         needs it.
2815         * org-element.el (org-element-map): Fix tiny typo in docstring.
2817         * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2819         * ox-html.el (org-html-format-inline-image): Don't add superfluous
2820         <p></p> when there is an empty caption.
2822         * org-agenda.el (org-agenda-refile): Enhance docstring.  Allow to
2823         clear the refile cache with C-0 or C-u C-u C-u.
2825         * ox-md.el (org-md-export-as-markdown): Tiny docstring fix.  Fix a
2826         library keyword in the comment section.
2828         * org.el (org-toggle-item): Convert all normal lines as items when
2829         there is a region, and only convert the first line when called
2830         with a universal prefix argument.  This is consistent with the
2831         behavior of `org-toggle-heading'.
2832         (org-toggle-heading): When the region contains only normal lines,
2833         a universal prefix arg will only convert the first line.  This is
2834         more consistent with `org-toggle-item'.
2835         (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2836         (customize-package-emacs-version-alist):
2837         Update `customize-package-emacs-version-alist'.
2839         * ox-texinfo.el (org-export-texinfo)
2840         (org-texinfo-filename, org-texinfo-classes)
2841         (org-texinfo-format-headline-function)
2842         (org-texinfo-node-description-column)
2843         (org-texinfo-active-timestamp-format)
2844         (org-texinfo-link-with-unknown-path-format)
2845         (org-texinfo-tables-verbatim)
2846         (org-texinfo-table-scientific-notation)
2847         (org-texinfo-text-markup-alist)
2848         (org-texinfo-format-drawer-function)
2849         (org-texinfo-format-inlinetask-function)
2850         (org-texinfo-info-process):
2851         * ox-odt.el (org-odt-format-drawer-function)
2852         (org-odt-format-headline-function)
2853         (org-odt-format-inlinetask-function):
2854         * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2855         and :package-version keywords.
2857         * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2858         by default as it will change many clocktables out there.  Let the
2859         user decides whether she wants to turn this on.
2861         * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2863         * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2864         default.
2866         * ox-html.el (org-html-style-default): More cosmetic tweaks.
2867         (org-html-head-include-default-style): Minor docstring update.
2869         * ox.el (org-export-snippet-translation-alist)
2870         (org-export-coding-system, org-export-in-background)
2871         (org-export-async-init-file, org-export-invisible-backends)
2872         (org-export-dispatch-use-expert-ui):
2873         * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2874         (org-texinfo-format-headline-function)
2875         (org-texinfo-node-description-column)
2876         (org-texinfo-active-timestamp-format)
2877         (org-texinfo-link-with-unknown-path-format)
2878         (org-texinfo-tables-verbatim)
2879         (org-texinfo-table-scientific-notation)
2880         (org-texinfo-text-markup-alist)
2881         (org-texinfo-format-drawer-function)
2882         (org-texinfo-format-inlinetask-function)
2883         (org-texinfo-info-process):
2884         * ox-man.el (org-man-tables-centered)
2885         (org-man-table-scientific-notation)
2886         (org-man-source-highlight, org-man-source-highlight-langs)
2887         (org-man-pdf-process, org-man-logfiles-extensions):
2888         * ox-html.el (org-html-allow-name-attribute-in-anchors)
2889         (org-html-coding-system, org-html-divs):
2890         * ox-ascii.el (org-ascii-text-width)
2891         (org-ascii-headline-spacing, org-ascii-indented-line-width)
2892         (org-ascii-paragraph-spacing, org-ascii-charset)
2893         (org-ascii-underline, org-ascii-bullets)
2894         (org-ascii-links-to-notes)
2895         (org-ascii-table-keep-all-vertical-lines)
2896         (org-ascii-table-widen-columns)
2897         (org-ascii-table-use-ascii-art)
2898         (org-ascii-format-drawer-function)
2899         (org-ascii-format-inlinetask-function):
2900         * org.el (org-modules, org-export-backends)
2901         (org-highlight-latex-and-related, orgstruct-setup-hook):
2902         * org-attach.el (org-attach-git-annex-cutoff):
2903         * org-archive.el (org-archive-file-header-format):
2904         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2905         * ob-python.el (org-babel-python-hline-to)
2906         (org-babel-python-None-to):
2907         * ob-ditaa.el (org-ditaa-eps-jar-path):
2908         * ob-core.el (org-babel-results-keyword): Add :version and
2909         :package-version.
2911         * ox-ascii.el: Use utf-8-emacs as the file coding system.
2913         * org-capture.el (org-capture-templates, org-capture-string)
2914         (org-capture-steal-local-variables)
2915         (org-capture-empty-lines-before)
2916         (org-capture-empty-lines-after)
2917         (org-capture-insert-template-here)
2918         (org-capture-import-remember-templates): Fix or add docstring.
2920         * ox-html.el (org-html-style-default): Cosmetic changes.
2921         (org-html-postamble, org-html-preamble)
2922         (org-html-preamble-format): Update docstring.
2924         * org-agenda.el (org-agenda-format-date-aligned)
2925         (org-agenda-time-of-day-to-ampm-maybe)
2926         (org-scheduled-past-days)
2927         (org-agenda-normalize-custom-commands)
2928         (org-agenda-run-series, org-store-agenda-views): Fix or add
2929         docstring.
2931         * ox-latex.el:
2932         (org-latex-table-scientific-notation, org-latex-verse-block):
2933         Fix typos in docstrings.
2935         * ox-html.el (org-html-text-markup-alist)
2936         (org-html-pretty-output, org-html-link-org-files-as-html)
2937         (org-html-postamble, org-html-preamble)
2938         (org-html-format-inline-image, org-html-splice-attributes)
2939         (org-export-splice-style, org-html-htmlize-region-for-paste)
2940         (org-html-fix-class-name)
2941         (org-html-format-footnote-reference)
2942         (org-html-format-footnotes-section)
2943         (org-html-footnote-section, org-html--anchor)
2944         (org-html--todo, org-html--tags, org-html-format-headline)
2945         (org-html-toc, org-html-format-section, org-html-checkbox)
2946         (org-html-format-list-item, org-html-format-latex)
2947         (org-html-encode-plain-text)
2948         (org-html-table-first-row-data-cells)
2949         (org-html-table--table.el-table, org-html-final-function):
2950         Fix or add docstring.
2952         * org.el (org-insert-heading): If the current item has a checkbox,
2953         insert the new item with a checkbox.
2955         * org.el (org-insert-heading): Don't delete spaces in empty
2956         headlines.
2958         * ox-odt.el (org-odt-keyword): Fix typo.
2960         * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2962         * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2964         * org-faces.el (org-column): Update docstring.
2966         * org-colview.el: Update error message.
2968         * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2969         org-w3m.el, org-wl.el as these files are now part of contrib/.
2971         * org-mew.el:
2972         * org-vm.el:
2973         * org-w3m.el:
2974         * org-wl.el: Delete (moved to Org's contrib/ directory.)
2976         * org-capture.el (org-mks): Move from org-mks.el.
2978         * org-mks.el: Delete.
2980         * ox-html.el (html): Update HTML options names.
2982         * org.el (org-show-context): Don't try to fix ellipsis when
2983         showing a subtree in agenda.
2985         * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
2986         known as HTML_STYLE_EXTRA.
2987         (org-html-head): Enhance docstring.
2988         (org-html-head-extra): Reintroduce.  Was `org-html-style-extra'.
2989         (org-html--build-head): Rename from `org-html--build-head'.
2990         Add information from `org-html-head-extra'.
2991         (org-html-template): Use `org-html--build-head'.
2993         * ox-html.el (org-html-display-buffer-mode): Delete.
2994         (org-html-export-as-html): Use `set-auto-mode' instead of
2995         `org-html-display-buffer-mode'.
2997         * org-agenda.el (org-agenda-write): Overwrite file when called
2998         non-interactively.
3000         * org-mobile.el (org-mobile-edit): Workaround a
3001         `org-insert-heading-respect-content' bug which prevents correct
3002         insertion when point is invisible
3004         * org.el (org-previous-line-empty-p): New parameter to allow
3005         checking next line.  Add a docstring.
3006         (org-insert-heading): Handle two universal prefix arguments as
3007         advertised in the docstring.  Don't insert new lines when
3008         creating a heading after the first heading in the current
3009         subtree.
3010         (org-insert-heading-respect-content): New optional argument
3011         arg, passed to `org-insert-heading'.
3013         * org.el (org-mode): Remove syntax entries.
3014         Use `org-backward-element' and `org-forward-element' for
3015         `beginning-of-defun-function' and `end-of-defun-function': this
3016         allows using C-M-a and C-M-e before the first headline.
3018         * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
3020         * ox-org.el (org-org-htmlized-css-url): Rename from
3021         `org-html-htmlized-org-css-url' and moved here from ox-html.el.
3022         (org-org-publish-to-org): Handle :htmlized-source in
3023         publishing projects.
3025         * ox-html.el (org-html-style-default): Update docstring.
3026         (org-html-infojs-install-script, org-html--build-style):
3027         Update property names.
3028         (org-html-head-include-scripts)
3029         (org-html-head-include-default-style, org-html-head):
3030         Respectively rename from `org-html-style-include-scripts',
3031         `org-html-style-include-default' and `org-html-style', now
3032         obsolete.
3033         (org-html-style-extra): Delete.
3035         * org-clock.el (org-clock-out): Fix bug: if a closing note needs
3036         to be stored in the drawer where clocks are stored, let's
3037         temporarily remove `org-clock-remove-empty-clock-drawer' from
3038         `org-clock-out-hook'.
3040         * ob-tangle.el (org-babel-tangle): Remove unused attempt of
3041         prompting the user of the tangle file name since :tangle is always
3042         set.  Don't prompt for a tangle file name when called with two
3043         universal prefix arg outside of a src block.
3044         Use `org-babel-tangle-single-block'.
3045         (org-babel-tangle-single-block): New function.
3046         (org-babel-tangle-collect-blocks): Use the new function.
3048         * org-table.el (org-table-convert-region, org-table-export)
3049         (org-table-align, org-table-beginning-of-field)
3050         (org-table-copy-down, org-table-check-inside-data-field)
3051         (org-table-insert-column, org-table-find-dataline)
3052         (org-table-delete-column, org-table-move-column)
3053         (org-table-insert-row, org-table-insert-hline)
3054         (org-table-kill-row, org-table-paste-rectangle)
3055         (org-table-wrap-region, org-table-sum, org-table-get-formula)
3056         (org-table-get-formula, org-table-get-stored-formulas)
3057         (org-table-fix-formulas, org-table-maybe-eval-formula)
3058         (org-table-rotate-recalc-marks, org-table-eval-formula)
3059         (org-table-get-range, org-table-get-descriptor-line)
3060         (org-table-find-row-type, org-table-recalculate)
3061         (org-table-iterate, org-table-iterate-buffer-tables)
3062         (org-table-formula-handle-first/last-rc)
3063         (org-table-edit-formulas, org-table-fedit-shift-reference)
3064         (org-rematch-and-replace, org-table-shift-refpart)
3065         (org-table-fedit-finish, org-table-fedit-lisp-indent)
3066         (org-table-show-reference, org-table-show-reference)
3067         (org-table-show-reference, org-table-show-reference)
3068         (org-table-force-dataline, orgtbl-error, orgtbl-export)
3069         (orgtbl-send-replace-tbl, org-table-to-lisp)
3070         (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
3071         (orgtbl-toggle-comment, orgtbl-insert-radio-table)
3072         (orgtbl-to-unicode, org-table-get-remote-range)
3073         (org-table-get-remote-range, org-table-copy-dow)
3074         (org-table-check-inside-data-field, org-table-insert-colum)
3075         (org-table-find-dataline, org-table-delete-colum)
3076         (org-table-move-column, org-table-insert-ro)
3077         (org-table-insert-hline, org-table-kill-ro)
3078         (org-table-paste-rectangle, org-table-wrap-regio)
3079         (org-table-sum, org-table-get-formul)
3080         (org-table-get-stored-formulas, org-table-fix-formula)
3081         (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
3082         (org-table-eval-formul, org-table-get-range)
3083         (org-table-get-descriptor-lin, org-table-find-row-type)
3084         (org-table-recalculat, org-table-iterate)
3085         (org-table-iterate-buffer-table)
3086         (org-table-formula-handle-first/last-r)
3087         (org-table-edit-formulas, org-table-fedit-shift-referenc)
3088         (org-rematch-and-replace, org-table-shift-refpar)
3089         (org-table-fedit-finish, org-table-fedit-lisp-inden)
3090         (org-table-show-reference, org-table-force-datalin)
3091         (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
3092         (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
3093         (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
3094         (org-table-get-remote-range): Use `user-error' instead of
3095         `error' for user errors.
3097         * ob-core.el (org-babel-load-in-session): Throw a useful error
3098         when there is no code block at point.
3100         * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
3101         parameter to ARG.  Allow two universal prefix arguments to tangle
3102         by the target file of the block at point.
3103         (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
3104         to restrict the collection of blocks to those who will be
3105         tangled in TARGET-FILE.
3107         * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
3108         by default (i.e., deactivate auto-saving.)
3109         (org-edit-src-code): Set `buffer-auto-save-file-name' for
3110         auto-saving with `auto-save-mode'.
3112         * org.el (org-deadline, org-schedule): When called with two
3113         universal prefix arguments, set the warning time or the delay
3114         relatively to the current timestamp, not to today's date.
3116         * org-agenda.el (org-agenda-filter-apply):
3117         Deactive `org-agenda-entry-text-mode' when filtering.
3118         (org-agenda-entry-text-mode): Don't allow in filtered views.
3119         Don't show the maximum number of lines when turning off.
3121         * ox-html.el (org-html-headline): Add comment.
3123         * org.el (org-mode): Set `paragraph-start'.
3125         * org-agenda.el (org-agenda-entry-text-leaders): New option.
3126         (org-agenda-entry-text-show-here): Use it.
3128         * ox-html.el (org-html-link--inline-image): Always retrieve
3129         attributes for inline images.
3130         (org-html-link): Fix trailing whitespace at the end of the opening
3131         <a ...> HTML tag.
3132         (org-html-headline): For headlines whose first element is a
3133         headline and not a section, pretend there is an empty section (as
3134         "") for the correct HTML div to be inserted.
3136         * org-agenda.el (org-agenda-collect-markers)
3137         (org-create-marker-find-array): Move to ox-icalendar.el.
3138         (org-agenda-marker-table, org-check-agenda-marker-table):
3139         Delete.
3141         * ox-icalendar.el (org-icalendar-create-uid): New parameter
3142         H-MARKERS to only update some headlines, not the whole file.
3143         (org-icalendar--combine-files): When exporting to an .ics file
3144         only add UID to the headlines shown in the agenda buffer.
3145         (org-agenda-collect-markers, org-create-marker-find-array):
3146         Move here.
3148         * org-agenda.el (org-agenda-write): Ask before overwriting an
3149         existing file.
3151         * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
3152         Use `org-html-infojs-opts-table'.
3154         * ox-html.el (org-html-infojs-opts-table):
3155         (org-html-use-infojs, org-html-infojs-options)
3156         (org-html-infojs-template): Move from ox-jsinfo.el.  Rename using
3157         the org-html- prefix.
3158         (org-html-infojs-install-script): Move from ox-jsinfo.el.
3160         * ox-jsinfo.el: Delete.
3162         * ox-html.el (org-html-section): Fix indentation.
3163         (org-html-inner-template): Add the document title here, within the
3164         "content" class, as the org-info.js needs it.
3165         (org-html-template): Don't include the document's title here.
3166         (org-html-format-inlinetask-function): Remove wrong example.
3168         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
3169         blocks in commented out headings.
3171         * ox-latex.el (org-latex-logfiles-extensions)
3172         (org-latex-remove-logfiles): Improve docstrings.
3174         * org-capture.el (org-capture): Cosmetic fix.
3176         * org-protocol.el (org-protocol-create-for-org)
3177         (org-protocol-create): Small docstrings enhancements.
3179         * org-protocol.el (org-protocol-capture): Small docstring fix.
3181         * org.el (org-speed-command-activate): Only forbid in src code
3182         blocks.
3184         * org-indent.el
3185         (org-indent-add-properties): Bugfix: prevent negative value for
3186         `added-ind-per-lvl'.
3188         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
3189         `isearch-mode-end-hook' so that any isearch fixes the problem with
3190         ellipsis on the first line.
3191         (org-fix-ellipsis-at-bol): New defsubst.
3192         (org-show-context, org-isearch-end): Use it.
3194         * org-agenda.el (org-agenda-deadline-leaders): New formatting
3195         string for past deadlines.
3196         (org-agenda-scheduled-leaders): Small change.
3197         (org-agenda-get-deadlines): Use the new formatting string.
3199         * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
3201         * org.el (org-speed-command-activate): Don't activate speed
3202         commands within blocks.
3204         * org.el (org-show-context): Remove useless catch.  Make sure the
3205         top of the window is a visible headline.
3206         (org-activate-plain-links): Remove unused catch.
3208         * org-macs.el (org-get-alist-option): Return nil, not (nil), so
3209         that `org-show-context' DTRT.
3211         * org.el (org-imenu-get-tree): Fix bug when matching against empty
3212         headlines.
3213         (org-overview): Stay on current line.
3214         (org-map-entries): Fix docstring.
3216         * org-macs.el (org-unmodified): Update comment.  Don't define
3217         `with-silent-modifications' for emacsen that don't have it.
3219         * org-compat.el (org-with-silent-modifications):
3220         New compatibility macro.
3222         * org.el (org-refresh-category-properties)
3223         (org-refresh-properties, org-entry-blocked-p)
3224         (org-agenda-prepare-buffers):
3226         * org-indent.el (org-indent-remove-properties)
3227         (org-indent-add-properties):
3229         * org-colview.el (org-columns-display-here)
3230         (org-columns-remove-overlays, org-columns-quit)
3231         (org-columns-edit-value, org-columns-compute-all)
3232         (org-columns-compute, org-agenda-colview-compute):
3234         * org-clock.el (org-clock-sum): Use the compatibility macro
3235         `org-with-silent-modifications' instead of
3236         `with-silent-modifications'.
3238         * org.el (org-sort-remove-invisible): Remove emphasis markers.
3240         * org.el (org-sort-remove-invisible): Use defsust.  Do not only
3241         check against invisible links, truly returns the visible part of
3242         the string.
3243         (org-sort-remove-invisible): Add a docstring.
3244         (org-sort-entries): Remove hidden links when comparing entries.
3246         * org-list.el (org-sort-list): Remove hidden links when comparing
3247         list items.
3249         * ox-html.el (org-html-headline): Fix typo.
3250         (org-html-format-headline--wrap): Cosmetic change.
3252         * org.el (org-at-clock-log-p): Delete.
3254         * org-clock.el (org-at-clock-log-p): Move here.
3256         * ox-html.el (org-html-format-headline-function): Fix docstring.
3258         * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
3259         both mysql and postgresql.
3261         * org.el (org-agenda-prepare-buffers): Don't use
3262         `with-silent-modifications' too early.
3264         * org-macs.el: Add a comment on when to use `org-unmodified' and
3265         when to use `with-silent-modifications'.
3267         * org-colview.el (org-columns-display-here)
3268         (org-columns-remove-overlays, org-columns-quit)
3269         (org-columns-edit-value, org-columns-compute-all)
3270         (org-columns-compute, org-agenda-colview-compute):
3271         * org-clock.el (org-clock-sum):
3272         * org.el (org-refresh-category-properties)
3273         (org-refresh-properties, org-entry-blocked-p)
3274         (org-agenda-prepare-buffers): Use `with-silent-modifications'
3275         instead of `org-unmodified'.
3277         * ox-publish.el (org-publish-sitemap-date-format): Small docstring
3278         enhancement.
3280         * ox-latex.el (org-latex-format-headline-default-function):
3281         New option.
3282         (org-latex-format-headline-function): Use the new option as
3283         the default value.
3284         (org-latex-toc-command): Don't add vertical space after the table
3285         of contents.
3287         * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
3288         `org-with-buffer-modified-unmodified'.
3289         (org-agenda-prepare-buffers): Fix indentation.
3291         * org-macs.el (org-unmodified): Rename from
3292         `org-with-buffer-modified-unmodified'.
3293         (org-with-buffer-modified-unmodified): Delete.
3295         * ob-python.el (org-babel-python-command): Use a defcustom.
3296         (org-babel-python-mode): Use a defcustom and default to
3297         'python-mode when featured.
3299         * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
3300         in the docstring.
3302         * ox-org.el (org-org-publish-to-org): Autoload.
3304         * org-protocol.el:
3305         * org-bibtex.el: Remove remember support.
3307         * org-clock.el (org-clock-heading-for-remember): Delete.
3308         (org-clock-in): Do not set the heading for remember.
3310         * org.el (org-move-subtree-down, org-forward-element)
3311         (org-backward-element):
3313         * org-table.el (org-table-previous-field)
3314         (org-table-move-column, org-table-move-row):
3316         * org-list.el (org-move-item-down, org-move-item-up)
3317         (org-cycle-item-indentation): Use `user-error' when moving or
3318         modifying the element at point is not possible.
3320         * ox-html.el (org-html-table-header-tags)
3321         (org-html-table-data-tags, org-html-table-row-tags)
3322         (org-html-table-align-individual-fields): Use the
3323         org-export-html group.
3324         (org-html-inline-src-block, org-html-link): Fix error messages.
3325         (org-html-begin-plain-list): Fix formatting, better FIXME
3326         comment.
3328         * org.el (org-fill-paragraph): Fill using
3329         `org-mode-transpose-word-syntax-table'.
3331         * ox-org.el (org-org-publish-to-org): New defun.
3333         * ox-html.el (org-export-htmlize): Delete group.
3334         (org-html-htmlize-output-type)
3335         (org-html-htmlized-org-css-url)
3336         (org-html-htmlize-region-for-paste): Rename from
3337         org-export-htmlize-*.
3338         (org-html-htmlize-generate-css, org-html-fontify-code):
3339         Use the correct names.
3341         * org-compat.el (org-file-equal-p): New compatibility function.
3343         * ox.el (org-export-output-file-name): Use the new function.
3345         * org-clock.el (org-clock-set-current)
3346         (org-clock-delete-current): Delete.
3347         (org-clock-in, org-clock-out): Set and delete
3348         `org-clock-current-task'.  Minor code clean-up.
3350         * org-clock.el (org-clock-in, org-clock-in-last):
3351         Tell `org-current-time' to always return a past time.
3353         * org.el (org-current-time): New argument `past' to force
3354         returning a past time when rounding.
3356         * org-agenda.el (org-agenda-unmark-clocking-task): New function.
3357         (org-agenda-mark-clocking-task): Use it.
3358         (org-agenda-clock-in): Let the cursor where it is.
3359         (org-agenda-clock-out): Ditto.  Also remove the
3360         `org-agenda-clocking' overlay.
3362         * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
3363         so that it ends at the beginning of the next headline at the same
3364         level.
3366         * org.el (org-set-effort, org-property-next-allowed-value):
3367         When needed, update the current clock effort time.
3368         (org-next-link): New parameter `search-backward'.  Fix bug when at
3369         a link with no 'org-link face, e.g., in a DONE headline.  Throw a
3370         message instead of an error.
3371         (org-previous-link): Use `org-next-link'.
3373         * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
3374         when `org-prefix-has-breadcrumbs' is non-nil.
3376         * org.el (org-mode): Don't make characters from
3377         `org-emphasis-alist' word constituents.
3378         (org-mode-transpose-word-syntax-table): Rename from
3379         `org-syntax-table'.
3380         (org-transpose-words):
3381         Use `org-mode-transpose-word-syntax-table'.
3383         * ox.el (org-export--dispatch-ui)
3384         (org-export--dispatch-action): Use integers for control chars.
3386         * org-agenda.el (org-agenda-set-restriction-lock): Put the
3387         overlay until the end of the subtree, not the end of the
3388         headline.
3390         * org.el (org-entry-delete, org-delete-property): New optional
3391         arg delete-empty-drawer, a string, to delete any empty drawer
3392         with that name.
3393         (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
3394         if empty.
3396         * org-src.el (org-src-mode-map, org-edit-src-code)
3397         (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
3398         for `org-edit-src-abort'.
3400         * org.el (org-mode): Use org-unmodified during startup
3401         initialization for functions that may be inhibited.
3403         * org-table.el (org-table-align): Only set the window start
3404         when table alignment is performed in the selected window.
3406         * org-src.el (org-edit-src-auto-save-idle-delay): New option.
3407         (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
3408         (org-edit-src-code-timer): New timer variable.
3409         (org-edit-src-code): Run the timer.
3410         (org-edit-fixed-width-region): Enhance message.
3411         (org-edit-src-exit): Cancel the timer.
3412         (org-edit-src-save): Prevent saving when editing fixed-width
3413         buffer, exiting will save already.
3414         (org-edit-src-exit): Inconditionally kill the src/example
3415         editing buffer.
3417         * org-pcomplete.el (pcomplete/org-mode/file-option):
3418         Require 'org-element.  This fixes a bug about unbound variable
3419         `org-element-affiliated-keywords' when trying to complete a
3420         keyword before 'org-element was required.
3422         * org-list.el (org-list-bullet-string): Replace match when there
3423         is a match, otherwise just return the bullet.
3425         * org-src.el (org-src-mode-map): New binding C-c k to abort
3426         editing.
3427         (org-edit-src-code): Mention the keybinding to abort editing
3428         and go back to the correct position.
3429         (org-edit-src-abort): New command to abort editing.
3431         * ox-html.el (org-html--build-meta-info): Add a newline before
3432         the title meta information.
3434         * org.el (org-return-follows-link): Mention that this does not
3435         affect the behavior of RET in tables.
3437         * ox-html.el (org-html--build-mathjax-config): Only include
3438         MathJax configuration if the resulting HTML contains LaTeX
3439         fragments.
3441         * org.el (org-syntax-table, org-transpose-words): Delete.
3442         (org-mode): Syntactically Define {} and <> as parentheses.
3443         (org-drag-line-forward, org-drag-line-backward):
3444         New functions.
3445         (org-shiftmetaup, org-shiftmetadown): Fall back on the new
3446         functions instead of throwing an error.
3447         (org-make-org-heading-search-string): Don't use statistic or [x/y]
3448         cookies when creating a link.
3450         * ox-html.el (org-html-table): Append #+attr_html attributes.
3452         * org.el (org-emphasis-alist, org-protecting-blocks):
3453         * org-src.el (org-edit-src-find-region-and-lang):
3454         * org-list.el (org-list-forbidden-blocks):
3455         * org-footnote.el (org-footnote-forbidden-blocks):
3456         Remove references to the deleted DocBook exporter.
3458         * org.el (org-end-of-line): Don't throw an error outside elements.
3460         * ox-html.el (org-html-link): Don't throw an error if the value
3461         of the :ID: property has not been generated by uuidgen.
3463         * org-pcomplete.el (pcomplete/org-mode/file-option/x):
3464         Resurrect.  Use `org-default-options' to initialize completion
3465         fonctions for the most important keywords.
3467         * org-macs.el (org-default-options): Rename and adapt from
3468         `org-get-current-options'.
3470         * org.el (org-options-keywords): Add keywords.
3472         * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
3474         * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
3476         * ox-html.el (org-html-display-buffer-mode): New option.
3477         (org-html-export-as-html): Use it.
3479         * ob-core.el (org-babel-insert-result): Fix bug when inserting
3480         an empty string as the result.
3482         * org.el (org-timestamp-change): New optional parameter
3483         `suppress-tmp-delay' to suppress temporary delay like "--2d".
3484         (org-auto-repeat-maybe): Suppress temporary delays.
3486         * org-agenda.el (org-agenda-get-scheduled): When the delay is
3487         of the form "--2d" and there is a repeater, ignore the delay
3488         for further repeated occurrences.
3490         * org-agenda.el (org-agenda-get-deadlines)
3491         (org-agenda-get-scheduled): Minor refactoring.
3493         * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
3494         (org-edit-special): Don't allow to edit when buffer is read only.
3496         * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
3497         and `cache-dir' when `processing-type' is 'mathjax.
3498         (org-html-format-latex): Fix conversion in non-file buffers.
3500         * org.el (org-speed-commands-default): Bind `B' and `F' to
3501         `org-previous-block' and `org-next-block'.
3502         (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
3503         see today's diary as "?" is already bounded by Calendar.
3504         (org-read-date-minibuffer-local-map): Use "." to go to today's
3505         date.
3507         * ob-core.el (org-babel-next-src-block)
3508         (org-babel-previous-src-block): Rewrite using
3509         `org-next-block'.
3511         * org.el (org-next-block, org-previous-block): New navigation
3512         commands.
3513         (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
3514         respectively.
3516         * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
3517         when writing to an .org file.
3519         * org.el (org-copy-subtree): New parameter `nosubtrees'.
3521         * org-agenda.el (org-agenda-write): Allow writing to an .org file.
3523         * org.el (org-paste-subtree): Fix typo in docstring.
3525         * org-agenda.el (org-agenda-get-todos)
3526         (org-agenda-get-timestamps): Use nil as `ts-date' for diary
3527         sexpressions.
3528         (org-agenda-get-todos): Skip diary sexps when trying to sort by
3529         timestamp.
3530         (org-agenda-max-entries, org-agenda-max-todos)
3531         (org-agenda-max-tags, org-agenda-max-effort): New options.
3532         (org-timeline, org-agenda-list, org-search-view)
3533         (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
3534         what agenda type we are currently finalizing for.
3535         (org-agenda-finalize-entries): Limit the number of entries
3536         depending on the new options.
3537         (org-agenda-limit-entries): New function.
3539         * org.el (org-deadline): Allow a double universal prefix argument
3540         to insert/update a warning cookie.
3541         (org-deadline): Allow a double universal prefix argument to
3542         insert/update a delay cookie.
3544         * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
3545         New option.  The structure of the possible values is copied
3546         from `org-agenda-skip-deadline-prewarning-if-scheduled'.
3547         (org-agenda-get-scheduled): Honor the two new option,
3548         `org-scheduled-delay-days' and
3549         `org-agenda-skip-deadline-prewarning-if-scheduled'.  I.e. if a
3550         scheduled entry has a delay cookie like "-2d" (similar to the
3551         prewarning cookie for deadline), don't show the entry until
3552         needed.
3554         * org.el (org-deadline-warning-days): Small docstring fix.
3555         (org-scheduled-delay-days): New option (see
3556         `org-deadline-warning-days'.)
3557         (org-get-wdays): Use the new option.
3559         * org-agenda.el (org-agenda-sorting-strategy): Document the
3560         new sorting strategies.
3561         (org-agenda-get-todos, org-agenda-get-timestamps)
3562         (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
3563         `ts-date' text property with scheduled, deadline or timetamp
3564         date.
3565         (org-cmp-ts): New function to compare timestamps.
3566         (org-em): Add a docstring.
3567         (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
3568         Implement the following sorting strategies: timestamp-up/down,
3569         scheduled-up/down, deadline-up/down, ts-up/down (for active
3570         timestamps) and tsia-up/down (for inactive timestamps.)
3572         * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
3574         * org.el (org-contextualize-validate-key): Check against two new
3575         context predicates [not-]in-buffer.
3577         * org-agenda.el (org-agenda-custom-commands-contexts):
3578         Document the new [not-]in-buffer context predicates.
3580         * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
3581         (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
3582         string directly.
3584         * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
3585         friends, rely on the extension of the output file.
3587         * org-archive.el (org-archive-file-header-format): New option.
3588         (org-archive-subtree): Use it.
3590         * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
3591         set the output type.
3593         * org.el (org-read-date-minibuffer-local-map): New variable.
3594         (org-read-date): Use it.
3595         (org-read-date-minibuffer-setup-hook): Mark as obsolete.
3596         (org-read-date): Bind `!' to `diary-view-entries' in order to
3597         check diary entries while setting an Org date.
3599         * org-agenda.el (org-diary): Only keep the descriptions of the
3600         links since Org links are not active in the diary buffer.
3602         * org-faces.el (org-priority): New face.
3604         * org.el (org-font-lock-add-priority-faces): Use the new face.
3606         * org-agenda.el (org-agenda-fontify-priorities): Use the
3607         org-priority face and add specific agenda face on top of it.
3609         * org-agenda.el (org-agenda-show-clocking-issues)
3610         (org-agenda-format-item): Let-bind
3611         `org-time-clocksum-use-effort-durations' to nil.
3613         * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
3614         universal prefix arguments on a list where all items are already
3615         in a transitory state.  Refine the error when the checkbox cannot
3616         be toggled.
3618         * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
3619         requiring any org library.  Also use `load', not
3620         `org-load-noerror-mustsuffix'.
3621         (org-effort-durations): Move up to fix a compiler warning.
3622         (org-edit-special): Fix typo in docstring.
3623         (org-time-clocksum-format): Add a version tag and add to the
3624         'org-clock group.
3625         (org-time-clocksum-use-fractional): Ditto.
3626         (org-time-clocksum-use-effort-durations): New option to allow
3627         using `org-effort-durations' when computing clocksum durations.
3628         (org-minutes-to-clocksum-string): Use the new option.
3630         * org-clock.el (org-clocktable-write-default): Let-bind
3631         `org-time-clocksum-use-effort-durations' to a new clocktable
3632         parameter ":effort-durations".
3634         * org-entities.el (org-entities): "neg" should be used in LaTeX
3635         math mode.  Add the "neg" entity.
3637         * org-mobile.el (org-mobile-allpriorities): New option.
3638         (org-mobile-create-index-file): Use the new option.
3640         * org-latex.el (org-export-latex-inline-images): New option.
3642         * org.el (org-forward-heading-same-level): Before the first
3643         headline, go to the first headline.
3644         (org-backward-heading-same-level): Before the first headline,
3645         go to the beginning of the buffer, like
3646         `outline-previous-visible-heading' does.
3648         * org-exp.el (org-export-plist-vars): Don't use
3649         `org-export-html-inline-images' to set the :inline-images
3650         property, use distinct properties for the various backends.
3652         * org-publish.el (org-publish-project-alist): Ditto.
3654         * org-latex.el (org-export-latex-links): Use :latex-inline-images
3655         instead of :inline-images.
3657         * org-odt.el (org-compat): Require.
3659         * org.el (org-parse-time-string): Allow strings supported by
3660         tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3662         * org-clock.el (org-clock-rounding-minutes): New option to round
3663         the time by N minutes in the past when clocking in or out.
3664         (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3665         option.
3667         * org.el (org-current-time): New optional parameter
3668         `rounding-minutes' to override the use of
3669         `org-time-stamp-rounding-minutes' for rounding.
3671         * org-clock.el (org-clock-special-range): Small docstring fix.
3672         New parameter 'weekstart to define the week start day.
3673         (org-clock-special-range, org-dblock-write:clocktable)
3674         (org-dblock-write:clocktable, org-clocktable-write-default)
3675         (org-clocktable-steps, org-clock-get-table-data): Use the new
3676         parameter.
3677         (org-clocktable-defaults): Set monday as the starting day of the
3678         week by setting :wstart to 1.
3680         * org.el (org-store-link): Fix the naming of internal links to
3681         lines starting with a keyword.
3683         * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3684         (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3685         Docstring fixes.
3687         * org.el (org-last-set-property-value): New variable.
3688         (org-read-property-name): Fix dangling parentheses.
3689         (org-set-property-and-value): New command to manually set
3690         both the property and the value.  A prefix arg will use the
3691         last property-value pair set without prompting the user.
3692         (org-set-property): Set `org-last-set-property-value'.
3693         (org-mode-map): Bind the new command to `C-c C-x P'.
3694         (org-find-invisible-foreground): Delete.
3695         (org-mode): Use `face-background' instead of
3696         `org-find-invisible-foreground'.
3697         (org-startup-options): New startup keywords.
3698         (org-log-into-drawer): Update docstring to explain how to set this
3699         variable through the startup keyword "logdrawer" and "nologdrawer".
3700         (org-log-states-order-reversed): Document the new startup keywords
3701         "logstatesreversed" and "nologstatesreversed".
3702         (org-mode-map): Use `org-remap' instead of binding `M-t' to
3703         `org-transpose-words' directly.
3704         (org-syntax-table): New variable.
3705         (org-transpose-words): New command, simply wrapping the new
3706         syntax table around `transpose-words'.
3707         (org-mode-map): Bind `org-transpose-words' to `M-t'.
3708         (org-store-link): Use keyword at point as the search string.
3709         Use `delq nil' instead of `delete nil'.
3710         (org-make-org-heading-search-string): Rewrite using
3711         org-element.el.  Not an interactive function anymore.
3713         * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3715         * org-mobile.el (org-mobile-files-alist): Ditto.
3717         * org.el (org-store-link): When creating a link to a heading with
3718         a bracket link, don't escape this link with curly braces as the
3719         escaped link is not active anyway; use the description instead.
3720         If the headline only consists of a bracket link, add a star to the
3721         description so that the user knows this is an internal link.
3723         * org-w3m.el (org-w3m-store-link): New function.
3725         * org.el (org-store-link): Update the error message when no method
3726         is available for storing a link.  Use `user-error' for this.
3727         Remove handling w3m links from this function.
3728         (org-insert-heading, org-insert-todo-heading): A double prefix arg
3729         force the insertion of the subtree at the end of the parent
3730         subtree.
3731         (org-store-link): A double prefix argument now skips module
3732         store-link functions to only use Org's core functions.  Also, when
3733         several modular store-link functions match, ask for which one to
3734         use.
3735         (org-cycle, org-cycle-internal-global)
3736         (org-cycle-internal-local, org-display-outline-path): Let-bind
3737         `message-log-max' to nil so that messages don't populate the
3738         *Messages* buffer.
3740         * org-table.el (org-table-eval-formula): Handle localized
3741         time-stamps by internally converting them to english during
3742         formulas evaluation.
3744         * org.el (org-clock-timestamps-up): Fix declarations.
3746         * ob-core.el (org-split-string): Declare function.
3748         * org-html.el (org-html-export-list-line): Add CSS classes to
3749         these list HTML tags: <ul> <dl> and <ol>.
3751         * org-clock.el (org-clock-timestamps-up)
3752         (org-clock-timestamps-down, org-clock-timestamps-change):
3753         Add an optional argument N to change timestamps by several units.
3755         * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3757         * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3758         'if-interactive and use it as the default.
3759         (org-export-push-to-kill-ring): Use the new choice.
3761         * org.el (org-block-entry-blocking): New variable.
3762         (org-todo): Use it.  Also use `user-error' when a TODO state
3763         change is blocked.
3764         (org-block-todo-from-children-or-siblings-or-parent):
3765         Display `org-block-entry-blocking' in the user-error message.
3767         * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3768         add the time of the day.
3770         * org-capture.el (org-capture): When capturing from the agenda and
3771         with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3772         prefix will set the capture time to the HH:MM of the current line
3773         or the current HH:MM.
3775         * org-agenda.el (org-agenda-capture): New optional argument
3776         WITH-TIME: when set to 1, the capture time will be set to the
3777         HH:MM time of the current line, or the current HH:MM time.
3779         * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3780         formatting.
3781         (org-deadline-close): Use `org-time-stamp-to-now'.
3782         (org-time-stamp-to-now): Use `org-float-time' instead of the
3783         obsolete `time-to-seconds' function.
3784         (org-format-outline-path): Fix bug: add the separator string after
3785         the prefix.
3786         (org-display-inline-images): Search for #+ATTR within the current
3787         paragraph.
3788         (org-days-to-time): Make obsolete.
3789         (org-time-stamp-to-now): Rename from `org-days-to-time'.
3790         Allow to compare time-stamps based on seconds.
3792         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3793         New option to compare time stamps using seconds, not days.
3794         (org-agenda-todo-custom-ignore-p)
3795         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3796         Use the new function's name and the new option.
3798         * org-clock.el (org-clock-sound): Enhance docstring.
3799         (org-notify): Use the parameter `play-sound' as argument for
3800         `org-clock-play-sound'.
3801         (org-clock-play-sound): New optional argument `clock-sound' to
3802         override `org-clock-sound'.
3804         * org-agenda.el (org-agenda-format-item): Fix initialization
3805         of the level text property.
3807         * org.el (org-format-outline-path): Small docstring
3808         enhancement.
3809         (org-display-outline-path): Fix order or arguments.
3811         * org.el (org-activate-plain-links)
3812         (org-activate-bracket-links): Add a new 'htmlize-link text
3813         property, so that htmlize (> version 1.42) can linkify the
3814         links.
3815         (org-display-outline-path): Allow a string value for the
3816         `as-string' parameter.  Such a value will replace the "/"
3817         separator in the output.  New argument `as-string'.
3818         (org-refile-keep): New variable.
3819         (org-copy): New command to copy notes.
3820         (org-refile): New parameter msg to override the "Refile" string in
3821         the default prompt.
3822         (org-mode-map): Bind "C-c M-w" to `org-copy'.
3823         (org-refile-get-location): Use the current file name as the
3824         default target when there is no refile history.
3825         (org-cycle-hide-inline-tasks): New function to hide inline tasks
3826         when cycling.
3827         (org-cycle-hook): Use the new function.
3828         (org-entry-put): Fix bug when updating the last clock.
3829         (org-use-last-clock-out-time-as-effective-time): New option.
3830         (org-current-effective-time): Use the new option.
3832         * org-clock.el (org-clock-get-last-clock-out-time):
3833         New function.
3835         * org.el (org-toggle-inline-images): Only send a message when
3836         called interactively.
3837         (org-scan-tags): Fix the declaration and the use of
3838         `org-agenda-format-item'.
3840         * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3841         correct number of parameters for `org-agenda-format-item'.
3842         Add a docstring.
3844         * org.el (org-outline-level): Go at the beginning of the
3845         headline first to always return a sensible result.
3847         * org-agenda.el (org-search-view, org-agenda-get-todos)
3848         (org-agenda-get-timestamps, org-agenda-get-sexps)
3849         (org-agenda-get-progress, org-agenda-get-deadlines)
3850         (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3851         correct level depending on `org-odd-levels-only'.
3852         (org-agenda-prefix-format): A new specifier `%l' allows to insert
3853         X spaces when the item is of level X.
3854         (org-search-view, org-get-entries-from-diary)
3855         (org-agenda-get-todos, org-agenda-get-timestamps)
3856         (org-agenda-get-sexps, org-agenda-get-progress)
3857         (org-agenda-get-deadlines, org-agenda-get-scheduled)
3858         (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3859         new text property 'level, a string with as many whitespaces as
3860         the level of the item.
3861         (org-agenda-format-item, org-compile-prefix-format):
3862         Handle the new `%l' specifier.
3864         * org-colview.el (org-columns-next-allowed-value): Add the
3865         CLOCKSUM property to the list of properties that can be
3866         changed interactively from the column view.
3868         * org.el (org-entry-put): Allow to set the CLOCKSUM property
3869         by updating the most recent clock.  This is useful in the
3870         column view when you want to use S-<left/right> to update the
3871         last clock of the entry at point.
3872         (org-image-actual-width): New choice: use #+ATTR* or fall back on
3873         a number.
3874         (org-display-inline-images): Implement the new choice.
3875         (org-image-actual-width): Rename from `org-image-fixed-width'.
3876         Update the docstring.  Give more choice.
3877         (org-display-inline-images): Use the option new choices.
3878         (org-image-fixed-width): New option to set a fixed width for
3879         inline images.
3880         (org-display-inline-images): Use the new option.
3882         * org-agenda.el (org-class): Allow to use holiday strings for
3883         the `skip-weeks' arguments.
3885         * org.el (org-mode): Set the syntax of the " character to "string
3886         quote".
3888         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3889         check whether we are in `org-agenda-mode'.
3890         (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3891         agendas and non-custom commands.
3893 2013-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3895         * org-src.el (org-edit-src-exit): Let overlay survive after the
3896         buffer has been saved.
3898         * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3899         backquoting.
3900         (org-texinfo-export-to-info): Use new style backquoting.
3902         * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3903         instead of `file-base-name'.
3905         * org.el (org-insert-heading): Improve whitespace behavior at
3906         end of subtree.
3907         (org-latex-default-packages-alist): Add the `rotating' package to
3908         the list of default packages.  Improve docstring.
3909         (org-insert-property-drawer): Insert only after space in current
3910         line.
3911         (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3912         the mark.
3913         (org-special-ctrl-o): New option.
3914         (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3915         is non-nil.
3917         * org-agenda.el (org-agenda-custom-commands-local-options):
3918         (org-agenda-span, org-agenda-ndays-to-span)
3919         (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3920         (org-agenda-change-time-span, org-agenda-compute-starting-span):
3921         Add support for fortnight view.
3922         (org-agenda-menu): Add fortnight view command.
3923         (org-agenda-fortnight-view): New command.
3925         * org-timer.el (org-clock-sound): Silence compiler.
3927         * org.el (org-beginning-of-line, org-end-of-line):
3928         Bind deactivate-mark to avoid that this command deactivates it.
3929         (org-make-tags-matcher): Do not interpret / in property value as
3930         starter of TODO match.
3931         (org-overview): Preserve point.
3932         (org-read-date-minibuffer-local-map): Don't replace disputed keys
3933         when defining this keymap.
3934         (org-read-date): Remove unnecessary binding of
3935         `org-replace-disputed-keys'.
3936         (org-insert-heading): Allow to remove blank lines if the user does
3937         not want any.
3938         (org-unlogged-message): Fix typo in dostring.
3940         * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3941         `org-babel-ruby-nil-to'
3942         (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3943         (org-babel-ruby-table-or-string): Convert outgoing nils.
3945         * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3946         files where available.
3948         * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3950         * org.el (org-unlogged-message): New function.
3951         (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3952         (org-global-cycle, org-display-outline-path):
3953         Use `org-unlogged-message'.
3955         * org-pcomplete.el (org-make-org-heading-search-string):
3956         Fix function declaration.
3957         (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3958         to `org-make-org-heading-search-string'.
3960         * org.el (org-read-date): Turn off replacing disputed keys when
3961         defining the minibuffer keys during date selection.
3962         (org-insert-heading): Improve the empty line insertion behavior.
3963         Basically, never remove empty lines, only add them.
3965         * org-attach.el (org-attach-commit): Use vc-git to find the git
3966         repository.
3968         * org-compat.el (org-move-to-column): Turn off invisibility stuff
3969         for moving the cursor to a column.
3971         * org.el (org-modules): Update with the new module org-mac-link.
3972         (org-display-outline-path): Do not log outline path in Message
3973         buffer.
3974         (org-agenda-ignore-drawer-properties): New option.
3975         (org-agenda-prepare-buffers):
3976         Honour `org-agenda-ignore-drawer-properties'.
3978         * org-clock.el (org-clock-goto): Recenter to thrd line
3980         * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
3981         between keywords in RECEIVE ORGTBL lines.
3983         * org.el (org-bookmark-names-plist): New user option.
3984         (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
3985         (org-refile): Use `org-bookmark-names-plist'.
3987         * org-capture.el (org-capture-bookmark-last-stored-position):
3988         Use `org-bookmark-names-plist'.
3990         * org.el (org-insert-heading): Rewritten from scratch.
3991         (org-N-empty-lines-before-current): New function
3992         (org-insert-heading-respect-content): Set the correct argument to
3993         force a heading even in lists.
3995         * org-colview.el (org-columns-display-here): Enforce fixed width
3996         font.
3998         * org-faces.el (org-column): Setting font width has been shifted
3999         to org-colview.el.
4001         * org.el (org-mode-flyspell-verify): Check for src block.
4003         * org-table.el (org-table-convert-region): Fix interactive
4004         statement.
4006         * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
4008         * org.el (org-beginning-of-line, org-end-of-line):
4009         Set disable-point-adjustment when the command ends next to invisible
4010         text.
4012         * ob-lob.el (org-babel-lob-files): Fix custom type.
4014         * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
4015         (org-agenda-inactive-leader, org-agenda-day-face-function)
4016         (org-agenda-auto-exclude-function): Fix custom type.
4018         * org-bibtex.el (org-bibtex-prefix): Fix custom type.
4020         * org-clock.el (org-clock-heading-function):
4021         (org-show-notification-handler): Fix custom type.
4023         * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
4025         * org-protocol.el (org-protocol-default-template-key): Fix custom
4026         type.
4028         * org.el (org-make-link-description-function):
4029         (org-link-translation-function):
4030         (org-link-frame-setup):
4031         (org-refile-target-verify-function):
4032         (org-get-priority-function):
4033         (org-use-fast-tag-selection):
4034         (org-columns-modify-value-for-display-function):
4035         (org-sparse-tree-default-date-type):
4036         * ox-html.el (org-html-postamble):
4037         (org-html-postamble-format):
4038         (org-html-preamble-format):
4039         * ox-odt.el (org-odt-content-template-file):
4040         * ox.el (org-export-with-archived-trees):
4041         (org-export-initial-scope): Fix custom type.
4043         * org.el (org-insert-heading): Fix problem with inserting heading.
4044         Check for checkbox at the beginning of the item, not just at the
4045         beginning of the line.
4046         (org-small-year-to-year): Fix docstring typo.
4047         (org-show-siblings): By default, also show siblings from a
4048         bookmark jump.
4050         * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
4051         the headline when agenda is restricted to a subtree.  Do not
4052         highlight the entire subtree.
4054         * org-table.el (org-table-eval-formula): Work-around for calc-eval
4055         regression.
4057         * ox.el (org-export-dispatch): Make sure the last position marker
4058         uses the base buffer if there is one.
4059         (org-export-dispatch-last-position): New variable.
4060         (org-export-dispatch): Save position of cursor at the moment when
4061         the export command is called.  Restore that position temporarily
4062         when repeating the previous export command.
4064         * org.el (org-insert-heading): Shrink whitespace at end of subtree
4065         when `org-insert-heading-respect-content' is on.
4067         * org-list.el (org-sort-list): Respect sorting-type and
4068         getkey-func when they are specified in the call.
4070         * org.el (org-sort-entries): Respect sorting-type and getkey-func
4071         when they are specified in the call.
4072         (org-format-outline-path): New argument SEPARATOR to specify a
4073         string that is inserted between parts of the outline path.
4074         (org-display-outline-path): New argument SEPARATOR, to specify a
4075         string that is inserted between parts of the outline path.
4077         * org-colview.el (org-dblock-write:columnview): Change the capture
4078         of pos to after inserting the original content
4080 2013-11-12  Christian Moe  <mail@christianmoe.com>
4082         * ox-odt.el (org-odt-line-break, org-odt-plain-text):
4083         Remove newline after line-break tag.
4085 2013-11-12  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
4087         * org.el (org-set-font-lock-defaults): Let footnote fontifications
4088         be done before other links' fontification.  This allows links
4089         appearing inside footnotes to be both visible and active.
4091 2013-11-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4093         * org.el (orgstruct-setup): Major rewrite.
4094         (orgstruct++-mode): Overwrite local non-org vars again.
4095         (orgstruct-mode): Simplify implementation.  Emulate outline's
4096         buffer-invisiblity-spec.
4097         (orgstruct-heading-prefix-regexp): Change default value to nil.
4098         (orgstruct-error): Use `user-error' if available.
4099         {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
4100         non-nil.  Always use `org-outline-level'.  Bind org-shift*.
4101         (orgstruct-make-binding): Major rewrite.
4102         (org-cycle-global-status, org-cycle-subtree-status): Set state
4103         property.
4104         (org-heading-components): Use `org-heading-regexp' in
4105         orgstruct-mode.
4106         (orgstruct-heading-prefix-regexp, orgstruct-setup-hook):
4107         New options.
4108         (orgstruct-initialized): New variable.
4109         (org-get-local-variables): Honour state property.
4110         (org-run-like-in-org-mode): Use `let' instead of `progv'.  Do not
4111         override variables with non-default values.
4112         (org-forward-heading-same-level): Do not skip to headlines on
4113         another level.  Handle negative prefix argument correctly.
4114         (org-backward-heading-same-level):
4115         Use `org-forward-heading-same-level'.
4117 2013-11-12  Craig Tanis  <craig-tanis@utc.edu>  (tiny change)
4119         * ox-latex.el (org-latex-src-block): Change format string to position
4120         caption after figure content.
4122 2013-11-12  Eric Abrahamsen  <eric@ericabrahamsen.net>
4124         * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
4125         no-op.  If that link is in a headline, act as if the `C-c C-c' was
4126         called on the headline, not the link.
4128         * ox-html.el (org-html-doctype-alist): New variable holding an
4129         alist of (X)HTML doctypes
4130         (org-html-xhtml-p, org-html-html5-p, org-html-close-tag):
4131         New function.
4132         (org-html-html5-fancy): New export option, determining whether or
4133         not to use HTML5-specific elements.
4134         (org-html-html5-elements): New variable, new HTML5 elements.
4135         (org-html-special-block): Export special blocks to new HTML5
4136         elements.
4137         (org-html-format-inline-image): Use <figure> and <figcaption> for
4138         standalone images.
4139         (org-html-format-inline-image, org-html--build-meta-info)
4140         (org-html--build-head, org-html--build-pre/postable)
4141         (org-html-template, org-html-horizontal-rule)
4142         (org-html-format-list-item, org-html-line-break, org-html-table)
4143         (org-html-verse-block): Changes to allow flavored export.
4145         * ox-latex.el (org-latex--org-table, org-latex-table-row):
4146         Allow use of the "tabu" and "longtabu" table environments.  New table
4147         attribute :spread handles the width specification syntax of "tabu"
4148         and "longtabu" table environments.
4150 2013-11-12  Eric Schulte  <eric.schulte@gmx.com>
4152         * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
4153         in a buffer.
4154         (org-bibtex-read-file): Read all bibtex entries in a file.
4155         (org-bibtex-import-from-file): Import all bibtex entries from a
4156         file into the current buffer.
4158         * ob-tangle.el (org-babel-load-file): When called with a prefix
4159         argument the tangled emacs-lisp file will be byte compiled.
4161         * ob-tangle.el (org-babel-tangle): Tangled files should not be
4162         writable.
4164         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
4165         when to fully escape the results or just print them close to
4166         verbatim.
4168         * ob.el (org-babel-result-cond): This function should now be used
4169         by all language backends to handle the processing of raw code
4170         block output into scalar results, table results, or ignored
4171         results depending on the value of result-params.
4173         * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
4175         * ob-R.el (org-babel-R-evaluate-external-process)
4176         (org-babel-R-evaluate-session):
4177         * ob-awk.el (org-babel-execute:awk):
4178         * ob-clojure.el (org-babel-execute:clojure):
4179         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
4180         * ob-fortran.el (org-babel-execute:fortran):
4181         * ob-io.el (org-babel-io-evaluate):
4182         * ob-java.el (org-babel-execute:java):
4183         * ob-lisp.el (org-babel-execute:lisp):
4184         * ob-maxima.el (org-babel-execute:maxima):
4185         * ob-picolisp.el (org-babel-execute:picolisp):
4186         * ob-python.el (org-babel-python-evaluate-external-process):
4187         (org-babel-python-evaluate-session):
4188         * ob-scala.el (org-babel-scala-evaluate):
4189         * ob-sh.el (org-babel-sh-evaluate):
4190         * ob-shen.el (org-babel-execute:shen):
4191         * ob-sql.el (org-babel-execute:sql):
4192         * ob-sqlite.el (org-babel-execute:sqlite):
4193         Use `org-babel-result-cond'.
4195         * ob.el (org-babel-common-header-args-w-values): Add a new "none"
4196         header argument.
4197         (org-babel-execute-src-block): Don't do *any* result processing if
4198         the "none" header argument has been specified.
4199         (org-babel-sha1-hash): Remove the none header argument from header
4200         arg lists when calculating cache sums.
4201         (org-babel-insert-result): Flesh out some documentation.
4203         * ob.el (org-babel-insert-result): Don't escape results in
4204         drawers.
4206         * ob-python.el (org-babel-python-hline-to): Customize hline
4207         conversion to python.
4208         (org-babel-python-None-to): Customize none conversion from python.
4209         (org-babel-python-var-to-python): Use new variable.
4210         (org-babel-python-table-or-string): Use new variable.
4212         * org.el (org-babel-load-languages): Add ob-makefile to
4213         `org-babel-load-languages'.
4215         * ob-makefile.el: New file.
4217         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
4219         * org.el (org-format-latex): Simplify and now make use of the new
4220         `org-create-formula-image' function.
4221         (org-create-formula-image): Provides a simpler interface to the
4222         two backend-specific functions.
4224         * ob-core.el (org-babel-default-header-args): It is likely that
4225         someone meant to set :padlines to "yes", but accidentally set
4226         :padnewlines to "yes".  Either way lets just remove this which
4227         shouldn't have any functional effect.
4229         * ob-haskell.el (org-babel-default-header-args:haskell):
4230         Set :padlines to "no" by default.
4232         * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
4233         source block on #+ prefixed lines.
4235         * ob-core.el (org-babel-merge-params): Replace `remove-if' with
4236         `org-remove-if'.  More careful to check that the colname- and
4237         rowname-names header arguments exist during merge.  When merging
4238         parameters, if a variable is replaced with a new value, then
4239         delete colnames/rownames for the original value of that variable.
4241         * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
4242         configurable for ditaa blocks.
4244         * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
4245         dealing with list variables.
4247         * ob-core.el (org-babel-demarcate-block):
4248         Include `org-src-lang-modes' in block demarcation options.
4250         * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
4251         files.
4253         * ob-latex.el (org-babel-latex-htlatex): Set this variable to
4254         "htlatex" (or path to said) to enable svg generation from latex
4255         code blocks.
4256         (org-babel-latex-htlatex-packages): Libraries required for
4257         automatic svg generation.
4258         (org-babel-execute:latex): Generate SVG images directly from latex
4259         code blocks (assumes tikz).
4261         * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
4262         when exporting.
4264         * ob-scheme.el (org-babel-scheme-get-repl)
4265         (org-babel-scheme-make-session-name)
4266         (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
4267         Fix whitespace and indentation.
4269         * ob-core.el (org-babel-set-current-result-hash): Update the
4270         match-string holding the hash data, and correct overlay
4271         maintenance.
4272         (org-babel-find-named-result): Call lines are not results.
4273         (org-babel-where-is-src-block-result): Don't implicitly name the
4274         results of call lines.
4275         (org-babel-exp-non-block-elements): There is now another element
4276         on the call line info list.
4278         * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
4279         the end of the info list.
4280         (org-babel-lob-execute): Pass the name through to execution.
4282         * ob-core.el (org-babel-execute-src-block): Ensure that the
4283         location is set before anything else is done.
4285         * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
4286         header arguments at the location of the original code block.
4288         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
4289         arguments.
4291         * ob-core.el (org-babel-common-header-args-w-values): Mention new
4292         header arguments.
4293         (org-babel-expand-body:generic): Use new header arguments.
4294         (org-babel-read-result): More robust matching of examplized
4295         ranges.
4296         (org-babel-result-end): More robust matching of examplized ranges.
4298         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
4299         output terminal when opened.
4300         (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
4301         code blocks.
4302         (org-babel-expand-body:gnuplot): Customization variable prefix
4303         gnuplot code blocks.
4305         * ob-core.el (org-babel-params-from-properties): Now returns a
4306         list of alists and does *not* call `org-babel-merge-params'.
4307         (org-babel-parse-src-block-match):
4308         (org-babel-parse-inline-src-block-match):
4309         * ob-exp.el (org-babel-exp-src-block):
4310         (org-babel-exp-non-block-elements):
4311         * ob-lob.el (org-babel-lob-execute): Handle new list of lists
4312         output of `org-babel-params-from-properties'.
4314         * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
4315         header argument.
4317         * ob-tangle.el (org-babel-tangle): Fix bug in tangle-file.
4318         Collect tangle modes, and only apply them to the file after all
4319         tangling has completed, including the post-tangle-hook.
4321         * ob-core.el (org-babel-read): Do not read #-prefix header-arg
4322         value as emacs lisp.
4324         * ob-core.el (org-babel-current-src-block-location):
4325         (org-babel-execute-src-block):
4326         * ob-exp.el (org-babel-exp-results):
4327         * ob-lob.el (org-babel-lob-execute):
4328         Rename `org-babel-current-exec-src-block-head' to
4329         `org-babel-current-src-block-location'.
4331         * ob-core.el (org-babel-common-header-args-w-values): Adding the
4332         new :tangle-mode header argument.
4333         (org-babel-read): Read values starting with a "#" character as
4334         emacs lisp.
4336         * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
4337         argument.
4339         * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
4340         new :tangle-mode header argument.
4342         * ob-exp.el (org-babel-exp-results): Save the code block location
4343         into `org-babel-current-exec-src-block-head' during export.
4345         * ob-comint.el (org-babel-comint-with-output): More robust edebug
4346         spec.
4348         * ob-lob.el (org-babel-lob-execute): Set the
4349         `org-babel-current-exec-src-block-head' variable when executing
4350         inline or lob style code.
4352         * ob-core.el (org-babel-execute-src-block):
4353         The `org-babel-current-exec-src-block-head' variable should point to
4354         the outermost code block.
4356         * org.el (org-some): An org-mode version of the cl some function.
4358         * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
4359         check if values are matrices.
4361         * org.el (org-every): An Org-mode version of the cl every
4362         function.
4364         * ob-tangle.el (org-babel-tangle-jump-to-org):
4365         Use `org-src-switch-to-buffer' to jump from src to org.  Use the
4366         existing `org-edit-src' functionality to jump back to the correct
4367         point in the code block in the original Org-mode buffer.
4369         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
4370         gnuplot data values in " when necessary.  Replace missing values
4371         with blank space in gnuplot.
4372         (org-babel-expand-body:gnuplot):
4373         (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
4374         (org-babel-header-args:gnuplot): Declare the.
4375         (org-babel-expand-body:gnuplot): Params is an alist not a plist.
4376         (org-babel-header-args:gnuplot): Declare gnuplot-specific header
4377         argument.
4378         (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
4379         value of the missing header argument.
4380         (org-babel-gnuplot-process-vars): Wrap in local binding for
4381         missing value.
4382         (org-babel-gnuplot-quote-tsv-field): Replace missing value with
4383         the missing header argument value when present.
4385         * ob-org.el (org-babel-expand-body:org): Allow insertion of
4386         non-strings into Org code blocks.
4387         (org-babel-inline-result-wrap): New option controlling the
4388         wrapping of inline results.
4389         (org-babel-examplize-region): Use the new defcustom.
4391         * ox-beamer.el (org-beamer--format-frame): If contents is nil,
4392         then replace it with an empty string.
4394         * ob-core.el (org-babel-read): More restrictive elisp eval of
4395         header arguments.
4397         * ob-lob.el (org-babel-lob-execute): Include default elisp header
4398         args in call lines.
4400         * ob-core.el (org-babel-result-cond): Don't over-evaluate
4401         result-params in macro.
4403         * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
4404         in Ruby code blocks.
4405         (org-babel-ruby-evaluate): Delay table processing.
4407         * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
4408         JavaScript code blocks.
4410         * ob-scheme.el (org-babel-execute:scheme):
4411         Use `org-babel-result-cond' in scheme code blocks.
4413         * ob-ocaml.el (org-babel-execute:ocaml):
4414         Use `org-babel-result-cond' in OCaml code blocks.
4416         * ob-haskell.el (org-babel-execute:haskell):
4417         Use `org-babel-result-cond' in Haskell code blocks.
4419         * ob-core.el (org-babel-result-cond): The "raw", "org" and
4420         "drawer" :results header argument values preclude table processing
4421         unless the "table" argument is given as well.
4422         (org-babel-execute-src-block): Make sure we process file results
4423         before they are passed to the post-processing code block, and not
4424         afterwards.  Tangles these two header arguments in the code, but
4425         makes for more intuitive behavior and enables important use cases.
4426         (org-babel-read): Read code block values with earmuffs as Emacs
4427         Lisp.
4428         (org-babel-common-header-args-w-values): Add :post to the list of
4429         header arguments.
4430         (org-babel-execute-src-block): Post process results when the :post
4431         header argument has been supplied.
4433         * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
4434         save-excursion nested inside a save-window-excursion.
4436         * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
4437         used to match code block names.
4438         (org-babel-get-src-block-info): Remove the code used to parse this
4439         alternate variable specification syntax.
4440         (org-babel-insert-result): Cycle tables for :results org and
4441         :results wrap.
4443         * ob-python.el (org-babel-python-initiate-session-by-key): Fix a
4444         bug pointed out by Gary Oberbrunner.
4445         (org-babel-python-initiate-session-by-key): Add "-i" to the python
4446         command on windows sessions.  Actually setting new session names.
4447         Pass Python buffer names to the new `run-python' command.
4448         (org-babel-python-with-earmufs): Add earmufs to a buffer name.
4449         (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
4450         (org-babel-python-initiate-session-by-key): Set the buffer name in
4451         a way which is understandable by the new python.el
4452         (org-babel-python-buffers): Change the default python buffer name.
4454         * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
4455         number.
4457         * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
4458         with a format string.
4460         * ob-core.el (org-babel-where-is-src-block-result): Allow comments
4461         between code blocks and un-named results.
4463         * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
4464         sqlite output as lisp.
4466         * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
4467         (org-babel-confirm-evaluate): Fix whitespaces.
4468         (org-babel-execute-src-block): A cond makes it more clear that we
4469         definitely do not execute without user confirmation.
4470         (org-babel-call-process-region-original): Fix line over 80 chars
4471         long.
4473         * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
4474         to reflect changed variable name.
4476         * ob-core.el (org-babel-expand-src-block): Return value of
4477         expanded code block on non-interactive calls.
4479         * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
4480         variables in perl code.
4481         (org-babel-perl-var-to-perl): Use said wrapper.
4483         * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
4484         command instead of shell-command.
4486         * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
4487         `tuareg-run-caml' is defined before use.
4488         (tuareg-run-ocaml): Declare for compiler.
4490         * ob-core.el (org-babel-result-regexp): Simplify regexp given new
4491         time hash layout.
4492         (org-babel-current-result-hash): New match string.
4493         (org-babel-hide-hash): New match string.
4494         (org-babel-where-is-src-block-result): New match string, and
4495         insert hashes in the new format.
4497         * ob-core.el (org-ts-regexp): Declare.
4498         (org-babel-result-regexp): Now matching time stamp as well.
4499         (org-babel-hash-show-time): New variable controlling the display
4500         of time stamps.
4501         (org-babel-current-result-hash):
4502         (org-babel-hide-all-hashes):
4503         (org-babel-where-is-src-block-result): Use hash time stamps.
4505         * ob-core.el: New file.
4507         * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
4509 2013-11-12  Feng Shu  <tumashu@gmail.com>
4511         * ox-odt.el (org-odt--translate-latex-fragments):
4512         * ox-html.el (org-html-latex-environment)
4513         (org-html-latex-fragment): Fix imagemagick support.
4515         * org.el (org-create-formula-image-with-imagemagick):
4516         Generate correct size formula image.
4517         (org-format-latex-header): Change pagestyle command position.
4519         * ox-latex.el (org-latex--caption/label-string): Allow to build a
4520         caption string from `:caption' attribute of #+ATTR_LATEX.
4522         * ox.el (org-export-dictionary): Add Simplified Chinese
4523         translations for `org-export-dictionary'.
4525 2013-11-12  Florian Beck  <fb@miszellen.de>  (tiny change)
4527         * org.el (org-activate-bracket-links): Remove escapes from the
4528         help string.
4530 2013-11-12  Francesco Pizzolante  <xxx@public.gmane.org>  (tiny change)
4532         * ox-html.el (org-html-headline): Normalize the construction of
4533         outline-container DIVs by always using the inner headline ID.
4535         * org.el (org-agenda-prepare-buffers): Protect with
4536         `org-unmodified'.
4538 2013-11-12  Gregor Kappler  <gregor@alcedo.(none)>  (tiny change)
4540         * ox.el (org-export-as): Make sure org-export-babel-evaluate is
4541         not nil before calling `org-export-execute-babel-code'.
4543 2013-11-12  Grégoire Jadi  <gregoire.jadi@gmail.com>
4545         * org.el (org-reftex-citation): Fix contrib package name in the
4546         docstring.
4547         (org-preview-latex-fragment, org-display-inline-images):
4548         Detect whether a graphic display is available before inlining images to
4549         prevent an error.
4550         (org-startup-with-latex-preview): New option.
4551         (org-startup-options): New startup keywords for the new option.
4552         (org-mode): Turn on/off LaTeX preview depending on the new option.
4553         (org-reverse-string): Add `org-reverse-string' to reverse a
4554         string.
4556         * org-id.el (org-id-new, org-id-decode):
4557         Replace `org-id-reverse-string' by `org-reverse-string'.
4559         * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
4560         by `org-reverse-string' and declare it.
4562 2013-11-12  Gustav Wikström  <gustav.erik@gmail.com>  (tiny change)
4564         * org-agenda.el (org-agenda-filter-by-category): Display all
4565         filtered out categories.
4567 2013-11-12  Ilya Zonov  <izonov@gmail.com>  (tiny change)
4569         * org-mouse.el (org-mouse-context-menu): Add a correct newtext
4570         parameter for "All Set" and "All Clear" menu items.
4572 2013-11-12  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
4574         * org.el (org-insert-todo-heading-respect-content): Pass correct
4575         prefix arg to always insert heading.
4577         * org-agenda.el
4578         (org-agenda-propertize-selected-todo-keywords): New function to
4579         highlight the current agenda todo keywords depending on
4580         `org-todo-keyword-faces'.
4581         (org-todo-list): Use the new function.
4583 2013-11-12  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>
4585         * org-table.el (org-calc-current-TBLFM): New function to
4586         re-calculate the table by applying the #+TBLFM in the line where
4587         the point is.  Ensure to remove the currently inserted TBLFM line,
4588         when calling `org-table-recalculate' returns an error and the
4589         processing stops.
4591         * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
4592         point is in the #+TBLFM line.
4594         * org-table.el (org-TBLFM-begin): New function.
4595         (org-TBLFM-begin-regexp): New variable.
4597         * org.el (org-at-TBLFM-p): New function.
4598         (org-TBLFM-regexp): New defconst.
4600 2013-11-12  Ivan Vilata i Balaguer  <ivan@selidor.net>  (tiny change)
4602         * org-clock.el (org-clock-get-table-data): Pass tstart and tend
4603         time strings through `org-matcher-time' to allow relative times
4604         besides absolute ones, convert result to encoded time.
4606 2013-11-12  Jambunathan K  <kjambunathan@gmail.com>
4608         * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
4609         (org-html--tags, org-html-format-headline)
4610         (org-html--format-toc-headline, org-html-checkbox)
4611         (org-html-table-cell, org-html-timestamp)
4612         (org-html-verse-block, org-html-special-string-regexps): Replace
4613         named HTML entities with their numeric counterparts.  This keeps
4614         Freemind backend happy.
4616         * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
4617         change in rnc file names.
4619         * org-lparse.el (org-lparse-and-open)
4620         (org-lparse-do-convert): Open exported files with system-specific
4621         application.
4623         * org-odt.el: Don't meddle with `org-file-apps'.
4625 2013-11-12  Jarmo Hurri  <jarmo.hurri@syk.fi>
4627         * org-table.el (org-define-lookup-function): New macro.  Call it
4628         to generate new lookup functions `org-lookup-first',
4629         `org-lookup-last' and `org-lookup-all'.
4631         * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4632         `gnus-no-server'.
4633         (org-gnus-no-new-news): Use the new option.
4635 2013-11-12  Jonas Hoersch  <coroa@online.de>  (tiny change)
4637         * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4638         switching to 'children visibility state.
4640         * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4641         `org-show-entry' as it cannot unfold an inlinetask properly.
4643 2013-11-12  Jonathan Leech-Pepin  <jonathan.leechpepin@gmail.com>
4645         * ox-texinfo.el: New file.
4647 2013-11-12  Joost Diepenmaat  <joost@zeekat.nl>  (tiny change)
4649         * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4650         not be considered part of the source block for the purposes of
4651         indentation.
4653 2013-11-12  Justus Piater  <justus-dev@piater.name>
4655         * org-agenda.el
4656         (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4657         to skip the deadline prewarning if the scheduled date is in the
4658         future.
4660 2013-11-12  Kodi Arfer  <git@arfer.net>  (tiny change)
4662         * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4663         root element when appropriate.
4664         (org-html-paragraph): Wrap "Figure %d:" in <span
4665         class="figure-number">.
4666         (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4667         <span class="table-number">.
4668         (org-html-list-of-listings): Wrap "Listing %d:" in
4669         <span class="listing-number">.
4670         (org-html-table): For HTML5, omit :html-table-attributes but not
4671         :id or :attr_html.
4672         (org-html--build-meta-info): Insert no timestamp when
4673         :time-stamp-file is nil.
4675 2013-11-12  Lawrence Mitchell  <wence@gmx.li>
4677         * ox-html.el (org-html-close-tag): Add space before attr.
4679         * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4680         cache before trying to resolve it in the parse tree.
4682 2013-11-12  Le Wang  <le.wang@agworld.com.au>
4684         * org-src.el (org-edit-src-code): Use marker with insertion type t
4685         to track end and remove hack requiring delete from beg to (1-
4686         end).
4688 2013-11-12  Max Mikhanosha  <max@openchat.com>
4690         * org-habit.el (org-habit-get-faces): Add show done days green
4691         option.
4693         * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4694         unset
4696 2013-11-12  Michael Brand  <michael.ch.brand@gmail.com>
4698         * org-table.el (org-table-eval-formula): Align the arrow pointing
4699         to the error in a Calc formula to the other fomula debugger logs.
4701         * org.el (org-link-escape-chars-browser): Add char double quote.
4702         (org-open-at-point): Use the constant
4703         `org-link-escape-chars-browser'.
4705         * org-table.el (org-table-get-remote-range): Extend regexp to
4706         match "#+NAME: table" additionally to "#+TBLNAME: table".
4708         * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4709         places.  Keep empty fields during preprocessing.
4710         (org-table-make-reference): Use nan (not a number) for empty
4711         fields in Calc formulas.  A range with only empty fields should
4712         not always return 0 but also empty string, consistent with field
4713         reference of an empty field.  Use future design for nan but
4714         replicate current behavior.
4715         (org-table-number-regexp): Extend 0x hex to fixed-point number,
4716         add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4717         inf.
4719 2013-11-12  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
4721         * org-mobile.el (org-mobile-push): Add `save-restriction'.
4723 2013-11-12  Nicolas Goaziou  <n.goaziou@gmail.com>
4725         * ox-latex.el (org-latex-compile): Remove all numbered temporary
4726         files after compiling.
4728         * org-element.el (org-element-headline-interpreter): Take into
4729         consideration `org-odd-levels-only' when building a headline.
4731         * ox-org.el (org-org-headline): Correctly set transcoded headline
4732         level during subtree export.
4734         * ox-html.el (org-html--format-toc-headline): TOC entries are
4735         closer to regular headline formatting.
4737         * org-element.el (org-element-context): Fix error when parsing
4738         affiliated keywords, e.g. "caption".
4740         * org.el (org-do-emphasis-faces): Look for verbatim status at
4741         correct location.
4742         (org-open-at-point): Check if link is non-nil before matching it.
4743         (org-export-insert-default-template): Make sure strings are
4744         properly quoted when inserting a template.  Specifically, default
4745         value for drawers should be d:(not "LOGBOOK"), not d:(not
4746         LOGBOOK).
4747         (org-insert-heading): Do not error out when inserting is to be
4748         done at one of the buffer's boundaries.
4750         * ox-latex.el (org-latex-listings-options): Use correct number of
4751         backslash characters in the example.
4753         * org-element.el (org-element-latex-or-entity-successor)
4754         (org-element-latex-fragment-parser): Use `org-latex-regexps'
4755         instead of `org-format-latex-options'.
4757         * ox-ascii.el:
4758         * ox-beamer.el:
4759         * ox-html.el:
4760         * ox-icalendar.el:
4761         * ox-md.el: Remove comments at the beginning of the file since
4762         the library is documented in Org manual.
4764         * org-element.el (org-element--list-struct):
4765         Use `org-match-string-no-properties'.  Fix block parsing in lists.
4767         * ox-publish.el (org-publish-all): Fix compilation problem.
4769         * org-element.el (org-element-timestamp-interpreter):
4770         Correctly interpret timestamps with delays.
4771         (org-element-timestamp-parser)
4772         (org-element-timestamp-interpreter): Parse warning delays.
4774         * ox-beamer.el (org-beamer--format-section): Fix regression which
4775         prevents frames from being propely exported.
4777         * ox.el (org-export-with-backend): Ensure function will use
4778         provided back-end.
4780         * org-list.el (org-list-allow-alphabetical): Remove reference to
4781         unused VALUE.
4783         * ox-beamer.el (org-beamer--format-section): Protect fragile
4784         commands in sections.
4786         * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4787         point on a link, make sure checkbox, if any, is toggled.
4789         * ox-beamer.el (org-beamer--format-block): Return an error message
4790         when using a special environment as a block type.  Also check for
4791         incomplete environment definitions.
4793         * org-element.el (org-element-at-point): If point is at the end of
4794         the buffer, and that buffer ends with a list, and there's no final
4795         newline, return last element in last item instead of plain list.
4796         Fix infloop when called on a blank line at the end of the buffer
4797         after a headline.
4799         * org.el (org-forward-paragraph, org-backward-paragraph):
4800         New functions.
4802         * org.el (org-meta-return): Allow M-RET to insert items within
4803         drawers.  Rewrite function.
4805         * org-element.el (org-element-footnote-definition-parser):
4806         Fix value for :contents-begin when first line of footnote definition
4807         is empty besides the label.
4808         (org-element-at-point): Return correct element when point is on a
4809         blank line just below a headline.
4810         (org-element-paragraph-parser):
4811         Use `org-match-string-no-properties'.  Small fixes to paragraph
4812         parsing.
4814         * org.el (org-adaptive-fill-function): Do not handle
4815         `adaptive-fill-regexp' in comments as the behavior is not
4816         satisfying.
4818         * org-list.el (org-list-struct-apply-struct): Do not move item's
4819         contents within a child above when repairing indentation.
4821         * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4822         when properties are present.
4824         * ox.el (org-export-collect-headlines): Do not build TOC for
4825         headlines below H value.
4827         * org-element.el (org-element-context): Modify misleading
4828         comment.
4829         (org-element-text-markup-successor)
4830         (org-element-latex-or-entity-successor)
4831         (org-element-export-snippet-successor)
4832         (org-element-footnote-reference-successor)
4833         (org-element-inline-babel-call-successor)
4834         (org-element-inline-src-block-successor)
4835         (org-element-line-break-successor, org-element-link-successor)
4836         (org-element-plain-link-successor, org-element-macro-successor)
4837         (org-element-radio-target-successor)
4838         (org-element-statistics-cookie-successor)
4839         (org-element-sub/superscript-successor)
4840         (org-element-table-cell-successor, org-element-target-successor)
4841         (org-element-timestamp-successor): Remove LIMIT argument.
4842         (org-element--parse-objects, org-element--get-next-object-candidates):
4843         Apply signature change to successors.
4844         (org-element-context): Narrow buffer around object containers so
4845         parsing of objects when using this function is done under the same
4846         restrictions as in buffer parsing.
4848         * ox.el (org-export-table-cell-alignment): Ensure required
4849         variables are available.  Use correct :test.
4850         (org-export-table-cell-width): Modify key (now an element) and
4851         value structure (now a vector) of cache so it can use `eq' as
4852         test.  Elements are circular lists so `equal' cannot apply on them.
4854         * ox-publish.el (project-plist): Remove variable.
4856         * ox.el (org-export-to-buffer, org-export-to-file):
4857         Fix docstrings.
4859         * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4860         which is always nil in this back-end.
4862         * org.el (org-adaptive-fill-function): Look for a fill prefix at
4863         the beginning of the paragraph and subsquently on its second line
4864         instead of the current line.
4866         * ob-core.el (org-babel-get-src-block-info): Look for indentation
4867         value at the correct location.
4869         * ox.el (org-export-data-with-backend): Set temporary back-end as
4870         the new back-end in local communication channel.
4871         (org-export-filter-apply-functions): Handle corner case where
4872         back-end is nil.  Only provide back-end name (a symbol) as second
4873         argument of filters, not the full back-end (a vector).
4875         * ox-publish.el (org-publish-find-title): Fix title when no
4876         #+TITLE property is provided.
4878         * ox.el (org-export-store-default-title): Remove-function.
4879         (org-export--default-title): Remove variable.
4880         (org-export-options-alist): Do not use a default value.
4881         (org-export--get-buffer-attributes): Store a default title.
4882         (org-export-as): Apply function removal.
4883         (org-export--get-global-options): Do not set a property with an
4884         explicitly nil value.
4886         * ox-publish.el (org-publish-sitemap-sort-files)
4887         (org-publish-sitemap-sort-folders)
4888         (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4889         (org-publish-sitemap-date-format)
4890         (org-publish-sitemap-file-entry-format): Set prefix to
4891         "org-publish-sitemap" instead of "org-sitemap".
4892         (org-publish-compare-directory-files)
4893         (org-publish-get-base-files-1, org-publish-projects)
4894         (org-publish-format-file-entry): Use new prefix.
4896         * org-clock.el (org-clock-total-time-cell-format)
4897         (org-clock-file-time-cell-format): Use correct type.
4899         * ob-haskell.el:
4900         * ox-ascii.el (org-ascii-export-as-ascii)
4901         (org-ascii-export-to-ascii):
4902         * ox-beamer.el (org-beamer-export-as-latex)
4903         (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4904         * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4905         * ox-icalendar.el (org-icalendar-export-to-ics):
4906         * ox-latex.el (org-latex-export-as-latex)
4907         (org-latex-export-to-pdf):
4908         * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4909         * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4910         * ox-odt.el (org-odt-export-to-odt):
4911         * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4912         * ox-publish.el (org-publish-org-to):
4913         * ox-texinfo.el (org-texinfo-export-to-texinfo)
4914         (org-texinfo-export-to-info):
4915         * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4916         asynchronous export and the other to do extra processing from
4917         within the buffer.
4918         (org-export-to-file): Add two arguments: one to trigger
4919         asynchronous export and the other to do extra processing on the
4920         output file.
4921         (org-export-async-start): Small clean up.
4923         * ox.el (org-export-as): Use new back-end structure.
4924         (org-export-current-backend): New variable.
4925         (org-export-as): Use new variable.
4927         * ox-ascii.el (org-ascii-table): Remove spurious new line between
4928         a table and the caption below.
4930         * ox.el (org-export-to-file): Preserve coding system when writing
4931         output.
4932         (org-export-stack-mode-map): Fix compilation error with Emacs <
4933         24.
4934         (org-export--dispatch-action): Maintain compatibility with Emacs
4935         23.
4937         * org.el (org-adaptive-fill-function, org-fill-paragraph):
4938         Add support for `adaptive-fill-regexp' in paragraphs and comments.
4939         (org-indent-line): Fix indentation after a list.
4941         * ox.el (org-export--get-inbuffer-options): Multiple options can
4942         now be set through the same buffer keyword.
4944         * org-element.el (org-element-plain-list-parser): Fix infloop when
4945         parsing a list at the end of buffer, if buffer doesn't end at a
4946         line beginning.
4947         (org-element-link-parser): Do not url-decode parsed links.
4949         * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4950         spurious white spaces, excepted for source blocks' opening string.
4951         Small refactoring.
4952         (pcomplete/org-mode/file-option): Remove spurious colons from
4953         block boundaries.
4955         * ox-publish.el (org-publish-find-date): Also return date for
4956         directories.
4957         (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4958         extension restriction.
4960         * ox-beamer.el: Remove strange indentation in default header.
4961         (org-beamer-template): Fix missing newlines in header.
4963         * ox-latex.el (org-latex-template): Fix missing newlines in
4964         header.
4966         * ox.el (org-export-insert-default-template):
4967         Fix "wrong-type-argument" error in template insertion.
4969         * org.el (org-fill-paragraph): Use empty commented lines as
4970         separators when filling comments.  This mimics default behavior
4971         from "newcomment.el", which is not used in Org.
4973         * ox-html.el (org-html-link): Add image attributes to "img" tag,
4974         not to the "a" container.  Also fix spacing for attributes.
4976         * org.el (org-fill-paragraph): Do not mix consecutive comments
4977         when filling any of them.
4979         * ox-html.el (org-html-format-headline--wrap): Fix number of
4980         arguments when setting `org-html-format-headline-function'.
4982         * org-element.el (org-element-item-interpreter): This patch fixes
4983         "(wrong-type-argument arrayp nil)" error when trying to interpret
4984         empty items.  Correctly interpret back plain lists with "*" items.
4985         This fixes "This is not a list" error returned in this case.
4987         * ox-latex.el (org-latex-listings): Update docstring.
4989         * org-pcomplete.el (pcomplete/org-mode/file-option/options):
4990         Apply changes to export back-end definiton.
4992         * org.el (org-get-export-keywords): Apply changes to export
4993         back-end definiton.
4995         * ox-html.el (org-html--format-toc-headline): Make use of
4996         anonymous back-ends.
4998         * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
4999         back-ends.
5000         (org-odt-format-label, org-odt-toc)
5001         (org-odt-format-headline--wrap): Use `org-export-with-backend'
5002         instead of `org-export-with-translations'.
5004         * ox.el (org-export--registered-backends): Rename from
5005         `org-export-registered-backends'.
5006         (org-export-invisible-backends): Remove variable.
5007         (org-export-get-backend, org-export-get-all-transcoders
5008         org-export-get-all-options, org-export-get-all-filters):
5009         New functions.  It replaces `org-export-backend-translate-table'.
5010         (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
5011         org-export-define-backend, org-export-define-derived-backend):
5012         Rewrite functions using new representation.
5013         (org-export-backend-translate-table): Remove function.
5014         (org-export-get-environment): Use new function.
5015         (org-export--get-subtree-options, org-export--parse-option-keyword,
5016         org-export--get-inbuffer-options, org-export--get-global-options,
5017         org-export-to-buffer org-export-to-file, org-export-string-as
5018         org-export-replace-region-by): Update docstring.
5019         (org-export-data-with-translations): Remove function.
5020         Use `org-export-data-with-backend' with a temporary back-end instead.
5021         (org-export-data-with-backend, org-export-as): Reflect new definition
5022         for back-ends.
5023         (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
5024         definition for back-ends and variable removal.  Refactoring.
5025         (org-export-filter-apply-functions): Call functions with
5026         current back-end's name, not full back-end.
5028         * org.el (org-export-backends, org-create-formula--latex-header):
5029         Use new structure and variables.
5031         * ox-html.el (org-html-inline-images): Change default value and
5032         remove `maybe'.
5033         (org-html-format-inline-image): Remove functions.
5034         (org-html--wrap-image, org-html--format-image)
5035         (org-html-inline-image-p): New functions.
5036         (org-html-latex-environment, org-html-latex-fragment): Use new
5037         functions.
5038         (org-html-standalone-image-p): Use new functions.  Also remove an
5039         unused optional argument.
5040         (org-html-link, org-html-paragraph): Correctly export hyperlinked
5041         images.
5043         * ox.el (org-export-dictionary): Update some translations.
5045         * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
5046         Fix docstring.
5047         (org-odt-format-label): Add docstring.  Internationalize prefix.
5049         * ox.el (org-export-dictionary): Add entry for colons.
5051         * ox-odt.el (org-odt--suppress-some-translators): Remove function.
5053         * ox-html.el (org-html-link): Remove left-over binding.
5055         * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
5056         title in environment definition.
5057         (org-beamer--format-block): Handle new placeholders.
5059         * ox-html.el (org-html-link): Small refactoring.
5061         * org-element.el (org-element--current-element):
5062         Fix org-meta-return error at the end of buffer.
5064         * ox-odt.el (org-odt-category-map-alist): Fix internationalization
5065         of "Table" and "Listing".
5067         * ox.el (org-export-dictionary): Remove useless dictionary
5068         entries.
5070         * ox-ascii.el (org-ascii--build-caption): Apply removal.
5072         * ox.el (org-export-dictionary): Add spanish and german
5073         translations.
5075         * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
5076         description always use that description, even if the description
5077         is the same as the headline title.
5078         (org-odt-plain-text): Allow to turn smart quotes off.
5080         * ox-latex.el (org-latex--get-footnote-counter): Remove function.
5082         * org.el (org-setup-filling): Set `paragraph-start' and
5083         `paragraph-separate'.
5084         (org-fill-paragraph-separate-nobreak-p): Remove function.
5085         (org-mode): Do not set `paragraph-start'.
5087         * ox-html.el (html): Replace "HTML_HTML5_FANCY",
5088         "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
5089         respectively, ":html5-fancy", "html-style" and "html-scripts"
5090         options.
5091         (org-html-html5-fancy): Reformat docstring.
5092         (org-html-template): Fix typo preventing insertion of link up/link
5093         home anchors.
5095         * org.el (org-create-formula--latex-header): Replace AUTO with
5096         appropriate language when previewing snippets.
5098         * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
5099         items description tags.  Also remove a unnecessary hack allowing
5100         footnotemark with an optional argument in the tag.
5102         * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
5103         link lives before the first headline.
5105         * org-element.el (org-element-special-block-parser): Fix typo in
5106         regexp matching block type.  Also quote the type so it can contain
5107         special characters.
5109         * ox-latex.el (org-latex-pdf-process): This argument can cause
5110         problem with links with a relative path, since compilation happens
5111         in a different directory.
5113         * org.el (org-latex-default-packages-alist): Load "ulem" package
5114         by default.  Use "[normalem]" option to preserve \emph definition.
5116         * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
5117         "\sout" commands from "ulem" package.
5119         * org.el (org-latex-default-packages-alist): Document need for
5120         "soul" package.
5122         * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
5123         package) instead of \underline for underline text.
5125         * ox.el (org-export-read-attribute): Fix "Wrong argument type"
5126         error when attributes start with :key "".
5128         * org.el (org-fill-paragraph-separate-nobreak-p)
5129         (org-fill-line-break-nobreak-p)
5130         (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
5132         * org-element.el (org-element--list-struct): Fix failing
5133         "plain-list-parser" test.
5135         * ox-latex.el (org-latex-src-block): Handle :float attribute.
5136         Its value can be set to "t", "multicolumn" or "nil".  Also remove
5137         :long-listing attribute, which is now replaced with :float nil.
5138         (org-latex--org-table): Replace :float table with :float t.
5139         (org-latex--inline-image): Replace :float figure with :float t.
5140         (org-latex-long-listings): Remove variable.
5142         * org-element.el (org-element--list-struct): New function.
5143         (org-element-plain-list-parser, org-element--current-element):
5144         Use new function.
5146         * ox-man.el (org-man-compile):
5147         * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
5149         * ox-latex.el (org-latex-compile):
5150         * ox-man.el (org-man-compile):
5151         * ox-texinfo.el (org-texinfo-compile): Properly set working
5152         directory.
5154         * ox-latex.el (org-latex-compile):
5155         * ox-texinfo.el (org-texinfo-compile): Make sure generated file
5156         can be found by `file-exists-p'.
5158         * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
5160         * org-element.el (org-element--remove-indentation):
5161         Small optimization.
5162         (org-element--remove-indentation): New function.
5163         (org-element-example-block-parser, org-element-src-block-parser):
5164         Use new function.
5165         (org-element-src-block-interpreter): Update function according to
5166         change.
5168         * ox.el (org-export-unravel-code): Do not remove any indentation
5169         since it now happens at the parser level.
5170         (org-export-table-cell-width): Be sure to use cache even when
5171         stored value is nil.
5172         (org-export--default-title): Fix "Symbol's value as variable is
5173         void: org-export--default-title".
5175         * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
5176         internal function since it is called at each cell, though its
5177         value only change column wise.
5179         * ox.el (org-export-resolve-fuzzy-link): Change property name
5180         holding cache.
5181         (org-export-table-has-header-p, org-export-table-row-group)
5182         (org-export-table-cell-width, org-export-table-cell-alignment):
5183         Cache results.
5184         (org-export-table-cell-address): Refactor.
5185         (org-export-get-parent): Inline function.
5186         (org-export-options-alist): Change default value for :title
5187         property.
5188         (org-export--default-title): New dynamically scoped variable.
5189         (org-export-store-default-title): New function.
5190         (org-export--get-buffer-attributes): Remove title handling.
5191         (org-export--get-global-options): Revert "ox: Fix default title".
5192         Refactor code.
5194         * ox-html.el (org-html-format-latex): Provide a prefix for
5195         temporary file when using dvipng, even if the current buffer isn't
5196         associated to a file.
5198         * ox.el (org-export-resolve-radio-link): Ignore whitespace
5199         differences when resolving a radio link.
5200         (org-export-resolve-radio-link): Fix radio target resolution.
5202         * org-element.el (org-element--current-element): Be stricter when
5203         matching arguments in LaTeX environments.  In particular, do not
5204         allow anything else than options and arguments in the opening
5205         line.
5207         * ox-html.el (org-html-inner-template): Remove code relative to
5208         bibliography.
5209         (org-html-bibliography): Remove function.
5211         * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
5212         not only \^, so it doesn't become a diacritic.
5214         * ox-html.el (org-html--build-meta-info): Fix code typo.
5216         * ox.el (org-export-expand-include-keyword): Avoid using `read' to
5217         determine file name.
5218         (org-export--get-global-options): Properly set default title,
5219         i.e. when to TITLE keyword is provided.
5221         * org-element.el (org-element--parse-elements): Also parse visible
5222         headlines within an otherwise compacted headline.
5224         * ox.el (org-export-expand-include-keyword): Tolerate included
5225         file names without double quotes.
5226         (org-export-resolve-fuzzy-link): Fix caching process.
5228         * ox-publish.el (org-publish-find-date): Fix "Invalid time
5229         specification" error with timestamps in DATE.
5231         * org-element.el (org-element--current-element): Allow the opening
5232         string of a LaTeX environment to contain additional arguments.
5234         * org.el (org-insert-heading): Refactor to use `org-in-item-p'
5235         only once.
5237         * ox.el (org-export-expand): Optionally add affiliated keywords to
5238         results.
5240         * ox-org.el (org-org-identity): Use new argument for
5241         `org-export-expand'.
5243         * org.el (org-fill-paragraph): Move to table beginning before
5244         aligning the table when M-q is called from an affiliated keyword.
5246         * org-list.el (org-list-allow-alphabetical): Properly update
5247         `org-list-allow-alphabetical' when changed after org.el has been
5248         loaded.
5250         * org-element.el (org-element-fixed-width-interpreter):
5251         Fix interpretation of fixed-width elements with a nil or empty string
5252         value.
5254         * ox-html.el (org-html-link): Don't skip the link description when
5255         it matches the name of the headline it targets.
5257         * ox-html.el (org-html-link): Don't skip the link description when
5258         it matches the name of the headline it targets.
5260         * ox-ascii.el (ascii): Remove inexistant function.
5262         * ox-icalendar.el (icalendar): Ignore footnotes.
5263         (org-icalendar--combine-files): Small refactoring.
5265         * ox.el (org-export--skip-p, org-export--interpret-p):
5266         When `org-export-with-footnotes' is nil, ignore completely footnotes
5267         references and definitions instead of exporting them verbatim.
5269         * ox-beamer.el (org-beamer--frame-level): Small refactoring.
5270         (org-beamer--format-block, org-beamer-headline): Do not systematically
5271         downcase environment names as some require upper case in their
5272         names (e.g. noteNH and CJK).
5274         * ox.el (org-export-with-timestamps): Only applies to isolated
5275         timestamps, i.e. timestamps in a paragraph containing only
5276         timestamps and empty strings.
5277         (org-export--skip-p): Skip timestamps according to new behavior.
5279         * ox-latex.el (org-latex--script-size): Handle consecutive
5280         alterning sub and superscript.
5282         * ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
5283         (org-org-headline, org-org-keyword): Fix docstring.
5285         * ox-latex.el (org-latex--script-size): Use \text command for
5286         subscript and superscript.  This is far superior to \mathrm, but
5287         it requires "amstext" package.  In particular, accented characters
5288         are now allowed within sub/superscript.
5290         * org.el (org-latex-default-packages-alist): Add "amstext"
5291         package.
5293         * ox-latex.el (org-latex--script-size): Fix error when using
5294         sub/superscript within sub/superscript.
5296         * ox-latex.el (org-latex--script-size): New function.
5297         (org-latex-subscript, org-latex-superscript): Use new function.
5298         Remove instructions since everything is documented in Org manual.
5300         * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
5301         for keywords, the latter being hard to type, somewhat difficult to
5302         read, and overall just pedantic.
5304         * ox-latex.el (org-latex-classes): Be more explicit about
5305         LATEX_HEADER_EXTRA.
5307         * ox-html.el (org-html--build-meta-info): Fix invalid characters
5308         in html attributes.
5310         * ox.el (org-export-filters-alist): Remove macro filter.
5311         (org-export-filter-macro-functions): Remove variable.
5313         * ox-beamer.el (beamer): Install a default class set-up when
5314         loading library.
5316         * ox-latex.el (org-latex-classes): Update docstring.
5318         * ox-latex.el (org-latex--inline-image): Remove specific default
5319         image width for floats.  If no width nor height is provided, it
5320         should default to `org-latex-image-default-width' value.
5322         * org.el (org-extract-attributes-from-string)
5323         (org-attributes-to-string): Remove functions.
5325         * ox-html.el (html): Rename :html-table-tag property into
5326         :org-table-attributes.
5327         (org-html-table-default-attributes): New variable.
5328         (org-html-table-tag): Remove variable.
5329         (org-html--make-attribute-string): New function.
5330         (org-html-link--inline-image, org-html-table): Use new function.
5331         (org-html-splice-attributes, org-export-splice-style):
5332         Remove functions.
5333         (org-html-inline-image-rules): Remove out of context part of the
5334         docstring.
5336         * ox.el (org-export-read-attribute): Allow to use empty strings in
5337         attributes.
5339         * ox-html.el (org-html-metadata-timestamp-format): New variable,
5340         renamed from `org-html--timestamp-format'.
5341         (org-html--build-meta-info, org-html-format-spec,
5342         org-html--build-pre/postamble): Use new variable.
5344         * ox.el (org-export-table-row-number): New function.
5345         (org-export-table-cell-address): Use new function.
5347         * org-element.el (org-element-table-cell-successor): Parse table
5348         cells with missing ending space.
5350         * ox-latex.el (org-latex--math-table): Fix inline-math table
5351         environment.
5353         * ox-html.el (org-html-doctype): Make value fit on a single line
5354         so `org-export-insert-default-template' can handle it.
5355         (org-html-creator-string): Change default value.
5357         * ox.el (org-export-creator-string): Change default value.
5359         * ox-html.el (org-html-postamble-format)
5360         (org-html-preamble-format): Allow last modification time of source
5361         in template.  Fix docstrings.
5362         (org-html-format-spec): Produce last modification time when the source
5363         is a file.
5365         * ox.el (org-export-with-archived-trees, org-export-with-author)
5366         (org-export-with-clocks, org-export-with-date)
5367         (org-export-creator-string, org-export-with-drawers)
5368         (org-export-with-email, org-export-with-emphasize)
5369         (org-export-exclude-tags, org-export-with-fixed-width)
5370         (org-export-with-footnotes, org-export-with-latex)
5371         (org-export-headline-levels, org-export-default-language)
5372         (org-export-preserve-breaks, org-export-with-entities)
5373         (org-export-with-inlinetasks, org-export-with-planning)
5374         (org-export-with-priority, org-export-with-section-numbers)
5375         (org-export-select-tags, org-export-with-smart-quotes)
5376         (org-export-with-special-strings)
5377         (org-export-with-statistics-cookies)
5378         (org-export-with-sub-superscripts, org-export-with-toc)
5379         (org-export-with-tables, org-export-with-tags)
5380         (org-export-with-tasks, org-export-time-stamp-file)
5381         (org-export-with-timestamps, org-export-with-todo-keywords):
5382         Fix docstrings.
5384         * ox-html.el (org-html-postamble-format): Slightly change default
5385         value so "Generated by" string doesn't get duplicated.
5386         (org-html-creator-string): Fix docstring.
5388         * ox.el (org-export--get-inbuffer-options)
5389         (org-export--list-bound-variables)
5390         (org-export--generate-copy-script, org-export-string-as)
5391         (org-export-expand-include-keyword)
5392         (org-export--prepare-file-contents): Inhibit startup process when
5393         calling `org-mode'.
5395         * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
5396         with some DATE values: :date property in communication channel is
5397         no longer a string.
5399         * ox.el (org-export-insert-default-template): New function.
5400         (org-export--dispatch-ui, org-export--dispatch-action): Access to
5401         the function through the dispatcher.
5403         * ox-icalendar.el (org-icalendar-convert-timestamp):
5404         Update docstring.
5405         (org-icalendar-dtstamp): New function.
5406         (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
5408         * ox-ascii.el (org-ascii-link):
5409         * ox-html.el (org-html-keyword):
5410         * ox-latex.el (org-latex-keyword, org-latex-link):
5411         * ox-man.el (org-man-keyword):
5412         * ox-md.el (org-md-link):
5413         * ox-odt.el (org-odt-keyword):
5414         * org.el (org-store-link, org-link-search, org-options-keywords):
5415         Remove reference to TARGET keyword.
5417         * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
5418         Do not use TARGET as a destination for links anymore.
5420         * ox-org.el (org): Add a menu entry for the back-end.
5421         (org-org-export-as-org, org-org-export-to-org): New functions.
5423         * org.el (org-export-backends): Accept `org' as a loadable
5424         back-end.
5426         * ox-ascii.el (org-ascii-template--document-title): Use new function.
5428         * ox-beamer.el (org-beamer-template): Use new function.
5430         * ox-html.el (org-html-format-spec): Use new function.
5432         * ox-latex.el (org-latex-template): Use new function.
5433         (org-latex-date-timestamp-format): Remove variable.
5435         * ox.el (org-export-date-timestamp-format): New variable.
5436         (org-export-get-date): New function.
5438         * ox-odt.el (org-odt--format-paragraph): New function.
5439         (org-odt-paragraph): Use new function to limit code duplication.
5440         (org-odt-footnote-reference): Change default style for paragraphs
5441         when transcoding a footnote definition.
5443         * org-macro.el (org-macro--collect-macros): Fix a bug where
5444         reading a macro in a setup file would remove other macros read so
5445         far from template.  Change function signature.
5446         (org-macro-initialize-templates): Apply signature change from function
5447         above.
5449         * ox.el (org-export--list-bound-variables): Rename from
5450         `org-export--install-letbind-maybe'.  Though, only return list of
5451         bound variables instead of installing them as buffer-local
5452         variables.
5453         (org-export-get-environment): Use new function.  Take care of the
5454         installation of bound variables.
5455         (org-export--generate-copy-script): Make sure non-Org variables are
5456         also installed in buffer copy.
5458         * ox.el (org-export-get-environment): Update comment.
5459         (org-export--install-letbind-maybe): Go into SETUPFILE files and
5460         handle BIND keywords there.
5462         * ox-latex.el (org-latex-link): Do not prefix relative paths with
5463         "file://".
5465         * org.el (org-link-search): Preserve priority of #+TARGET over
5466         #+NAME when resolving a link.
5468         * ox-latex.el (org-latex-long-listings): New variable.
5469         (org-latex-src-block): Use new variable.
5471         * ox.el (org-export-data): White spaces after export snippets are
5472         never ignored.
5474         * org-element.el (org-element-macro-parser): Allow to escape
5475         escaping character before a comma.  Also do not trim spaces at
5476         argument boundaries.
5478         * ox.el (org-export-async-start): Use correct coding system so
5479         unibyte characters do not appear in the resulting buffer or file.
5480         (org-export--copy-to-kill-ring-p): Move function elsewhere in the
5481         file.
5483         * ox-latex.el (org-latex--inline-image): Fix error when no default
5484         width, height and option are provided and no attribute is set for
5485         the inline image.
5487         * org.el (org-comment-or-uncomment-region): Fix commenting lines
5488         beginning with a link.
5489         (org-delete-char): Fix "Invalid use of `\\' in replacement text"
5490         when deleting a character in a cell which contains "\"
5491         (org-export-backends): Remove duplicates.  Reorder alphabetically.
5493         * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
5494         `memq' when matching strings.
5496         * ox.el (org-export-read-attribute): Do not use `read' to read
5497         attributes.  Instead, extract keywords and values from it, which
5498         means each value will be a string when non-nil.
5500         * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
5502         * ox-html.el (org-html--textarea-block): Use new attribute syntax.
5504         * ox-latex.el (org-latex--inline-image, org-latex--org-table)
5505         (org-latex--math-table): Use new attribute syntax.
5507         * ox-man.el (org-man-table--org-table): Use new attribute syntax.
5508         Small refactoring.
5510         * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell):
5511         Use new attribute syntax.
5513         * ox.el (org-export-async-start): Remove code evaluation queries
5514         from asynchronous export.
5516         * ox-latex.el (latex): Activate smart quotes by default.
5517         (org-latex--inline-image): Don't insert a default width when
5518         height is provided in a figure environment.
5519         (org-latex--inline-image): Do not use default width
5520         (resp. height) when an user height (resp. width) is provided.
5521         Also, default height is only used when image is not wrapped within
5522         a figure or wrapfigure environment, in order to preserve ratio.
5523         (org-latex-image-default-width, org-latex-image-default-height):
5524         Update docstring.
5526         * ox-icalendar.el (org-icalendar-create-uid): Fix error when
5527         `org-icalendar-store-UID' is non-nil.
5529         * ox-latex.el (latex): Introduce new buffer keyword.
5530         (org-latex-template): Use new keyword.
5532         * ox-beamer.el (org-beamer-template): Use new keyword.
5534         * org.el (org-create-formula--latex-header): Use new keyword.
5536         * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
5537         (org-beamer-environments-extra): Add :version and
5538         :package-version.
5540         * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
5541         Add :version and :package-version.
5543         * ox-latex.el (org-latex-inline-image-rules)
5544         (org-latex-default-table-environment)
5545         (org-latex-default-table-mode, org-latex-tables-booktabs)
5546         (org-latex-table-scientific-notation, org-latex-known-errors):
5547         Add :version and :package-version.
5549         * ox-md.el (org-md-headline-style): Add :version and
5550         :package-version.
5552         * ox-odt.el (org-odt-with-latex): Add :version
5553         and :package-version.
5555         * ox.el (org-export-with-drawers, org-export-with-latex)
5556         (org-export-with-inlinetasks, org-export-with-planning)
5557         (org-export-with-smart-quotes, org-export-with-statistics-cookies)
5558         (org-export-allow-bind-keywords, org-export-async-init-file):
5559         Add :version and :package-version.
5561         * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
5562         name from `e-ascii' to `ascii'.
5564         * ox.el (org-export--generate-copy-script): Call `org-mode' when
5565         duplicating a buffer.  It will properly set every variable, like
5566         `comment-start'.
5567         (org-export-async-start): Do not call `org-mode' since this is done
5568         already in the previous function.
5570         * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
5571         generated from a TOC keyword.
5573         * org.el (org-export-backends): Do not reset list of loaded
5574         back-ends to variable's value after a reload.
5576         * ox-latex.el (org-latex-src-block): Do not overwrite provided
5577         numbering options in minted and listings.
5578         (org-latex-headline): Don't add optional title on unnumbered
5579         headlines.
5581         * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
5582         keywords.  Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
5583         again.
5585         * org.el (org-fill-paragraph): Small refactoring to
5586         `org-fill-paragraph'.  Do not look for table cells in a paragraph.
5588         * org-element.el (org-element-object-restrictions):
5589         Simplify restrictions within secondary strings and objects.
5591         * org-list.el (org-list-send-list): Do not rely on
5592         `org-list-parse-list'.
5593         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
5594         Use appropriate export back-end instead of using
5595         `org-list-to-generic'.
5597         * ox-html.el (org-html-inner-template): Remove contents div and
5598         title.
5599         (org-html-template): Add contents div and title.
5600         (org-html-infojs-install-script): Can't activate jsinfo script
5601         during a body-only export.
5603         * ox.el (org-export-as): Store export options in :export-options
5604         porperty within communication channel.
5606         * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
5607         is set in an ordered list while its parent is not ordered.
5609         * ox.el (org-export-format-code-default): Handle empty source
5610         blocks more gracefully.
5612         * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
5613         gracefully.
5615         * org.el (org-export-backends): Update variable.  `infojs' was
5616         merged into ox-html and `freemind' was added.
5618         * ox.el (org-export--selected-trees): Also mark inlinetasks with a
5619         select tag.
5620         (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5622         * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5623         for unescaping code.
5625         * ox-html.el (org-html-link): Silence byte-compiler.
5626         (html): Add infojs installation script in options filter.
5627         (org-html-infojs-install-script): Remove check for back-end as we
5628         can safely assume the function will be called from `html' back-end
5629         or one of its derivative.
5631         * ox-icalendar.el (org-agenda-collect-markers)
5632         (org-create-marker-find-array): Remove functions.
5633         (org-icalendar-export-current-agenda): Integrate previous
5634         functions.
5636         * ox-latex.el (org-latex-format-headline-default-function):
5637         Use declarative shape to nest makup for TODO keywords.
5638         Previous syntax generated errors during export.
5640         * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5641         `kill-emacs-hook'.  The first one has been run in the original
5642         buffer.  The second is not necessary and can pollute output to a
5643         temporary buffer (e.g. with `org-clock-persistence-insinuate').
5645         * ox-html.el (org-html-inner-template): Remove title.
5646         (org-html-template): Add title.
5648         * ox.el (org-export--get-min-level): Ignore footnote section when
5649         computing minimal headline level.
5651         * org.el (org-do-latex-and-related): Fix infloop when user
5652         provides a wrong value for `org-highlight-latex-and-related'.
5653         In this case, `org-latex-and-related-regexp' is the empty string and
5654         generates an infloop since matching it doesn't move point.
5656         * org-element.el (org-element-headline-parser):
5657         Rename :optional-title into :alt-title.
5659         * ox.el (org-export-get-alt-title): Rename from
5660         `org-export-get-optional-title'.
5662         * ox-ascii.el (org-ascii--build-title):
5663         * ox-html.el (org-html--format-toc-headline):
5664         * ox-latex.el (org-latex-headline):
5665         * ox-texinfo.el (org-texinfo--get-node)
5666         (org-texinfo--generate-menu-items): Apply name change.
5668         * ox.el (org-export--get-inbuffer-options): Remove an optional
5669         argument.  Rewrite function.  Properties read from a setupfile do
5670         not overwrite anymore previously computed properties.
5671         (org-export-get-environment): Apply changes to previous function.
5673         * org.el (org-create-formula--latex-header): Apply arity change
5674         from `org-export--get-inbuffer-options'.
5676         * ox-latex.el (org-latex-compile): Add an optional argument for
5677         latex snippet previewing.
5679         * org.el (org-create-formula-image-with-imagemagick):
5680         Use `org-latex-compile' instead of rewriting it.
5682         * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5683         regexps that may match large strings.
5685         * org.el (org-create-formula--latex-header): New function.
5686         (org-create-formula-image-with-dvipng)
5687         (org-create-formula-image-with-imagemagick): Use new function.
5689         * ox.el (org-export-get-previous-element): Change order of retured
5690         elements in `org-export-get-previous-element'.
5692         * org-element.el (org-element-all-successors): Add `plain-link'
5693         successor.
5694         (org-element-object-restrictions): Remove `link' within `link'.
5695         Allow `plain-link' instead.
5696         (org-element-plain-link-successor): New function.
5698         * org.el (org-match-substring-regexp)
5699         (org-match-substring-with-braces-regexp): Update regexp.
5700         A sub/superscript cannot start anymore at the beginning of the line
5701         or after a space.
5703         * org-element.el (org-element--get-next-object-candidates):
5704         Rewrite function to simplify algorithm.
5705         (org-element-context, org-element--parse-elements): Apply changes.
5707         * org.el (org-fill-paragraph): Apply changes.
5709         * ox-html.el (org-html-link, org-html-link--inline-image):
5710         Attributes specified to a paragraph only apply to first link
5711         within.
5713         * ox-latex.el (org-latex-headline): Do not add optional section
5714         name when section is unnumbered.
5716         * org.el (org-in-verbatim-emphasis): Fix false positive when point
5717         is just after the closing emphasis marker.
5718         (org-fill-paragraph): Do not move point when filling a table.
5720         * ox-ascii.el (ascii): Add new filter.
5721         (org-ascii-filter-comment-spacing): New function.
5722         (org-latex-keyword): Remove "figures" value.
5724         * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5726         * ox-html.el (org-html--format-toc-headline): Fix function name.
5727         (org-html-toc, org-html--toc-text): Change to docstring.
5728         (org-html-list-of-listings, org-html-list-of-tables):
5729         New functions.
5730         (org-html-keyword): Use new functions.
5731         (org-html-src-block): Add an ID attribute when a name is given.
5733         * org-element.el (org-element-footnote-definition-parser):
5734         Require 2 blank lines to separate footnote definition.
5736         * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5737         lines to separate footnote definition.
5739         * ox.el (org-export-stack): Rewrite.
5740         (org-export-stack-refresh): Refactor.
5741         (org-export-stack-remove, org-export-stack-view): Apply renaming.
5742         (org-export-stack-mode-map): Use tabulated list map as a basis.
5743         (org-export-stack--generate, org-export-stack--num-predicate):
5744         New function.
5745         (org-export-get-optional-title): Return regular title when no
5746         optional title is found.
5748         * ox-ascii.el (org-ascii--build-title): Apply change to
5749         `org-export-get-optional-title'.
5751         * ox-html.el (org-html--format-toc-headline): Apply change to
5752         `org-export-get-optional-title'.
5754         * ox-latex.el (org-latex-headline): Apply change to
5755         `org-export-get-optional-title'.
5757         * ox-ascii.el (org-ascii--build-title): Add an argument.
5758         Use optional title when building a toc line.
5759         (org-ascii--build-toc): Call `org-ascii--build-title' with
5760         appropriate arguments.
5762         * ox-latex.el (org-latex-headline): Use optional title for table
5763         of contents.
5765         * ox-html.el (org-html--toc-text): Rename from
5766         `org-html-toc-text'.  Add docstring.
5767         (org-html--format-toc-headline): Rename from
5768         `org-html-format-toc-headline'.  Add docstring.  Use optional
5769         title if possible.
5770         (org-html-toc): Add docstring.
5772         * org-element.el (org-element-headline-parser): Node property
5773         :OPTIONAL_TITLE: in a headline will be parsed and stored under
5774         :optional-title property.
5776         * ox.el (org-export-get-optional-title): New function.
5778         * ox-latex.el (org-latex-format-headline-default-function):
5779         Make the variable a function.
5781         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
5782         No error when resolving external fuzzy links outside publishing.
5783         Though search option for these links will not be resolved.
5785         * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5786         according to `org-export-coding-system'.
5788         * ox.el (org-export--generate-copy-script):
5789         Clone `buffer-file-coding-system' when creating a buffer copy.
5791         * ox-html.el (org-html-link): Resolve external links with search
5792         options like [[file.org::#custom-id]] or
5793         [[file.org::*headline-search]].
5795         * ox-publish.el (org-publish-collect-numbering)
5796         (org-publish-resolve-external-fuzzy-link): New functions.
5797         (org-publish-org-to): Add new collecting function to final output
5798         filter.  Move index collecting function to the same filter.
5799         (org-publish-collect-index): Called from final output filter.
5801         * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5802         Use :CUSTOM_ID, not :custom-id.
5804         * org-element.el (org-element-latex-environment-parser): Fix wrong
5805         value for :post-affiliated property when parsing a latex
5806         environment.
5808         * ox-latex.el (org-latex-property-drawer): Remove function.
5810         * ox-ascii.el (org-ascii-filter-paragraph-spacing):
5811         Remove reference to now renamed `e-ascii' back-end.
5813         * ox-beamer.el (org-beamer-template): Allow to span documentclass
5814         options accross multiple lines in template.
5816         * ox-latex.el (org-latex-template): Allow to span documentclass
5817         options accross multiple lines in template.
5819         * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5820         (org-texinfo--get-node): New function.
5821         (org-texinfo-headline, org-texinfo-link): Use new function.
5823         * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5824         contents.  Just indent them.
5826         * ox-publish.el (org-publish-index-generate-theindex): Do not
5827         create an "* Index" headline in "theindex.inc".  Though, create an
5828         "Index" title in fallback "theindex.org".
5830         * ox-publish.el (org-publish-projects): Publish "theindex.org"
5831         last, so that "theindex.inc" can be completed.
5833         * ox-publish.el (org-publish-project-alist): Fix docstring.
5834         (org-publish-collect-index): Fix typo.
5836         * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5837         highlighting brackets in UI
5839         * org-element.el (org-element-headline-parser)
5840         (org-element-inlinetask-parser): Fix docstring.
5842         * org.el (org-export-backends): Add new back-end in customize
5843         interface.
5845         * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5846         (org-beamer--format-section, org-beamer--format-frame)
5847         (org-beamer--format-block, org-beamer-headline): Apply changes to
5848         properties.
5850         * ox-html.el (org-html-headline, org-html-link, org-html-section):
5851         Apply changes to properties.
5853         * ox-icalendar.el (org-icalendar-create-uid)
5854         (org-icalendar-blocked-headline-p, org-icalendar-entry)
5855         (org-icalendar--valarm): Apply changes to properties.
5857         * ox-odt.el (org-odt-headline): Apply changes
5859         * ox-publish.el (org-publish-collect-index): Apply changes to
5860         properties.
5862         * ox-texinfo.el (org-texinfo--generate-menu-list)
5863         (org-texinfo--generate-menu-items, org-texinfo-template)
5864         (org-texinfo-headline, org-texinfo-link): Apply changes to
5865         properties.
5867         * ox.el (org-export-resolve-id-link, org-export-get-category):
5868         Apply changes to properties.
5869         (org-export-get-node-property): Update docstring.
5871         * org-element.el (org-element-headline-parser)
5872         (org-element-inlinetask-parser): Upcase properties.  This is done
5873         to avoid confusion between properties from parser (e.g. `:end')
5874         and properties from the property drawer (e.g. :END:).
5876         * ox-publish.el (org-publish-index-generate-theindex): Preserve
5877         order in file.  Fix error when two index entries were identical.
5878         Create again theindex.inc.
5880         * org-element.el (org-element-map): Allow to map over any list.
5881         Do not restrict mapping to object types.
5883         * org-faces.el (org-latex-and-related): Rename from
5884         `org-latex-and-export-specials', which wasn't appropriate anymore.
5886         * org.el (org-highlight-latex-and-related)
5887         (org-latex-and-related-regexp): New variables.
5888         (org-compute-latex-and-related-regexp, org-do-latex-and-related):
5889         New function, revived from a previous commit.
5890         (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5891         functions.
5892         (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5893         beamer back-end.
5895         * ox-publish.el (org-publish-org-to): Small refactoring.
5897         * ox.el (org-export-install-filters): Properly install filters
5898         send through ext-plist mechanism.
5900         * ox-publish.el (org-publish-org-to): Small refactoring.
5902         * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5903         ox-publish.el takes care of it already.
5905         * org-macro.el: New file.
5907         * org.el: Remove macro code.
5909         * ox.el: Require new library
5911         * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5912         when matching an headline.
5913         (org-export--dispatch-ui): Display a help message in header line
5914         for scrolling dispatcher's buffer
5915         (org-export-resolve-radio-link): Radio targets are
5916         case-insensitive.
5918         * ox-icalendar.el (org-export-icalendar): Fix docstring.
5920         * ox.el (org-export-dispatch): Fix docstring.
5921         (org-export--dispatch-action): Small improvement to line by line
5922         scrolling.
5923         (org-export-resolve-fuzzy-link): Refactor.  Whitespaces are not
5924         significant when matching a fuzzy link.
5926         * org-element.el (org-element-link-parser): Do not remove newlines
5927         characters in paths anymore, since this is not required.
5929         * ox.el (org-export--dispatch-ui): Rename from
5930         `org-export-dispatch-ui'.  Handle scrolling.
5931         (org-export--dispatch-action): Rename from
5932         `org-export-dispatch-action'.  Implement scrolling.
5933         (org-export-dispatch): Apply renaming.
5935         * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5936         but still run `org-ctrl-c-ctrl-c-final-hook'.
5937         (org-end-of-line): Remove `ignore-error'.
5939         * org-element.el (org-element-at-point): Return nil when in the
5940         first empty lines of the buffer.  Return headline when in empty
5941         lines just after the headline.
5943         * ox.el (org-export-output-file-name): Add a protection when
5944         output file name is the same as the original org.
5946         * ox-beamer.el (org-beamer-template): Add missing `class' argument
5947         for `format-string'.
5949         * ox-latex.el (org-latex-template): Add missing `class' argument
5950         for `format-string'.
5952         * ox.el (org-export-stack-mode): Fix docstring.
5954         * org-pcomplete.el (pcomplete/org-mode/file-option):
5955         Allow completion for ATTR_ prefixed keywords.
5957         * org.el (org-options-keywords): Add missing colons.
5959         * org-macs.el (org-default-options): Remove function.
5961         * org-pcomplete.el (org-command-at-point): Fix bug with some file
5962         options.
5963         (pcomplete/org-mode/file-option/x): Remove macro.
5964         (pcomplete/org-mode/file-option): Refactor code.
5965         (pcomplete/org-mode/file-option/author)
5966         (pcomplete/org-mode/file-option/date)
5967         (pcomplete/org-mode/file-option/title)
5968         (pcomplete/org-mode/file-option/tags)
5969         (pcomplete/org-mode/file-option/select_tags)
5970         (pcomplete/org-mode/file-option/priorities)
5971         (pcomplete/org-mode/file-option/language)
5972         (pcomplete/org-mode/file-option/filetags)
5973         (pcomplete/org-mode/file-option/exclude_tags)
5974         (pcomplete/org-mode/file-option/email): New functions.
5976         * ox.el (org-export--collect-headline-numbering): Remove footnote
5977         section from TOC.
5978         (org-export-collect-headlines): Do not count footnote section when
5979         numbering a headline.
5981         * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
5982         attributes in order to determine list's options.
5984         * ox-ascii.el (org-ascii-inner-template): New function.
5985         (org-ascii-template): Use new function.
5986         (org-ascii-export-as-ascii, org-ascii-export-to-ascii):
5987         Update docstring.
5989         * org-element.el (org-element-link-parser): Take into
5990         consideration links filled and indented.
5992         * org-element.el (org-element-link-parser): Remove all newline
5993         characters in path property.
5995         * ox.el (org-export-as): Call `inner-template' function, if
5996         available.
5998         * ox-html.el (org-html-inner-template): New function.
5999         (org-html-template): Move all parts that should be inserted even
6000         in a body-only export into `org-html-inner-template'.
6002         * org.el (org-forward-element, org-backward-element): When no
6003         headline is found at the same level, still move forward or
6004         backward.
6006         * org-element.el (org-element--current-element): Add a limit
6007         argument.
6008         (org-element--collect-affiliated-keywords): Fix parsing of orphaned
6009         keyword at the end of an element.
6011         * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
6012         character as `org-export-format-code-default' already makes sure
6013         the string returned will end with a single one.
6015         * ox-latex.el (org-latex-headline): When a function returns a
6016         sectioning command, only one placeholder should be required.
6018         * org-element.el (org-element-nested-p): Do not inline function.
6020         * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
6021         (org-export--generate-copy-script): Move earlier in the file.
6023         * ox-texinfo.el (org-texinfo-link): Do not transform path part of
6024         internal links.
6026         * org.el (org-org-menu): Small refactoring.
6028         * ox-beamer.el (require):
6029         * ox-icalendar.el (require):
6030         * ox-jsinfo.el (require):
6031         * ox-md.el (require): Require cl when compiling.
6033         * org.el (org-export-backends):
6034         * ox.el (org-export-dispatch): Fix docstring.
6036         * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
6038         * ox-latex.el (org-latex-special-block): Add :options attribute to
6039         special blocks to specify options.
6041         * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
6042         below LATEX_HEADER.
6044         * ox-latex.el (org-latex-format-headline-function): Fix missing
6045         parens in the docstring.
6047         * org.el (org-export-backends): Remove `:initialize' function.
6049         * org.el (org-reload): Also reload export back-ends in use.
6051         * ox-latex.el (org-latex-example-block, org-latex-src-block):
6052         Ignore element if it's empty.  This fixes error "apply: Wrong
6053         number of arguments: max, 0".
6055         * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
6056         class is invalid.
6058         * ox-latex.el (org-latex-template): Provide an error when LaTeX
6059         class is invalid.
6061         * org.el (org-modules): Remove export back-ends from the list.
6062         Update docstring.
6063         (org-export-backends): New variable.
6065         * ox.el (org-export-async-start): Make sure export framework is
6066         required in the external process.
6068         * org.el (org-format-latex-header-extra, org-export-have-math):
6069         Remove variables.
6070         (org-latex-default-packages-alist): Rename from
6071         `org-export-latex-default-packages-alist'.
6072         (org-latex-packages-alist): Rename from
6073         `org-export-latex-packages-alist'.
6074         (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
6075         org-cdlatex-math-modify): Reorder in file.
6076         (org-format-latex): Remove `org-format-latex-header-extra'.
6077         (org-create-formula-image-with-dvipng,
6078         org-create-formula-image-with-imagemagick): Apply variables renaming
6079         and removal.
6081         * org-entities.el (org-entities-user): Update docstring.
6083         * ox-latex.el (org-latex-classes, org-latex-listings):
6084         Update docstring.
6085         (org-latex-guess-inputenc): Rename from `org-latex--guess-inputenc'.
6086         (org-latex-guess-babel-language): Rename from
6087         `org-latex--guess-babel-language'.
6088         (org-latex-template): Apply renaming.
6090         * ox-beamer.el (org-beamer-template): Apply renaming.
6092         * ob-latex.el (org-babel-execute:latex): Apply variable renaming
6093         and removal.
6094         (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
6095         copying it.
6097         * org-macs.el (org-if-unprotected, org-if-unprotected-1)
6098         (org-if-unprotected-at): Remove macros.
6099         (org-re-search-forward-unprotected): Remove function.
6101         * org.el (org-format-latex):
6102         * org-list.el (org-list-struct):
6103         * org-footnote.el (org-footnote-at-reference-p):
6104         * org-capture.el (org-capture-fill-template): Remove reference to
6105         `org-protected'.
6107         * ob-exp.el (org-babel-exp-process-buffer): Rename from
6108         `org-export-blocks-preprocess'.
6110         * ox.el (org-export-execute-babel-code): Apply previous renaming.
6112         * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
6113         keywords for completion without requiring the whole export
6114         framework.
6115         (pcomplete/org-mode/file-option/options): Rewrite using new export
6116         framework.  Only complete up to the colon.
6117         (pcomplete/org-mode/file-option/x): Remove macro.
6118         (pcomplete/org-mode/file-option/title)
6119         (pcomplete/org-mode/file-option/author)
6120         (pcomplete/org-mode/file-option/email)
6121         (pcomplete/org-mode/file-option/date): Remove functions.
6122         (pcomplete/org-mode/file-option/infojs_opt): New function.
6124         * org-clock.el (org-clocktable-defaults)
6125         (org-clocktable-write-default): Avoid requiring the whole export
6126         framework just to check one variable.
6128         * org-footnote.el (org-footnote-section): Update docstring.
6129         (org-footnote-normalize): Remove all export related part from the
6130         function.
6132         * org-inlinetask.el (org-inlinetask-export)
6133         (org-inlinetask-export-templates): Remove variables.
6134         (org-inlinetask-export-handler): Remove function.
6136         * org-plot.el: Remove dependency on `org-exp' library.
6138         * org.el (org-additional-option-like-keywords): Remove variable.
6139         (org-get-export-keywords): New function.
6140         (org-options-keywords): Update default list of keywords.
6141         (org-remove-flyspell-overlays-in): Apply changes to keywords
6142         compilation.
6143         (org-highlight-latex-fragments-and-specials)
6144         (org-latex-and-specials-regexp)
6145         (org-export-html-special-string-regexps): Remove variables.
6146         (org-compute-latex-and-specials-regexp)
6147         (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
6148         Remove functions.
6149         (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
6150         removals.
6151         (org-use-sub-superscripts): Fix docstring.  Remove unused group.
6152         (org-match-sexp-depth): Make it a defconst instead of a defcustom
6153         in order to remove `org-export-translation' group completely.
6155         * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
6156         exporter.
6158         * ob-latex.el (org-babel-execute:latex): Use new exporter.
6160         * ob-org.el (org-babel-execute:org): Use new exporter.
6162         * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
6163         iCalendar export back-end.
6165         * org-table.el (org-table-export, orgtbl-export):
6166         Remove dependency on `org-exp' library.
6167         (org-table-clean-before-export): New function.
6168         (org-table-colgroup-info): New variable.
6169         (orgtbl-to-html): Use to new HTML export back-end.
6171         * org.el (org-modules): Remove modules relative to obsolete export
6172         framework and add those relative to the new one.
6173         (org-create-formula-image-with-dvipng, org-format-latex
6174         org-create-formula-image-with-imagemagick): Use new exporter.
6175         (org-indent-line): INCLUDE keywords are indented like regular
6176         keywords.
6177         (org-mode-map): Bind C-c C-e to new export dispatcher.
6178         (org-menu): Install new exporter in menu.
6180         * org-ascii.el:
6181         * org-beamer.el:
6182         * org-docbook.el:
6183         * org-exp-blocks.el:
6184         * org-exp.el:
6185         * org-freemind.el:
6186         * org-html.el:
6187         * org-icalendar.el:
6188         * org-jsinfo.el:
6189         * org-latex.el:
6190         * org-lparse.el:
6191         * org-odt.el:
6192         * org-publish.el:
6193         * org-special-blocks.el:
6194         * org-taskjuggler.el:
6195         * org-xoxo.el: Remove
6197         * ox-ascii.el:
6198         * ox-beamer.el:
6199         * ox-html.el:
6200         * ox-icalendar.el:
6201         * ox-jsinfo.el:
6202         * ox-latex.el:
6203         * ox-man.el:
6204         * ox-md.el:
6205         * ox-odt.el:
6206         * ox-publish.el:
6207         * ox-texinfo.el:
6208         * ox.el: New file.
6210         * ob-exp.el (org-export-blocks-preprocess): Do not use
6211         `indent-code-rigidly' as it doesn't indent contents of strings.
6213         * org-element.el (org-element-map): Change to function
6214         indentation.  Also complete docstring.
6216         * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
6217         Elements.
6219         * org-element.el (org-element-at-point): When point is before any
6220         element, in the first blank lines of the buffer, return nil.
6221         When point is within blank lines just after a headline, return that
6222         headline.
6223         (org-element-context): Return nil when point is within the blank at
6224         the beginning of the buffer.
6226         * org.el (org-edit-special): Fix regression.
6227         (org-timestamp-has-time-p, org-timestamp-format)
6228         (org-timestamp-split-range, org-timestamp-translate):
6229         New functions.
6231         * org-element.el (org-element-timestamp-interpreter):
6232         Interpret timestamps ranges with repeaters.
6234         * org.el (org-edit-special): Rewrite `org-edit-special' using Org
6235         Elements tools.  Behavior should be unchanged.
6237         * org-element.el (org-element-context): Add an optional argument
6238         so that (org-element-context) and (org-element-context
6239         (org-element-at-point)) are equivalent.
6241         * ob.el: Only use the :wrap argument up to the first space when
6242         creating the #+END_ directive.
6244         * org-element.el (org-element-object-variables): New variable.
6245         (org-element-parse-secondary-string): Copy some buffer-local
6246         variables to the temporary buffer created to parse the string so
6247         links can still be properly expanded.
6248         (org-element-link-parser): Link expansion and translation are applied
6249         transparently for the parser.
6251         * org-element.el (org-element-line-break-parser): Line break
6252         includes the newline character following the backslashes.
6253         (org-element-line-break-interpreter): Apply changes to line break
6254         parsing.
6256         * org.el (org-all-targets): Fix radio targets detection when
6257         object is directly followed by a non-whitespace character.
6259         * ob.el (org-babel-use-quick-and-dirty-noweb-expansion):
6260         Rename from `org-babel-use-quick-and-dirty-noweb-expansion'.
6261         (org-babel-expand-noweb-references): Use new variable name.
6263         * org-element.el (org-element-timestamp-interpreter):
6264         Fix timestamp interpreter when raw value isn't available.
6266         * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
6267         inline babel call or inline src block instead of the following
6268         object.
6270         * org-element.el (org-element-timestamp-parser): Timestamp with
6271         time range has active/inactive-range type.
6272         (org-element-block-name-alist): Do not reset
6273         `org-element-block-name-alist' at each reload.
6274         (org-element-object-restrictions): Allow timestamps in parsed
6275         keywords (i.e. DATE).
6277         * org-agenda.el (org-agenda-show-clocking-issues)
6278         (org-agenda-format-item): Silence byte compiler.
6280         * org-colview.el (org-agenda-columns): Silence byte compiler.
6282         * org.el (org-properties-postprocess-alist): Silence byte
6283         compiler.
6285         * org-element.el (org-element-timestamp-parser): Return nil for
6286         unspecified :hour-end and :minute-end properties.
6287         (org-element-object-restrictions): Add footnote references objects
6288         in table cells.
6289         (org-element-interpret-data): Clear text properties when
6290         interpreting a string .
6292         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6293         Fix docstring.
6295         * org.el (org-adaptive-fill-function): Items do not have
6296         a :post-affiliated property.  Use :begin property instead.
6298         * org-element.el (org-element-headline-parser)
6299         (org-element-inlinetask-parser): Remove :clockedp property.
6301         * org.el (org-adaptive-fill-function): All elements do not have a
6302         :post-affiliated property.
6303         (org-macro-replace-all): Signal an error when a circular macro
6304         expansion happens.
6305         (org-macro-initialize-templates): Fix docstring.
6307         * org-element.el (org-element-map): Fix docstring.
6308         (org-element-contents, org-element-set-contents)
6309         (org-element-adopt-elements): Fix accessors and setters wrt
6310         secondary strings.
6311         (org-element-headline-parser)
6312         (org-element-inlinetask-parser): Fix void-function
6313         `org-clocking-buffer' error.
6314         (org-element-context): Fix org-element-context on parsed keywords.
6315         (org-element-context): Find objects in document and parsable
6316         affiliated keywords.
6317         (org-element-center-block-parser)
6318         (org-element-drawer-parser, org-element-dynamic-block-parser)
6319         (org-element-footnote-definition-parser)
6320         (org-element-plain-list-parser)
6321         (org-element-property-drawer-parser)
6322         (org-element-quote-block-parser, org-element-special-block-parser)
6323         (org-element-babel-call-parser, org-element-comment-parser)
6324         (org-element-comment-block-parser, org-element-diary-sexp-parser)
6325         (org-element-example-block-parser)
6326         (org-element-export-block-parser, org-element-fixed-width-parser)
6327         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6328         (org-element-latex-environment-parser)
6329         (org-element-paragraph-parser, org-element-src-block-parser)
6330         (org-element-table-parser, org-element-verse-block-parser):
6331         Add `:post-affiliated' property to elements.
6332         (org-element-inlinetask-parser): Remove affilated keywords.
6334         * org.el (org-adaptive-fill-function): Use new property.
6336         * org-element.el (org-element--collect-affiliated-keywords):
6337         Allow duals keywords with only secondary value.
6338         (org-element-timestamp-parser): Modify timestamp objects
6339         properties.
6340         (org-element-headline-parser, org-element-inlinetask-parser): Remove
6341         `:timestamp' and `:clock' property.  Add `:clockedp' property.  Also,
6342         set `:closed', `:deadline' and `:scheduled' values to timestamp
6343         objects, not strings.  Small refactoring.
6344         (org-element-clock-parser): Rename `:time' property into `:duration'.
6345         Also, set `:value' value as a timestamp object, not a string.
6346         (org-element-planning-parser): Set `:closed', `:deadline' and
6347         `:scheduled' values to timestamp objects, not strings.
6348         (org-element-clock-interpreter, org-element-planning-interpreter)
6349         (org-element-timestamp-interpreter): Update interpreters.
6350         (org-element--current-element): Tiny refactoring.
6352         * ob.el (org-babel-where-is-src-block-result): Insert new results
6353         keyword in current narrowed part of buffer, if necessary.
6354         Small refactoring.
6355         (org-babel-insert-result): Do not widen buffer when new results have
6356         to be inserted.  Therefore, results inserted after the last block of
6357         a narrowed buffer still belong to the narrowed part of the buffer.
6359         * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
6361         * org-element.el (org-element-paragraph-separate): Diary-sexp
6362         elements can separate paragraphs.
6363         (org-element-all-elements): Install new `diary-sexp' type.
6364         (org-element--current-element): Recognize new `diary-sexp' elements.
6365         (org-element-diary-sexp-parser)
6366         (org-element-diary-sexp-interpreter): New functions.
6367         (org-element-horizontal-rule-parser)
6368         (org-element-keyword-parser, org-element--current-element):
6369         Small refactoring.
6370         (org-element-property): Access to text properties when argument is
6371         a string.
6372         (org-element-put-property): Correctly set property when target is
6373         a string.
6374         (org-element-adopt-elements): Also put :parent properties on
6375         strings.
6377         * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
6378         src blocks.
6379         (org-export-blocks-preprocess): Pos can sometimes be set to a
6380         value greater than start, because of indentation, and lead to a
6381         search bound error.
6382         (org-babel-exp-code): Remove comma-escaping special rule for Org
6383         blocks.
6384         (org-export-blocks-preprocess): Results of an evaluated code block
6385         can be inserted within the blank lines after the block.  Hence, if
6386         the block has to be removed, delete everything down to the first
6387         non-blank line after the end of block closing string, instead of
6388         removing everything down to the very end of the block.
6390         * org.el (org-all-targets): Make sure the regexp really matched a
6391         radio target.
6392         (org-macro-expand, org-macro-replace-all): Change signature.
6393         The function now accepts an alist of templates so it doesn't have to
6394         rely only on `org-macro-templates'.
6395         (org-macro-initialize-templates): {{{date}}} is not anymore an
6396         alias for {{{time}}}.  During export, it will provide the value
6397         stored in DATE keyword instead.
6399         * org-element.el (org-element-object-restrictions): Allow links in
6400         caption.  Also allow inline-src-blocks and inline-babel-calls.
6401         (org-element-map): Change signature.
6402         (org-element-parsed-keywords): Remove document properties from the
6403         value.
6404         (org-element-dual-keywords): Fix docstring.
6405         (org-element-document-properties): New variable
6406         (org-element-all-elements): Add `node-property' as a new element
6407         type.
6408         (org-element-greater-elements): Add property-drawer element to
6409         greater elements since they now contain node-property elements.
6410         (org-element-drawer-parser): Small refactoring.
6411         (org-element-property-drawer-parser): Move into Greater Elements
6412         file section.
6413         (org-element-node-property-parser,
6414         org-element-node-property-interpreter): New functions.
6415         (org-element--current-element, org-element-at-point)
6416         (org-element--parse-elements): Handle new element type.
6417         (org-element--collect-affiliated-keywords): Fix return value.
6418         (org-element-center-block-parser)
6419         (org-element-drawer-parser, org-element-dynamic-block-parser)
6420         (org-element-footnote-definition-parser)
6421         (org-element-plain-list-parser, org-element-quote-block-parser)
6422         (org-element-special-block-parser, org-element-babel-call-parser)
6423         (org-element-comment-parser, org-element-comment-block-parser)
6424         (org-element-example-block-parser)
6425         (org-element-export-block-parser, org-element-fixed-width-parser)
6426         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6427         (org-element-latex-environment-parser)
6428         (org-element-paragraph-parser, org-element-property-drawer-parser)
6429         (org-element-src-block-parser, org-element-table-parser)
6430         (org-element-verse-block-parser): Change signature.  Now use an
6431         additional argument: affiliated.
6432         (org-element--current-element): Skip affiliated keywords and pass
6433         them as an argument to parsers.  It prevents to walk through these
6434         keywords twice: the first time to get to the first line of the
6435         element, and a second time to collect the affiliated keywords.
6437         * ob-exp.el (org-babel-exp-non-block-elements): More accurate
6438         white space handling when evaluating inline-src-block, babel-call
6439         and inline-babel-call elements or objects.  Also removed use of
6440         `org-babel-examplize-region' since it would never be called
6441         anyway; return value from `org-babel-exp-do-export' is never nil.
6442         (org-export-blocks-preprocess): Preserve affiliated keywords when
6443         replacing a code block.
6445         * org-element.el (org-element-multiple-keywords): Allow multiple
6446         caption keywords.
6448         * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
6449         when results are before the block.
6450         (org-export-blocks-preprocess): Improve blank lines handling in
6451         function.  Add comments.  Remove `org-export-blocks-postblock-hook'
6452         since it's defined nowhere now (and doesn't need to, there's
6453         `org-export-before-parsing-hook' already).
6455         * org-exp-blocks.el: Delete.
6457         * ob-exp.el (org-export-blocks-preprocess):
6458         * ob-ditaa.el (org-ditaa-jar-path): Move from
6459         "org-export-blocks.el".
6461         * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
6462         (org-babel-exp-non-block-elements): Rewrite function using Org
6463         Element.
6465         * org-exp-blocks.el (org-export-blocks-preprocess):
6466         Rewrite function using Org Element.
6468         * org-element.el (org-element-recursive-objects)
6469         (org-element-object-restrictions): Remove `macro' from recursive
6470         object types.
6472         * org.el (org-macro-initialize-templates): Small refactoring.
6473         (org-mode): Initialize macros templates.
6474         (org-macro-templates): New variable.
6475         (org-macro-expand, org-macro-replace-all)
6476         (org-macro-initialize-templates): New functions.
6478         * org-element.el (org-element-link-type-is-file): New variable.
6479         (org-element-link-parser): Extract search option and application
6480         in "file"-type links.
6482         * org.el (org-mode): Set back comment-start-skip so comment-dwin
6483         can tell a keyword from a comment.
6485 2013-11-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6487         * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
6488         inactive timestamp also with double universal argument.
6489         (org-set-regexps-and-options): Don't set font-lock defaults here.
6490         (org-mode): Set font-lock defaults here.
6491         (org-insert-link): Call `org-link-try-special-completion' from the
6492         original buffer.
6494 2013-11-12  Oleh  <oleh.krehel@gmail.com>
6496         * org.el (org-open-at-point): The new code is being run in the
6497         same spot as `org-open-link-functions'.  In case they failed,
6498         check if link matches "^id:" and if so, load the id interface and
6499         follwo the link.
6501 2013-11-12  Rasmus  <rasmus@gmx.us>  (tiny change)
6503         * ox-latex.el (org-latex--inline-image): The pgf format is
6504         associated to an inline image and treated like tikz files.
6506 2013-11-12  Richard Lawrence  <richard.lawrence@berkeley.edu>  (tiny change)
6508         * org-agenda.el (org-cmp-ts): Avoid error when trying to
6509         `string-match' against nil.
6511 2013-11-12  Rick Frankel  <rick@rickster.com>
6513         * ox-html.el (org-html-doctype): New function.
6514         (org-html-template): Use `org-html-doctype' instead of inline
6515         code.
6516         (org-html-headline): Use the new
6517         `org-html--container' function to set container element.
6518         (org-html--container): Returns appropriate element for headline
6519         container.
6520         (org-html-divs): Extra character in doc string.
6521         (org-babel-execute:sql): Unquote cmdline argument in
6522         format string, dbish requires three separate arguments.  Add dbi
6523         to the list of engines with automatically added header separator.
6524         (org-html--build-pre/postamble): Add css class to wrapper div
6525         (defaults to `org-pre/postamble-class').  Move spec building to
6526         separate function (`org-html-format-spec').
6527         (org-html-format-spec): New function.
6528         (org-pre/postamble-class): New variable.
6529         (org-html--timestamp-format): New variable used in the metadata
6530         and the pre/postamble.
6531         (org-html-style-default): Make the preamble and postamble use the
6532         same style.  Make all anchors font-size %100.  Remove margin from
6533         the content section.
6534         (org-html-container-element): Fix docstring.
6535         (org-html-postamble-format, org-html-preamble-format):
6536         Update docstrings.
6537         (org-html-template): Use `org-html--build-pre/postamble'.
6538         (org-html--build-pre/postamble): New function, combining the
6539         pre/postamble generator.  Merge lists of formatters from the
6540         preamble and postamble.  Fix bug, using :time-stamp-file instead
6541         of :with-date for auto display of date: this brings usage in-line
6542         with the latex and beamer exporter.
6543         (org-html--build-postamble, org-html--build-postamble): Delete.
6544         (define-backend): Add :html-doctype and :html-container
6545         parameters.
6546         (org-html-doctype): New option for doctype declaration.
6547         (org-html-container-elemnt): New option for specifying the wrapper
6548         container element.
6549         (org-html-divs): Change to alist of three entries each containing
6550         a key ('preamble, 'content, 'postamble), an HTML element type and
6551         an id to allow setting container elements.
6552         (org-html--build-preamble, org-html--build-postamble): Modify to
6553         use `org-html-divs'.
6554         (org-html-template): Modify to use doctype and container-element
6555         settings.
6556         (org-export-define-backend): Add css url option.
6557         (org-export-htmlized-org-css-url): Modify docstring and options.
6558         (org-html--build-style): Include css-url if specified.
6560 2013-11-12  Roberto Huelga Díaz  <rhuelga@gmail.com>  (tiny change)
6562         * org-timer.el (org-timer-set-timer): Use the variable
6563         `org-clock-sound' when calling `org-notify'.
6565 2013-11-12  Ryo TAKAISHI  <ryo.takaishi.0@gmail.com>
6567         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6568         New function.
6569         (org-capture-expand-embedded-elisp): Use the new function.
6571         * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
6572         name collid `org-babel-map-src-blocks' variable 'lang'.
6574         * org-protocol.el (org-protocol-convert-query-to-plist):
6575         New function.
6576         (org-protocol-do-capture): Use new function.
6577         (org-protocol-data-separator): Change default separator.
6579 2013-11-12  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
6581         * org-table.el (orgtbl-format-line): Fix bug when formatting line.
6583 2013-11-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6585         * ox-latex.el (org-latex-listings): Don't quote const value.
6587         * ob-C.el (org-babel-C-var-to-C): Add list support
6588         (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
6589         (org-babel-C-format-val): New functions.
6590         (org-babel-C-ensure-main-wrap, org-babel-execute:C)
6591         (org-babel-execute:C++, rg-babel-execute:cpp)
6592         (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
6594         * org-entities.el (org-entities): Add support for hbar.
6596 2013-11-12  Sacha Chua  <sacha@sachachua.com>  (tiny change)
6598         * org.el (org-read-date-get-relative): Handle positive and
6599         negative weekday specifications so that they don't return today.
6600         If today is Friday, "fri" should mean next Friday.  This changes
6601         the previous behavior, which required you to specify "+2fri" in
6602         order to mean next Friday if today was Friday.  If you want to
6603         schedule something for today, you can use ".".
6605 2013-11-12  Samuel Loury  <konubinix@gmail.com>  (tiny change)
6607         * org.el (org-open-at-point): Open a plain link even if the cursor
6608         is before it, which is consistent with the behavior with respect
6609         to bracket and angle links.
6611 2013-11-12  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
6613         * ob.el (org-babel-expand-noweb-references): Capture current noweb
6614         start and end patterns then use them to set buffer locals in a
6615         (with-temp-buffer ...) form.
6617 2013-11-12  Sebastien Vauban  <xxx@public.gmane.org>
6619         * ox-latex.el (org-latex-listings-langs): Update custom variable.
6621         * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6622         of header arguments.
6624         * org-clock.el (org-clock-goto-before-context): New option.
6625         (org-clock-goto): Use the new option.
6626         (org-clocktable-write-default): Insert the summary as a standard
6627         #+CAPTION keyword for the (clock) table.
6629 2013-11-12  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
6631         * org-agenda.el (org-agenda-prefix-format): Small docstring
6632         enhancement.
6634 2013-11-12  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
6636         * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6637         prefix and leave `temporary-file-directory' unchanged.
6639 2013-11-12  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
6641         * org.el (org-speed-commands-default): Change default binding for
6642         org-mark-subtree from "." to "@" to be more consistent with "C-c
6643         @".
6645 2013-11-12  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6647         * org-datetree.el (org-datetree-find-year-create): Also match
6648         headlines with tags.
6650 2013-11-12  Toby S. Cubitt  <tsc25@cantab.net>
6652         * org.el (org-time-clocksum-format)
6653         (org-time-clocksum-fractional-format): In addition to a single
6654         format string, the clocksum formats can now be plists specifying
6655         separate formats for different time units.
6656         (org-minutes-to-clocksum-string): New function to replace
6657         `org-minutes-to-hh:mm-string', which converts a number of minutes
6658         to a string according to the customization options.
6660         * org-colview.el (org-columns-number-to-string): Use the new
6661         `org-minutes-to-clocksum-string' function to format clocksum
6662         durations.
6664         * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6665         function when formatting time durations, instead of calling
6666         `org-minutes-to-hh:mm-string' or passing
6667         `org-time-clocksum-format' directly to format.
6669 2013-11-12  Tokuya Kameshima  <kametoku@gmail.com>
6671         * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6672         (org-mew-subject-alist, org-mew-capture-inbox-folders)
6673         (org-mew-capture-guess-alist): New options.
6674         (org-mew-store-link, org-mew-open): Rewrite.
6675         (org-mew-folder-name, org-mew-follow-link)
6676         (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6677         (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6678         (org-mew-capture-guess-selection-keys): New functions.
6680 2013-11-12  Trevor Murphy  <trevor.m.murphy@gmail.com>  (tiny change)
6682         * org.el (org-get-compact-tod): Always pad minutes to two places.
6684 2013-11-12  Viktor Rosenfeld  <listuser36@gmail.com>  (tiny change)
6686         * org.el (org-agenda-prepare-buffers): Add tags defined in
6687         `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6689 2013-11-12  Vitalie Spinu  <spinuvit@gmail.com>
6691         * ob-tangle.el (org-babel-find-file-noselect-refresh):
6692         Call `find-file-noselect' with 'nowarn argument to surpress
6693         `yes-or-no-p' reversion message.
6695         * ob-core.el (org-babel-where-is-src-block-head):
6696         Return `point-marker' instead of `point'.
6698 2013-11-12  Yann Hodique  <yann.hodique@gmail.com>
6700         * org-publish.el (org-publish-org-to-taskjuggler): New function to
6701         publish taskjuggler projects.
6703 2013-11-12  Yasushi Shoji  <yashi@atmark-techno.com>
6705         * org-clock.el (org-clock-x11idle-program-name): New option.
6706         (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6708 2013-11-12  Yoshinari Nomura  <nom@quickhack.net>
6710         * ox-html.el (org-html--has-caption-p): New function.
6711         (org-html-link--inline-image, org-html-table): Prepend ordinal
6712         number to caption.
6713         (org-html-link): Make numbered link by counting captioned figures
6714         and tables.
6716         * ox.el (org-export-dictionary): Add Japanese translations for
6717         figures and tables.  Add "Figure %d:" entry in the same manner
6718         with "Table %d:".
6720 2013-11-12  Nicolas Richard  <nrichard@ulb.ac.be>
6722         * ob.el (org-babel-edit-distance): When insertion or deletion are
6723         needed, make sure the distance is incremented.  In addition, the
6724         now obsolete mmin function was removed.
6726 2013-11-12  Oleh Krehel  <wave@mail.ua>
6728         * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6729         if result is not a string and not nil.  If the result is nil,
6730         treat it as if it was the empty string.
6732         * org-clock.el (org-clock-notify-once-if-expired):
6733         Honor `org-clock-sound'.
6735 2013-11-12  Rasmus Pank  <rasmus.pank@gmail.com>
6737         * org.el (org-format-latex-header): Remove eucal and amsmath.
6738         (org-latex-default-packages-alist): Remove amstext and add
6739         amsmath.
6741         * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6743         * org.el (org-latex-default-packages-alist): Remove latexsym.
6745         * org-entities.el (org-entities): Add support for ell, imath,
6746         jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6747         dag, ddag, colon, therefore, because, triangleq, leq, geq,
6748         lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6749         succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6750         diamond.  Changes loz, vert, checkmark, smile and tilde.
6752         * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6753         after loading C.
6755         * org-src.el (org-src-lang-modes): Add association between
6756         language C++ and `c++-mode'.
6758         * ox.el (org-export-smart-quotes-alist): Add ("da" "no" "nb"
6759         "nn" "sv").
6760         (org-export-dictionary): Add some entries ("da" "no" "nb" "nn"
6761         "sv").
6762         (org-export-default-language): Mention other variables affected by
6763         language.
6765         * ox-latex.el (org-latex-babel-language-alist): Add 'nb', 'nn',
6766         and 'no' for Norwegian.  Removed 'no-no'.
6767         (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6768         and change the wording of the docstring.
6769         (org-latex-guess-babel-language): Replace AUTO with language if
6770         AUTO is the option of the LaTeX package Babel.
6771         (org-latex-classes): Update documentation with respect
6772         to `org-latex-guess-babel-language'.
6774 2013-11-12  Дядов Васил Стоянов  <vdyadov@elvees.com>  (tiny change)
6776         * org-docview.el (org-docview-export): New function to export
6777         docview links.
6779 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6781         * org-agenda.el (org-agenda-mode):
6782         * org-indent.el (org-indent-mode): Use the `local' arg of
6783         add-hook/remove-hook.
6785 2013-03-08  Bastien Guerry  <bzg@gnu.org>
6787         * org-exp.el (org-export-normalize-links): Fix critical bug: do
6788         not rely on `org-context' to guess where to prevent links
6789         normalization.
6791 2013-02-28  Achim Gratz  <Stromeko@Stromeko.DE>
6793         * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6794         org-reload uncompiled in the menu.
6796 2013-02-28  Bastien Guerry  <bzg@gnu.org>
6798         * org-indent.el (org-indent-add-properties): Bugfix: prevent
6799         negative value for `added-ind-per-lvl'.
6801         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6802         `isearch-mode-end-hook' so that any isearch fixes the problem with
6803         ellipsis on the first line.
6804         (org-fix-ellipsis-at-bol): New defsubst.
6805         (org-show-context, org-isearch-end): Use it.
6807         * org.el (org-show-context): Remove useless catch.
6808         Make sure the top of the window is a visible headline.
6809         (org-activate-plain-links): Remove unused catch.
6811         * org-macs.el (org-get-alist-option): Return nil, not (nil),
6812         so that `org-show-context' DTRT.
6814         * org.el (org-imenu-get-tree): Fix bug when matching against empty
6815         headlines.
6817         * org.el (org-overview): Stay on current line.
6818         (org-map-entries): Fix docstring.
6819         (org-at-clock-log-p): Delete.
6820         * org-clock.el (org-at-clock-log-p): Move here.
6822         * org.el (org-tsr-regexp-both): Don't activate dates in links.
6823         (org-activate-dates): Change match boundaries according to the new
6824         value of `org-tsr-regexp-both'.
6826         * org-agenda.el (org-agenda-to-appt): Fix typos.
6828         * org-agenda.el (org-agenda-local-vars): Don't include
6829         `org-agenda-show-window' as it needs to be checked outside of the
6830         agenda window.
6832         * org.el (org-set-tags-command): Fix bug when setting tags for
6833         multiple headlines in an active region.
6835         * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6836         in an invisible region.
6838         * org.el (org-insert-heading-respect-content): Add docstring.
6839         New `invisible-ok' parameter.
6840         (org-insert-todo-heading-respect-content): Add docstring.
6842         * ob-tangle.el (org-babel-tangle-collect-blocks):
6843         Bugfix: remove code references from blocks.
6845         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6846         Cosmetic changes.
6847         (org-agenda-show-new-time): Fix bug when displaying a temporary
6848         overlay with the scheduled/deadline information.
6850         * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6851         (org-setup-filling): Use it to prevent breaking a timestamp when
6852         filling a paragraph.
6854         * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6856 2013-02-28  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6858         * org-datetree.el (org-datetree-find-year-create):
6859         Match headlines with tags.
6861 2013-02-07  Bastien Guerry  <bzg@gnu.org>
6863         * org-agenda.el (org-agenda-get-deadlines)
6864         (org-agenda-get-scheduled): Fix bug: use text properties for the
6865         headline text since we rely on properties to get e.g. the effort.
6867         * org-exp.el (org-export-normalize-links): Don't match links
6868         within tags.
6870         * org-html.el (org-export-html-preamble-format)
6871         (org-export-html-postamble-format): Mention that
6872         org-export-html-preamble/postamble need to be `t' in order for
6873         these variables to have any effect.
6875         * org-html.el (org-html-handle-links): When the link description
6876         is an image and the attribute is "width", pass the attribute to
6877         the <img ...> tag.
6879         * org.el (org-mode): Always honor `org-startup-indented', even
6880         when `org-inhibit-startup' is non-nil.
6882         * org-indent.el (org-indent-mode): Don't check
6883         `org-inhibit-startup'.
6885         * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6886         text properties outside of the buffer.
6888         * org.el (org-agenda-inhibit-startup): Rename from
6889         `org-agenda-inhibit-startup-visibility-cycling'.
6890         (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6891         `org-agenda-inhibit-startup'.
6893         * org.el (org-mode): Don't initialize `org-beamer-mode' when
6894         `org-inhibit-startup' is non-nil.
6896         * org-footnote.el (org-footnote-create-definition): Prevent
6897         `electric-indent-mode' from inserting the definition at the wrong
6898         place.
6900         * org-agenda.el (org-agenda-no-heading-message): Delete.
6901         (org-agenda-get-timestamps, org-agenda-get-progress)
6902         (org-agenda-get-deadlines, org-agenda-get-scheduled)
6903         (org-agenda-get-blocks): Don't use
6904         `org-agenda-no-heading-message', skip the entry.
6906         * org.el (org-agenda-inhibit-startup-visibility-cycling):
6907         New option.
6908         (org-agenda-prepare-buffers): Use it to speed up the agenda
6909         generation.
6911         * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6912         commented scheduled/deadline lines.
6914         * org-clock.el (org-clock-in): Fix bug when fetching the effort
6915         value.
6917         * ob-python.el (org-babel-python-command): Fix docstring.
6918         (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6919         from Emacs >24.1 requires a python command as an argument.
6921         * org-element.el (org-element-at-point): Fix typo in docstring.
6923         * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6924         `org-agenda-show-inherited-tags'.
6926         * org-agenda.el (org-agenda-skip): Correctly handle commented out
6927         scheduled/deadline lines.  Refactor.
6929         * org-install.el: Do not warn users.
6931         * org.el (org-adaptive-fill-function): In message-mode, don't
6932         lines in the message header, nor table lines in the body.
6933         Correctly fill lines starting with `org-outline-regexp' in the
6934         body.
6936         * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6937         links.
6939 2013-02-07  Francesco Pizzolante  <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>  (tiny change)
6941         * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6943         * org-macs.el (org-unmodified): Inhibit modification hooks.
6945 2013-02-07  John K. Luebs  <jkluebs@luebsphoto.com>  (tiny change)
6947         * org.el (org-get-wdays): Handle matching a lead time specified in
6948         hours.
6950 2013-02-07  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
6952         * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6953         only when it exists.
6955 2013-02-07  Nicolas Goaziou  <n.goaziou@gmail.com>
6957         * org-element.el (org-element-macro-parser): Fix error when last
6958         argument ends with a protected comma.
6960         * org-element.el (org-element-parse-buffer, org-element-map)
6961         (org-element-at-point, org-element-context): Be more verbose in
6962         docstrings.  Also fix typos.
6964         * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6965         resetted because of a non-nil ORDERED property value, make sure it
6966         had a checkbox already.
6968 2013-02-07  Tokuya Kameshima  <kametoku@gmail.com>  (tiny change)
6970         * org-agenda.el (org-search-view): Fix checking
6971         `org-agenda-show-inherited-tags'.
6973 2013-02-07  racin  <racin@free.fr>  (tiny change)
6975         * org-bibtex.el (org-bibtex-search): Don't throw an error when
6976         `org-bibtex-prefix' is nil.
6978 2013-01-13  Bastien Guerry  <bzg@gnu.org>
6980         * org-compat.el (org-condition-case-unless-debug): Delete.
6982         * org-odt.el (org-odt-cleanup-xml-buffers):
6983         Use `condition-case' instead of `org-condition-case-unless-debug',
6984         which is now deleted.
6986         * org-capture.el (org-capture-templates-contexts):
6987         * org-agenda.el (org-agenda-custom-commands-contexts):
6988         Docstring fix.
6990         * org.el (org-get-tags-at): Remove duplicate inherited tags.
6992         * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
6993         to 'always or to a list of agenda types.
6994         (org-agenda-finalize): Rework conditions under which inherited
6995         tags should be made available even when not displayed.
6996         (org-search-view, org-agenda-get-todos)
6997         (org-agenda-get-timestamps, org-agenda-get-sexps)
6998         (org-agenda-get-progress, org-agenda-get-scheduled)
6999         (org-agenda-get-blocks): Use new possible values of
7000         `org-agenda-show-inherited-tags'.
7002         * org.el (org-open-at-point): Fix opening all links at point.
7004         * org-agenda.el (org-get-entries-from-diary): Turn off
7005         `diary-file-name-prefix' instead of
7006         `diary-file-name-prefix-function', the former is checked before
7007         the latter.
7009         * org.el (org-edit-special): Check for table.el before checking
7010         for Org tables.
7012 2013-01-13  Michael Albinus  <michael.albinus@gmx.de>
7014         * ob-eval.el (org-babel-shell-command-on-region):
7015         Use `executable-find' for local `shell-file-name'.
7017 2013-01-09  Achim Gratz  <Stromeko@Stromeko.de>
7019         * org-faces.el: Define face alias mode-line for XEmacs (it's
7020         called modeline there).
7022         * org-compat.el (org-no-popups): New wrapper macro which let-binds
7023         the correct variables to suppress popup windows depending on the
7024         Emacs version in use.  This is a compile-time decision when
7025         byte-compiling.
7027         * org.el (org-get-location, org-switch-to-buffer-other-window):
7028         Use the wrapper `org-no-popups' to let-bind the correct variables
7029         for suppression of popup windows.
7031         * org-compat.el (user-error): Defalias to `error' for Emacsen that
7032         don't have it.
7034         * org-agenda.el (org-agenda-write): Use org-called-interactively-p
7035         instead of called-interactively-p.
7037         * org.el (org-find-invisible-foreground): Do not use the value of
7038         variables `default-frame-alist', `initial-frame-alist' and
7039         `window-system-default-frame-alist' when their symbol is not bound.
7041 2013-01-09  Bastien Guerry  <bzg@gnu.org>
7043         * org-src.el (org-edit-src-code): Fix bug when trying to edit a
7044         table.el table.
7046         * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
7047         whole function.
7049         * org.el (org-entry-get): Speed up by let-binding some variables
7050         only if needed.  Also fix a bug: consider an empty drawer as no drawer.
7052         * org-agenda.el (org-search-view, org-agenda-get-todos)
7053         (org-agenda-get-timestamps, org-agenda-get-sexps)
7054         (org-agenda-get-progress, org-agenda-get-deadlines)
7055         (org-agenda-get-scheduled, org-agenda-get-blocks)
7056         (org-agenda-change-all-lines): Get local tags only.
7057         (org-agenda-use-tag-inheritance): New option.
7058         (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
7059         is non-nil, possibly reset tags in the agenda buffer.
7060         (org-agenda-check-type): Enhance docstring.
7062         * org.el (org-use-tag-inheritance): Fix typo in docstring.
7064         * org-agenda.el (org-float): Don't alias `org-float'.
7066         * org.el (org-scan-tags): The skipper already checks for archived
7067         entries.
7069         * org.el (org-refresh-properties): Rename from
7070         `org-refresh-effort-properties' and use two new parameters.
7071         (org-agenda-prepare-buffers): Use `org-refresh-properties'.
7072         Also refresh the 'org-appt-warntime text property.
7074         * org-clock.el (org-clock-in): Use the renamed defun.
7076         * org-icalendar.el (org-icalendar-print-entries):
7077         Refresh the 'org-appt-warntime property.
7078         (org-icalendar-print-entries):
7079         * org-agenda.el (org-agenda-get-timestamps)
7080         (org-agenda-get-sexps, org-agenda-get-deadlines)
7081         (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
7082         "APPT_WARNTIME" property value.
7084         * org.el (org-id-link-to-org-use-id): Fix compiler warning.
7086         * org-agenda.el (org-agenda-format-item): Do not use
7087         `org-get-effort' to get the effort text property.
7088         (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
7090         * org-clock.el (org-clock-in): Refresh effort properties.
7092         * org.el (org-refresh-effort-properties): New defun.
7093         (org-get-effort): Delete.
7094         (org-set-effort):
7095         (org-property-next-allowed-value): Set the 'org-effort text property.
7096         (org-agenda-prepare-buffers): Refresh effort properties.
7098         * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
7099         nil so that the mouse doesn't jump when the option is set to t globally.
7101         * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
7102         (org-agenda-dim-blocked-tasks): Make interactive and allow an
7103         optional parameter 'invisible to hide blocked tasks instead of
7104         just dimming them.
7105         (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
7107         * org-agenda.el (org-agenda-finalize): Don't try to align tags
7108         when there are no tags.  Only try to draw the habit consistency
7109         graph when there is a habit in the buffer.  Only mark clocking
7110         task when there is one.
7112         * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
7114         * org.el (org-get-priority): Save match data even when using
7115         `org-get-priority-function'.
7117         * org-mobile.el (org-mobile-create-index-file):
7118         Possibly normalize `org-todo-keywords'.
7120         * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
7122         * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
7123         of the obsolete variable name.
7125         * org.el (org-fontify-meta-lines-and-blocks-1):
7126         Fix bug when fontifying keywords with no value.
7128         * org.el (org-goto-auto-isearch): Enhance docstring.
7129         (org-goto-map): Make a defun, so that the customized value of
7130         org-goto-auto-isearch is correctly initialized.
7131         (org-goto): Initialize the keymap with `org-goto-map'.
7132         (org-get-location): Use *Org Help* as a temporary buffer.
7133         Tell whether auto-isearch is on or off.
7135         * org-exp.el (org-export-as-org): Remove useless argument.
7137         * org-docbook.el (org-export-as-docbook-batch)
7138         (org-export-region-as-docbook, org-export-as-docbook-pdf):
7139         Fix the number of arguments.
7140         (org-export-as-docbook): Remove useless argument.
7142         * org.el (org-speed-commands-default): Use ":" instead of ";" for
7143         `org-set-tags-command', which is consistent with ":" in agenda
7144         view.  Use "=" for `org-columns".
7146         * org.el (org-sparse-tree): Fix redundant information in prompt.
7148         * org-exp.el (org-export-string): Fix number of arguments passed
7149         to the org-export-as-* functions.
7151         * org-latex.el (org-export-as-latex): Fix typo in docstring.
7153         * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
7155         * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
7156         bug when fontifying a keyword with no associated value.
7157         (org-cycle-internal-local): Don't run hooks when cycling a plain
7158         list before first headline.
7159         (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
7160         blocked checkbox.
7161         (org-indent-line): Fix table formulas indenting.
7163         * org-agenda.el (org-agenda-open-link): Fix bug when no link is
7164         matched.  Return a message instead of an error.
7165         (org-agenda-priority): Remove useless parameter and fix showing
7166         priority in agenda buffers.
7168         * org-macs.el (org-with-buffer-modified-unmodified): New macro.
7170         * org.el (org-entry-blocked-p): Use the new macro.
7172         * org-src.el (org-edit-src-exit): Don't comma-escape the content
7173         of a fixed width region.
7175         * org.el (org-blocker-hook): Update the docstring to mention that
7176         functions in this hook should not modify the buffer.
7177         (org-trigger-hook): Small docstring fix.
7178         (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
7179         so that the function never modifies the buffer.
7181         * org-agenda.el (org-agenda-open-link): Allow to open an internal
7182         link by using the new `org-offer-links-in-entry' function.
7184         * org.el (org-offer-links-in-entry): Do not open the link directly
7185         through `org-open-link-from-string', only offer to select a link
7186         and return a cons with the link (as a string) and the end of entry.
7187         (org-open-at-point): Use `org-offer-links-in-entry' correctly.
7189         * org.el (org-cycle-internal-local):
7190         Fix bug: allow headings with leading blank characters.
7192         * org-clock.el (org-clock-persist):
7193         Docstring fix: document the 'history value.
7195         * org.el (org-insert-link): Fix bug when inserting links to
7196         headlines containing the ">" character.
7198         * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
7200         * org-compat.el (org-delete-directory): New compatibility function
7201         for Emacs 22, where `delete-directory' does not support recursive
7202         deletion.
7204         * org-odt.el (org-odt-cleanup-xml-buffers):
7205         Use the new compatibility function.
7207         * org.el (org-table-map-tables): Fix allowed blocks.
7209         * org.el (org-edit-special):
7210         * org-src.el (org-edit-src-code): Fix regression: allow editing
7211         HTML and LaTeX source blocks again.
7213         * org.el (org-nonsticky-props): Add `htmlize-link'.
7214         (org-nonsticky-props): Add `htmlize-link'.
7216         * org.el (org-edit-special):
7217         * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
7219         * org-table.el (org-table-fedit-lisp-indent)
7220         (orgtbl-self-insert-command): Use `org-delete-backward-char'
7221         instead of `backward-delete-char'.
7223         * org-src.el (org-edit-src-code): Fix another bug about editing
7224         special blocks "example" and "verbatim".
7226         * org.el (org-structure-template-alist): Add verbatim.
7227         (org-edit-special): Fix bug about editing special blocks
7228         "example" and "verbatim".
7230         * org.el (org-delete-backward-char, org-delete-char):
7231         Save match data, `delete-backward-char' and `delete-char' don't.
7233         * org.el (org-enable-table-editor, org-insert-heading)
7234         (org-remove-timestamp-with-keyword, org-self-insert-command):
7235         * org-table.el (org-table-fedit-lisp-indent)
7236         (orgtbl-self-insert-command):
7237         * org-latex.el (org-export-latex-subcontent):
7238         * org-clock.el (org-clocktable-write-default):
7239         * org-ascii.el (org-export-ascii-preprocess):
7240         Use `delete-backward-char' instead of `backward-delete-char'.
7242         * org.el (org-todo): Ignore the comment string when changing the
7243         TODO state of a headline.
7244         (org-edit-special): Fix docstring.
7245         (org-in-src-block-p): Small enhancement.
7247         * org-publish.el (org-publish-org-to): Call `org-export-as-*'
7248         functions with the correct list of arguments.
7250         * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
7251         (org-export-as-html-and-open, org-export-as-html-batch)
7252         (org-export-region-as-html): Don't use obsolete arg.
7254         * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
7255         (org-export-as-ascii-to-buffer): Don't use obsolete arg.
7257         * org.el (org-in-fixed-width-region-p): Save match data.
7258         (org-in-src-block-p): Use case-folding for searching the block
7259         boundaries.
7260         (org-activate-plain-links, org-activate-angle-links)
7261         (org-activate-bracket-links): Prevent link activation in
7262         source code blocks.
7264         * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
7265         setting the correct buffer before marking it unmodified to
7266         silently kill him.
7268         * org.el (org-set-font-lock-defaults): Don't activate links in
7269         source code blocks and fixed-width regions.
7271         * org-agenda.el (org-agenda-finalize): Fix links activation.
7273         * org.el (org-open-at-point): Throw the correct error on
7274         non-links.  Use `user-error' instead of `error'.
7276         * org.el (org-in-fixed-width-region-p): Define before use.
7278         * org-src.el (org-in-src-block-p): Declare function.
7280         * org-compat.el: Fix bug: don't use `eval-when-compile' when
7281         aliasing `user-error'.
7283         * org-agenda.el (org-agenda-skip): Only check if point is
7284         inside a code block, not at a code block.
7286         * org.el (org-in-fixed-width-region-p):
7287         Rewrite using org-element.el.
7289         * org.el (org-fill-paragraph): Fill correctly in source code block.
7291         * org.el (org-in-fixed-width-region-p): New function.
7292         (org-edit-special): Fix bug: make sure to DTRT in every
7293         special environment.  Also use the new function to check
7294         against fixed-width environment.
7296         * org-src.el (org-edit-src-code): Check if we are in a source code
7297         block with `org-in-src-block-p'.  Slightly reformat the docstring.
7299         * org.el (org-in-src-block-p): Return t when point is at the
7300         #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
7301         'inside is set to t.
7303         * ob-exp.el (obe-marker): Delete useless var.
7305         * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
7306         (copy-marker nil) on Emacs <24.1.
7308 2013-01-09  Dmitry Antipov  <dmantipov@yandex.ru>
7310         * org-agenda.el (org-agenda-get-restriction-and-command):
7311         * org-capture.el (org-capture-place-template):
7312         * org-colview.el (org-dblock-write:columnview):
7313         * org-mobile.el (org-mobile-locate-entry):
7314         * org-table.el (org-table-convert-region):
7315         * org.el (org-update-statistics-cookies): Use `point-marker'.
7317 2013-01-09  Eric Schulte  <eric.schulte@gmx.com>
7319         * org-exp.el (org-export-string): Pass the dir option on through
7320         to any subsequent export functions.
7322 2013-01-09  Henning Weiss  <hdweiss@gmail.com>  (tiny change)
7324         * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
7325         description from block agendas when they have a title.
7327 2013-01-09  Jambunathan K  <kjambunathan@gmail.com>
7329         * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
7330         Fix Emacs Bug#13254.
7332         * org-odt.el (org-odt-format-org-link): Add check for presence of
7333         description in headline links.
7335 2013-01-09  Michael Gauland  <mike_gauland@stanfordalumni.org>  (tiny change)
7337         * org-src.el: Create a marker to pass to copy-marker.
7339 2013-01-09  Nicolas Goaziou  <n.goaziou@gmail.com>
7341         * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
7342         nil because `org-adaptive-fill-function' already determines which
7343         lines should be filled.
7345         * org.el (org-fill-paragraph): Small refactoring.
7347         * org-element.el (org-element--parse-elements)
7348         (org-element-at-point): Fix parsing of a list in a block in a list.
7350 2013-01-09  Sebastien Vauban  <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
7352         * org.el (org-copy-subtree, org-paste-subtree):
7353         Fix whitespace handling when copying/pasting a subtree.
7355 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
7357         * ob.el (org-babel-temp-file): Fix setting of
7358         `temporary-file-directory' on remote hosts.
7360         * ob-eval.el (org-babel-shell-command-on-region):
7361         Use `process-file' instead of `call-process-region'.  The latter one
7362         does not work on remote hosts.
7364 2012-12-13  Bastien Guerry  <bzg@gnu.org>
7366         * org-latex.el (org-export-latex-links): Escape raw path when
7367         exporting links to files.
7369         * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
7370         S-TAB key should not trigger a native TAB command.
7372         * org.el (org-open-at-point): Allow to open any link within
7373         footnotes definition, not only bracket links.
7375         * org.el (org-sort-entries): Bugfix: keep track of the clock
7376         marker when sorting entries.  Enhance the docstring.
7378         * org-clock.el (org-clock-out): Use `user-error' when the user
7379         tries to clock out while there is no running clock.
7381         * org-table.el (org-table-sort-lines): Ensure coordinates are
7382         correctly displayed when sorting.
7384         * org.el (org-do-sort): Enhance prompt.
7386         * org-agenda.el (org-agenda-finalize): Also activate plain links.
7388         * org-timer.el (org-timer-stop): Add message.
7390         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
7391         Fix redundant messages.
7393         * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
7395         * org.el (org-additional-option-like-keywords): Add "INDEX:".
7397         * org-install.el: Enhance warning.
7399 2012-12-13  Erik Hetzner  <egh@e6h.org>  (tiny change)
7401         * org.el (org-log-into-drawer): Honor the nil value for the
7402         :LOG_INTO_DRAWER: property.
7404 2012-12-13  Le Wang  <l26wang@gmail.com>  (tiny change)
7406         * org-src.el (org-edit-src-exit): Fix editing source section with
7407         blank lines.
7409 2012-12-13  Le Wang  <le.wang@agworld.com.au>
7411         * org-src.el (org-edit-src-code): Use marker with insertion type
7412         t to track end and remove hack requiring delete from beg to (1- end).
7414 2012-12-13  Nicolas Goaziou  <n.goaziou@gmail.com>
7416         * org-element.el (org-element-context): When point is between two
7417         objects, be sure to return the second one.
7419         * org-list.el (org-list-separating-blank-lines-number):
7420         When computing number of blank lines separating items, also count those
7421         in unparsed blocks, like example blocks.
7423         * org.el (org-end-of-line): When visual line mode is on, really
7424         move by visual lines.  Small refactoring.
7426         * org.el (org-end-of-line): On a hidden block make sure to
7427         delegate motion to `end-of-line' instead of `move-end-of-line' in
7428         order to stay on the current line.
7430 2012-12-13  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
7432         * org-bibtex.el: In the documentation section of the file, fix the
7433         broken URL to Andrew Roberts' document on BibTeX entries.
7435         * org-remember.el (org-remember-handler): Correctly strip the
7436         comment lines in the temporary buffer *Remember* when handling a
7437         remember note.
7439         * org-remember.el (org-remember-apply-template): Start the
7440         commented lines in the Remember temporary buffer with the
7441         appropriate characters.
7443 2012-12-13  Toby S. Cubitt  <tsc25@cantab.net>
7445         * org.el (org-beginning-of-line): Check `visual-line-mode' instead
7446         of `line-visual-mode' to determine whether to move by visual lines.
7448         * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
7450 2012-12-04  Chong Yidong  <cyd@gnu.org>
7452         * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
7453         longlines-mode.
7455 2012-10-26  Achim Gratz  <stromeko@stromeko.de>
7457         * ob-ditaa.el: Needs to (require 'org-compat) for
7458         org-find-library-dir.
7460         * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
7461         work when loaded from compressed files.
7463         * org-compat.el: Make sure that file-name-directory is getting a
7464         stringp.  This avoids a possible " (wrong-type-argument stringp
7465         nil)" error when the library in question does not exist.
7467         * org-odt.el: Replace arc-mode.el by arc-mode.
7469         * org.el: Replace org-macs.el by org-macs.
7471         * org-install.el: Provide an empty file that prints a warning
7472         about an outdated configuration.
7474 2012-10-26  Bastien Guerry  <bzg@gnu.org>
7476         * org-latex.el (org-export-as-latex): Remove obsolete argument
7477         `hidden'.  Also fix the docstring: using 'string as the value
7478         for `to-buffer' outputs a string with no LaTeX header.
7479         (org-export-as-latex-batch)
7480         (org-export-as-latex-to-buffer, org-export-region-as-latex)
7481         (org-export-as-pdf): Don't use the obsoleted argument.
7483         * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
7484         argument `hidden'.
7486         * org.el (org-refile): Run within `with-demoted-errors' so that a
7487         corrupted bookmark file does not stop the refile process.
7489         * org-capture.el (org-capture-bookmark-last-stored-position):
7490         Ditto for the capture process.
7492         * org-src.el (org-edit-src-exit): Fix bug when saving an empty
7493         source buffer.
7495         * org-lparse.el (org-lparse): Fix bug by returning the output
7496         of `org-do-lparse'.
7498         * org.el (org-refile-check-position): Throw an error when the
7499         refile target is the current buffer and is not a file.
7500         (org-agenda-file-to-front, org-remove-file): Throw an error
7501         when the current buffer is not a file.
7502         (org-check-agenda-file): Enhance the message.
7503         (org-element-type): Autoload.
7504         (org-element-context, org-element-paragraph-parser):
7505         Don't declare as these two functions are not used in org.el.
7507         * org-lparse.el (browse-url-file-url): Declare.
7509         * org.el (org-refile-check-position): Fix typo in docstring.
7511         * org-clock.el (org-clock-modeline-total): Make obsolete.
7512         (org-clock-mode-line-total): Rename from
7513         `org-clock-modeline-total'.
7514         (org-clock-get-sum-start): Fix references to
7515         `org-clock-modeline-total'.
7517         * org-faces.el (org-agenda-filter-tags)
7518         (org-agenda-filter-category, mode-line): Use the 'mode-line
7519         face instead of the obsolete 'modeline.
7521         * org-odt.el (org-odt-styles-dir): Try more directories.
7522         Don't throw an error, just send a message.
7524         * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
7525         (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
7526         (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
7527         correct directories without requiring other variables.
7529         * org-loaddefs.el: New file.
7531         * org.el ("org-loaddefs.el"): Don't throw an error if the file
7532         cannot be fund.
7533         (org-version): Use org-loaddefs.el instead of org-install.el.
7535         * org.el: Don't dynamically autoload already autoloaded
7536         functions.
7537         (org-clock-update-time-maybe): Move to org-clock.el.
7539         * org-exp.el (org-insert-export-options-template):
7540         Remove autoload cookie.
7542         * org-clock.el (org-resolve-clocks, org-clock-in)
7543         (org-clock-out, org-clock-cancel, org-clock-goto)
7544         (org-clock-sum, org-clock-display, org-clock-report)
7545         (org-dblock-write:clocktable): Add autoload cookie.
7546         (org-clock-update-time-maybe): Move from org.el.
7548         * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
7550         * org-ascii.el (org-export-ascii-preprocess): Ditto.
7552         * org-archive.el (org-archive-subtree)
7553         (org-archive-to-archive-sibling, org-toggle-archive-tag):
7554         Add autoload cookie.
7556         * org-colview.el (org-columns, org-dblock-write:columnview)
7557         (org-insert-columns-dblock, org-agenda-columns): Ditto.
7559         * org-table.el (org-table-create-with-table.el)
7560         (org-table-create-or-convert-from-region, org-table-create)
7561         (org-table-convert-region, org-table-import)
7562         (org-table-export, org-table-align)
7563         (org-table-justify-field-maybe, org-table-next-field)
7564         (org-table-previous-field, org-table-next-row)
7565         (org-table-copy-down, org-table-field-info)
7566         (org-table-current-dline, org-table-goto-column)
7567         (org-table-insert-column, org-table-delete-column)
7568         (org-table-move-column-right, org-table-move-column-left)
7569         (org-table-move-column, org-table-move-row-down)
7570         (org-table-move-row-up, org-table-move-row)
7571         (org-table-insert-row, org-table-insert-hline)
7572         (org-table-hline-and-move, org-table-kill-row)
7573         (org-table-sort-lines, org-table-cut-region)
7574         (org-table-copy-region, org-table-paste-rectangle)
7575         (org-table-convert, org-table-wrap-region)
7576         (org-table-edit-field, org-table-sum)
7577         (org-table-get-stored-formulas)
7578         (org-table-maybe-eval-formula)
7579         (org-table-rotate-recalc-marks)
7580         (org-table-maybe-recalculate-line, org-table-eval-formula)
7581         (org-table-recalculate, org-table-iterate)
7582         (org-table-edit-formulas)
7583         (org-table-toggle-coordinate-overlays)
7584         (org-table-toggle-formula-debugger, orgtbl-to-generic)
7585         (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
7586         (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
7588         * org.el (turn-on-orgtbl): Move here from org-table.el.
7589         (org-clock-persistence-insinuate): Move here from org-clock.el.
7590         (org-update-all-dblocks, org-map-entries)
7591         (org-require-autoloaded-modules, org-forward-element)
7592         (org-backward-element, org-up-element)
7593         (org-element-greater-elements, org-drag-element-backward)
7594         (org-drag-element-forward, org-mark-element)
7595         (org-narrow-to-element, org-transpose-element)
7596         (org-unindent-buffer): Don't autoload.
7598         * org-clock.el (org-clock-get-clocktable): Rename from
7599         `org-get-clocktable'.
7600         (org-clock-persistence-insinuate): Move to org.el.
7602         * org-capture.el: Do no set `generated-autoload-file' locally.
7603         Minor code clean up.
7605         * org-agenda.el (org-agenda-list):
7606         Use `org-clock-get-clocktable'.  Do no set
7607         `generated-autoload-file' locally.
7609         * org-table.el (org-table-iterate-buffer-tables):
7610         Minor reformatting.
7611         (turn-on-orgtbl): Move to org.el.
7613         * org-html.el (org-export-htmlize-generate-css): Don't autoload.
7615         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7616         Ditto.
7618         * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
7620         * ob-lob.el (org-babel-lob-ingest): Ditto.
7622         * org-id.el (org-id-copy)
7623         (org-id-get-with-outline-path-completion)
7624         (org-id-get-with-outline-drilling): Ditto.
7626         * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7627         (org-lparse-to-buffer, org-replace-region-by)
7628         (org-lparse-region): Ditto.
7630         * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7632         * org.el (org-cycle): Fix misplaced autoload cookie.
7634         * org-agenda.el (org-agenda-get-timestamps): Check if the item
7635         is an habit when formatting it with `org-agenda-format-item'.
7636         (org-agenda-get-blocks): Fix bug: don't assume the item is an
7637         habit when formatting with `org-agenda-format-item'.
7639         * org.el (org-calendar-agenda-action-key): Delete an option.
7640         (org-mode-map): Delete its keybinding.
7641         (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7642         Delete.
7644         * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7645         being used outside of Org agendas, as it can be used in
7646         calendar buffers too.
7648 2012-10-26  Caio Tiago Oliveira  <asrail@gmail.com>  (tiny change)
7650         * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7651         block enclosing the submitted code.
7653 2012-10-26  Myles English  <mylesenglish@gmail.com>  (tiny change)
7655         * org-clock.el (org-clock-in): Move the call to
7656         org-clock-in-prepare-hook until the task's properties
7657         can be accessed.
7659 2012-10-26  Nicolas Goaziou  <n.goaziou@gmail.com>
7661         * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7662         mode is nil when pre-computed `fill-prefix' is the empty string.
7663         Otherwise filling functions from fill.el think it has to be computed
7664         again and overwrite it.
7666         * org.el: Make `org-closest-date' aware of hours repeaters.
7668         * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7669         moving to the end of line.  Also improve behavior on elements that
7670         can be hidden.
7672         * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7673         with an argument.
7675         * org-element.el (org-element--get-next-object-candidates):
7676         Fix parsing of objects of the same type in a single paragraph.
7678         * org-element.el (org-element-sub/superscript-successor):
7679         Fix parsing of sub/superscript at beginning of item.
7680         (org-element-latex-or-entity-successor): Fix parsing of latex
7681         fragments at beginning of item.
7683         * org-agenda.el (org-agenda-later): Fix function when span is
7684         a number and an argument was provided.  Also fix typo in docstring.
7686         * org.el (org-read-date-analyze): Fix analyzing for dates like
7687         "29.03 16:40".
7689         * org-element.el (org-element-center-block-parser)
7690         (org-element-drawer-parser, org-element-footnote-definition-parser)
7691         (org-element-inlinetask-parser, org-element-plain-list-parser)
7692         (org-element-quote-block-parser, org-element-special-block-parser)
7693         (org-element-babel-call-parser, org-element-clock-parser)
7694         (org-element-comment-parser, org-element-comment-block-parser)
7695         (org-element-example-block-parser, org-element-export-block-parser)
7696         (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7697         (org-element-keyword-parser, org-element-latex-environment-parser)
7698         (org-element-paragraph-parser, org-element-planning-parser)
7699         (org-element-property-drawer-parser, org-element-src-block-parser)
7700         (org-element-table-parser)
7701         (org-element-verse-block-parserorg-element-dynamic-block-parser):
7702         Make sure element never ends at the end of a blank non-empty line.
7704         * org-element.el (org-element-context)
7705         (org-element--get-next-object-candidates): Fix `org-element-context'.
7706         In particular, the restrictions for an object may be different from
7707         those of its container (i.e. table rows and table cells).
7709         * org-element.el (org-element-example-block-parser)
7710         (org-element-src-block-parser): Store value of example-blocks and
7711         src-blocks unescaped.
7712         (org-element-example-block-interpreter)
7713         (org-element-src-block-interpreter): Escape value again when storing
7714         it.
7716         * org-src.el (org-escape-code-in-string)
7717         (org-unescape-code-in-string, org-escape-code-in-region)
7718         (org-unescape-code-in-region): New functions.
7719         (org-edit-src-code, org-edit-src-exit): Use new functions.
7721         * org.el (org-strip-protective-commas): Remove function.
7723         * org-exp.el (org-export-select-backend-specific-text): Use new
7724         function.
7726         * ob.el (org-babel-parse-src-block-match)
7727         (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7728         Always escape produced blocks, independently on the language of the
7729         block, if any.  Use new functions.
7731         * org-element.el (org-element-paragraph-parser): Fix regexp
7732         starting a block.
7734         * org-element.el (org-element-center-block-parser):
7735         (org-element-drawer-parser, org-element-dynamic-block-parser)
7736         (org-element-example-block-parser, org-element-export-block-parser)
7737         (org-element-latex-environment-parser, org-element-paragraph-parser)
7738         (org-element-property-drawer-parser, org-element-src-block-parser)
7739         (org-element-verse-block-parser): Use stricter regexps for boundaries
7740         of elements.
7742 2012-10-26  Toby S. Cubitt  <tsc25@cantab.net>
7744         * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7745         beginning of re-search-forward loop, otherwise next iteration picks up
7746         `extra' value from previous entry.
7748 2012-09-30  Abdó Roig-Maranges  <abdo.roig@gmail.com>
7750         * org-html.el (org-export-html-preprocess)
7751         (org-export-html-format-image):
7752         Use `org-latex-preview-ltxpng-directory'.
7754         * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7755         Ditto.
7757         * org.el (org-latex-preview-ltxpng-directory): New option.
7758         (org-preview-latex-fragment): Store LaTeX preview images in
7759         `org-latex-preview-ltxpng-directory'.
7761 2012-09-30  Achim Gratz  <Stromeko@Stromeko.DE>
7763         * ob-R.el (org-babel-R-initiate-session): Protect against use of
7764         unbound variable `ess-ask-for-ess-directory´.  The default for this
7765         variable is true, so act accordingly if it is found unbound.
7767         * ob-R.el: Remove initialization with `nil´ from
7768         `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7769         Remove second declaration for `ess-local-process-name´.
7771         * org-gnus.el: Add a missing require for gnus-util.
7773         * org-compat.el: Rename utils to make throughout.
7775         * org.el: Move check for outline-mode-keymap after (require
7776         'outline).
7778         * org-element.el: New file.  Do not (require 'org).
7780         * org-agenda.el: Remove duplicate requires.
7782         * org.el (org-mode-map): Add keybindings to
7783         `org-element-transpose' and `org-narrow-to-element'.
7784         (org-metaup): Fall back on `org-element-drag-backward'.
7785         (org-metadown): Fall back on `org-element-drag-forward'.
7786         Also move chunks of declarations and require statements to get rid of
7787         compiler warnings.
7789         * org-exp-blocks.el (org): Don't require org.  Add declarations.
7791         * org-clock.el (org): Don't require org.
7793         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7795         * ob.el (org-babel-exeext): New defconst to hold extension for
7796         executables or nil if none.  Should be ".exe" for both Windows and
7797         Cygwin.
7799         * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7800         constructing the target file name for the compiled executable.
7802         * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7803         when constructing the target file name for the compiled
7804         executable.
7806         * org-version.el: New file.
7808         * org-compat.el (org-check-version): New macro.  Check if
7809         org-version.el exists and provide autoloads to that.  Otherwise
7810         check if org-fixup.el exists and use it to provide definitions.
7811         Finally if nothing worked, complain about a botched installation
7812         and provide fallback definitions.
7814         * org.el: Use org-check-version.
7816         * org.el: Fix a subtle error resulting in version functions
7817         sometimes not being defined and byte-compiling failing.
7818         Always compile in fallback definitions into org.elc -- org-fixup either
7819         provides re-definitions at compile-time or checks org-version.el
7820         and then the git work tree when run uncompiled.  So the fallback
7821         definitions will only come into effect when org-fixup is not
7822         available.
7824         * org.el (org-version): Make org-version more robust, e.g. when
7825         byte-compiling single files with 'make compile-dirty'.
7827         * org.el (org-reload): Revert an undesirable change in org-reload.
7828         Do not prepend org-dir to babel-files, which prevents the files
7829         from being found in load-path.
7831         * org.el (org-version): Add optional parameters 'full and 'message
7832         to optionally return the full version string and echo to message
7833         area in non-interactive calls.
7835         * org.el (org-submit-bug-report): Add optional parameter 'full to
7836         call of (org-version) so that the bug report has all version
7837         information.
7839         * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7840         exist anymore).  Keep org-*.el at the end of the files list.
7841         Explicitly load org-version.el (since it doesn't provide feature
7842         'org-version) at the very end, but ignore errors when it doesn't
7843         exist.  Add parameters 'full and 'message to the call of
7844         (org-version) so that after reload the full version information is
7845         displayed in the message area again.
7847         * org-agenda.el: Replace with-no-warnings with org-no-warnings
7848         (defined in org-macs.el).
7850         * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7851         (defined in org-macs.el).
7853         * org-clock.el: Replace with-no-warnings with org-no-warnings
7854         (defined in org-macs.el).
7856         * org.el: Replace with-no-warnings with org-no-warnings (defined
7857         in org-macs.el).
7859         * org.el: Add with-not-warnings around call of (org-fixup).
7861         * org-compat.el (org-find-library-dir):
7862         Rename org-find-library-name (misleading) and implement with a function
7863         that exists identically in Emacs/XEmacs.
7865         * org-exp-blocks.el: Change calls to org-find-library-dir.
7867         * org.el: change calls to org-find-library-dir.  Make require for
7868         noutline fail silently because it is missing from XEmacs.
7870         * org.el (org-version): Use functions instead of global variables
7871         to get the version strings and remove the defvaralias to
7872         org-version.  Warn when encountering a mixed installation (org and
7873         org-install.el should be found in the same directory).
7875         * org.el: Add with-no-warning to defvar for two unprefixed global
7876         variables from calendar.el (there's nothing else we can do inside
7877         org until it is fixed in calendar.el).
7879         * org.el: Require find-func and remove declare-function for
7880         find-library-name, otherwise autoloaded org-version doesn't show
7881         all info correctly.
7883         * org.el (org-version): Show the full path to org-install.el in
7884         the version string to avoid confusion if multiple installations
7885         exist or a previously loaded org-install.el has already defined a
7886         version string that is now out of date.
7888         * org.el (org-version): Remove determination of version
7889         information, show "N/A" if the information is not provided via
7890         org-install.el.
7892         * org.el (org-git-version): Placeholder for recording the Git
7893         version of org during install
7895         * org.el (org-version): Initialize local git-version with
7896         placeholder and fall through using it when org is not installed in
7897         a Git repository
7899 2012-09-30  Adam Spiers  <orgmode@adamspiers.org>  (tiny change)
7901         * org-html.el: Add hyperlink to http://orgmode.org/ from export
7902         footer.
7904         * org-clock.el (org-clock-modify-effort-estimate): Display a
7905         message when no clock is currently active.
7907 2012-09-30  Andrew Hyatt  <ahyatt@gmail.com>  (tiny change)
7909         * org-archive.el (org-archive-subtree): Allow archiving to a
7910         datetree.
7912         * org.el (org-archive-location): Ditto.
7914 2012-09-30  Bastien Guerry  <bzg@gnu.org>
7916         * ob-io.el: New file.
7918         * ob-scala.el: New file.
7920         * org.el (org-url-hexify-p, org-doi-server-url)
7921         (org-latex-preview-ltxpng-directory, org-custom-properties)
7922         (org-sparse-tree-default-date-type): Add :version "24.3".
7924         * org-agenda.el (org-agenda-sticky)
7925         (org-agenda-custom-commands-contexts): Ditto.
7927         * org-capture.el (org-capture-bookmark)
7928         (org-capture-templates-contexts) (org-capture-use-agenda-date):
7929         Ditto.
7931         * org-latex.el (org-export-latex-hyperref-options-format)
7932         (org-export-latex-link-with-unknown-path-format): Ditto.
7934         * org-id.el (org-id-link-to-org-use-id): Ditto.
7936         * org-datetree.el (org-datetree-add-timestamp): Ditto.
7938         * org.el (org-make-link-description-function): Enhance docstring.
7939         (org-insert-link): Fall back on interactive prompt when
7940         `org-make-link-description-function' fails.
7942         * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7943         `org-agenda-sticky' is non-nil.
7945         * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7946         (org-agenda-pre-follow-window-conf): New variable.
7947         (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7948         window when there an indirect buffer is already displayed.
7950         * org-agenda.el (org-agenda-manipulate-query)
7951         (org-agenda-goto-date, org-agenda-goto-today)
7952         (org-agenda-find-same-or-today-or-agenda, )
7953         (org-agenda-later, org-agenda-change-time-span)
7954         (org-agenda-change-all-lines)
7955         (org-agenda-execute-calendar-command)
7956         (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7957         get a property from (1- (point-max)), not (point-max)).
7959         * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7960         no :file parameter.
7962         * org-table.el (org-table-eval-formula): Convert time-stamps to
7963         inactive time-stamp so that Calc can handle them correctly.
7965         * org-table.el (org-table-fix-formulas): Warn with a message when
7966         formulas have been updated.
7968         * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7969         base-dir argument and use (file-name-directory file) to get the
7970         file's directory.
7971         (org-publish-update-timestamp)
7972         (org-publish-cache-file-needs-publishing):
7973         Call `org-publish-cache-ctime-of-src' with only one argument.
7975         * org.el (org-follow-timestamp-link): Fix bug when using sticky
7976         agenda.  Add a docstring.
7978         * org-agenda.el (org-agenda-sticky): Don't use a function to set.
7979         Add a :version string.
7981         * org.el (org-priority): Use a new argument to show priority
7982         instead of setting it.
7983         (org-show-priority): New function to show priority both in normal
7984         Org buffers and in Org Agenda buffers.
7985         (org-speed-commands-default): Use "," as a speed command for
7986         setting priority.
7988         * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
7989         to `C-c ,' as it was before.
7990         (org-agenda-show-priority): Delete.
7991         (org-agenda-priority): Use a new argument to show priority instead
7992         of setting it.
7994         * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
7995         docstring.
7996         (org-display-inline-remove-overlay): Rename from
7997         `org-display-inline-modification-hook'.
7998         (org-speed-command-activate): Rename from
7999         `org-speed-command-default-hook'.
8000         (org-babel-speed-command-hook): Rename from
8001         `org-babel-speed-command-activate'.
8003         * org-agenda.el (org-agenda-update-agenda-type): Rename from
8004         `org-agenda-post-command-hook'.
8005         (org-agenda-mode): Use the new name.
8006         (org-agenda-post-command-hook): Define as obsolete function.
8008         * org-lparse.el (org-lparse): Temporarily activate the hooks
8009         needed for the ODT conversion.
8010         (org-lparse-preprocess-after-blockquote): Rename from
8011         `org-lparse-preprocess-after-blockquote-hook'.
8012         (org-lparse-strip-experimental-blocks-maybe): Rename from
8013         `org-lparse-strip-experimental-blocks-maybe'.
8014         (org-lparse-preprocess-after-blockquote-hook)
8015         (org-lparse-strip-experimental-blocks-maybe-hook): Define as
8016         obsolete functions.
8018         * ob.el (org-babel-insert-result): Comma-escape results inserted
8019         with ":results org".
8021         * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
8022         saving the source editing window with the default value for
8023         `org-src-window-setup' (i.e. 'reorganize-frame).
8025         * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
8026         fontify the last character.
8028         * org.el (org-open-at-point): Don't follow timestamp within
8029         bracket links.
8031         * org-capture.el (org-capture-templates): Fix typo in docstring.
8033         * org-agenda.el (org-agenda-skip): Skip information retrieved from
8034         a source block.
8036         * ob.el (org-babel-common-header-args-w-values)
8037         (org-babel-insert-result): Reintroduce ":results org" but using
8038         "#+BEGIN_SRC org", not "#+BEGIN_ORG".
8040         * ob.el (org-babel-common-header-args-w-values): Remove "org" the
8041         list of predefined values for the ":results" parameter.
8043         * ob.el (org-babel-insert-result): Remove support for ":results
8044         org".
8046         * ob.el (org-babel-common-header-args-w-values)
8047         (org-babel-insert-result): Deprecate ":results wrap" in favor of
8048         ":results drawer".
8050         * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
8051         happens before the first headline.
8053         * org-capture.el (org-at-encrypted-entry-p)
8054         (org-encrypt-entry, org-decrypt-entry): Declare.
8055         (org-capture-set-target-location): Check whether `org-crypt' has
8056         been loaded.
8058         * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
8059         docstring.
8061         * org-capture.el (org-capture-finalize): Maybe re-encrypt the
8062         target headline if it was decrypted.
8063         (org-capture-set-target-location): Maybe decrypt the target
8064         headline.
8066         * org-crypt.el (org-at-encrypted-entry-p): New function.
8068         * org.el (org-options-keywords): Add "STYLE:".
8070         * org-agenda.el (org-agenda-ndays): Don't make an alias, as
8071         `org-agenda-span' is defined separately.
8073         * org.el (org-in-subtree-not-table-p): New utility function for
8074         building the menu.
8075         (org-org-menu): Add an item for refiling.  Check more contexts
8076         when activating items.
8077         (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
8079         * org-agenda.el (org-agenda-tree-to-indirect-buffer)
8080         (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
8082         * org-capture.el (org-capture-set-target-location): Set a correct
8083         time value when storing a note in a datetree and prompting the
8084         user for a date.
8086         * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
8087         hook twice.
8089         * org-agenda.el (org-agenda-menu-two-column)
8090         (org-finalize-agenda-hook, org-agenda-ndays):
8091         Use `define-obsolete-variable-alias' instead of
8092         `make-obsolete-variable'.
8094         * org.el (org-link-to-org-use-id): Move to org-id.el.
8096         * org-id.el (org-id-link-to-org-use-id): Rename from
8097         `org-link-to-org-use-id'.  Use `nil' as the default value.
8098         (org-link-to-org-use-id): Alias and define as obsolete.
8100         * org-agenda.el (org-search-view, org-agenda-get-todos)
8101         (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
8102         parameter of `org-agenda-format-item' so that 'time-up and
8103         'time-down agenda sorting strategies are handled correctly.
8105         * org-capture.el (org-capture-fill-template): Fix checking of
8106         protected template entries.
8108         * org.el (org-cycle-global-at-bob): Fix typo in docstring.
8110         * org.el (org-insert-drawer): Deactivate the mark before trying to
8111         indent the :END: of the drawer.
8113         * org-agenda.el (org-agenda-export-html-style): Default to nil as
8114         any string value will replace the htmlize style.
8116         * org.el (org-cycle-hook): Fix tiny typo in docstring.
8118         * org.el (org-time-string-to-time)
8119         (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
8121         * org-freemind.el (org-freemind-write-node): Enhance links
8122         conversion in nodes.
8124         * org-freemind.el (org-freemind-write-node): Convert links in
8125         nodes.
8127         * org.el (org-link-to-org-use-id, org-directory)
8128         (org-default-notes-file, org-reverse-note-order)
8129         (org-extend-today-until, org-finish-function)
8130         (org-store-link-functions): Use "capture" instead of "remember" in
8131         docstrings.  Also use the `org-capture' group when it makes sense.
8133         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
8134         correct agenda buffer.  Don't split the agenda window when the
8135         indirect buffer is displayed in another frame.
8137         * org.el (org-mode): Try to set the org-hide face correctly.
8139         * org-exp.el (org-export): Set the mark correctly when exporting a
8140         subtree.
8142         * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
8143         display of the number of commands for block agendas.
8145         * org-agenda.el (org-agenda-before-write-hook)
8146         (org-agenda-add-entry-text-maxlines): Enhance phrasing.
8147         (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
8148         buffer is writable when the hook is called.
8149         (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
8150         the buffer.
8152         * org-agenda.el (org-habit-show-all-today): Only use defvar to
8153         silent the byte-compiler.
8154         (org-agenda-get-scheduled): Check whether some org-habit.el
8155         options have been defined.
8157         * org-capture.el (org-capture-entry): New variable.
8158         (org-capture-string, org-capture): Use it to possibly skip the
8159         interactive prompt for a capture template.
8161         * org.el (org-activate-plain-links): Don't try to check if we are
8162         in a bracket link already.
8164         * org.el (org-read-date-analyze): Fix bug introduced in commit
8165         cc5f9f: adding a time should not prevent relative answers to be
8166         parsed correctly.
8168         * org-agenda.el (org-agenda-bulk-action): Always read the date
8169         through `org-read-date'.  When possible, use the date at point as
8170         the default date.
8172         * org-agenda.el (org-agenda-bulk-action): Fix bug when
8173         bulk-shifting timestamps.
8175         * org.el (org-version): New constant.
8177         * org-compat.el (org-random): New compatibility function.
8179         * org-id.el (org-id-uuid): Use it.
8181         * org-capture.el (org-capture-use-agenda-date): New option.
8182         (org-capture): Use it.
8184         * org-agenda.el (org-agenda-capture): New command.
8185         (org-agenda-mode-map): Bind it to `k'.
8186         (org-agenda-menu): Add it to the menu.
8188         * org-capture.el (org-capture): Update docstring.
8190         * org-capture.el (org-capture): When called from an agenda buffer,
8191         use the cursor date at the default date.
8193         * org-agenda.el (org-agenda-bulk-action): Use the let-bound
8194         `entries' instead the variable.
8196         * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
8197         persistent marks too early.
8199         * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
8200         point to reset the scheduled or deadline cookie.  On date headers,
8201         use it without prompting the user.  On an item, use the item's
8202         date as the default prompt for `org-read-date'.
8204         * org.el (org-read-date): Docstring fix.
8206         * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
8207         in the message.
8209         * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
8210         (org-agenda-mode-map): Delete related keys.
8212         * org-agenda.el (org-agenda-menu): Fix a keybinding.
8214         * org-colview.el (org-columns-goto-top-level): Correctly move the
8215         marker `org-columns-top-level-marker'.
8216         (org-agenda-columns): Don't set
8217         `org-agenda-overriding-columns-format' as a buffer variable, as we
8218         only need it dynamically.
8219         (org-agenda-colview-summarize): Fix a bug in returning the match
8220         string.
8222         * org-agenda.el (org-agenda-span-to-ndays): Make the second
8223         argument `starting-day' optional.
8224         (org-agenda-goto-date): Keep parameters of custom agendas.
8226         * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
8227         name through a temporary variable.
8228         (org-agenda-buffer-tmp-name): New variable to temporary store the
8229         agenda buffer name.
8231         * org-agenda.el (org-agenda-goto-date): Fix behavior when using
8232         sticky agendas.
8234         * org-agenda.el (org-diary): Don't check whether there is an
8235         agenda buffer when trying to compile the prefix format.
8236         (org-compile-prefix-format): Check if there is an agenda buffer.
8237         If not, use the current buffer.
8239         * org-agenda.el (org-agenda-get-day-entries): Set the agenda
8240         buffer inconditionnally.
8242         * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
8243         more general regexp.
8245         * ob.el (org-babel-where-is-src-block-head): Find a src block head
8246         correctly when #+header(s) is before #+name.
8248         * org-agenda.el (org-agenda-finalize-hook)
8249         (org-agenda-finalize, org-agenda-finalize-entries): Rename from
8250         org-finalize-agenda-*.
8251         (org-agenda-run-series, org-agenda-finalize, org-timeline)
8252         (org-agenda-list, org-search-view, org-todo-list)
8253         (org-tags-view, org-diary, org-agenda-finalize-entries)
8254         (org-agenda-change-all-lines): Use the new names.
8256         * org-agenda.el (org-agenda-local-vars):
8257         Remove ̀org-agenda-last-arguments' from the list of local variables.
8258         (org-agenda-mode-map): `g' does the same than `r' in buffers with
8259         only one agenda view, but its behavior differs when there are
8260         several views.  In manually appended agendas (with `A'), `g'
8261         displays only the agenda under the point.  With multiple agenda
8262         blocks, `g' reinitializes the view by discarding any temporary
8263         changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
8264         changes for the agenda view under the point.
8265         (org-agenda-run-series, org-agenda-redo): Implement the above
8266         changes.
8267         (org-agenda-mark-header-line): Don't set useless properties.
8268         (org-agenda-list, org-todo-only, org-search-view)
8269         (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
8270         (org-agenda-manipulate-query, org-agenda-goto-today)
8271         (org-agenda-later, org-agenda-change-time-span): Use text
8272         properties for storing the last command and the last arguments for
8273         each agenda block.
8274         (org-unhighlight-once): Delete.
8276         * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
8277         buffer.
8279         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
8280         check whether we are in org-agenda-mode.
8282         * org-agenda.el (org-agenda-pre-window-conf): Rename from
8283         `org-pre-agenda-window-conf'.
8284         (org-agenda-local-vars, org-agenda-prepare-window)
8285         (org-agenda-Quit, org-agenda-quit): Use the new name.
8287         * org-agenda.el (org-keys, org-match): New variable, dynamically
8288         scoped in `org-agenda'.
8289         (org-agenda, org-agenda-list, org-search-view, org-todo-list)
8290         (org-tags-view): Use the new variables.
8291         (org-batch-store-agenda-views): Let-bind `match'.
8293         * org-agenda.el (org-search-view, org-todo-list)
8294         (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
8295         these functions programmatically.  Also use the sticky agenda
8296         function correctly.
8298         * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
8299         correctly with sticky agendas and non-custom commands.
8301         * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
8302         `org-fit-agenda-window'.
8303         (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
8304         (org-search-view, org-todo-list, org-tags-view): Use the new name.
8306         * org-agenda.el (org-agenda-prepare): Let `throw' display an
8307         error.
8309         * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
8310         when called from programs as (org-agenda-list).
8312         * org-agenda.el (org-todo-list): Make arg optional.
8314         * org.el (org-agenda-prepare-buffers): Rename from
8315         `org-prepare-agenda-buffers'.
8316         (org-match-sparse-tree, org-map-entries): Use the new names.
8318         * org-agenda.el (org-agenda-prepare-window): Rename from
8319         `org-prepare-agenda-window'.
8320         (org-agenda-prepare): Rename from `org-prepare-agenda'.
8321         (org-agenda-run-series, org-agenda-prepare, org-timeline)
8322         (org-agenda-list, org-search-view, org-todo-list)
8323         (org-tags-view, org-agenda-list-stuck-projects, org-diary)
8324         (org-agenda-to-appt): Use the new names.
8326         * org-mobile.el (org-mobile-create-index-file): Ditto.
8328         * org-icalendar.el (org-export-icalendar): Ditto.
8330         * org-clock.el (org-dblock-write:clocktable)
8331         (org-dblock-write:clocktable): Ditto.
8333         * org-agenda.el (org-agenda): In sticky agendas, use the current
8334         command's match to set the buffer name.  This gives more
8335         information to the user and allows to distinguish various agendas
8336         triggered by the same key.
8337         (org-batch-store-agenda-views): Handle the new sticky agenda
8338         buffer name.
8340         * org-agenda.el (org-agenda)
8341         (org-agenda-get-restriction-and-command): Use `S' as a key for
8342         searching words in TODO-only entries.
8344         * org-agenda.el (org-prepare-agenda): Fit agenda window when
8345         displaying a sticky agenda.
8347         * org-table.el (org-table-number-regexp): Allow the user to set it
8348         to a new regexp, which allows commas as decimal mark.  The default
8349         is to not use this setting, but the one before commit 7ff8c1,
8350         which has ben reverted.
8352         * org-agenda.el (org-agenda-overriding-cmd)
8353         (org-agenda-multi-current-cmd)
8354         (org-agenda-multi-overriding-arguments): New variables.
8355         (org-agenda-run-series): `org-agenda-overriding-arguments'
8356         defaults to the last agenda block arguments, so don't use it
8357         globally.
8358         (org-agenda-mark-header-line): Add properties needed so that
8359         `org-agenda-overriding-arguments', `org-agenda-current-span' and
8360         `org-agenda-last-arguments' can be set to their correct contextual
8361         value.
8362         (org-agenda-multi-back-to-pos): New variable.
8363         (org-agenda-later): Retrieve `org-agenda-current-span' and
8364         `org-agenda-overriding-arguments' from text properties.
8365         Also handle numeric span.
8366         (org-agenda-later, org-agenda-change-time-span):
8367         Set `org-agenda-overriding-cmd' so that we to take overriding
8368         arguments into account for this command only.
8370         * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
8371         Fix bug when called with a non-nil value of `org-agenda-stick'.
8373         * org-agenda.el (org-agenda-refile): Fix bug when refiling an
8374         entry from a sticky agenda.
8376         * org-agenda.el (org-prepare-agenda-window):
8377         Use `org-pre-agenda-window-conf' if already set.
8378         (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
8379         quitting.
8380         (org-agenda-quit): Ditto.
8382         * org-capture.el (org-capture-fill-template): Protect the text
8383         used for replacement from being further replaced.
8385         * org.el (org-contextualize-validate-key): Fix the check against a
8386         function.
8388         * org.el (org-contextualize-keys): Rename from
8389         `org-contextualize-agenda-or-capture'.  Fix normalization to
8390         handle empty key replacement string.
8391         (org-contextualize-validate-key): Rename from
8392         `org-contexts-validate'.  Allow checking against a custom
8393         function.
8395         * org-agenda.el (org-agenda-custom-commands-contexts): Update.
8396         (org-agenda): Use `org-contextualize-keys'.
8398         * org-capture.el (org-capture-templates-contexts): Ditto.
8400         * org.el (org-contextualize-agenda-or-capture):
8401         Normalize contexts.
8403         * org.el (org-contextualize-agenda-or-capture): Handle key
8404         replacement depending on the contexts.
8406         * org-capture.el (org-capture-templates-contexts): Allow to use
8407         the context as a way to replace one capture template by another
8408         one.
8410         * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
8411         use the context as a way to replace one agenda custom command by
8412         another one.
8414         * org.el (org-contextualize-agenda-or-capture)
8415         (org-rule-validate): New functions, implement context filtering
8416         for agenda commands and capture templates.
8418         * org-agenda.el (org-agenda-custom-commands-contexts): New option.
8419         (org-agenda): Use it.
8421         * org-capture.el (org-capture-templates-contexts): New option.
8422         (org-capture-select-template): Use it.
8424         * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
8425         (org-mode): Set `beginning-of-defun-function' and
8426         `end-of-defun-function' directly.
8428         * org.el (org-insert-link): Fix bug: include links abbreviations
8429         when completing.
8431         * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
8432         `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
8433         items should not be ignored.
8435         * org.el (org-ds-keyword-length, org-make-tags-matcher):
8436         Docstring clean-up.
8438         * org-freemind.el (org-freemind-convert-links-from-org): Replace
8439         literally to prevent errors when replacing with string containing
8440         backslashes.
8442         * org-pcomplete.el (org-thing-at-point): Allow to match (and then
8443         complete) a "thing" containing dashes.
8445         * org-table.el (org-table-toggle-coordinate-overlays):
8446         Better message when interactively toggling.
8448         * org-table.el (org-table-number-regexp): Update the docstring to
8449         show an example of a decimal number using the comma as a
8450         separation mark.
8452         * org-agenda.el (org-prepare-agenda): Minor code clean-up.
8453         (org-agenda-filter-by-category): Filtering must be turned off only
8454         when a category filter has been set and this filter is not empty.
8456         * org-agenda.el (org-search-view, org-agenda-get-todos)
8457         (org-agenda-get-timestamps, org-agenda-get-sexps)
8458         (org-agenda-get-progress, org-agenda-get-deadlines)
8459         (org-agenda-get-scheduled, org-agenda-get-blocks):
8460         Use `category-pos' instead of `org-category-pos'.
8462         * ob-fortran.el (org-babel-fortran-transform-list): Rename from
8463         `ob-fortran-transform-list'.
8464         (org-babel-fortran-var-to-fortran): Use the new function's name.
8466         * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
8467         `ob-calc-maybe-resolve-var'.
8468         (org-babel-execute:calc): Use the new function's name.
8470         * org-jsinfo.el (org-infojs-template): Add a license.
8471         (org-infojs-handle-options): Replace all template elements.
8473         * org-html.el (org-export-html-scripts): Add a license.
8474         (org-export-html-mathjax-config): Replace all template elements.
8475         (org-export-html-mathjax-template): Add a license.
8476         (org-export-as-html): Minor code clean-up.
8478         * org.el (org-options-keywords): Add "#+MATHJAX" and
8479         "#+INFOJS_OPT" to the list of keywords for completion.
8481         * org.el (org-src-prevent-auto-filling): Remove unused and useless
8482         option.
8484         * org.el (org-element-at-point): Autoload.
8485         (org-element-up): Remove useless declaration.
8486         (org-fill-context-prefix, org-fill-paragraph)
8487         (org-mark-element, org-narrow-to-element)
8488         (org-transpose-element, org-unindent-buffer): Do not require
8489         org-element.
8491         * org.el (org-fill-paragraph): Require org-element.
8493         * org-agenda.el (org-agenda-persistent-marks): Minor docstring
8494         enhancement.
8496         * org.el (org-create-math-formula): Use the compatibility function
8497         `org-region-active-p'.
8499         * org-odt.el (org-export-as-odf): Ditto.
8501         * ob.el (org-babel-demarcate-block): Ditto.
8503         * org.el (org-mark-subtree): Maybe call `org-mark-element'
8504         interactively.
8505         (org-mark-element): Only mark further elements when called
8506         interactively.
8508         * org.el (org-mark-element, org-narrow-to-element)
8509         (org-transpose-element): Require org-element.
8511         * org-agenda.el (org-agenda-get-timestamps)
8512         (org-agenda-get-sexps, org-agenda-get-deadlines)
8513         (org-agenda-get-scheduled): Add the 'warntime as a text property,
8514         getting its value from the APPT_WARNTIME property.
8515         (org-agenda-to-appt): Use the 'warntime text property.
8517         * org-capture.el (org-capture-place-table-line): Fix bug.
8519         * org.el (org-activate-plain-links): Don't activate a plain link
8520         when it is part of a bracketed link, unless bracketed links are
8521         not enlisted in `org-activate-links'.
8522         (org-open-at-point): Don't consider the text immediately after a
8523         bracketed link is part of a plain link.
8525         * org.el (org-compute-latex-and-specials-regexp)
8526         (org-paste-subtree, org-sort-entries, org-store-link)
8527         (org-open-at-point, org-file-remote-p, org-add-log-setup)
8528         (org-set-tags-to, org-fast-tag-selection)
8529         (org-diary-sexp-entry): Ditto.
8531         * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
8532         (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
8533         (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
8534         end of (cond ...) constructs.
8536         * org-mobile.el (org-mobile-create-index-file): Ditto.
8538         * org-lparse.el (org-lparse-format-table-row): Ditto.
8540         * org-list.el (org-sort-list): Ditto.
8542         * org-id.el (org-id-get): Ditto.
8544         * org-html.el (org-export-html-preprocess): Ditto.
8546         * org-exp.el (org-default-export-plist)
8547         (org-table-clean-before-export): Ditto.
8549         * org.el (org-options-keywords): Add "TODO".
8550         (org-make-options-regexp): Make the hashtag mandatory for options
8551         and don't allow whitespaces between the hashtag and the plus sign.
8553         * org.el (org-refresh-category-properties)
8554         (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
8555         Allow lowercase "#+category" and "#+begin:" dynamic blocks.
8557         * org.el (org-context): Use case-folding when trying to match
8558         clocktables and source blocks contexts.
8560         * org-clock.el (org-clock-put-overlay): Put the overlay on the
8561         whole headline, not only on the last character.  This fixes a bug
8562         with overlays on headlines ending with a bracketed link.
8564         * org-html.el (org-export-as-html): Make sure we always process a
8565         string.
8567         * org-exp.el (org-export-cleanup-toc-line): Always return a
8568         string.
8570         * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
8571         metalines with #+results[...]:.
8573         * org-exp.el (org-export-handle-metalines): Rename from
8574         `org-export-handle-table-metalines'.  Now also handle source block
8575         metalines.
8576         (org-export-res/src-name-cleanup): Delete.
8577         (org-export-preprocess-string): Use `org-export-handle-metalines'.
8578         Don't use `org-export-res/src-name-cleanup' anymore.
8580         * org-html.el (org-format-org-table-html): Don't include the
8581         caption tag for empty captions in HTML export.  Keep it in the
8582         DocBook export so that it produces valid DocBook XML.
8584         * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
8585         8am" to be parsed correctly with respect to possible values of
8586         `org-read-date-prefer-future'.
8587         (org-read-date-prefer-future): Update docstring to remove the
8588         restriction about inserting only the time.  The user can now
8589         insert the time and the day.
8591         * org-icalendar.el (org-icalendar-print-entries): Rename from
8592         `org-print-icalendar-entries'.
8593         (org-icalendar-start-file): Rename from
8594         `org-start-icalendar-file'.
8595         (org-icalendar-finish-file): Rename from
8596         `org-finish-icalendar-file'.
8597         (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
8598         (org-export-icalendar): Use the correct functions.
8600         * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
8601         commit e85479.
8603         * org.el (org-fill-context-prefix): Require org-element.
8604         (org-timestamp-change): Fix bug by saving excursion when adjusting
8605         another clock.
8607         * org.el (org-read-date-prefer-future): Fix docstring formatting.
8608         (org-read-date-analyze): Fix the interpretation of
8609         `org-read-date-prefer-future'.
8611         * org-agenda.el (org-agenda-menu-two-column): Rename to
8612         `org-agenda-menu-two-columns'.
8614         * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
8615         Replace `org-labels' by `let*'.
8617         * org-bibtex.el (org-bibtex-headline): Ditto.
8619         * org-compat.el: Delete `org-labels'.
8621         * ob.el (org-babel-get-src-block-info)
8622         (org-babel-check-src-block, org-babel-current-result-hash)
8623         (org-babel-parse-src-block-match, org-babel-read-link)
8624         (org-babel-insert-result, org-babel-clean-text-properties):
8625         Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8626         (org-babel-clean-text-properties): Delete redundant function
8627         `org-babel-clean-text-properties'.
8629         * ob-tangle.el (org-babel-tangle-collect-blocks)
8630         (org-babel-tangle-comment-links): Ditto.
8632         * ob-table.el (sbe): Ditto.
8634         * ob-lob.el (org-babel-lob-get-info)
8635         (org-babel-lob-execute): Ditto.
8637         * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8639         * org-macs.el (org-no-properties): Allow a new parameter
8640         `restricted' to restrict the properties removal to those in
8641         `org-rm-props'.  The default is now to remove all properties.
8643         * org-compat.el (org-substring-no-properties): Remove unused
8644         defun.
8646         * org-remember.el (org-remember-apply-template): Remove redundant
8647         removal of text properties.
8648         (org-remember-apply-template): Use `org-no-properties'.
8650         * org-capture.el (org-capture-fill-template): Remove redundant
8651         removal of text properties.
8652         (org-capture-fill-template): Use `org-no-properties'.
8654         * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8655         Use `org-no-properties'.
8657         * org-colview.el (org-columns-display-here): Ditto.
8659         * org-table.el (org-table-eval-formula): Ditto.
8661         * org.el (org-entry-properties): Ditto.
8663         * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8664         handling `alarm-time'.
8666         * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8668         * org.el (org-store-log-note): Only skip comments starting with "#
8669         " when storing a note.
8671         * org.el (org-custom-properties): New option.
8672         (org-custom-properties-overlays): New variable.
8673         (org-toggle-custom-properties-visibility): New command to toggle
8674         the visibility of custom properties.
8675         (org-check-before-invisible-edit): Also prevent errors when trying
8676         to edit invisible properties.
8678         * org-datetree.el (org-datetree-add-timestamp): New option.
8679         (org-datetree-insert-line): Use it.
8681         * org.el (org-fill-template): Fix bug when filling template for a
8682         key associated to the nil value.
8684         * org-agenda.el (org-diary): Fix tiny typo.
8686         * org.el (message-in-body-p): Move declaration up to fix compiler
8687         warning.
8689         * org.el (org-fill-context-prefix): Fix auto-filling in
8690         `message-mode'.
8692         * org.el (org-fill-paragraph): Correctly fill paragraph in
8693         message-mode.
8694         (org-indent-line): Correctly indent according to mode when
8695         `orgstruct++-mode' is on.
8696         (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8697         stored in `org-fb-vars'.
8699         * org.el (org-fill-paragraph): Make a command.  Fix bug about
8700         filling message headers and citations.
8702         * org.el (org-redisplay-inline-images): New command.
8703         (org-mode-map): Bind it to C-c C-x C-M-v.
8705         * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8706         (org-columns-get-format): Fix compiler warning.
8708         * org-feed.el: Add declarations.
8710         * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8711         allow tag inheritance.
8713         * org-capture.el (org-capture): Fix bug introduced by commit
8714         1737d3.
8716         * org-publish.el (org-publish-needed-p)
8717         (org-publish-update-timestamp, org-publish-file)
8718         (org-publish-cache-file-needs-publishing): New argument
8719         `base-dir'.
8720         (org-publish-cache-ctime-of-src): Use the new argument to make
8721         sure we find the file according to :base-directory.
8723         * org-capture.el (org-capture-string): New command to prompt for
8724         the interactive text interactively.  This can also be used in
8725         Elisp programs to use ̀org-capture' with some initial text.
8726         (org-capture-initial): New variable to store the initial text.
8727         (org-capture): Use `org-capture-initial'.
8729         * org.el (org-emph-re): Tiny docstring formatting fix.
8731         * org-compat.el (org-labels): Remove.
8733         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8735         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8737         * org.el (org-emph-re): Tiny formatting fix.
8739         * org.el (orgstruct-setup): Require `org-element'.
8741         * org.el (org-store-link, org-open-at-point): New link type
8742         "help".
8744         * org-compat.el (org-flet): Remove alias.
8746         * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8747         (org-babel-get-rownames, org-babel-insert-result)
8748         (org-babel-merge-params)
8749         (org-babel-expand-noweb-references): Don't use `org-flet'.
8750         Also indent some functions correctly.
8752         * ob.el (org-babel-execute-src-block)
8753         (org-babel-join-splits-near-ch, org-babel-format-result)
8754         (org-babel-examplize-region): Don't use `org-flet'.
8755         (org-babel-tramp-handle-call-process-region): Fix typo.
8757         * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8759         * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8761         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8762         Don't use `org-flet'.
8764         * org-pcomplete.el (org-compat): Require.
8766         * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8768         * org-bibtex.el (org-bibtex-write): Use let*.
8770         * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8772         * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8773         (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8775         * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8777         * org-pcomplete.el (org-thing-at-point): Ditto.
8779         * org.el (org-timestamp-change): Ditto.
8781         * org-mouse.el (org-mouse-timestamp-today)
8782         (org-mouse-set-priority, org-mouse-popup-global-menu)
8783         (org-mouse-context-menu): Don't use ̀org-flet'.
8785         * org.el (org-priority): Fix docstring.
8787         * org-publish.el (org-publish-write-cache-file)
8788         (org-publish-initialize-cache)
8789         (org-publish-cache-file-needs-publishing)
8790         (org-publish-cache-get): Small code clean-up.
8792         * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8794         * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8795         agenda entries created from sexps.
8797         * org-capture.el (org-capture-templates): Docstring clean up.
8798         (org-capture-place-entry, org-capture-place-item)
8799         (org-capture-place-plain-text, org-capture-place-table-line):
8800         Ensure to always position the point according to %?.
8802         * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8803         converting remote table references.
8805         * org-agenda.el (org-agenda-switch-to): Run hooks in
8806         ̀org-agenda-after-show-hook'.
8808         * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8809         variable `length' to `lgth'.
8811         * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8812         ̀org-flet'.
8814         * org-exp.el (org-export-format-source-code-or-example): Ditto.
8816         * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8818         * ob.el (org-babel-view-src-block-info)
8819         (org-babel-execute-src-block, org-babel-edit-distance)
8820         (org-babel-switch-to-session-with-code)
8821         (org-babel-balanced-split, org-babel-insert-result): Ditto.
8823         * ob-ref.el (org-babel-ref-index-list): Ditto.
8825         * ob-python.el (org-babel-python-evaluate-session): Ditto.
8827         * ob-lob.el (org-babel-lob-get-info): Ditto.
8829         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8831         * ob-exp.el (org-babel-exp-do-export): Ditto.
8833         * org-table.el (orgtbl-to-generic): Fix docstring.
8835         * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8836         argument `switch-to-state' set to nil.  Fix docstring.
8837         (org-clock-in-last): Prompt for a todo state to switch to when
8838         called with three universal prefix arguments.  Don't display a
8839         message when the clock is already running.  Update docstring.
8840         (org-clock-out): New argument `switch-to-state'.  When this
8841         argument is non-nil, prompt for a state to switch the clocked out
8842         task to, overriding `org-clock-out-switch-to-state'.
8844         * org.el (org-entry-get): Don't use `org-flet'.
8846         * org.el (org-forward-heading-same-level): Rename from
8847         `org-forward-same-level'.
8848         (org-backward-heading-same-level): Rename from
8849         `org-backward-same-level'.
8851         * org.el (org-forward-element): Rename from `org-element-forward'.
8852         (org-backward-element): Rename from `org-element-backward'.
8853         (org-up-element): Rename from `org-element-up'.
8854         (org-down-element): Rename from `org-element-down'.
8855         (org-drag-element-backward): Rename from
8856         `org-element-drag-backward'.
8857         (org-drag-element-forward): Rename from
8858         `org-element-drag-forward'.
8859         (org-mark-element): Rename from `org-element-mark-element'.
8860         (org-transpose-element): Rename from `org-element-transpose'.
8861         (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8862         (org-mode-map): Update the names of a commands.  Remove useless
8863         declarations.
8865         * org-element.el (org-element-forward, org-element-backward)
8866         (org-element-up, org-element-down)
8867         (org-element-drag-backward, org-element-drag-forward)
8868         (org-element-mark-element, org-narrow-to-element)
8869         (org-element-transpose, org-element-unindent-buffer): Move to
8870         org.el.
8872         * org.el (org-forward-same-level): Fix typo in docstring.
8874         * org-agenda.el (org-agenda-mode-map):
8875         Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8876         (org-agenda-next-item, org-agenda-previous-item): New commands to
8877         move by one item down/up in the agenda.
8878         (org-agenda-mode-map): Bind `org-agenda-next-item' and
8879         `org-agenda-previous-item' to `N' and `P' respectively.
8881         * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8882         Toggle headers when necessary.
8884         * org-element.el (org-narrow-to-element): Autoload.
8886         * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8887         (org-mark-subtree): Allow a numeric prefix argument to move up
8888         into the hierarchy of headlines.
8890         * org-element.el (org-element-up, org-element-down): Autoload.
8892         * org.el: Declare functions and don't require org-element.
8894         * org-element.el (org-element-at-point, org-element-forward)
8895         (org-element-backward, org-element-drag-backward)
8896         (org-element-drag-forward, org-element-mark-element)
8897         (org-element-transpose, org-element-unindent-buffer): Autoload.
8898         Require 'org and remove all declarations.
8900         * org.el (org-outline-regexp-bol, org-heading-regexp):
8901         Use variables instead of constants.
8903         * org-archive.el (org-datetree-find-date-create): Declare.
8905         * org.el (org-open-at-point): Only set
8906         `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8907         has been loaded.
8909         * org-icalendar.el (org-print-icalendar-entries):
8910         Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8912         * org.el (org-special-properties): New special property
8913         CLOCKSUM_T.
8914         (org-entry-properties): Handle the new special property.
8916         * org-colview.el (org-columns): Handle a new special property
8917         CLOCKSUM_T.
8918         (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8920         * org-clock.el (org-clock-sum-today): New function.
8921         (org-clock-sum): New argument PROPNAME to set a custom text
8922         property instead of :org-clock-minutes.
8924         * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8925         error message when no agenda is currently being displayed.
8927         * org.el (org-get-property-block): Find blocks before the first
8928         headline.
8929         (org-entry-properties): Minor code cleanup.
8930         (org-entry-get, org-entry-get-with-inheritance): Get property
8931         before the first headline.
8933         * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8935         * org.el (org-make-link): Delete.
8936         (org-store-link, org-insert-link)
8937         (org-file-complete-link): Don't use `org-make-link'.
8939         * org-wl.el (org-wl-store-link-folder)
8940         (org-wl-store-link-message): Ditto.
8942         * org-vm.el (org-vm-store-link): Ditto.
8944         * org-rmail.el (org-rmail-store-link): Ditto.
8946         * org-mhe.el (org-mhe-store-link): Ditto.
8948         * org-mew.el (org-mew-store-link): Ditto.
8950         * org-irc.el (org-irc-erc-store-link): Ditto.
8952         * org-info.el (org-info-store-link): Ditto.
8954         * org-id.el (org-id-store-link): Ditto.
8956         * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8958         * org-eshell.el (org-eshell-store-link): Ditto.
8960         * org-bbdb.el (org-bbdb-store-link): Ditto.
8962         * org.el (org-url-hexify-p): New option.  When non-nil (the
8963         default), hexify URLs when creating a link.
8965         * org.el (org-insert-link): Make sure point is at the beginning of
8966         the buffer.
8968         * org.el (clean-buffer-list-kill-buffer-names): Declare.
8969         (org-open-at-point): Allow opening multiple shell links by
8970         creating a new output buffer for each shell process.  The new
8971         buffer is added to `clean-buffer-list-kill-buffer-names'.
8973         * org-mobile.el (org-mobile-create-index-file):
8974         Use `org-global-tags-completion-table' instead of
8975         `org-tag-alist-for-agenda' to get the tags for the index file.
8977         * org.el (org-global-tags-completion-table): Fix typo in
8978         docstring.
8980         * org.el (org-link-to-org-use-id): Use `org-capture' instead of
8981         `org-remember' in the docstring.
8982         (org-link-fontify-links-to-this-file): New function to fontify
8983         links to the current buffer in `org-stored-links'.
8984         (org-store-link): Small code simplification.
8985         (org-link-prettify): Enclose literal links into <...> instead of
8986         [[...]].
8987         (org-insert-link): Use `org-link-fontify-links-to-this-file'.
8988         Also allow completion over links' descriptions, as well as links
8989         destinations.  When the user uses the description for completion,
8990         don't prompt again for a description.
8992         * org-capture.el (org-capture-templates): Fix docstring by adding
8993         Gnus to the list of mail clients.
8995         * org.el (org-log-repeat): Enhance docstring.
8997         * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
8998         `org-element-backward/forward' as these functions stops when there
8999         is no element of the same type before/after point.  It is useful
9000         to navigate with `forward/backward-paragraph' with no stop in most
9001         cases.
9003         * org-capture.el (org-capture-templates): New template %l to
9004         insert the literal link pointing at the current buffer.
9006         * org.el (org-todo-keywords): Ditto.
9008         * org.el (org-fill-paragraph): Falls back on
9009         `message-fill-paragraph' if required in `message-mode'.
9011         * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
9012         (pcomplete/org-mode/file-option/options)
9013         (pcomplete/org-mode/file-option/title)
9014         (pcomplete/org-mode/file-option/author)
9015         (pcomplete/org-mode/file-option/email)
9016         (pcomplete/org-mode/file-option/date): Use the new macro to offer
9017         completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
9018         #+EMAIL and #+DATE.
9020         * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
9021         an external file while `org-agenda-sticky' is non-nil.
9023         * org.el (org-speed-commands-default): New speedy command to
9024         quickly add the :APPT_WARNTIME: property.
9026         * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
9027         property to override `appt-message-warning-time' when adding an
9028         appointment from an entry.
9030         * org.el (org-version): Improve docstring.
9031         (org-self-insert-cluster-for-undo): The default value should be
9032         nil for Emacs >=24.1.  See bug#11774.
9034         * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
9035         commit.
9037         * org.el (org-options-keywords): New constant.
9038         (org-additional-option-like-keywords): Remove duplicates with
9039         keywords in the new constant.
9040         (org-additional-option-like-keywords-for-flyspell): Use the new
9041         constant.
9042         (org-mode-flyspell-verify): Exclude keywords from the new
9043         constant.
9045         * org-pcomplete.el (pcomplete/org-mode/file-option):
9046         Use `org-options-keywords'.
9048         * org.el (org-toggle-heading): Bugfix: use
9049         `org-element-mark-element' instead of `org-mark-list'.
9051         * org-list.el (org-mark-list): Delete.
9053         * org.el: Update a few keybindings.
9055         * org-element.el (org-element-down): Throw an error when the
9056         element has no content.
9058         * org-table.el (orgtbl-radio-table-templates): Add a template for
9059         org-mode.
9060         (orgtbl-to-orgtbl): Complete and align the table created with
9061         orgtbl-to-orgtbl, in case the user use the function for radio
9062         tables.
9063         (orgtbl-to-table.el): New function to export a table to another
9064         one using the table.el format.
9065         (orgtbl-to-unicode): New function to export a table using unicode
9066         characters.
9068         * org-exp.el (org-export-language-setup): Use "Sommaire" for the
9069         french translation of "Table of contents", to avoid a possible bug
9070         when exporting to ODT.
9072         * org.el (org-additional-option-like-keywords): Add keywords.
9073         (org-additional-option-like-keywords-for-flyspell): New constant
9074         to use with flyspell.
9075         (org-mode-flyspell-verify): Use the dedicated constant and don't
9076         check `org-startup-options'.
9078         * org-agenda.el (org-batch-store-agenda-views): Use the sticky
9079         agenda buffer name, if required.
9080         (org-agenda-write): New parameter `agenda-bufname' to allow
9081         setting the agenda buffer name.
9083         * org.el (org-mode-map): Add keybindings for
9084         `org-element-forward', `org-element-backward', `org-element-up'
9085         and `org-element-down'.
9087         * org.el (org-auto-fill-function): Don't call `do-auto-fill'
9088         within (org-let org-fb-vars ...) as `do-auto-fill' should do the
9089         right thing whether orgstruct++-mode is turned on or off.
9091         * org.el (org-sparse-tree-default-date-type): New option.
9092         (org-ts-type): New variable.
9093         (org-sparse-tree): New argument `type'.  Use the new option
9094         `org-sparse-tree-default-date-type' as the default value for
9095         `type'.  Fix docstring.
9096         (org-re-timestamp): New function.
9097         (org-check-before-date, org-check-after-date)
9098         (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
9099         to tell compute the date regexp.
9101         * org.el (orgstruct++-mode, org-get-local-variables): Also set
9102         `normal-auto-fill-function' when turning on/off orgstruct++-mode.
9104         * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
9105         customization types.
9107         * org-faces.el (org-document-title): Use the normal height.
9109         * org-clock.el (org-x11idle-exists-p): New variable.
9110         (org-user-idle-seconds): Use it.
9112         * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
9113         C-M-l'.
9115         * org.el (org-insert-all-links): New command.
9116         (org-insert-link): `org-keep-stored-link-after-insertion' is now
9117         checked when the link to insert has been defined, regardless on
9118         how it has been defined.  Also don't read the description
9119         interactively when the `default-description' parameter was given.
9120         (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
9122         * org.el (org-inc-effort): New command to increment the effort
9123         property.
9124         (org-set-effort): Use it.
9125         (org-mode-map): Bind it to `C-c C-x E'.
9126         (org-speed-commands-default): Use `E' as a speed command for it.
9128         * org.el (org-re-property-keyword): New function.
9129         (org-entry-put): Use it to fix a bug with respect to setting the
9130         value of a property when a property line with no value already
9131         exists.
9133         * org.el (org-timestamp-change): Adjust clock in other org files
9134         correctly.
9136         * org-clock.el (org-user-idle-seconds): Simplify.
9138         * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
9139         C-z'.
9141         * org.el (org-mode-map): Add keybindings to
9142         `org-element-transpose' and `org-narrow-to-element'.
9143         (org-metaup): Fall back on `org-element-drag-backward'.
9144         (org-metadown): Fall back on `org-element-drag-forward'.
9145         Also move chunks of declarations and require statements to get rid of
9146         compiler warnings.
9148         * org-exp-blocks.el (org): Don't require org.  Add declarations.
9150         * org-clock.el (org): Don't require org.
9152         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
9154         * org.el (org-timestamp-change): Don't use the `position'.
9156         * org.el (org-clock-history, org-clock-adjust-closest):
9157         New variables.
9158         (org-timestamp-change): Maybe adjust the next or previous clock in
9159         `org-clock-history'.
9160         (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
9161         timestamp at point and adjust the next or previous clock in
9162         `org-clock-history', when possible.
9164         * org-clock.el (org-clock-in): Set the marker for
9165         `org-clock-history' at a safer position.
9167         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
9168         Autoload.
9170         * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
9172         * org.el (org-indent-line): Fix indentation of a property line
9173         starting at the beginning of a line.
9175         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9177         * org-compat.el: Alias `org-condition-case-unless-debug' to
9178         `condition-case-unless-debug' or `condition-case-no-debug'.
9180         * org.el (org-todo-keywords): Ditto.
9182         * org.el (org-use-fast-todo-selection): Reformat docstring.
9184         * org.el (org-flag-drawer): Add a docstring.
9185         (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
9186         `org-clock-in-last' to "C-cC-xC-x".  This fixes a bug in the
9187         previous keybinding for `org-clock-in-last', which would override
9188         the one for `org-clock-in'.
9190         * org-clock.el (org-clock-in-last): Prevent errors when there is
9191         no clocking history.
9192         (org-clock-cancel): Fix bug when checking against a clock log in a
9193         folded drawer.
9195         * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
9196         new specifier.  Update the docstring.
9198         * org.el (org-startup-options): Fix docstring formatting.
9200         * org.el (org-use-sub-superscripts): Fix typo in docstring.
9202         * org.el (org-refile): Fix bug: prevent looping when calling
9203         `org-set-tags' internally.
9205         * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
9206         `org-clock-in-last'.
9208         * org-clock.el (org-clock-continuously): New option.
9209         (org-clock-in): Three universal prefix arguments set
9210         `org-clock-continuously' to `t' temporarily.
9211         (org-clock-in-last): Fix call to `org-clock-select-task' and
9212         support continuous clocking.
9213         (org-clock-out-time): New variable.
9214         (org-clock-out): Set `org-clock-out-time' when clocking out.
9215         Small docstring rewriting.
9216         (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
9217         bug when trying to delete empty logbook drawer.
9218         (org-clock-cancel): If the clock log is gone, send a warning
9219         instead of deleting the region that is supposed to contain it.
9221         * org.el (org-move-line-down, org-move-line-up): Remove.
9222         (org-metaup, org-metadown): When the region is active, move it
9223         up/down by one line, with no regard to the context.
9225         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9227         * org-compat.el: Alias `org-condition-case-unless-debug' to
9228         `condition-case-unless-debug' or `condition-case-no-debug'.
9230         * org-pcomplete.el (org-thing-at-point): Ignore trailing
9231         whitespaces while looking-back at properties.
9233         * org.el (org-mode): Set `indent-region-function'.
9234         (org-indent-region): New function.
9235         (org-fill-paragraph): When in a src block, use `indent-region' to
9236         indent the whole source code instead of falling back on
9237         `fill-paragraph', as this function messes up the code.
9239         * org-src.el (org-edit-src-code): Fix docstring formatting.
9241         * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
9243         * org.el (org-mode, org-add-log-setup)
9244         (org-get-property-block, org-entry-put)
9245         (org-property-next-allowed-value, org-return)
9246         (org-indent-line): Rename `org-indent-line-function' to
9247         `org-indent-line'.
9249         * org-timer.el (org-timer-item): Ditto.
9251         * org-table.el (org-table-store-formulas): Ditto.
9253         * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
9255         * org-src.el (org-src-font-lock-fontify-block)
9256         (org-src-strip-leading-and-trailing-blank-lines)
9257         (org-src-ask-before-returning-to-edit-buffer)
9258         (org-edit-src-code, org-edit-src-continue)
9259         (org-edit-fixed-width-region)
9260         (org-src-do-key-sequence-at-code-block)
9261         (org-src-font-lock-fontify-block, org-src-fontify-buffer):
9262         Fix typos in docstrings.
9264         * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
9265         use "format string" instead of "formatting string".
9267         * org-latex.el (org-export-latex-emphasis-alist)
9268         (org-export-latex-title-command, org-export-latex-tables): Ditto.
9270         * org-html.el (org-export-html-postamble): Ditto.
9272         * org-latex.el (org-export-latex-hyperref-options-format):
9273         New option.
9274         (org-export-latex-make-header): Use it.
9276         * ob.el (org-babel-confirm-evaluate): Prevent errors when
9277         `org-current-export-file' is void.
9279         * org-table.el (org-table-export): Use the file name extension to
9280         suggest the right conversion format.  Also amend the docstring.
9282         * org.el (org-speed-commands-default): Two new speed commands.
9283         Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
9285         * org.el (org-time-stamp): With two universal arguments, insert an
9286         active timestamp with the current time without prompting the user.
9288         * org-clock.el (org-clock-in-last): New command.
9290         * org-clock.el (org-clock-in): Fix typo in docstring.
9292         * org-mobile.el (org-mobile-edit): Fix reference to a free
9293         variable.
9295         * org.el (org-doi-server-url): Update :group.
9297         * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
9298         variable.
9300         * org.el (org-doi-server-url): New option.
9301         (org-open-at-point): Use it.
9303         * org.el (org-at-comment-p): New function.
9304         (org-toggle-heading): Use `org-at-comment-p' to skip comments.
9306         * org-html.el (org-export-as-html): Add links to the Org mode and
9307         GNU Emacs websites When :html-postamble is set to 't.
9309         * org-export.el (org-export-creator-string): Add links to the Org
9310         mode and GNU Emacs websites.
9312         * org-special-blocks.el
9313         (org-special-blocks-convert-html-special-cookies): Prevent errors
9314         by first checking `org-line' is not nil.
9316         * org-clock.el (org-clock-string-limit)
9317         (org-clock-modeline-total, org-clock-task-overrun-text)
9318         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9320         * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
9321         point is right after the timestamp.  `org-at-timestamp-p' still
9322         returns `t' in this case, as this is more practical.
9323         (org-return): Check against ̀org-ts-what' to verify that point is
9324         really within the timestamp (if any).
9326         * org.el (org-return): Follow time-stamp links when point is an a
9327         time-stamp.
9329         * org-capture.el (org-capture-bookmark): New option.
9330         (org-capture-finalize): Use it.
9332         * org-publish.el (org-publish-cache-file-needs-publishing):
9333         Make the column mandatory after #+include:.
9335         * org-exp.el (org-export-handle-include-files): Ditto.
9337         * org-bibtex.el (org-bibtex-entries): Rename from
9338         (org-bibtex-read, org-bibtex-write): Use the new name.
9340         * org-exp.el (org-export-handle-include-files): Allow to use
9341         #+include with no column.
9343         * org-publish.el (org-publish-cache-file-needs-publishing):
9344         Make quotes mandatory around the file name and allow spaces in it.
9346         * org-html.el (org-export-as-html): Add link to Org's and Emacs's
9347         websites.
9349         * org-latex.el
9350         (org-export-latex-link-with-unknown-path-format): New option.
9351         (org-export-latex-links): Use it.
9353         * org-agenda.el (org-agenda-get-timestamps): Remove any active
9354         timestamp from the headline text, not only those for the current
9355         date.
9357         * org.el (org-set-tags): Allow setting tags for headlines in the
9358         region when `org-loop-over-headlines-in-active-region' is non-nil.
9360         * org.el (org-allow-promoting-top-level-subtree): New option to
9361         allow promoting a top-level subtree.
9362         (org-called-with-limited-levels): New variable, dynamically bound
9363         within the `org-with-limited-levels' macro.
9364         (org-promote): Use the new option to allow promoting a top-level
9365         subtree.
9367         * org-macs.el (org-with-limited-levels): Let-bind
9368         `org-called-interactively-p' to t.
9370         * org.el (org-create-formula-image-with-dvipng)
9371         (org-create-formula-image-with-imagemagick): Make sure a file
9372         exists before trying to delete it.
9374         * org.el (org-scan-tags): Correctly match TODO keywords.
9376         * org-agenda.el (org-agenda-bulk-action): Fix bug: use
9377         `org-agenda-bulk-unmark-all'.
9379         * org.el (orgstruct++-mode): Fix docstring.
9380         (org-fill-paragraph): Use the 'justify parameter when falling back
9381         on `fill-paragraph'.
9383         * org.el (org-indent-line-function): Use `org-let' instead of
9384         `orgstruct++-ignore-org-filling'.
9385         (org-fill-paragraph, org-auto-fill-function): Ditto.
9387         * org-macs.el (orgstruct++-ignore-org-filling): Delete.
9389         * org-table.el (org-table-time-string-to-seconds): Return the
9390         empty string if provided.
9391         (org-table-eval-formula): When assigning a duration string, handle
9392         it correctly -- i.e. don't make any computation on it, except the
9393         one to insert it using the correct duration format.
9395         * org.el (org-indent-line-function): Fix bug.
9397         * org-clock.el (org-frame-title-format-backup): New variable to
9398         store the value of `frame-title-format' before `org-clock' might
9399         replace it by `org-clock-frame-title-format'.
9400         (org-clock-frame-title-format): New option.
9401         (org-frame-title-string): Delete.
9402         (org-clock-update-mode-line): Minor code reformatting.
9403         (org-clock-in, org-clock-out, org-clock-cancel):
9404         Use `org-clock-frame-title-format'.
9406         * org-clock.el (org-clock-get-clock-string): Add a space.
9408         * org-list.el (org-mark-list): Return an error when there is no
9409         list at point.
9411         * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
9412         at point before converting items to headings.  With a simple
9413         universal-argument, set `current-prefix-arg' to 1, otherwise keep
9414         the numeric value.
9416         * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
9417         more readable.
9419         * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
9420         all entries for bulk action.
9421         (org-agenda-menu): New menu item for marking all entries.
9422         (org-agenda-bulk-mark-all): New function to mark all entries.
9423         (org-agenda-bulk-mark-regexp): Minor docstring fix.
9424         (org-agenda-bulk-unmark): With a prefix argument, unmark all.
9425         Also send a better message.
9426         (org-agenda-bulk-remove-all-marks): Rename to
9427         `org-agenda-bulk-unmark-all'.  Check against
9428         `org-agenda-bulk-marked-entries' before trying to unmark entries.
9429         Minor docstring fix.
9430         (org-agenda-bulk-unmark-all): Rename from
9431         ̀org-agenda-bulk-remove-all-marks'.
9433         * org-agenda.el (org-agenda-bulk-mark-char): New option.
9434         (org-agenda-bulk-mark): Use the new option.
9436         * org.el (org-src-prevent-auto-filling): New option to prevent
9437         auto-filling in src blocks.  This defaults to nil to avoid people
9438         being surprised that no auto-fill occurs in Org buffers where they
9439         use `auto-fill-mode'.
9440         (org-auto-fill-function): Use the new option.
9442         * org.el (org-properties-postprocess-alist): Better customization
9443         type.
9444         (org-set-property): Fix the check against
9445         `org-properties-postprocess-alist'.
9447         * org-macs.el (orgstruct++-ignore-org-filling):
9448         Set `def-edebug-spec' correctly.
9450         * org-colview.el (org-columns-string-to-number): When computing
9451         the values for the colview, match durations and convert them to
9452         HH:MM values.
9454         * org.el (org-duration-string-to-minutes): Match non-round
9455         numbers.  Add a new optional parameter to allow returning the
9456         output as a string.
9458         * org.el (org-auto-fill-fallback-function)
9459         (org-indent-line-fallback-function)
9460         (org-fill-paragraph-fallback-function)
9461         (org-auto-fill-fallback-function)
9462         (org-indent-line-fallback-function)
9463         (org-fill-paragraph-fallback-function): Remove.
9464         (org-fb-vars): New buffer-local variable.
9465         (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
9466         store, use and restore variables if needed.
9467         (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
9468         when needed.
9469         (org-auto-fill-function, org-indent-line-function): Ditto.
9471         * org-macs.el (orgstruct++-ignore-org-filling): New macro.
9473         * org-exp-blocks.el: Use `org-find-library-name' instead of
9474         `find-library-name'.
9476         * org-compat.el (org-find-library-name): Convert into a macro to
9477         avoid compilation of a function from XEmacs in Emacs and vice
9478         versa.
9480         * org-table.el (org-table-store-formulas): Fix typo.
9481         (org-table-maybe-eval-formula): Fix the regexp to only match
9482         formulas, which never end with the `=' character.  If the field
9483         only contain this character, don't eval either.
9485         * org.el (org-set-property): Perform the correct check against
9486         `org-properties-postprocess-alist'.
9488         * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
9489         customization type.
9490         (name): Suppress (defvar 'name) as name is not eval'ed when
9491         setting `org-bbdb-anniversary-format-alist'.
9493         * org.el (org-version): When called non-interactively, insert the
9494         short version string, otherwise send a message with the complete
9495         version string.
9497         * org-odt.el (org-odt-update-meta-file): Use (org-version) and
9498         delegate checking whether `org-version' is known as a variable
9499         there.
9501         * org-html.el (org-export-as-html): Use (org-version).
9503         * org-docbook.el (org-export-as-docbook): Ditto.
9505         * org-latex.el (org-export-latex-make-header): Ditto.
9507         * org-clock.el (org-clocktable-write-default): Temporarily disable
9508         `delete-active-region' so that we don't accidently delete an
9509         active region when exporting a subtree/region.
9511         * org-clock.el (org-program-exists): Remove.
9512         (org-show-notification, org-clock-play-sound):
9513         Use `executable-find' instead of `org-program-exists'.
9515         * org-agenda.el (org-diary): Prevent failure from
9516         `org-compile-prefix-format' when there is no agenda buffer.
9518         * org-agenda.el (org-agenda-mode): Replace obsolete variable
9519         `buffer-substring-filters'.
9521         * org-indent.el (org-indent-mode): Ditto.
9523         * org-compat.el (org-find-library-name): Silent the byte-compiler
9524         about a warning related to XEmacs support.
9526         * org-special-blocks.el
9527         (org-special-blocks-convert-html-special-cookies): Use `org-line'
9528         instead of `line'.
9530         * org-html.el (org-html-handle-links, org-export-as-html)
9531         (org-format-org-table-html, org-format-table-table-html)
9532         (org-html-export-list-line): Use `org-line' instead of `line' as
9533         the free variable name.
9535         * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
9537         * org-faces.el (org-list-dt): New face.
9539         * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
9540         face for definition terms in definition lists.
9542         * org.el (org-fill-paragraph): Pass the `justify' argument to
9543         `org-fill-paragraph-fallback-function'.
9545         * org.el (org-eval-in-calendar): Fix docstring to mention the
9546         KEEPDATE parameter.
9548         * org.el (org-refresh-category-properties): Let-bind
9549         `inhibit-read-only' to t.
9551         * org.el (org-auto-fill-fallback-function)
9552         (org-indent-line-fallback-function)
9553         (org-fill-paragraph-fallback-function): New variables to store
9554         some fall-back functions when turning `orgstruct++-mode' on.
9555         (orgstruct++-mode): Set the new variables.
9556         (org-indent-line-function, org-fill-paragraph)
9557         (org-auto-fill-function): Use them.
9559         * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
9560         the 'keepdate parameter set to t when setting the cursor type.
9562         * org-agenda.el (org-agenda-persistent-marks): New option to keep
9563         marks after a bulk action.  The option defaults to nil.
9564         (org-agenda-bulk-action): Use the new option.
9566         * org-capture.el (org-capture-fill-template): Use %\n instead of
9567         %n as a template element to be replaced with the nth prompted
9568         string.
9569         (org-capture-templates): Update docstring.
9571         * org.el (org-goto): Fix docstring and document what C-u does.
9573         * org-publish.el (org-publish-cache-file-needs-publishing):
9574         Use (case-fold-search t) when looking for #+INCLUDE:.
9576         * org.el: Use (case-fold-search t).
9577         (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
9579         * org-table.el:
9580         (org-table-store-formulas, org-table-get-stored-formulas)
9581         (org-table-fix-formulas, org-table-edit-formulas)
9582         (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
9583         (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
9585         * org-footnote.el:
9586         (org-footnote-goto-local-insertion-point): Ditto.
9588         * org-exp.el: Ditto.
9590         * org-colview.el:
9591         (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
9593         * org-clock.el (org-clocktable-write-default): Ditto.
9595         * org-capture.el (org-capture-place-table-line): Ditto.
9597         * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
9598         (org-babel-src-block-names)
9599         (org-babel-where-is-src-block-result, org-babel-result-end)
9600         (org-babel-where-is-src-block-head)
9601         (org-babel-find-named-result, org-babel-result-names): Ditto.
9603         * org-table.el (orgtbl-send-table): Escape special characters.
9604         Introduce a new parameter :no-escape to prevent escaping.
9606         * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
9607         when called interactively.
9608         (org-agenda-get-restriction-and-command):
9609         Call `org-toggle-sticky-agenda' interactively.
9611         * org-agenda.el (org-agenda-top-category-filter): New variable for
9612         storing the current top-category filter.
9613         (org-agenda-redo): Apply a top-category filter, if any.
9614         (org-agenda-filter-by-top-category)
9615         (org-agenda-filter-top-category-apply):
9616         Set `org-agenda-top-category-filter' to the right value.
9618         * org-clock.el (org-clock-out, org-clock-cancel)
9619         (org-clock-in): Don't modify `frame-title-format' if it is a
9620         string.
9622         * org-latex.el (org-export-latex-special-chars): Fix bug when
9623         escaping special characters in a table.
9625         * org.el (org-read-date): Set cursor-type to nil in the calendar.
9627         * org-faces.el (org-date-selected): Use inverse video.
9628         Don't explicitly set bold to nil as it causes `customize-face' to show
9629         the weight property and thus encourage the user to change it.
9630         Warn in the docstring that using bold might cause problems when
9631         displaying the calendar.
9633         * org-id.el (org-id-update-id-locations): New parameter to silent
9634         `org-id-find'.
9635         (org-id-find): Use the new parameter.
9637         * org.el (org-show-hierarchy-above, org-cycle)
9638         (org-global-cycle, org-files-list, org-store-link)
9639         (org-link-search, org-open-file, org-display-outline-path)
9640         (org-refile-get-location, org-update-all-dblocks)
9641         (org-change-tag-in-region, org-entry-properties)
9642         (org-save-all-org-buffers, org-revert-all-org-buffers)
9643         (org-buffer-list, org-cdlatex-mode)
9644         (org-install-agenda-files-menu, org-end-of-subtree)
9645         (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9646         'org-mode) instead of (eq major-mode 'org-mode).
9648         * org-timer.el (org-timer-set-timer): Ditto.
9650         * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9652         * org-src.el (org-edit-src-exit, org-edit-src-code)
9653         (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9655         * org-remember.el (org-remember-handler): Ditto.
9657         * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9659         * org-macs.el (org-get-limited-outline-regexp): Ditto.
9661         * org-lparse.el (org-replace-region-by): Ditto.
9663         * org-latex.el (org-latex-to-pdf-process)
9664         (org-replace-region-by-latex): Ditto.
9666         * org-indent.el (org-indent-indent-buffer): Ditto.
9668         * org-id.el (org-id-store-link, org-id-update-id-locations)
9669         (org-id-store-link): Ditto.
9671         * org-html.el (org-export-html-preprocess)
9672         (org-replace-region-by-html): Ditto.
9674         * org-footnote.el (org-footnote-normalize)
9675         (org-footnote-goto-definition)
9676         (org-footnote-create-definition, org-footnote-normalize): Ditto.
9678         * org-docbook.el (org-replace-region-by-docbook): Ditto.
9680         * org-ctags.el (find-tag): Ditto.
9682         * org-colview.el (org-columns-redo)
9683         (org-columns-display-here, org-columns-edit-value)
9684         (org-columns-redo): Ditto.
9686         * org-capture.el (org-capture-insert-template-here)
9687         (org-capture, org-capture-finalize)
9688         (org-capture-set-target-location)
9689         (org-capture-insert-template-here): Ditto.
9691         * org-ascii.el (org-replace-region-by-ascii): Ditto.
9693         * org-archive.el (org-archive-subtree): Ditto.
9695         * org-agenda.el (org-agenda)
9696         (org-agenda-get-restriction-and-command)
9697         (org-agenda-get-some-entry-text, org-search-view)
9698         (org-tags-view, org-agenda-get-day-entries)
9699         (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9700         (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9702         * org.el (org-repeat-re)
9703         (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9704         (org-deadline, org-schedule, org-matcher-time)
9705         (org-time-stamp, org-read-date, org-read-date-get-relative)
9706         (org-display-custom-time, org-get-wdays)
9707         (org-time-string-to-absolute, org-closest-date)
9708         (org-timestamp-change): Allow to set hourly repeat cookie.
9709         Send an error when an hourly repeat cookie is set and no hour is
9710         specified in the timestamp.
9712         * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9713         repeat cookies.
9715         * org-clock.el (org-program-exists): Fix docstring.
9717         * org-clock.el (org-clock-file-time-cell-format): New option.
9718         (org-clocktable-write-default): Use it.
9720         * org-faces.el (org-date-selected): New face.
9722         * org.el (org-date-ovl): Use `org-date-selected'.
9724         * org.el (org-mode): Don't use `buffer-face-mode' by default.
9726         * org-agenda.el (org-agenda-mode-map): Bind `^' to
9727         `org-agenda-filter-by-top-category'.
9729         * org-ascii.el (org-export-ascii-underline): Change the default
9730         underlining characters for headlines of level 1 and 2.
9731         Also introduce \. as the underline character for headlines of level 5.
9733         * org-table.el (org-table-recalculate-buffer-tables)
9734         (org-table-iterate-buffer-tables): Add autoload cookie.
9736         * org.el (org-table-map-tables): Exclude tables in src and example
9737         blocks.
9739         * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9740         untouched when filling an adjacent paragraph.
9742         * org-html.el (org-export-html-preamble-format)
9743         (org-export-html-postamble-format): Improve the docstring.
9745         * org.el (org-todo): Fix regression: rename `state' to
9746         `org-state'.
9748         * org-clock.el (org-show-notification): Use `fboundp' instead of
9749         `featurep' and the additional `require'.
9751         * org-clock.el (org-clock-in-prepare-hook): New option to format
9752         the total time cells.
9753         (org-clocktable-write-default): Use the new option.
9755         * org.el (org-open-at-point): Allow to open the agenda from an
9756         active or inactive timestamp in a headline.
9758         * org-html.el (org-export-html-date-format-string): Make a
9759         defcustom.
9761         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9763 2012-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
9765         * org-table.el (org-table-expand-lhs-ranges): Allow hline
9766         references to be expanded correctly in LHS of formulas.
9768         * org-beamer.el (org-beamer-inherited-properties): New option.
9769         (org-beamer-after-initial-vars): Use new option to look for
9770         inherited properties.
9772         * org.el (org-ts-regexp0): Allow time stamps without name of day.
9774         * org-agenda.el (org-toggle-sticky-agenda):
9775         (org-agenda-sticky): Improve :set property.
9777         * org-agenda.el (org-agenda-local-vars): Clean up the variable
9778         list.
9779         (org-agenda-get-restriction-and-command): Add a key for toggling
9780         sticky agenda views.
9782         * org-agenda.el (org-agenda-local-vars): Final decisions about
9783         global/local
9785         * org-agenda.el (org-agenda-force-single-file): Variable removed.
9786         (org-prepare-agenda-window): Store pre-agenda window config
9787         locally.
9788         (org-timeline): Introduce a scoped version of
9789         `org-agenda-show-log'.
9790         (org-agenda-list): Introduce a scoped version of
9791         `org-agenda-show-log'.
9792         (org-agenda-get-progress): Use the scoped version of
9793         `org-agenda-show-log'.
9794         (org-agenda-local-vars): Write the analysis result as a comment -
9795         to be cleaned up in the next iteration.
9797         * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9798         buffers when toggling sticky-agendas.
9799         (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9800         to explicitly kill all agenda buffers.
9801         (org-agenda-run-series): Remove any old agenda markers in the
9802         buffer that is going to take the new block agenda.
9803         (org-prepare-agenda): Reset markers before erasing the buffer anc
9804         running `org-agenda-mode', because after that the local variable
9805         `org-agenda-markers' will have gone away.
9806         (org-agenda-Quit):
9807         (org-finalize-agenda): Install the marker resetter into the
9808         `kill-buffer-hook'.
9809         (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9810         all agenda buffers.
9811         (org-agenda-kill-all-agenda-buffers): New function.
9813 2012-09-30  Chris Gray  <chrismgray@gmail.com>
9815         * org-html.el (org-export-as-html): Remove the check for body-only
9816         in the code for generating tables of contents.
9818 2012-09-30  Christoph Dittmann  <github@christoph-d.de>  (tiny change)
9820         * org-beamer.el (org-beamer-auto-fragile-frames):
9821         Make [fragile] work with overlay specifications.
9823 2012-09-30  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
9825         * org-agenda.el (org-agenda-list): Ensures that the list returned
9826         by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9827         checking if the latter is empty.
9829 2012-09-30  Christophe Rhodes  <csr21@cantab.net>  (tiny change)
9831         * org-latex.el (org-export-latex-tables): Support setting the
9832         :hfmt parameter from #+ATTR_LaTeX.
9834 2012-09-30  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>  (tiny change)
9836         * org-exp.el (org-export-handle-include-files)
9837         (org-get-file-contents): Handle new parameter :addlevel.
9839 2012-09-30  Dave Abrahams  <dave@boostpro.com>  (tiny change)
9841         * org.el (org-link-prettify): New function to prettify links while
9842         displaying them with `org-insert-link'.
9843         (org-insert-link): Use the new function.
9845 2012-09-30  David Maus  <dmaus@ictsoc.de>
9847         * org-exp.el (org-export-language-setup): Use numeric character
9848         entities for proper rendering of non-UTF8 documents.
9850         * org-exp.el (org-export-language-setup): Add japanese
9851         translation.
9853 2012-09-30  Eric Schulte  <eric.schulte@gmx.com>
9855         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9857         * ob.el (org-babel-insert-result): Replace key sequence with
9858         function call.  Use a more informative flag to the local function.
9859         (org-add-protective-commas): Declare a new external function.
9861         * org-src.el (org-add-protective-commas): This should be its own
9862         function.
9863         (org-edit-src-exit): Use the new function.
9865         * org-compat.el (org-labels): Remove.
9867         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9869         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9871         * ob.el (org-babel-string-read): Don't automatically evaluate code
9872         block results which look like elisp.
9873         (org-babel-import-elisp-from-file): Raise a warning message when
9874         the process of reading code block results raises an error.
9876         * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9877         macro argument multiple times.
9879         * org.el (org-compat): Require org-compat before we first use one
9880         of its functions (a macro actually).
9882         * ob-comint.el (org-babel-comint-with-output): Don't name the
9883         filter function, but rather pass through the anonymous lambda
9884         directly.
9886         * org.el (org-babel-load-languages): Common lisp should be
9887         mentioned as a supported babel language.
9889         * org-clock.el (org-clock-special-range): "concat 'string" ->
9890         "concat"
9891         (org-clocktable-shift): "concat 'string" -> "concat"
9893         * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9894         org-labels.
9896         * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9897         calc internal representations.
9899         * org-clock.el (org-clock-special-range): Replacing cl concatenate
9900         with concat.
9901         (org-clocktable-shift): Replacing cl concatenate with concat.
9903         * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9905         * org-compat.el (org-flet): Compatibility function now that flet
9906         has been removed from cl-macs.
9907         (org-labels): Compatibility function now that labels has been
9908         removed from cl-macs.
9910         * ob-R.el (org-compat): Require org-compat.
9912         * ob-comint.el: Require org-compat.
9914         * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9915         function.
9917         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9918         compatibility function.
9920         * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9921         function.
9922         (org-babel-lob-execute): Switch to compatibility function.
9924         * ob-python.el (org-babel-python-evaluate-session): Switch to
9925         compatibility function.
9927         * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9928         function.
9930         * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9931         function.
9933         * ob-tangle.el (org-babel-load-file): Switch to compatibility
9934         function.
9935         (org-babel-tangle): Switch to compatibility function.
9936         (org-babel-spec-to-string): Switch to compatibility function.
9938         * ob.el (org-babel-view-src-block-info): Switch to compatibility
9939         function.
9940         (org-babel-execute-src-block): Switch to compatibility function.
9941         (org-babel-edit-distance): Switch to compatibility function.
9942         (org-babel-switch-to-session-with-code): Switch to compatibility
9943         function.
9944         (org-babel-sha1-hash): Switch to compatibility function.
9945         (org-babel-balanced-split): Switch to compatibility function.
9946         (org-babel-join-splits-near-ch): Switch to compatibility function.
9947         (org-babel-get-rownames): Switch to compatibility function.
9948         (org-babel-format-result): Switch to compatibility function.
9949         (org-babel-insert-result): Switch to compatibility function.
9950         (org-babel-examplize-region): Switch to compatibility function.
9951         (org-babel-merge-params): Switch to compatibility function.
9952         (org-babel-noweb-p): Switch to compatibility function.
9953         (org-babel-expand-noweb-references): Switch to compatibility
9954         function.
9956         * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9957         function.
9958         (org-bibtex-fleshout): Switch to compatibility function.
9959         (org-bibtex-read): Switch to compatibility function.
9960         (org-bibtex-write): Switch to compatibility function.
9962         * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9963         compatibility function.
9965         * org-exp.el (org-export-format-source-code-or-example): Switch to
9966         compatibility function.
9968         * org-macs.el (org-called-interactively-p): Indentation fix.
9970         * org-mouse.el (org-mouse-timestamp-today): Switch to
9971         compatibility function.
9972         (org-mouse-set-priority): Switch to compatibility function.
9973         (org-mouse-popup-global-menu): Switch to compatibility function.
9974         (org-mouse-context-menu): Switch to compatibility function.
9976         * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
9977         compatibility function.
9978         (org-plot/gnuplot-script): Switch to compatibility function.
9980         * org.el (org-entry-get): Switch to compatibility function.
9981         (org-fill-paragraph): Switch to compatibility function.
9982         (org-auto-fill-function): Switch to compatibility function.
9984         * ob-lob.el (org-babel-lob-execute): Only try to insert extant
9985         hashes.
9987         * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
9989         * ob.el (org-babel-set-current-result-hash): Change the hash of
9990         the results for the current code block.
9991         (org-babel-current-result-hash): Fix documentation.
9993         * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
9994         function if the current call line hash matches that in its
9995         results.
9997         * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
9998         a table is a sequence.
10000         * ob-R.el (org-babel-R-assign-elisp): Clean up the code
10001         implementing reads of irregular data into R.
10003         * ob.el (org-babel-header-arg-expand): In new buffers
10004         (char-before) may return nil so use equal rather than =.
10006         * ob-R.el (org-babel-header-args:R): Adding values.
10008         * ob-clojure.el (org-babel-header-args:clojure): Adding values.
10010         * ob-lisp.el (org-babel-header-args:lisp): Adding values.
10012         * ob-sql.el (org-babel-header-args:sql): Adding values.
10014         * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
10016         * ob.el (org-babel-combine-header-arg-lists): Combine lists of
10017         arguments and values.
10018         (org-babel-insert-header-arg): Use new combined header argument
10019         lists.
10020         (org-babel-header-arg-expand): Add support for completing-read
10021         insertion of header arguments after ":"
10022         (org-babel-enter-header-arg-w-completion): Completing read
10023         insertion of header arguments
10024         (org-tab-first-hook): Adding header argument completion.
10025         (org-babel-params-from-properties): Combining header argument
10026         lists.
10028         * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
10029         used on export.
10031         * ob.el (org-babel-result-to-file): New optional description
10032         argument.
10033         (org-babel-insert-result): Move description logic to another
10034         function.
10036         * ob.el (org-babel-insert-result): Change name of filelinkdescr to
10037         file-desc.
10038         (org-babel-common-header-args-w-values): Change name of
10039         filelinkdescr to file-desc.
10041         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
10042         files on windows.
10044         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10045         Org-mode blocks.
10047         * ob.el (org-babel-parse-src-block-match): Make use of the new
10048         language argument to org-babel-strip-protective-commas.
10049         (org-babel-parse-inline-src-block-match): Make use of the new
10050         language argument to org-babel-strip-protective-commas.
10051         (org-babel-strip-protective-commas): Now accepts a language
10052         argument.
10054 2012-09-30  Fabrice Niessen  <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>  (tiny change)
10056         * org-agenda.el (org-agenda-write-buffer-name): Remove the test
10057         for the presence of <style> tag.
10059 2012-09-30  Feng Shu  <tumashu@gmail.com>
10061         * org.el (org-create-formula-image-with-imagemagick):
10062         Use 'call-process to launch latex so that no shell output buffer will
10063         be shown when previewing formulas.
10065         * org.el (org-create-formula-image-with-imagemagick): Fix typo.
10067         * org.el (org-latex-create-formula-image-program): New option to
10068         use either dvipng or imagemagick to convert and preview LaTeX
10069         fragments.
10070         (org-preview-latex-fragment, org-format-latex): Handle the new
10071         option.
10072         (org-create-formula-image-with-dvipng): Rename from
10073         `org-create-formula-image'.
10074         (org-create-formula-image-with-imagemagick): New defun to handle
10075         LaTeX preview with imagemagick.
10076         (org-latex-color, org-latex-color-format): New defuns to handle
10077         color conversions.
10079         * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
10080         Allow to use imagemagick to convert LaTeX fragments.
10082         * org-html.el (org-export-html-preprocess): Ditto.
10084         * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
10086 2012-09-30  George Kettleborough  <g.kettleborough@member.fsf.org>
10088         * org-clock.el: New option `org-clock-clocked-in-display' to
10089         control whether the current clock is displayed in the mode line
10090         and/or frame title.
10092         * org-timer.el: New option `org-timer-display' to control whether
10093         the current timer is displayed in the mode line and/or frame
10094         title.
10096 2012-09-30  Hans-Peter Deifel  <hpdeifel@gmx.de>  (tiny change)
10098         * ob.el (org-babel-execute-src-block): Allow the :dir header
10099         argument to take relative file names.
10101 2012-09-30  Harri Kiiskinen  <harri@pp-kaitue.(none)>  (tiny change)
10103         * org-protocol.el: New option.
10104         (org-protocol-store-link, org-protocol-do-capture): Use it.
10106 2012-09-30  Henning Weiss  <hdweiss@gmail.com>
10108         * org-mobile.el (org-mobile-edit): Add handling of addheading,
10109         refile, archive, archive-sibling and delete edit nodes.
10110         (org-mobile-locate-entry): Olp links containing only a file are
10111         now be located correctly.
10112         (org-mobile-apply): Instead of finding the location of all target
10113         headings for edit nodes in a separate loop, they will be found
10114         immediately before applying edits.
10116         * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
10117         title.
10119 2012-09-30  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10121         * org.el (org-parse-time-string): Allow strings supported by
10122         tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
10123         starts with < and ends with >.  This means that e.g. in the
10124         clocktable parameters you can specify :tstart "<-1w>" :tend
10125         "<now>".
10127 2012-09-30  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>  (tiny change)
10129         * org-colview.el (org-columns): New argument `columns-fmt-string'.
10131         * org-colview.el (org-columns-get-format-end-top-level):
10132         Split into `org-columns-get-format' and `org-columns-goto-top-level'.
10134         * org-colview.el (org-dblock-write:columnview): Add a new
10135         parameter :format which specifies the column view format for the
10136         output of the columnview dynamic block.
10138 2012-09-30  Jambunathan K  <kjambunathan@gmail.com>
10140         * org-lparse.el (org-lparse-and-open)
10141         (org-lparse-do-convert): Open exported files with system-specific
10142         application.
10144         * org-odt.el: Don't meddle with `org-file-apps'.
10146         * org-compat.el (org-condition-case-unless-debug): Alias to
10147         `condition-case' when both `condition-case-no-debug' and
10148         `condition-case-unless-debug' is unavailable.
10150         * org-odt.el (org-odt-do-image-size): Replace `flet' with
10151         equivalent construct.
10153         * org-odt.el (org-odt-cleanup-xml-buffers):
10154         Use `condition-case-no-debug' instead of
10155         `condition-case-unless-debug'.  This ensures backward
10156         compatibility with Emacs versions < 24.1.
10158         * org-odt.el (org-odt-zip-dir)
10159         (org-odt-cleanup-xml-buffers): New.
10160         (org-export-as-odt-and-open, org-export-as-odt)
10161         (org-odt-init-outfile, org-odt-save-as-outfile)
10162         (org-export-as-odf, org-export-as-odf-and-open):
10163         Use `org-odt-cleanup-xml-buffers'.
10165         * org-odt.el (org-export-odt-default-org-styles-alist):
10166         Add default character style.
10168         * org-odt.el (org-export-odt-default-org-styles-alist):
10169         Add default character style.
10171         * org-lparse.el (org-do-lparse): Remove stray call to
10172         `org-export-html-after-blockquotes-hook'.
10174         * org-bbdb.el (org-bbdb-export): Add support for ODT format.
10176         * org-odt.el (org-odt-update-meta-file): Check for `org-version'
10177         is bound before accessing it.
10179         * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
10180         moved away from $(git-root)/contrib/odt/etc/schema/ to
10181         $(git-root)/etc/schema/.
10183         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10184         internal links destined for headlines provide a description or
10185         not.  In fact, the `org-store-link' and `org-insert-link' create
10186         internal links which do have a description.
10188         * org-lparse.el (org-lparse-insert-org-table): Consider short
10189         caption as plain text and not as org text.
10191         * org-odt.el (org-export-odt-format-formula)
10192         (org-export-odt-format-image): Ditto.
10194         * org-odt.el (org-odt-begin-table)
10195         (org-export-odt-format-formula, org-export-odt-format-image)
10196         (org-odt-format-entity): Handle short caption.
10198         * org-lparse.el (org-lparse-insert-org-table)
10199         (org-lparse-insert-list-table, org-lparse-insert-table-table):
10200         Ditto.
10202 2012-09-30  Jay McCarthy  <jay.mccarthy@gmail.com>  (tiny change)
10204         * org-colview.el (org-columns-new-overlay): Make sure to add a
10205         face to a string that has no face.
10207 2012-09-30  Jérémie Courrèges-Anglas  <jca@wxcvbn.org>  (tiny change)
10209         * org-latex.el: Ensure a final newline is appended to the export
10210         buffer.
10212 2012-09-30  Levin Du  <zslevin@gmail.com>  (tiny change)
10214         * org-clock.el (org-clock-in): Fix bug in setting the clock
10215         heading.
10217 2012-09-30  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10219         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10220         advertised by the function.
10222 2012-09-30  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10224         * org.el (org-fontify-entities): Hide {} when prettifying
10225         entities.
10227 2012-09-30  Mark Shoulson  <mark@kli.org>  (tiny change)
10229         * org-entities.el (org-entities): Add new entities for characters
10230         which could cause formatting changes if typed directly.
10232         * org-entities.el (org-entities): Add \asciicirc entity for ^;
10233         also fixed \circ expansion in latex.
10235         * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
10236         and \there4 were not "prettified" when org-pretty-entities was
10237         enabled.
10239 2012-09-30  Mats Lidell  <matsl@xemacs.org>  (tiny change)
10241         * org-element.el (org-element-paragraph-separate):
10242         Remove redundant and misplaced t clause in case.
10244 2012-09-30  Matt Lundin  <mdl@imapmail.org>
10246         * org-datetree.el: Fix regexp to allow datetree to find headings
10247         with trailing whitespace.  This fixes a bug in which an existing
10248         datetree heading (e.g., "* 2012 ") would not be found by
10249         org-datetree-find-year-create if it had trailing whitespace.
10250         This can cause problems, for instance, if one is using column view on
10251         the date tree, since editing subheadings with column view adds
10252         whitespace at the end of the top heading.
10254         * org-footnote.el (org-footnote-new): Don't call
10255         org-footnote-unique-label if org-footnote-auto-label is set to
10256         random.
10258         * org-gnus.el (org-gnus-follow-link): Fix argument to
10259         gnus-group-read-group so that following a link does not result in
10260         unread article being selected.
10262         * org-bbdb.el (org-bbdb-anniv-extract-date)
10263         (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
10264         to accommodate BBDB 3.x.  There are two major changes in BBDB 3.x
10265         that need to be taken into account.  The first is that
10266         `bbdb-split' reverses the order of its parameters in 3.x.
10267         The second is that `bbdb-record-getprop' is replaced by
10268         bbdb-record-note in 3.x.
10270 2012-09-30  Max Mikhanosha  <max@openchat.com>
10272         * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
10273         a single line of agenda by narrowing the agenda buffer to just
10274         that line before calling `org-agenda-finalize'.
10276         * org.el (org-mode): Don't set org-hide's foreground to
10277         "invisible-bg".
10278         (org-find-invisible-foreground): New function.
10280         * org-agenda.el (defvar org-habit-show-all-today): New variable
10281         (org-agenda-get-scheduled): Show all habits if user wants it
10283         * org-habit.el (defcustom org-habit-show-all-today): New variable
10285         * org-agenda.el (org-agenda-quit): Copy the code for optionally
10286         restoring window configuration after burying the sticky agenda
10287         buffer.
10289         * org-agenda.el (org-agenda-new-marker): Check for NIL
10290         org-agenda-buffer
10291         (org-agenda-to-appt): Bind org-agenda-buffer to NIL
10293         * org-agenda.el (org-agenda-change-all-lines): Move accessing of
10294         'extra text property outside of with-current-buffer for original
10295         buffer
10297         * org-agenda.el (defvar org-habit-show-habits-only-for-today):
10298         initialize to nil
10300 2012-09-30  Michael Brand  <michael.ch.brand@gmail.com>
10302         * org-id.el (org-id-link-to-org-use-id): Align the doc string to
10303         the changed default.
10305         * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
10306         when heading has no text.
10308         * org-capture.el (org-capture-inside-embedded-elisp-p):
10309         Improve parsing.
10311         * org-feed.el (org-feed-format-entry): Require `org-capture'.
10312         Expand Elisp %(...) templates.
10313         (org-feed-default-template): Update docstring.
10315         * org-capture.el (org-capture-expand-embedded-elisp):
10316         New function.
10317         (org-capture-fill-template): Use it.
10318         (org-capture-inside-embedded-elisp-p): New function to tell if we
10319         are within an Elisp %(...) template.
10321         * org-list.el (org-at-item-description-p)
10322         (org-list-item-body-column): Make the inline regexp more
10323         consistent with `org-list-full-item-re', the inline regexp
10324         "Description list items" from `org-set-font-lock-defaults and
10325         others'.
10327 2012-09-30  Mike Sperber  <sperber@deinprogramm.de>
10329         * org.el (org-fill-paragraph): Pass optional argument to
10330         `fill-paragraph' to fix compatibility with XEmacs.
10332         * org.el (org-self-insert-cluster-for-undo):
10333         Default `org-self-insert-cluster-for-undo' also on XEmacs.
10335         * org.el (org-kill-line): Access `visual-line-mode' only if it's
10336         bound.
10338 2012-09-30  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
10340         * org-timer.el (org-timer-set-mode-line):
10341         Check `org-timer-display' when value is 'off.
10343 2012-09-30  Nicolas Calderon Asselin  <nicolas.calderon.asselin@gmail.com>  (tiny change)
10345         * org-clock.el (org-clock-idle-time): Org-mode assumed that
10346         x11idle was an available command, and returned an idle time of 0
10347         if it was not
10348         (never idle): Add checks so that org-idle-time will come from
10349         emacs' own current-idle-time if x11idle cannot be found or if it
10350         cannot retrieve the idle time from X11
10352 2012-09-30  Nicolas Goaziou  <n.goaziou@gmail.com>
10354         * org-element.el: Properly remove COMMENT and QUOTE keywords from
10355         title in parser.
10357         * org-element.el (org-element-headline-parser): Fix parsing for
10358         headlines with a single COMMENT or QUOTE keyword.
10360         * ob-org.el (org-babel-default-header-args:org): By default,
10361         export code from Org src blocks.
10363         * org-element.el (org-element-inline-src-block-successor):
10364         Fix inline-src-block parsing at the beginning of an item.
10366         * org-element.el (org-element--collect-affiliated-keywords):
10367         Fix caption parsing.
10369         * org-element.el (org-element--current-element): At the very
10370         beginning of a footnote definition or an item, next element is
10371         always a paragraph.
10373         * org-element.el (org-element-headline-parser): Handle nil titles.
10374         (org-element-inlinetask-parser): Add :raw-value property.
10375         Also handle nil titles.
10377         * org.el (org-set-regexps-and-options): Don't consider tags as a
10378         replacement for a missing title in an headline.
10380         * org.el (org-setup-filling): Remove duplicate code.
10382         * org.el (org-adaptive-fill-function): Make sure fill prefix is
10383         computed from beginning of line.
10385         * org-element.el (org-element-section-parser): Make sure section
10386         cannot contain an headline.
10387         (org-element--current-element): Fix bug requiring to parse a quote
10388         section even when point is at an headline.
10390         * org.el (org-adaptive-fill-function): Remove occasional spurious
10391         space character when auto-filling.
10393         * org.el (org-mode): Call external initalizers.  Now both filling
10394         code and comments code have their own independant part in org.el.
10395         (org-setup-filling): Rename from `org-set-autofill-regexps'.
10396         (org-setup-comments-handling): New function.
10398         * org.el (org-fill-paragraph): Refine filling in comments and in
10399         paragraphs.  Allow commented blank lines.  Take into consideration
10400         the indentation of the second line of the paragraph being filled.
10401         (org-comment-or-uncomment-region): Rewrite function.  Now comment
10402         region at a fixed column: the minimal indentation of the region.
10403         (org-fill-context-prefix): Rename function into
10404         `org-adaptive-fill-function'.  Also, In a paragraph, choose the
10405         same prefix as the current line.
10407         * org-exp.el (org-export-handle-comments): Also remove comments at
10408         column 0.
10410         * org-exp.el (org-export-handle-comments): Handle inline comments
10411         with new syntax.
10413         * org.el (org-structure-template-alist): Add missing colon to
10414         #+INCLUDE.
10416         * org.el (org-backward-element): When called at the beginning of
10417         first element in section, the function shouldn't return an error
10418         but move point to headline or point-min instead.
10420         * org-element.el (org-element-paragraph-parser): Tiny refactoring.
10422         * org-element.el (org-element-paragraph-parser): Remove trailing
10423         code comments.
10425         * org.el (org-fill-context-prefix): Fix incorrect output when
10426         called at the beginning of a plain list with an affiliated
10427         keyword.
10428         (org-fill-paragraph): Remove useless variable.
10430         * org-element.el (org-element-paragraph-parser): Fix parsing of
10431         paragraph at the beginning of an item.
10433         * org.el (org-mode): Set back comment-start-skip so comment-dwim
10434         can tell a keyword from a comment.
10436         * org.el (org-set-autofill-regexps): Install new comment line
10437         break function.
10438         (org-comment-line-break-function): New function.
10439         (org-mode): Remove unnecessary line.
10441         * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
10442         fill verse blocks contents.  Verse blocks can be used to format
10443         free-form poetry, so filling has to be done manually.
10445         * org.el (org-fill-paragraph-separate-nobreak-p): New function.
10446         (org-set-autofill-regexps): Introduce new predicate.
10447         (org-fill-item-nobreak-p): Remove function.
10449         * org-element.el (org-element-paragraph-separate): Since this
10450         variable is meant to be searched forward, \end{...} shouldn't
10451         trigger the end of a paragraph before checking if it is the end of
10452         a complete environment.
10453         (org-element-latex-environment-parser): Slight change to the
10454         regexp matching the beginning of a latex environment.
10455         (org-element-paragraph-parser): Paragraphs don't end at incomplete
10456         latex environments.
10457         (org-element-latex-or-entity-successor): Remove paragraph
10458         environments from latex fragment search.
10460         * org-table.el (org-table-number-regexp): By default, accept comma
10461         as a decimal mark to represent numbers.
10463         * org-element.el (org-element-map): Fix comment typo.
10465         * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
10466         returning funny results.
10468         * org.el (org-fill-paragraph): Try not to include message header
10469         and citation lines in a paragraph when filling it.
10471         * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
10472         (org-fill-context-prefix): Fill prefix doesn't depend on current
10473         narrowing.
10475         * org.el (org-mode): Line with a single hash sign on it is a
10476         comment.
10478         * org.el (org-set-font-lock-defaults): Fix comment fontification.
10480         * org-element.el (org-element-item-parser): Do not remove tag from
10481         body if list isn't descriptive.
10483         * org-list.el (org-insert-item): Only ask about a term for
10484         descriptive lists.
10485         (org-list-struct, org-list-insert-item): Do not recognize a tag in
10486         an ordered list.
10488         * org-element.el (org-element-set-element): Rewrite function.
10489         (org-element-adopt-elements): New function.
10490         (org-element-adopt-element): Remove function.
10491         (org-element--parse-elements, org-element--parse-objects): Use new
10492         function.
10494         * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
10495         which is now hard-coded.
10496         (org-cycle-list-bullet): Hard code `bullet' rule.
10497         (org-list-get-list-type): Make sure a list with numbered bullets
10498         cannot have `descriptive' type.
10500         * org-element.el (org-element-paragraph-parser): Fix previous
10501         patch.
10503         * org.el (org-fill-paragraph): No need to use
10504         `org-element-paragraph-separate' in a verse block since blank
10505         lines only can end a "paragraph".
10507         * org-element.el (org-element-paragraph-separate): Apply changes
10508         to comments.
10509         (org-element-paragraph-parser): Correctly find end of paragraphs.
10510         (org-element--current-element): Require colons for Babel calls.
10511         (org-element-center-block-parser)
10512         (org-element-dynamic-block-parser, org-element-quote-block-parser)
10513         (org-element-special-block-parser)
10514         (org-element-comment-block-parser)
10515         (org-element-example-block-parser)
10516         (org-element-export-block-parser, org-element-src-block-parser)
10517         (org-element-verse-block-parser): Fall-back to paragraph parsing
10518         when incomplete or ill-formed.
10520         * org-element.el (org-element-swap-A-B): Small refactoring.
10522         * org-element.el (org-element-text-markup-successor): Fix typo in
10523         docstring.
10525         * org-element.el (org-element-at-point): Return consistent value
10526         when function is called on a blank line within a plain list.
10528         * org-element.el (org-element-paragraph-separate): Fix comments in
10529         paragraph separator regexp.  Optimize it.
10531         * org-element.el: Update code commets.
10533         * org.el (org-mark-subtree): Fix bug when marking subtree with
10534         point on an inlinetask.  Refactor code.
10536         * org.el (org-mark-subtree): Do not make a special case for
10537         inlinetasks when marking a subtree.  These are handled by
10538         `org-element-mark-element'.
10540         * org-element.el (org-element-comment-parser): Consider first "+"
10541         as a comment when parsing an ill-defined keyword.
10543         * org-element.el (org-element-item-interpreter): Simplify bullet
10544         creation.
10545         (org-element-plain-list-interpreter): Fix wrong bullets, if
10546         needed.
10548         * org-element.el (org-element-comment-parser): Fix parsing when a
10549         keyword follows the commented line.
10551         * org.el (org-fill-context-prefix): Auto-fill first paragraph in
10552         footnote definitions.
10554         * org.el (org-mode): Define new comment syntax.
10555         (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
10556         (org-fill-context-prefix, org-insert-comment)
10557         (org-comment-or-uncomment-region): Use new comment syntax.
10559         * org-element.el (org-element-comment-parser)
10560         (org-element-comment-interpreter, org-element--current-element):
10561         Use new comment syntax.
10563         * org.el (org-fill-paragraph): When at an item or a footnote
10564         definition, fill first paragraph instead.
10566         * org.el (org-fill-paragraph): Fix filling when point is at the
10567         very end of a paragraph.
10569         * org.el (org-mode): Set comments related variables.
10570         (org-insert-comment, org-comment-or-uncomment-region):
10571         New functions.
10573         * org.el (org-fill-context-prefix): Small refactoring.
10574         (org-fill-paragraph): Add code comments.
10576         * org-element.el (org-element-at-point): Add :parent property to
10577         output.
10578         (org-element-context): Add :parent property to output.
10579         Also return a single element or object instead of a list of parents.
10580         (org-element-forward, org-element-up): Apply changes.
10582         * org.el (org-fill-context-prefix): New function.
10583         (org-fill-paragraph, org-auto-fill-function): Use new function.
10584         Also handle comments.
10585         (org-adaptive-fill-function): Remove function.
10586         (org-get-local-variables, orgstruct++-mode): Don't store now
10587         unused adaptive-fill* functions.
10589         * org-element.el (org-element-at-point): Fix function when buffer
10590         starts with an inlinetask.  Also fix it when called on the last
10591         element in a greater element or the buffer.
10593         * org-element.el (org-element-center-block-parser)
10594         (org-element-dynamic-block-parser)
10595         (org-element-footnote-definition-parser)
10596         (org-element-headline-parser, org-element-inlinetask-parser)
10597         (org-element-quote-block-parser, org-element-special-block-parser)
10598         (org-element-plain-list-parser): Refactor code.
10599         (org-element-drawer-parser): Fall-back to paragraph parser when
10600         drawer is incomplete.
10602         * org-macs.el (org-with-limited-levels): Fix typo.
10604         * org-element.el (org-element-paragraph-separate): Refactor.
10605         (org-element-paragraph-parser): Fix paragraph parsing.
10607         * org.el (org-fill-paragraph): Rewrite function using
10608         `org-element-at-point'.
10610         * org-element.el (org-element-fill-paragraph): Remove function.
10612         * org.el (org-planning-or-clock-line-re): Make it a defconst.
10613         It's no use to make it a buffer-local variable since variables on
10614         which it depends are not buffer-local anyway.
10616         * org.el (org-drawer-regexp): Provide default value for
10617         `org-drawer-regexp' in non-Org buffers.
10619         * org-entities.el (org-entities-create-table): Function chokes
10620         when CAR of `org-entities' is a string.
10622         * org-list.el (org-list-automatic-rules): Allow check-boxes in
10623         description lists.
10624         (org-list-struct-apply-struct, org-insert-item): Remove rule
10625         check.
10627         * org-footnote.el (org-footnote-normalize): Fix positionning in
10628         HTML export without a footnote section.
10630         * org-list.el (org-list-struct-indent):
10631         Follow `org-list-demote-modify-bullet' specifications for ordered
10632         bullets.
10633         (org-list-indent-item-generic, org-indent-item-tree)
10634         (org-outdent-item-tree): Fix bug when operating on a region.
10635         (org-outdent-item, org-indent-item): Allow to operate on a region.
10637         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10638         on a region.
10640         * org-footnote.el (org-footnote-delete-definitions): Remove blank
10641         lines before the footnote definition instead of removing those
10642         after it.
10644         * org-footnote.el (org-footnote-at-definition-p): Don't grab
10645         trailing blank lines in a footnote definition.
10646         (org-footnote-delete-definitions): Remove both footnote definition
10647         and trailing blank lines.
10649 2012-09-30  Rick Frankel  <rick@rickster.com>
10651         * ob-sql.el: Add dbi engine type and pre/post processing.
10653 2012-09-30  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
10655         * ob.el (org-babel-expand-noweb-references): Capture current noweb
10656         start and end patterns then use to set buffer locals in
10657         (with-temp-buffer) form.
10659 2012-09-30  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
10661         * org.el (org-update-all-dblocks): Autoload function.
10663 2012-09-30  Simon Thum  <simon.thum@gmx.de>  (tiny change)
10665         * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10666         return a string.
10668 2012-09-30  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
10670         * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10671         meaning.
10673 2012-09-30  Stuart Hickinbottom  <stuart@hickinbottom.com>  (tiny change)
10675         * org-clock.el (org-x11idle-exists-p): Only shell out when running
10676         on X.
10678 2012-09-30  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
10680         * org-html.el (org-export-as-html): If possible, use the
10681         :CUSTOM_ID: property to assign unique ids to footnotes.
10683 2012-09-30  T.F. Torrey  <tftorrey@tftorrey.com>  (tiny change)
10685         * org-exp.el (org-export-remember-html-container-classes):
10686         Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10688         * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10689         of `widen' and don't toggle header as `rmail-widen' already takes
10690         care of this.
10692 2012-09-30  Tim Howe  <vsync@quadium.net>  (tiny change)
10694         * org-clock.el (org-clocktable-defaults): Revert extra layer of
10695         quoting.
10697 2012-09-30  Toby S. Cubitt  <tsc25@cantab.net>
10699         * org-capture.el (org-capture-fill-template): Expand %<num> escape
10700         sequences into text entered for <num>'th %^{PROMPT} escape.
10702         * org-capture.el (org-capture-fill-template): Fix regexp for
10703         %<n> expandos to match any positive integer.
10704         (org-capture-templates): Update docstring accordingly.
10706         * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10707         Skip timestamp items in agenda view if item is already shown as a
10708         deadline item.
10709         (org-agenda-skip-deadline-if-done): Pass deadline results to
10710         org-agenda-get-timestamps.
10711         (org-agenda-get-timestamps): Optionally take list of deadline
10712         results, so that timestamp results can be skipped if already
10713         included in deadline results.
10715         * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10716         deadline/scheduling information to be displayed in diary sexp
10717         agenda items.
10718         (org-agenda-get-sexps): Extract deadline/scheduling information
10719         from diary sexp entries.
10721         * org-capture.el (org-capture-place-entry): Place captured entry
10722         immediately after last subheading of target, instead of just
10723         before next heading at same level as target.
10725         * org-capture.el (org-capture-templates): Document new capture
10726         template properties.
10728         * org-capture.el (org-capture-place-entry)
10729         (org-capture-empty-lines-before): Make new :empty-lines-before
10730         property override :empty-lines when inserting empty lines before
10731         captured captured entry.
10733         * org-capture.el (org-capture-finalize)
10734         (org-capture-empty-lines-after): Make new :empty-lines-after
10735         property override :empty-lines when inserting empty lines after
10736         captured captured entry.
10738         * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10739         Add new todo-unblocked and nottodo-unblocked skip conditions.
10740         These match as for todo and nottodo, but only for unblocked todo items.
10742 2012-09-30  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10744         * org.el (org-read-date-display): Fix bug when displaying the
10745         overlay.
10747 2012-09-30  Niels Giesen  <niels.giesen@gmail.com>
10749         * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10750         When present, the :hline following the head will be skipped.
10751         This is necessary to avoid doubling of horizontal rules in LaTeX
10752         longtable environments and consequent width problems.
10754         * org-latex.el (org-export-latex-tables-tstart)
10755         (org-export-latex-tables-hline)
10756         (org-export-latex-tables-tend): New options.
10757         (org-export-latex-tables): Use the new options.
10759 2012-09-30  Feng Shu  <tumashu@gmail.com>  (tiny change)
10761         * org-exp.el (org-export-language-setup): Add simplified chinese
10762         translation.
10764 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
10766         Better seed support for (random).
10767         * org-id.el (org-id-uuid):
10768         Change (random t) to (random), now that the latter is more random.
10770 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
10772         Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10773         * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10774         (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10775         (ly-w32-midi-path): Rename from ly-win32-midi-path.
10776         (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10777         Check for "windows-nt", not "win32", in system-type.
10779 2012-06-02  Chong Yidong  <cyd@gnu.org>
10781         * org-clock.el (org-clock-string-limit)
10782         (org-clock-modeline-total, org-clock-task-overrun-text)
10783         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10785 2012-05-27  Mark Shoulson  <mark@kli.org>  (tiny change)
10787         * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10788         \there4 were not "prettified" when org-pretty-entities was enabled.
10790 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10792         * org.el (org-font-lock-add-priority-faces):
10793         Restrict priorities fontification to headlines and inlinetasks.
10795 2012-05-27  Jambunathan K  <kjambunathan@gmail.com>
10797         * org-odt.el (org-odt-init-outfile)
10798         (org-odt-write-manifest-file):
10799         Disable `nxml-auto-insert-xml-declaration-flag'.
10801         * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10803 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10805         * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10807 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10809         * ob.el (org-babel-capitalize-examplize-region-markers):
10810         Controls the capitalization of begin and end example blocks.
10811         (org-babel-examplize-region):
10812         Optionally capitalize example block delimiters.
10814         * ob-plantuml.el (org-babel-execute:plantuml):
10815         Add a :java header argument to plantuml.
10817         * org-exp-blocks.el (org-export-blocks-preprocess):
10818         Even when the body of a block is not indented the boundary markers
10819         should be indented to their original positions so things like list
10820         indentation still work.
10822         * ob.el (org-babel-parse-src-block-match):
10823         Save match data during indentation check.
10825 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10827         * org.el (org-scan-tags): Correctly match TODO keywords.
10829 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10831         * org-list.el (org-list-struct): Fix white spaces.
10832         (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10834         * org-list.el (org-list-swap-items, org-list-send-item):
10835         Preserve visibility when moving items.
10837 2012-05-27  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10839         * org.el (org-fontify-entities): Hide {} when prettifying entities.
10841 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10843         * org.el (org-cycle-internal-global): Prevent the display of
10844         messages when cycling from with a Gnus article buffer.
10846         * org-table.el (org-table-time-seconds-to-string):
10847         Fix bug about handling a negative duration value.
10849 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10851         * org.el (org-link-expand-abbrev): Fix docstring.
10853         * org.el (org-translate-link): Fix bug.
10855 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10857         * org-agenda.el (org-agenda-bulk-mark-regexp):
10858         Fix bug when setting the number of marked entries.
10860         * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10861         (org-set-calc-mode, org-table-eval-formula): Use it.
10863 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10865         * ob.el (org-babel-find-named-result):
10866         Fix bug finding empty named results.
10868 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10870         * org.el (org-set-regexps-and-options):
10871         Fix `org-planning-or-clock-line-re' regexp.  Indeed "\\>" will never
10872         match since time keywords must end with colons, which are not word
10873         constituents.
10875 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10877         * org-ctags.el (org-ctags-new-topic-template):
10878         Fix the option default value back again.
10880 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10882         * org-bibtex.el (org-bibtex-export-to-kill-ring):
10883         Don't rely on kill-new to return a string.
10885         * org-bibtex.el (org-bibtex-headline):
10886         Remove call to bibtex-reformat which often hangs.
10888 2012-04-27  Glenn Morris  <rgm@gnu.org>
10890         * org-ctags.el (org-ctags-new-topic-template):
10891         Revert 2012-04-09 removal of * from defcustom value, not doc.
10893 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10895         * org-table.el (org-table-number-fraction): Fix typo.
10897 2012-04-27  Eric Schulte  <eric.schulte@gmx.com>
10899         * ob-python.el (org-babel-execute:python): Ensure newline precedes
10900         automatically-added returns.
10902 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10904         * org-mouse.el (org-mode-hook): Do not move point when clicking on
10905         a footnote reference.
10907 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10909         * org-faces.el (org-date-selected): Fix docstring.
10911 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10913         * org-list.el (org-list-struct-indent):
10914         Follow `org-list-demote-modify-bullet' specifications for ordered
10915         bullets.
10916         (org-list-indent-item-generic, org-indent-item-tree)
10917         (org-outdent-item-tree): Fix bug when operating on a region.
10918         (org-outdent-item, org-indent-item): Allow to operate on a region.
10920         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10921         on a region.
10923 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10925         * org-footnote.el (org-footnote-normalize): Fix positioning in
10926         HTML export without a footnote section.
10928 2012-04-27  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10930         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10931         advertised by the function.
10933 2012-04-27  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10935         * org.el (org-read-date-display): Fix bug when displaying the
10936         overlay.
10938 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10940         * org.el (org-mode): Don't use `buffer-face-mode' by default.
10942 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10944         * org-faces.el (org-date-selected): New face.
10946 2012-04-27  Jambunathan K  <kjambunathan@gmail.com>
10948         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10949         internal links destined for headlines provide a description or
10950         not.  In fact, the `org-store-link' and `org-insert-link' create
10951         internal links which do have a description.
10953 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10955         * org-clock.el (org-program-exists): Fix docstring.
10957 2012-04-14  Bastien Guerry  <bzg@gnu.org>
10959         * org.el (org-point-at-end-of-empty-headline): Only try to match
10960         `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10961         modes.
10962         (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10963         to fontify beyond (point-max).
10965         * org-clock.el (org-clock-task-overrun-text)
10966         (org-task-overrun, org-clock-get-clock-string)
10967         (org-clock-update-mode-line)
10968         (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10969         and `org-task-overrun-text' to `org-clock-task-overrun' and
10970         `org-clock-task-overrun-text' respectively.
10971         (org-task-overrun-text): New alias.
10973         * org-table.el (org-table-eval-formula): Fix bug about handling
10974         remote references as durations.
10975         (org-table-get-range): Fix bug: make sure references to $0 are
10976         correctly handled.
10978         * org-pcomplete.el (pcomplete/org-mode/file-option):
10979         Fix bug in `pcomplete/org-mode/file-option'.
10980         (org-thing-at-point): Also match line options like LATEX_CLASS
10981         when pcompleting from LATEX_.
10983         * org-agenda.el (org-agenda-filter-make-matcher)
10984         (org-agenda-filter-apply): Allow filtering entries out by
10985         category.  Using `C-u <' from the agenda view will redisplay
10986         the agenda without entries from categories of the current line.
10988 2012-04-14  Eric Schulte  <eric.schulte@gmx.com>
10990         * ob-C.el (org-babel-C-ensure-main-wrap):
10991         Add an explicit return to automatically generated main methods.
10993 2012-04-14  Matt Lundin  <mdl@imapmail.org>
10995         * org.el (org-after-todo-state-change-hook):
10996         Fix docstring to reflect name change of state to `org-state'.
10998 2012-04-14  Mike Sperber  <sperber@deinprogramm.de>  (tiny change)
11000         * org-footnote.el (org-footnote-normalize):
11001         Correctly pass keyword arguments to `org-export-preprocess-string'.
11003 2012-04-03  Bastien Guerry  <bzg@gnu.org>
11005         * org.el (org-todo): Fix regression: rename `state' to
11006         `org-state'.
11007         (org-use-effective-time): Fix group and type.
11009 2012-04-02  Bastien Guerry  <bzg@gnu.org>
11011         * org-clock.el (org-clock-out-if-current): Fix regression: rename
11012         `org-clock-state' to `org-state' to match the name of the
11013         dynamically-scoped variable in `org-todo'.
11015         * org-agenda.el (entry, org-diary, org-class): Fix regression:
11016         rename `org-entry' to `entry'.
11018 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11020         * org.el (org-todo): Fix regression in `org-todo'.
11022 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11024         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
11025         C files on windows.
11027 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11029         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
11030         Org-mode blocks.
11032         * ob.el (org-babel-parse-src-block-match): Make use of the new
11033         language argument to org-babel-strip-protective-commas.
11034         (org-babel-parse-inline-src-block-match): Make use of the new
11035         language argument to org-babel-strip-protective-commas.
11036         (org-babel-strip-protective-commas): Now accepts a language
11037         argument.
11039 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11041         * org.el (org-fast-tag-selection): Fix an bug when listing tags
11042         for completion.
11044 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11046         * org.el (org-delete-property-globally): Fix a bug that left
11047         blank line in place of the property, instead of removing the line.
11049 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11051         * ob-maxima.el (org-babel-maxima-command): Add group information
11052         to the defcustom.
11054 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11056         * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
11057         face to 'org-default.
11059 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11061         * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
11062         in links.
11064 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11066         * org.el: Prevent a bug while defining the menu by requiring
11067         `org-beamer' when necessary.
11069 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11071         * org-table.el (orgtbl-self-insert-command):
11072         Use `backward-delete-char' instead of `delete-backward-char' as this
11073         last command gets caught by the compiler which says to not use it
11074         in programs.  `backward-delete-char' is just an alias for
11075         `delete-backward-char' which is internally remapped to
11076         `org-delete-backward-char' for optimization purpose.
11078 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11080         * org-latex.el (org-export-latex-subcontent): Bugfix: when
11081         `org-export-latex-low-levels' is nil, do not export low levels.
11083 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11085         * ob.el (org-babel-insert-result): Fix bug in indented wrapped
11086         results insertion.
11088 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11090         * org.el (org-set-tags): Include `org-tag-alist' in the list of
11091         possible completions, even when there are tags defined in the
11092         buffer.
11094 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11096         * org.el (org-set-tags): Don't add a column when there is only one
11097         tag offered for completion.
11099 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11101         * org.el (org-fast-tag-selection): Include tags from
11102         `org-tag-alist' when completing with the TAB key.
11104 2012-04-01  Shoji Nishimura  <nishimura.shoji@gmail.com>  (tiny change)
11106         * org.el (org-display-inline-images): Honor the ̀beg' parameter.
11108 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11110         * org-latex.el (org-export-latex-subcontent): Don't insert a
11111         linebreak when itemizing a subtree that is just a headline.
11113 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11115         * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
11116         parsing inline call_foo lines.
11118 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11120         * ob-maxima.el (org-babel-maxima-command): The maxima command used
11121         should be configurable (defaults to maxima-command if defined).
11122         (org-babel-execute:maxima): The maxima command used should be
11123         configurable (defaults to maxima-command if defined).
11125 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11127         * ob-C.el (org-babel-C-execute): Add the local directory to the
11128         library search path for C/C++ block compilation.
11130 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11132         * ob.el (org-babel-where-is-src-block-result): Don't truncate
11133         results name on call line execution.
11135 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11137         * org-colview.el (org-columns-cleanup-item): Handle case of empty
11138         headline.
11140 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11142         * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
11143         export error when a src block produces fake footnotes.
11145 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11147         * org.el (org-read-date): Don't mention `parse-time-weekdays' and
11148         `parse-time-months' in the docstring.
11150 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11152         * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
11153         binding.
11155 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11157         * org-colview.el (org-columns-compute): Also consider inline tasks
11158         when computing the sum.
11160 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11162         * org-habit.el (org-habit-insert-consistency-graphs):
11163         Fix alignment of consistency graph in filtered agenda view.
11165 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11167         * org-latex.el (org-export-as-latex): Fix bug in setting the
11168         export directory according to the LaTeX options.
11170 2012-04-01  K.Nagashima  <uni.naga@gmail.com>  (tiny change)
11172         * org.el (org-show-subtree): Make interactive.
11174 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
11176         * org-clock.el (org-clock-get-table-data): Make sure todo-only
11177         does not leak when it is set by make-org-tags-macher.
11179 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11181         * org.el (org-cycle-internal-local): Don't try to hide drawers
11182         within subtrees in this function, it slows cycling down.
11184 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11186         * org-agenda.el (org-agenda-custom-commands-local-options):
11187         Fix incorrect custom option definition.
11189 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11191         * org-colview.el (org-columns-display-here): Bugfix: use the date
11192         as the value for the ITEM column when displaying a summary.
11194 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11196         * ob-lilypond.el: Re-direct homepage to Worg.
11198 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11200         * ob-lilypond.el: Leave versioning to Org.
11202 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11204         * ob-lilypond.el: Fix compiler warning.
11206 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11208         * org-odt.el (org-odt-format-entity-caption): Enumerate entities
11209         that have either a caption or a label.
11210         (org-odt-label-styles, org-odt-category-map-alist): Add a
11211         separator between sequence number and caption.  Introduced two
11212         new label styles for handling of math formula and math label.
11213         (org-odt-format-label-definition)
11214         (org-export-odt-format-formula): Propagate above changes.
11216 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11218         * org.el (org-enforce-todo-dependencies): Fix docstring.
11220 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11222         * org-odt.el (org-export-odt-category-strings): New custom
11223         variable.
11224         (org-odt-category-map-alist): Modify interpretation.
11225         Don't use the same field to double up as both a OpenDocument
11226         variable and a category string.  Entries in this list now
11227         specify only the OpenDocument variable.  Category strings are
11228         obtained through an indirect lookup of
11229         `org-export-odt-category-strings'.  Use same OpenDocument
11230         variables as what LibreOffice uses for various entities.
11231         Fix docstring.
11232         (org-odt-add-label-definition)
11233         (org-odt-format-label-definition)
11234         (org-odt-format-label-reference): Propagate above changes.
11236 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11238         * org-latex.el (org-export-as-latex): Check TeX-master correctly.
11240 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11242         * org-odt.el (org-odt-category-map-alist): Update docstring.
11243         (org-export-odt-user-categories)
11244         (org-export-odt-get-category-from-label)
11245         (org-odt-get-label-category-and-style): Remove.
11246         (org-odt-add-label-definition): Propagate above changes.
11248 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11250         * org.el (org-refile): Don't allow creation of parents when using
11251         the refile command to go to a headline.
11253 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11255         * org-odt.el (org-odt-format-org-link): Resolve links to headlines
11256         as section numbers only if section numbering is on.
11258 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11260         * org.el (format-spec): Require 'format-spec.
11262 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11264         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
11266 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11268         * org.el (org-imenu-get-tree): Check that looking-at succeeds
11269         before using match results.
11271 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11273         * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
11275 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11277         * org-lparse.el (org-do-lparse): Make effective setting of
11278         `org-export-headline-levels' available to the ODT exporter.
11279         Also remove some stale comments.
11281 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11283         * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
11284         per-language string for "Table Of Contents".
11286 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11288         * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
11290 2012-04-01  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
11292         * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
11293         the libary name.
11295 2012-04-01  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
11297         * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
11298         case-fold-search is bound to nil globally, the
11299         (case-fold-search t) doesn't work until we get to the body.
11301 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11303         * org-latex.el (org-export-latex-tables): Allow to use
11304         sidewaystable.
11306 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11308         * ob.el (org-babel-expand-noweb-references): Fix bug in src name
11309         regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
11311 2012-04-01  David Maus  <dmaus@ictsoc.de>
11313         * org.el (org-scan-tags): Require one or more spaces (+) between
11314         keyword and headline.
11316 2012-04-01  David Maus  <dmaus@ictsoc.de>
11318         * org-agenda.el (org-prepare-agenda): Don't reset
11319         `org-done-keywords-for-agenda' when `org-agenda-multi'.
11321 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11323         * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
11324         while inserting habit graph in the agenda buffer.
11326 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11328         * org-src.el (org-src-edit-buffer-p): New function.
11330 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11332         * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
11333         being checked.  Also enhance the docstring a bit.
11335 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11337         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
11338         display of indirect agenda window.
11340 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11342         * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
11343         compatibility bug.
11345 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
11347         * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
11348         to tags-list and org-trust-scanner-tags to t while evaluating the
11349         matcher, since the matcher is always evaluated at the current
11350         entry.
11352 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11354         * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
11355         evaluating the matcher, since the matcher is always evaluated at
11356         the current entry.
11358 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11360         * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
11361         quoting expression.
11363 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11365         * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
11366         argument.
11367         (org-babel-noweb-p): The "eval" argument only expands during
11368         evaluation.
11370 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11372         * ob.el (org-strip-protective-commas): Declared.
11374         * org-agenda.el (org-agenda-filtered-by-category): Declared.
11375         (org-agenda-filter-apply): Capture free variable.
11377         * org-footnote.el (org-skip-whitespace): Declared.
11379         * org-mobile.el (org-agenda-filter): Declared.
11381         * org-src.el (org-strip-protective-commas): Declared.
11383 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11385         * org.el (org-version): Add autoload cookie.
11387 2012-04-01  David Maus  <dmaus@ictsoc.de>
11389         * org-attach.el (org-attach-store-link-p): Remove spurious quote
11390         in customization form choice.
11392 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11394         * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
11395         (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
11396         execution.
11398 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11400         * ob.el (org-babel-insert-result): Ensure correct order for empty
11401         result wrapping blocks.
11403 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11405         * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
11406         and add easy pdf generation in the form of `ly-gen-pdf' variable.
11408 2012-04-01  Deech  <deech@deech-ThinkPad-X200.none>  (tiny change)
11410         * ob-tangle.el (org-babel-spec-to-string): The link generated by
11411         org-store-link is escaped twice when tangling with ":comments yes"
11412         flag.
11414 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11416         * org-html.el (org-export-as-html): Remove another useless space
11417         before tag.
11419 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11421         * org-html.el (org-export-as-html): Remove another useless space
11422         before tag.
11424 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11426         * org-html.el (org-export-as-html): Remove useless space before
11427         tag.
11429 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11431         * org.el (org-version): Add autoload cookie.
11433 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11435         * org.el (org-get-category): Save match data.
11437 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11439         * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
11440         :tangle is specified.
11442         * ob.el (org-babel-expand-noweb-references): Widen buffer when
11443         expanding noweb references.
11445 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11447         * ob-table.el (sbe): Don't accidentally leave a `t' value when
11448         variables are force interpreted as strings.
11450 2012-04-01  David Maus  <dmaus@ictsoc.de>
11452         * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
11453         (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
11455 2012-04-01  David Maus  <dmaus@ictsoc.de>
11457         * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
11458         (bbdb-search-organization): Declare functions to silence byte
11459         compiler.
11461 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11463         * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
11464         repeating tasks using .+n and ++n syntax.
11466 2012-04-01  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
11468         * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
11469         heading that has a date but no todo keyword.
11471 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11473         * ob.el (org-babel-find-named-result): Fix code block replacement
11474         with results.
11476 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11478         * org-footnote.el (org-footnote-normalize): Do not normalize
11479         labels when sort-only is non-nil.
11481 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11483         * org-footnote.el (org-footnote-normalize): Remove an useless part
11484         of the function.
11485         (org-insert-footnote-reference-near-definition): Remove function.
11487 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11489         * org-footnote.el (org-footnote-normalize): Fix normalization of
11490         inline footnotes with no footnote section.
11492 2012-04-01  David Maus  <dmaus@ictsoc.de>
11494         * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
11495         to check for old or new version by a check for the required
11496         function in `org-bbdb-open' and `org-bbdb-store-link'.
11497         (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
11498         to be used.
11500 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11502         * ob.el (org-babel-find-named-result): Don't miss a code block
11503         when there are confounding spaces after the result name.
11505 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11507         * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
11508         regular expressions.
11509         (org-babel-inline-lob-one-liner-regexp): Less greedy regular
11510         expressions.
11512 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11514         * ob.el (org-babel-examplize-region): Fix bug in examplization.
11516 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11518         * org.el (org-link-search): Search for #+name affiliated keywords
11519         and invisible targets.
11521 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11523         * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
11524         newlines in a transcoded footnote definition.  This ensures that
11525         the line that is currently being processed by `org-do-lparse' loop
11526         doesn't get broken up into multiple lines.  Fix for the following
11527         bug -
11529 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11531         * org-footnote.el (org-footnote-normalize): Force a paragraph
11532         break after the last footnote definition.  This is an an implicit
11533         assumption made by the org-lparse.el library.  With this change,
11534         footnote definitions can reliably be exported with ODT backend.
11535         See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
11537 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11539         * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
11541 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11543         * org-list.el (org-list-struct): Fix small bug introduced by
11544         commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
11546 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11548         * ob-ditaa.el (org-ditaa-jar-path): Already defined in
11549         org-exp-blocks.el.
11551         * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
11552         for the fact that this is really now a Babel thing -- even if it
11553         is used here and the definition should remain here for reasons of
11554         load dependencies.
11556 2012-04-01  David Maus  <dmaus@ictsoc.de>
11558         * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
11559         defined after bbdb was loaded.
11561 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11563         * org-latex.el (org-export-latex-tables): Don't add spurious
11564         preceding newline if caption is not above a longtable.
11566 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11568         * org-odt.el (org-odt-insert-toc): Remove this stray,
11569         dysfunctional routine.  This possibly has crept in because of the
11570         broken merges between "maint" and "origin" branches.
11571         (org-odt-begin-table): Don't emit an empty paragraph when a table is
11572         neither labeled nor captioned.
11573         (org-odt-init-outfile): Remove reference to an unused variable.
11575 2012-04-01  Viktor Rosenfeld  <listuser36@googlemail.com>
11577         * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
11578         SQL code blocks.
11580 2012-04-01  Andreas Leha  <andreas.leha@med.uni-goettingen.de>
11582         * ob.el (org-babel-goto-named-src-block): Pushing the point to the
11583         org-mark-ring and guessing at the code block name to jump to.
11585 2012-04-01  David Maus  <dmaus@ictsoc.de>
11587         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
11588         of indirect buffer and window.
11590 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11592         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11593         in verse blocks.
11595 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11597         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11598         in verse blocks.
11600 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11602         * org-exp.el (org-table-clean-before-export): Ignore table rows
11603         defining parameters for formulas during export.
11605 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11607         * org-list.el (org-list-get-item-number): New function.
11609 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11611         * org-list.el (org-list-ending-method, org-list-end-regexp):
11612         Remove variables.
11613         (org-in-item-p, org-list-separating-blank-lines-number)
11614         (org-list-parse-list, org-list-struct): Apply changes.
11616         * org-exp.el (org-export-mark-list-end)
11617         (org-export-mark-list-properties): Apply changes.
11619         * org-latex.el (org-export-latex-lists): Apply changes.
11621 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11623         * org.el (org-cycle-internal-local): Correctly unfold headlines
11624         containing an inlinetask.
11626 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11628         * org.el (org-structure-template-alist): Fix missing angle
11629         brackets for muse export style.
11631 2012-04-01  David Maus  <dmaus@ictsoc.de>
11633         * org.el (org-recenter-calendar): Use `with-selected-window' to
11634         select calendar window and save currently selected window and
11635         current buffer.
11637 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11639         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11640         argument set, otherwise not only are headlines in the current
11641         subtree excluded, but it throws an error if point happens not to
11642         be within a subtree (e.g. at start of buffer).
11644 2012-04-01  David Maus  <dmaus@ictsoc.de>
11646         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11648 2012-04-01  David Maus  <dmaus@ictsoc.de>
11650         * org-clock.el (org-in-clocktable-p): Move to org.el.
11652         * org.el (org-in-clocktable-p): New function.  Moved from
11653         org-clock.el.
11655 2012-04-01  David Maus  <dmaus@ictsoc.de>
11657         * org-exp.el (org-export-get-title-from-subtree): Don't format
11658         tags in title if title headline does not have tags.
11660 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11662         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11663         inline tasks too.
11665 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11667         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11668         Delay it till the end of export.
11669         (org-odt-begin-document-body): Make a note of the default
11670         position of TOC in `org-lparse-dyn-first-heading-pos'.
11671         (org-odt-insert-toc): Insert TOC as directed by
11672         [TABLE-OF-CONTENTS] line or at the default position.
11673         (org-odt-end-export): Call `org-odt-insert-toc'.
11675 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11677         * org.el (org-preview-latex-fragment): Throw an error when called
11678         from a non-file buffer.
11680 2012-04-01  David Maus  <dmaus@ictsoc.de>
11682         * org-capture.el (org-capture-place-item): Don't search for
11683         position in existing list if :exact-position was supplied.
11685 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11687         * org.el (org-set-font-lock-defaults): Fix bug in done headline
11688         fontification.
11690 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11692         * org-odt.el (org-odt-format-textbox): Honor user-specified width
11693         in captioned images.
11695 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11697         * org.el (org-update-property-plist): Fix bug in property list
11698         updates.
11700 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11702         * ob.el (org-babel-balanced-split): Explicit checking if list
11703         before calling member.
11705 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11707         * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11708         as the separator to `org-table-convert-region'.  Fixes errors when
11709         only one result per line of output.
11711 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11713         * ob.el (org-babel-strip-protective-commas):
11714         Use `org-strip-protective-commas'.
11716         * org-exp.el (org-export-select-backend-specific-text):
11717         Use `org-strip-protective-commas'.
11719         * org-src.el (org-edit-src-code):
11720         Use `org-strip-protective-commas'.
11722         * org.el (org-strip-protective-commas): Single definition for this
11723         functionality.
11725 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11727         * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11729 2012-04-01  David Maus  <dmaus@ictsoc.de>
11731         * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11732         Run before the finalization process starts.
11733         (org-capture-finalize): Run new hook.
11735 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11737         * org.el (org-entry-get): Generalize to multiple "prop+"
11738         properties.
11740 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11742         * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11743         the `org-src-mode-map'.
11745 2012-04-01  David Maus  <dmaus@ictsoc.de>
11747         * org.el (org-recenter-calendar): Use `with-selected-window' to
11748         select calendar window and save currently selected window and
11749         current buffer.
11751 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11753         * org-list.el (org-list-ending-method, org-list-end-regexp):
11754         Remove variables.
11755         (org-in-item-p, org-list-separating-blank-lines-number)
11756         (org-list-parse-list, org-list-struct): Apply changes.
11758         * org-exp.el (org-export-mark-list-end)
11759         (org-export-mark-list-properties): Apply changes.
11761         * org-latex.el (org-export-latex-lists): Apply changes.
11763 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11765         * org.el (org-entry-get): Accumulate properties from subtree
11766         property drawers.
11768 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11770         * org.el (org-entry-get): Accumulate properties from subtree
11771         property drawers.
11773 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11775         * org-odt.el (org-export-odt-image-size-probe-method)
11776         (org-odt-do-image-size): Use imagemagick preferentially to
11777         determine image sizes.
11779 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11781         * org-odt.el (org-export-as-odt-to-buffer)
11782         (org-replace-region-by-odt, org-export-region-as-odt):
11783         Remove these interactive functions.  They are of questionable value.
11785 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11787         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11788         argument set, otherwise not only are headlines in the current
11789         subtree excluded, but it throws an error if point happens not to
11790         be within a subtree (e.g. at start of buffer).
11792 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11794         * org-exp.el (org-export-kill-product-buffer-when-displayed)
11795         (org-export-initial-scope, org-export-date-timestamp-format)
11796         (org-export-with-tasks, org-export-email-info)
11797         (org-export-table-remove-empty-lines): Add version tag.
11799 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11801         * org.el (org-cycle-internal-local): Correctly unfold headlines
11802         containing an inlinetask.
11804 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11806         * org-clock.el (org-clock-out): Do not delete the current clocking
11807         task when org-clock-out-hook clocks in another task.
11809 2012-04-01  David Maus  <dmaus@ictsoc.de>
11811         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11813 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11815         * org-odt.el (org-export-odt-convert-processes): Re-define
11816         (org-export-odt-convert-capabilities): Fix an accidental
11817         regression.
11819 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11821         * org-odt.el (org-export-odt-convert-capabilities): Change the
11822         default value.
11824 2012-04-01  David Maus  <dmaus@ictsoc.de>
11826         * org-clock.el (org-in-clocktable-p): Move to org.el.
11828         * org.el (org-in-clocktable-p): New function.  Moved from org-clock.el.
11830 2012-04-01  David Maus  <dmaus@ictsoc.de>
11832         * org-exp.el (org-export-get-title-from-subtree): Don't format
11833         tags in title if title headline does not have tags.
11835 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11837         * org-footnote.el (org-blank-before-new-entry)
11838         (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11839         declarations.
11841 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11843         * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11844         and C-e behavior with visual lines.
11846 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11848         * org-exp-blocks.el (org-export-blocks): Change the name of
11849         exporting comment blocks given that it seems regular comment
11850         blocks no longer export.
11852 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11854         * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11855         export buffer.
11856         (org-babel-exp-in-export-file): Access current export buffer.
11857         (org-babel-exp-src-block): Access current export buffer.
11858         (org-babel-exp-inline-src-blocks): Access current export buffer.
11860 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11862         * ob-exp.el (org-babel-exp-in-export-file)
11863         (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11864         Allow org-current-export-file to contain a buffer.
11866 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11868         * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11869         with `shell-command-to-string'.
11871 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11873         * org-footnote.el (org-footnote-create-definition): Fix space
11874         insertion when creating a new footnote.  This fixes newline
11875         munching when `org-footnote-section' is nil and blank lines
11876         stacking when it isn't nil.
11878 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11880         * org-footnote.el (org-footnote-normalize): Make sure that
11881         footnotes are moved to a single place during export.
11883 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11885         * org-footnote.el (org-footnote-normalize): Ensure footnote
11886         definition will be inserted at the end of the section
11887         corresponding to to its first reference.
11889 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11891         * org-footnote.el (org-footnote-at-definition-p): Make sure to
11892         move point at the beginning of the separator before skiping white
11893         spaces.  Refactor code.
11895 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11897         * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11898         export when "strip-export".
11900         * ob.el (org-babel-common-header-args-w-values): New noweb
11901         header value.
11902         (org-babel-merge-params): New noweb header value.
11903         (org-babel-noweb-p): New noweb header value.
11905 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11907         * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11909         * ob.el (org-babel-noweb-wrap): Add default value.
11910         (org-babel-expand-noweb-references): Just use default value.
11912 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11914         * org-exp.el (org-export-select-backend-specific-text): Always
11915         preserve original indentation as a text property so that lists do
11916         not get broken by indentation at column 0.
11918 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11920         * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11921         in source names in noweb references.
11923 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11925         * org.el (org-fill-line-break-nobreak-p): New function.
11926         (org-set-autofill-regexps): Add previous function to
11927         `fill-nobreak-predicate'.
11929 2012-04-01  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
11931         * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11932         visibility regardless of local user customization.
11934 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
11936         * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11937         (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11939         * org-indent.el (org-indent-set-line-properties):
11940         Honor `org-inlinetask-show-first-star'.
11942 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11944         * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11945         doesn't contain duplicates.
11947 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11949         * org.el (org-at-drawer-p): Normalize the docstring to match other
11950         `org-at-*-p' docstrings.
11951         (org-indent-block, org-indent-drawer, org-at-block-p):
11952         New functions.
11953         (org-metaright): Use the new functions to indent a drawer or a
11954         block depending on the context.  Also update the docstring.
11956 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11958         * org.el (org-set-regexps-and-options): Set the value of
11959         `org-drawers' by adding the value of the infile #+DRAWERS option
11960         to that of the existing `org-drawers'.
11962 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11964         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11965         inline tasks too.
11967 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11969         * org-inlinetask.el (org-inlinetask-toggle-visibility):
11970         Use `org-show-entry' instead of `outline-flag-region' to keep the
11971         drawers folded when unfolding an inline task.
11973 2012-04-01  Torsten Anders  <torsten.anders@beds.ac.uk>  (tiny change)
11975         * org-beamer.el (org-beamer-environments-default): Add support and
11976         keybinding for the `exampleblock' environment.
11978 2012-04-01  Michael Brand  <michael.ch.brand@gmail.com>
11980         * org.el (org-open-link-from-string): Regard `reference-buffer'
11981         when setting `org-inhibit-startup'.
11983 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11985         * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
11986         space between inline src block and results on export.
11988 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11990         * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
11991         punctuation to proceed an inline src block.
11993 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11995         * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
11996         list of characters allowed to proceed an inline src block.
11998 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12000         * ob-tangle.el (org-babel-tangle-clean): Use the customizable
12001         noweb wrappers.
12003         * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
12004         (org-babel-noweb-wrap-end): End a noweb reference.
12005         (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
12006         (org-babel-expand-noweb-references): Use the customizable noweb
12007         wrappers.
12009 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12011         * org.el (org-beginning-of-line): Handle case when there's no
12012         character after box.
12014 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12016         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
12017         Delay it till the end of export.
12018         (org-odt-begin-document-body): Make a note of the default
12019         position of TOC in `org-lparse-dyn-first-heading-pos'.
12020         (org-odt-insert-toc): Insert TOC as directed by
12021         [TABLE-OF-CONTENTS] line or at the default position.
12022         (org-odt-end-export): Call `org-odt-insert-toc'.
12024 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12026         * org.el (org-preview-latex-fragment): Throw an error when called
12027         from a non-file buffer.
12029 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12031         * org.el (org-insert-property-drawer): Not an interactive
12032         command anymore.
12033         (org-insert-drawer): With a prefix argument, insert a property
12034         drawer.  Check for headline within the region before inserting the
12035         drawer.  Don't include special drawers in the completion table.
12036         (org-mode-map): New keybinding `C-c C-x d' for
12037         `org-insert-drawer'.
12039 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12041         * org.el (org-insert-drawer): Support completion over known drawer
12042         names and inserting a drawer around the current region.
12044 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12046         * org.el (org-insert-drawer): New function.
12047         (org-insert-property-drawer): Use it.
12049 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12051         * org-list.el (org-mark-list): New function.
12053 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12055         * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
12056         complete drawer at point.
12057         (org-thing-at-point): Use it.
12059 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12061         * org.el (org-meta-return): Use `newline-and-indent' when in a
12062         property drawer.
12064 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12066         * org.el (org-structure-template-alist): Fix docstring: the
12067         feature is not experimental anymore.
12069 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12071         * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
12072         display the item without unfolding drawers and logbooks.
12074 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12076         * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
12077         always nil.
12079 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12081         * org.el (org-structure-template-alist): Fix missing angle
12082         brackets for muse export style.
12084 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12086         * org.el (org-read-date): New parameter `inactive' when reading
12087         for insertion of inactive timestamps.
12088         (org-time-stamp, org-read-date-display): Use the new
12089         parameter.
12091 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12093         * ob.el (org-babel-expand-noweb-references): Only allow
12094         reference names which start and end with non-whitespace characters.
12095         Also, raise errors as appropriate given org-babel-noweb-error-langs.
12097 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12099         * org-src.el (org-src-in-org-buffer): Save and restore
12100         `buffer-undo-list' after editing.
12102 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12104         * ob.el (org-babel-common-header-args-w-values): Add new header
12105         argument.
12106         (org-babel-expand-noweb-references): Use header argument rather than
12107         customization variable.
12109 2012-04-01  David Maus  <dmaus@ictsoc.de>
12111         * org-capture.el (org-capture-place-item): Don't search for
12112         position in existing list if :exact-position was supplied.
12114 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12116         * ob.el (org-babel-noweb-separator): Custom variable for
12117         accumulated noweb references.
12118         (org-babel-expand-noweb-references): Allow separator for noweb
12119         references.
12121 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12123         * org.el (org-beginning-of-line): In an item, special position
12124         for C-a is after check-box, if any.
12125         (org-special-ctrl-a/e): Modify doc-string accordingly.
12127 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12129         * org-odt.el (org-export-odt-format-formula): Use :style
12130         property to specify custom table styles.
12132 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12134         * ob-exp.el (org-babel-exp-call-line-template): Control export of
12135         additional call line information.
12136         (org-babel-exp-non-block-elements): Fancier call line export.
12138 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12140         * org-odt.el (org-odt-entity-frame-styles): Add frame params
12141         for images that are anchored as character.
12142         (org-export-odt-format-image): Handle new anchor type
12143         "as-char".
12144         (org-export-odt-default-image-sizes-alist): Misc. change.
12145         (org-export-odt-format-formula): Misc. change.
12147 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12149         * ob.el (org-babel-check-src-block): Don't report valid header
12150         arguments as suspicious.
12152 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12154         * ob-exp.el (org-babel-exp-non-block-elements): Map over both
12155         inline src blocks and call lines on export.
12157 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12159         * org-odt.el (org-odt-label-styles): Add a new style.
12160         (org-odt-category-map-alist): Use it.
12162 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12164         * org-odt.el (org-odt-table-style-format): New.  Template for
12165         auto-generated table styles.
12166         (org-odt-automatic-styles, org-odt-object-counters):
12167         New variables.
12168         (org-odt-add-automatic-style): New function.
12169         (org-odt-write-automatic-styles): New function.
12170         Create automatic styles for tables that have custom :rel-width.
12171         (org-odt-begin-table): Parse attributes specified with
12172         "#+ATTR_ODT: " option and use it to create an automatic table
12173         style.
12174         (org-odt-save-as-outfile):
12175         Call `org-odt-add-write-automatic-styles'.
12176         (org-odt-init-outfile): Init newly add variables.
12177         (org-odt-section-count): Remove it.
12178         (org-odt-begin-section): Use `org-odt-add-automatic-style' to
12179         generate an automatic section name.
12181 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12183         * ob.el (org-babel-map-executables): Correctly position point when
12184         mapping hits an inline code block.
12186 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12188         * ob.el (org-babel-execute-src-block): Ensure params are
12189         incorporated *before* checking if evaluation is legal.
12191 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12193         * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
12194         marker so it is updated as required during export.
12196 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12198         * org-src.el (org-src-in-org-buffer): Run commands in the parent
12199         buffer.
12200         (org-edit-src-save): Use new macro.
12201         (org-src-tangle): Tangle the parent buffer.
12203 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12205         * org.el (org-set-font-lock-defaults): Fix bug in done
12206         headline fontification.
12208 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12210         * org.el (org-set-font-lock-defaults): Fix bug in done
12211         headline fontification.
12213 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12215         * org.el (org-return): Act normally when in code blocks.
12217 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12219         * org.el (org-in-src-block-p): New function.
12220         (org-context): Return new contexts :clocktable and :src-block.
12222 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12224         * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
12225         C-q' do the right thing even when point is before the first
12226         heading.
12228 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12230         * ob.el (org-babel-noweb-p): Disambiguate intersection name.
12232 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12234         * org-odt.el (org-odt-format-textbox): Honor user-specified
12235         width in captioned images.
12237 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12239         * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
12240         (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
12241         (org-babel-map-call-lines): Replace gensym with make-symbol.
12242         (org-babel-map-executables): Replace gensym with make-symbol.
12244 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12246         * ob-exp.el (org-babel-exp-results): Alter a copy of info.
12248 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12250         * org-html.el (org-export-as-html):
12251         Initialize `html-pre-real-contents' correctly.
12253 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12255         * org-html.el (org-export-as-html):
12256         Initialize `html-pre-real-contents' correctly.
12258 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12260         * ob-exp.el (org-babel-exp-code): Ensure code block name is a
12261         string on export.
12263 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12265         * ob-exp.el (org-babel-exp-code-template): Customizable code
12266         block export format string.
12267         (org-babel-exp-code): Customizable code block export.
12269 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12271         * ob-clojure.el (org-babel-execute:clojure): Remove dependency
12272         on deprecated swank-clojure.
12274 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12276         * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
12277         (org-babel-map-inline-src-blocks): Don't pollute symbol space.
12278         (org-babel-map-call-lines): Don't pollute symbol space.
12279         (org-babel-map-executables): Map over *all* executable Org-mode
12280         elements.
12281         (org-babel-execute-buffer): Execute elements in buffer order instead
12282         of arbitrarily.
12284 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12286         * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
12287         Those must be done with `copy-tree'.
12289 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12291         * org-src.el (org-edit-src-code): Referenced code block should
12292         not be evaluated on code block edit.
12294 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12296         * org.el (org-structure-template-alist): Use uppercase for
12297         keywords.
12299 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12301         * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
12302         code block results.
12304 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12306         * ob.el (org-babel-results-keyword): New user-configurable
12307         results keyword.
12308         (org-babel-where-is-src-block-result): Use new user-configurable
12309         results keyword.
12311 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12313         * org-indent.el (org-indent-refresh-maybe): Check for new
12314         headlines from the beginning of the line to be sure to catch
12315         any newly inserted headline there.
12317 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12319         * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
12320         (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
12322         * ob-tangle.el (org-babel-tangle-collect-blocks):
12323         Use `org-babel-noweb-p'.
12325         * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
12326         (org-babel-expand-src-block): Use `org-babel-noweb-p'.
12327         (org-babel-load-in-session): Use `org-babel-noweb-p'.
12328         (org-babel-merge-params): Use `org-babel-noweb-p'.
12329         (org-babel-noweb-p): New function used to determine if noweb
12330         expansion should be carried out in a given context.
12332 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12334         * org.el (org-update-property-plist): Fix bug in property list
12335         updates.
12337 2012-04-01  François Pinard  <pinard@iro.umontreal.ca>  (tiny change)
12339         * org.el (org-kill-line): Use `kill-visual-line' in
12340         `visual-line-mode'.
12342 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12344         * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
12345         is outside the current restriction.
12347 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12349         * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
12350         in from the agenda.
12352 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12354         * org.el: Honor existing restrictions when regenerating the agenda.
12356 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12358         * org-agenda.el: New alias for `list-diary-entries-hook'.
12360 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12362         * ob.el (org-babel-common-header-args-w-values): Add the new
12363         header argument name.
12364         (org-babel-insert-result): Respect the value of the :wrap header
12365         argument when inserting results.
12366         (org-babel-result-end): Find the end of arbitrarily named result
12367         blocks.
12369 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12371         * org-indent.el (org-indent-refresh-maybe): Check for new
12372         headlines from the beginning of the line to be sure to catch
12373         any newly inserted headline there.
12375 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12377         * org.el (org-update-property-plist): Remove old instances of
12378         property when adding a new value for property.
12380 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
12382         * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
12383         code block would cause an error when the block is was executed.
12384         This fix cures this behavior.
12386 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12388         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12389         pieces of a previous patch.
12391 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12393         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12395 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12397         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12398         pieces of a previous patch.
12400 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12402         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12404 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12406         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12407         instead of (end-of-buffer).
12409 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12411         * org-bbdb.el (name): Declare variable.
12412         (bbdb-record-get-field, bbdb-search-name)
12413         (bbdb-search-organization): Declare as part of ext:bbdb.
12415 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12417         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12418         instead of the obsolete `org-agenda-filter'.
12420 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12422         * org-agenda.el: Add an alias for `org-agenda-filter'.
12423         (diary-list-entries-hook): Use the non-obsolete hook.
12424         (org-agenda-filter-apply): Silent compiler warning.
12426 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12428         * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
12429         (org-ditaa-jar-option): New option.
12430         (org-babel-execute:ditaa): Use it.
12432 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12434         * ob.el (org-babel-balanced-split): Explicit checking if list
12435         before calling member.
12437 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12439         * ob.el (org-babel-balanced-split): Explicit checking if list
12440         before calling member.
12442 2012-02-14  Chong Yidong  <cyd@gnu.org>
12444         * org-footnote.el: Remove bogus defvar values (Bug#10745).
12446 2012-01-05  Eric Schulte  <eric.schulte@gmx.com>
12448         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12449         pieces of a previous patch.
12451         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12453 2012-01-05  Bastien Guerry  <bzg@gnu.org>
12455         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12456         instead of (end-of-buffer).
12458         * org-bbdb.el (name): Declare variable.
12459         (bbdb-record-get-field, bbdb-search-name)
12460         (bbdb-search-organization): Declare as part of ext:bbdb.
12462         * org-agenda.el: Add an alias for `org-agenda-filter'.
12463         (diary-list-entries-hook): Use the non-obsolete hook.
12464         (org-agenda-filter-apply): Silent compiler warnings.
12466         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12467         instead of the obsolete `org-agenda-filter'.
12469 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12471         * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
12472         and removing checkboxes with `C-u C-c C-c' on the first item
12473         of a list.  Also, don't reinitialize checkboxes that are
12474         already ticked.
12476 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12478         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
12479         value with only one digit for the hours.
12481 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12483         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12484         Remove deleted function `org-encode-for-stdout'.
12486 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12488         * org.el (org-show-context): Complete docstring.
12490 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12492         * org-agenda.el (org-agenda-filter-by-tag):
12493         Use `read-char-exclusive' instead of `read-char'.
12495 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12497         * org-clock.el (org-clock-in, org-clock-find-position):
12498         Remove erraneous space in regexp.
12500 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12502         * ob.el (org-babel-expand-noweb-references): Rather than using
12503         a pure regexp solution to resolve noweb references, actually
12504         check the information of every code block in the buffer.
12505         This will cause a slowdown in noweb reference expansion, but is
12506         necessary for correct behavior.
12508 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12510         * org.el (org-map-continue-from): Fix typo in docstring.
12512 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12514         * org.el (org-property-re): Also match cumulating properties
12515         like ":prop+:".
12517 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12519         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
12520         matching the end of a block.
12522 2012-01-03  David Maus  <dmaus@ictsoc.de>
12524         * org.el (org-open-at-point): Escape link path for http:,
12525         https:, ftp:, news:, and doi: links only if the path contains
12526         space or non-ascii character.
12528 2012-01-03  David Maus  <dmaus@ictsoc.de>
12530         * org.el (org-refile-get-targets): Ignore headlines without a
12531         true headline.
12533 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12535         * ob.el (org-babel-map-call-lines): Move this file from
12536         ob-lob.el into ob.el to ease dependency pains.
12538 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12540         * org-publish.el (org-publish-index-generate-theindex):
12541         Use theindex.inc for storing index entries, and theindex.org for
12542         including theindex.inc.
12544 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12546         * org-publish.el (org-publish-index-generate-theindex):
12547         Create proper file target for index entries in subdirectories.
12549 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12551         * org-protocol.el (org-protocol-check-filename-for-protocol):
12552         Fix spelling mistake.
12554 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12556         * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
12557         for title and subtitle.
12558         (org-odt-format-toc): New.
12559         (org-odt-format-preamble): New.  Users can redefine this to
12560         customize what goes before the document body.  Currently it
12561         outputs title, author and email, date and toc.
12562         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12563         (org-odt-format-date): Rename from
12564         `org-odt-iso-date-from-org-timestamp'.  Also added an
12565         additional param for format string.
12566         (org-odt-begin-annotation, org-odt-update-meta-file):
12567         Use `org-odt-format-date'.
12569 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12571         * org.el (org-at-drawer-p): New function.
12572         (org-end-of-line): Use it.
12574 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12576         * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
12577         Controls the method in which noweb references are expanded.
12578         (org-babel-expand-noweb-references): Bring back the option for
12579         regexp-based noweb expansion.
12581 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12583         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
12584         with only one digit for the hours.
12586 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12588         * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
12589         when ticking the checkbox of the first item.
12591 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12593         * org-list.el (org-list-write-struct): Add an optional
12594         argument for structure changes happening outside the function.
12596         * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
12597         item of a sub-list should toggle check-box presence of every
12598         item in the same sub-list.  Also fix check-box insertion on a
12599         single item.
12601 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12603         * org-agenda.el (org-agenda-filter-preset): New alias.
12604         (org-agenda-filter-by-category): New command.
12605         (org-agenda-mode-map): Add the new command.
12606         (org-agenda-custom-commands-local-options): Add category
12607         filter preset.
12608         (org-agenda-mark-filtered-text): Mark both tag and filter
12609         overlays.
12610         (org-agenda-category-filter-preset): New variable.
12611         (org-finalize-agenda, org-agenda-redo)
12612         (org-agenda-filter-make-matcher, org-agenda-filter-apply):
12613         Handle both category and tag filters.
12614         (org-agenda-filter-show-all-tag): Rename from
12615         `org-agenda-filter-by-tag-show-all'.
12616         (org-agenda-filter-show-all-cat): New function.
12617         (org-agenda-set-mode-name): Show the category filter in the
12618         modeline.
12620 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12622         * org-bbdb.el (org-bbdb-old): New variable.
12623         (org-bbdb-store-link, org-bbdb-open): Check for
12624         `org-bbdb-old'.
12625         (org-bbdb-open-old, org-bbdb-open-new): New functions.
12627 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12629         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12630         Remove deleted function `org-encode-for-stdout'.
12632 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12634         * org.el (org-check-dates-range): New command.
12635         (org-sparse-tree): Use it.
12637 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12639         * org-agenda.el (org-agenda-write): Rename from
12640         `org-write-agenda'.
12641         (org-agenda-mode-map, org-agenda-menu)
12642         (org-batch-store-agenda-views): Use new name
12643         `org-agenda-write'.
12645 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12647         * org.el (org-loop-over-headlines-in-active-region):
12648         Fix docstring.
12649         (org-todo, org-deadline, org-schedule): Honor the 'start-level
12650         value of `org-loop-over-headlines-in-active-region'.
12652 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12654         * org-archive.el (org-archive-subtree)
12655         (org-archive-to-archive-sibling, org-toggle-archive-tag):
12656         Bugfix: use 'region-start-level.
12658 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12660         * org.el (org-show-context): Complete docstring.
12662 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12664         * org-agenda.el (org-agenda-filter-by-tag):
12665         Use `read-char-exclusive' instead of `read-char'.
12667 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12669         * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12670         nil at each match.
12672 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12674         * org-clock.el (org-clock-in, org-clock-find-position):
12675         Remove erraneous space in regexp.
12677 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12679         * org-odt.el (org-odt-lib-dir): Add docstring.
12680         (org-odt-data-dir): New variable.  Use this variable to
12681         control the locations from which the ODT exporter picks the
12682         OpenDocument styles and schema files from.  Set this variable
12683         explicitly only if the in-built heuristics for locating the
12684         above files fails.
12685         (org-odt-styles-dir-list, org-odt-schema-dir-list):
12686         New variables.  Pay specific attention to (eval-when-compile ...)
12687         form through which Makefile's $(datadir) - contained in
12688         `org-odt-data-dir' - gets compiled in as a "hard coded"
12689         constant.
12690         (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12691         aid debugging.
12693 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12695         * org-archive.el (org-archive-subtree)
12696         (org-archive-to-archive-sibling, org-toggle-archive-tag)
12697         (org-archive-set-tag): Handle the 'start-level value for
12698         `org-loop-over-headlines-in-active-region'.
12700 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12702         * org.el (org-scan-tags): New parameter `start-level' to scan only
12703         through headlines of that level.
12704         (org-map-entries): New allowed value `region-start-level' for
12705         the `scope' parameter, to allow scanning through headlines of
12706         the same level than the first headline in the region.
12707         (org-loop-over-headlines-in-active-region): New allowed value
12708         'start-level.
12710 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12712         * org-archive.el (org-archive-subtree)
12713         (org-archive-to-archive-sibling, org-archive-set-tag)
12714         (org-toggle-archive-tag): Allow to loop over the active region by
12715         using `org-loop-over-headlines-in-active-region'.
12717 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12719         * org.el (org-todo): Allow to loop over the active region by
12720         using `org-loop-over-headlines-in-active-region'.
12722 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12724         * ob.el (org-babel-expand-noweb-references): Rather than using
12725         a pure regexp solution to resolve noweb references, actually
12726         check the information of every code block in the buffer.
12727         This will cause a slowdown in noweb reference expansion, but is
12728         necessary for correct behavior.
12730 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12732         * org.el (org-map-continue-from): Fix typo in docstring.
12734 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12736         * org-agenda.el (org-agenda-write-buffer-name): New variable.
12737         (org-write-agenda): Use it.
12739 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12741         * org-exp.el (org-export-date-timestamp-format): New option to
12742         define the way a timestamp in #+DATE will be exported.
12743         (org-infile-export-plist): Use the new option.
12745 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12747         * org.el (org-property-re): Also match cumulating properties
12748         like ":prop+:".
12750 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12752         * org-odt.el (org-odt-styles-dir): Assume that the styles
12753         files are located under `data-directory' of Emacs distribution
12754         as etc/org/OrgOdtStyles.xml and
12755         etc/org/OrgOdtContentTemplate.xml.  Also update docstring.
12756         (org-export-odt-schema-dir): Update docstring.
12758 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12760         * org-odt.el (org-odt-format-preamble): Honor following user
12761         options: author, timestamp and email.
12763 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12765         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12766         for matching the end of a block.
12768 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12770         * org-eshell.el: New file.
12772 2012-01-03  David Maus  <dmaus@ictsoc.de>
12774         * org.el (org-open-at-point): Escape link path for http:,
12775         https:, ftp:, news:, and doi: links only if the path contains
12776         space or non-ascii character.
12778 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12780         * org-beamer.el (org-beamer-fragile-re): Also recognize
12781         \lstinline and \verb as commands that make a frame fragile.
12783 2012-01-03  David Maus  <dmaus@ictsoc.de>
12785         * org.el (org-refile-get-targets): Ignore headlines without a
12786         true headline.
12788 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
12790         * ob-octave.el: Add graphical output to png file.
12792 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12794         * ob.el (org-babel-map-call-lines): Move this file from
12795         ob-lob.el into ob.el to ease dependency pains.
12797 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12799         * org-publish.el (org-publish-index-generate-theindex):
12800         Use theindex.inc for storing index entries, and theindex.org for
12801         including theindex.inc.
12803 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12805         * org-publish.el (org-publish-index-generate-theindex):
12806         Create proper file target for index entries in subdirectories.
12808 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12810         * org-protocol.el (org-protocol-check-filename-for-protocol):
12811         Fix spelling mistake.
12813 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12815         * org-odt.el (org-export-odt-default-org-styles-alist):
12816         Add styles for title and subtitle.
12817         (org-odt-format-toc): New.
12818         (org-odt-format-preamble): New.  Users can redefine this to
12819         customize what goes before the document body.  Currently it
12820         outputs title, author and email, date and toc.
12821         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12822         (org-odt-format-date): Rename from
12823         `org-odt-iso-date-from-org-timestamp'.  Also added an
12824         additional param for format string.
12825         (org-odt-begin-annotation, org-odt-update-meta-file):
12826         Use `org-odt-format-date'.
12828 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12830         * ob-ref.el (org-babel-ref-split-args): Now uses
12831         `org-babel-balanced-split'.
12833 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12835         * org-html.el (org-export-html-preamble)
12836         (org-export-html-postamble): Fix docstrings.
12837         (org-export-as-html): Insert the string used by a custom
12838         function for `org-export-html-pre/postamble'.
12840 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12842         * org.el (org-block-regexp)
12843         (org-heading-keyword-regexp-format)
12844         (org-heading-keyword-maybe-regexp-format): Move up to keep the
12845         byte-compiler happy.
12847 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12849         * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12850         New function.
12851         (org-agenda-tree-to-indirect-buffer): Use the new function.
12853 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12855         * org-html.el (org-export-as-html): Fix bug when inserting the
12856         output of a custom function for the pre/postamble.
12858 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12860         * org-odt.el (org-odt-format-source-code-or-example):
12861         Try loading htmlfontify safely.
12863 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12865         * org-odt.el (require): Require htmlfontify.el only if
12866         emacs-version is greater than 23.2.
12868 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12870         * org-faces.el (org-agenda-calendar-event)
12871         (org-agenda-calendar-sexp): Use the default face.
12873 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12875         * ob.el (org-babel-expand-noweb-references): Fix regexp.
12877 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12879         * org.el (Key bindings): Remap the Outline functions from
12880         `outline-mode-prefix-map' where possible.
12882 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12884         * org-html.el (org-export-as-html):
12885         Apply `org-export-html-get-todo-kwd-class-name' to the class
12886         attribute of the todo-keyword span tag, not to its text
12887         content.
12889 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
12891         * org-agenda.el (org-agenda-get-timestamps)
12892         (org-agenda-get-sexps): Use face for highlighting "calendar"
12893         events.
12895 2012-01-03  Peter Münster  <pmlists@free.fr>  (tiny change)
12897         * org.el (org-add-planning-info): Treat absolute time too.
12899 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12901         * org-table.el (org-table-transpose-table-at-point): Don't use
12902         ̀remove-if-not'.
12904 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12906         * org-clock.el (org-clock-out-if-current): Check the clock
12907         buffer is existing.
12909 2012-01-03  Bernt Hansen  <bernt@norang.ca>
12911         * org-clock.el (org-clock-out-if-current): Fix marker in no
12912         buffer error for task state change in an indirect buffer.
12914 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12916         * org.el (org-offer-links-in-entry): Make list when assigning
12917         a single link.
12919 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12921         * ob.el (org-babel-expand-noweb-references): Rather than
12922         collect the info from *every* block in the current buffer,
12923         simply regexp search for those blocks which appear to match
12924         the continued source name.
12926 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12928         * ob.el (org-babel-insert-result): Do not examplize wrapped
12929         scalar results, simply wrap them.
12930         (org-babel-result-end): Find the end of results wrapped in a
12931         RESULTS drawer.
12933 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12935         * org.el (org-todo-yesterday): When called from the agenda,
12936         use `org-agenda-todo-yesterday' instead.
12938 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12940         * org-table.el (org-table-transpose-table-at-point): New command.
12942 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12944         * org-html.el (org-export-html-headline-anchor-format):
12945         New option.
12946         (org-html-level-start): Use the new option.
12948 2012-01-03  Rob Giardina  <rob@giardina.us>  (tiny change)
12950         * org-agenda.el (org-agenda-with-point-at-orig-entry):
12951         Small bugfix.
12953 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12955         * org-special-blocks.el
12956         (org-special-blocks-convert-html-special-cookies):
12957         Close paragraph before opening or closing the <div>, and open
12958         paragraph after.  Also changed newline placement to be the same
12959         as for other blocks.
12961 2012-01-03  Roberto Huelga  <rhuelga@gmail.com>
12963         * org-clock.el (org-program-exists): Make the function
12964         compatible with darwin systems.
12966 2012-01-03  David Maus  <dmaus@ictsoc.de>
12968         * org-exp.el (org-export-normalize-links): Mark bracket links
12969         before normalization to avoid erroneous normalization of
12970         bracket link parts.
12972 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12974         * org-odt.el (org-odt-data-dir): Remove.
12975         (org-odt-styles-dir, org-export-odt-schema-dir):
12976         New variables.
12978         * org-odt.el, org-lparse.el: New files.
12980 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12982         * org-capture.el (org-capture-set-target-location): Set the
12983         capture default time also to the prompt time.
12985 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12987         * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
12988         and #+results lines during preprocess.
12990 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12992         * ob-picolisp.el (ob-comint): Required.
12993         (comint): Required.
12994         (cl): Required.
12995         (run-picolisp): Declared.
12996         (org-babel-execute:picolisp): Capture free variable, and replace
12997         function from cl-extra with core function.
12999 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13001         * ob-picolisp.el: New file.
13003         * org.el (org-babel-load-languages): Add Pico Lisp to the list
13004         of supported code block languages.
13006 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13008         * org-bibtex.el (org-bibtex): Now catches bibtex errors and
13009         directs the user to the location of the error.
13011 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13013         * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
13015 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13017         * ob.el (org-babel-execute-src-block): Fix typo.
13019 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13021         * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
13023 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13025         * org.el (org-link-unescape, org-link-unescape-compound):
13026         Fix two typos in docstrings.
13028 2012-01-03  Thomas Dye  <dk@poto.local>
13030         * ob-R.el: Added tikzDevice support.
13032 2012-01-03  David Maus  <dmaus@ictsoc.de>
13034         * org.el (org-clone-subtree-with-time-shift): Remove clocking
13035         information and empty drawers when preparing a clone.
13037 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13039         * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
13040         `org-export-blocks-postblock-hook'.
13042 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13044         * ob.el (org-babel-hide-result-toggle): Skip over header
13045         argument lines when toggling named code block visibility.
13047 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13049         * org-exp.el (org-export-grab-title-from-buffer):
13050         Don't license to kill text inside blocks when getting a title.
13052 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13054         * ob.el (org-babel-confirm-evaluate): Adding support for new
13055         range of :eval header arguments.
13057 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13059         * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
13060         during export when eval is set to "non-export".
13062 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13064         * ob-ref.el (org-babel-update-intermediate): New custom
13065         variable.
13066         (org-babel-ref-resolve): Optionally update the in-buffer results
13067         of code blocks which are evaluated to resolve references.
13069 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13071         * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
13072         split string when a character appears on either side of the
13073         split.
13074         (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
13076 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13078         * org.el (org-reduce): Add a less functional Org-mode copy of
13079         the cl reduce function.
13081 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13083         * org.el (org-fontify-meta-lines-and-blocks-1):
13084         Recognize "name" as a valid keyword that can preceed a block.
13086 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13088         * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
13089         in-verbatim check to inline code blocks, do lob code blocks as
13090         well.
13092 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13094         * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
13096 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13098         * ob.el (org-babel-named-src-block-regexp-for-name):
13099         Ensure that partial names are not matched.
13100         (org-babel-named-data-regexp-for-name): Ensure that partial names
13101         are not matched.
13103 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13105         * ob-ref.el (org-babel-ref-resolve): Search for named code
13106         blocks before named data.
13108         * ob.el (org-babel-named-data-regexp-for-name): New function for
13109         finding named data.
13111 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13113         * ob.el (org-babel-insert-result): Gracefully handle results
13114         which are neither lists nor strings.
13116 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13118         * ob-ref.el (org-babel-ref-resolve): Don't change location when
13119         looking at the contents.
13121 2012-01-03  Milan Zamazal  <pdm@zamazal.org>
13123         * org.el (org-set-outline-overlay-data):
13124         Use outline-flag-region to make a region invisible.  This ensures
13125         all necessary actions, especially adding
13126         isearch-open-invisible property, are applied.
13128 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13130         * ob-lob.el (org-babel-in-example-or-verbatim):
13131         Fix compilation warning.
13133 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13135         * ob.el (org-babel-find-named-result): Downcase "name" before
13136         comparison.
13138 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13140         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
13141         (org-babel-lisp-vector-to-list): Fix typo.
13143 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13145         * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
13146         execution contexts (e.g., call lines) look like commented
13147         lines.
13149         * ob.el (org-babel-get-src-block-info): Empty match string doesn't
13150         count.
13151         (org-babel-process-params): Always process parameters, even if
13152         you don't to table splitting.
13154 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13156         * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
13158         * ob-lob.el (org-babel-block-lob-one-liner-regexp):
13159         Update regular expression.
13160         (org-babel-inline-lob-one-liner-regexp): Update regular
13161         expression.
13163         * ob-ref.el (org-babel-ref-resolve): Notice when something that
13164         looks like a data results may actually be a code block.
13166         * ob-table.el: Updated documentation.
13168         * ob.el (org-babel-src-name-regexp): Simplify regexp.
13169         (org-babel-get-src-block-info): Update match strings.
13170         (org-babel-data-names): Simplify acceptable names.
13171         (org-babel-find-named-block): Indentation.
13172         (org-babel-find-named-result): Update to not return a code block
13173         as a result.
13175         * org.el (org-fontify-meta-lines-and-blocks-1):
13176         Removing references to old syntactic elements.
13177         (org-additional-option-like-keywords): Removing references to
13178         old syntactic elements.
13180 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13182         * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
13183         and `buffer-substring'.
13185 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13187         * org-agenda.el (org-agenda-get-todos): Prevent an error when
13188         encountering tasks with only the TODO keyword.
13190 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13192         * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
13193         environment when at an item or an headline, but allow LaTeX
13194         fragments.
13195         (org-cycle): Try to call `cdlatex-tab' before cycling item's or
13196         headline's visibility, in order to catch LaTeX fragments within.
13198 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13200         * org-exp-blocks.el (org-export-blocks-preprocess): Require a
13201         newline and spaces before a code block.
13203 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13205         * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
13206         over all call lines in a buffer.
13208         * ob.el (org-babel-execute-buffer): Execute call lines when
13209         executing an entire buffer.
13211 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13213         * ob.el (org-babel-process-params): Don't disassemble tables
13214         twice.
13216 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13218         * org-clock.el (org-clock-in, org-clock-find-position): Make space
13219         after date optional.
13221         * org.el (org-set-regexps-and-options)
13222         (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
13223         (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
13225 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13227         * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
13228         inside a verbatim block.
13230         * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
13231         blocks.
13233 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
13235         * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
13236         (org-babel-maxima-expand): Add input variables and graphic output.
13237         (org-babel-execute:maxima): Add input variables and graphic output.
13238         (org-babel-maxima-var-to-maxima): Add input variables and graphic
13239         output.
13240         (org-babel-maxima-graphical-output-file): Add input variables and
13241         graphic output.
13242         (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
13243         output.
13245 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13247         * ob-fortran.el: New file.  Adding support for Fortran code blocks.
13248         * org.el (org-babel-load-languages): Adding fortran to this list.
13250 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13252         * org-footnote.el (org-footnote-new): Cannot insert an inline
13253         footnote at beginning of line anymore.
13254         (org-footnote-at-reference-p): Don't recognize inline footnotes at
13255         beginning of line.
13257 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13259         * org.el (org-set-font-lock-defaults): Fix small error in matching
13260         group that prevented fontification of keywords like
13261         org-comment-string and stars in headlines.
13263 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13265         * org.el (org-catch-invisible-edits): New option.
13266         (org-self-insert-command, org-delete-backward-char)
13267         (org-delete-char): Call `org-check-before-invisible-edit'.
13268         (org-check-before-invisible-edit): New function.
13270 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
13272         * org-exp.el (org-solidify-link-text): Respect
13273         org-export-with-tags when forming the export title during subtree
13274         export.
13276 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13278         * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
13279         (org-heading-keyword-maybe-regexp-format): Globalize variables so
13280         they are accessible even in buffers not in Org mode.
13282 2012-01-03  David Maus  <dmaus@ictsoc.de>
13284         * org.el (org-insert-link): Don't use default-description if a
13285         `org-make-link-description-function' is defined.
13287 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13289         * org.el (org-set-regexps-and-options): Use property blocks for
13290         multi-line properties.
13292 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13294         * org.el (org-self-insert-command): Don't throw an error when
13295         editing takes place at the first point of the buffer.
13297 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13299         * org.el (org-self-insert-command): Unfold invisible region at
13300         point or right before point when editing.
13302 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13304         * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
13305         default.
13307 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13309         * org-html.el (org-html-expand): Prevent a nil value for STRING to
13310         return an error, just return nil.
13312 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13314         * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
13315         character in the #+LaTeX_CLASS option.
13317 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13319         * org-footnote.el (org-footnote-at-reference-p)
13320         (org-footnote-at-definition-p): Don't store text-properties of
13321         footnote definitions.
13323 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13325         * org-html.el (org-export-as-html): Convert special characters in
13326         meta tag "author", "date", "keyword" and "description".
13328 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13330         * org-capture.el (org-capture-before-finalize-hook): Docstring
13331         improvement: mention that the buffer is widened when this hook is
13332         run.
13334 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13336         * org-html.el (org-export-as-html): Make sure the div for preamble
13337         is not inserted when the preamble is empty.
13339 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13341         * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
13342         for filtering (shown in the mode-line).
13344 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13346         * ob.el (org-babel-parse-multiple-vars): Trimming excess white
13347         space from split variables.
13349 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13351         * org.el (org-link-search): Add an optional argument preventing
13352         function from revealing context around match.
13354 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13356         * org-agenda.el (calendar-check-holidays): Declare function.
13358 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13360         * org.el (org-return): Fix bug when matching the face property
13361         before following a link.
13363 2012-01-03  Matt Lundin  <mdl@imapmail.org>
13365         * org-agenda.el (org-class): Fix holidays symbol in org-class.
13366         This was resulting in an "Bad sexp..." warning.
13368 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13370         * org.el (org-scan-tags): Also remember
13371         `org-complex-heading-regexp' in a property.
13373 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13375         * org-latex.el (org-export-as-latex): Turn off auto-insert and set
13376         TeX-master to t when creating new TeX buffers.
13378         * org-docbook.el (org-export-as-docbook): Turn off auto-insert
13379         when creating new buffers.
13381         * org-html.el (org-export-as-html): Turn off auto-insert
13382         when creating new buffers.
13384 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13386         * org-table.el (org-table-formula-handle-first/last-rc): Do not
13387         expand pointers to first/last row/column that are inside a call to
13388         `remote'.
13389         (org-table-get-remote-range): Expand pointers to first/last
13390         row/column.
13392 2012-01-03  Michael Sperber  <sperber@deinprogramm.de>  (tiny change)
13394         * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
13395         compatibility issue when creating an indirect buffer.
13397 2012-01-03  Christophe Rhodes  <csr21@cantab.net>
13399         * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
13400         the same way than LATEX_CLASS.
13402 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13404         * org.el (org-return): Check the presence of the 'org-link face
13405         even in contexts where there is more than one face.
13407 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13409         * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
13410         argument names which should be inherited.
13412 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13414         * org.el (org-in-block-p): Return matched name of block, if any.
13415         It can be useful when a list of block names is provided as
13416         an argument.
13418 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13420         * org-docbook.el (org-export-as-docbook): Fix regexp.
13422         * org-html.el (org-export-as-html): Fix regexp.
13424 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13426         * org-agenda.el (org-class): Allow holidays to be skipped.
13428 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13430         * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
13432 2012-01-03  Peter Münster  <pmrb@free.fr>  (tiny change)
13434         * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
13435         strings before calling `string-match'.
13437 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13439         * org-footnote.el (org-footnote-at-reference-p)
13440         (org-footnote-at-definition-p): Remove text-properties from label.
13442 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13444         * org-html.el (org-export-as-html): Add a "title" meta tag.
13446 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13448         * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
13449         entries to pass to `org-agenda-get-day-entries' and allow to
13450         filter out entries using a function.
13452 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13454         * org-agenda.el: Fix small display bug.
13456 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13458         * org.el (org-set-regexps-and-options): Fix small bug introduced
13459         by commit dfcb6faef11a2439b56b18a6289803361d402130.
13461 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13463         * org-agenda.el (org-search-view): Simplify regexp.
13464         (org-agenda-get-todos): Use new format string.
13466         * org-archive.el (org-archive-all-done): Simplify regexp.
13468         * org-ascii.el (org-export-as-ascii): More accurate regexp.
13470         * org-colview.el (org-columns-capture-view): Use new format string
13471         and new string.
13473         * org-docbook.el (org-export-as-docbook): More accurate
13474         regexp.  Also use new regexp to match generic headlines.
13476         * org-exp.el (org-export-protect-quoted-subtrees): More accurate
13477         regexp.  Also use new regexp to match generic headlines.
13479         * org-html.el (org-export-as-html): More accurate regexp.
13480         Also use new regexp to match generic headlines.
13482         * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
13483         and now erroneous function.
13485         * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
13486         New variables.
13487         (org-set-regexps-and-options): Create regexps according to the
13488         following rule: use spaces only to separate elements from an headline,
13489         while allowing mixed tabs and spaces for any indentation job.
13490         (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
13491         (org-set-font-lock-defaults): Fontify again headlines with a keyword
13492         and no other text.  Use new format strings.
13493         (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
13494         (org-toggle-fixed-width-section): Use new format string.
13495         (org-todo): More accurate regexps.
13496         (org-point-at-end-of-empty-headline): Simplify regexp.
13497         (org-insert-heading): Headline can sometimes be nil.
13499 2012-01-03  David Maus  <dmaus@ictsoc.de>
13501         * org-agenda.el (org-agenda-bulk-action): Bind
13502         `org-loop-over-headlines-in-active-region' to nil to avoid conflict
13503         with bulk command.
13505 2012-01-03  David Maus  <dmaus@ictsoc.de>
13507         * org.el (org-deadline, org-schedule): Skip invisible headlines when
13508         mapping over headlines in active region.
13510 2012-01-03  David Maus  <dmaus@ictsoc.de>
13512         * org.el (org-loop-over-headlines-in-active-region):
13513         New customization variable.  Loop over headlines in active region.
13514         (org-schedule, org-deadline): Apply to headlines in region depending
13515         on new customization variable.
13517 2012-01-03  David Maus  <dmaus@ictsoc.de>
13519         * org.el (org-map-entries): Immediately return if scope is 'region
13520         but no region is active.
13522 2012-01-03  David Maus  <dmaus@ictsoc.de>
13524         * org.el (org-map-entries): Extend scope 'region to include entire
13525         body of last headline in active region.
13527 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13529         * org-src.el (org-edit-src-code): Fix typo-bug.
13531 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13533         * org.el (org-format-agenda-item, org-scan-tags):
13534         Rename `org-format-agenda-item' to `org-agenda-format-item'.
13536 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13538         * org-agenda.el: Replace `category-pos' by `org-category-pos' to
13539         silent byte-compiler.
13541 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13543         * org.el: Declare external function `cdlatex-compute-tables'.
13545 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13547         * org-latex.el (org-export-latex-set-initial-vars): Fix problem
13548         when matching #+LaTeX_CLASS.
13550 2012-01-03  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
13552         * org.el (org-link-search-must-match-exact-headline): Fix typos.
13554 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13556         * org-latex.el (org-export-latex-make-header): Add some hyperref
13557         options.
13559 2012-01-03  Kai Tetzlaff  <kai.tetzlaff@web.de>  (tiny change)
13561         * org-publish.el (org-publish-file): Add 'eval'ing the value of
13562         the :publishing-directory property before using it as destination
13563         of the publishing project.  This allows to construct the publish
13564         destination directory dynamically at run-time using the return
13565         value of a function.
13567 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13569         * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
13571 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13573         * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
13574         New option.
13575         (org-agenda-date-later): Improve the logical structure.
13577 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13579         * ob-calc.el (featurep): Require calc-store.
13581         * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
13582         special handling.
13584         * org-compat.el (fboundp): Support for XEmacs.
13586         * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
13588         * org-footnote.el (org-footnote-re): Optimize macro processing.
13590         * org.el (org-set-autofill-regexps): Xemacs compatibility.
13592 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13594         * ob.el (org-babel-balanced-split): Balance both [] and ()
13595         groupings.
13596         (org-babel-parse-header-arguments): Be sure to replace removed ":"
13597         characters.
13599 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13601         * ob.el (org-babel-parse-header-arguments): Quick fix for a
13602         tiny bug.
13604 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13606         * ob.el (org-babel-params-from-properties): Now splits
13607         multiple var arguments behind a single ":var".
13608         (org-babel-balanced-split): Separated balanced splitting of
13609         strings out into a new function.
13610         (org-babel-parse-multiple-vars): Splits multiple var arguments
13611         behind a single ":var".
13613 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13615         * org.el: Remap `outline-promote' and `outline-demote' keys to
13616         `org-promote-subtree' and `org-demote-subtree'.
13618 2012-01-03  Leo Liu  <sdl.web@gmail.com>
13620         * org-agenda.el (org-agenda-do-context-action): Check if marker is
13621         valid before use.
13623 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13625         * org-agenda.el (org-agenda-date-later): Fix shifting of date
13626         ranges.
13628 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13630         * ob.el: Removing `org-babel-params-from-buffer' and
13631         #+PROPERTIES: entirely.
13633         * ob-exp.el (org-babel-exp-src-block):
13634         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13636         * ob-lob.el (org-babel-lob-execute):
13637         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13639 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13641         * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13642         lines in favor of general #+PROPERTIES: lines.
13644 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13646         * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13647         buffer.
13649 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13651         * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13652         update the internal cdlatex tables.
13654 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13656         * ob-sql.el (org-babel-execute:sql): Respect literal-results
13657         options.
13659 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13661         * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13662         code block colname and rowname handling.
13664 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13666         * org-publish.el (org-publish-cache-file-needs-publishing):
13667         Fix regexp to not inlcude newlines.
13669 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13671         * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13672         restart.
13674 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13676         * org.el (org-fontify-entities): Match entities before
13677         numbers, as in `\sim2'.
13679 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13681         * org-agenda.el (org-agenda-date-later): Make pushing forward
13682         a past date to jump immedialtely to today.
13684 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13686         * org-exp.el (org-store-forced-table-alignment): Parse the
13687         column cookie for both alignment and width
13688         specification.  Store the resulting value in `org-col-cookies'
13689         property.  Retire the previously used `org-forced-aligns'
13690         property for consistency.  Renamed local variable `aligns' to
13691         `cookies'.
13693         * org-html.el (org-format-org-table-html):
13694         Use `org-col-cookies'.  Renamed local variable forced-aligns to
13695         col-cookies.
13697 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13699         * org.el (org-latex-to-mathml-jar-file)
13700         (org-latex-to-mathml-convert-command): New user-customizable
13701         variables.
13702         (org-format-latex-mathml-available-p, org-create-math-formula)
13703         (org-format-latex-as-mathml): New functions.
13704         (org-format-latex): Add a new local variable block-type that notes
13705         the nature of the equation - inline or display.  Associate it's
13706         value to `org-latex-src-embed-type' property of dvipng links.
13707         Add mathml as new processing type.
13709 2012-01-03  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
13711         * org.el (org-refile): Add tree name to prompt.
13713 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13715         * org-latex.el (org-export-latex-tables):
13716         Honor `org-export-latex-table-caption-above'
13717         (org-export-latex-table-caption-above): New option.
13719 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13721         * ob.el (org-babel-insert-header-arg): Now including language
13722         specific header arg values in insertion options.
13724 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13726         * ob.el (org-babel-insert-header-arg): Fix typo.
13728 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13730         * org-exp.el (org-export-number-lines): Modify.  Add a new
13731         parameter `preprocess' and use this for backend-agnostic
13732         handling of literal examples.
13734 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13736         * org.el (org-match-substring-regexp)
13737         (org-match-substring-with-braces-regexp): Allow subscripts and
13738         superscripts to start at beginning of line.
13740 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13742         * ob.el (org-babel-common-header-args-w-values): New variable to
13743         hold common header arguments and their default values.
13744         (org-babel-header-arg-names): Redefined using the new common
13745         header arg variable.
13746         (org-babel-insert-header-arg): New function to help when inserting
13747         header arguments.
13749 2012-01-03  David Maus  <dmaus@ictsoc.de>
13751         * org-html.el (org-html-handle-links): Remove unnecessary
13752         protection markers when publishing link in default format.
13754 2012-01-03  Pieter Praet  <pieter@praet.org>  (tiny change)
13756         * org-crypt.el (org-crypt-check-auto-save): New function, see
13757         next change.
13759         * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13760         check out into a separate function, and call it at a later
13761         point, to assure it only runs when visiting an encrypted
13762         entry.
13764 2012-01-03  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)
13766         * org.el (org-log-note-headings): Document new %d and %D
13767         escapes.
13768         (org-store-log-note): Implement new %d and %D escapes.
13770 2012-01-03  Dave Abrahams  <dave@boostpro.com>
13772         * org-agenda.el (org-agenda-follow-indirect): New option.
13773         (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13774         follow mode.
13775         (org-agenda-do-context-action): Also do indirect follow mode
13776         action.
13778 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13780         * ob-table.el (sbe): Fix typo in new sbe specification.
13782 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13784         * ob-table.el (sbe): If first variable is a string and not a
13785         cons cell, then interpret it as a string of header arguments
13786         to be passed to the code block.
13788 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13790         * ob-shen.el (shen-eval-defun): Declare external function.
13791         (org-babel-execute:shen): Move requirement of inf-shen into
13792         the function in which it is used to fix build error.
13794         * ob-shen.el: New file.
13796 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13798         * org.el (org-open-at-point): Make `org-open-at-point' only
13799         ask once about creating a new headline.
13801 2012-01-03  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
13803         * org.el (org-refile-targets): Elaborated the documentation of
13804         the variable as suggested by Dave Abrahams.
13806 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13808         * org.el (org-align-tags-here): Allow tags to be placed right
13809         after heading.
13810         (org-tags-column): Document the meaning of tags column 0.
13812 2012-01-03  Niels Giesen  <niels.giesen@gmail.com>
13814         * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13815         in agenda if start day is same as end day.
13817 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13819         * org.el (org-refile-get-location): Ignore errors when
13820         collection heading to be excluded.
13822 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13824         * org-special-blocks.el
13825         (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13826         strict problems by not enclosing special blocks in paragraph tags.
13828 2012-01-03  Bernt Hansen  <bernt@norang.ca>
13830         * org-html.el (org-export-as-html): Check string-match
13831         argument.
13832         (org-html-handle-time-stamps): Check string-match argument.
13834 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13836         * org-agenda.el
13837         (org-agenda-skip-additional-timestamps-same-entry):
13838         Change default value.
13840 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13842         * org.el (org-time-string-to-time):
13843         (org-time-string-to-absolute): Add optional arguments BUFFER and
13844         POS for error reporting.
13846         * org-agenda.el (org-get-all-dates):
13847         (org-agenda-get-timestamps, org-agenda-get-deadlines)
13848         (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13849         stamp parsing functions with information on where the
13850         timestamp was taken from.
13852 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13854         * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13855         after `show-all' in indirect buffer.
13857 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13859         * org-list.el (org-list-parents-alist): When no parent is found
13860         for an item, set it as the closest less indented item above.
13861         If none is found, make it a top level item.
13862         (org-list-write-struct): Externalize code.
13863         (org-list-struct-fix-item-end): New function.
13864         (org-list-struct): Remove a now useless fix.
13866         * org.el (org-ctrl-c-ctrl-c): Use new function.
13868 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13870         * org.el (org-end-of-line): When on an item, move point at the
13871         end of the line, but before any hidden text.  Thus, it's still
13872         possible to use commands, like `C-c C-c', acting at
13873         items.  This is still disabled if `org-special-ctrl-a/e'
13874         ignores `C-e'.
13876 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13878         * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13880 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13882         * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13883         infloop.
13885 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13887         * org-footnote.el (org-footnote-at-definition-p):
13888         Remove useless `org-re'.
13890 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13892         * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13893         is at a real footnote reference or definition before
13894         renumbering it.
13896 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13898         * org-footnote.el (org-footnote-goto-definition): This patch
13899         makes sure the function says when a definition has been
13900         found.  Thus, moving from the reference to the definition
13901         doesn't offer to create the latter again.
13903 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13905         * org-footnote.el (org-footnote-create-definition):
13906         Explicitly move point after tag, if it has just been
13907         inserted.
13909 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13911         * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13912         names on Windows systems.
13914 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13916         * org-footnote.el (org-footnote-create-definition): When the
13917         tag is missing, it is created before any existing footnote, or
13918         at end of buffer.  In the latter case, the marker pointing at
13919         the position where the new footnote is going to be inserted
13920         (at end of buffer) stays before the tag.  This patch makes
13921         sure that the marker will be kept after the tag.
13923 2012-01-03  Eli Zaretskii  <eliz@gnu.org>
13925         * org.el (org-mode): Force left-to-right paragraphs in Org
13926         buffers.  For a related discussions, see
13927         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13929 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13931         * ob-asymptote.el (org-babel-asymptote-define-type):
13932         Silence byte-compiler.
13934 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13936         * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13937         evaluation.
13939 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13941         * org-bibtex.el (org-bibtex-type-property-name):
13942         Configurable property name for bibtex entry types.
13943         (org-bibtex-headline): Use new configurable property name.
13944         (org-bibtex-check): Use new configurable property name.
13945         (org-bibtex-create): Use new configurable property name.
13946         (org-bibtex-write): Use new configurable property name.
13948 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13950         * org.el (org-paste-subtree): Remove unnecessary `concat'.
13952 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13954         * org.el (org-paste-subtree): Remove useless (concat ...).
13956 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13958         * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13959         characterp with integerp (which should work w/Emacs22).
13961 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13963         * org-footnote.el (org-footnote-at-definition-p): Context must
13964         be valid at the beginning of line, not at point.
13966 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13968         * ob-tangle.el (org-babel-tangle-collect-blocks):
13969         Better delimiting of Org-mode text preceding a code block.
13971 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13973         * ob.el (org-babel-get-src-block-info): Fixing bug,
13974         accidentally deleted variable values.
13976 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13978         * ob-tangle.el (org-babel-process-comment-text):
13979         Customizable function to process comment text.
13980         (org-babel-tangle-collect-blocks): Make use of new
13981         customizable processing function.
13982         (org-babel-spec-to-string): Call customizable function rather than
13983         `org-babel-trim'.
13985 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13987         * ob-R.el (org-babel-execute:R): Collect and pass along the
13988         result-params.
13989         (org-babel-R-evaluate): Accept result-params and if "scalar" or
13990         "verbatim" don't process output.
13991         (org-babel-R-evaluate-session): Accept result-params and if
13992         "scalar" or "verbatim" don't process output.
13994 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13996         * ob.el (org-babel-merge-params): Differentiate between result
13997         types and wrappers.
13999 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14001         * ob.el (org-babel-get-src-block-info): Check that
14002         functional-syntax variables are initialized.
14004 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14006         * ob.el (org-babel-check-src-block): Adding a note for a
14007         future enhancement.
14009 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14011         * org-exp.el (org-export): Restore point when exporting a subtree.
14013 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14015         * ob.el (org-babel-parse-src-block-match): More robust to code
14016         blocks with empty bodies.
14018 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14020         * ob.el (org-babel-parse-src-block-match): Don't error on empty
14021         code block body.
14023 2012-01-03  David Maus  <dmaus@ictsoc.de>
14025         * org.el (org-open-at-point): Unescape plain link.
14027 2012-01-03  David Maus  <dmaus@ictsoc.de>
14029         * org-html.el (org-html-handle-links): Remove unnecessary link
14030         unescape.
14032 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14034         * ob.el (org-babel-merge-params): Better error message for
14035         unassigned variables.
14037 2012-01-03  Christian Egli  <christian.egli@alumni.ethz.ch>
14039         * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
14040         buffer local variables to the temporary buffer before
14041         exporting.
14043 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14045         * org-exp.el (org-export-select-backend-specific-text):
14046         Only remove commas on the front line of a code block.
14048 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14050         * ob.el (org-babel-demarcate-block): Copy headers and indent to
14051         column of point when a block is split.
14053 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14055         * ob.el (org-babel-insert-result): Corrected file insertion
14056         for inline results.
14058 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14060         * org-footnote.el (org-footnote-in-valid-context-p):
14061         No footnote in latex fragments.
14063 2012-01-03  Martin Rudalics  <rudalics@gmx.at>
14065         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14066         argument from `pop-to-buffer-same-window' call.
14068 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14070         * ob-R.el (org-babel-R-evaluate-session): Improve prompt
14071         detection regexp.
14073 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14075         * org-inlinetask.el (org-inlinetask-goto-end):
14076         Small refactoring.
14078 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14080         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14081         refactor code.
14082         (org-babel-asymptote-table-to-array): Remove function.
14084 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14086         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14087         recognize non-nested lists as uni-dimensional arrays.
14089 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14091         * ob.el (org-babel-params-from-properties): Don't check for
14092         header arguments in properties with leading ":"s.
14094 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14096         * org-inlinetask.el (org-inlinetask-goto-end):
14097         Correctly detect the end of an inlinetask when the next one starts
14098         immediately after the current one.  Also, return position of
14099         point.
14101 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14103         * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
14104         start at bol.
14106 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14108         * ob-asymptote.el (org-babel-asymptote-define-type):
14109         Elisp floats are asymptote reals.
14111 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14113         * ob-asymptote.el (org-babel-asymptote-table-to-array):
14114         Require a new argument TYPE specifying the detected type of
14115         array.  If it's a string array, make sure every element is
14116         returned as a string.  Also improve doc-string.
14117         (org-babel-asymptote-var-to-asymptote): Fill new argument.
14118         Small refactoring.
14119         (org-babel-asymptote-define-type): Rewrite to avoid stopping
14120         search at first float found, as strings have precedence over
14121         floats.
14123 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14125         * org-footnote.el (org-footnote-normalize): Be sure to separate
14126         the last footnote definition from the rest of the buffer.
14128 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14130         * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
14131         variable names.
14133 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14135         * org.el (org-latex-regexps): Allow matching latex fragments
14136         of type "$" and "$1" at beginning of line.
14138 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14140         * org-agenda.el (org-search-view, org-agenda-get-todos)
14141         (org-agenda-get-deadlines, org-agenda-get-scheduled):
14142         Add `category-pos' in let construct.
14144 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14146         * org-footnote.el (org-footnote-get-definition): The function has
14147         to widen buffer if definition has not been found in the current
14148         narrowed part.  Be sure to restore that restriction once the
14149         definition is found.
14151 2012-01-03  Michal Sojka  <sojka@os.inf.tu-dresden.de>  (tiny change)
14153         * org-icalendar.el (org-print-icalendar-entries): Make alarm
14154         duration RFC5545 compliant.
14156 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14158         * org-agenda.el (org-agenda-get-timestamps)
14159         (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
14160         the `org-category-pos' property.
14162 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14164         * org-html.el (org-export-html-divs): Improve docstring.
14166 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14168         * org-table.el (org-table-fix-formulas): Throw error when
14169         changing formula leads to an invalid formula.
14171 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14173         * org.el (org-archive-location): Minor docstring fix.
14175 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14177         * org.el (org-block-todo-from-checkboxes):
14178         `org-list-search-forward' should be used when looking for an
14179         item, as it filters out contexts where match couldn't be in a
14180         list.  Also use a correct item regexp, taking into account
14181         alphabetical ordered lists and counters.
14183 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14185         * org-html.el (org-html-make-link): Minor fix to the
14186         docstring.
14188 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
14190         * org-inlinetask.el (org-inlinetask): New customizable face
14191         for inlinetasks.
14193 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14195         * org-agenda.el (org-agenda-get-todos): Properly set
14196         `category-pos'.
14198 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14200         * org-list.el (org-list-struct-apply-struct): Don't use
14201         (copy-marker (point)) instead of (point-marker).
14203 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14205         * ob.el (org-babel-where-is-src-block-result): Don't try to
14206         resolve variables when simply checking if we're inside of a
14207         code block.
14209 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14211         * org.el (org-refresh-category-properties): New text property
14212         'org-category-position to point at the beginning of the
14213         headline from which the category is set.
14215 2012-01-03  Matt Lundin  <mdl@imapmail.org>
14217         * org.el (org-refile): Don't call `org-back-to-heading' with
14218         goto argument.
14220 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14222         * org.el (org-link-display-descriptive): Remove this option and
14223         rely on the existing `org-descriptive-links' instead.
14224         (org-toggle-link-display): Use `org-descriptive-links'.
14226 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14228         * ob-ref.el (org-babel-ref-resolve): Allow matching of results
14229         with tags after the result name.
14231 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14233         * org-table.el (org-table-get-specials): Allow the use of the
14234         underscore character in column names.
14235         (org-table-get-specials): Allow the use of the underscore
14236         character in field names.
14238 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14240         * org-exp-blocks.el (org-export-blocks-preprocess):
14241         Explicitly cleaning up markers.
14243 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14245         * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
14246         around `org-babel-exp-do-export' which now searches in this case.
14247         (org-babel-exp-results): Position the point in the inline source
14248         block during export evaluation.
14250         * ob.el (org-babel-insert-result): More readable code.
14252 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14254         * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
14255         in function rather than the superfluous (and now removed)
14256         org-specific function.
14258 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14260         * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
14261         inline code blocks which are already escaped.
14263 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14265         * org-exp-blocks.el (org-marker-from-point): Helper function to
14266         create markers at specific points in source buffers.
14267         (org-export-blocks-preprocess): Use markers instead of points
14268         to delimit code blocks.
14270 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14272         * org-list.el (org-list-separating-blank-lines-number):
14273         The behavior of `org-back-over-empty-lines' depends on the
14274         associated value of `headline' in
14275         `org-blank-before-new-entry', which is out of context in a
14276         list.
14278 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14280         * org-indent.el (org-indent-initialize-agent): When the current
14281         buffer isn't being watched, resume initialization of other watched
14282         buffers.  In that case, give hand to others idle timers or
14283         processes more frequently.
14284         (org-indent-agent-active-delay): Rename from
14285         `org-indent-agent-process-duration'.
14286         (org-indent-agent-passive-delay): New variable.
14287         (org-indent-agent-resume-delay): Change value.
14288         (org-indent-initialize-buffer): Change argument name.
14289         (org-indent-add-properties): Change argument name and type
14290         expected.  It must be a time value now.
14292 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14294         * org.el (org-set-property): Bugfix.
14296 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14298         * ob.el (org-babel-remove-result): Idempotent code block
14299         evaluation and result removal.
14301 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14303         * ob-ruby.el (org-babel-ruby-initiate-session): No longer
14304         require inf-ruby when no session evaluation takes place.
14306 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14308         * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
14309         the docstring.
14311 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14313         * org-agenda.el (org-agenda-custom-commands): Set a default
14314         value for this command.
14316 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14318         * org-agenda.el (org-agenda-include-all-todo): Declare this option
14319         as no longer working.
14320         (org-timeline): Rename the include-all argument to dotodo.
14321         (org-arg-loc): Rename from` org-include-all-loc'.
14322         (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
14323         because its function has changed.
14325 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14327         * org.el (org-fixup-indentation): Fix various small bugs.
14329 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14331         * org-indent.el (org-indent-agent-timer)
14332         (org-indent-agentized-buffers, org-indent-agent-resume-timer)
14333         (org-indent-agent-process-duration)
14334         (org-indent-agent-resume-delay): New variables.
14335         (org-indent-initial-marker): More accurate doc-string.
14336         (org-indent-initial-timer, org-indent-initial-resume-timer)
14337         (org-indent-initial-process-duration)
14338         (org-indent-initial-resume-delay)
14339         (org-indent-initial-lock): Remove variables.
14340         (org-indent-mode): Set up an agent to watch current buffer, or
14341         add it to the list of already watched buffers.
14342         (org-indent-initialize-agent): New function.
14343         (org-indent-initialize-buffer): Now requires a mandatory
14344         buffer argument.
14345         (org-indent-add-properties): Reflect changes to variables.
14346         The resume timer is now global.
14348 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14350         * org-footnote.el (org-footnote-normalize): Refactor, and fix
14351         some blank lines deletion.
14353 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14355         * org-indent.el (org-indent-mode):
14356         `org-indent-initial-resume-timer ' needs to be local.
14358 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14360         * org.el (org-fixup-indentation): Correctly indent meta lines.
14362 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14364         * org-indent.el (org-indent-set-line-properties): Add text
14365         properties down to the beginning of the next line.
14366         (org-indent-add-properties): When last position to add
14367         properties to is at the beginning of a line, all that line
14368         will have properties.
14370 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14372         * org-indent.el (org-indent-initial-resume-timer): New variable.
14373         (org-indent-initialize-buffer): Also resume after a small break.
14374         (org-indent-add-properties): When in asynchronous mode,
14375         proceed for 2 seconds, then take a break.
14377 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14379         * org-indent.el (org-indent-set-line-properties): New function.
14380         (org-indent-add-properties): Externalize worker function.
14382 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14384         * org-indent.el (org-indent-indent-buffer): Take into account
14385         narrowing.
14387 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14389         * org-indent.el (org-indent-modified-headline-flag): Rename from
14390         `org-indent-deleted-headline-flag'
14391         (org-indent-notify-modified-headline): Rename from
14392         `org-indent-notify-deleted-headline'.  Handle situations when
14393         the stars of an headline are modified.
14394         (org-indent-refresh-maybe): Remove case now handled by
14395         previous function.
14396         (org-indent-mode): Apply renames.
14398 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14400         * org-indent.el (org-indent-inlinetask-first-star):
14401         New variable.
14402         (org-indent-add-properties): Set the first star of inline-tasks'
14403         virtual indentation in `org-warning' face.
14405         * org-inlinetask.el (org-inlinetask-insert-task): Create a new
14406         inline-task slightly differently, so virtual indentation can
14407         be applied normally.
14409 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14411         * org-indent.el (org-indent-initial-marker)
14412         (org-indent-initial-timer, org-indent-initial-lock):
14413         New variables.
14414         (org-indent-mode): At initialization, start an idle timer to indent
14415         the whole buffer.  When the user is asking for control, interrupt the
14416         process, and resume at the same point when idle again.
14417         (org-indent-initialize-buffer): New function.
14418         (org-indent-add-properties): Throw an interrupt when indentation of
14419         buffer is stopped during initialization.
14421 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14423         * org-indent.el (org-indent-indent-buffer): Send more
14424         appropriate messages.
14426 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14428         * org-indent.el (org-indent-notify-deleted-headline)
14429         (org-indent-refresh-maybe): Replace `org-indent-outline-re'
14430         with `org-outline-regexp-bol'.
14432 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14434         * org-indent.el (org-indent-max-levels): Modify default value and
14435         add comment.
14436         (org-indent-add-properties): Pay attention to `org-indent-max'
14437         and `org-indent-max-levels' values.
14438         (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
14439         save excursion.
14441 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14443         * org-table.el (org-table-align): Remove now useless hack.
14445 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14447         * org-indent.el (org-indent-fix-section-after-idle-time):
14448         Remove variable.
14449         (org-indent-initialize): Remove timer.
14450         (org-indent-add-properties): Refactor code.
14451         (org-indent-refresh-subtree, org-indent-refresh-section)
14452         (org-indent-refresh-buffer, org-indent-set-initial-properties):
14453         Remove functions.
14454         (org-indent-deleted-headline): New variable.
14455         (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
14456         New functions.
14457         (org-indent-mode): Insert new functions into a hook.
14459 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14461         * org-indent.el (org-indent-mode): Completely refresh buffer
14462         before starting org-indent-mode.  Also set idle timer to refresh
14463         only visible portion of buffer, and refresh the subtree instead of
14464         section when promoting or demoting it.
14465         (org-indent-add-properties): Rewrite function to proceed line by
14466         line, as required by `wrap-prefix' specificity.
14467         (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
14468         (org-indent-refresh-view): New function.
14469         (org-indent-refresh-to, org-indent-refresh-section):
14470         Remove functions.
14472         * org.el (org-unfontify-region): Do not remove prefix
14473         properties when unfontifying a region.
14475 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14477         * org-colview.el (org-columns-cleanup-item): Correctly remove
14478         leading stars in items displayed in the agenda column view.
14480 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14482         * org-colview.el (org-columns-display-here): Clean up items in
14483         `org-agenda-mode' too.
14484         (org-columns-cleanup-item): Take a new argument CPHR to allow
14485         passing a complex heading regexp.  Rewrite to cleanup ITEM
14486         correctly in `org-agenda-mode'.
14488 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14490         * org-clock.el (org-duration-string-to-minutes)
14491         (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
14492         Move from org.el.
14494 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14496         * org.el (org-refile-active-region-within-subtree): New option to
14497         allow refiling a region that is part of a subtree without
14498         containing a subtree itself.  This default to `nil'.
14499         (org-refile): Use the new option.  Put point at the beginning
14500         of the region/subtree to be refiled, so that users understand
14501         what will be refiled.  Also improve the prompt to tell whether
14502         the user is refiling a region or a headline.
14504 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14506         * org.el (org-properties-postprocess-alist): New option to allow
14507         postprocessing the values of properties set through
14508         `org-set-property'.
14509         (org-set-property): Use this option.
14511 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14513         * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
14514         docstring.
14516 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14518         * org-archive.el (org-archive-to-archive-sibling):
14519         Use `org-outline-regexp' instead of `outline-regexp'.
14521 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14523         * org.el (org-between-regexps-p): Searching up to pos may
14524         match again beginning regexp.
14526 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14528         * org-footnote.el (org-footnote-goto-definition): Don't send
14529         erroneous message: suggested bindings might not be set outside
14530         Org.
14532 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14534         * org-footnote.el (org-footnote-normalize): Effectively remove
14535         any footnote tag in non Org buffers, as detailled in the
14536         docstring of `org-footnote-tag-for-non-org-mode-files'.
14538 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14540         * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
14541         notify the opportunity to set the variable to the empty string.
14542         (org-footnote-normalize, org-footnote-create-definition):
14543         Carefully check for inserted newlines and presence of the
14544         footnote tag.
14546 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14548         * org-footnote.el (org-footnote-at-definition-p): Re-use
14549         `org-footnote-definition-re'.
14551 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14553         * org-footnote.el (org-footnote-definition-re): Remove an
14554         useless group.
14555         (org-footnote-at-definition-p): Reflect removal of the group.
14557 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14559         * org.el (org-set-regexps-and-options): Enforce white space
14560         after todo keyword, as word boundary isn't sufficient (i.e. in
14561         matches * TODO/this).
14563 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14565         * org-inlinetask.el (org-inlinetask-export-templates):
14566         Fix template for html so that the exported file is valid
14567         xhtml.  Added template for odt.
14568         (org-inlinetask-export-handler): Fix typo in the regexp that
14569         trims content.  Make sure that the content is flanked by
14570         paragraph boundaries on either side.
14572 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14574         * org.el (org-add-planning-info): Don't insert superfluous
14575         space when updating timestamps.
14577 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14579         * org-agenda.el (org-cmp-effort): Fix docstring.
14581 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14583         * org-list.el (org-list-full-item-re): When an item has only a
14584         bullet and no space after it, list structure would not be
14585         recognized correctly.
14587 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14589         * org.el (org-overview): Use `outline-regexp' instead of
14590         `org-outline-regexp' so that global cycling using
14591         `orgstruct-mode' works outside of Org buffers.
14593 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14595         * org-table.el (org-table-eval-formula): Fix missing variable
14596         in let construct.
14597         (org-table-time-string-to-seconds): Fix missing variable in
14598         let construct.
14600 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
14602         * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
14603         case of wdays being 0.  Don't pass wdays to
14604         org-agenda-deadline-face, like before the old fix.
14605         (org-agenda-deadline-face): Revert to old state that was without
14606         wdays.
14608 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14610         * org-latex.el (org-export-latex-fixed-width): Only add one
14611         line break after exporting verbatim environments.
14613 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14615         * org-list.el (org-list-item-trim-br): New function.
14616         (org-list-to-generic): New parameter :nobr to use the new
14617         function.
14619 2012-01-03  David Maus  <dmaus@ictsoc.de>
14621         * org.el (org-paste-subtree): Fix wrong order of lines to move
14622         before pasting.
14624 2012-01-03  David Maus  <dmaus@ictsoc.de>
14626         * org.el (org-paste-subtree): Paste subtree above target
14627         headline if point is at bol.
14629 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14631         * org-list.el (org-toggle-checkbox): Don't clear lim-down
14632         while used in the while loop.
14634 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14636         * org-list.el (org-toggle-checkbox): Lim-down must be a
14637         marker.
14639 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14641         * org.el (org-activate-code): Correct regexp so ":.*" isn't
14642         matched.
14644 2012-01-03  David Maus  <dmaus@ictsoc.de>
14646         * org-macs.el (org-with-gensyms, org-called-interactively-p)
14647         (with-silent-modifications, org-bound-and-true-p)
14648         (org-unmodified, org-re, org-preserve-lc)
14649         (org-without-partial-completion, org-with-point-at)
14650         (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14651         (org-if-unprotected-at, org-with-remote-undo)
14652         (org-no-read-only, org-save-outline-visibility)
14653         (org-with-wide-buffer, org-with-limited-levels)
14654         (org-eval-in-environment): Provide edebug specifications.
14656         * org-src.el (org-src-do-at-code-block): Dto.
14658         * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14660         * org-compat.el (org-xemacs-without-invisibility): Dto.
14662         * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14664         * org-agenda.el (org-agenda-with-point-at-orig-entry)
14665         (org-batch-agenda, org-batch-agenda-csv)
14666         (org-batch-store-agenda-views): Dto.
14668         * ob.el (org-babel-do-in-edit-buffer)
14669         (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14671         * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14673         * ob-table.el (sbe): Dto.
14675         * ob-exp.el (org-babel-exp-in-export-file): Dto.
14677         * ob-comint.el (org-babel-comint-in-buffer)
14678         (org-babel-comint-with-output): Dto.
14680 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14682         * org-inlinetask.el (org-inlinetask-export-templates):
14683         Fix docstring.
14685 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14687         * org-inlinetask.el (org-inlinetask-insert-task): Error when
14688         trying to nest inline tasks.
14690 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14692         * org.el (org-activate-code, org-toggle-fixed-width-section)
14693         (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14694         fixed-width section.
14696 2012-01-03  David Maus  <dmaus@ictsoc.de>
14698         * org.el (org-paste-subtree): Don't eat headline when called
14699         with point at existing headline.
14701 2012-01-03  David Maus  <dmaus@ictsoc.de>
14703         * org.el (org-paste-subtree): Fix typo in variable name.
14705 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14707         * org-inlinetask.el (org-inlinetask-export-handler):
14708         Don't export inline tasks if the current backend has provided no
14709         entries in `org-inlinetask-export-templates'.
14711 2012-01-03  Valentin Wüstholz  <wuestholz@gmail.com>  (tiny change)
14713         * org.el (org-indent-line-function): Made the way in which
14714         example blocks are indented more flexible.
14716 2012-01-03  David Maus  <dmaus@ictsoc.de>
14718         * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14719         when creating final parameter alist.
14721 2012-01-03  David Maus  <dmaus@ictsoc.de>
14723         * org-agenda.el (org-batch-store-agenda-views): Use macro
14724         `org-eval-in-environment'.
14726 2012-01-03  David Maus  <dmaus@ictsoc.de>
14728         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14729         Use `org-eval-in-environment.
14731 2012-01-03  David Maus  <dmaus@ictsoc.de>
14733         * org-macs.el (org-make-parameter-alist): New function.
14734         Turn flat list of alternating symbol names and values into an alist
14735         with symbol name in car and value in cdr.
14737 2012-01-03  David Maus  <dmaus@ictsoc.de>
14739         * org-agenda.el (org-agenda-with-point-at-orig-entry):
14740         Use macro `org-with-gensyms'.
14742 2012-01-03  David Maus  <dmaus@ictsoc.de>
14744         * org-macs.el (org-substitute-posix-classes):
14745         New function.  Substitute posix classes in regular expression.
14746         (org-re): Use new function.
14748 2012-01-03  David Maus  <dmaus@ictsoc.de>
14750         * org-macs.el (org-eval-in-environment): New macro.  Evaluate FORM
14751         in ENVIRONMENT.
14753 2012-01-03  David Maus  <dmaus@ictsoc.de>
14755         * org-macs.el (org-preserve-lc, org-with-point-at)
14756         (org-with-remote-undo, org-save-outline-visibility): Use new
14757         macro `org-with-gensyms'.
14759 2012-01-03  David Maus  <dmaus@ictsoc.de>
14761         * org-macs.el (org-with-gensyms): New macro.  Wrap let-binding
14762         of SYMBOLS to new uninterned symbols around BODY.
14764 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14766         * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14767         the task starts a paragraph or the HTML exporter will produce
14768         an incorrect output.
14770 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14772         * org.el (org-return): When filling happens, `newline' can
14773         change match data, hence modifying the indent column.
14775 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14777         * org-footnote.el (org-footnote-new): Only forbid non-inlined
14778         footnotes at column 0, as only them can be confused with a
14779         footnote definition.
14781 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14783         * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14784         when available when prompted for a label.  Also rename a local
14785         variable to avoid confusion with an existing function.
14787 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14789         * org-footnote.el (org-footnote-label-history):
14790         Remove variable
14791         (org-footnote-new): Remove call to that variable.
14793 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14795         * org.el (org-insert-heading): With `force-heading' non-nil,
14796         inserting an heading before any headline, and just after a
14797         list would return an error.
14799 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14801         * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14803 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14805         * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14806         non-special when resolving bibtex values.
14808 2012-01-03  David Maus  <dmaus@ictsoc.de>
14810         * org.el (org-back-over-empty-lines): Don't move line upward
14811         if point is at eob.
14813 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14815         * org-footnote.el (org-footnote-in-valid-context-p):
14816         Check `org-protected' property before allowing to match a footnote.
14817         (org-footnote-at-reference-p): Remove an obsolete test.  It is now
14818         done in the previous function.
14820 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14822         * org.el (org-between-regexps-p): Previous name implied the
14823         function was related to blocks, which isn't mandatory.
14824         (org-narrow-to-block, org-in-block-p)
14825         (org-indent-line-function): Applied the rename.
14827         * ob-exp.el (org-babel-in-example-or-verbatim):
14828         Applied rename.  Also removed a white space.
14830 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14832         * org.el (org-in-regexps-block-p): Return an useful value when
14833         point is between START-RE and END-RE.  No incomplete block is
14834         allowed anymore.  Add another optional argument to bound the
14835         bottom part of the search.
14836         (org-narrow-to-block, org-in-block-p): Apply modifications.
14838 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14840         * ob.el (org-babel-src-block-regexp): If a code block has a
14841         body, its last character must be a newline.
14843 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14845         * org-footnote.el (org-footnote-next-reference-or-definition):
14846         If no more footnote is found, be sure to go back to the
14847         original position.  Otherwise, point might be left on a
14848         footnote-like element that has been dished out.
14850 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14852         * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14853         variable.
14855         * ob.el (defvar): Wrap variable declaration in
14856         `eval-when-compile'.
14858 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14860         * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14862 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14864         * ob-java.el (org-babel-execute:java): Allow cmdline flags
14865         during compilation and evaluation.
14867 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14869         * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14870         * ob-ref.el (org-babel-ref-parse): Fix typos.
14872 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
14874         * ob.el (org-babel-execute-src-block): Fix typo.
14876 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14878         * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14880 2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>
14882         * org-list.el (org-list-send-item): Use sort instead of sort*.
14884 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14886         * org-table.el (org-table-line-to-dline): Fix typo.
14888 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14890         * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14891         (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14892         (org-search-syntax-table, org-modify-diary-entry-string)
14893         (org-write-agenda):
14894         * org-bbdb.el (org-bbdb-anniv-export-ical):
14895         * org-bibtex.el (org-bibtex-fields):
14896         * org-icalendar.el (org-icalendar-date-time-format):
14897         * org-latex.el (org-export-latex-inline-image-extensions):
14898         * org-list.el (org-list-insert-item): Fix typos.
14900 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
14902         * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14904 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14906         * org.el (org-mode): Force left-to-right paragraphs in Org
14907         buffers.  For a related discussions, see
14908         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14910 2011-09-17  Juanma Barranquero  <lekktu@gmail.com>
14912         * org.el (org-toggle-pretty-entities): Fix typo in message.
14914 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
14916         * org-compat.el (org-pop-to-buffer-same-window): Delete.
14918         * ob-ref.el (org-babel-ref-goto-headline-id):
14919         * org.el (org-get-location, org-tree-to-indirect-buffer)
14920         (org-mark-ring-goto, org-refile, org-add-log-note)
14921         (org-revert-all-org-buffers, org-switchb)
14922         (org-cycle-agenda-files, org-submit-bug-report)
14923         (org-goto-marker-or-bmk):
14924         * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14925         * org-capture.el (org-capture-goto-target)
14926         (org-capture-fill-template):
14927         * org-clock.el (org-clock-goto):
14928         * org-ctags.el (org-ctags-visit-buffer-or-file):
14929         * org-exp.el (org-export-as-org):
14930         * org-feed.el (org-feed-show-raw-feed):
14931         * org-html.el (org-export-htmlize-generate-css):
14932         * org-id.el (org-id-goto):
14933         * org-irc.el (org-irc-visit-erc):
14934         * org-mobile.el (org-mobile-apply):
14935         * org-publish.el (org-publish-org-to, org-publish-find-date):
14936         * org-remember.el (org-go-to-remember-target):
14937         * org-src.el (org-src-switch-to-buffer)
14938         (org-edit-fixed-width-region): Use switch-to-buffer.
14940 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
14942         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14943         argument from pop-to-buffer-same-window call.
14945 2011-07-30  Carsten Dominik  <carsten.dominik@gmail.com>
14947         * ob.el (org-babel-src-block-regexp): If a code block has a body,
14948         its last character must be a newline.
14950 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14952         * org-pcomplete.el: New file.  Rename from org-complete.el.
14953         * org-complete.el: Delete file.
14955 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14957         * org-publish.el (org-publish-index-generate-theindex):
14958         Rename from `org-publish-index-generate-theindex.inc'.  Use the file
14959         theindex.org directly instead of including theindex.inc.
14960         (org-publish-projects): Don't delete .orgx files.
14961         (org-publish-aux-preprocess): Use .file.orgx.
14963 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14965         * org-html.el (org-export-html-preamble-format): New default for
14966         the HTML preamble: don't include the title.  Also improve the
14967         docstring.
14968         (org-export-html-postamble-format): Improve the docstring.
14969         (org-export-as-html): Add the title within the "content" div.
14970         This is necessary for interaction with the org-info.js script.
14972 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
14974         * org-table.el (org-table-edit-field): Display field coordinates.
14976 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14978         * org-publish.el (org-publish-find-title): Bugfix: kill buffers
14979         unless they were already visited.
14980         (org-sitemap-sort-files, org-sitemap-sort-folders)
14981         (org-sitemap-ignore-case, org-sitemap-requested)
14982         (org-sitemap-date-format, org-sitemap-file-entry-format):
14983         Use a correct prefix.
14984         (org-publish-projects): Make sure to delete .orgx files.
14985         (org-publish-index-generate-theindex.inc): Small docstring fix.
14987 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14989         * org-table.el (org-table-duration-custom-format): New defcustom
14990         to select output format of durations computations.
14991         (org-table-time-seconds-to-string): Use the new variable.
14992         (org-table-eval-formula): Allow `t' as a flag, on top of `T'.  `t'
14993         will use the custom output format defined in
14994         `org-table-duration-custom-format'.
14996 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14998         * org-list.el: Search blank lines down to the end of the item
14999         instead of stopping at the item, in order to possibly match such
15000         lines within the item.
15002 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15004         * org-latex.el (org-export-latex-href-format): Docstring fix to
15005         reflect the fact that you can use only one "%s".
15006         (org-export-latex-links): Allow `org-export-latex-href-format' to
15007         have only one "%s".
15009 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15011         * org.el (org-org-menu): Add `org-copy-visible' to the menu.
15013 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15015         * org.el (org-copy-visible): New command.
15017 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15019         * org-capture.el (org-capture-templates): Docstring fix.
15021 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15023         * ob.el (org-babel-view-src-block-info): New function to inspect
15024         code blocks.
15026         * ob-keys.el (org-babel-key-bindings): Key bindings for
15027         `org-babel-view-src-block-info'.
15029 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15031         * org-exp.el (org-infile-export-plist): Handle recursively
15032         included setup files.  The value of the last included file always
15033         takes precedence over previous values.
15035 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15037         * org.el (org-timestamp-change): Keep point in the same category
15038         when updating a time-stamp.  This requires to be careful, as,
15039         depending on the locale, name of day might change of length during
15040         the process.
15042 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15044         * org-footnote.el (org-footnote-create-definition): When skipping
15045         already written footnotes definition, the algorithme would assume
15046         each one was only one-line long.
15048 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15050         * org-table.el (org-table-eval-formula): Fix bug when a formula
15051         "range" is just one cell.
15052         (org-table-time-string-to-seconds): Don't check whether we
15053         manipulate a string.
15055 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15057         * org-exp.el (org-export-mark-list-end)
15058         (org-export-mark-list-properties): Don't remove the ending regexp
15059         when it consists in blank lines.
15061         * org-list.el (org-list-parse-list): Ditto, but remove it
15062         completely when it isn't made of blank lines (i.e. during export
15063         process).
15065 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15067         * org-table.el (org-table-time-string-to-seconds): Match either
15068         HH:MM:SS or HH:MM (instead of MM:SS).
15070 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15072         * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
15073         `org-ctrl-c-ctrl-c' cannot do anything useful in the given
15074         context.
15076 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15078         * org-html.el (org-export-html-with-timestamp)
15079         (org-export-html-html-helper-timestamp): These are obsolete
15080         variables as of Org version 7.7 as you can already export the
15081         timestamp from the preamble or the postamble.
15082         (org-export-html-before-content-div): Delete variable.
15083         (org-export-html-content-div): Obsolete variable as of 7.7.
15084         (org-export-html-divs): New variable to define divs used in
15085         HTML export.
15086         (org-export-as-html): Now the preamble and the postamble are
15087         surrounded by a <div ...>.  The name of the div is defined through
15088         `org-export-html-divs'.
15090 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15092         * org-table.el (org-table-eval-formula): Throw an error when
15093         trying to replace complex range with invalid references.
15095 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15097         * org-macs.el (org-with-limited-levels): Some functions, like
15098         `org-back-to-heading', being deeply based on outline-mode, still
15099         refer to `outline-regexp' instead of `org-outline-regexp'.
15101 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15103         * org.el (org-refile-get-targets): New optional argument
15104         `excluded-entries' to exclude entries from the targets.
15105         (org-refile-get-location): From an org-mode buffer, exclude
15106         current heading and subheadings from the list of targets when
15107         `org-refile-use-cache' is nil.
15109 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15111         * org.el (org-imenu-get-tree): Headlines start at bol.
15113 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15115         * ob-maxima.el: New file.  Fixed self-proclaimed file name.
15117 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15119         * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
15120         lists.
15122 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15124         * org.el (org-kill-is-subtree-p): Matched string needs to start at
15125         bol.
15127 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15129         * org.el (org-paste-subtree, org-kill-is-subtree-p)
15130         (org-yank-folding-would-swallow-text, org-yank-generic):
15131         Use `org-with-limited-levels' macro.
15133 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15135         * org-macs.el (org-with-limited-levels): Also modify, when
15136         appropriate, `org-outline-regexp-at-bol'.
15138 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15140         * org.el (org-timestamp-change): Some locales don't use the same
15141         length for date abbreviations.  Set a marker at origin in case
15142         length of new timestamp is different.
15144 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15146         * org.el (org-imenu-get-tree): Browse only true headlines.
15148 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15150         * org-archive.el (org-archive-subtree): While it might be possible
15151         to archive an headline of a temporary buffer (i.e. not visiting a
15152         file), it wouldn't be really sensible.
15154 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15156         * org-archive.el (org-extract-archive-file)
15157         (org-extract-archive-heading, org-archive-subtree):
15158         `buffer-file-name' is nil in an indirect buffer.  Thus, use
15159         `(buffer-file-name (buffer-base-buffer))', which will, in any
15160         case, return the file name.
15162 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15164         * org-capture.el (org-capture): If dired isn't loaded,
15165         `dired-buffers' isn't defined, and %F will fail.
15167 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15169         * ob-java.el (org-babel-execute:java): Don't create empty package
15170         directories.
15172 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15174         * ob-java.el: New file.
15176 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15178         * ob.el (org-babel-execute-src-block): Replace call to defunct
15179         function `org-babel-result-hash'.
15181 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15183         * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
15184         lines and headers in `message-mode'.
15185         (org-footnote-at-reference-p): Remove check for cited lines, this
15186         is now handled by the previous function.  Refactor.
15188 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15190         * org-capture.el (org-capture): If no file is associated to
15191         current buffer, check dired buffer and try to retrieve a possibly
15192         directory associated.
15194 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15196         * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
15197         (not original) file buffer.
15199         * ob.el (org-babel-current-result-hash): More informative name,
15200         and remove useless optional argument.
15202 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15204         * org.el (org-refile-get-location): Exclude current heading from
15205         the refile table.
15207 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15209         * org-footnote.el (org-footnote-at-reference-p): Test if match is
15210         in cited text, when replying to a message.
15211         (org-footnote-new): Do not create a new footnote at bol, as it
15212         might be seen as a definition.
15213         (org-footnote-at-definition-p): Ignore definitions in forbidden
15214         blocks, as it is already the case for references.
15216 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15218         * org-bibtex.el (org-bibtex-create, org-bibtex-write):
15219         Change argument of `org-toggle-tag' to 'on.  (Other arguments, e.g., t,
15220         have no effect).
15222 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15224         * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
15225         into empty strings.
15227 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15229         * org-list.el (org-list-insert-item): Actualize code comments.
15230         (org-insert-item): For consistency, point cannot be moved at a
15231         surprising place when the user is being asked to choose a new
15232         description term to insert in the list.  Point should stay where
15233         the user called the command.
15235 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15237         * org.el (org-outline-regexp-bol): New defconst.
15238         (org-outline-level, org-set-font-lock-defaults, org-cycle)
15239         (org-overview, org-content, org-flag-drawer)
15240         (org-first-headline-recenter, org-insert-todo-heading)
15241         (org-map-region, org-move-subtree-down, org-paste-subtree)
15242         (org-kill-is-subtree-p, org-context-p, org-refile)
15243         (org-refile-new-child, org-toggle-comment, org-todo)
15244         (org-add-planning-info, org-add-log-setup, org-scan-tags)
15245         (org-set-tags, org-insert-property-drawer)
15246         (org-prepare-agenda-buffers, org-preview-latex-fragment)
15247         (org-speed-command-default-hook, org-check-for-hidden)
15248         (org-toggle-item, org-toggle-heading)
15249         (org-indent-line-function, org-set-autofill-regexps)
15250         (org-fill-paragraph, org-toggle-fixed-width-section)
15251         (org-yank-generic, org-yank-folding-would-swallow-text)
15252         (org-first-sibling-p, org-goto-sibling)
15253         (org-goto-first-child, org-show-entry):
15254         Use `org-outline-regexp' and `org-outline-regexp-bol'.
15256 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15258         * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
15259         be checked for parent, not current headline.  Also, this function
15260         doesn't need to be interactive.
15262 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15264         * org-list.el (org-list-send-item, org-list-struct-apply-struct)
15265         (org-apply-on-list, org-toggle-checkbox): Make markers point
15266         nowhere when they have become useless.
15268 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15270         * org-list.el (org-list-insert-item): When insertion point is in
15271         some white line after the end of the list, remove all unnecessary
15272         white lines there before proceeding.  Also refactor a snippet of
15273         code.
15275 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15277         * org-latex.el (org-export-latex-image-default-option):
15278         Change default value.
15280 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15282         * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
15283         correctly fontified when the buffer is missing a final newline.
15285 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15287         * ob.el (org-babel-strip-protective-commas): Return `nil' instead
15288         of an error if no argument is given.
15289         (org-babel-parse-src-block-match): Make sure body is defined in
15290         the let construct.
15292 2011-07-28  Jon Anders Skorpen  <jonas@ifi.uio.no>  (tiny change)
15294         * org-publish.el (org-publish-cache-file-needs-publishing):
15295         Regexp did not find includes with double quoted file names.
15297 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15299         * org-footnote.el (org-footnote-normalize): Footnote section
15300         should be inserted only if there are footnotes to insert.
15302 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15304         * org-footnote.el (org-footnote-at-definition-p)
15305         (org-footnote-normalize): Do not grab signature in the definition
15306         of the last footnote.
15308 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15310         * org-bibtex.el (org-babel-trim): Declare this function to the
15311         compiler.
15312         (org-bibtex-get): Trimming whitespace off of bibtex fields read from
15313         properties.
15315 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15317         * org-exp.el (org-export-preprocess-string): Add the possibility
15318         to call recursively the function.  Also change order of some
15319         function calls.  Comment export process for footnotes.
15321         * org-footnote.el (org-footnote-normalize): Change the export
15322         specific parameter to hold properties of export.  Thus, the
15323         function can send every footnote definition in the buffer through
15324         `org-export-process-string'.
15326 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15328         * org-latex.el (org-export-latex-preprocess): First insert
15329         footnotes in the temporary buffer so their contents can properly
15330         be protected from further transformations if required.
15332 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15334         * org-list.el (org-list-indent-offset): New variable.
15335         (org-list-struct-fix-ind): Make use of the new variable.
15337 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15339         * org-latex.el (org-export-latex-list-parameters):
15340         Complete default value with cbtrans option.
15342         * org-list.el (org-list-to-latex): Set a more consistent default
15343         value.
15345 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15347         * org-list.el (org-list-swap-items): Move it to a meaningful
15348         position in source code (i.e. before any function using it), and
15349         rename it to an easier name.
15351 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15353         * org-list.el (org-list-separating-blank-lines-number): If there
15354         are blank lines already in the whole list, add a blank line.
15356 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15358         * org-list.el (org-list-use-circular-move): New variable.
15359         (org-previous-item, org-next-item): Make use of the new variable.
15360         (org-move-item-down, org-move-item-up): Make use of the new
15361         variable.  Simplify code.
15363 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15365         * org-list.el (org-list-delete-item, org-list-send-item):
15366         New functions.
15368 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15370         * org-agenda.el (org-agenda-bulk-custom-functions): New variable
15371         for custom bulk action functions.
15372         (org-agenda-bulk-action): Use it.
15374 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15376         * org-latex.el (org-export-latex-quotes): New defcustom.
15377         (org-export-latex-quotation-marks): Use it.
15379 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15381         * org-capture.el (org-capture-finalize): Bugfix about inserted
15382         blank line when killing the capture buffer and
15383         `org-blank-before-new-entry' tells to not insert anything before a
15384         heading.
15386 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15388         * org-html.el (org-export-html-content-div): Rename from
15389         `org-export-content-div'.
15390         (org-export-as-html): Use new name.
15392 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15394         * org-latex.el (org-export-latex-header-defs-re): Delete.
15396 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15398         * org.el (org-last-set-property): New variable.
15399         (org-read-property-name): Use the new variable: the prompt
15400         defaults to the last property set, unless there is a property in
15401         the line at point.
15403 2011-07-28  David Maus  <dmaus@ictsoc.de>
15405         * org-capture.el (org-capture-before-finalize-hook)
15406         (org-capture-after-finalize-hook, org-capture-mode-map)
15407         (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
15408         consistently refer to capture, not remember.
15410 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15412         * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
15413         "verbatim" results params.
15415 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15417         * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
15418         "scalar".
15420         * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
15421         "scalar".
15423         * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
15424         synonym for "scalar".
15426         * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
15427         "scalar".
15429 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15431         * ob.el (org-babel-script-escape): Parse odd parens when nested
15432         isnide lists.
15434 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15436         * ob-clojure.el (org-babel-execute:clojure): No longer force
15437         results into elisp if they don't naturally fit.
15439 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15441         * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
15442         already parsed lisp results.
15444 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15446         * org-list.el (org-plain-list-ordered-item-terminator):
15447         Remove incorrect assumption.
15449 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15451         * org-footnote.el (org-footnote-forbidden-blocks): Add missing
15452         exporter specific blocks.
15454         * org-list.el (org-list-forbidden-blocks): Ditto.
15456 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15458         * org-latex.el (org-export-latex-tables): Bugfix: remove
15459         properties from fields.
15461 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15463         * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
15464         to use `org-clock-timestamps-change'.
15466 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15468         * org.el (org-timestamp-up, org-timestamp-down): Mention time
15469         changes in the docstring.
15471 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15473         * org-clock.el (org-clock-remove-empty-clock-drawer): New function
15474         to remove empty clock drawer.
15475         (org-clock-out-hook): Add the new function as a hook.
15477 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15479         * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
15481 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15483         * org.el (org-in-block-p): New function.
15485         * org-footnote.el (org-footnote-forbidden-blocks): New variable.
15486         (org-footnote-in-valid-context-p): New function.
15487         (org-footnote-at-reference-p): Use new function.  Allow inline
15488         footnotes to start at bol.
15490 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15492         * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
15493         (org-lparse-warn): Use it.
15495 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15497         * org-ascii.el (org-export-as-utf8): Fix call to
15498         `org-called-interactively-p': it requires an argument.  Also fix
15499         the docstring.
15501 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15503         * ob-lilypond.el (show-all): Declaring function from outline.el.
15504         (org-babel-default-header-args:lilypond): Declared.
15505         (ly-process-basic): Use the appropriate prefix for the temporary
15506         file, and don't call a function from ob-dot.el.
15507         (ly-version): Let-bind a free variable.
15509 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15511         * ob-lilypond.el: New file.
15513 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15515         * org-publish.el
15516         (org-publish-cache-file-needs-publishing): Only check against .org
15517         files.
15519 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15521         * org.el (org-mode): Use `org-default' as the default face in
15522         org-mode.
15524 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15526         * org-publish.el
15527         (org-publish-cache-file-needs-publishing): Takes care of more
15528         recently included files, returning `t' in case the file including
15529         them needs to be republished.
15531 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15533         * org-exp.el (org-export-preprocess-string): If the last subtree
15534         is a task, footnotes may be removed along with the subtree.
15535         This patch ensures footnotes are put at the end of the buffer after the
15536         subtree has been removed.
15538 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15540         * org-footnote.el (org-footnote-at-reference-p): Verify that what
15541         looks like a footnote doesn't belong to a link.
15542         (org-footnote-next-reference-or-definition): Check more strictly
15543         footnote definitions.
15545 2011-07-28  Deech  <deech@deech-ThinkPad-X200.(none)>  (tiny change)
15547         * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
15548         language modes.
15550 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15552         * ob-python.el (org-babel-python-evaluate-session): Inhibit return
15553         of the eoe string during session evaluation.
15555 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15557         * ob-python.el (org-babel-python-evaluate-session):
15558         Enough newlines to ensure a return when ":results output :session".
15560 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15562         * ob-python.el (org-babel-python-evaluate-session): Introduced a
15563         new local function for sending input with a slight delay to allow
15564         pythong to re-draw the prompt.  No longer removing newlines inside
15565         code block bodies (was due to a defective regexp).
15567 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15569         * org-table.el (org-table-time-seconds-to-string):
15570         Use `org-format-seconds' instead of `format-seconds'.
15572 2011-07-28  David Maus  <dmaus@ictsoc.de>
15574         * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
15575         relative symlinks.
15577 2011-07-28  David Maus  <dmaus@ictsoc.de>
15579         * org-latex.el (org-export-latex-preprocess): Use function
15580         argument instead of dynamically scoped symbol.
15582 2011-07-28  David Maus  <dmaus@ictsoc.de>
15584         * org-freemind.el (org-freemind-convert-links-helper)
15585         (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
15586         (org-freemind-get-node-style): Use org-string-match-p for backward
15587         compatibility with Emacs 22.
15589 2011-07-28  David Maus  <dmaus@ictsoc.de>
15591         * org-html.el (org-export-html-protect-char-alist): Add missing
15592         :group keyword in defcustom.
15594 2011-07-28  David Maus  <dmaus@ictsoc.de>
15596         * ob-haskell.el (org-babel-haskell-export-to-lhs):
15597         Call `kill-buffer' with argument indiciating to kill current
15598         buffer.  Emacs 22 compatibility.
15600 2011-07-28  David Maus  <dmaus@ictsoc.de>
15602         * org-macs.el (org-without-partial-completion):
15603         Toggle partial-completion-mode only if it is turned on.
15605 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15607         * org.el (org-add-planning-info): Fix issues with timestamps not
15608         being inserted at the same position.
15610 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15612         * org-table.el (org-table-time-string-to-seconds)
15613         (org-table-time-seconds-to-string): New functions.
15614         (org-table-eval-formula): Implement the "T" (time) flag for
15615         computing durations.
15617 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
15619         * org.el (org-modules): Add org-lparse and org-odt as contrib
15620         modules.
15622 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15624         * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15625         lines.
15626         (org-additional-option-like-keywords): Include data as a synonym
15627         for results.
15629 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15631         * ob.el (org-babel-sha1-hash): Improving code layout and removing
15632         export-variable headers in cache sha1.
15634 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15636         * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15637         rescan all IDs when trying to resolve a reference.
15639 2011-07-28  Julien Barnier  <julien@nozav.org>
15641         * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15642         blocks lang attribute.
15644 2011-07-28  Eric S Fraga  <e.fraga@ucl.ac.uk>
15646         * org-latex.el (org-export-latex-timestamp-inactive-markup):
15647         New option to allow different markup for inactive timestamps.
15649 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15651         * ob-org.el (org-babel-expand-body:org): Implemented this
15652         function, only action is to expand variables.
15653         (org-babel-execute:org): Uses the new body-expansion function.
15655 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15657         * org-list.el (org-list-full-item-re): Allow counter and check-box
15658         to be separated by white spaces.
15659         (org-list-struct-apply-struct): Reflect changes made to
15660         `org-list-full-item-re'.
15662         * org-html.el (org-html-export-list-line): Recognize spaces
15663         between counter and check-boxes as valid.
15665         * org-docbook.el (org-export-docbook-list-line): Ditto.
15667 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15669         * org-list.el (org-list-insert-item): Make sure point is moved to
15670         the specified POS before starting the function.
15672 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15674         * org.el (org-activate-footnote-links): Properly fontify inline
15675         footnotes.
15676         (org-set-font-lock-defaults): Apply changes to previous function.
15678 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15680         * org-footnote.el (org-footnote-at-reference-p): First check if
15681         point is at the beginning of a footnote.  Indeed `org-in-regexp'
15682         first checks backwards and might find an incorrect footnote if
15683         they are side-by-side.
15685 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
15687         * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15688         (org-agenda-block-separator): Add nil to docstring and customization.
15689         (org-prepare-agenda): Skip agenda block separator additionally if
15690         `org-agenda-block-separator' is nil.
15691         (org-agenda-overriding-header): Improve docstring.
15693 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15695         * org.el (org-set-tags): Remove useless
15696         `org-without-partial-completion'.
15698 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15700         * org-footnote.el (org-fill-paragraph): Declare function for the
15701         compiler.
15703 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15705         * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15707 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15709         * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15710         to appease compiler.
15712 2011-07-28  Michael Markert  <markert.michael@googlemail.com>
15714         * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15715         all `org-called-interactively-p' function invocations.
15717         * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15718         to all `org-called-interactively-p' function invocations.
15719         (org-agenda-show-1): Adding optional argument KIND to all
15720         `org-called-interactively-p' function invocations.
15721         (org-agenda-set-tags): Adding optional argument KIND to all
15722         `org-called-interactively-p' function invocations.
15724         * org-ascii.el (org-export-as-latin1): Adding optional argument
15725         KIND to all `org-called-interactively-p' function invocations.
15726         (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15727         all `org-called-interactively-p' function invocations.
15728         (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15729         `org-called-interactively-p' function invocations.
15730         (org-export-region-as-ascii): Adding optional argument KIND to all
15731         `org-called-interactively-p' function invocations.
15733         * org-docbook.el (org-export-region-as-docbook): Adding optional
15734         argument KIND to all `org-called-interactively-p' function
15735         invocations.
15737         * org-html.el (org-export-region-as-html): Adding optional
15738         argument KIND to all `org-called-interactively-p' function
15739         invocations.
15741         * org-latex.el (org-export-region-as-latex): Adding optional
15742         argument KIND to all `org-called-interactively-p' function
15743         invocations.
15745         * org-table.el (org-table-blank-field): Adding optional argument
15746         KIND to all `org-called-interactively-p' function invocations.
15747         (org-table-current-column): Adding optional argument KIND to all
15748         `org-called-interactively-p' function invocations.
15749         (org-table-current-dline): Adding optional argument KIND to all
15750         `org-called-interactively-p' function invocations.
15751         (org-table-sort-lines): Adding optional argument KIND to all
15752         `org-called-interactively-p' function invocations.
15753         (org-table-sum): Adding optional argument KIND to all
15754         `org-called-interactively-p' function invocations.
15755         (org-table-rotate-recalc-marks): Adding optional argument KIND to
15756         all `org-called-interactively-p' function invocations.
15757         (org-table-eval-formula): Adding optional argument KIND to all
15758         `org-called-interactively-p' function invocations.
15759         (orgtbl-send-table): Adding optional argument KIND to all
15760         `org-called-interactively-p' function invocations.
15762         * org.el (org-mode): Adding optional argument KIND to all
15763         `org-called-interactively-p' function invocations.
15764         (org-copy-subtree): Adding optional argument KIND to all
15765         `org-called-interactively-p' function invocations.
15766         (org-paste-subtree): Adding optional argument KIND to all
15767         `org-called-interactively-p' function invocations.
15768         (org-store-link): Adding optional argument KIND to all
15769         `org-called-interactively-p' function invocations.
15770         (org-todo): Adding optional argument KIND to all
15771         `org-called-interactively-p' function invocations.
15772         (org-occur): Adding optional argument KIND to all
15773         `org-called-interactively-p' function invocations.
15775 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15777         * org-footnote.el (org-footnote-action): Offer to create
15778         definition when none is found.
15780 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15782         * org-footnote.el (org-footnote-re): Avoid matching inactive
15783         time-stamps or check-box cookies.
15784         (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15786 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15788         * org-exp.el (org-export-preprocess-string): If the last subtree
15789         is commented, footnotes inserted during normalizing at the end of
15790         the buffer may get deleted.  This patch ensures deletion comes
15791         first, normalization second.
15793 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15795         * org-exp.el (org-export-footnotes-data): Change docstring.
15796         (org-export-footnotes-seen): Rename from
15797         org-export-footnotes-markers.
15799         * org-ascii.el (org-export-as-ascii): Apply change.
15801         * org-docbook.el (org-export-as-docbook): Apply change.
15803         * org-footnote.el (org-footnote-normalize): Apply change.
15805         * org-html.el (org-export-as-html): Apply change.
15807         * org-latex.el (org-export-as-latex): Apply change.
15809 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15811         * org-latex.el (org-export-latex-preprocess): Rely on
15812         `org-export-footnotes-markers' to retrieve definition of the
15813         current footnote during export.
15815 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15817         * org-footnote.el (org-footnote-normalize): Remember footnotes
15818         seen so far by the exporter when choosing the new marker.
15820 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15822         * org-footnote.el (org-footnote-normalize): Make use of
15823         `org-footnote-insert-pos-for-preprocessor'.
15825 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15827         * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15828         property to footnote markers when preparing for exportation.
15830         * org-html.el (org-export-as-html): Read new property to decide
15831         when to export a footnote.
15833         * org-docbook.el (org-export-as-docbook): Read new property to
15834         decide when to export a footnote.
15836         * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15837         column 0 cannot end a list containing it by adding
15838         `original-indentation' property to it.
15840 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15842         * org-exp.el (org-export-preprocess-string): Normalize footnotes
15843         before marking lists ending.
15845         * org-latex.el (org-export-latex-preprocess): Work with labels as
15846         strings and not as numbers.
15848 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15850         * org-docbook.el (org-export-docbook-footnote-separator):
15851         New variable.
15852         (org-export-as-docbook): Add a separator between footnotes.
15854         * org-html.el (org-export-html-footnote-separator): New variable.
15855         (org-export-as-html): Add a separator between footnotes.
15857         * org-latex.el (org-export-latex-footnote-separator):
15858         New variable.
15859         (org-export-latex-preprocess): Add a separator between footnotes.
15861 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15863         * org-exp.el (org-export-footnotes-markers)
15864         (org-export-footnotes-data): New variables.
15865         (org-export-preprocess-string): Use a more explicit argument.
15867 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15869         * org-footnote.el (org-footnote-goto-definition): Now, determining
15870         if point is at a footnote reference is entirely determined by
15871         `org-footnote-at-reference-p'.  No need to check if pattern isn't
15872         at beginning of the line elsewhere.
15874 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15876         * org-footnote.el (org-footnote-next-reference-or-definition):
15877         New function.
15879         * org.el (org-activate-footnote-links): Activate the whole
15880         footnote, but only fontify its label.
15882 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15884         * org-footnote.el (org-footnote-normalize): Make use of changes to
15885         `org-footnote-at-reference-p' and creation of various functions..
15886         Also comment code.
15887         (org-footnote-get-next-reference, org-footnote-delete-references)
15888         (org-footnote-delete-definitions): New functions.
15889         (org-footnote-goto-previous-reference, org-footnote-all-labels)
15890         (org-insert-footnote-reference-near-definition, org-footnote-delete):
15891         Rewrite to use org-footnote-get-next-reference.
15893 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15895         * org-footnote.el (org-footnote-re): Don't end an inline footnote
15896         at unrelated closing square brackets.
15897         (org-footnote-at-reference-p): Improve accuracy of the function to
15898         determine if point is at a reference and to extract definition of an
15899         inline footnote.
15900         (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15901         (org-footnote-auto-adjust-maybe): Make use of previous function.
15903 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15905         * org.el (org-deadline, org-schedule):
15906         keep warning cookie when rescheduling/redeadlining.
15907         (org-time-stamp): Fix problem with warning cookie.
15909 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15911         * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15912         clojure source into elisp source.
15914 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15916         * ob.el (org-babel-script-escape): Treats {} in the same manner as
15917         [] and allows for forcing string conversion.
15919 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15921         * org-exp.el (org-export-select-backend-specific-text):
15922         Strip protective commas from literal code blocks.
15924 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15926         * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15928 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15930         * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15931         own function.
15932         (org-babel-ref-headline-body): Split out into its own function.
15933         (org-babel-ref-resolve): Using new functions, and alignment.
15935         * ob.el (org-babel-ref-goto-headline-id): Declare function.
15936         (org-babel-ref-headline-body): Declare function.
15937         (org-babel-expand-noweb-references): Now expands noweb references to
15938         headlines during expansion.
15940 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15942         * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15943         headlines by either global or custom id, in which case the
15944         contents of the headline are returned literally.
15946 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15948         * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15949         verbatim emphasis.
15950         (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15951         lines.
15953 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15955         * org-list.el (org-cycle-item-indentation): Cycling back to
15956         original position deleted any additional information in the item,
15957         like a counter or a tag.
15959 2011-07-28  Pieter Praet  <pieter@praet.org>
15961         * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15962         (org-decrypt-entry): Before decrypting, check whether
15963         `auto-save-mode' is enabled for the current buffer, and act on it
15964         according to how `org-crypt-disable-auto-save' is set.  Remove
15965         comment re "encrypt[ing] Org auto-saved buffers".  Remove on-init
15966         check for `auto-save-default'.
15968 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15970         * ob.el (org-babel-merge-params): Ensure variable parameters are
15971         not reversed.
15973 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15975         * ob.el (org-babel-insert-result): Fix results insertion for
15976         inline blocks which happen to start a line.
15978 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15980         * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
15981         if a call line is commented.
15983 2011-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15985         * org.el (org-read-property-name): Propose default property name.
15987 2011-07-28  Achim Gratz  <stromeko@nexgo.de>
15989         * org.el (org-log-into-drawer): Correct typo.
15991         * org-clock.el (org-clock-into-drawer): New function to change the
15992         location of clock events based on properties CLOCK_INTO_DRAWER or,
15993         as fallback, LOG_INTO_DRAWER, like it is already possible for
15994         state change logs.
15996         * org-clock.el (org-clock-jump-to-current-clock): Add statement to
15997         let clause to bind `org-clock-into-drawer' to result of function
15998         eval.
16000         * org-clock.el (org-clock-find-position): Add statement to let
16001         clause to bind `org-clock-into-drawer' to result of function eval,
16002         change let to let* since the binding is used later in the same
16003         clause.
16005 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16007         * ob-lob.el (require): Ensure 'cl is loaded during compilation so
16008         we can use flet.
16010 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16012         * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
16013         non-inline call lines.
16015 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16017         * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
16018         call_ blocks which aren't whitespace padded.
16020 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16022         * ob.el (org-babel-merge-params): Do not reverse variable order,
16023         and be sure to increment variable index as appropriate.
16025 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16027         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
16028         successfully match optional trailing header arguments in square
16029         brackets.
16030         (org-babel-lob-get-info): Update to match the new regexp.
16032 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16034         * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
16035         then allow them to be so.
16037 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16039         * ob.el (org-babel-merge-params): If variables are not named they
16040         are assigned in order.
16042 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16044         * ob.el: Remove code comment about online documentation.
16046         * ob-exp.el: Remove code comment about online documentation.
16048         * ob-lob.el: Remove code comment about online documentation.
16050 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16052         * org-exp.el (org-export-format-source-code-or-example):
16053         Fix signature of org-<backend>-format-source-code-or-example function.
16055 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16057         * ob.el (org-babel-sha1-hash): Replace call to
16058         called-interactively-p with backwards-compatible interactive-p.
16060 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16062         * ob-exp.el (org-babel-exp-lob-one-liners):
16063         Appropriate replacement of inline call blocks with their results.
16065 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16067         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
16068         trailing space ensures that the insertion of the results looks
16069         nice.
16071         * ob.el (org-babel-insert-result): Insert inline lob line results
16072         as inline results.
16074 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16076         * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
16077         appropriately given the style (block or inline) of the lob line.
16079         * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
16080         specific for block lob lines.
16081         (org-babel-inline-lob-one-liner-regexp): New regexp specific for
16082         inline lob lines.
16083         (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
16084         (org-babel-lob-get-info): Return info from *either* the block or
16085         inline lob lines.
16087 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16089         * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
16090         structure of the resulting info list.
16092         * ob-lob.el (org-babel-default-lob-header-args): Export the
16093         results of call lines by default.
16095 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>  (tiny change)
16097         * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
16098         property based on the ID property of the org entry to the first
16099         character of the diary entry.
16101 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16103         * org-footnote.el
16104         (org-footnote-insert-pos-for-preprocessor): New variable.
16105         (org-footnote-normalize): Use it.
16107 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16109         * org-exp.el (org-export-format-source-code-or-example):
16110         Simplify.  Also add `org-native-text' as a text property to the
16111         formatted text and throw error for unknown backends.
16113 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16115         * org-exp.el (org-export-format-source-code-or-example):
16116         Add support for: - custom formatters for existing backends - seamless
16117         plugging in of new backends.
16119 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16121         * org-exp.el (org-export-backends): New variable.
16122         (org-export-select-backend-specific-text): Use above
16123         variable.  Also mark text between #+BACKEND and
16124         #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
16125         This text property is currently used only by the new line-oriented
16126         generic exporter (which is not yet part of the repo).
16128 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16130         * org-exp.el (org-export): Reserve keys 'o' and 'O' for
16131         OpenDocumentText export and bind them to `org-export-as-odt' and
16132         `org-export-as-odt-and-open'.
16134 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16136         * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
16137         mode.
16139 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16141         * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
16142         lists before reading into emacs-lisp.
16144 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16146         * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
16148         * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
16150         * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
16152         * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
16154         * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
16156         * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
16158         * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
16160         * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
16162         * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
16164         * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
16166         * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
16168         * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
16170 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16172         * ob-awk.el: New file.
16174 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16176         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
16177         Respects ":results verbatim".
16179 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16181         * org-agenda.el (org-float): Aliases for `diary-float'.
16183 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16185         * ob-python.el (org-babel-python-evaluate-session):
16186         Send comint-send-input after every line when interacting with an
16187         interactive python process.
16189 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16191         * org-list.el (org-reset-checkbox-state-subtree): Make the command
16192         more robust, and correctly update check-boxes in the whole
16193         sub-tree.
16194         (org-update-checkbox-count): Fix bug accumulating count of checkboxes
16195         when walking a subtree.
16196         (org-update-checkbox-count-maybe): Add an optional argument passed to
16197         org-update-checkbox-count.
16199 2011-07-28  Teodor Zlatanov  <tzz@lifelogs.com>
16201         * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
16203 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16205         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
16206         ":results scalar" header argument combination.
16208 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16210         * org-src.el: Append a space character to copied text so that the
16211         final text property change is picked up correctly.
16213 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16215         * ob-tangle.el (org-babel-tangle-file): Use the new argument list
16216         to org-babel-tangle.
16217         (org-babel-tangle): Now when called with a prefix argument, only the
16218         current code block is tangled.
16220 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16222         * org-list.el (org-list-parse-list): Replace transitional
16223         check-boxes with "[CBTRANS]" string during parsing.
16224         (org-list-to-generic): Use the new property `:cbtrans' to configure
16225         export string for transitional check-boxes.
16227 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16229         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16230         Use stable internal `org-anniversary' instead of
16231         diary-anniversary.
16232         (org-class): New function.
16233         (org-diary-class): Use `org-class'.
16234         (org-anniversary, org-cyclic, org-date, org-block): New functions.
16236 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16238         * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
16239         of header argument names.
16241 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16243         * ob.el (org-babel-expand-noweb-references): Concatenating all
16244         bodies with the appropriate name or :noweb-ref header argument.
16246 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16248         * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
16249         work also when #+begin line is indentex.
16251 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16253         * ob.el (org-babel-src-block-regexp): Babel: code block may have
16254         empty bodies.
16256 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16258         * org-macs.el (org-without-partial-completion): Avoid calling by
16259         name a function unknown to the compiler but explicitly checked by
16260         program logic.
16262 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16264         * org-mouse.el (org-agenda-earlier): Declaring previously unknown
16265         function.
16266         (org-agenda-later): Declaring previously unknown function.
16267         (org-agenda-mode-map): Declaring previously unknown variable.
16269         * org.el (org-read-date-analyze): Explicitly ignore the return
16270         value of a function.
16272 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16274         * org-agenda.el (org-agenda-mode): Globally replace
16275         buffer-substring-filters with filter-buffer-substring-functions.
16277         * org-indent.el (org-indent-mode): Globally replace
16278         buffer-substring-filters with filter-buffer-substring-functions.
16280 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16282         * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
16283         #'(λ...).
16285         * org-attach.el: Replacing '(λ...) with #'(λ...).
16286         (org-attach-commit): Replacing '(λ...) with #'(λ...).
16288         * org-exp.el: Replacing '(λ...) with #'(λ...).
16289         (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
16291         * org-html.el: Replacing '(λ...) with #'(λ...).
16292         (org-export-as-html): Replacing '(λ...) with #'(λ...).
16294         * org-mouse.el: Replacing '(λ...) with #'(λ...).
16295         (org-mouse-popup-global-menu): Replacing '(λ...) with
16296         (org-mode-hook): Replacing '(λ...) with #'(λ...).
16297         (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
16299         * org-src.el: Replacing '(λ...) with #'(λ...).
16300         (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
16302         * org-table.el: Replacing '(λ...) with #'(λ...).
16303         (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
16305         * org.el: Replacing '(λ...) with #'(λ...).
16306         (org-confirm-shell-link-function): Replacing '(λ...) with
16307         (org-category): Replacing '(λ...) with #'(λ...).
16309 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16311         * org.el (mailcap-parse-mailcaps): Declaring functions used by
16312         `org-open-file'.
16313         (mailcap-extension-to-mime): Declaring functions used by
16314         `org-open-file'.
16315         (mailcap-mime-info): Declaring functions used by `org-open-file'.
16317 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16319         * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
16320         function `interactive-p'.
16321         (org-agenda-show-1): Replacing call to now-defunct function
16322         `interactive-p'.
16323         (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
16325         * org-ascii.el: Replacing call to now-defunct function
16326         `interactive-p'.
16327         (org-export-as-latin1): Replacing call to now-defunct function
16328         `interactive-p'.
16329         (org-export-as-latin1-to-buffer): Replacing call to now-defunct
16330         function `interactive-p'.
16331         (org-export-as-utf8): Replacing call to now-defunct function
16332         `interactive-p'.
16333         (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
16334         `interactive-p'.
16335         (org-export-region-as-ascii): Replacing call to now-defunct
16336         function `interactive-p'.Replacing call to now-defunct function
16337         `interactive-p'.
16339         * org-docbook.el: Replacing call to now-defunct function
16340         `interactive-p'.
16341         (org-export-region-as-docbook): Replacing call to now-defunct
16342         function `interactive-p'.Replacing call to now-defunct function
16343         `interactive-p'.
16345         * org-html.el: Replacing call to now-defunct function
16346         `interactive-p'.
16347         (org-export-region-as-html): Replacing call to now-defunct
16348         function `interactive-p'.Replacing call to now-defunct function
16349         `interactive-p'.
16351         * org-latex.el: Replacing call to now-defunct function
16352         `interactive-p'.
16353         (org-export-region-as-latex): Replacing call to now-defunct
16354         function `interactive-p'.Replacing call to now-defunct function
16355         `interactive-p'.
16357         * org-macs.el: Replacing call to now-defunct function
16358         `interactive-p'.
16359         (org-called-interactively-p): Replacing call to now-defunct
16360         function `interactive-p'.Replacing call to now-defunct function
16361         `interactive-p'.
16363         * org-table.el: Replacing call to now-defunct function
16364         `interactive-p'.
16365         (org-table-blank-field): Replacing call to now-defunct function
16366         `interactive-p'.
16367         (org-table-current-column): Replacing call to now-defunct function
16368         `interactive-p'.Replacing call to now-defunct function
16369         `interactive-p'.
16370         (org-table-current-dline): Replacing call to now-defunct function
16371         `interactive-p'.Replacing call to now-defunct function
16372         `interactive-p'.
16373         (org-table-sort-lines): Replacing call to now-defunct function
16374         `interactive-p'.
16375         (org-table-sum): Replacing call to now-defunct function
16376         `interactive-p'.
16377         (org-table-rotate-recalc-marks): Replacing call to now-defunct
16378         function `interactive-p'.
16379         (org-table-eval-formula): Replacing call to now-defunct function
16380         `interactive-p'.
16381         (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
16383         * org.el: Replacing call to now-defunct function `interactive-p'.
16384         (org-mode): Replacing call to now-defunct function
16385         `interactive-p'.
16386         (org-copy-subtree): Replacing call to now-defunct function
16387         `interactive-p'.
16388         (org-paste-subtree): Replacing call to now-defunct function
16389         `interactive-p'.
16390         (org-store-link): Replacing call to now-defunct function
16391         `interactive-p'.
16392         (org-todo): Replacing call to now-defunct function `interactive-p'.
16393         (org-occur): Replacing call to now-defunct function `interactive-p'.
16395 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16397         * ob-R.el (ess-local-process-name): This variable wasn't known to
16398         be defined.
16400         * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
16401         group specified.
16403         * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
16404         known to be defined.
16405         (org-babel-tangle-combine-named-blocks): Roll my own version of a
16406         forbidden common lisp function.
16408         * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
16409         called-interactively.
16411 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16413         * org-latex.el (org-export-latex-tables): Check for the
16414         "multiline" option and set the `floatp' option to true when
16415         multicolumn tables are requested.
16417 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16419         * org-html.el (org-export-as-html, org-html-level-start):
16420         Only convert section number underscores to dashes.
16422 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16424         * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
16425         `days-to-time, converting relative to 1 BC, while the code assumed
16426         it would return a time relative to 1970.
16428 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16430         * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
16431         inserting newlines between appended code blocks.
16433 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16435         * ob-exp.el: We may no longer need to export names along with code
16436         blocks.
16438 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16440         * org-exp-blocks.el (org-export-blocks-preprocess):
16441         Ensure balanced nested begin/end blocks in block bodies.
16443 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16445         * org-latex.el: Add -shell-escape to pdflatex commands.
16447 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16449         * ob-tangle.el (org-babel-tangle-named-block-combination):
16450         Block combination can now take a number of values.
16451         (org-babel-tangle-combine-named-blocks): More sophisticated block
16452         combination behavior.
16454 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16456         * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
16457         Switch to turn on the combination of code blocks of the same name.
16458         (org-babel-tangle-combine-named-blocks): Combine blocks of the same
16459         name.
16461 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16463         * ob-ruby.el (xmp): Declaring this function to appease the
16464         compiler.
16465         (org-babel-execute:ruby): "xmp" result option for outputting
16466         annotated source code.
16468 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>  (tiny change)
16470         * org-list.el (org-list-to-latex): The enumerate environment in
16471         latex increments the counter before using it.  Therefore, org-mode
16472         should set the enumeration counter to the desired value minus one.
16474 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>  (tiny change)
16476         * org.el (org-toggle-heading): More comments and fix number of
16477         stars when toggling from list items.
16479 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16481         * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
16482         effort that is accepted by `org-duration-string-to-minutes´.
16484 2011-07-28  Julien Barnier  <julien@nozav.org>
16486         * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
16487         wait until previous line execution is finished.
16489         * ob-comint.el (org-babel-comint-with-output): When looking for
16490         end-of-evaluation indicator, search forward for the indicator
16491         before searching forward for the prompt.
16493 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16495         * org-entities.el (org-entities): Fix HTML entity for degree.
16497 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16499         * org.el (org-auto-align-tags): Change docstring.
16500         (org-update-parent-todo-statistics): Keep tags aligned even when
16501         statistics cookies are shifting them.
16503         * org-list.el (org-update-checkbox-count): Keep tags aligned even
16504         when statistics cookies are shifting them.
16506 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16508         * ob.el (org-babel-sha1-hash): Don't modify info argument by
16509         side-effect when sorting result-params list.
16511 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16513         * ob.el (org-babel-result-regexp): Use non-shy group around
16514         `org-babel-data-names'.
16516 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16518         * org.el (org-insert-link): Set truncate-line in the *Org Link*
16519         buffer and make sure that it really is set there.
16521 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16523         * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
16524         changing how/if the current directory is represented to lisp code.
16525         (org-babel-execute:lisp): More general handling of the default
16526         directory value.
16528 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16530         * ob-lisp.el (org-babel-execute:lisp): Setting the value of
16531         *default-pathname-defaults* to either the value of the :dir header
16532         argument or the directory of the containing Org-mode file.
16534 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16536         * ob-lisp.el (org-babel-execute:lisp): No real functional change,
16537         just aesthetic.
16539 2011-07-28  Sébastien Delafond  <sdelafond@gmail.com>  (tiny change)
16541         * org.el (org-mode-flyspell-verify): This is useful when using
16542         flyspell with a non-English dictionary, or if some of your
16543         keywords are in another language.
16545 2011-07-28  David Maus  <dmaus@ictsoc.de>
16547         * org-exp.el (org-export): Use new compatibility function
16548         `org-activate-mark'.
16550         * org-compat.el (org-activate-mark): New function.
16551         Provide `activate-mark' if not present (e.g. Emacs 22).
16553 2011-07-28  David Maus  <dmaus@ictsoc.de>
16555         * org-table.el (org-table-follow-field-mode): Declare variable to
16556         keep byte compiler happy.
16558 2011-07-28  David Maus  <dmaus@ictsoc.de>
16560         * org-footnote.el (org-id-uuid): Declare function, silence byte
16561         compiler.
16563 2011-07-28  David Maus  <dmaus@ictsoc.de>
16565         * org-bibtex.el (org-bibtex-headline): Don't use equalp at
16566         run-time, compare downcased strings.
16568 2011-07-28  David Maus  <dmaus@ictsoc.de>
16570         * org-bibtex.el (org-id-locations): Declare variable to silence
16571         byte compiler.
16573 2011-07-28  David Maus  <dmaus@ictsoc.de>
16575         * org-id.el (org-id-locations): Fix docstring, remove reference to
16576         non-existent option.
16578 2011-07-28  David Maus  <dmaus@ictsoc.de>
16580         * org.el (org-self-insert-command): Use `delete-char' instead of
16581         `delete-backward-char'.
16583         * org-table.el (orgtbl-self-insert-command): Ditto.
16585 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16587         * org-latex.el (org-export-latex-special-chars): Save match data
16588         when checking for table.el table.
16590 2011-07-28  David Maus  <dmaus@ictsoc.de>
16592         * org.el (org-re-property): Move before its first use.
16594 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16596         * org-latex.el (org-export-latex-preprocess):
16597         Add `original-indentation' property to footnotes so they cannot
16598         possibly end a list by being less indented than the item they
16599         belong to.
16601 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16603         * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
16604         in `progn'.
16605         (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
16606         to swank.
16608 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16610         * org-clock.el (org-clocktable-write-default): Implement adding
16611         property columns to the clock table.
16613 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16615         * org.el (org-toggle-item): Move parenthesis to correct location.
16617 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16619         * org.el (org-default-priority):
16620         (org-priority-start-cycle-with-default): Improve docstring.
16621         (org-priority): Throw error when priority is out of range.
16623 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16625         * org.el (org-self-insert-command): Catch the case of
16626         `buffer-undo-list' eq t.
16628 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16630         * org.el (org-toggle-heading): Region should be considered as made
16631         of full lines, without the last one if region-end is at bol.
16632         Removed unused variables.  Refactored and commented code.
16634 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16636         * org.el (org-toggle-item): When region includes an headline less
16637         indented than first one, set it as the new reference.
16639 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16641         * org-list.el (org-list-to-subtree): If the list is before first
16642         heading and `org-odd-levels-only' is non-nil, the first item gets
16643         two stars instead of one.
16645         * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16646         `org-odd-levels-only' non-nil.
16648 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16650         * org.el (org-toggle-item): Converting an heading to an item would
16651         sometimes insert unnecessary spaces before it, and unwanted space
16652         with `org-indent-mode' on.  Changing some text into an item
16653         wouldn't always preserve indentation.
16655 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16657         * org-capture.el (org-capture-current-plist): Improve docstring.
16658         (org-capture-put): Add docstring.
16659         (org-capture-get): Add docstring.
16660         (org-capture-member): Add LOCAL argument.  Add docstring.
16661         (org-capture-set-target-location): Store the time received from a
16662         date prompt into the :prompt-time property.
16664 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16666         * org-exp.el (org-export-mark-list-properties): Even if context is
16667         invalid, mark list item with `list-context' property.
16669         * org-list.el (org-list-forbidden-blocks): Add exporters specific
16670         blocks to the list of forbidden blocks.
16672 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16674         * org-list.el (org-sort-list): Function tries to intern
16675         getkey-func before it is defined, so it's always nil.
16677 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16679         * org.el (org-babel-load-languages): Adding ob-awk to the list of
16680         executable languages.
16682 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16684         * org-table.el (org-table-get-field): Make sure the new field
16685         content is at least one space character.
16687 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16689         * org-crypt.el: Check for `daemonp' before using it.
16691 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16693         * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16694         :stdin header argument.
16695         (org-babel-execute:sh): Use the :stdin header argument.
16696         (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16697         new sub-function.
16698         (org-babel-sh-var-to-string): New function for converting elisp
16699         values to strings that make sense for parsing with sh.
16700         (org-babel-sh-evaluate): Adding "stdin" option to session and
16701         external evaluation options.
16703 2011-07-28  Roland Kaufmann  <rlndkfmn+orgmode@gmail.com>  (tiny change)
16705         * org-exp.el (org-remove-formatting-on-newlines-in-region):
16706         New function.
16707         (org-export-format-source-code-or-example):
16708         Call `org-remove-formatting-on-newlines-in-region'.
16710 2011-07-28  David Maus  <dmaus@ictsoc.de>
16712         * org.el (org-entry-put): Prevent adding of extra space to value
16713         if property already exists.
16715 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16717         * org-html.el (org-export-as-html): Don't expand non-data lines of
16718         table.el tables.
16719         (org-html-expand): Remove the (buggy) test for non-data lines
16720         in table.el tables.  The test is now done as part of
16721         org-export-as-html.
16722         (org-format-table-table-html-using-table-generate-source):
16723         Add test for spanning of cells in table.el tables using
16724         table.el's own library routine.  Optionally suppress export of
16725         simple table.el tables.
16726         (org-format-table-html): Remove the (buggy) test for spanned
16727         table.el tables.  The test is now done as part of
16728         org-format-table-table-html-using-table-generate-source.
16730 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16732         * org-latex.el (org-export-latex-special-chars): Do nothing in
16733         table.el tables.
16735 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16737         * org-capture.el (org-capture): Ignore errors when creating a
16738         link.
16740 2011-07-28  Nick Dokos  <nick@dokosmarshall.org>  (tiny change)
16742         * org-exp.el (org-export-define-heading-targets): Use dash instead
16743         of underscore to make labels valid.
16745 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16747         * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16748         is written to the results file before Emacs notices that the file
16749         exists.
16751 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16753         * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16754         defined locally on my system, but not globally in Emacs.
16756 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16758         * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16759         generate code block output.
16760         (org-babel-exp-code): Re-create the code block body for exporting
16761         source code.
16763 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16765         * org.el (org-read-date): Bury Calendar buffer after using it for
16766         selecting a date.
16768 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16770         * org-list.el (org-list-separating-blank-lines-number):
16771         Fix confusion between point and item beginning.  Now, if no
16772         information is available, truly follow user preference when it
16773         inserts blank lines manually.
16774         (org-list-insert-item): Send correct argument to the preceding
16775         function.
16777 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16779         * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16780         newline inside of the code block body.
16782 2011-07-28  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
16784         * ob.el: Avoid spurious matches to literal.
16786 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16788         * org.el (org-indent-line-function): Don't include #+include
16789         lines.
16791 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16793         * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16794         org-babel-check-src-block.
16796         * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16797         (org-babel-edit-distance): Returns the edit distance of two
16798         strings.
16799         (org-babel-check-src-block): Check a code block for errors.
16801 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16803         * org-capture.el (org-capture-templates): Fix bug in customization
16804         setup.
16806 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16808         * org-table.el
16809         (org-table-exit-follow-field-mode-when-leaving-table): New option.
16810         (org-table-check-inside-data-field): New optional argument
16811         `noerror'.  When set, the function will only return nil instead of
16812         throwing an error.
16813         (org-table-edit-field): Interpret double prefix argument, and improve
16814         the properties of the editing window.
16815         (org-table-follow-field-mode): New minor mode.
16816         (org-table-follow-fields-with-editor): New function.
16818 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16820         * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16821         first, then check if timestamps cause exclusion.
16823         * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16824         if timestamps cause exclusion.
16826 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16828         * org-list.el (org-list-full-item-re): Allow description term to
16829         have a newline character after the colons.
16831 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16833         * org-list.el (org-sort-list): No longer ignore with-case
16834         argument: the function sorted case-sensitively, regardless of
16835         argument.
16837 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16839         * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16841         * ob.el (org-babel-data-names): Configurable list of names of
16842         data.
16843         (org-babel-result-regexp): Using new results regexp.
16845 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16847         * org.el (org-special-properties): Add CLOCKSUM to the special
16848         properties.
16850 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16852         * ob-exp.el (org-babel-exp-in-export-file):
16853         Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16855 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16857         * org-exp.el (org-export-add-options-to-plist): Use the right
16858         match group.
16860 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16862         * org-latex.el (org-export-latex-preprocess): Protect index string.
16864 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16866         * org-latex.el (org-export-latex-preprocess): Pipe index entries
16867         through `org-export-latex-fontify-headline'.
16869 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16871         * org-exp.el (org-export-add-options-to-plist): Fix the option
16872         parser.
16874 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16876         * org-latex.el (org-export-latex-preprocess): Replace index
16877         entries.
16879 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16881         * org.el (org-structure-template-alist): Add an easy template for
16882         index (i), and move include file to I from i.
16884 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16886         * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16887         line to `org-offer-links-in-entry'.
16889 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16891         * org-bibtex.el (org-bibtex-search): New function.
16892         (org-bibtex-export-to-kill-ring): New function.  Export to kill
16893         ring.
16894         (org-bibtex-create-in-current-entry): New function
16895         (org-bibtex-create): Make it easier to add bib fields to an
16896         existing headline.
16897         (org-bibtex-export-arbitrary-fields)
16898         (org-bibtex-treat-headline-as-title): Fix typos
16899         (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16900         from type completion.
16902 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16904         * org-bibtex.el (org-bibtex-treat-headline-as-title):
16905         New defcustom.
16906         (org-bibtex-headline): Only use headline text (not TODO or other
16907         metadata) to generate title field and auto key.
16908         (org-bibtex-fleshout): Allow user to choose whether to treat
16909         headline as title.
16911 2011-07-28  Tom Dye  <tsd@tsdye.com>
16913         * org-bibtex.el: Added crossref field to other fields.
16915 2011-07-28  Tom Dye  <tsd@tsdye.com>
16917         * org-bibtex.el: Add crossref option to incollection.
16919 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16921         * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16922         as field.
16924 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16926         * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16927         warn if a duplicate ID is generated.
16929 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16931         * org-bibtex.el (org-bibtex-tags): New variable.
16932         (org-bibtex-tags-are-keywords): New variable.
16933         (org-bibtex-no-export-tags): New variable.
16934         (org-bibtex-headline): Export tags as comma-separated bibtex
16935         keywords.
16936         (org-bibtex-read): Import bibtex keywords field as tags.
16938 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16940         * org-publish.el (org-publish-find-date): Optimization.
16942 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
16944         * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16945         when following link.
16947 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16949         * org-publish.el (org-publish-project-alist): Document new
16950         :sitemap-sans-extension property.
16951         (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16952         setting.
16954 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16956         * org.el (org-remove-uninherited-tags): Rename from
16957         `org-remove-iniherited-tags'.
16958         (org-scan-tags): Fix typo in function call.
16959         (org-get-tags-at): Fix typo in function call.
16961 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16963         * org.el (org-get-tags-at): Don't include filetags if local is t.
16965 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16967         * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16968         dispatch functions, wrap body in `(do )'.
16970 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16972         * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
16973         resulted in the creation of multiple overlays in src blocks.
16975 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16977         * ob-clojure.el (org-babel-execute:clojure): If results are not
16978         readable by lisp, then return them as a string.
16980 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16982         * org-bibtex.el (org-bibtex): Now prompts for a file name.
16984 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16986         * org-bibtex.el (org-bibtex-create): Adding prefix argument which
16987         will result in prompting for optional fields.
16989 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16991         * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
16992         which was causing compile problems.
16993         (org-bibtex-fleshout): Rename flet function `get' which was causing
16994         compile problems.
16995         (org-bibtex-write): Rename flet function `get' which was causing
16996         compile problems.
16998 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17000         * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
17001         never starts with a number.
17003 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17005         * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
17006         (org-bibtex-key-property): New option.
17007         (org-bibtex-put): Make use of new `org-bibtex-key-property'
17008         variable.
17009         (org-bibtex-headline): Make use of new
17010         `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
17011         variables.
17012         (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
17013         variable.
17014         (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
17015         variable.
17016         (org-bibtex-write): Make use of new `org-bibtex-key-property'
17017         variable.
17019 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17021         * org-bibtex.el: Updating Copyright dates, author information,
17022         commentary and history notes.
17023         (org-bibtex-types): List of bibtex types with descriptions and
17024         required and optional fields.
17025         (org-bibtex-fields): List of bibtex fields with descriptions.
17026         (*org-bibtex-entries*): Special variable to hold parsed bibtex
17027         entries.
17028         (org-bibtex-autogen-keys): Custom variable controlling whether
17029         bibtex keys are automatically generated
17030         (org-bibtex-prefix): Custom variable allowing use of optional prefix
17031         for bibtex properties in Org-mode headlines.
17032         (org-bibtex-get): Helper function for accessing bibtex elements of a
17033         property list.
17034         (org-bibtex-put): Helper function for inserting bibtex element into
17035         a property list.
17036         (org-bibtex-headline): Return a bibtex entry of the given headline
17037         as a string.
17038         (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
17039         field.
17040         (org-bibtex-autokey): Generate a bibtex key for the current
17041         headline.
17042         (org-bibtex-fleshout): Fill in missing bibtex properties of the
17043         current headline.
17044         (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
17045         (org-bibtex-check): Check that all bibtex properties are present in
17046         the current headline.
17047         (org-bibtex-check-all): Check all headlines in the current buffer.
17048         (org-bibtex-create): Create a new bibtex headline at the current
17049         level.
17050         (org-bibtex-read): Read the current bibtex entry from a bibtex file.
17051         (org-bibtex-write): Write the most recently read bibtex entry into
17052         an Org-mode file.
17054 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17056         * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
17057         set properties.
17058         (org-agenda-show-clocking-issues): Handle faces.
17060 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17062         * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
17063         content by default with "-Dfile.encoding=UTF-8".
17065 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17067         * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
17068         argument.
17070 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17072         * org-exp.el (org-export-preprocess-string): Mark list end before
17073         expanding macros.  Thus, a macro inside a list and containing
17074         blank lines cannot break the list structure.
17075         (org-export-preprocess-apply-macros): Multi-lines macros get
17076         indented with the same indentation as the first line.  Thus, we
17077         are sure that every line belongs to the same list as the first
17078         line, if such list exists.  Also add comments in code.
17080 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17082         * org-agenda.el (org-agenda-clock-consistency-checks): New option.
17083         (org-agenda-list): Handle display change to clock check.
17084         (org-agenda-get-progress): Show only clock entries if we are doing
17085         the consistency check.
17086         (org-agenda-show-clocking-issues): New function.
17087         (org-agenda-check-clock-gap): New function.
17088         (org-agenda-view-mode-dispatch): Offer consistency check.
17089         (org-agenda-log-mode): Handle switch to clock only display.
17090         (org-agenda-set-mode-name): Show lighter for Clockcheck.
17092         * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
17093         and return it unchanged.
17095 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17097         * org-list.el (org-list-struct): When walking down the list, the
17098         function would not pay attention to drawers or blocks indentation.
17099         Thus, such constructs couldn't consistently end an item or a list.
17100         This patch ensures line indentation is stored (if applicable)
17101         before skipping them.  Also fixed doc-string and comments.
17103 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17105         * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
17106         tree properties.
17108 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17110         * org-exp.el (org-export): Define a bound for finding enclosing
17111         tree with class/title definition.
17113 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17115         * org-exp.el (org-export): Go to next heading before searching
17116         backward, so make this also work if we are on the headline of the
17117         entry with the property.
17119 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17121         * org.el (org-promote):
17122         (org-demote): Soften the previous change, by only removing the
17123         flyspell function from after-change functions, because that was
17124         the one causing the slowdown - at least much of it.
17126 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17128         * org.el (org-promote, org-demote): Turn off
17129         after-change-functions to speed up the reindentation of text.
17131 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17133         * ob-ocaml.el (org-babel-ocaml-read-list):
17134         Use `org-babel-script-escape'.
17135         (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
17137 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17139         * org-html.el (org-html-handle-links): Add an alternate for inline
17140         images.
17142 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17144         * org-agenda.el (org-agenda-bulk-action): Do not use the entries
17145         variable before it is defined.
17147 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17149         * org-src.el (org-src-lang-modes): Add a language alias of "C"
17150         to "c".
17152 2011-07-28  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
17154         * ob-tangle.el (org-babel-tangle): Make it work in an indirect
17155         buffer.
17157 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17159         * org-html.el (org-html-make-link): Correct a bug in coderef link.
17161 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17163         * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
17164         typo.
17166 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17168         * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
17169         when headlines are missing.
17171 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17173         * org-mobile.el (org-mobile-push): Move call to hook, make it the
17174         first thing of the push operation.
17176 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17178         * ob.el (org-babel-params-from-buffer): Now looking for header
17179         arguments in #+Properties: as well as #+Babel:.  Also, we're no
17180         longer caching these results into a file local variable.
17182 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17184         * ob-python.el (org-babel-python-evaluate-external-process):
17185         Allow parsing as a table in the case of ":results output table".
17186         (org-babel-python-evaluate-session): Allow parsing as a table in
17187         the case of ":results output table".
17189 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17191         * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
17192         all possible agenda views.  Use `org-agenda-schedule' instead of
17193         `org-agenda-date-later'.
17195 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17197         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
17198         ":results output".
17200 2011-07-28  Julien Danjou  <julien@danjou.info>
17202         * org.el (org-entry-get, org-entry-delete, org-entry-put)
17203         (org-property-values, org-delete-property-globally):
17204         Use `org-re-property'.
17205         (org-re-property): New function allowing to build a regexp to
17206         match a property.
17208 2011-07-28  Julien Danjou  <julien@danjou.info>
17210         * org.el (org-property-values): Enhance docstring.
17212 2011-07-28  Ethan Ligon  <ligon@are.berkeley.edu>  (tiny change)
17214         * org-html.el (org-html-export-list-line): Fix regexp for
17215         detecting description lists to allow "::" marker to be last
17216         visible element at end of line.
17217         * org-docbook.el (org-docbook-export-list-line): Fix regexp for
17218         detecting description lists to allow "::" marker to be last
17219         visible element at end of line.
17221 2011-07-28  Julien Danjou  <julien@danjou.info>
17223         * org-table.el (org-table-cleanup-narrow-column-properties):
17224         Use point-min rather than 1 when moving in the buffer.
17226 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17228         * org-list.el (org-list-in-valid-context-p): Rename from
17229         `org-list-in-valid-block-p'.
17230         (org-at-item-p, org-list-search-generic): Use renamed function.
17232 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17234         * org.el (org-set-font-lock-defaults): Be more strict when
17235         recognizing description items, and do not fontify wrong cases
17236         like: "- term ::description" or "1. term :: description".
17238 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17240         * org-latex.el: Pay attention to end of footnote.  Before closing
17241         the command, ensure that list is properly closed or that last link
17242         is separated from the curly brace.
17244 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17246         * org.el (org-indent-line-function): Footnote definition must stay
17247         at column 0 to be recognized as such.  Body below can have normal
17248         indentation, so it should ignore its definition when computing
17249         indentation.
17251 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17253         * org-protocol.el (org-protocol-remember, org-protocol-capture):
17254         More appropriate message.
17256 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17258         * org-capture.el (org-capture-clock-keep): New local variable.
17259         (org-capture, org-capture-finalize): Use it and fix a bug when
17260         :clock-keep is set to `t'.
17262 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17264         * org-exp.el (org-export-preprocess-string): Handle include files
17265         before processing macros.
17267 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17269         * org-agenda.el: Remove obsolete code for adding todo list in
17270         front of the agenda.
17272 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17274         * org-latex.el (org-export-latex-convert-table.el-table):
17275         Fix format-string for insertion of captions.
17277 2011-07-28  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
17279         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
17280         Fix regexp.
17282 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17284         * org.el (org-read-date-analyze): Help matching dotted European
17285         dates, like 31. 12. 2007
17287 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17289         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
17291 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17293         * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
17294         before reading by elisp.
17295         (org-bable-lisp-vector-to-list): Stub of a vector->list function,
17296         should be replaced with a cl-vector->el-vector function.
17298 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17300         * ob-lisp.el (org-babel-execute:lisp): Now using
17301         `org-babel-reassemble-table' to apply the appropriate header
17302         arguments to results.
17304 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17306         * org.el (org-end-of-meta-data-and-drawers): New function.
17308         * org-capture.el (org-capture-place-plain-text): Implement adding
17309         plain text templates to Org nodes.
17311 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17313         * org-beamer.el (org-beamer-environments-extra): Fix docstring.
17315 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17317         * org-exp.el (org-export-handle-comments): Add the org-protected
17318         property to the replacement string.
17320 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17322         * org-html.el (org-export-as-html, org-html-level-start):
17323         Fix logic for section number printing when NUM is an integer.
17325 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17327         * org-latex.el (org-export-latex-special-chars): Fix regexp for
17328         `single' special characters and ellipsis.
17330 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17332         * org.el (org-point-at-end-of-empty-headline):
17333         Bind `case-fold-search' to nil.
17335 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17337         * org-capture.el (org-capture-fill-template): Resolve new %<...>
17338         template escape.
17339         (org-capture-templates): Document new %<...> template escape.
17341 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17343         * ob.el (org-babel-process-params): Make this function idempotent,
17344         as it will sometimes be called multiple times.
17346 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17348         * org.el (org-ts-regexp-both): Add "]" to class of characters that
17349         should not be matched.
17350         (org-ts-regexp0, org-ts-regexp1): Do not start a class with
17351         "^]-+", because that tries to (not) match characters between "]"
17352         and "+".  Instead, move the "-" to the end of the class where it
17353         causes no harm.
17355 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17357         * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
17358         process with the edit buffer when :session is specified.
17360 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17362         * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
17363         extraction code into line with a newer version of the
17364         `org-store-link' function.
17366 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17368         * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
17369         wrapping the expression in either a let or progn, and possibly a
17370         pretty-print function invocation.
17371         (org-babel-execute:lisp): Greatly simplified method of executing
17372         lisp code blocks.
17374 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17376         * org-list.el: Move `org-update-checkbox-count-maybe' call outside
17377         of ̀save-excursion' to get back to original position.
17379 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17381         * org.el (org-numbered-action-format): New option.
17382         (org-new-numbered-action): New command.
17383         (org-collect-todos-in-subtree): New command.
17385 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17387         * org-exp.el (org-export-with-tasks): New option.
17388         (org-export-plist-vars): Add :tasks property.
17390 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17392         * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
17393         property to the export preprocessor.
17395         * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
17396         property to the export preprocessor.
17398         * org-html.el (org-export-as-html): Pass the :done-tasks property
17399         to the export preprocessor.
17401         * org-latex.el (org-export-as-latex): Pass the :done-tasks
17402         property to the export preprocessor.
17404         * org-exp.el (org-export-with-done-tasks): New option.
17405         (org-export-plist-vars): Add entry for :done-tasks.
17406         (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
17407         (org-export-remove-done-tasks): New function.
17409 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17411         * org-latex.el (org-export-latex-keywords-maybe): Protect # in
17412         tags.
17414 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17416         * org.el (org-find-olp): Use the level of the correct match to
17417         continue search.
17419 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17421         * org-list.el (org-toggle-checkbox): Build value of
17422         org-keyword-time-regexp instead of using it directly, as it's
17423         buffer-local, and function might be called outside Org.
17425 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17427         * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
17428         blocks or drawers necessarily start somewhere.  It it isn't the
17429         case, treat them as normal text.
17431 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17433         * ob-exp.el (org-babel-exp-results): Use code block name when
17434         finding cached results.
17436 2011-07-28  Julien Danjou  <julien@danjou.info>
17438         * org-latex.el (org-export-latex-date-format): Change default date
17439         format to \today.  This has the same result but respects the
17440         language set in the document by default.
17442 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17444         * org-list.el (org-list-checkbox): When called from an headline,
17445         function would normally skip drawers, but not if a SCHEDULED or
17446         DEADLINE keyword is standing before the drawer.  Also avoid
17447         problems if function is called in buffers not is Org mode.
17449 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17451         * org-clock.el (org-clock-report): Change the scope of the
17452         inserted clock report depending on whether the point is within a
17453         subtree (:scope subtree) or not (:scope file).
17455 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17457         * org-html.el (org-export-as-html): Fix export of footnotes
17458         containing lists, tables, quotes, etc.
17460 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17462         * org-latex.el (org-export-latex-preprocess): Correctly match
17463         starred command names.
17465 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17467         * org-html.el (org-export-as-html): Get local value of
17468         org-export-with-section-numbers from the buffer's plist.
17469         Deal specially with the case the resulting value is an integer.
17470         (org-html-level-start): New optional argument of the option plist used
17471         instead of `org-export-with-section-numbers'.  Also deal specially
17472         with the case that the value is an integer.
17474 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17476         * org-latex.el (org-export-latex-subcontent): Deal specially with
17477         the case that NUM is an integer.
17479 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17481         * org-protocol.el (org-protocol-do-capture): Allow template keys
17482         of two characters.
17483         (org-protocol-default-template-key): Update the docstring to
17484         reflect the change in `org-protocol-do-capture'.
17486 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17488         * org-taskjuggler.el: Fix a typo in the commentary.
17490 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17492         * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
17493         "purge allocations" statement if we are not targeting tj3.
17495 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17497         * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
17498         Replace recursive implementation with an iterative one.
17500 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17502         * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
17503         data into shell variables.
17505 2011-07-28  David Maus  <dmaus@ictsoc.de>
17507         * org-html.el (org-html-handle-time-stamps): Protected linebreak
17508         element after timestamp markup.
17510 2011-07-28  David Maus  <dmaus@ictsoc.de>
17512         * org-html.el (org-html-handle-links): Don't protect img tag in
17513         link description.
17515 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17517         * org-table.el (org-table-formula-handle-first/last-rc):
17518         Bind `char'.
17520 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17522         * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
17523         whatever the major mode is.
17525 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17527         * org-inlinetask.el (org-inlinetask-export-templates): Fix default
17528         templates.
17529         (org-inlinetask-export-handler): Ensure contents of inline task,
17530         if any, starts and ends with a newline character.  Refactor and
17531         comment code.
17533 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17535         * org-capture.el (org-datetree-find-date-create): Lower-case for
17536         variable names in `define-function' form.
17538 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17540         * org-table.el (org-table-convert-region): Throw error when
17541         SEPARATOR is smaller than 1.
17543 2011-07-28  Julien Danjou  <julien@danjou.info>
17545         * org-colview.el (org-columns-display-here): Fix heading retrieval
17546         in Org buffers.
17548 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17550         * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
17551         be on the same line as a list end marker.
17553 2011-07-28  Julien Danjou  <julien@danjou.info>
17555         * org.el (org-icompleting-read): Do not use useless lambda.
17557 2011-07-28  Julien Danjou  <julien@danjou.info>
17559         * org-agenda.el (org-format-agenda-item): Fix length computing.
17561 2011-07-28  Julien Danjou  <julien@danjou.info>
17563         * org-agenda.el (org-format-agenda-item): Fix comment and use
17564         `add-text-properties'.
17566 2011-07-28  Julien Danjou  <julien@danjou.info>
17568         * org-agenda.el (org-agenda-highlight-todo): Remove useless
17569         `concat'.
17571 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17573         * org-list.el (org-list-to-generic): Set a default term for
17574         ill-formed description lists.  Do not insert newline characters
17575         unless told to.
17576         (org-list-to-texinfo, org-list-to-html): Apply changes to
17577         `org-list-parse-liste'.
17579 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17581         * org-clock.el (org-clock-clocktable-language-setup): Add a
17582         string.
17583         (org-clocktable-write-default): Use the new localized string
17584         in `org-clock-clocktable-language-setup'.
17586 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17588         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17589         (org-taskjuggler-assign-resource-ids): Replace recursive
17590         implementation with an iterative one.
17592 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17594         * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
17595         in headlines.
17597 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17599         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17600         Compute the leafiness of a node.
17601         (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
17602         node as a milestone if it is a leaf and has no effort.
17604 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17606         * org-taskjuggler.el (org-export-taskjuggler-target-version):
17607         (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
17608         to handle export to both tj2 and tj3.
17609         (org-taskjuggler-open-task): Use a different way to purge
17610         allocations for tj2 and tj3.
17612 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17614         * org-footnote.el (org-footnote-auto-label): New random option.
17616         * org-footnote.el (org-footnote-new): Create random footnote
17617         labels with unique ids.
17619 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17621         * org-footnote.el (org-footnote-create-definition): Allow for
17622         footnote sections above the current footnote insertion point.
17624 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17626         * org-footnote.el (org-footnote-create-definition): Don't search
17627         for last footnote when in org-mode file.
17629 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17631         * org-html.el (org-export-as-html): Handle links with
17632         `org-html-handle-links' after we handle special characters
17633         conversions.
17634         (org-html-make-link, org-export-html-format-image):
17635         Don't protect html with @ anymore, as links are now handled after
17636         special characters conversions.
17638 2011-07-28  Julien Danjou  <julien@danjou.info>
17640         * org-agenda.el (org-agenda-get-timestamps):
17641         (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17642         (org-format-agenda-item): Remove no-prefix argument.
17643         (org-agenda-change-all-lines): Call org-format-agenda-item without the
17644         no-prefix argument.
17646 2011-07-28  Julien Danjou  <julien@danjou.info>
17648         * org-agenda.el (org-agenda-highlight-todo): Stop using
17649         prefix-length.
17650         (org-cmp-alpha): Stop using prefix-length.
17651         (org-agenda-open-link): Stop using prefix-length.
17652         (org-agenda-change-all-lines): Stop using prefix-length.
17654         * org-colview.el (org-columns-display-here): Stop using
17655         prefix-length.  Always return claned items.
17657         * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17658         prefix-length.
17660 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17662         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17663         `org-store-link' interactively as it can confuse the setting of
17664         `org-link-to-org-use-id' and cause undue edits to the org-mode
17665         buffer during tangling.
17667 2011-07-28  David Maus  <dmaus@ictsoc.de>
17669         * org-html.el (org-export-html-format-image): Protect <p> element
17670         of image caption.
17672 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17674         * org.el (org-read-date-force-compatible-dates): New option.
17675         (org-read-date, org-read-date-analyze): Check representable date range.
17677 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17679         * org-html.el (org-export-as-html): Fix export of email.
17681 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17683         * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17684         on tangling, no longer use the now-removed variable
17685         `org-babel-tangle-pad-newline'.
17687         * ob.el (org-babel-header-arg-names): Add padline to the list of
17688         header argument names.
17689         (org-babel-default-header-args): Set the default value of padline to
17690         "yes".
17691         (org-babel-merge-params): Cleaned up the merge logic, added padline.
17693 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17695         * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17696         code block header argument names.
17698 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17700         * org-crypt.el: Remove useless TODO in comments.
17702 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17704         * org-html.el (org-export-as-html): The default postamble now only
17705         export a date paragraph if `org-export-time-stamp-file' is
17706         non-nil.
17708 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17710         * org-exp.el (org-export-xml): Remove the defgroup of
17711         org-export-xml.
17713 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17715         * org-html.el (org-export-html-insert-plist-item): Remove.
17716         (org-export-html-preamble): Default to `t'.  Accept functions.
17717         (org-export-html-postamble): Default to `auto'.
17718         Accept functions and distinguish between 'auto (no formatting string)
17719         and `t' (default formatting string).
17720         (org-export-as-html): Handle org-export-html-preamble and
17721         org-export-html-postamble new defaults/allowed values.
17722         Define email and creator-info before using them.
17724 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17726         * org-html.el (org-export-html-protect-char-alist): Fix typo in
17727         custom type definition.
17729 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17731         * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17732         arguments.
17734 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17736         * org-list.el (org-list-parse-list): Fix regexp.
17738 2011-07-28  David Maus  <dmaus@ictsoc.de>
17740         * org-html.el (org-export-html-format-image): Protect image
17741         elements.
17743 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17745         * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17746         contents of a code block body on export.
17747         (org-babel-tangle-collect-blocks): Apply
17748         `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17750 2011-07-28  David Maus  <dmaus@ictsoc.de>
17752         * org-html.el (org-html-make-link, org-html-handle-links):
17753         Protect generated XHTML elements.
17754         (org-export-as-html): Expand character entities after creating markup
17755         for links and timestamps.
17757 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17759         * org-html.el (org-export-as-html): Bugfix: insert email
17760         correctly.
17762 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17764         * org-html.el: Bugfix: prevent infinite matching of the `&'
17765         character.
17767 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17769         * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17770         has been introduced with emacs 23.1.
17772 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17774         * org-attach.el: Allow to store a link to the attach-dir location.
17776 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17778         * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17779         function.
17781 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17783         * org-clock.el (org-clock-in): Allow clocking in new tasks
17784         inserted before the current clocking task.
17786 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17788         * org-clock.el (org-clock-in): Set default clocking task when
17789         already clocking the task.
17791 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17793         * org.el (org-adaptive-fill-function): When a region is specified
17794         first line of paragraph isn't skipped, so fill-paragraph have to
17795         be computed even if point is at an item.
17797 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17799         * org-list.el (org-list-in-valid-block-p): New function.
17800         (org-at-item-p, org-list-search-generic): Use new function.
17802 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17804         * org.el (org-indent-line-function): Text in both a list and a
17805         valid block is indented with regards to current item, not to block
17806         boundaries.
17808 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17810         * org-html.el (org-format-org-table-html): Fix anchors in HTML
17811         export (thanks to <aankhen@gmail.com>)
17812         (org-html-protect): Fix a  bug that prevents some target to be
17813         rendered correctly.
17815 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17817         * org.el (org-default-properties): Add EXPORT_TEXT.
17819 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17821         * org-footnote.el (org-footnote-create-definition)
17822         (org-insert-footnote-reference-near-definition): Fix sorting
17823         of footnotes.
17825 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17827         * org-html.el (org-export-as-html): Bugfix: don't insert closing
17828         HTML tags when exporting body only.
17830 2011-07-28  Jason Dunsmore  <emacs-orgmode@deathroller.dunsmor.com>  (tiny change)
17832         * org.el (org-back-over-empty-lines): Bugfix.
17833         Honor `org-blank-before-new-entry' correctly in various contexts.
17835 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17837         * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17838         and `save-restriction'.
17840 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17842         * org-timer.el (org-timer-item): `save-excursion' prevents
17843         `org-list-struct' to get the list structure when point isn't on
17844         the first line of the item.
17846 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17848         * org-capture.el (org-capture-templates): New option
17849         :no-clock-out.
17850         (org-capture): Use the new option.
17852 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17854         * org-list.el (org-update-checkbox-count): Ensure cookies on an
17855         heading are correctly updated when checkboxes are hidden.
17856         It allows, for example, to use C-c C-x C-b on a collapsed tree and
17857         still get the update.
17859 2011-07-28  David Maus  <dmaus@ictsoc.de>
17861         * org-exp.el (org-export-visible): Accept keys for
17862         `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17864 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17866         * org.el (org-duration-string-to-minutes): Don't use
17867         `rx-to-string'.
17869 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17871         * org.el (org-effort-durations): New variable.
17873         * org.el (org-duration-string-to-minutes): New function.
17875         * org-agenda.el (org-agenda-filter-effort-form)
17876         (org-format-agenda-item): Use it.
17878         * org-clock.el (org-clock-notify-once-if-expired)
17879         (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17881 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17883         * org-agenda.el (org-agenda-run-series): Rename from
17884         `org-run-agenda-series'.
17886 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17888         * org-capture.el: Don't allow currentfile anymore.
17890 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17892         * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17893         `org-agenda-current-span' when calling `org-agenda-list'.
17895 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17897         * org-capture.el (org-capture-put-target-region-and-position):
17898         New function to store information about the target buffer.
17899         (org-capture-set-target-location): Use it.
17900         (org-capture-finalize): Restore the target buffer in its
17901         possibly narrowed state.  Also restore the cursor position.
17903 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17905         * org-crypt.el (auto-save-default): Make sure entries are
17906         encrypted before auto-saving.
17908 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17910         * org-inlinetask.el (org-inlinetask-promote)
17911         (org-inlinetask-demote): New functions.
17913 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17915         * org.el (org-demote-subtree, org-promote-subtree):
17916         Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17917         operating on inline tasks.
17919 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17921         * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17922         will move point to a real heading and not an inline task by
17923         wraping function into a `org-with-limited-levels' macro.
17925 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17927         * org-capture.el (org-capture-finalize): New argument clock-out,
17928         to tell whether finalizing the capture process should clock out
17929         the running clock.
17930         (org-capture): Use the new argument.
17932 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17934         * org.el (org-refile-get-targets): Rename from
17935         `org-get-refile-targets'.
17937 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17939         * org-exp.el (org-export-table-remove-empty-lines): New custom
17940         variable.
17941         (org-export-remove-special-table-lines): Use it.
17943 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17945         * org-table.el (org-table-fix-formulas-confirm): New custom
17946         variable.
17947         (org-table-insert-column, org-table-delete-column)
17948         (org-table-move-column, org-table-move-row)
17949         (org-table-insert-row, org-table-kill-row): Use it.
17951 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
17953         * org.el (org-refile-get-location): Set and show default value.
17954         (org-goto, org-refile): Adapt calls.
17956 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17958         * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17959         variable.
17960         (org-mobile-files-alist): Use it.
17962 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17964         * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17965         against headings outside of a narrowed buffer.
17967 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17969         * org.el (org-confirm-shell-link-not-regexp)
17970         (org-confirm-elisp-link-not-regexp): New custom variables.
17971         (org-open-at-point): Use the new custom variables.
17973 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17975         * org-latex.el: Place \title \author \date before
17976         \begin{document}.
17978 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17980         * org-html.el (org-export-html-preamble)
17981         (org-export-html-postamble): Now default to `nil'.
17982         (org-export-as-html): When :html-pre/postamble is nil, fall
17983         back on the default pre/postamble, which depends on the
17984         :author-info, :email-info, :creator-info options.
17986 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17988         * ob-exp.el (org-babel-exp-results): Don't use cached results if
17989         there is no hash.
17991 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17993         * org-table.el (org-table-eval-formula): Treat relative column
17994         refs.
17996 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17998         * org-table.el (org-table-use-standard-references): Change default
17999         to `from'.
18001 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18003         * org.el (org-move-subtree-down): Leave the cursor at the same
18004         column we were at.
18006 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18008         * org-attach.el (org-attach-store-link-p): New variable.
18009         (org-attach-store-link): New function.
18010         (org-attach-attach): When `org-attach-store-link-p' is
18011         non-nil, store a link in `org-stored-links' to a newly
18012         attached file.
18014 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18016         * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
18017         case-fold-search to avoid mixing TODO keywords with real headline
18018         words.
18020 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18022         * org-table.el (org-table-fedit-finish): Read more general LHS of
18023         formulas.
18024         (org-table-formula-handle-@L): New function to hanle @L references.
18025         (org-table-current-ncol): New variable.
18026         (org-table-line-to-dline): New function.
18027         (org-table-get-stored-formulas): Accept range formulas as matches.
18028         (org-table-get-specials): Compute and store the number of columns.
18029         (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
18030         only the region marked by the range, not the content.
18031         (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
18032         range targets.  Also check for duplicate access to fields.
18033         (org-table-expand-lhs-ranges): New funktion.
18034         (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
18035         the caller's value.
18036         (org-table-edit-formulas): Support highlighting of range targets.
18037         (org-table-field-info): Handle renge formulas.
18039 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18041         * org-html.el (org-export-html-postamble-format)
18042         (org-export-html-preamble-format): Explain how to escape the
18043         `%' character.
18045 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18047         * ob.el (org-babel-read): Read string variable values wrapped in
18048         double quotes, removing the quotes.
18050 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18052         * ob-exp.el (org-babel-exp-results): Ensure that processed params
18053         are send to org-babel-execute-src-block.
18055 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18057         * org-special-blocks.el
18058         (org-special-blocks-make-special-cookies):
18059         Use `org-export-current-backend'.
18061 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18063         * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
18064         as an argument.
18065         (org-babel-exp-src-block): Explicitly pass language to
18066         `org-babel-exp-in-export-file'.
18067         (org-babel-exp-inline-src-blocks): Remove unused code.
18068         (org-babel-exp-results): Explicitly pass language to
18069         `org-babel-exp-in-export-file'.
18071 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18073         * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
18074         returned from calc-eval.
18076 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18078         * ob.el (org-babel-read): Pass elisp vectors through to code
18079         blocks.
18081 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18083         * ob.el (org-src-lang-modes): Defvar.
18084         (org-at-item-p): Declare function.
18086         * ob-calc.el (calc-store): Require.
18087         (var-syms): Defvar.
18089         * ob-python.el (py-default-interpreter): Defvar.
18091 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18093         * org-exp-blocks.el (backend): defvar.
18095 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18097         * org-agenda.el (org-agenda-get-scheduled):
18098         (org-agenda-get-timestamps): Bind local variable `show-all'.
18100 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18102         * ob-ref.el (org-at-item-p): Declare function.
18104         * org-agenda.el (diary-time-regexp): defvar.
18106         * org-archive.el (org-archive-subtree): Bind local variable
18107         `infile-p'.
18109         * org-capture.el (org-capture-insert-template-here): Get template
18110         text from property list, to avoid byte compiler message.
18112         * org-latex.el (org-export-latex-tables): Bind local variable
18113         `width'.
18115         * org-special-blocks.el (org-compat): Add require statement.
18117         * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
18118         `const-str'.
18120         * org.el (org-eval): Move function here from org-agenda.el.
18122 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18124         * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
18125         when reading from tables.
18126         (org-babel-read-list): Inhibit lisp evaluation of values when
18127         reading from lists.
18128         (org-babel-read): Add optional argument which can be used to inhibit
18129         lisp evaluation of value.
18131 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18133         * ob-table.el (sbe): Ensure that ob-trim is only called on
18134         strings.
18136 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18138         * ob-exp.el (org-babel-exp-results): On export, ensure that the
18139         result hash is resolved in the original org-mode file.
18141 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18143         * org-exp.el (org-export-mark-list-end): Change end marker.
18145         * org-docbook.el (org-export-docbook-list-line): Use new marker.
18147         * org-html.el (org-html-export-list-line): Use new marker.
18149         * org-latex.el (org-export-latex-lists): Use new marker.
18151 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18153         * org-latex.el (org-export-latex-lists): Make sure markers used
18154         for export are taken into account by temporarily setting an
18155         appropriate value for `org-list-ending-method'.
18157 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18159         * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
18160         regexp into its own variable, also allowing match of empty bodies.
18161         (org-export-blocks-preprocess): Using new regexp variable.
18163 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18165         * ob.el (org-babel-src-block-regexp): Code block regexp now
18166         matches blocks with empty bodies.
18168 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18170         * ob.el (org-babel-script-escape): If script escaped value doesn't
18171         parse cleanly, then return it literally.
18173 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18175         * ob-exp.el (org-babel-exp-src-block): When block will eventually
18176         be evaluated, pre-calculate the hash before noweb expansion, and
18177         expand the parameters before hash calculation.
18178         (org-babel-exp-do-export): Pass pre-calculated hash through to
18179         `org-babel-exp-results'.
18180         (org-babel-exp-results): Compare pre-calculated hash to results hash.
18182 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18184         * ob.el (org-babel-sha1-hash): Sort list values to header
18185         arguments, and sort the words in strings.
18187 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18189         * ob-ref.el (org-babel-ref-index-list): Special handling of hline
18190         rows.
18192 2011-07-28  Julien Danjou  <julien@danjou.info>
18194         * org-macs.el (org-with-point-at): Store evaluated version of
18195         pom.  This fixes a potential bug when using (org-with-point-at
18196         (func) …), where (func) would be evaluated multiple times,
18197         therefore might return different results if a marker was returned
18198         and different each time.
18200 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18202         * org.el (org-open-at-point): If a link to a radio target is the
18203         first, (resp. the last), element of a buffer, function cannot find
18204         the property change required to get its boundaries, and
18205         `buffer-substring' is called with an invalid nil argument.
18207 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18209         * org-table.el (org-table-copy-down): Fix docstring.
18211 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18213         * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
18214         and for file types other than png and PDF it uses imagemagick to
18215         convert a compiled PDF file to the desired file type.
18216         (convert-pdf): Convert a PDF file to a new file type using
18217         imagemagick.
18219 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
18221         * org-capture.el (org-capture-fill-template): Fix bug with the
18222         display of interactive prompt in templates expansion.
18224 2011-07-28  Reiner Steib  <reiner.steib@gmx.de>
18226         * org-clock.el (org-clock-display): Document how to remove subtree
18227         times.
18229 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18231         * org-exp-blocks.el (org-export-blocks-format-comment):
18232         Explicitly append a newline to the body.
18234 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18236         * org-list.el (org-list-insert-item): When computing size of item
18237         being inserted, function has to take into account that indentation
18238         may not only be made of spaces.
18240 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18242         * org-clock.el (org-clock-find-position): If a list was adjacent
18243         to some clocks and a drawer was going to be created, only the
18244         first element of the list would make it into the drawer.
18246 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18248         * org-list.el (org-toggle-checkbox): Fix bug where top item in
18249         list was omitted when checking boxes.
18251 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18253         * ob-R.el: Don't print result to echo area after evaluation.
18255 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18257         * org-capture.el (org-capture-refile): Fix typo in docstring.
18259 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18261         * ob-calc.el (org-babel-execute:calc): Call out to new function
18262         for variables resolution.
18263         (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
18264         variables in calc expressions.
18266 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18268         * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
18269         (org-babel-C++-compiler): Replace "c++" with "C++".
18270         (org-babel-execute:cpp): Replace "c" with "C++".
18271         (org-babel-execute:C++): Replace "c" with "C++".
18272         (org-babel-expand-body:C++): Replace "c" with "C++".
18273         (org-babel-C-execute): Replace "c" with "C++".
18275 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18277         * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
18278         a list if at the *beginning* of a list item.
18280         * ob.el (org-babel-read-result): Only try to read results as a
18281         list if at the *beginning* of a list item.
18283 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18285         * org-list.el (org-cycle-item-indentation): Do not break an
18286         indentation cycle because visibility cycling is requested.
18287         This happens when an item becomes a parent, due to indentation change.
18288         Not considered empty anymore, the function cannot change its
18289         indentation again.
18291 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18293         * org-clock.el (org-clocktable-write-default): Bugfix: falls back
18294         on `org-export-default-language' when no :lang parameter is set.
18296 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18298         * org-capture.el (org-capture-expand-file): New function.
18299         (org-capture-target-buffer):
18300         (org-capture-set-target-location): Use `org-capture-expand-file'.
18302 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18304         * ob.el (org-babel-read-list): Reading the value of a list has
18305         been updated to reflect the new structure of org-mode lists in
18306         elisp.
18307         (org-babel-insert-result): Writing code block results to lists has
18308         been updated to reflect the new list structure.
18309         (org-babel-result-end): Remove a previous change to end-of-list
18310         marker detection.
18312 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18314         * org-list.el (org-cycle-item-indentation): Each time the function
18315         moves item back to child position, a white space is added to the
18316         line.
18318 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18320         * ob.el (org-babel-process-params): Allow elisp code in
18321         specification of results header arguments.
18323 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18325         * org-agenda.el (org-agenda-append-agenda): New command.
18326         (org-agenda-mode-map): New keybinding to this new command.
18328 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18330         * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
18331         cursor it at very first item of the list, as specified in the
18332         manual.  Also refactored the list part of the function a bit.
18334 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18336         * org-agenda.el (org-agenda): Set the 'last-args property to nil
18337         when calling `org-agenda'.  Don't kill the local variable
18338         `org-agenda-current-span'.
18339         (org-run-agenda-series): Use the new property 'last-args.
18340         (org-agenda-change-time-span): Use the dynamically set
18341         `org-agenda-overriding-arguments' variable when non-nil.
18343 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18345         * ob.el (org-babel-result-end): Adjust marker of list end to
18346         changes in the list format.
18348 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18350         * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
18351         No need to wrap `org-entry-get' in `ignore-errors'.
18353 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18355         * org.el (org-toggle-item, org-toggle-heading): Make sure every
18356         sub-item in a list is changed into a sub-heading and sub-headings
18357         are translated into sub-items.  Also ignore inline tasks in the
18358         process.
18360 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18362         * org-exp.el (org-export-select-backend-specific-text):
18363         Add `original-indentation' property when replacing #+begin_backend and
18364         #+backend blocks with their content.  This is needed for lists, as
18365         they must know if the block belonged to them.
18367 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18369         * org-html.el (org-html-export-list-line): Insert a newline
18370         character before ending an item, as anchor could be on a line
18371         going to be deleted, like a drawer ending string.
18373         * org-list.el (org-list-to-html): Same.
18375 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18377         * org.el (org-set-autofill-regexps): Use `org-item-re' in
18378         `paragraph-start' to recognize alphabetical lists.
18379         (org-fill-paragraph): Enforce a pre-computed fill-prefix before
18380         calling `fill-paragraph' when point is in an item.  Also prevent
18381         paragraphs getting merged into an adjacent list upon filling.
18382         (org-adaptive-fill-function): Make sure to determine real
18383         fill-prefix for auto-fill.
18384         (org-auto-fill-function): Use a pre-computed fill-prefix before
18385         calling `do-auto-fill'.
18387         * org-list.el (org-list-item-body-column): New function.
18389 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18391         * org-inlinetask.el (org-inlinetask-at-task-p)
18392         (org-inlinetask-toggle-visibility): New functions.
18394         * org-list.el (org-list-set-item-visibility): New function.
18396         * org.el (org-cycle, org-cycle-internal-local): Separate lists and
18397         inline tasks from headlines.
18398         (org-outline-level): Do not consider lists as headlines.
18399         Cycling visibility is using different tools.
18401 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18403         * org-list.el (org-list-struct): Mark items less indented than top
18404         item of the list, so that they will be modified.
18405         (org-list-struct-apply-struct): Compare struct's indentation with
18406         line's indentation instead of old-struct's.  This is needed
18407         because `org-list-struct' automatically fixes indentation so
18408         changes might not be seen otherwise.
18410         * org.el (org-ctrl-c-ctrl-c): Small refactoring.
18412 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18414         * org-list.el (org-update-checkbox-count): When a part of the
18415         buffer is processed to count checkboxes, lists are read from top
18416         to bottom, but inside lists (in drawers, blocks, or inline tasks)
18417         are skipped.  Thus, cookies cannot be updated.  This patch
18418         enforces reading of such lists if counter is itself in a special
18419         context.
18421 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18423         * org-list.el (org-list-struct-apply-struct): Inline tasks along
18424         with their content must stay at column 0 even if the item is
18425         gaining indentation.  Moreover, fix indentation of text in an
18426         inline task, now it can be in such a task within a list.
18428 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18430         * org-list.el (org-at-item-p): Also verify context is valid.
18431         Otherwise it would recognize valid items where `org-in-item-p'
18432         wouldn't.
18433         (org-in-item-p, org-list-struct-apply-struct): Use shorter version
18434         of org-at-item-p.
18435         (org-cycle-list-bullet): Fix typo.
18436         (org-list-parse-list): Avoid calling `org-at-item-p' two times by
18437         using an appropriate regexp.
18439         * org.el (org-indent-line-function): Use an appropriate regexp
18440         instead of calling `org-at-item-p' two times.
18442 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18444         * org-list.el (org-in-item-p): When point was just after
18445         org-list-end-re, check wouldn't be done for starting line.  So, if
18446         the first line was an item, it wouln't be noticed and function
18447         would return nil.  Simplify and comment code.
18449 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18451         * org.el (org-toggle-item): When used on normal text, ensure every
18452         line in region is included in the new item, regardless of its
18453         original indentation.
18455 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18457         * org-list.el (org-list-struct-apply-struct): If end of list was
18458         at eol, for example, with list inside a block, the last list
18459         wouldn't be shifted.  Thus, the patch ensures no blank lines is
18460         skipped.
18462 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18464         * org.el (org-toggle-item): Now accepts a prefix argument.
18465         When used without argument on normal text, it will make the whole
18466         region one item.  With an argument, it defaults to old behavior:
18467         change each line in region into an item.
18469 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18471         * org.el (org-return): When called from inside an item with the
18472         indent flag, function should keep text moved inside the item.
18473         This allows to use C-j to separate lines in an item: cursor won't
18474         go back to column 0.
18476 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18478         * org-list.el (org-list-struct): When a line has org-example
18479         property, skip the entire block.  This is needed during export,
18480         for example when src blocks in org markup contain lists, and are
18481         returned verbatim because org isn't in the list of interpreted
18482         languages.
18484 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18486         * org-list.el (org-in-item-p): Handle special cases when function
18487         is called with cursor amidst `org-list-end-re' or at an inline
18488         task.
18490 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18492         * ob.el (org-babel-result-end): Apply renaming.
18494         * org-exp.el (org-export-mark-list-properties): Apply renaming.
18496         * org-list.el (org-list-prevs-alist): Rename from
18497         `org-list-struct-prev-alist'.
18498         (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
18499         (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
18500         (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
18501         (org-toggle-checkbox, org-update-checkbox-count)
18502         (org-cycle-list-bullet, org-list-repair, org-insert-item)
18503         (org-move-item-up, org-move-item-up, org-move-item-down)
18504         (org-next-item, org-previous-item, org-end-of-item-list)
18505         (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
18506         (org-get-bullet): Remove function, as it is not needed anymore.
18508 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18510         * org-list.el (org-list-insert-item-generic): Change arguments.
18511         The function now accepts structure and previous items alist.
18512         This allows to insert an item programmatically more easily.
18513         (org-insert-item): Apply changes to
18514         `org-list-insert-item-generic'.  The function now takes care about
18515         repairing structure and updating checkboxes.
18517         * org-timer.el (org-timer-item): Apply changes to
18518         `org-list-insert-item-generic'.  The function now takes care about
18519         repairing structure.
18521 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18523         * org-list.el (org-list-make-subtree): Function now uses
18524         `org-list-parse-list mechanism'.
18525         (org-list-make-subtrees): Remove function.
18526         (org-list-to-generic): Add a parameter and every parameter can
18527         be a sexp returning a string, for finer control.
18528         (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
18529         Slight modifications to apply changes to `org-list-to-generic'.
18530         (org-list-to-subtree): New function.
18532 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18534         * org.el (org-beginning-of-line): Apply changes to
18535         `org-item-beginning-re' to correct sub-expression reference.
18537 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18539         * org-docbook.el (org-export-docbook-list-line): Even with
18540         alphabetical lists, Org shouldn't enforce a particular list type
18541         to exporters.  This is a job for style files.
18543         * org-html.el (org-html-export-list-line): Ib idem.
18545 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18547         * org-list.el (org-at-item-counter-p): New function.
18548         (org-list-parse-list): Handle counters and list depth.
18549         (org-list-to-generic): A special string is used when an item has a
18550         counter.
18551         (org-list-to-latex): Use new special string for counters.
18552         This fixes the counter bug in LaTeX export, as the enumi counter was
18553         the only one modified.
18555         * org-latex.el (org-export-latex-lists): Use new
18556         `org-list-parse-list' output.
18558 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18560         * org-list.el (org-list-get-list-type): New function.
18561         (org-list-parse-list): Use new function.
18563         * org-html.el (org-html-export-list-line): Use new function.
18565         * org-docbook.el (org-export-docbook-list-line): Use new function.
18567 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18569         * org-list.el (org-alphabetical-lists): New variable
18570         (org-item-re, org-list-full-item, org-cycle-list-bullet)
18571         (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
18572         Reflect introduction of the new variable.
18573         (org-item-beginning-re): Change into a function, so any
18574         modification of `org-alphabetical-lists' will not require
18575         reloading Org.
18576         (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
18577         (org-list-parse-list, org-list-send-list): Reflect changes to
18578         `org-item-beginning-re'.
18579         (org-list-use-alpha-bul-p): New function.
18581         * org.el (org-check-for-hidden): Reflect changes to
18582         `org-item-beginning-re'.
18584         * org-capture.el (org-capture-place-item): Reflect changes to
18585         `org-item-beginning-re'.
18587         * org-docbook.el (org-export-docbook-list-line): Handle New type
18588         of items.
18590         * org-exp.el (org-export-mark-list-end)
18591         (org-export-mark-list-properties): Reflect changes to
18592         `org-item-beginning-re'.
18594         * org-html.el (org-html-export-list-line): Handle new type of
18595         items.
18597         * org-latex.el (org-export-latex-lists): Handle new type of items
18598         and reflect changes to `org-item-beginning-re'.
18600         * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
18602 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18604         * org-list.el (org-list-end-re): Remove function and made it a
18605         variable.  There's no need for the overhead of calling the
18606         function every at every line in a list.  User will have to reload
18607         Org if he change value of either `org-list-end-regexp' or
18608         `org-empty-line-terminates-plain-lists'.
18609         (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
18611         * org-exp.el (org-export-mark-list-end)
18612         (org-export-mark-list-properties): Apply change.
18614         * org-latex.el (org-export-latex-lists): Apply change.
18615         Also prevent items with org-example property to be considered as real
18616         items.
18618 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18620         * org-inlinetask.el (org-inlinetask-export-templates): Slightly
18621         modify templates so environment boundaries don't interfere with
18622         content of task.  Unprotect content of task so it might benefit
18623         from further transformations.  Set original-indentation property to
18624         a high value to ensure that task is always in the last item of the
18625         list.  Also, apply templates later in export process.
18627         * org-list.el (org-list-struct): Fix inline task skipping.
18629 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18631         * org-latex.el (org-export-latex-lists): Search for unprotected
18632         items only, and redefine `org-at-item'.  This change is required
18633         when verbatim lists are inserted during export, usually by Babel.
18635 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18637         * ob.el (org-babel-result-end): End position is end of current
18638         sublist instead of bottom point, as results might be inserted in a
18639         list themselves.
18641 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18643         * org-list.el (org-list-automatic-rules): Remove insert rule.
18644         (org-list-insert-item-generic): Remove code preventing user to
18645         insert another item in a block within a list.  It is because new
18646         list context make it impossible to see if a point in a block is
18647         also in a list.
18649 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18651         * org-exp.el (org-export-preprocess-string): Mark list endings
18652         before babel blocks preprocessing starts, so blank lines that may
18653         be inserted do not break list's structure.  Then, mark list with
18654         special properties required by exporters.  Thus output from babel
18655         can easily be included in lists.
18656         (org-export-mark-list-end): New function.
18657         (org-export-mark-list-properties): New function.
18658         (org-export-mark-lists): Remove function.  It was split into the
18659         two preceding functions.
18661 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18663         * org-list.el (org-update-checkbox-count): Do not recompute every
18664         list before next heading when there are more than one cookie in an
18665         headline.  Moreover, ignore the case where cookie is inserted
18666         neither at an heading nor at an item.
18668 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18670         * org-list.el (org-sort-list): Fix number of arguments to
18671         `org-list-repair', plus make `end-record' go to end of item before
18672         any blank line to keep them from being swallowed in the sorting.
18674 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18676         * org-list.el (org-list-forbidden-blocks): Rename from
18677         `org-list-blocks'.
18678         (org-list-export-context): New variable.
18680 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18682         * org-list.el (org-list-search-generic): Rename form
18683         `org-search-unenclosed-generic' to reflect the new behavior.  Now,
18684         match can only be in a valid context for lists, as determined by
18685         `org-list-context'.
18686         (org-list-search-backward): Rename from
18687         `org-search-backward-unenclosed'.
18688         (org-list-search-forward): Rename from
18689         `org-search-forward-unenclosed'.
18690         (org-toggle-checkbox, org-update-checkbox-count): Use new
18691         functions.
18692         (org-sort-list): Using default regexp search functions as context
18693         is not required in this case.
18695 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18697         * org-exp.el (org-export-mark-lists): New function, replacing
18698         org-export-mark-list-ending.  It adds information as text
18699         properties to every list, before changes done by exporter destruct
18700         them.
18702 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18704         * org-list.el (org-list-get-first-item): New alias for
18705         `org-list-get-list-begin'.
18706         (org-list-get-last-item): New function.
18707         (org-list-get-list-end): Use `org-list-get-last-item'.
18709 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18711         * org.el (org-get-string-indentation): Move in generally useful
18712         functions section, as it wasn't specific to plain lists and that
18713         no code was using it in org-list.el.
18715 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18717         * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18718         accessors.
18720 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18722         * org-list.el (org-list-indent-item-generic): Remove error
18723         messages happening before process.  This belongs to interactive
18724         functions.
18725         (org-indent-item, org-indent-item-tree)
18726         (org-outdent-item, org-outdent-item-tree): Ensure point or region
18727         is correct before computing list structure.  Return an error
18728         message otherwise.
18730 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18732         * org-list.el (org-apply-on-list): Use new structures.
18733         Function is now applied in reverse order so modifications do not change
18734         positions of items in buffer.
18736 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18738         * org-list.el (org-list-parse-list): Rewrite of function to allow
18739         text following a sub-list in the same item.  See docstring for an
18740         example of output.
18741         (org-list-to-generic): Use new parsing function.
18742         (org-list-to-latex, org-list-to-html): Minor change for clearer
18743         export.
18745 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18747         * org-list.el (org-list-has-child-p): Rename from
18748         `org-list-get-child'.  Returning first child is only useful as a
18749         predicate, as we are allowing an item to have more than one
18750         sub-list.
18751         (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18752         of org-list-get-child.
18753         (org-in-item-p): Also return item beginning when list starts at
18754         context beginning.
18755         (org-list-get-parent): Use of `org-list-struct-parent-alist'
18756         helper function is not optional anymore.
18757         (org-list-get-all-items): Shorten code with the help of cl.el.
18758         (org-list-get-children): Now returns all children of item, even if
18759         they do not belong to the same list.  Renamed from
18760         `org-list-get-all-children'.
18761         (org-list-get-list-begin): Function wasn't return value when item
18762         was already the first item of the list at point.
18763         (org-list-get-list-end): Function wasn't return value when item
18764         was already the last item of the list at point.
18765         (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18766         `org-list-get-children'.
18768 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18770         * org.el (org-indent-line-function): Indentation of item's body
18771         starts just after the bullet, not after a checkbox.  Moreover, As
18772         `org-in-item-p' also returns item beginning position when point is
18773         in a list, do not compute it a second time.
18775 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18777         * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18778         usage `org-repair-list', forcing another reading of the list, with
18779         only needed subroutines.
18781 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18783         * org-list.el (org-list-separating-blank-lines-number): Use new
18784         accessors.
18785         (org-list-insert-item-generic): Use list structures to insert a
18786         new item.
18787         (org-list-exchange-items): Refactor and comment code.  Now return
18788         new struct instead of modifying it, as list sorting would
18789         sometimes eat first item.
18790         (org-move-item-down, org-move-item-up): Reflect changes to
18791         `org-list-exchange-items'.
18792         (org-insert-item): As `org-in-item-p' also computes item beginning
18793         when applicable, reuse the result.
18795 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18797         * org-list.el (org-list-in-item-p): Unify methods for this
18798         predicate.
18799         (org-list-in-item-p-with-indent): Remove function.
18800         (org-list-ending-between): Remove function.
18801         (org-list-maybe-skip-block): Remove function.
18802         (org-list-in-item-p-with-regexp): Remove function.
18803         (org-list-top-point-with-regexp): Remove function.
18804         (org-list-top-point-with-indent): Remove function.
18805         (org-list-bottom-point-with-indent): Remove function.
18806         (org-list-bottom-point-with-regexp): Remove function.
18807         (org-list-get-item-same-level): Remove function.
18808         (org-list-top-point): Remove function.
18809         (org-list-bottom-point): Remove function.
18810         (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18811         be consistent with naming policy of non-interactive functions.
18812         (org-get-beginning-of-list): Remove function.
18813         (org-beginning-of-item-list): Use new accessors.
18814         (org-get-end-of-list): Remove function.
18815         (org-end-of-list): Use new accessors.
18816         (org-get-end-of-item): Remove function.
18817         (org-end-of-item): Use new accessors.
18818         (org-get-previous-item): Remove function.
18819         (org-previous-item): Use new accessors.
18820         (org-get-next-item): Remove function.
18821         (org-next-item): Use new accessors.
18822         (org-list-get-item-end-before-blank): Use new accessors.
18824 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18826         * org-list.el (org-list-repair): Remove optional argument
18827         FORCE-BULLET.  The job of this interactive function is to
18828         completely fix a list at point.  Changing bullets is a separate
18829         task.  Also removed others optional arguments TOP and BOTTOM to
18830         follow the new structures.
18831         (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18832         STRUCT is a new required argument.  This avoids computing a list
18833         structure many times when function is called more than once in a
18834         row, for example in `org-cycle-item-indentation'.  Use new
18835         accessors.  Now, also call `org-update-checkbox-count-maybe'.
18836         (org-outdent-item, org-indent-item, org-outdent-item-tree)
18837         (org-indent-item-tree): Remove need for TOP and BOTTOM.
18838         (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18839         (org-list-exchange-items): Use new accessors.  Now modify struct
18840         to avoid re-reading it later.
18841         (org-move-item-down): Reflect changes to `org-list-repair'.
18842         Use new accessors.
18843         (org-move-item-up): Reflect changes to `org-list-repair'.  Use new
18844         accessors.
18845         (org-cycle-list-bullet): Use new structures.  Also use a shortcut
18846         to `org-list-struct-fix-struct' in order to avoid unnecessary
18847         fixes, like `org-list-struct-fix-box'
18848         (org-sort-list): Use of new structures.  Renamed an internal
18849         function for a little more clarity.
18850         (org-cycle-item-indentation): Remove dependency on
18851         `org-list-repair'.  Use new accessors.
18852         (org-list-get-child): Correct bug when asking for the child of the
18853         last item.
18854         (org-list-exchange-items): Use new accessors.
18856 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18858         * org-list.el (org-list-blocks): New variable.
18859         (org-list-context): New function.
18860         (org-list-full-item-re): New variable.
18861         (org-list-struct-assoc-at-point): Use new variable.
18862         (org-list-struct): Rewrite of function.  Now, list data is
18863         collected by looking at the list line after line.  It reads the
18864         whole list each time because reading only a subtree was not enough
18865         for some operations, like fixing checkboxes.  It also removes the
18866         need to get `org-list-top-point' and `org-list-bottom-point'
18867         first.  An added data is the position of item ending.  This aims
18868         to be able to have list followed by text inside an item.
18869         (org-list-struct-assoc-end): New function.
18870         (org-list-struct-parent-alist): New function.
18871         (org-list-get-parent): New function.
18872         (org-list-get-child): New function.
18873         (org-list-get-next-item): New function.
18874         (org-list-get-prev-item): New function.
18875         (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18876         (org-list-get-all-items): New function.
18877         (org-list-get-all-children): New function.
18878         (org-list-get-top-point): New function.
18879         (org-list-get-bottom-point): New function.
18880         (org-list-get-counter): New function.
18881         (org-list-get-item-end): New function.
18882         (org-list-struct-fix-bul): Rewrite for cleaner code.  Make use of
18883         new accessors.
18884         (org-list-struct-fix-ind): Make use of new accessors.
18885         (org-list-struct-fix-box): New function.
18886         (org-list-struct-fix-checkboxes): Remove function.
18887         (org-list-struct-outdent): Use new accessors.  Use the fact that
18888         there is no longer a virtual item at beginning of structure.
18889         (org-list-struct-indent): Use helper functions
18890         `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18891         Also use new accessors.
18892         (org-list-struct-fix-struct): Comment function.  Call directly
18893         `org-list-struct-apply-struct', without removing unchanged items
18894         first.
18895         (org-list-struct-apply-struct): Comment function.  Rewrite using
18896         new accessors.  Use new variable `org-list-full-item-re'.
18897         (org-list-shift-item-indentation): Remove function, now included
18898         in `org-list-struct-apply-struct' because it is too specific.
18900 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18902         * org-list.el (org-toggle-checkbox): Use structures to fix
18903         checkboxes of a list.
18904         (org-update-checkbox-count): Use structures to update cookies.
18906 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18908         * org-list.el (org-list-struct-fix-checkboxes): New function.
18909         (org-checkbox-blocked-p): Remove function.
18911 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18913         * org-list.el (org-list-get-all-items): New function.
18914         (org-list-get-all-children): New function.
18915         (org-list-get-nth): New function.
18916         (org-list-set-nth): New function.
18917         (org-list-get-ind): New function.
18918         (org-list-set-ind): New function.
18919         (org-list-get-bullet): New function.
18920         (org-list-set-bullet): New function.
18921         (org-list-get-checkbox): New function.
18922         (org-list-set-checkbox): New function.
18923         (org-list-struct-fix-bul): Use new accessors.
18924         (org-list-repair): Use new accessors.
18925         (org-list-indent-item-generic): Make use of accessors.
18926         (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18927         (org-list-get-child): Rename from `org-list-struct-get-child'.
18928         (org-list-struct-fix-ind): Make use of accessors.
18929         (org-list-get-next-item): New function.
18930         (org-list-get-subtree): New function.
18932 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18934         * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18935         list structure.
18937         * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18938         value in structure.
18940         * org-list.el (org-list-struct-apply-struct): Also apply
18941         checkboxes.
18943 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18945         * org-latex.el (org-export-latex-content): Bind local variables
18946         for export in the temporary export buffer.
18948 2011-07-28  David Maus  <dmaus@ictsoc.de>
18950         * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18951         (org-protocol-unhex-string, org-protocol-unhex-compound):
18952         Change date of obsolete declaration to 2011-02-17.
18954 2011-07-28  David Maus  <dmaus@ictsoc.de>
18956         * org.el (org-link-escape): Throw error if encoding character in
18957         utf8 fails.
18959 2011-07-28  David Maus  <dmaus@ictsoc.de>
18961         * org-protocol.el (org-protocol-split-data)
18962         (org-protocol-open-source): Use `org-link-unescape' instead of
18963         obsolete unhex string function.
18965 2011-07-28  David Maus  <dmaus@ictsoc.de>
18967         * org.el (org-link-escape, org-link-escape-chars-browser)
18968         (org-link-escape-chars): Always percent escape the percent sign.
18970 2011-07-28  David Maus  <dmaus@ictsoc.de>
18972         * org.el (org-link-unescape): Simpler algorithm for replacing
18973         percent escapes.
18974         (org-link-unescape-compound): Use cond statements instead of nested
18975         if, convert hex string with string-to-number, save match data.
18976         (org-link-unescape-single-byte-sequence): Use mapconcat and
18977         string-to-number for unescaping single byte sequence.
18979 2011-07-28  David Maus  <dmaus@ictsoc.de>
18981         * org.el (org-link-escape): Rename lambda argument.
18983 2011-07-28  David Maus  <dmaus@ictsoc.de>
18985         * org.el (org-link-escape-chars-browser, org-link-escape-chars):
18986         Add percent sign to list of escape chars.
18988 2011-07-28  David Maus  <dmaus@ictsoc.de>
18990         * org-mobile.el (org-mobile-escape-olp): Use new percent escape
18991         character table format.
18993 2011-07-28  David Maus  <dmaus@ictsoc.de>
18995         * org-mobile.el (org-mobile-locate-entry): Remove obsolete
18996         argument in call to org-link-unescape.
18998 2011-07-28  David Maus  <dmaus@ictsoc.de>
19000         * org-protocol.el (org-protocol-unhex-string)
19001         (org-protocol-unhex-compound)
19002         (org-protocol-unhex-single-byte-sequence): Declare obsolete and
19003         alias to respective org-link-unescape-* functions.
19005 2011-07-28  David Maus  <dmaus@ictsoc.de>
19007         * org.el (org-link-unescape, org-link-unescape-compound)
19008         (org-link-unescape-single-byte-sequence): Functions moved and renamed
19009         from org-protocol.el.
19011 2011-07-28  David Maus  <dmaus@ictsoc.de>
19013         * org-macs.el (org-char-to-string): Inline function to properly
19014         decode utf8 characters in Emacs 22.  Moved and renamed from
19015         org-protocol.el.
19017 2011-07-28  David Maus  <dmaus@ictsoc.de>
19019         * org.el (org-link-escape): New optional argument.  Merge user
19020         table with default table.
19022 2011-07-28  David Maus  <dmaus@ictsoc.de>
19024         * org.el (org-link-escape): Fixup doc string.
19026 2011-07-28  David Maus  <dmaus@ictsoc.de>
19028         * org.el (org-link-escape-chars, org-link-escape-chars-browser):
19029         New format of percent escape table.
19030         (org-link-escape): Use new table format.
19032 2011-07-28  David Maus  <dmaus@ictsoc.de>
19034         * org.el (org-link-escape): New Unicode aware percent encoding
19035         algorithm.
19037 2011-07-28  Sebastian Rose  <sebastian_rose@gmx.de>
19039         * org-protocol.el (org-protocol-unhex-single-byte-sequence):
19040         New function.  Decode hex-encoded singly byte sequences.
19041         (org-protocol-unhex-compound): Use new function if decoding sequence
19042         as Unicode character failed.
19044 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19046         * org-html.el (org-export-as-html): Expand the HTML title.
19048 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19050         * org-publish.el (org-publish-cache-ctime-of-src):
19051         Improve docstring.
19052         (org-publish-find-title): New option to explicitly reset the title
19053         in the cache.
19054         (org-publish-format-file-entry): Use this new option.
19056 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19058         * org-exp.el (org-export-preprocess-string): Set the source buffer
19059         and use `org-clone-local-variables' to get local variables from
19060         it.
19062 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19064         * org-exp.el (org-export-format-source-code-or-example):
19065         Allow empty string as second element in minted/listings options.
19067 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19069         * org-exp.el (org-export-format-source-code-or-example):
19070         Support new user-customizable options.
19071         (org-export-latex-custom-lang-environments): Ensure new variable
19072         is defined.
19073         (org-export-latex-listings-options): Ensure new variable is defined.
19074         (org-export-latex-minted-options): Ensure new variable is defined.
19076 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19078         * org-html.el (org-export-as-html): Handle the case when
19079         `org-export-html-validation-link' is nil to keep backward
19080         compatible with the old default value of this variable.
19082 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19084         * ob.el (org-babel-insert-result): Don't choke if indent is not a
19085         number.
19087 2011-07-28  Christian Moe  <mail@christianmoe.com>  (tiny change)
19089         * org-bbdb.el (org-bbdb-export): When a link description has been
19090         added by `org-export-normalize-links', use path instead (remove
19091         the `bbdb:' prefix).
19093 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19095         * org-ascii.el (org-export-ascii-underline): Put the level's
19096         characters in the right order, as documented by the docstring.
19097         (org-ascii-level-start): Select the right char for underlining
19098         headlines.
19100 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19102         * org-src.el (org-edit-src-code): Allow to edit source code from
19103         modes derived from Org.
19105 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>
19107         * org-clock.el (org-clock-clocktable-language-setup): Add list of
19108         dutch strings.
19110 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19112         * org-beamer.el: Mark frame as fragile when it is using minted for
19113         src block export.
19115 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19117         * org-agenda.el (org-agenda-date-later)
19118         (org-agenda-date-earlier): Enhance docstrings.
19119         (org-agenda-bulk-mark-regexp): Only match against headlines.
19120         Send a message when no entry is marked.
19121         (org-agenda-bulk-action): Fix bug about scattering deadlines.
19122         Send an error when trying to scatter outside an agenda or a
19123         timeline view.  Silently fail when trying to scatter sexp entries.
19125 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19127         * org-clock.el (org-clock-clocktable-language-setup): New custom
19128         variable.
19129         (org-clocktable-defaults): Set the default language.
19130         (org-clocktable-write-default): Use the new variable.
19132 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19134         * ob.el (org-babel-src-block-names): Don't strip text properties
19135         from search hits.
19136         (org-babel-result-names): Don't strip text properties from search
19137         hits.
19139 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19141         * ob-python.el (org-babel-python-evaluate-session): Pass nil as
19142         remove-echo part of META argument to
19143         `org-babel-comint-with-output'.
19145 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19147         * ob.el (org-babel-script-escape): Use `substring' comparison
19148         instead of regexp matching.
19150 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19152         * org-src.el (org-edit-src-code): When generating the code edit
19153         buffer, it is necessary for several variables to inherit their
19154         values from the parent org buffer.  These changes collect all such
19155         variables together into a single association list of
19156         `(variable-name value)' pairs.  In addition, a new variable is
19157         added to the list: `org-edit-src-content-indentation'.  This has
19158         the effect that a buffer local value can be used for that
19159         variable.
19161 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19163         * ob-table.el (sbe): Don't truncate sbe results.
19165 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19167         * org-exp.el (org-export-add-options-to-plist): Require match to
19168         start at a word-boundary.
19170 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19172         * org-latex.el (org-export-latex-hyperref-format):
19173         Update docstring.
19175 2011-07-28  Tom Dye  <tsd@tsdye.com>
19177         * org.el: Update documentation of `org-add-link-type'.
19179 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19181         * org.el (org-open-at-point): Fix bug when using prefix arg to
19182         construct `org-link-search' call.  Rename prefix arg with a more
19183         generic name, to reflect its diverse uses in this function.
19185 2011-07-28  Rémi Vanicat  <vanicat@debian.org>
19187         * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
19188         (org-icalendar-date-time-format): New custom variable.
19189         (org-icalendar-use-UTC-date-timep): New function.
19190         (org-ical-ts-to-string): Use the new variable.
19192 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19194         * org-vm.el (org-vm-store-link): Make sure the buffer is
19195         associated with a file when trying to store an Org link.
19197 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19199         * ob.el (org-babel-params-from-properties): Test for
19200         "header-arg-name" and ":header-arg-name", in that order.
19202 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19204         * org-capture.el (org-capture-templates): Document "currentfile"
19205         for capture template.
19206         (org-capture-templates): Allow to use currentfile for capture
19207         templates.
19208         (org-capture-set-target-location): Handle currentfile as a way to
19209         setting the capture buffer.
19211 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19213         * ob.el (org-babel-params-from-properties): Don't wrap
19214         `org-entry-get' into `condition-case'.
19216 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19218         * org.el (org-entry-get): Don't look for a property drawer if we
19219         are before the first heading in the file.
19220         (org-entry-get-with-inheritance): Don't attempt to move up the
19221         tree if we are before the first heading in the file.  Also,
19222         enclose less of the function in the `save-excursion'.
19224 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19226         * ob.el (org-babel-params-from-buffer): Return desired value
19227         rather than nil from failed re search.
19229 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19231         * org-agenda.el (org-get-entries-from-diary): Put multiline diary
19232         entries on a single line when lines don't start with a diary time.
19234 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19236         * org-html.el (org-export-html-protect-char-alist): New custom
19237         variable to define characters to be HTML protected.
19238         (org-html-protect): Use the new variable.
19240 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19242         * org-info.el (org-info-store-link): Use "#" to separate the info
19243         file and the node.
19244         (org-info-follow-link): Use both "#" to separate the info file and
19245         the node.  Continue to use ":" for backward compatibility.
19247 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19249         * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
19250         variable.
19251         (org-print-icalendar-entries): Use this new variable to prevent
19252         export of entries with a :noexport: tag.
19254 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19256         * org-exp.el (org-export-initial-scope): New custom variable.
19257         (org-export): Use this new variable.  If there is an active
19258         region, tell it when prompting the user for an export command.
19259         Also change the way the function handles selection of buffer and
19260         subtree export.
19262 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19264         * org-html.el (org-export-html-auto-preamble)
19265         (org-export-html-auto-postamble): Remove.
19266         (org-export-html-preamble, org-export-html-postamble): Turn into
19267         custom variables.  Update the docstrings.
19268         (org-export-html-preamble-format)
19269         (org-export-html-postamble-format): New custom variables.
19270         (org-export-as-html): Use `org-export-html-postamble-format' and
19271         `org-export-html-preamble-format'.
19272         (org-export-html-title-format): Delete.
19274 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19276         * org-exp-blocks.el (org-export-blocks-format-ditaa):
19277         This function is begin deprecated in favor of begin_src blocks.
19278         (org-export-blocks-format-dot): This function is begin deprecated in
19279         favor of begin_src blocks.
19281 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19283         * ob.el (org-babel-header-arg-names): no-expand is now part of the
19284         default header argument names list.
19286 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
19288         * org-publish.el (org-publish-sitemap-date-format)
19289         (org-publish-sitemap-file-entry-format): New custom variables.
19290         (org-publish-projects): Use these variables to format the sitemap
19291         entries.
19293 2011-07-28  Ulf Stegemann  <ulf-news@zeitform.de>
19295         * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
19296         from `message-mode'.
19298 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19300         * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
19301         updating the filter while the clock report is following the
19302         filter.
19304 2011-07-28  Julien Danjou  <julien@danjou.info>
19306         * org-agenda.el (org-agenda): Kill all local variables.
19307         This assures we are not keeping buffer variable from an old agenda view
19308         when switching to a new custom agenda.
19310 2011-07-28  Julien Danjou  <julien@danjou.info>
19312         * org-crypt.el (org-encrypt-string): New function.
19313         (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
19314         cached crypted values.
19315         (org-decrypt-entry): Store crypted text in decrypted text.
19317 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19319         * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
19320         if a non-nil result is returned.
19322 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19324         * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
19325         modified today.
19327 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19329         * org.el (org-update-parent-todo-statistics): Fix bug when
19330         updating statistics from the column view.
19332 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19334         * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
19335         (org-agenda-menu): Add the new command to the menu.
19336         (org-agenda-mode-map): Add % as the keybinding for the new
19337         command.
19339 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19341         * org-exp.el (org-export-target-internal-links): Locally turn on
19342         `org-link-search-must-match-exact-headline' to match exact
19343         internal links.
19345 2011-07-28  Julien Danjou  <julien@danjou.info>
19347         * org-faces.el (org-special-keyword): Make it inherited from
19348         `font-lock-keyword-face'.
19350 2011-07-28  Julien Danjou  <julien@danjou.info>
19352         * org-faces.el (org-link): Make `org-link' inherits from `link'
19353         face.
19355 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19357         * org.el (org-narrow-to-block): New function to narrow to block.
19358         Bound this function to `C-x n b'.
19360 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19362         * org.el (org-schedule, org-deadline): Fix bug: take care of
19363         repeating timestamps like ".+1d/3d" or "+1d 10d".
19365 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19367         * org-agenda.el (org-agenda-repeating-timestamp-show-all):
19368         Allow to use a list of TODO keywords as the value of this variable.
19369         The agenda will show repeating stamps for entries matching these TODO
19370         keywords.
19371         (org-agenda-get-timestamps, org-agenda-get-deadlines)
19372         (org-agenda-get-scheduled): Allow the use of a list of keywords in
19373         `org-agenda-repeating-timestamp-show-all'.
19375 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19377         * org-latex.el (org-export-latex-emph-format): Don't use
19378         `org-export-latex-use-verb'.  Remove this variable.
19380 2011-07-28  Jason Dunsmore  <emacs-orgmode@dunsmor.com>  (tiny change)
19382         * org-html.el (org-html-handle-time-stamps): Fix bug when
19383         exporting inactive timestamps.
19385 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19387         * org-archive.el (org-archive-save-context-info): Fix docstring
19388         typo.
19389         (org-archive-subtree-add-inherited-tags): New variable to control
19390         whether inherited tags should be appended to local tags when
19391         archiving subtrees.
19392         (org-archive-subtree): Use the new variable.
19394 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19396         * org-archive.el (org-archive-save-context-info): Fix docstring.
19398 2011-07-28  Julien Danjou  <julien@danjou.info>
19400         * org-crypt.el (org-decrypt-entry): Delete \n on top level
19401         heading.  This avoids a display bug showing the heading outlined
19402         where the text is not since it does not have the outline property.
19403         Restore subtree visibility state after decryption.
19405 2011-07-28  Julien Danjou  <julien@danjou.info>
19407         * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
19408         as a possible default span if it is set.
19410 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19412         * org-src.el (org-edit-src-persistent-message): Change docstring.
19413         (org-edit-src-code): Get rid of help message in echo area.
19415         * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
19416         argument to org-edit-src-code as this has been removed.
19418 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19420         * org-latex.el (org-export-latex-emphasis-alist):
19421         Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
19422         emphasis.
19423         (org-export-latex-use-verb): Now defaults to t.
19424         (org-export-latex-emph-format): Distinguish between =...= and
19425         ~...~ emphasis.
19427 2011-07-28  Julien Danjou  <julien@danjou.info>
19429         * org.el (org-link-expand-abbrev): Allow any type of character in
19430         link expand.
19432 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19434         * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
19436 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19438         * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
19439         resolving references.
19441 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19443         * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
19444         instead of <hr> to keep w3c validator happy.
19446 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19448         * ob.el (org-babel-where-is-src-block-head): Detect src block if
19449         point is on a #+header line.
19451 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19453         * ob.el (org-babel-where-is-src-block-head): Skip over intervening
19454         #+header lines when searching for block associated with block name
19455         line.
19457 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19459         * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
19460         the more specific `org-at-item-p'.
19462 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19464         * org-latex.el (org-latex-default-figure-position): New defcustom
19465         for default placement of latex figures.
19466         (org-export-latex-tables): Positioning tables using the new
19467         defcustom variable.
19468         (org-export-latex-format-image): Positioning images using the new
19469         defcustom variable.
19471 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19473         * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
19474         evaluated and :file header argument is missing.
19476 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19478         * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
19479         to do anything to export code.
19480         (org-babel-exp-results): No longer returns a replacement for the
19481         code block.
19482         (org-babel-exp-inline-src-blocks): Simplify.
19483         (org-babel-exp-src-block): Remove unnecessary pluralization from
19484         function name.
19486 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19488         * ob-exp.el (org-babel-exp-inline-src-blocks):
19489         Simplify exportation of inline code blocks using normal code block
19490         execution mechanism to insert results.
19491         (org-babel-exp-results): Results exportation mechanism is unified
19492         for both inline and regular code blocks.
19494         * ob.el (org-babel-where-is-src-block-result): Returns the point
19495         after an inline code block for inline code blocks.
19497 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19499         * ob.el (org-babel-insert-result): Special handling of the
19500         position of results of inline code blocks.
19501         (org-babel-examplize-region): Now able to comment inline regions.
19503 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19505         * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
19506         that \\[ a = b \\] is not interpreted as a keybinding by
19507         `substitute-command-keys'.
19509 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19511         * org-latex.el (org-export-as-latex): Process export property list
19512         with `org-export-process-option-filters' early in latex export.
19514 2011-07-28  Julien Danjou  <julien@danjou.info>
19516         * org.el: Remove `org-invisible-p': `outline-invisible-p' is
19517         available in Emacs 22 and in recent XEmacs 21.  Replace in various
19518         files.
19520 2011-07-28  Julien Danjou  <julien@danjou.info>
19522         * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
19523         it must has \\ at the end of the line.  This avoid matching the
19524         following heading when there's no newline between the logged state
19525         and the next heading.
19527 2011-07-28  Julien Danjou  <julien@danjou.info>
19529         * org-agenda.el (org-format-agenda-item): Simplify time comuting.
19531 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19533         * org.el (org-current-level, org-store-link, org-mark-subtree):
19534         Use `org-with-limited-levels'.
19536 2011-07-28  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19538         * org-publish.el (org-publish-get-base-files): Add sitemap file.
19540 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19542         * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
19543         (org-agenda-todo-ignore-scheduled): New option.
19544         (org-agenda-todo-ignore-timestamp): New option.
19545         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
19546         Allow user to specify custom distance to ignore (future or past).
19547         (org-agenda-todo-custom-ignore-p): New function.
19549 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19551         * org-habit.el (org-habit-parse-todo) Don't parse more days than
19552         needed.
19554 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19556         * ob.el (org-babel-map-inline-src-blocks): Macro for executing
19557         code in each inline code block.
19558         (org-babel-execute-buffer): Executes inline code blocks as well as
19559         regular code blocks.
19561 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19563         * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
19564         blocks for removal.
19566 2011-07-28  Benjamin Drieu  <bdrieu@april.org>  (tiny change)
19568         * org-clock.el (org-clock-before-select-task-hook): New hook.
19569         (org-clock-select-task): Run new hook.
19571 2011-07-28  Julien Danjou  <julien@danjou.info>
19573         * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
19574         events with range.  This display things like: <2011-01-22 Sat
19575         14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
19576         at 14:00 and ending at 20:00.
19578 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19580         * ob.el (org-babel-inline-src-block-regexp): Character preceding
19581         "src_" can now be anything as long as it is neither alphanumeric
19582         nor '-'.
19584 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19586         * ob.el (org-babel-merge-params): Docstring typo.
19588 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19590         * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
19591         in the buffer.
19593 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19595         * ob.el (org-babel-get-src-block-info): Alter order of merge
19596         arguments.
19598 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19600         * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
19602 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19604         * ob.el (org-babel-insert-result): Ensure all parts of result
19605         wrappers end in newlines.
19607 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19609         * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
19610         optionally creates parent directories of tangle targets.
19612 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19614         * org-ascii.el (org-ascii-level-start): Catch the case of levels
19615         which do not have an equivalent in the list of underline
19616         characters.
19618 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19620         * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
19621         the format string used to escape arguments to shell code blocks.
19623 2011-07-28  Julien Danjou  <julien@danjou.info>
19625         * org-agenda.el (org-agenda-reset-view): New function.
19626         (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19628 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
19630         * org-exp.el (org-export-handle-include-files): Support :lines
19631         property.
19632         (org-get-file-contents): New argument lines to include specify a
19633         range of lines to include.
19635 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19637         * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19639 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19641         * org-latex.el (org-export-latex-make-header): Export email in
19642         author line if `org-export-email-info' is non-nil.
19644 2011-07-28  Julien Danjou  <julien@danjou.info>
19646         * org-agenda.el (org-agenda-goto-today): Respect current span.
19648 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19650         * org-complete.el (pcomplete/org-mode/link)
19651         (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19652         before uniquifying.
19654 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19656         * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19657         linking comment type
19658         (org-babel-tangle-comment-links): Returns comment links for the
19659         source code block at point.
19661 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19663         * org.el (org-refile-check-position): Send a more explicit message
19664         on how to clear the cache before refiling again.
19666 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19668         * org-agenda.el (org-agenda-skip-function-global): New option.
19669         (org-agenda-skip-eval): New function.
19670         (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19671         the global skipping condition.
19673 2011-07-28  David Maus  <dmaus@ictsoc.de>
19675         * org-html.el (org-export-as-html): Handle timestamps after
19676         handling links.
19678 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19680         * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19681         until either a matching block is found, or the limits of the file
19682         are reached.
19684 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19686         * ob.el (org-babel-update-block-body): Literal argument to
19687         `replace-match' to allow insertion of text containing '\'.
19689 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19691         * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19692         into code blocks.
19694 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19696         * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19698 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19700         * ob.el (org-babel-open-src-block-result): Must collect result
19701         *before* jumping to the result buffer.
19703 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19705         * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19706         used after update to regexp.
19708 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19710         * ob.el (org-babel-temp-file): Ensure that
19711         `org-babel-temporary-directory' is bound before using.
19712         (org-babel-remove-temporary-directory): Safer error throwing.
19714 2011-07-28  niels giesen  <niels.giesen@gmail.com>
19716         * org-docbook.el (org-export-docbook-finalize-table): Do literal
19717         replacements.
19719 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19721         * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19722         resolve language names for evaluation.
19724 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19726         * org-capture.el (org-capture-templates): Add %f and %F escapes
19727         (org-capture): Add more information to capture property list
19728         (org-capture-fill-template): Handle %f and %F escapes.
19730 2011-07-28  David Maus  <dmaus@ictsoc.de>
19732         * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19733         symlink target.
19735 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19737         * org.el (org-occur-next-match): New function.
19738         (org-mode): Set the variable `next-error-function'.
19739         (org-highlight-new-match): Add an `org-type' property to the
19740         overlays.
19742 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19744         * ob-calc.el: No longer require `calc-trail' on XEmacs.
19746 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19748         * org.el (org-modules): Add `org-eshell'.
19750 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19752         * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19753         dynamically scoped variables.
19755         * org.el (org-modules): Move `org-special-blocks' into the core
19756         modules section.
19758 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19760         * org-special-blocks.el: New file.
19762 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19764         * org.el (org-plist-delete): Remove duplicate definition.
19766 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19768         * org-agenda.el (org-agenda-goto): Display invisible entry text.
19770         * org-agenda.el (org-agenda-switch-to): Display invisible entry
19771         text.
19773 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19775         * org.el (org-get-category): New optional argument FORCE-REFRESH.
19776         Automatically refresh if the property is not there.
19777         (org-entry-properties): Remove refresh - this is now done in
19778         org-get-category.
19780         * org-clock.el (org-clock-insert-selection-line):
19781         Let `org-get-category' do the property refresh.
19783         * org-archive.el (org-archive-subtree): Force a refresh of
19784         category properties.
19786 2011-07-28  Julien Danjou  <julien@danjou.info>
19788         * org-icalendar.el (org-print-icalendar-entries): Do not manually
19789         refresh categories.
19791 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19793         * org.el (org-display-inline-images): Check for clear-image-cache
19794         before using it.
19796 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19798         * org.el: Document missing value for org-link-frame-setup.
19800 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19802         * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19803         user code prior to the R exception-handling, so that errors in
19804         user code are unhandled.
19806 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19808         * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19809         that a major-mode function corresponding to the language string
19810         exists.
19812 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19814         * org-exp.el (org-export-mark-list-ending): Insert additional
19815         newline characters if end-list-marker is at a wrong position.
19817 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19819         * ob.el (org-babel-script-escape): Replace commas with spaces for
19820         better list reading when list items are packed with commas,
19821         e.g. Haskell list output.
19823 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19825         * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19826         error reporting.
19828 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19830         * ob.el (org-babel-confirm-evaluate): Fix for the case when
19831         org-confirm-babel-evaluate is a function (used to always ask no
19832         matter what the function returns).
19834 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19836         * ob-R.el: Delete duplicated function.
19838 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19840         * ob.el (org-babel-execute-src-block): Remove unused flet
19841         function.
19843 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19845         * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19846         signal that the intended content has been written to file.
19848         * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19849         the intended content has been written to file.
19851         * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19852         intended content has been written to file.
19854         * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19855         that the intended content has been written to file.
19857         * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19858         the intended content has been written to file.
19860         * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19861         that the intended content has been written to file.
19863         * ob-octave.el (org-babel-execute:octave): Return result; not name
19864         of output file.
19866         * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19867         signal that the intended content has been written to file.
19869         * ob-python.el (org-babel-execute:python): Return result; not name
19870         of output file.
19872         * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19873         output file.
19875         * ob-sass.el (org-babel-execute:sass): Return nil if result has
19876         been written to file.
19878 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19880         * ob-R.el (org-babel-R-graphical-output-file): New function
19881         returns the name of the output file iff R has been instructed to
19882         send graphical output to file by means of the ":results graphics"
19883         directive.
19884         (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19885         when constructing the R code to evaluate, which may be augmented
19886         with code implementing the writing of graohical output to file.
19887         (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19888         determine whether R is taking responsibility for writing output to
19889         file; if so, this is signaled to ob.el by returning a nil result.
19891 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19893         * ob.el (org-babel-format-result): New function to format results
19894         of src block execution.
19895         (org-babel-execute-src-block): Use `org-babel-format-result' when
19896         writing to file.
19897         (org-babel-open-src-block-result): Use `org-babel-format-result'
19898         when displaying results in a buffer.  Name results buffer
19899         differently.
19901 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19903         * ob.el (org-babel-execute-src-block): Avoid calling
19904         `orgtbl-to-generic' on number results.
19906 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19908         * ob.el (org-babel-execute-src-block): Allow specification of
19909         table separator with :sep header argument.
19910         (org-babel-open-src-block-result): Allow specification of table
19911         separator with :sep header argument.
19913 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19915         * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19916         executing buffer (note that this handles execute subtree also).
19918 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19920         * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19921         do not modify match data either.
19922         (org-inlinetask-goto-end): Small refactoring, remove
19923         case-sensitivity.
19924         (org-inlinetask-goto-beginning): Small refactoring, remove
19925         case-sensitivity.
19927 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19929         * org-capture.el (org-capture-set-target-location):
19930         Use `current-time'.
19932 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19934         * org-capture.el (org-capture-set-target-location):
19935         Use `current-time'.
19937 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19939         * org.el (org-before-first-heading-p): If point is on an org-mode
19940         heading line then we are not before the first heading.
19942 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
19944         * org-timer.el (org-timer-continue-hook): Define the variable
19945         (org-timer-pause-or-continue): Run hook after relative timer is
19946         continued.
19948 2011-07-28  Julien Danjou  <julien@danjou.info>
19950         * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19952 2011-07-28  Julien Danjou  <julien@danjou.info>
19954         * org-capture.el (org-capture-fill-template): Use org-eval.
19956 2011-07-28  Julien Danjou  <julien@danjou.info>
19958         * org-agenda.el (org-eval): New function.
19960 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19962         * ob.el (org-babel-execute-src-block): With :results file, when
19963         :file is not supplied, interpret result as a file link as long as
19964         it is a string.
19966 2011-07-28  David Maus  <dmaus@ictsoc.de>
19968         * org-latex.el (org-export-latex-preprocess): Don't convert link
19969         description parts that look like numeric footnote.
19971 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19973         * org-latex.el (org-export-latex-tables): Allowing specification
19974         of tabular[xy] inner environments through the ATTR_LaTeX line.
19976 2011-07-28  Julien Danjou  <julien@danjou.info>
19978         * org-capture.el (org-capture-fill-template):
19979         Use `org-set-property' directly.
19981 2011-07-28  Julien Danjou  <julien@danjou.info>
19983         * org-agenda.el (org-agenda-prefix-format): Add missing `search'
19984         item in docstring.
19986 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19988         * org-exp.el (org-export-string): Use `format' to construct
19989         function call to allow symbolic or string arguments.
19991 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19993         * org-capture.el (org-capture-place-entry):
19994         (org-capture-insert-template-here): Check tree for validity before
19995         pasting it.
19997 2011-07-28  Julien Danjou  <julien@danjou.info>
19999         * org-gnus.el (org-gnus-store-link): Trim date.
20001 2011-07-28  Julien Danjou  <julien@danjou.info>
20003         * org.el (org-email-link-description): Allow to retrieve email
20004         link date.
20006 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
20008         * org.el (org-make-target-link-regexp): `regexp-quote' target
20009         before replacing whitespace.
20011 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20013         * ob.el (org-babel-expand-noweb-references): Noweb references can
20014         now be resolved from the library of babel.
20016 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20018         * ob.el (org-babel-result-end): No longer leaving trailing new
20019         line after block removal.
20021 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20023         * org-latex.el (org-export-latex-first-lines): Anchor outline
20024         regexp during LaTeX tree export.
20026 2011-07-28  Konrad Hinsen  <konrad.hinsen@fastmail.net>
20028         * ob-python.el (org-babel-python-initiate-session-by-key):
20029         Make sure that py-which-bufname is initialized, as otherwise it will be
20030         overwritten the first time a Python buffer is created.
20032 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20034         * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
20035         with spaces.
20037 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20039         * ob-org.el (org-babel-execute:org): Padding code block with an
20040         empty title on LaTeX export.
20042 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20044         * org.el (org-entry-properties): Stop scanning for timestamps if a
20045         specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
20046         requested and a match is found.  Also, if a specific timestamp
20047         property is requested, do not push non-relevant timestamps onto
20048         property list.
20050 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20052         * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
20053         when grid is being made for today.
20055 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20057         * org-agenda.el (org-agenda-get-scheduled): Don't call
20058         `org-is-habit-p' until after checking for
20059         `org-agenda-skip-scheduled-if-done'.
20061 2011-07-28  Achim Gratz  <Stromeko@nexgo.de>
20063         * org.el: Remove spurious linebreak introduced by earlier patch.
20065         * ob.el, ob-ref.el: Remove double fix of the same problem.
20067 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20069         * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
20071 2011-07-28  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20073         * org-html.el (org-export-html-mathjax-template):
20074         Displaymath environment and MathJax.
20076 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20078         * org-faces.el (org-agenda-current-time): New face.
20080         * org-agenda.el (org-agenda-show-current-time-in-grid):
20081         (org-agenda-current-time-string): New options.
20082         (org-agenda-add-time-grid-maybe): Add current time to time grid.
20084 2011-05-10  Jim Meyering  <meyering@redhat.com>
20086         Fix doubled-word typos.
20087         * org-agenda.el (org-agenda-entry-types): the the -> the
20088         * org-table.el (org-table-get-remote-range): or or -> or
20089         * org-wl.el (org-wl-folder-type): the the -> the
20090         * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
20092 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20094         * org-src.el (org-src-switch-to-buffer):
20095         * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
20096         * org-mouse.el (org-mouse-agenda-type):
20097         * org-freemind.el (org-freemind-node-to-org):
20098         * ob-sql.el (org-babel-execute:sql):
20099         * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
20100         * ob-ref.el (org-babel-ref-resolve): Fix use of case.
20102 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
20104         * Version 23.3 released.
20106 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20108         * org.el (org-blank-before-new-entry, org-context-in-file-links)
20109         (org-refile-targets, org-log-repeat, org-insert-link)
20110         (org-speed-command-default-hook, org-speed-command-hook)
20111         (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
20112         Fix typos in docstrings.
20113         (org-toggle-pretty-entities): Fix typo in message.
20115 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20117         * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
20119 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20121         * org-remember.el (org-remember-mode-map):
20122         * org-src.el (org-src-mode-map): Move initialization into declaration.
20124 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20126         * org-remember.el (org-remember-mode):
20127         * org-capture.el (org-capture-mode): Don't run hook redundantly.
20129 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
20131         * org-faces.el (org-link): Inherit from link face.
20132         Suggested by Joakim Verona.
20134 2010-12-11  Tassilo Horn  <tassilo@member.fsf.org>
20136         * org-footnote.el (org-footnote-create-definition): Place
20137         Footnotes section before message-signature-separator also in modes
20138         derived from message-mode.
20140 2010-12-11  Julien Danjou  <julien@danjou.info>
20142         * org.el (org-make-tags-matcher): Remove useless cat-p value.
20144 2010-12-11  Julien Danjou  <julien@danjou.info>
20146         * org.el (org-entry-properties): Enhance docstring.
20148 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20150         * org-list.el (org-list-top-point-with-indent)
20151         (org-list-bottom-point-with-indent): Pay also attention to
20152         'original-indentation property of text, as blocks are put to
20153         column 0 upon exporting.
20155 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20157         * ob.el (org-babel-remove-temporary-directory): Handle exception
20158         with message informing of failure to remove directory.
20160 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20162         * ob-clojure.el (org-babel-header-arg-names:clojure): Add
20163         `package' to the list of Clojure header arguments which will be read
20164         from heading properties.
20166 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20168         * org-inlinetask.el (org-inlinetask-export-templates): Add
20169         Sébastien Vauban's suggestion for LaTeX export in docstring.  This is
20170         not default as it requires an additional LaTeX package: "todonotes".
20172 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20174         * org-inlinetask.el (org-inlinetask-export-templates): New variable.
20176         * org-inlinetask.el (org-inlinetask-export-handler): Make use of
20177         templates to export inline tasks.
20179 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20181         * org.el (org-current-level): Ignore inline tasks when getting current
20182         level of entry.
20184 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20186         * org.el (org-indent-line-function): Ignore drawers inside inline
20187         tasks  if the line to indent isn't inside an inline task itself.
20189 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20191         * org-inlinetask.el (org-inlinetask-get-task-level): New function.
20193         * org-indent.el (org-indent-add-properties): Find true level of
20194         indentation wrt inline tasks.
20196 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20198         * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
20200         * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
20202         * org-inlinetask.el (org-inlinetask-goto-end): New function.
20204         * org.el (org-mark-subtree): New command.
20206         * org.el (org-speed-commands-default, org-mode-map): Make use of
20207         new command.
20209 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20211         * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
20212         from @<span class...> so it can be removed during LaTeX export.
20214 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20216         * ob.el (org-babel-insert-result): More informative code block
20217         evaluation messages.
20219 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20221         * org.el (org-make-heading-search-string): Optionally limit number
20222         of lines stored in file link search strings.
20223         (org-context-in-file-links): Add option to set to integer specifying
20224         number of lines.
20226 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20228         * org-capture.el (org-capture-finalize): New prefix argument
20229         STAY-WITH-CAPTURE.
20230         (org-capture-refile): Improve docstring.
20232 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20234         * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
20235         interaction engine.
20237 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20239         * org-agenda.el (org-agenda-list):
20240         (org-agenda-goto-today): Use `org-today'.
20242 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20244         * org-latex.el (org-export-latex-make-header): Swap \begin{document}
20245         and the title/author definitions.
20247 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20249         * org-macs.el: Better backup definition for
20250         `with-silent-modifications'.
20252 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20254         * ob-python.el (org-babel-execute:python): Rename "prefix" to
20255         "preamble".
20256         (org-babel-python-evaluate): Rename "prefix" to "preamble".
20257         (org-babel-python-evaluate-external-process): Rename "prefix" to
20258         "preamble".
20260 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20262         * ob.el (org-babel-examplize-region): Check if `end' is a marker
20263         or a point and handle appropriately.
20265 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20267         * ob-sql.el (org-babel-execute:sql): Explicitly set field
20268         separator to \t when importing tabular data.
20270 2010-12-11  Julien Danjou  <julien@danjou.info>
20272         * org-agenda.el (org-agenda-custom-commands-local-options):
20273         Allow org-agenda-span to be a symbol.
20274         (org-agenda-ndays): Make obsolete.
20275         (org-agenda-span): New variable superseding org-agenda-ndays.
20276         (org-agenda-menu): Use org-agenda-current-span.
20277         (org-agenda-current-span): New local variable storing current
20278         span.
20279         (org-agenda-list): Take a span instead of ndays as argument.
20280         This function is now responsible for computing the ndays based
20281         on span.
20282         (org-agenda-ndays-to-span): Return span only if number of days
20283         really matches.
20284         (org-agenda-span-to-ndays): New function.
20285         (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
20286         (org-agenda-goto-today): Use org-agenda-compute-starting-span.
20287         (org-agenda-later): Do not give compute a new span, use the
20288         current one.
20289         (org-agenda-day-view, org-agenda-week-view)
20290         (org-agenda-month-view, org-agenda-year-view): Stop touching
20291         org-agenda-ndays.
20292         (org-agenda-change-time-span): Only compute starting-span.
20293         (org-agenda-compute-starting-span): New function derived from
20294         the old org-agenda-compute-time-span.
20295         (org-agenda-set-mode-name): Compute mode based on
20296         org-agenda-current-span.
20297         (org-agenda-span-name): New function.
20299 2010-12-11  Robert Pluim  <rpluim@gmail.com>  (tiny change)
20301         * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
20303 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20305         * org-clock.el (org-quarter-to-date): Define variables.
20306         (org-clock-special-range): Defin variables.  Use org-floor*.
20307         (org-clocktable-write-default): Define tcol.
20309         * org-compat.el (org-floor*): New function.
20311 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20312             John Wiegley  <jwiegley@gmail.com>
20314         * org-complete.el: New file.
20316 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20318         * org-clock.el (org-clocktable-write-default): Fix the % formula.
20320 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20322         * org-agenda.el (org-format-agenda-item): The value of
20323         org-category is not converted to a string unless it is defined.
20325 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20327         * ob-python.el (org-babel-execute:python): Pass the new "prefix"
20328         header argument through to external evaluation.
20329         (org-babel-python-evaluate): Pass the new "prefix" header argument
20330         through to external evaluation.
20331         (org-babel-python-evaluate-external-process): When specified prepend
20332         "prefix" to the file used in external evaluation.
20334 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20336         * ob-python.el (org-babel-python-evaluate-session): Change python
20337         module name from 'pp' to 'pprint'.
20339 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20341         * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
20342         from R session output, these are often the result of variable
20343         assignments.
20345 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20347         * ob-sql.el (orgtbl-to-csv): Declaring an external function to
20348         fix a compiler warning.
20350 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20352         * ob-eval.el (require): No longer require ob.el to allow
20353         requiring by ob.el.
20355         * ob.el (ob-eval): Require ob-eval.
20357 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20359         * ob.el (org-babel-confirm-evaluate): Show code block's name when
20360         it is available during evaluation query.
20362 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20364         * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
20365         code block.
20366         (org-babel-execute:sql): Use sql specific body expansion function.
20367         (org-babel-sql-expand-vars): Insert variables into a sql code block.
20369 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20371         * ob.el (org-babel-insert-result): Using markers instead of
20372         points for more robust buffer anchors.
20374 2010-12-11  Julien Danjou  <julien@danjou.info>
20376         * org-capture.el: Use org-today.
20378 2010-12-11  Julien Danjou  <julien@danjou.info>
20380         * org-habit.el: Use org-today.
20382 2010-12-11  Julien Danjou  <julien@danjou.info>
20384         * org.el (org-auto-repeat-maybe): Use org-today.
20386 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20388         * org-clock.el (org-day-of-week): New function.
20389         (org-quarter-to-date): New function.
20390         (org-clock-special-range): Implement quarters.
20392 2010-12-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
20394         * org.el (org-complete-tags-always-offer-all-agenda-tags):
20395         Fix docstring.
20397 2010-12-11  Julien Danjou  <julien@danjou.info>
20399         * org-agenda.el (org-format-agenda-item): Convert category to a string
20400         if it is a symbol.  This fixes the following call to
20401         org-agenda-get-category-icon which fails if category is not a string.
20403 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20405         * ob-clojure.el: Updated requirements documentation to mention
20406         the minimum version of Clojure.
20407         (org-babel-expand-body:clojure): Fully qualified function name.
20409 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20411         * org-latex.el (org-export-latex-lists): Do not add an
20412         unnecessary newline character after a list.
20414         * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
20415         point is just after a non blank line.
20417 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20419         * ob.el (org-babel-examplize-region): Remove old assertion which
20420         no longer applies to the result insertion code.
20422 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20424         * ob-python.el (org-babel-execute:python): Use a :return header
20425         argument for external evaluation in which the code block body need
20426         to be wrapped in a function.
20428 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20430         * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
20431         variable.
20433 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20435         * org.el (org-edit-special): Edit formulas when in TBLMF line.
20437 2010-12-11  Allen S. Rout  <asr@ufl.edu>  (tiny change)
20439         * org-capture.el (org-capture-after-finalize-hook): New hook.
20440         (org-capture-finalize): Run the new hook.
20442 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20444         * ob-clojure.el (org-babel-expand-body:clojure): Support for
20445         pretty printing of Clojure code and data.
20447 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20449         * ob.el (org-babel-insert-result): No longer escape results which
20450         will be wrapped in a block.
20452 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20454         * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
20455         warning and added documentation string.
20457 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20459         * ob-clojure.el (org-babel-execute:clojure): Remade using slime
20460         for all code evaluation.
20462 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20464         * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
20465         the column as well.
20467 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20469         * ob.el (org-babel-confirm-evaluate): More descriptive message
20470         when evaluation is aborted or disabled.
20472 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20474         * ob.el (org-babel-insert-result): Responds to new "wrap" header
20475         argument.
20476         (org-babel-merge-params): Includes new "wrap" header argument in
20477         one of the results header argument exclusive groups.
20479 2010-12-11  David Maus  <dmaus@ictsoc.de>
20481         * org-macs.el (with-silent-modifications): Fix condition for
20482         with-silent-modification.
20484 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20486         * ob.el (org-babel-parse-header-arguments): Stripping trailing
20487         spaces off of header arguments (even the first one).
20489 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20491         * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
20492         single quotes which is the best practice.
20493         (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
20494         more robust parsing of shell output.
20496 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20498         * org.el (org-additional-option-like-keywords): Add more keywords,
20499         and colons to some old ones.
20501 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20503         * ob-eval.el (org-babel-error-buffer-name): Define new variable.
20505 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20507         * ob-python.el (org-babel-python-table-or-string):
20508         Using `org-babel-script-escape' for reading string input from scripting
20509         languages.
20511 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20513         * org-macs.el (org-called-interactively-p): Wrap function call in
20514         with-no-warnings.
20515         (with-silent-modifications): Declare macro for Emacs < 23.2.
20517 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20519         * ob.el (org-babel-parse-header-arguments): Remove addition of
20520         ":" to singleton first header arguments as it was leading to errors.
20522 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20524         * org-latex.el (org-export-latex-make-header): Run the title through
20525         `org-export-latex-fontify-headline'.
20526         (org-export-latex-fontify-headline): Do the protection of math
20527         snippets also here.
20529 2010-12-11  Richard Lawrence  <richard.lawrence@berkeley.edu>
20531         * org-latex.el (org-export-as-latex): Sent the section title
20532         through the preprocessor.
20534 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20536         * org-html.el (org-html-level-start): Mark listified headings
20537         with a custom id.
20539 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20541         * org.el (org-open-at-point): Don't do footnote action if cursor is
20542         on a bracket link.
20544 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20546         * org.el (org-edit-special): Check also for TBLFM line.
20548 2010-12-11  Achim Gratz  <Stromeko@Stromeko.DE>  (tiny change)
20550         * org-clock.el (org-get-clocktable): Previous patch incorrectly
20551         required whitespace in front of #+BEGIN: and #+END:.
20553 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20555         * org-src.el (org-edit-src-code): Allow region to be inherited by
20556         edit buffer when mark is one character beyond end of src block.
20558 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20560         * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
20561         checking item indentation.
20563 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20565         * ob.el (org-babel-map-src-blocks): Move to earlier in the file
20566         and now autoloading.
20568 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20570         * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
20571         for testing list membership.
20573         * ob.el (org-babel-read-result): Use higher level function for
20574         testing list membership.
20575         (org-babel-result-end): Use higher level function for testing list
20576         membership.
20578 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20580         * ob-sqlite.el (ob-eval): Require ob-eval for external command
20581         execution.
20582         (org-babel-execute:sqlite): No longer uses the init option for
20583         passing commands to sqlite.
20585 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20587         * org.el (org-indent-line-function): Drawers and blocks have no
20588         influence on indentation of text below.  Also fix indentation
20589         problem with a block at column 0 and add a special case for
20590         literal examples.
20592 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20594         * ob.el (org-babel-map-src-blocks): Ensure that the file argument
20595         is only evaluated once.
20597 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20599         * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
20600         type of data
20601         (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
20603 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20605         * ob-tangle.el (org-babel-load-file): Can be called interactively.
20607 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
20609         * org-table.el (orgtbl-after-send-table-hook): New hook.
20610         (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
20611         table was sent.
20612         (orgtbl-send-table): Return the number of sent tables, or nil if no
20613         sending has happened.
20615 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20617         * org.el (org-get-priority-function): New option.
20618         (org-get-priority): Call `org-get-priority-function' if that
20619         has been set.
20621 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20623         * ob-table.el (org-babel-table-truncate-at-newline): Only add
20624         "..." if there is something after the newline.
20626 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20628         * org-clock.el (org-get-clocktable):
20629         (org-in-clocktable-p):
20630         (org-clocktable-shift):
20631         (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20633 2010-12-11  Puneeth Chaganti  <punchagan@gmail.com>
20635         * org-exp.el (org-export-handle-include-files): Support :minlevel
20636         property.
20637         (org-get-file-contents): New argument minlevel to demote included
20638         content.
20640 2010-12-11  Noorul Islam  <noorul@noorul.com>
20642         * org-latex.el (org-export-latex-hyperref-format): New option.
20643         (org-export-latex-href-format): Rename the existing variable
20644         `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20645         (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20646         `org-export-latex-href-format'.
20648 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20650         * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20651         buffer exists before it is used.
20653 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20655         * org-exp.el (org-export-preprocess-string): Delay code block
20656         processing a bit to allow correct list parsing in the export string.
20658 2010-12-11  Christopher Allan Webber  <cwebber@dustycloud.org>
20660         * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20661         (org-agenda-time-of-day-to-ampm): New function.
20662         (org-agenda-time-of-day-to-ampm-maybe): New function.
20663         (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20665 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20667         * org-faces.el (org-cycle-level-faces): New option.
20669         * org.el (org-get-level-face): Honor org-cycle-level-faces.
20671 2010-12-11  Julien Danjou  <julien@danjou.info>
20673         * org-agenda.el (org-agenda-today): New function.
20674         (org-agenda-get-day-face): New function.
20675         (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20676         (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20677         (org-todo-list): Use org-agenda-today.
20678         (org-get-all-dates): Use org-agenda-today.
20679         (org-agenda-day-face-function): New variable.
20680         (org-agenda-get-day-face): Use org-agenda-day-face-function.
20682 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20684         * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20685         in Org.
20687 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20689         * org-html.el (org-export-as-html): Do not treat partially
20690         protected lines as if they were fully protected.
20692 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20694         * org-exp.el (org-export-format-source-code-or-example):
20695         Remove hard-wired configuration of minted export
20696         (org-export-latex-minted-with-line-numbers): Remove variable.
20698 2010-12-11  Bastien Guerry  <bzg@gnu.org>
20700         * org-clock.el (org-dblock-write:clocktable): Fix double
20701         reference to `link' in let construct.
20702         (org-clock-clocktable-formatter): Fix typo in docstring.
20703         (org-clocktable-write-default): Fix typo in docstring.
20705 2010-12-11  David Maus  <dmaus@ictsoc.de>
20707         * org-protocol.el (org-protocol-unhex-string): Normalize percent
20708         escape sequence to upper case letters.
20710 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20712         * ob-lob.el (org-babel-lob-get-info): Include pass-through
20713         header arguments in results variable header argument string.
20715 2010-12-11  David Maus  <dmaus@ictsoc.de>
20717         * org-exp.el (org-export-visible): Limit search for in-buffer options
20718         beginning of first headline.
20720 2010-12-11  David Maus  <dmaus@ictsoc.de>
20722         * org.el (org-open-at-point): Remove stale link handler for news:
20723         links.
20725 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20727         * org-clock.el (org-clocktable-write-default): Better handling of
20728         narrowing.
20730 2010-12-11  Julien Danjou  <julien@danjou.info>
20732         * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20734 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20736         * org.el (org-indent-line-function): Simplify code and remove bug that
20737         would insert a tab at the beginning of the line when trying to
20738         indent the item.
20740 2010-12-11  Julien Danjou  <julien@danjou.info>
20742         * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20744 2010-12-11  Julien Danjou  <julien@danjou.info>
20746         * org-agenda.el (org-agenda-prefix-format): Insert place holder
20747         for icon.
20748         (org-agenda-category-icon-alist): New option.
20749         (org-agenda-get-category-icon): New function.
20750         (org-format-agenda-item): Support for icons.
20751         (org-compile-prefix-format): Support for icons.
20753 2010-12-11  Julien Danjou  <julien@danjou.info>
20755         * org-compat.el: Create defalias for `string-match-p' and
20756         looking-at-p.
20758 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20760         * ob-calc.el (org-babel-execute:calc): Support for variables --
20761         converts :var variables in calc variables.
20763 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20765         * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20767 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20769         * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20771 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20773         * org-id.el (org-id-store-link): Test for org-mode before checking
20774         for IDs.
20776 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20778         * org.el (org-shorten-string): New function.
20780         * org-exp.el (org-export-convert-protected-spaces): New function.
20781         (org-export-preprocess-string):
20782         Call `org-export-convert-protected-spaces' to handle new hard spaces.
20784 2010-12-11  David Maus  <dmaus@ictsoc.de>
20786         * org.el (org-narrow-to-subtree): Check for heading that ends at end
20787         of buffer.
20789 2010-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
20791         * org-capture.el (org-capture-templates): Remove autoload from
20792         defcustom.
20794         * ob-lisp.el (slime): Don't expect slime to be present.
20796 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20798         * ob.el: `copy-sequence' suffices to copy alist; no need for
20799         `copy-tree'.
20801 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20803         * ob.el (org-babel-execute-src-block): If ":results file" is in
20804         effect, then ensure that the value of :file is returned as the
20805         result; don't rely on language files for this.
20807 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20809         * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20810         structure by side-effects of `sort'.
20812 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20814         * org-list.el (org-list-bottom-point-with-indent): Do not check
20815         indentation of a non-empty blank line.
20817         * org-list.el (org-sort-list): Sort a list with point anywhere
20818         inside it.
20820 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20822         * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20823         hopefully better error messages.
20825 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20827         * org.el (org-babel-load-languages): Adding calc.
20829 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20831         * ob.el (org-babel-initiate-session): Don't resolve variable
20832         references unless prefix arg is supplied.
20834 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20836         * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20837         refers to the correct stack.
20839 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20841         * ob-calc.el: Adding the beginnings of support for calc code
20842         blocks.
20844 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20846         * ob-tangle.el (org-babel-update-block-body): Declaring function
20847         for updating code block bodies.
20848         (org-babel-spec-to-string):
20849         (org-babel-detangle): Detangle all tangled and commented code
20850         blocks in the current file back to org.
20851         (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20852         file back to the originating org-mode code block ob-tangle:
20853         detangle changes in code files back to the original org files.
20855 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20857         * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20858         (org-babel-tangle-comment-format-end): Fix typo.
20860 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20862         * org-exp.el (org-export-format-source-code-or-example):
20863         Use minted for latex source code export if `org-export-latex-listings'
20864         has the value 'minted.
20866         * org-latex.el (org-export-latex-listings): Document special value
20867         'minted.
20869         * org-latex.el (org-export-latex-minted): Delete variable.
20871 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20873         * ob.el (org-babel-get-src-block-info): Retrieve contents of
20874         parentheses, excluding parentheses themselves.
20876 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20878         * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20879         Fix bug in gnuplot data file assignment using user variables.
20881 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20883         * ob-latex.el (org-babel-execute:latex): Adding new :headers
20884         header argument for latex code blocks.
20886 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20888         * org-capture.el (org-capture-templates): New capture property
20889         `:kill-buffer'.
20890         (org-capture-finalize): Kill target buffer if that is desired.
20891         (org-capture-target-buffer): Remember if we have to make the buffer.
20893 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20895         * org-clock.el (org-dblock-write:clocktable): Fix bug when
20896         computing clock tables.
20898 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20900         * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20901         to caller even if no table is generated.
20903 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20905         * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20906         values from diary entries.
20908         * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20909         anniversaries.
20911         * org.el (org-diary-sexp-entry): Handle lists as return values
20912         from diary entries.
20914 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20916         * org-capture.el (org-capture-empty-lines-before):
20917         (org-capture-empty-lines-after): Make sure the n=0 does not insert
20918         any newlines.
20920 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20922         * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20923         message when clojure binary is not found.
20925 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20927         * org-html.el (org-format-table-html): New argument DOCBOOK.
20928         (org-format-org-table-html): New argument DOCBOOK.  When set, use
20929         align instead of class to align table fields.
20931         * org-docbook.el (org-export-as-docbook): Specify the docbook
20932         argument for the table converter.
20934 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20936         * org-macs.el (org-called-interactively-p): New macro.
20938         * org-freemind.el: No longer require 'rx.
20939         (org-freemind): New customization group, use it for all the
20940         variables.
20941         (org-export-as-freemind): Add docstring.
20942         (org-freemind-show): Improve filen naming.
20943         (org-freemind-convert-links-helper): New function.
20944         (org-freemind-bol-helper-base-indent): New variable.
20945         (org-freemind-bol-helper): New function.
20946         (org-freemind-node-css-style): New option.
20947         (org-freemind-node-pattern): New variable.
20948         (org-freemind-from-org-mode): Better docstring.
20950 2010-11-11  David Maus  <dmaus@ictsoc.de>
20952         * ob-haskell.el (org-babel-variable-assignments:haskell):
20953         Don't pass more than two arguments to mapc.
20955 2010-11-11  David Maus  <dmaus@ictsoc.de>
20957         * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20959 2010-11-11  David Maus  <dmaus@ictsoc.de>
20961         * org-footnote.el (message-signature-separator): Defvar to silence
20962         byte compiler.
20964 2010-11-11  David Maus  <dmaus@ictsoc.de>
20966         * org-exp.el (org-export-string): Fix reference to wrong symbol.
20968 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
20970         * org.el (org-link-search): Return 'dedicated on successful match
20971         when org-link-search-must-match-exact-headline is set to t.
20973 2010-11-11  Daniel Clemente  <n142857@gmail.com>
20975         * org-html.el (org-html-make-link): Append fragment to file: links
20976         if present.
20978 2010-11-11  Tassilo Horn  <tassilo@member.fsf.org>
20980         * org-footnote.el (org-footnote-create-definition)
20981         (org-footnote-goto-local-insertion-point): Add footnotes before
20982         signature when in message-mode.
20984 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20986         * org.el (org-display-inline-images): Improve regexp.
20988 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20990         * org.el (org-cycle): Make sure resetting to startup visibility
20991         works after another cycle command.
20993 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20995         * org-exp.el (org-export-string): New function org-export-string
20996         can be used to convert a string of test in org-mode markup to a
20997         specified format.
20999 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21001         * org.el (org-display-inline-images): Allow non-ASCII characters
21002         in image file names.  Save match data.
21004 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21006         * org.el (org-auto-repeat-maybe): Fix shifting multiple time
21007         stamps.
21009 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21011         * org-exp.el (org-store-forced-table-alignment):
21012         (org-export-remove-special-table-lines): Allow the "c" cookie for
21013         table alignment.
21015         * org-html.el (org-export-table-header-tags):
21016         (org-export-table-data-tags): Add another %s format for the
21017         alignment.
21018         (org-export-html-table-align-individual-fields): New option.
21019         (org-format-org-table-html): Implement field-by-field alignment
21020         and support centering.
21021         (org-format-table-table-html): Make sure the new table tag formats
21022         don't break this function.
21024         * org-table.el (org-table-cookie-line-p):
21025         (org-table-align): Allow for the <c> cookie.
21027         * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
21029 2010-11-11  David Maus  <dmaus@ictsoc.de>
21031         * org-exp.el (org-export-normalize-links): Skip normalization of
21032         plain links that are part of another link.
21034 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21036         * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
21038 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21040         * org-indent.el (org-indent-add-properties):
21041         Use `with-silent-modifications'.
21042         (org-indent-remove-properties): Use `with-silent-modifications'.
21044 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21046         * org-table.el (org-table-cookie-line-p): Fix indentation.
21048         * org-exp.el (org-store-forced-table-alignment): New function.
21049         (org-export-preprocess-string):
21050         Call `org-store-forced-table-alignment'.
21052         * org-html.el (org-format-org-table-html): Use stored alignment
21053         information.
21055 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21057         * ob.el (org-babel-execute-src-block): Respects prefix argument
21058         (which forces re-calculation).
21060 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21062         * ob.el (org-babel-execute-src-block): Remove needless param
21063         sorting from ob-execute-src-block, the params are sorted already
21064         by ob-sha1-hash.
21066 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21068         * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
21069         header argument level.
21071 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21073         * ob.el (org-babel-sha1-hash): Consider words in different order
21074         as different input.
21076 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21078         * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
21080 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21082         * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
21083         structure of an Org-mode table (list of lists).
21085 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21087         * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
21088         (reference to unassigned variable `src-lang' and avoid calling
21089         org-babel-get-src-block-info twice.
21091 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21093         * ob.el (org-babel-demarcate-block): Update to reflect the new
21094         info list contents.
21096 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21098         * org-src.el (org-edit-src-code): Supply non-nil argument to
21099         `org-babel-get-src-block-info' to avoid resolving variable
21100         references.
21102 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21104         * ob.el (org-babel-map-src-blocks): Fix minor bug in and
21105         improved efficiency of org-babel-map-src-blocks.
21107 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21109         * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
21110         checks that a code block will actually be tangled before
21111         collecting it's full information (a process which could involve
21112         the execution of other code blocks).
21114 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21116         * ob.el (org-babel-demarcate-block): Use light version of
21117         `org-babel-get-src-block-info'.
21119 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21121         * ob.el (org-babel-sha1-hash): Now handles more complex types in
21122         params.
21124 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21126         * ob.el (org-babel-execute-src-block): Generally using the new
21127         more informative params
21128         (org-babel-process-params): Don't forget the :var portion of
21129         variable assignments.
21131 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21133         * ob-table.el (sbe): Simplify to reflect to var resolution.
21135 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21137         * ob-ref.el (org-babel-ref-resolve): Bringing the referent
21138         arguments back to their params before evaluation.
21140 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21142         * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
21143         indentation.
21145 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21147         * ob-table.el (sbe): Use `org-babel-process-params params' instead
21148         of `org-babel-expand-variables'.
21150 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21152         * ob-C.el (org-babel-C-execute): Remove call to
21153         org-babel-process-params which should no longer be called from
21154         within a language file.
21156         * ob-R.el (org-babel-execute:R): Remove call to
21157         org-babel-process-params which should no longer be called from
21158         within a language file
21159         (org-babel-R-variable-assignments): Remove call to
21160         org-babel-process-params which should no longer be called from
21161         within a language file.
21163         * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
21164         org-babel-process-params which should no longer be called from
21165         within a language file.
21167         * ob-clojure.el (org-babel-execute:clojure): Remove call to
21168         org-babel-process-params which should no longer be called from
21169         within a language file.
21171         * ob-dot.el (org-babel-execute:dot): Remove call to
21172         org-babel-process-params which should no longer be called from
21173         within a language file.
21175         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
21176         call to org-babel-process-params which should no longer be called
21177         from within a language file
21178         (org-babel-execute:emacs-lisp): Remove call to
21179         org-babel-process-params which should no longer be called from
21180         within a language file.
21182         * ob-haskell.el (org-babel-execute:haskell): Remove call to
21183         org-babel-process-params which should no longer be called from
21184         within a language file.
21186         * ob-js.el (org-babel-execute:js): Remove call to
21187         org-babel-process-params which should no longer be called from
21188         within a language file.
21190         * ob-lisp.el (org-babel-execute:lisp): Remove call to
21191         org-babel-process-params which should no longer be called from
21192         within a language file.
21194         * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
21195         org-babel-process-params which should no longer be called from
21196         within a language file.
21198         * ob-octave.el (org-babel-execute:octave): Remove call to
21199         org-babel-process-params which should no longer be called from
21200         within a language file.
21202         * ob-perl.el (org-babel-execute:perl): Remove call to
21203         org-babel-process-params which should no longer be called from
21204         within a language file.
21206         * ob-python.el (org-babel-execute:python): Remove call to
21207         org-babel-process-params which should no longer be called from
21208         within a language file.
21210         * ob-ruby.el (org-babel-execute:ruby): Remove call to
21211         org-babel-process-params which should no longer be called from
21212         within a language file.
21214         * ob-scheme.el (org-babel-execute:scheme): Remove call to
21215         org-babel-process-params which should no longer be called from
21216         within a language file.
21218         * ob-screen.el (org-babel-execute:screen): Remove call to
21219         org-babel-process-params which should no longer be called from
21220         within a language file
21221         (org-babel-prep-session:screen): Remove call to
21222         org-babel-process-params which should no longer be called from
21223         within a language file.
21225         * ob-sh.el (org-babel-execute:sh): Remove call to
21226         org-babel-process-params which should no longer be called from
21227         within a language file.
21229         * ob-sql.el (org-babel-execute:sql): Remove call to
21230         org-babel-process-params which should no longer be called from
21231         within a language file.
21233         * ob-haskell.el (org-babel-execute:haskell): Remove reference to
21234         processed params.
21236         * ob-clojure.el (org-babel-execute:clojure): Remove reference to
21237         processed params.
21239         * ob-R.el (org-babel-execute:R): Remove reference to processed
21240         params.
21242 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21244         * ob-sql.el (org-babel-execute:sql): Use generic expansion
21245         function
21246         (org-babel-expand-body:sql): Delete function.
21248 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21250         * ob-sh.el (org-babel-execute:sh): Use generic expansion function
21251         (org-babel-expand-body:sh): Delete function
21252         (org-babel-prep-session:sh): Change name of called function
21253         (org-babel-variable-assignments:sh): Change function name.
21255 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21257         * ob-screen.el (org-babel-execute:screen): Use generic expansion
21258         function
21259         (org-babel-expand-body:screen): Delete function
21260         (org-babel-prep-session:screen): Remove references to processed
21261         params.
21263 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21265         * ob-sass.el (org-babel-execute:sass): Use generic expansion
21266         function
21267         (org-babel-expand-body:sass): Delete function.
21269 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21271         * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
21272         function
21273         (org-babel-prep-session:ruby): Use new variable assignment
21274         function
21275         (org-babel-variable-assignments:ruby): New function
21276         (org-babel-expand-body:ruby): Delete function.
21278 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21280         * ob-python.el (org-babel-execute:python): Use generic expansion
21281         function
21282         (org-babel-prep-session:python): Change name of called function
21283         (org-babel-variable-assignments:python): Change function name
21284         (org-babel-expand-body:python): Delete function.
21286 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21288         * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
21289         (automatically handled by generic version).
21291 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21293         * ob-perl.el (org-babel-execute:perl): Use generic expansion
21294         function
21295         (org-babel-expand-body:perl): Delete function
21296         (org-babel-variable-assignments:perl): New function.
21298 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21300         * ob-org.el (org-babel-expand-body:org): Delete function
21301         (automatically handled by generic version).
21303 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21305         * ob-octave.el (org-babel-execute:octave): Use generic expansion
21306         function
21307         (org-babel-variable-assignments:octave): Change name of function
21308         (org-babel-variable-assignments:matlab): New defalias
21309         (org-babel-prep-session:octave): Change name of function
21310         (org-babel-expand-body:matlab): Delete function
21311         (org-babel-expand-body:octave): Delete function.
21313 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21315         * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
21316         function
21317         (org-babel-variable-assignments:ocaml): New function
21318         (org-babel-expand-body:ocaml): Delete function.
21320 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21322         * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
21323         (automatically handled by generic version).
21325 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21327         * ob-js.el (org-babel-execute:js): Use new variable assignment
21328         function
21329         (org-babel-expand-body:js): Delete function
21330         (org-babel-prep-session:js): Use new variable assignment function
21331         (org-babel-variable-assignments:js): New function.
21333 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21335         * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
21336         function
21337         (org-babel-expand-body:haskell): Delete function
21338         (org-babel-prep-session:haskell): Use variable assignment function
21339         (org-babel-variable-assignments:haskell): New function.
21341 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21343         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
21344         assignment function
21345         (org-babel-prep-session:gnuplot): Use variable assignment function
21346         (org-babel-variable-assignments:gnuplot): New function.
21348 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21350         * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
21351         (automatically handled by generic version).
21353 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21355         * ob-css.el (org-babel-expand-body:css): Delete function
21356         (automatically handled by generic version).
21358 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21360         * ob-asymptote.el (org-babel-execute:asymptote): Use generic
21361         expansion function
21362         (org-babel-expand-body:asymptote): Delete function
21363         (org-babel-variable-assignments:asymptote): New function.
21365 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21367         * ob-R.el (org-babel-expand-body:R): Use new function
21368         `org-babel-variable-assignments:R'; don't trim body.
21369         (org-babel-execute:R): Respond to changes in
21370         `org-babel-expand-body:R'
21371         (org-babel-prep-session:R): Called function is now named
21372         `org-babel-variable-assignments:R'
21373         (org-babel-variable-assignments:R): Receives processed-params as
21374         new optional argument.
21376 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21378         * ob-C.el (org-babel-C-expand): Don't trim body.
21380 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21382         * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
21383         obtaining variable references.
21385 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21387         * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
21388         assignment lines to generic expansion command.
21390 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21392         * ob.el (org-babel-expand-src-block): Supply variable assignment
21393         lines to generic expansion function
21394         (org-babel-expand-body:generic): Prepend body with optional
21395         variable assignment lines.
21397 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21399         * ob-exp.el (org-babel-exp-results): Replaced old function call.
21401 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21403         * ob-lob.el (org-babel-lob-execute): Now expanding variable
21404         references before execution.
21406 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21408         * ob.el (org-babel-execute-src-block): Only sort parameters if
21409         it's required for caching.
21411 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21413         * ob-table.el (sbe): Reworking for better indentation and to
21414         integrate the new variable resolution.
21416 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21418         * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
21419         variables when resolving references.
21421 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21423         * ob.el (org-babel-merge-params): Fix order or precedence for
21424         variables.
21426 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21428         * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
21429         * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
21430         (org-babel-R-variable-assignments):
21431         * ob-asymptote.el (org-babel-expand-body:asymptote)
21432         (org-babel-execute:asymptote):
21433         * ob-clojure.el (org-babel-expand-body:clojure)
21434         (org-babel-execute:clojure):
21435         * ob-css.el (org-babel-expand-body:css):
21436         * ob-ditaa.el (org-babel-expand-body:ditaa):
21437         * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
21438         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
21439         (org-babel-execute:emacs-lisp):
21440         * ob-gnuplot.el (org-babel-expand-body:gnuplot)
21441         * ob-haskell.el (org-babel-expand-body:haskell)
21442         (org-babel-execute:haskell, org-babel-load-session:haskell)
21443         (org-babel-prep-session:haskell):
21444         * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
21445         * ob-latex.el (org-babel-expand-body:latex):
21446         * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
21447         * ob-mscgen.el (org-babel-expand-body:mscgen):
21448         * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
21449         * ob-octave.el (org-babel-expand-body:matlab)
21450         (org-babel-expand-body:octave, org-babel-execute:octave)
21451         (org-babel-octave-variable-assignments):
21452         * ob-org.el (org-babel-expand-body:org):
21453         * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
21454         * ob-plantuml.el (org-babel-expand-body:plantuml):
21455         * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
21456         (org-babel-python-variable-assignments):
21457         * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
21458         * ob-sass.el (org-babel-expand-body:sass):
21459         * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
21460         * ob-screen.el (org-babel-expand-body:screen):
21461         * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
21462         (org-babel-sh-variable-assignments):
21463         * ob-sql.el (org-babel-expand-body:sql):
21464         * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
21465         * ob.el (org-babel-expand-body:generic):
21466         Remove obsoleted optional third argument.
21468 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21470         * ob-clojure.el (org-babel-prep-session:clojure): Purging all
21471         calls to removed org-babel-ref-variables.
21473 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21475         * ob-lob.el (org-babel-lob-ingest): Now returns the count of
21476         ingested code blocks.
21478 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21480         * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
21481         information from within the original export file.
21483 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21485         * ob.el (org-babel-get-src-block-info): Small but crucial fix)
21486         (this should return nil if not match found.
21488 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21490         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
21491         Whitespace (org-babel-execute:emacs-lisp): Whitespace.
21493 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21495         * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
21496         docstring.
21498         * ob-python.el (org-babel-python-variable-assignments):
21499         Provide missing docstring.
21501 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21503         * ob-octave.el (org-babel-expand-body:octave): Refactor: break
21504         variable assignment part out into a separate function
21505         (org-babel-octave-variable-assignments): New function constructing
21506         list of variable assignment statements
21507         (org-babel-prep-session:octave): Use new function
21508         `org-babel-octave-variable-assignments' instead of previous
21509         (incorrect) variable assignment code.
21511 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21513         * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
21514         assignment part out into a separate function
21515         (org-babel-sh-variable-assignments): New function constructing
21516         list of variable assignment statements
21517         (org-babel-prep-session:sh): Use new function
21518         `org-babel-sh-variable-assignments' instead of previous
21519         (incorrect) variable assignment code.
21521 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21523         * ob-python.el (org-babel-expand-body:python): Refactor: break
21524         variable assignment part out into a separate function
21525         (org-babel-python-variable-assignments): New function constructing
21526         list of variable assignment statements
21527         (org-babel-prep-session:python): Use new function
21528         `org-babel-python-variable-assignments' instead of previous
21529         (incorrect) variable assignment code.
21531 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21533         * ob-R.el (org-babel-expand-body:R): Refactor: break variable
21534         assignment part out into a separate function
21535         (org-babel-R-variable-assignments): New function constructing list
21536         of variable assignment statements
21537         (org-babel-prep-session:R): Use new function
21538         `org-babel-R-variable-assignments' instead of previous
21539         (incorrect) variable assignment code.
21541 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21543         * ob.el (org-babel-initiate-session): Better variable names.
21545 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21547         * ob.el (org-number-sequence):
21548         Declared * ob-R.el (org-number-sequence): Declared.
21550 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21552         * ob.el (org-babel-map-src-blocks): Store correct value of
21553         `end-block'.
21555 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21557         * ob.el (org-babel-mark-block): New function to mark the body of a
21558         src block in the style of `mark-defun'.
21560 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21562         * org-compat.el (org-number-sequence): New function.
21564         * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
21566         * ob.el (org-babel-where-is-src-block-result):
21567         Use `org-number-sequence'.
21568         (org-babel-current-buffer-properties): Fix variable definition.
21570         * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
21572         * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
21573         version of `shell-command'.
21575         * org-latex.el (org-export-as-pdf): Use the 2-argument version of
21576         `shell-command'.
21578 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21580         * org-list.el (org-list-search-unenclosed-generic): Replace call
21581         to booleanp.
21583 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21585         * org.el (org-agenda-jump-prefer-future): New option.
21587         * org-agenda.el (org-agenda-goto-date):
21588         Use `org-agenda-jump-prefer-future'.
21590 2010-11-11  Noorul Islam  <noorul@noorul.com>
21592         * org-latex.el (org-export-latex-links): Replaced hard coded
21593         hyperref format with custom variable
21594         `org-export-latex-hyperref-format'.
21596 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21598         * org.el (org-insert-heading): Fix docstring.
21600 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
21602         * org-capture.el (org-capture-place-entry): If the first line is
21603         already a headline, just stay there.
21605 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21607         * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
21608         are non-nil.
21610 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21612         * org-ascii.el (org-ascii-replace-entities): Match an optional {}
21613         after an entity.
21615 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21617         * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
21618         table fields.
21620 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21622         * org.el (org-insert-heading): When on the headline of an inline
21623         task, insert another inline tasks.
21625 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21627         * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21628         links for blocks that will actually tangle.
21630 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21632         * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21633         in expanded shell bodies.
21635 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21637         * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21638         newline characters.
21640 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21642         * ob-sh.el (org-babel-expand-body:sh): Align code.
21644 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21646         * ob.el (org-babel-params-from-properties): Max line with at <=80.
21648 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21650         * org-latex.el (org-export-latex-listings-langs): Clojure is now
21651         recognized as a lisp.
21653 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21655         * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21656         to interpret property as header argument value.
21658 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21660         * ob.el (org-babel-parse-header-arguments): Simplify reading of
21661         header arg value.
21663 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21665         * org-publish.el (org-publish-org-to-ascii):
21666         (org-publish-org-to-latin1):
21667         (org-publish-org-to-utf8): New functions.
21669 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21671         * org.el (org-insert-heading): Skip inline tasks when trying to
21672         insert a new heading after the end of the subtree.
21674 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21676         * org-inlinetask.el (org-inlinetask-min-level): Set customization
21677         type to integer or nil.
21679         * org.el (org-insert-heading): When after an inline task, do not
21680         use level but go back to headline level before the inline task.
21682 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21684         * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21686         * org.el (org-indent-line-function): Fix indentation of inline
21687         tasks.
21689 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21691         * org.el (org-activate-links): Fix customize type.
21693 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21695         * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21696         default option.
21698 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21700         * org-latex.el (org-export-latex-minted): Document pygments
21701         dependency.
21703 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21705         * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21706         file if encryption has been turned on.
21707         (org-mobile-copy-agenda-files): Avoid double encryption of
21708         `mobileorg.org'.
21710 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21712         * org-exp.el (org-export-latex-minted-with-line-numbers):
21713         Ensure that variable is declared.
21715 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21717         * ob-python.el (org-src-preserve-indentation): Fix compiler
21718         warning.
21720 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21722         * org-exp.el (org-export-format-source-code-or-example):
21723         Latex formatting of source code blocks using the minted package
21724         (org-export-plist-vars): Add :latex-minted property
21725         (org-export-latex-minted): Ensure variable is defined
21726         (org-export-latex-minted-langs): Ensure variable is defined.
21728 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21730         * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21732 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21734         * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21736 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21738         * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21739         when `org-src-preserve-indentation' is non-nil.
21741 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21743         * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21744         of blocks added to Library of Babel.
21746 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21748         * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21749         name.
21751 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21753         * org-beamer.el (org-beamer-place-default-actions-for-lists):
21754         Fix typo in regexp.
21756 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21758         * org-list.el (org-toggle-checkbox): Avoid some boundary error
21759         when inserting a checkbox in an empty last item of a list.
21761 2010-11-11  David Maus  <dmaus@ictsoc.de>
21763         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21764         Query article number from file is nil by default.
21766 2010-11-11  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>
21768         * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21770 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21772         * org-capture.el (org-capture-place-entry): Move to `beg' before
21773         searching for `%?'.
21775 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21777         * org.el (org-format-latex): Fix mathjax treatment of single
21778         letters in between dollars.
21780 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21782         * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21783         run.
21785 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21787         * org.el (org-blank-before-new-entry): Improve docstring.
21789 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21791         * org-mobile.el (org-mobile-force-id-on-agenda-items):
21792         Fix docstring.
21793         (org-mobile-write-agenda-for-mobile): Use outline path if we do
21794         not have an ID and are not allowed to make one.
21795         (org-mobile-get-outline-path-link): New function.
21797 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21799         * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21800         file.
21801         (org-mobile-write-agenda-for-mobile): Use the right name, even if
21802         the file get encrypted.
21803         (org-mobile-move-capture): Only delete tempfile if it does exist.
21805 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21807         * ob.el (org-babel-number-p): Fix documentation string.
21809 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21811         * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21812         "tangle" as a positive argument for the :noweb header argument
21813         during tangling.
21815 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21817         * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21818         have links, with tests.
21820 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21822         * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21823         available.
21824         (org-export-latex-get-error): New function.
21825         (org-export-as-pdf): Give an indication of the errors that
21826         happened during processing.
21828 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
21830         * org-exp.el (org-export-language-setup): Fix Polish entries.
21832 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21834         * org.el (org-set-tags): Allow comma as a separator when
21835         specifying tags at the completion interface.
21836         (org-tags-completion-function): Allow comma as a separator when
21837         specifying tags at the completion interface.
21839 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21841         * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21842         export-file if exporting from a buffer which is not visiting a
21843         file.
21845 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21847         * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21848         name in link construction if there is a heading to follow it.
21850 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21852         * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21853         as an allowed extension.
21855 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21857         * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21858         with zeros.  Start applying face earlier.
21860 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21862         * ob.el (or): Don't create org-babel-temporary-directory in batch
21863         as it won't be removed by emacs-kill-hook
21864         (org-babel-remove-temporary-directory): Only try to remove this
21865         directory if it exists.
21867 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21869         * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21870         warning in ob.el.
21872 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21874         * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21875         the tangling message.
21877 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21879         * ob.el (org-babel-load-languages): Fixes compiler warning.
21881 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21883         * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21884         output.
21886 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21888         * org-ascii.el (org-export-as-ascii): Use the correct match group.
21890 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21892         * ob.el (boundp): Uncommenting defvar form for
21893         org-babel-temporary-directory
21894         (org-babel-temp-file): Now using the org-babel-temporary-directory
21895         for holding new babel temporary files
21896         (org-babel-remove-temporary-directory): Removes the babel temp dir
21897         when Emacs shutsdown
21898         (kill-emacs-hook): Now removing the babel temp dir on Emacs
21899         shutdown.
21901 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21903         * org-capture.el (org-capture-fill-template): Initialize history
21904         variable.
21906 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21908         * org-src.el (org-edit-src-code): Don't move point when generating
21909         edit buffer.
21911 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21913         * org-src.el (org-edit-src-code): Deal with point being in
21914         #+end_src line.
21916 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21918         * org-table.el (org-table-current-column): Add interactive to turn
21919         this into a command.
21921 2010-11-11  Bernt Hansen  <bernt@norang.ca>
21923         * org.el (org-insert-heading): Run org-insert-heading-hook when
21924         creating the first heading in a file.
21926 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21928         * org.el (org-startup-with-inline-images): New option.
21929         (org-startup-options): Add new keywords inlineimages and
21930         noinlineimages.
21931         (org-mode): Inline images when this has been configured.
21933 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21935         * ob.el (org-babel-get-src-block-info): Remove optional
21936         HEADER-VARS-ONLY argument; further simplification.
21938 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21940         * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21941         prompt in ob-confirm-evaluate in some cases.
21943 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21945         * ob.el (org-babel-demarcate-block): Visible region and completion
21946         during language selection.
21948 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21950         * ob.el (org-babel-get-src-block-info): Remove comment.
21952 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21954         * ob.el (org-babel-get-src-block-info): Simplify function.
21956 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21958         * ob.el (org-babel-get-src-block-info): Form info list correctly
21959         when parenthesized arguments are missing.
21961 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21963         * ob-exp.el (org-export-babel-evaluate): Docstring typo
21964         (org-babel-exp-code): Docstring typo.
21966 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21968         * org-mobile.el (org-mobile-encryption-password):
21969         Improve docstring.
21970         (org-mobile-encryption-password-session): New variable.
21971         (org-mobile-encryption-password): New function.
21972         (org-mobile-check-setup):
21973         (org-mobile-encrypt-file):
21974         (org-mobile-decrypt-file): Use the new function.
21976 2010-11-11  David Maus  <dmaus@ictsoc.de>
21978         * org-capture.el (org-capture-place-template): Widen to remove
21979         possible restrictions in target buffer.
21981 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
21983         * org.el (org-speed-command-hook): Add org-speed-command-hook
21984         (org-babel-speed-command-hook): Hook for Babel's speed commands.
21986 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21988         * ob.el (org-babel-execute-buffer): Re-implement using
21989         `org-babel-map-src-blocks'.
21991 2010-11-11  David Maus  <dmaus@ictsoc.de>
21993         * org-capture.el (org-capture-templates): Update doc string with
21994         new message date related escapes.
21996 2010-11-11  David Maus  <dmaus@ictsoc.de>
21998         * org-wl.el (org-wl-store-link-message): Define properties %:date)
21999         (%:date-timestamp, and %:date-timestamp-inactive.
22001         * org-mew.el (org-mew-store-link): Dto.
22003         * org-mhe.el (org-mhe-store-link): Dto.
22005         * org-rmail.el (org-rmail-store-link): Dto.
22007         * org-vm.el (org-vm-store-link): Dto.
22009 2010-11-11  David Maus  <dmaus@ictsoc.de>
22011         * org-wl.el (org-wl-message-field): Always get literal content of
22012         header fields.
22014 2010-11-11  David Maus  <dmaus@ictsoc.de>
22016         * org-gnus.el (org-gnus-store-link): Define properties
22017         %:date-timestamp and %:date-timestamp-inactive.
22019 2010-11-11  David Maus  <dmaus@ictsoc.de>
22021         * org-gnus.el (org-gnus-store-link): Handle empty date header
22022         field.
22024 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22026         * org.el (org-speed-command-hook): New.  Hook for installing
22027         additional speed commands.  Use this for enabling speed commands on
22028         src blocks.
22029         (org-speed-command-default-hook): The default hook for
22030         org-speed-command-hook.  Factored out from org-self-insert-command
22031         and mimics existing behavior.
22032         (org-self-insert-command): Modify to use org-speed-command-hook.
22034 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22036         * org-agenda.el (org-search-view): Recover spaces in search words
22037         if they were escaped with \ or inside a regexp.
22039 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22041         * org.el (org-additional-option-like-keywords): Add PROPERTIES to
22042         the list of completable meta line words.
22043         (org-complete): Complete property names after #+PROPERTY.
22045 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22047         * ob-python.el (org-babel-python-evaluate-session): Make temp file
22048         names consistent.
22050 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22052         * ob-clojure.el (org-babel-clojure-evaluate-external-process):
22053         Delete extra format argument.
22055 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22057         * ob-org.el (org-babel-org-export): Typo in docstring.
22059 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22061         * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
22062         variable.
22064 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22066         * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
22068 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22070         * ob.el (org-babel-process-file-name): New function
22071         (org-babel-maybe-remote-file): Delete function.
22073 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22075         * ob-C.el (org-babel-C-execute): Remove unused variable.
22077 2010-11-11  David Maus  <dmaus@ictsoc.de>
22079         * org.el (org-make-link-string): Prevent superfluous colon.
22081 2010-11-11  David Maus  <dmaus@ictsoc.de>
22083         * org.el (org-make-org-heading-search-string): Leave headline
22084         intact.
22086 2010-11-11  David Maus  <dmaus@ictsoc.de>
22088         * org.el (org-make-link-string): Don't escape characters in link
22089         type.
22091 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22093         * org-capture.el (org-capture-templates): Update docstring to
22094         advertise %:org-date.
22096 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22098         * ob-dot.el (org-babel-execute:dot): Automatically specifies
22099         "-T<ext>" based on file name extension.
22101 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22103         * ob-org.el (org-babel-org-export): Raise error on nested export
22104         call.
22106 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22108         * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
22109         output files.
22111 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22113         * ob.el (org-babel-demarcate-block): Better initialization of
22114         stars.
22116 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22118         * org-src.el (org-src-tab-acts-natively): Add customize interface.
22120 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22122         * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
22123         New variable allowing prevention of automatic stripping of leading and
22124         trailing blank lines when exiting edit buffer.
22125         (org-edit-src-exit): Respect value of
22126         `org-src-strip-leading-and-trailing-blank-lines'
22127         (org-src-native-tab-command-maybe):
22128         Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
22129         this function.
22131 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22133         * org-src.el (org-edit-src-code): If mark was inside code block
22134         then code edit buffer inherits mark with active region.
22136 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22138         * ob.el (org-babel-demarcate-block): Fix compiler warnings.
22140 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22142         * ob.el (org-babel-demarcate-block): Better handling of empty
22143         space around demarcated area.
22145 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22147         * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
22148         this command.
22150 2010-11-11  David Maus  <dmaus@ictsoc.de>
22152         * org-gnus.el (org-gnus-open-nntp): New function.
22154 2010-11-11  David Maus  <dmaus@ictsoc.de>
22156         * org-wl.el (org-wl-open-nntp): New function.
22158 2010-11-11  David Maus  <dmaus@ictsoc.de>
22160         * org-wl.el (org-wl-open): Open message by numeric reference if
22161         article part is not a message id.
22163 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22165         * org-agenda.el (org-agenda-filter-apply): Move cursor to a
22166         visible line.
22168 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22170         * ob.el (org-babel-demarcate-block): Interactive demarcation of
22171         code blocks.
22173         * ob-keys.el (org-babel-key-bindings): Key bindings for block
22174         demarcation.
22176 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22178         * org.el (org-link-types): Add the "message" link type.
22180 2010-11-11  David Maus  <dmaus@ictsoc.de>
22182         * org.el (org-link-types): Add 'message:' link type to default
22183         link types.
22185 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22187         * org-gnus.el (org-gnus-store-link): Add the :date property to
22188         gnus links, allowing the use of %:date in capture templates.
22190 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22192         * org-list.el (org-cycle-list-bullet): Follow order of bullets
22193         indicated in doc-string.
22195         * org-list.el (org-list-bottom-point-with-indent): List is ended
22196         when a line is less indented that the last item, not the less
22197         indented item.
22199 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22201         * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
22202         original file before resolving code block parameters to ensure
22203         headline and buffer wide parameters are taken into consideration
22204         when only a narrowed portion of the file is exported.
22206 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22208         * org.el (org-forward-same-level): Fix docstring.
22210 2010-11-11  Sebastian Rose  <sebastian_rose@gmx.de>
22212         * org-publish.el (org-publish-attachment): Put the attachment into
22213         the right directory.
22215 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22217         * org.el (org-goto-first-child): New command.
22219 2010-11-11  Matt Lundin  <mdl@imapmail.org>
22221         * org-agenda.el (org-prepare-agenda): If the agenda is called from
22222         within the agenda via an elisp link, such as
22223         [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
22224         of the file containing the link, since that buffer is current
22225         during org-prepare agenda (due to a with-current-buffer in
22226         org-agenda-open-link).  An additional test now ensures that the
22227         agenda buffer is in fact current when the buffer is erased and
22228         local variables for the agenda are set.
22230 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
22232         * org-exp.el (org-infile-export-plist): Define property macro.
22234 2010-11-11  David Maus  <dmaus@ictsoc.de>
22236         * org-mhe.el (org-mhe-get-header): Remove possible folding white
22237         space in message header field.
22239 2010-11-11  David Maus  <dmaus@ictsoc.de>
22241         * org-feed.el (org-feed): Fix typo in customization group :tag
22242         property.
22244 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22246         * org-latex.el (org-export-latex-tag-markup): New option.
22247         (org-export-latex-keywords-maybe):
22248         Use `org-export-latex-tag-markup'.
22250 2010-11-11  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
22252         * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
22253         (org-ical-ts-to-string): Use UTC time when requested.
22255 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22257         * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
22258         from 'file' to 'http'.
22260 2010-11-11  David Maus  <dmaus@ictsoc.de>
22262         * org.el (org-store-log-note): Fix wrong usage
22263         of`org-adapt-indentation'.
22265 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22267         * org.el (org-skip-over-state-notes): Do not compute bottom point
22268         at each item.
22270         * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
22271         instead of moving to each item.
22273 2010-11-11  David Maus  <dmaus@ictsoc.de>
22275         * org-capture.el (org-capture-templates): Small fix in doc string.
22277 2010-11-11  aaa bbb  <dominik@powerbook-g4-12-van-aaa-bbb.local>
22279         * org-archive.el (org-get-local-archive-location):
22280         Use `org-archive-location' as default.
22282 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22284         * ob-C.el (org): No longer requires org.
22286         * ob-ledger.el (org): No longer requires org.
22288 2010-11-11  David Maus  <dmaus@ictsoc.de>
22290         * org.el (org-priority): Save match data before call to
22291         `read-char-exclusive'.
22293 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22295         * org-list.el (org-list-to-generic): Descriptions labels can be
22296         any suit of symbols, and will end at double colons.
22298 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22300         * org.el (org-indent-line-function): Indent past [@num] and
22301         [@start:num], consistently with what is already done with
22302         checkboxes.
22304 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22306         * org.el (org-store-log-note): Indent new notes to the right
22307         column.  Also take `org-list-two-spaces-after-bullet-regexp' into
22308         consideration when creating the note.
22310 2010-11-11  David Maus  <dmaus@ictsoc.de>
22312         * org-gnus.el (nnimap-group-overview-filename): Declare function
22313         to silence byte compiler.
22315 2010-11-11  David Maus  <dmaus@ictsoc.de>
22317         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
22318         New customization variable.
22319         (org-gnus-nnimap-cached-article-number): New function.
22320         (org-gnus-follow-link): Try to fetch cached article number of
22321         message-id.
22323 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22325         * ob-org.el (org-babel-org-default-header): Used to insert a dummy
22326         first line into code blocks before export so that the first line
22327         is not interpreted as a title
22328         (org-babel-org-export): Use new dummy code block prefix.
22330 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22332         * ob.el (org-babel-insert-result): No longer throws error when
22333         inserting an empty result.
22335 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22337         * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
22339 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22341         * ob.el (org-babel-do-in-edit-buffer):
22342         Use `org-babel-where-is-src-block-head' to test for source block at
22343         point.
22345 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22347         * ob-keys.el (org-babel-key-bindings): Adding key-binding for
22348         `org-babel-goto-src-block-head'.
22350         * ob.el (org-babel-goto-src-block-head): Jump to the head of the
22351         current code block.
22353 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22355         * ob.el (org-babel-next-src-block): Now raising more informative
22356         error when no further code blocks can be found.
22357         (org-babel-previous-src-block): Now raising more informative error
22358         when no previous code blocks can be found.
22360 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22362         * org-exp-blocks.el
22363         (org-export-preprocess-after-include-files-hook): Now using this
22364         hook instead of `org-export-preprocess-hook'.
22366 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22368         * ob-plantuml.el (org-babel-execute:plantuml): ????
22370 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22372         * ob-python.el (org-babel-python-evaluate): Refactor as call to
22373         either `org-babel-python-evaluate-external-process' or
22374         `org-babel-python-evaluate-session'.
22375         (org-babel-python-evaluate-external-process): New function to
22376         handle evaluation in external process.
22377         (org-babel-python-evaluate-session): New function to handle
22378         evaluation in emacs inferior process.
22380 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22382         * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
22383         or html respecting :results header arg
22384         (org-babel-org-export): Exports a string of text to an output
22385         format.
22387 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22389         * ob.el (org-babel-insert-result): Remove existing results when
22390         nil results are returned.
22392 2010-11-11  David Maus  <dmaus@ictsoc.de>
22394         * org-ascii.el (org-export-as-ascii): Bind and set link path for
22395         link type specific markup function.
22397 2010-11-11  David Maus  <dmaus@ictsoc.de>
22399         * org-clock.el (notifications-notify): Properly declare function
22400         to silence byte compiler.
22402 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22404         * org-list.el (org-insert-item): Check invisibility of point at a
22405         meaningful location.
22407 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22409         * org-list.el (org-list-insert-item-generic): Updating checkboxes
22410         can modify bottom point of a list, so make it a marker before
22411         calling `org-update-checkbox-count-maybe'.
22413 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22415         * org.el (org-src-fontify-natively): Set to nil by default.
22416         Supply customize interface.
22418 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22420         * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
22421         `org-bracket-link-analytic-regexp++' to match the link type.
22423 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22425         * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
22426         `language'.
22428 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22430         * ob-tangle.el (org-babel-tangle-comment-format-beg):
22431         Format string specifying the link-comment preceding a code block
22432         (org-babel-tangle-comment-format-end): Format string specifying
22433         the link-comment following a code block
22434         (org-babel-tangle-collect-blocks): Storing more information in the
22435         spec of a tangling code block
22436         (org-babel-spec-to-string): Now makes use of customizable
22437         link-comment formats.
22439 2010-11-11  Achim Gratz  <Stromeko@stromeko.net>  (tiny change)
22441         * org.el (org-delete-backward-char): Check for nil overwrite-mode
22442         before inserting spaces.
22444 2010-11-11  David Maus  <dmaus@ictsoc.de>
22446         * org-icalendar.el (org-print-icalendar-entries): Exclude tags
22447         from summary of non-TODO ical entries.
22448         (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
22449         exclude tags from summary of TODO ical entries.
22451 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22453         * ob.el (org-babel-map-src-blocks): Now exposes much information
22454         about the code block in the form of let-bound local variables.
22456 2010-11-11  David Maus  <dmaus@ictsoc.de>
22458         * org-list.el (org-outline-regexp, org-ts-regexp)
22459         (org-ts-regexp-both, org-in-regexps-block-p)
22460         (org-level-increment, org-at-heading-p)
22461         (outline-previous-heading, org-icompleting-read)
22462         (org-time-string-to-seconds): Declare to fix compiler warning.
22464 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22466         * org-list.el (org-toggle-checkbox): Ignore items in drawers when
22467         used from an heading.  Send an error when no item is in region.
22469 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22471         * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
22472         ensure that edit buffer is exited.
22474 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22476         * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
22477         control the amount of extra newlines inserted into tangled code
22478         (org-babel-tangle-collect-blocks): Now conditionally collects
22479         information to be used for "org" style comments
22480         (org-babel-spec-to-string): Now inserts "org" style comments, and
22481         obeys the newline configuration variable when inserting whitespace.
22483 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22485         * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
22486         hook
22487         (org-babel-tangle): Calls new tangle hook.
22489 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22491         * org-capture.el (org-capture): Compute the length of the correct
22492         string when removing properties.
22494 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22496         * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
22497         names before shell quoting.
22499 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22501         * org-src.el (org-src-tab-indents-natively): New variable
22502         controlling whether language-native TAB action should be performed
22503         (org-src-native-tab-command-maybe): New function to perform
22504         language-native TAB action.
22505         (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
22507 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22509         * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
22510         `org-plantuml-jar-path' before use.
22512 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22514         * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
22515         language major mode buffers during fontification.
22517 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22519         * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
22520         match code blocks with switches and header args.
22521         Call `org-src-font-lock-fontify-block' for automatic fontification of
22522         code in code blocks, controlled by variable
22523         `org-src-fontify-natively'.
22524         (org-src-fontify-natively): New variable.
22526 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22528         * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
22529         inf-ruby.
22531 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22533         * org-html.el (org-html-make-link): (expand-file-name) removes
22534         one "/" from "///path-to-file", so add one.  Anything other than
22535         'file' type should be exported along with the type.
22537 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22539         * org.el (org-insert-subheading): Fix compiler warning
22540         (org-insert-todo-subheading): Fix compiler warning.
22542 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22544         * org-capture.el (org-capture): Remove read-only text properties
22545         from capture text.
22546         (org-capture-set-target-location): Throw an error if file+headline
22547         target does not point into a file which is in Org mode.
22549 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22551         * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
22553 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22555         * org-src.el (org-edit-src-code): Improve docstring.
22557 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22559         * ob.el (org-babel-execute-src-block): Document prefix argument in
22560         docstring.
22562 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22564         * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
22565         org-ditaa-jar-path with expand-file-name.
22567 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22569         * ob.el (org-babel-execute-subtree): Pass prefix arg through to
22570         `org-babel-execute-src-block'.
22572 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22574         * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
22575         [@x] syntax for list numbering.
22577 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22579         * org.el (org-indent-line-function): Indentation of source block
22580         is left to `org-edit-src-exit' and shouldn't be modified by
22581         `org-indent-line-function'.  Indentation of others blocks should be
22582         the same as the #+begin line.
22584 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22586         * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
22587         forms on source blocks in current buffer; restore point in current
22588         buffer.
22590 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22592         * org-list.el (org-list-struct): Accept list boundaries as an
22593         argument in order to avoid computing `org-list-top-point' and
22594         `org-list-bottom-point' twice when indenting.
22596 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22598         * org-list.el (org-list-ending-method): Default value is now
22599         `both', to ensure maximum compatibility before previous
22600         implementation.
22602 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22604         * org-list.el (org-list-in-item-p-with-indent): Test if first line
22605         is the item beginning.
22607         * org-list.el (org-list-top-point-with-indent): Test if first line
22608         is a valid list beginning.
22610 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22612         * org-list.el (org-list-ending-method): New customizable variable
22613         to tell Org Mode how lists end.  See docstring.
22615 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22617         * org-list.el (org-indent-item-tree): Shifting step of top-level
22618         item depends on `org-level-increment'.
22620 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22622         * org.el (org-indent-line-function): Indent first non blank line
22623         after a list according to current heading level.
22625 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22627         * org-docbook.el (org-export-as-docbook): Remove check for
22628         indentation on lines that do not start with a list bullet.
22630         * org-html.el (org-export-as-html): Same thing.
22632 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22634         * org-list.el (org-list-bottom-point): Take into consideration
22635         that bound of search can be before true ending of the list.
22637 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22639         * org-list.el (org-list-struct-apply-struct): No longer shift
22640         item's body twice: one after replacing bullet and one after
22641         changing indentation.
22643 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22645         * org-list.el (org-list-struct-indent): Add code to replace
22646         bullets if needed when indenting.
22648 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22650         * org-list.el (org-list-insert-item-generic): A single item
22651         already counting blank lines in his body should be separated with
22652         the next one by a blank line.  Moreover, if user already provided
22653         blank lines, follow his wishes.
22655 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22657         * org-list.el (org-indent-item-tree): When moving top item of a
22658         *-list to column 0, only the first item had its bullet changed to
22659         -.  It now changes all items of the top-level list, as expected.
22661 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22663         * org-list.el (org-toggle-checkbox): Go to beginning of line
22664         before processing.
22666 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22668         * org-list.el (org-list-struct-apply-struct): Check if ancestor
22669         exists.
22671 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22673         * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22674         done at each item.
22676 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22678         * org-list.el: Removed unused variable
22679         `org-suppress-item-indentation'.
22681         * org-list.el (org-renumber-ordered-list): Skip item if bullet
22682         number is already good.
22684 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22686         * org-list.el (org-list-automatic-rules): Doc-string reflects this
22687         change.
22689         * org-list.el (org-indent-item-tree): Prevent whole list from
22690         being moved when user is not moving subtree.
22691         Thus `org-cycle-item-indentation' will not allow to move the list.
22693 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22695         * org-list.el (org-indent-item-tree): Remove region code.  It was
22696         prone to errors and undocumented.
22698         * org-list.el (org-item-indent-positions): Better heuristics to
22699         determine what bullet the item will have when demoted.
22701 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22703         * org-list.el (org-list-bullet-string): First check if
22704         `org-list-two-spaces-after-bullet-regexp' isn't nil.
22706 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22708         * org-list.el (org-list-bullet-string): Do not modify match-data.
22710         * org.el (org-toggle-item): Now working again when changing list
22711         items into plain text.  Moreover take into consideration
22712         `org-list-two-spaces-after-bullet-regexp'.
22714 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22716         * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22717         fix, and improved heuristics to determine bullet when indenting.
22719         * org-list.el (org-item-indent-positions): Function now returns
22720         sane results when there are two lists separated with blank lines
22721         only.
22723 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22725         * org-docbook.el (org-export-as-docbook): Use override="num" in
22726         any listitem matching [@start:num].
22728         * org-html.el (org-export-as-html): Use value="num" in any li
22729         matching [@start:num].
22731 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22733         * org.el (org-set-font-lock-defaults): Correct fontification for
22734         checkboxes found after [@start:?].
22736         * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22737         [@start:?]  when looking at a regex after a bullet.
22739         * org-list.el (org-toggle-checkbox): Correct insertion of
22740         checkboxes when there is already a [@start:?] in the item.
22742         * org-list.el (org-checkbox-blocked-p): Properly check if there's
22743         an unchecked item before.
22745         * org-list.el (org-list-parse-list): Function handles items having
22746         both a counter and a checkbox.
22748 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22750         * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22751         stores both indentation and bullet when cycle started.
22753 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22755         * org-list.el: `org-at-description-p' renamed to
22756         `org-at-item-description-p', `org-first-list-item-p' renamed to
22757         `org-list-first-item-p', `org-end-of-item-text-before-children'
22758         renamed to `org-end-of-item-or-at-child'.
22760 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22762         * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22763         of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22764         before toggling a checkbox.
22766 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22768         * org-list.el (org-list-bullet-string): New function returning
22769         bullet concatenated with an appropriate number of white spaces.
22771         * org-list.el (org-list-insert-item-generic): Insert the right
22772         bullet, with help of `org-list-bullet-string'.
22774         * org-list.el (org-indent-item-tree):
22775         Use `org-list-bullet-string'.
22777         * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22779         * org-list.el (org-toggle-checkbox): Send an error when
22780         `org-toggle-checkbox' is trying to insert a checkbox at a
22781         description item.
22783         * org-list.el (org-item-re): Modify regexp so it can catch
22784         correct number of white space before item body.
22786         * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22787         consideration new `org-item-re'.
22789 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22791         * org-list.el (org-list-insert-item-generic): The second item in a
22792         list will be separated from its predecessor with the number of
22793         blank lines separating the first item from its parent, if any, or
22794         no blank line.
22796 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22798         * org-list.el (org-indent-item-tree): Fix and reorder every list
22799         and sublist, from parent of list that has moved if indenting, or
22800         from list at point if outdenting.
22802 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22804         * org-list.el (org-indent-item-tree): Try to keep relative
22805         position on line.  It can't if point is in white spaces before
22806         bullet because mixed tabs and spaces make some columns
22807         unattainable.
22809 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22811         * org-list.el (org-cycle-item-indentation): Cycle when the whole
22812         item only contains bullet and maybe a checkbox.  Previously, TAB
22813         would cycle when the first line of the item was blank.
22815 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22817         * org-list.el (org-cycle-item-indentation): Allow a point just
22818         after a description item or a checkboxed item to start cycling.
22820 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22822         * org-list.el (org-cycle-list-bullet):
22823         Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22824         as valid bullets when cycling.
22826 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22828         * org-list.el (org-cycle-item-indentation): Do return t if and
22829         only if cycling is possible and succeded.
22831 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22833         * org-list.el (org-indent-item-tree): When outdenting a subtree,
22834         the last item shouldn't have a children.
22836 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22838         * org-list.el (org-cycle-item-indentation): Cycling should play
22839         nicely with indent rule in `org-list-automatic-rules'.
22841 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22843         * org-list.el (org-indent-item-tree): If indent rule is activated,
22844         it should be impossible to outdent an item having children without
22845         moving its subtree.  Improved reordering of lists modified by
22846         cycling indentation.
22848 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22850         * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22851         `org-fix-bullet-type' to prevent infinite loop, and some checks
22852         already done in `org-renumber-ordered-list'.
22854         * org-list.el (org-fix-bullet-type): Remove a check and call
22855         directly `org-maybe-renumber-ordered-list'.
22857 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22859         * org-list.el (org-indent-item-tree): It shouldn't be possible to
22860         indent the first item of a sublist (though outdent is possible) as
22861         it would break list's structure.
22863 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22865         * org-list.el (org-list-insert-item-generic): When local search
22866         doesn't help, search the list globally for blank lines.  Moreover,
22867         don't bother with new lists, and add 1 blank line.
22869 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22871         * org-capture.el (org-capture-place-item):
22872         Use `org-search-forward-unenclosed' and
22873         `org-search-backward-unenclosed' and new variable
22874         `org-item-beginning-re'.
22876         * org-list.el (org-item-beginning-re): Regexp matching beginning
22877         of an item.
22879 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22881         * org-list.el (org-cycle-list-bullet): Put back support for
22882         'previous argument.
22884 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22886         * org-list.el (org-in-item-p): Handle case when point is at an
22887         heading.
22889         * org-list.el (org-list-make-subtree): Add protection when used
22890         outside of list.
22892         * org-list.el (org-insert-item): Remove useless hack now
22893         `org-in-item-p' is fixed.
22895         * org-timer.el (org-timer-item): Remove useless hack now
22896         `org-in-item-p' is fixed.
22898 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22900         * org-list.el (org-cycle-list-bullet): Prevent description items
22901         from being numbered.  String argument is also recognized now, as
22902         long as it is a valid bullet.
22904 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22906         * org-list.el (org-indent-item-tree): Moving indentation of top
22907         list item will make the whole list move.
22909         * org-list.el (org-apply-on-list): Function is less sensitive to
22910         changes of indentation.
22912 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22914         * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22915         of the regexp.
22917         * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22919         * org-list.el (org-cycle-item-indentation): Allow cycling
22920         description items and checkbox items.
22922         * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22924         * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22925         regexp.
22927 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22929         * org-list.el (org-insert-item-internal): Guessing of blank lines
22930         number is made by looking at neighboring items, if any.
22932 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22934         * org-list.el (org-sort-list): Add the possibility to sort timer
22935         lists with the ?t or ?T options.
22937 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22939         * org-list.el (org-search-unenclosed-internal): New function to
22940         handle both `org-search-forward-unenclosed' and
22941         `org-search-backward-unenclosed'.
22943         * org-list.el (org-search-backward-unenclosed): Can send errors
22944         now.  Removed useless usage of COUNT.
22946         * org-list.el (org-search-forward-unenclosed): Can send errors
22947         now.  Removed useless usage of COUNT.
22949         * org-list.el (org-update-checkbox-count):
22950         Use `org-search-forward-unenclosed' and
22951         `org-search-backward-unenclosed' instead of `re-search-forward'
22952         and `re-search-backward'.
22954         * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22955         and `org-search-backward-unenclosed' instead of
22956         `re-search-forward' and `re-search-backward'.
22958         * org-list.el (org-list-make-subtree):
22959         Use `org-search-forward-unenclosed' and
22960         `org-search-backward-unenclosed' instead of `re-search-forward'
22961         and `re-search-backward'.
22963 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22965         * org-list.el (org-insert-item-internal): Fixes the problem when
22966         point was before the first char of the item's body.
22968 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22970         * org-timer.el (org-timer-item): Refactoring.  Compute timer string
22971         before inserting it in the buffer.
22973         * org-timer.el (org-timer): Add an optional argument to return
22974         timer string instead of inserting it.
22976 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22978         * org-list.el (org-insert-item-internal): New function to handle
22979         positioning and contents of an item being inserted at a specific
22980         pos.  It is not possible anymore to split a term in a description
22981         list or a checkbox when inserting a new item.
22983         * org-list.el (org-insert-item): Refactored by using the new
22984         `org-insert-item-internal' function.
22986         * org-timer.el (org-timer-item): Refactored by using the new
22987         `org-insert-item-internal' function.
22989 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22991         * org-list.el (org-list-bottom-point): Be sure to check real
22992         ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
22994         * org.el (org-cycle-internal-local): Cycle up to end of subtree or
22995         end of item if we are in a list.
22997 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22999         * org-list.el (org-insert-item): Move before any special block in
23000         a list prior to add a new item.
23002         * org-timer.el (org-timer-item): When in a timer list, insert a
23003         new timer item like `org-insert-item'.  If in another list, send an
23004         error.  Otherwise, start a new timer list.
23006 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23008         * org-list.el: Minor refactoring.
23010 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23012         * org-timer.el (org-timer-item): Insert description list item at
23013         the right column.
23015         * org-list.el (org-insert-item): Insert the right number of blank
23016         lines before a relative timer.
23018 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23020         * org-list.el (org-insert-item): Remove restriction on latex
23021         blocks.
23023 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23025         * org-list.el (org-search-backward-unenclosed): Do not stop in
23026         protected places.
23028         * org-list.el (org-search-forward-unenclosed): Do not stop in
23029         protected places.
23031         * org-latex.el (org-export-latex-lists): Use the fact that
23032         org-search-forward do not stop anymore at protected places.
23034 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23036         * org-list.el (org-search-backward-unenclosed): Do not prevent
23037         list items from being inside LaTeX blocks.
23039         * org-list.el (org-search-forward-unenclosed): Do not prevent list
23040         items from being inside LaTeX blocks.
23042 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23044         * org-list.el (org-in-item-p): Do not widen before checking if we
23045         are in item.
23047         * org-list.el (org-list-send-list): We cannot count on
23048         `org-list-top-point' and `org-list-bottom-point' before buffer is
23049         narrowed.  Find bounds of list otherwise.
23051 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23053         * org-list.el (org-list-end-regexp): By default, list ending is
23054         exactly 2 blank lines.
23056 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23058         * org-docbook.el (org-export-as-docbook): When we find an empty
23059         line, we do not need to check for
23060         `org-empty-line-terminates-plain-lists' because we would have
23061         found end-list marker before.
23063         * org-html.el (org-export-as-html): Same.
23065 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23067         * org-list.el (org-insert-item): Simplify count of blank lines to
23068         insert.
23070 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23072         * org-list.el (org-list-end-regexp): New customizable variable to
23073         define what string should end lists.
23075         * org-list.el (org-list-end-re): Function is now aware of
23076         `org-list-end-regexp'.
23078 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23080         * org-html.el (org-export-as-html): Code cleanup.
23082 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23084         * org-docbook.el (org-export-as-docbook): Properly close any open
23085         list when seeing ORG-LIST-END.  Removed any reference to now
23086         unneeded DIDCLOSE variable.
23088 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23090         * org-exp.el (org-export-mark-list-ending): Fix number of blank
23091         lines inserted after a list.
23093         * org-list.el (org-list-parse-list): Fix case when
23094         `org-list-end-re' would have an indentation greater than current
23095         list.
23097 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23099         * org-exp.el (org-export-mark-list-ending): Differentiate between
23100         export backends, and replace `org-list-end-re' by a blank line
23101         upon exporting.
23103 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23105         * org-html.el (org-export-as-html): Delete didclose and everything
23106         related to it, as it is no longer needed.
23108 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23110         * org-html.el (org-export-html-preprocess): Remove unneeded
23111         insertion of list end marker, as it is now handled by
23112         `org-export-mark-list-ending'.
23114         * org-html.el (org-export-as-html): Cleaner termination of lists.
23116         * org-exp.el (org-export-mark-list-ending): New function to insert
23117         specific markers at the end of lists when exporting to a backend
23118         not using `org-list-parse-list'.  This function is called early in
23119         `org-export-preprocess-string', while it is still able to
23120         recognize lists.
23122         * org-latex.el (org-export-latex-lists): Better search for
23123         lists.  It now only finds items not enclosed and not protected.
23125 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23127         * org-list.el: Replaced `re-search-forward' by
23128         `org-search-forward-unenclosed' where it made sense.
23130 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23132         * org-list.el (org-apply-to-list): Now a return value is handed at
23133         each new call of the function applied.
23135         * org-list.el (org-fix-bullet-type): Use the new
23136         `org-apply-to-list' format.
23138         * org-list.el (org-renumber-ordered-list): Use the new
23139         `org-apply-to-list' format.
23141 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23143         * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
23144         correctly used.
23146         * org-list.el (org-search-forward-unenclosed): Better regexp used.
23148         * org-list.el (org-search-backward-unenclosed): Better regexp
23149         used.
23151 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23153         * org-list.el (org-sort-list): End-rec function was ill-defined.
23155 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23157         * org-list.el (org-search-forward-unenclosed): Fix behavior when
23158         last occurrence was enclosed.
23160         * org-list.el (org-search-backward-unenclosed): Fix behavior when
23161         last occurrence was enclosed.
23163 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23165         * org.el (org-in-regexps-block-p): Fix documentation.
23167 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23169         * org-list.el (org-search-backward-unenclosed): Fix block regexp.
23171         * org-list.el (org-search-forward-unenclosed): Fix block regexp.
23173         * org-list.el (org-list-parse-list): Minor fix.
23175 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23177         * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
23178         called with t argument.
23180 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23182         * org-html.el (org-export-html-preprocess):
23183         Replace `org-list-end-re' by a blank line during pre-process.
23185 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23187         * org-list.el (org-list-bottom-point): No need for square brackets
23188         for `skip-chars-backward'.
23190 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23192         * org-html.el: Do not delete space between end of list and
23193         beginning of the following.
23195 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23197         * org-html.el: Preprocess buffer string and add ORG-LIST-END where
23198         needed.  Lists should not end before seeing this.
23200 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23202         * org-html.el: Notice end of lists.
23204 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23206         * org-list.el (org-list-parse-list): Better handling of
23207         restrictions when function is called on a list with sublists.
23209         * org-list.el (org-list-send-list): Find the true ending of the
23210         list being sent.
23212         * org-list.el (org-list-radio-list-templates): Templates are more
23213         specific to lists.
23215 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23217         * ob-js.el (org-babel-js-eoe): Indicate end of input
23218         (org-babel-execute:js): Support for session evaluation
23219         (org-babel-prep-session:js): Fleshed out definition
23220         (org-babel-js-initiate-session): Can initiate a session using
23221         mozrepl.
23223 2010-11-11  David Maus  <dmaus@ictsoc.de>
23225         * org.el (org-set-regexps-and-options): Protect escape char in
23226         `org-complex-heading-regexp-format'.
23228 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23230         * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
23231         session-based evaluation
23232         (org-babel-execute:scheme): Now supports session-based evaluation
23233         (org-babel-prep-session:scheme): Now works and defines variables
23234         (org-babel-scheme-initiate-session): Now works using run-scheme
23235         from cmuscheme.
23237 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23239         * org.el (org-export-latex-default-packages-alist): Remove the
23240         t1enc package - this is already covered by fontenc.
23242 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23244         * ob.el (with-parsed-tramp-file-name): Declared
23245         (org-babel-tramp-localname): Ensure variable name exists locally.
23247 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23249         * ob.el (org-babel-temp-file): Don't use babel temporary directory
23250         in remote case; use make-temp-file with remote file name so that
23251         temp file is guaranteed not to exist previously on remote machine.
23252         (org-babel-tramp-localname): New function to return local name
23253         portion of possibly remote file specification.
23255 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23257         * ob-R.el (org-babel-R-write-object-command): New unified R
23258         command for writing results to file
23259         (org-babel-R-wrapper-method): Remove variable
23260         (org-babel-R-wrapper-lastvar): Remove variable
23261         (org-babel-R-evaluate-external-process): Use new R command
23262         (org-babel-R-evaluate-session): Use new R command.
23264 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23266         * ob-comint.el
23267         (org-babel-comint-eval-invisibly-and-wait-for-file): New function
23268         to evaluate code invisibly and block until output file exists.
23270         * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
23271         evaluate R code in session for :results value.  Write result to
23272         file invisibly using new function
23273         `org-babel-comint-eval-invisibly-and-wait-for-file'.
23275 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23277         * org-capture.el (org-capture-fill-template): Align tags after
23278         insertion.
23280 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23282         * org-exp.el (org-export-concatenate-multiline-emphasis):
23283         Ignore matches that start in a headline.
23285 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23287         * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
23288         and out-file in shell-quote-argument.
23290 2010-11-11  David Maus  <dmaus@ictsoc.de>
23292         * org-docview.el (org-docview-store-link): Use expanded macro to
23293         get current page.
23294         (doc-view-goto-page, image-mode-window-get): Declare functions for
23295         byte compiler.
23297 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23299         * ob-scheme.el: Very preliminary support for evaluating scheme
23300         code blocks.
23302         * org.el (org-babel-load-languages): Adding scheme.
23304 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23306         * ob.el (require): Remove circular (require 'org).
23308 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23310         * ob-R.el (ess-make-buffer-current): Declared.
23311         (ess-ask-for-ess-directory): Declared.
23312         (ess-local-process-name): Declared.
23313         * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
23315         * ob.el (org-edit-src-code): Fixing arguments.
23316         (org-edit-src-exit): Declared.
23317         (org-outline-overlay-data): Declared.
23318         (org-set-outline-overlay-data): Declared.
23320 2010-11-11  Glenn Morris  <rgm@gnu.org>
23322         * ob.el: Require org when compiling.
23323         (org-save-outline-visibility): Remove macro declaration.
23325         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23326         Remove unnecessary/macro declarations.
23328         * org-docview.el: Require doc-view when compiling.
23329         (doc-view-goto-page): Autoload rather than declaring.
23330         (doc-view-current-page): Remove macro declaration.
23332         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23333         (org-entry-get, org-table-import): Fix declarations.
23334         (org-match-string-no-properties): Remove declaration.
23336         * ob-sh.el (org-babel-comint-in-buffer)
23337         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23338         (org-babel-comint-with-output): Remove unnecessary declarations.
23340         * ob-R.el (orgtbl-to-tsv): Fix declaration.
23342         * org-list.el (org-entry-get): Fix declaration.
23344 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23346         * ob.el (org-babel-remove-temporary-directory): Remove explicit
23347         second argument.
23349 2010-11-11  Magnus Henoch  <magnus.henoch@gmail.com>  (tiny change)
23351         * org-clock.el (org-clocktable-steps): Allow ts and te to be day
23352         numbers.
23354 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23356         * org-macs.el (org-save-outline-visibility): Move from org.el.
23358 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23360         * ob-org.el (org-babel-default-header-args:org): Additional
23361         ":results silent" default header argument for org code blocks.
23363 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23365         * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
23366         which is now an alias to ":eval no".
23368 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23370         * ob.el (org-babel-remove-temporary-directory): The version of
23371         `delete-directory' found in files.el can not be assumed to be
23372         present on all versions, so this copies the recursive behavior of
23373         that command in such a way that all calls to delete-directory will
23374         also work with the built-in internal C implementation of that
23375         function.  This is not overly difficult as all elements of the
23376         directory can be assumed to be files.
23378 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23380         * ob-C.el (org-babel-C-execute): Corrected arguments to
23381         org-babel-temp-file.
23383 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23385         * ob.el (org-babel-temporary-directory): Variable to hold the
23386         value of the Babel temporary directory.
23388 2010-11-11  Aditya Siram  <aditya.siram@gmail.com>
23390         * ob.el (org-babel-load-in-session): Expanding noweb references
23391         when appropriate.
23393 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23395         * org.el (org-make-link-regexps): Modify regexp of
23396         org-plain-link-re.
23398 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
23400         * org-habit.el (org-habit-parse-todo): Find sr-days only if
23401         scheduled-repeat is non nil.  Use 4th element of the list returned
23402         by (org-heading-components) as habit-entry.  Modify the error
23403         message to be more meaningful.
23405 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23407         * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
23408         ":border" header arguments which both use the "preview" latex
23409         package to fit the resulting PDF image to the figure.
23411 2010-11-11  David Maus  <dmaus@ictsoc.de>
23413         * org-wl.el (org-wl-store-link): Don't try to store link if point
23414         is at end of buffer.
23416 2010-11-11  Harri Kiiskinen  <harkiisk@gmail.com>
23418         * org-publish.el (org-publish-project-alist): Document the new
23419         body-only property.
23420         (org-publish-org-to): Use the body-only property.
23422 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23424         * org.el (org-store-link): Return link when invoked
23425         non-interactively from an agenda buffer.
23427 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23429         * org.el (org-store-link): Storing of links to headlines in
23430         indirect buffers was broken.  Fix it.
23432 2010-11-11  Aidan Kehoe  <kehoea@parhasard.net>
23434         * ob-tangle.el (org-babel-tangle): Change the MODE argument to
23435         #'set-file-modes to use integer, not character syntax, avoiding
23436         compile problems with recent XEmacs.
23438 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23440         * org-agenda.el (org-agenda-add-entry-text): Make sure we move
23441         forward even if there is no text to be added.
23443 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23445         * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
23446         tags/property matcher.
23448 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23450         * org-exp.el (org-infile-export-plist): Bind case-fold-search to
23451         t.
23453 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23455         * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
23457 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23459         * org-latex.el (org-export-latex-set-initial-vars):
23460         Bind `case-fold-search' to t around the search for special LaTeX setup.
23462         * org-beamer.el (org-beamer-after-initial-vars):
23463         Bind `case-fold-search' to t around the search for special BEAMER
23464         setup.
23466 2010-11-11  David Maus  <dmaus@ictsoc.de>
23468         * org-agenda.el (org-write-agenda): Delete PostScript file after
23469         creating conversion to PDF.
23471 2010-11-11  David Maus  <dmaus@ictsoc.de>
23473         * org-agenda.el (org-write-agenda): Move require statements to
23474         proper place in evaluated lisp expression.
23476 2010-11-11  David Maus  <dmaus@ictsoc.de>
23478         * org-agenda.el (org-write-agenda): Rename temporary buffer to
23479         remove dependency of `flet' macro.
23481 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23483         * ob-lob.el (org-babel-lob-get-info): Edit docstring.
23485 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23487         * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
23488         from all standard sources when executing #+lob/#+call lines.
23490 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23492         * ob-R.el (org-babel-R-evaluate): Break the two branches into two
23493         separate functions
23494         (org-babel-R-evaluate-external-process): New function to handle
23495         external process evaluation
23496         (org-babel-R-evaluate-session): New function to handle session
23497         evaluation.
23499 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23501         * ob.el (org-babel-initiate-session): New function derived from
23502         previous `org-babel-switch-to-session'
23503         (org-babel-switch-to-session): Refactored to use new
23504         `org-babel-initiate-session'.
23506 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23508         * ob.el (org-babel-switch-to-session): Supply missing "P" argument
23509         to (interactive).
23511 2010-11-11  David Maus  <dmaus@ictsoc.de>
23513         * org-feed.el (org-feed-format-entry): Decode entry according to
23514         its character encoding.
23516 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
23518         * org-feed.el (xml-substitute-special): Declare function for byte
23519         compiler.
23520         (org-feed-unescape): Remove.
23521         (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
23522         Use `xml-substitute-special' to unescape XML entities.
23524 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23526         * ob.el (org-babel-switch-to-session): Throw error if block if
23527         :session not in effect for the block.
23529 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23531         * org-table.el (org-table-create-with-table.el): Align table
23532         before converting.
23534 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23536         * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
23537         that org-src buffer is current before attempting exit.
23539 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23541         * org-src.el (ob-comint): Require 'ob-comint
23542         (org-src-babel-info): Define variable.
23544 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23546         * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
23547         in the language major mode edit buffer.
23548         (org-babel-do-key-sequence-in-edit-buffer): New function to call
23549         an arbitrary key sequence in the language major mode edit buffer.
23551         * org-src.el (org-src-switch-to-buffer): Add new allowed value
23552         'switch-invisibly for `org-src-window-setup'.
23554 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23556         * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
23557         is used.
23558         (org-src-do-at-code-block): New macro to evaluate lisp with point
23559         at the start of the Org code block containing the code in this
23560         edit buffer.
23561         (org-src-do-key-sequence-at-code-block): New function to execute
23562         command bound to key at the Org code block containing the code in
23563         this edit buffer.
23565 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23567         * ob-R.el (org-babel-R-associate-session): New function to
23568         associate R code edit buffers with ESS comint session.
23570 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23572         * org-src.el (org-edit-src-code): If at src block, store babel
23573         info as buffer local variable.
23574         (org-src-associate-babel-session): New function to associate code
23575         edit buffer with comint session.  Does nothing unless a
23576         language-specific function named
23577         `org-babel-LANG-associate-session' exists.
23578         (org-src-babel-configure-edit-buffer): New function to be called
23579         in `org-src-mode-hook'.
23580         (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
23581         hook.
23583 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23585         * ob.el (org-babel-switch-to-session-with-code): New function to
23586         generate split frame displaying edit buffer and session.
23588 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23590         * org.el (org-set-tags): Consider org-indent-mode when computing
23591         the tags column.
23593 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23595         * org-compat.el (org-looking-at-p): Only use looking-at-p when
23596         defined.
23598 2010-11-11  David Maus  <dmaus@ictsoc.de>
23600         * org-agenda.el (org-finalize-agenda-entries): Delete excluded
23601         lines directly after call to sorting filter function.
23603 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23605         * org.el (org-complex-heading-regexp-format): Document the
23606         variable.
23607         (org-get-refile-targets): Use `org-complex-heading-regexp-format'
23608         to make the regular expression for matching the headline.
23610 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23612         * org.el (org-refile-check-position): New function.
23613         (org-goto):
23614         (org-refile-get-location): Call `org-refile-check-position'.
23616 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23618         * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
23619         instead of equal to compare symbols.
23621 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23623         * org-agenda.el (org-agenda-before-sorting-filter-function):
23624         New hook function.
23625         (org-finalize-agenda-entries):
23626         Apply `org-agenda-before-sorting-filter-function'.
23628 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23630         * org-latex.el (org-export-latex-first-lines): Do not protect meta
23631         lines that have nothing to do with babel.
23633 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23635         * org-capture.el (org-capture-place-template): Handle the
23636         checkitem case.
23637         (org-capture-place-item): Provide boundaries for the search to
23638         make sure we do not get a match in a different tree.
23640 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23642         * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23643         argument parser.
23645 2010-11-11  Noorul Islam  <noorul@noorul.com>
23647         * org-latex.el (org-latex-to-pdf-process): Add output-directory
23648         option for the command pdflatex.
23649         (org-export-as-pdf): Respect directory in path of
23650         EXPORT_FILE_NAME.
23652 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23654         * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23655         which now means to use MathJax processing for HTML.  Also allow
23656         new value `dvipng' to force the old image processing.
23657         (org-infile-export-plist): Parse for MATHJAX setup line.
23659         * org-html.el (org-export-html-mathjax-options): New option.
23660         (org-export-html-mathjax-config): New function.
23661         (org-export-html-mathjax-template): New option.
23662         (org-export-html-preprocess): Call the LaTeX snippet processor
23663         with an additional argument to declare special ways of processing.
23664         (org-export-as-html): Bind the dynamical variable
23665         `org-export-have-math'.  Insert the MathJax script template when
23666         it is needed by the document.
23668         * org.el (org-preview-latex-fragment): Call `org-format-latex'
23669         with the additional processing argument.
23670         (org-export-have-math): New variable, for dynamic scoping.
23671         (org-format-latex): Implement specific ways of processing.
23672         New function argument for processing type.
23673         (org-org-menu): Remove the entry to configure LaTeX snippet
23674         processing.
23676 2010-11-11  Bastien Guerry  <bzg@gnu.org>
23678         * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23679         `org-clock-goto' and `J' for `org-agenda-clock-goto'.  If the
23680         heading currently clocked in is not listed in the agenda, display
23681         this entry in another buffer.  If there is no running clock,
23682         display a help message.
23684 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23686         * org-latex.el (org-export-latex-tables): Return "" instead of nil
23687         when no label is attached.
23689 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23691         * org-agenda.el (org-agenda-menu-show-match): New option.
23692         (org-agenda-menu-two-column): New option.
23693         (org-agenda-get-restriction-and-command): Implement dispatch menu
23694         without showing the matcher, and with two-column display.
23696 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23698         * org-indent.el (org-indent-mode): Fix grammar for message when
23699         mode is refused.
23701 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23703         * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23704         no previous result exists.
23706 2010-11-11  Noorul Islam  <noorul@noorul.com>
23708         * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23709         warning.
23711 2010-11-11  Noorul Islam  <noorul@noorul.com>
23713         * org.el (org-set-visibility-according-to-property): Use backward
23714         search instead of forward, so that top hierarchy gets priority.
23716 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23718         * org-agenda.el (org-timeline): Allow indirect buffer.
23720 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23722         * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23723         (org-export-define-heading-targets-headline-hook): New hooks.
23725         * org.el (org-modules): Add entry for org-wikinodes.el.
23726         (org-font-lock-set-keywords-hook): New hook.
23727         (org-open-at-point-functions): New hook.
23728         (org-find-exact-headling-in-buffer):
23729         (org-find-exact-heading-in-directory): New functions.
23730         (org-mode-flyspell-verify): Better cursor position for checking if
23731         flyspell should ignore a word.
23733 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23735         * org-indent.el (org-indent-remove-properties):
23736         (org-indent-add-properties): Make sure changing these properties
23737         does not trigger modification hooks.
23739 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23741         * org.el (org-link-search-must-match-exact-headline): New option.
23742         (org-link-search-inhibit-query): New variable.
23743         (org-link-search): Search for exact headline match in Org files.
23745 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23747         * ob.el (org-babel-execute-src-block-maybe): Remove check for
23748         `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23749         function `org-babel-execute-safely-maybe'.
23751 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23753         * ob.el (org-babel-load-in-session): Set directory in case :dir
23754         arg is in effect.
23756 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23758         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23759         errors when we're not under of a headline.
23761 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23763         * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23764         write delimited text instead of save -ascii
23765         (org-babel-octave-import-elisp-from-file): Specify that data
23766         written to file is tab-delimited.
23768 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23770         * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23771         tab-delimited.
23773 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23775         * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23776         specified.
23778 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23780         * ob-python.el (org-babel-python-table-or-string): Fix recognition
23781         of lists and tuples.
23783 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23785         * ob-octave.el (org-babel-octave-evaluate-external-process):
23786         Allow remote files.
23788 2010-11-11  Juan Pechiar  <pechiar@computer.org>
23790         * ob-octave.el (org-babel-octave-evaluate-external-process):
23791         Use `org-babel-octave-import-elisp-from-file' instead of
23792         `org-babel-eval-read-file'.
23793         (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23794         and use '%s' as format specifier instead of '%S'.
23796 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23798         * ob-octave.el: Only (require 'matlab) when necessary.
23799         (org-babel-octave-initiate-session): (require) octave-inf or matlab
23800         as appropriate.
23801         (org-babel-execute:matlab): Remove (require).
23802         (org-babel-prep-session:matlab): Remove (require).
23803         (org-babel-matlab-initiate-session): Remove (require).
23805 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23807         * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23808         list.
23810 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23812         * ob-python.el (org-babel-python-table-or-string): Can now handle
23813         VERY long result lines.
23815 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23817         * org-latex.el (org-export-latex-tables): Add label if any.
23819         * org-latex.el (org-export-latex-convert-table.el-table):
23820         Fix little mistake when inserting label.
23822 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23824         * org.el (org-cycle-internal-local): Remove an unnecessary call
23825         to `org-back-to-heading' that was preventing point to stay at its
23826         column when cycling visibility.
23828 2010-11-11  Noorul Islam  <noorul@noorul.com>
23830         * org-capture.el (org-capture-finalize): Make messages consistent.
23832 2010-11-11  Noorul Islam  <noorul@noorul.com>
23834         * org-gnus.el: Suppress compiler warning by declaring outside
23835         function nnimap-retrieve-headers-from-file.
23837 2010-11-11  Noorul Islam  <noorul@noorul.com>
23839         * org-colview.el Use org-beamer-select-environment instead of
23840         org-beamer-set-environment-tag.
23842 2010-11-11  Matt Lundin  <mdl@imapmail.org>
23844         * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23845         that the value of org-last-inserted-timestamp includes time range.
23847 2010-11-11  David Maus  <dmaus@ictsoc.de>
23849         * org-wl.el (org-wl-store-link-message): Provide link property for
23850         message-id without angle brackets.
23852 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23854         * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23856 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23858         * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23859         file ensuing that the latest changes on disk are represented.
23861 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23863         * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23864         arguments w/o quotes.
23866 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23868         * org-capture.el (org-capture-finalize): Fix clock in of
23869         interrupted task during capture finalize.
23871 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23873         * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23874         session output.
23876 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23878         * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23879         expression for matching main function.
23881 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23883         * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23884         regexp -- it wasn't matching lob lines w/o indices.
23886 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23888         * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23889         warning in org-exp.el.
23891 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23893         * org-publish.el (org-publish-file): Better error message if
23894         base-directory or publishing-directory are not defined.
23896 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23898         * org-colview.el (org-columns-display-here): Use overlays to
23899         overrule line prefix properties during column view.
23901 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23903         * org-agenda.el (org-agenda-filter-preset): Document the
23904         limitation for the filter preset - it can only be used for an
23905         entire agenda view, not in an individual block in a block agenda.
23907 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23909         * ob-table.el (sbe): Now able to accept range references from
23910         tables.
23912 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23914         * ob.el (org-babel-pick-name): If colnames or rownames contain a
23915         list of names, then use those directly.
23917 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23919         * org-exp.el (org-export-format-source-code-or-example):
23920         Escape underscores in code block names on latex listings export.
23922 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23924         * ob-tangle.el (org-babel-with-temp-filebuffer):
23925         Use find-file-noselect to avoid excess buffer movement.
23927 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23929         * org-html.el (org-html-should-inline-p): Only inline images if
23930         they should be.
23932 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23934         * org-id.el (org-id-store-link): Autoload.
23936         * org.el ("org-id"): Autoload `org-id-store-link'.
23938 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23940         * org-html.el (org-html-should-inline-p): Only inline images if
23941         they should be.
23943 2010-11-11  Eric S Fraga  <e.fraga@ucl.ac.uk>
23945         * org-icalendar.el (org-icalendar-alarm-time): New option.
23947         * org-icalendar.el (org-print-icalendar-entries): Timed events are
23948         exported with alarm events, a.k.a. reminders.
23950 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23952         * org-capture.el (org-capture-target-buffer): Throw an error if we
23953         have no target file.
23954         (org-capture-select-template): Use a default template if the user
23955         has not specified any.
23957 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23959         * org.el (org-modules): Add entry for org-velocity.
23961 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23963         * ob-lob.el (org-babel-lob-execute): Changing indentation to
23964         improve line length.
23966 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23968         * org-exp.el (org-export-handle-table-metalines): Choose a better
23969         position for checking protectedness.
23971 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23973         * org-table.el (org-table-convert-region): Don't continue csv
23974         importation which the point catches the end, this fixes an
23975         infinite loop which was caused by the (point) never catching up
23976         with the "end" marker.
23978 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23980         * org-macs.el (org-string-nw-p): New function.
23982         * org-capture.el (org-capture-import-remember-templates):
23983         Interpret an empty string as request to use
23984         `org-default-notes-file'.
23985         (org-capture-target-buffer): If the FILE is not a (non-empty)
23986         string, use `org-default-notes-file'.
23988 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23990         * org-capture.el (org-capture-templates): Fix customize type.
23992 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
23994         * org.el (org-refile-targets):
23995         * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
23997 2010-08-19  Glenn Morris  <rgm@gnu.org>
23999         * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
24000         (org-save-outline-visibility): Move to org-macs.
24001         * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
24002         (org-save-outline-visibility): Move here from org.el.
24003         (show-all): Autoload it.
24004         * ob.el: Don't require org when compiling.
24006 2010-08-18  Glenn Morris  <rgm@gnu.org>
24008         * ob.el: Require org when compiling.
24009         (org-save-outline-visibility): Remove macro declaration.
24010         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
24011         Remove unnecessary/macro declarations.
24012         * org-docview.el: Require doc-view when compiling.
24013         (doc-view-goto-page): Autoload rather than declaring.
24014         (doc-view-current-page): Remove macro declaration.
24016 2010-08-17  Glenn Morris  <rgm@gnu.org>
24018         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
24019         (org-entry-get, org-table-import): Fix declarations.
24020         (org-match-string-no-properties): Remove unnecessary declaration.
24021         * ob-sh.el (org-babel-comint-in-buffer)
24022         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
24023         (org-babel-comint-with-output): Remove unnecessary declarations.
24024         * ob-R.el (orgtbl-to-tsv): Fix declaration.
24025         * org-list.el (org-entry-get): Fix declaration.
24027 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24029         * ob-C.el: New file.
24030         * ob-R.el: New file.
24031         * ob-asymptote.el: New file.
24032         * ob-clojure.el: New file.
24033         * ob-comint.el: New file.
24034         * ob-css.el: New file.
24035         * ob-ditaa.el: New file.
24036         * ob-dot.el: New file.
24037         * ob-emacs-lisp.el: New file.
24038         * ob-eval.el: New file.
24039         * ob-exp.el: New file.
24040         * ob-gnuplot.el: New file.
24041         * ob-haskell.el: New file.
24042         * ob-keys.el: New file.
24043         * ob-latex.el: New file.
24044         * ob-lob.el: New file.
24045         * ob-matlab.el: New file.
24046         * ob-mscgen.el: New file.
24047         * ob-ocaml.el: New file.
24048         * ob-octave.el: New file.
24049         * ob-perl.el: New file.
24050         * ob-python.el: New file.
24051         * ob-ref.el: New file.
24052         * ob-ruby.el: New file.
24053         * ob-sass.el: New file.
24054         * ob-screen.el: New file.
24055         * ob-sh.el: New file.
24056         * ob-sql.el: New file.
24057         * ob-sqlite.el: New file.
24058         * ob-table.el: New file.
24059         * ob-tangle.el: New file.
24060         * ob.el: New file.
24062 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24064         * org-mks.el: New file.
24065         * org-capture.el: New file.
24067 2010-07-19  Christian Egli  <christian.egli@sbszh.ch>
24069         * org-taskjuggler.el: New file.
24071 2010-07-19  Matt Lundin  <mdl@imapmail.org>
24073         * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
24074         in org-agenda-text-search-extra-files.
24076 2010-07-19  David Maus  <dmaus@ictsoc.de>
24078         * org-list.el (org-list-send-list): Locally bind variable `txt'.
24080 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24082         * org.el (org-reload): Now also reloading babel files.
24084 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24086         * org-capture.el (org-capture-set-plist): Make sure txt is a string
24087         before calling `string-match'.
24088         (org-capture-templates): Fix customization type.
24090 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24092         * org-latex.el (org-export-latex-preprocess): Make a special case
24093         for \nbsp.
24094         (org-latex-entities): Remove the entry for \nbsp.
24095         (org-latex-entities-exceptions): Variable removed.
24097 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24099         * org-capture.el (org-capture-refile): Do not try to manipulate
24100         bookmark list.
24102         * org.el (org-refile): Use the correct bookmark here.
24104 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24106         * org-list.el (org-list-send-list): Parse list from its true beginning.
24108         * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
24110 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24112         * org.el (org-insert-link): Correctly determine if we should use
24113         a relative path.
24115 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24117         * org-list.el (org-list-radio-list-templates): Fix templates.
24119 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24121         * org-list.el (org-list-send-list): Regexp defining the start of
24122         a radio list is now on par with the one used for radio tables.
24124 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24126         * org-entities.el (org-entities-help): Add a headline for
24127         the user-defined entities.
24129 2010-07-19  Dirk-Jan C. Binnema  <djcb.bulk@gmail.com>  (tiny change)
24131         * org-agenda.el (org-agenda-action): Document capture key and add it
24132         to the prompt.
24134 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24136         * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
24138 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24140         * org-latex.el (org-export-latex-first-lines): Do not mark
24141         meta lines for removal.  Do not remove BABEL config lines during export.
24143 2010-07-19  David Maus  <dmaus@ictsoc.de>
24145         * org-capture.el (org-capture): Check if
24146         `org-capture-link-is-already-stored' is bound before evaluating.
24148 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24150         * org.el: Add autoload for org-babel-do-load-languages.
24152 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24154         * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
24156 2010-07-19  David Maus  <dmaus@ictsoc.de>
24158         * org-feed.el: Change indentation to match coding style
24159         guideline.
24161 2010-07-19  David Maus  <dmaus@ictsoc.de>
24163         * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
24164         library if necessary.
24166 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24168         * org-beamer.el (org-beamer-amend-header): Standardize the
24169         header cookie for the beamer extra stuff.
24171 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24173         * org-beamer.el (org-beamer-amend-header): Put extra header
24174         last in header.
24176 2010-07-19  David Maus  <dmaus@ictsoc.de>
24178         * org-exp-blocks.el (org-export-blocks-format-ditaa)
24179         (org-export-blocks-format-dot): Remove text properties of body before
24180         calculating cache hash.
24182 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24184         * org-latex.el (org-export-latex-tabular-environment): New option.
24185         (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
24187 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24189         * org-compat.el (org-version-check): New function.
24191         * org-indent.el (org-indent-mode): Check for exact emacs version.
24193 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24195         * org-capture.el (org-capture-templates): Allow the template
24196         to come from a file or function call.
24197         (org-capture-place-entry): Get the template from file or function.
24199 2010-07-19  David Maus  <dmaus@ictsoc.de>
24201         * org-agenda.el (org-agenda-bulk-action): Don't create marker for
24202         position if target is entire file.
24204 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24206         * org.el (org-autoload): Autoload a few more org-table functions.
24208 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24210         * org.el (org-babel-load-languages): Add ob-mscgen.
24212 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24214         * org-latex.el (org-export-latex-tables): Format string now
24215         matches options.
24217 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24219         * org.el (org-babel-load-languages): This variable controls which
24220         languages will be loaded by org-babel.  It is customizable through
24221         the customize interface.
24223 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24225         * org-latex.el (org-export-latex-format-image): Update number of
24226         arguments to allow for an optional short-name.
24228 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24230         * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
24232 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24234         * org-capture.el (org-capture-set-target-location):
24235         Store exact positions for file+regexp and file+function targets.
24236         (org-capture-place-entry, org-capture-place-item)
24237         (org-capture-place-table-line, org-capture-place-plain-text):
24238         Respect exact positions.
24239         (org-capture-finalize): Make sure we are at the beginning of a line
24240         when fixing the empty lines after the entry.
24242 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24244         * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
24245         (org-entry-get): Pass `literal-nil' into
24246         `org-entry-get-with-inheritance'.
24247         (org-todo): React to nil values of the LOGGING property.
24249 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24251         * org.el (org-default-notes-file): Update docstring.
24253 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24255         * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
24257 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24259         * org-exp.el (org-export-attach-captions-and-attributes):
24260         Add a shortname attribute to caption strings under the symbol name
24261         org-caption-shortn.
24263 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24265         * org.el (org-switchb): Rename from `org-iswitchb'.
24266         Improve docstring.
24267         (org-iswitchb): New alias.
24268         (org-ido-switchb): Make alias point to `org-switchb'.
24270 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24272         * org-capture.el (org-capture-fill-template):
24273         Respect time-of-day preference in template prompt.
24275 2010-07-19  David Maus  <dmaus@ictsoc.de>
24277         * org-feed.el (org-feed-unescape): Remove superfluous lambda.
24279 2010-07-19  David Maus  <dmaus@ictsoc.de>
24281         * org-wl.el (org-wl-disable-folder-check): New customization
24282         variable.
24283         (org-wl-open): Disable folder check depending on
24284         `org-wl-disable-folder-check'.
24286 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24288         * org-capture.el (org-capture-set-target-location):
24289         Fix file+function interpretation.
24291 2010-07-19  David Maus  <dmaus@ictsoc.de>
24293         * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
24294         content.
24296 2010-07-19  David Maus  <dmaus@ictsoc.de>
24298         * org-feed.el (xml-entity-alist): Declare variable
24299         `xml-entity-alist' for byte compiler.
24301 2010-07-19  David Maus  <dmaus@ictsoc.de>
24303         * org-feed.el (org-feed-unescape): New function.
24304         Unescape protected entities.
24305         (org-feed-parse-atom-entry): Use function for atom:content
24306         type text and html.
24308 2010-07-19  David Maus  <dmaus@ictsoc.de>
24310         * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
24311         element names.
24313 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24315         * org.el (org-time-string-to-absolute): Ignore cyclic repeater
24316         when displaying items on todays agenda date.
24318 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24320         * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
24321         value of EXTRA.
24323 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24325         * org-publish.el (org-publish-initialize-cache):
24326         Make timestamp directory, the entire path to it.
24328 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24330         * org-exp.el (org-export-handle-comments): Make sure to check
24331         for protection in the comment line, and not in the line after it.
24333 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24335         * org-html.el (org-export-html-preprocess): Call org-format-latex,
24336         possibly with a protect-only argument.
24338         * org.el (org-format-latex): New argument PROTECT-ONLY.
24340 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24342         * org-exp.el (org-export-handle-table-metalines): This function
24343         removes table specific meta-lines, now that we aren't wiping
24344         everything that looks remotely like a comment at the end of the
24345         export process we have to be sure to catch all of the specific lines
24346         in org-exp.el.
24348 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24350         * org-exp.el (org-export-select-backend-specific-text): Properly
24351         get rid of #+Backend and #+ATTR_Backend specifics to backends not
24352         matching the one we're exporting to.
24354 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24356         * org-table.el (orgtbl-to-generic): Add the :remove-newlines
24357         option which will strip newline characters from the text of table
24358         cells and replace then with "\n".
24360 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24362         * org.el (org-confirm-shell-link-function)
24363         (org-confirm-elisp-link-function): Limit the values that can be set by
24364         file variables.
24366 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24368         * org.el (org-compute-latex-and-specials-regexp): Deal with
24369         string elements by discarding them.
24371 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24373         * org.el (org-iswitchb): Make sure to use at least iswitchb.
24375 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24377         * org-capture.el (org-capture-position-for-last-stored)
24378         (org-capture-bookmark-last-stored-position): New functions.
24379         (org-capture-place-table-line): Better error catching.
24380         (org-capture-place-item, org-capture-place-entry)
24381         (org-capture-place-plain-text):
24382         Call `org-capture-position-for-last-stored'.
24383         (org-capture-finalize): Just call
24384         `org-capture-bookmark-last-stored-position'.
24386 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24388         * org-exp.el (org-export-mark-blockquote-verse-center):
24389         Fix small bug, now grabbing match data before overwritten by looking-at
24390         this fixes a problem with remainders of #+end_quote lines appearing
24391         in exported output.
24393 2010-07-19  David Maus  <dmaus@ictsoc.de>
24395         * org.el (org-link-frame-setup): Add customization option for
24396         Wanderlust.
24398 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24400         * org-latex.el (org-export-latex-fixed-width): Now check
24401         org-example rather than org-protected on verbatim export, because by
24402         default all ": " prefixed lines are marked protected.
24404 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24406         * org-latex.el (org-export-latex-fixed-width): Check for
24407         protection before wrapping ": " lines as verbatim.
24409 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24411         * org-exp.el (org-export-handle-comments): Check for protection
24412         before removing comments.
24414 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24416         * org-entities.el (org-entities): Restructure the list.
24417         (org-entities-help): Turn the help output into a buffer
24418         in Org-mode, so that it becomes easier to find a symbol
24419         in the structure.
24420         (org-entities-create-table): Deal with new structure.
24422 2010-07-19  David Maus  <dmaus@ictsoc.de>
24424         * org-agenda.el (org-write-agenda): Use backquotes to expand
24425         `flet' at compile time.
24427 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24429         * org.el (org-entry-properties): Make sure that standard property
24430         names are used even if the user has customized time keywords.
24432 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24434         * org-macs.el (org-not-nil): Return the value if not interpreted
24435         as nil.
24437         * org.el (org-entry-get)
24438         (org-entry-get-with-inheritance): Interpret the value "nil"
24439         as nil for properties.
24441 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24443         * org.el (org-switch-to-buffer-other-window): Return the buffer.
24445 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24447         * org-macs.el (org-not-nil): New function.
24449         * org.el (org-block-todo-from-children-or-siblings-or-parent):
24450         Use `org-not-nil' to interpret a property value of nil.
24452 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24454         * org.el (org-truely-invisible-p): New function.
24455         (org-beginning-of-line): Use `org-truely-invisible-p'.
24457 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24459         * org-agenda.el (org-agenda-get-timestamps): No errors
24460         while getting TODO state.
24461         (org-agenda-highlight-todo): No error when no keyword has
24462         been matched.
24464 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24466         * org.el (org-timestamp-change): New optional argument UPDOWN.
24467         Use this to identify calls from org-timestamp-up/down, so that we can
24468         skip by rounding minutes in this case.
24469         (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
24470         (org-timestamp-down-day): Call org-timestamp-change with the
24471         updown argument.
24473 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24475         * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
24477         * org-capture.el: New file.
24479         * org-compat.el (org-get-x-clipboard): Function moved here from
24480         remember.el.
24482         * org-mks.el: New file.
24484         * org.el (org-set-regexps-and-options): Allow statistic cookies as
24485         part of complex headlines.
24486         (org-find-olp): New argument THIS-BUFFER.  When set, assume that the
24487         OLP does not contain a file name.
24489 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24491         * org.el (org-mode): Set `comment-start' instead of changing the
24492         syntax of the `#' character.
24494 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24496         * org-exp.el (org-export-format-source-code-or-example): Mark examples
24497         by a property.
24499         * org-html.el (org-export-html-close-lists-maybe): Check if raw
24500         HTML stuff was actually made from an example.
24502 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24504         * org-latex.el: Items are no longer skipped when their first line
24505         ends on a protected element.
24507         * org-list.el: Protected environments looking like lists are not
24508         exported anymore.
24510 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24512         * org-exp-blocks.el (org-export-blocks-preprocess):
24513         Cleanup trailing newline after block.
24515 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24517         * org-exp.el: Comment regexp now matches documentation.  No more
24518         protection check when deleting comments before export.
24520 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24522         * org-exp.el (org-export-preprocess-string):
24523         Now using `org-export-handle-include-files-recurse' to resolve
24524         included files.
24526 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24528         * org-agenda.el (org-agenda-get-deadlines)
24529         (org-agenda-get-scheduled):
24530         * org.el (org-time-string-to-seconds):
24531         For deadline and scheduled agenda display ignore the cyclic repeater
24532         when calculating how many days late the task is.  If you have a weekly
24533         task and miss the date the agenda view will show more than a week late
24534         now instead of resetting on the cyclic repeating date.  This makes it
24535         much more obvious when you missed a repeating task after the repeater.
24537 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24539         * org-exp.el (org-export-mark-blockquote-verse-center):
24540         Consider environments that end at eob.
24542 2010-07-19  Mikael Fornius  <mfo@abc.se>
24544         * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
24545         with face `org-special-keyword'.  Make property keys as :LAST_REPEAT:
24546         display correctly.
24548 2010-07-19  Mikael Fornius  <mfo@abc.se>
24550         * org.el (org-at-property-p): Use save-match-data macro instead of let.
24552 2010-07-19  Mikael Fornius  <mfo@abc.se>
24554         * org.el (test): Remove unused test function.
24556 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24558         * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
24560 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24562         * org-exp-blocks.el (org-export-blocks-postblock-hook):
24563         Add documentation to and turn into a defcustom.
24565 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24567         * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
24568         instead of to nil we avoid errors when :prefix1 is defined, but
24569         prefix is not.
24571 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24573         * org-latex.el (org-export-latex-preprocess): Environments coming
24574         from latex backend specific instructions (#+LaTeX) are already
24575         protected and won't be treated as normal environments.
24577 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24579         * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
24581 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24583         * org-timer.el (org-timer-set-timer): Use a prefix argument.
24584         See the docstring of the function.
24586 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24588         * org-timer.el (org-timer-set-timer): Fix bug about canceling
24589         timers.
24591 2010-07-19  David Maus  <dmaus@ictsoc.de>
24593         * org-w3m.el (org-w3m-copy-for-org-mode)
24594         (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
24595         Get text property directly, not using macro `w3m-anchor'.
24597 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24599         * org.el (org-emph-re): Document the match groups.
24601 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24603         * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
24604         t before calling `org-clock-out', so that that function can
24605         know its call context.
24607 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24609         * org-timer.el (org-timer-default-timer): New variable.
24610         (org-timer-set-timer): Use the new variable.  Also offer the
24611         possibility to replace the current timer by a new one.
24613 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24615         * org.el (org-kill-note-or-show-branches): Hide subtree before
24616         exposing the headings.
24618 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24620         * org.el (org-add-planning-info): Remove the empty line also
24621         if there is no whitespace at all in there.
24623         * org-table.el (org-table-align): Fix alignment of strings
24624         with invisible characters.
24626 2010-07-19  David Maus  <dmaus@ictsoc.de>
24628         * org.el (org-refile-cache-get): Return empty list of targets
24629         when cache was cleared.
24630         (org-clone-subtree-with-time-shift): Maybe create ID property
24631         in cloned subtrees.
24632         (org-clone-delete-id): New customization variable.
24633         (org-clone-subtree-with-time-shift): Use customization
24634         variable `org-clone-delete-id'.
24635         (org-clone-subtree-with-time-shift): Remove empty property
24636         drawer in cloned subtrees.
24638 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24640         * org.el (org-refile-use-cache): New option.
24641         (org-refile-cache, org-refile-markers): New variable.
24642         (org-refile-marker, org-refile-cache-clear)
24643         (org-refile-cache-check-set, org-refile-cache-put)
24644         (org-refile-cache-get): New function.
24645         (org-get-refile-targets): Use the refile cache.
24647         * org-clock.el (org-clock-sum): Don't include running clock if
24648         the time block is wrong.
24650 2010-07-19  John Wiegley  <jwiegley@gmail.com>
24652         * org-clock.el (org-clock-clock-in, org-clock-in):
24653         Add parameter `start-time'.
24654         (org-clock-resolve-clock): Add parameter `clock-out-time'.
24655         If set, and resolve-to is a past time, then the clock out
24656         event occurs at `clock-out-time' rather than at `resolve-to'.
24657         In this case, `resolve-to' becomes the clock in time.
24658         (org-clock-jump-to-current-clock): Create new global command
24659         to reveal the current clock.
24660         (org-clock-resolve): Add new commands g/G and j/J, and a
24661         help window describing all commands and their meaning.
24662         (org-clock-resolve-expert): New customization variable.
24663         (org-find-open-clocks): Fix a bug that caused discovered
24664         clocks not to match up with the currently active clock.
24665         (org-resolve-clocks): Change the argument
24666         `also-non-dangling-p' to `only-dangling-p', since due to a bug
24667         this was the default behavior all along.
24669 2010-07-19  David Maus  <dmaus@ictsoc.de>
24671         * org-id.el (org-id-uuid): New function.  Return string with
24672         random (version 4) UUID.
24673         (org-id-method): Make 'uuid the new default value.
24674         (org-id-new): Use `org-id-uuid' if call to uuidgen program
24675         does not return a UUID.
24677 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24679         * org-latex.el (org-export-latex-format-image): Add support
24680         for multicolumn figures in LaTeX.
24682 2010-07-19  David Maus  <dmaus@ictsoc.de>
24684         * org.el (org-clone-subtree-with-time-shift): Remove ID
24685         property of original subtree in cloned subtrees.
24687 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24689         * org-exp.el (org-export-format-source-code-or-example):
24690         XEmacs compatibility.
24692         * org-latex.el (org-export-latex-tables): Accept comma in
24693         align string.
24695         * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24696         (org-export-docbook-xslt-proc-command): Fix docstring.
24697         (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24698         (org-export-as-docbook-pdf):
24699         Improve formatting of the xslt command.
24701         * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24703         * org.el (org-file-contents): Improve error message.
24704         (org-set-regexps-and-options): Remove spaces at both ends.
24706 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24708         * org-docbook.el (org-export-as-docbook-pdf):
24709         Improve formatting of the xslt command.
24711 2010-07-19  Sebastian Rose  <sebastian_rose@gmx.de>
24713         * org-publish.el (org-publish-cache): Use one big hashmap for
24714         each project defined in `org-publish-project-alist'.
24715         (initialize-files-alist): Function removed.
24716         (org-publish-validate-link): Function removed.
24717         (org-publish-get-base-files): Add variable `sitemap-requested'
24718         to avoid sorting where possible.
24719         (org-publish-get-files): Function removed.
24720         (org-publish-get-project-from-filename): Make independent of
24721         file list.
24722         (org-publish-file): New argument NO-CACHE.
24724 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24726         * org.el (org-beginning-of-defun, org-end-of-defun):
24727         New functions.
24728         (org-mode): Install the `org-beginning-of-defun' and
24729         `org-end-of-defun' functions.
24730         (org-pretty-entities): New option.
24731         (org-toggle-pretty-entities): New command.
24732         (org-fontify-entities): New function.
24733         (org-startup-options): New keywords for pretty entities.
24734         (org-set-font-lock-defaults): Call the pretty entities
24735         function.
24737         * org-latex.el (org-export-latex-keywords-maybe): Protect the
24738         TODO markup.
24740 2010-07-19  Mikael Fornius  <mfo@abc.se>
24742         * org-habit.el (org-habit-build-graph): Help-echo date when
24743         mouse is over stars.
24745 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
24747         * org.el (org-file-apps): Improve docstring to reflect
24748         grouping matches.
24750 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24752         * org.el (org-set-startup-visibility): Fix empty line display.
24754         * org-latex.el (org-export-latex-links): Use the formatting
24755         function of the link type, if it is available.
24757         * org-table.el (org-table-get-remote-range): Return to
24758         original buffer when retrieving remote reference.
24760         * org.el (org-display-inline-images): Do the entire buffer,
24761         not just the narrowed region.  Clear the cache.
24762         (org-display-inline-images): Match mode file paths.
24764 2010-07-19  David Maus  <dmaus@ictsoc.de>
24766         * org-wl.el (org-wl-store-link-folder): Don't throw error when
24767         called on WL folder group.
24769 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24771         * org.el (org-replace-escapes): Make sure the cdr is not nil.
24772         (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24773         (org-mode): Revert comment syntax changes.
24775 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24777         * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24778         keywords, and `C-c / T' for a specific one.
24780 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24782         * org.el (org-mode): Fix comment syntax settings.
24784         * org-src.el (org-edit-src-allow-write-back-p):
24785         Define variable.
24787         * org.el (org-inline-image-overlays): New variable.
24788         (org-toggle-inline-images, org-display-inline-images)
24789         (org-remove-inline-images): New commands.
24790         (org-mode-map): Define a key for `org-toggle-inline-images'.
24792 2010-07-19  David Maus  <dmaus@ictsoc.de>
24794         * org-wl.el (org-wl-message-field): New function.
24795         Return content of header field in message entity.
24796         (org-wl-store-link): Call `org-wl-store-link-folder' or
24797         `org-wl-store-link-message' depending on major-mode.
24798         (org-wl-store-link-folder): New function.  Store link to
24799         Wanderlust folder.
24800         (org-wl-store-link-message): New function.  Store link to
24801         Wanderlust message.
24802         (org-wl-store-link-message): Store link to message while
24803         visiting message.
24804         (org-wl-open): Don't try to jump to message when opening a
24805         folder link.
24807 2010-07-19  David Maus  <dmaus@ictsoc.de>
24809         * org.el (org-replace-escapes): Avoid infinite loop when
24810         replace string contains escape sequence it replaces.
24812 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24814         * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24815         encryption when now key is set.
24817 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24819         * org-table.el (org-table-recalculate-buffer-tables)
24820         (org-table-iterate-buffer-tables): New commands.
24822         * org.el (org-check-for-hidden): When there is a region, skip
24823         the check.
24825 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
24827         * org-src.el (org-edit-src-code): allow-write-back-p had
24828         erroneously been omitted from let binding.
24830 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24832         * org-agenda.el (org-sorting-choice): New sorting type alpha.
24833         (org-cmp-alpha): New defsubst.
24834         (org-em): New defsubst.
24835         (org-entries-lessp): Only compute needed comparisons.
24837 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24839         * org-html.el (org-format-org-table-html): Test all columns
24840         for number content.
24842 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24844         * org-latex.el (org-export-latex-treat-sub-super-char):
24845         Make sure parenthesis matching is consistent.
24847         * org-table.el (org-table-colgroup-line-p)
24848         (org-table-cookie-line-p): New functions.
24850         * org-exp.el (org-table-clean-before-export): Better tests for
24851         colgroup and cookie lines.
24853 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24855         * org-agenda.el (org-agenda-goto): Push a mark before changing
24856         the position.
24858         * org-footnote.el (org-footnote): New group.
24859         (org-footnote-section)
24860         (org-footnote-tag-for-non-org-mode-files): Fix typos.
24862         * org-list.el (org-end-of-item-text-before-children): Also do
24863         the right thing at the end of a file.
24865         * org.el (org-set-packages-alist, org-get-packages-alist):
24866         New function.
24867         (org-export-latex-default-packages-alist)
24868         (org-export-latex-packages-alist): Add extra flag to
24869         each package, indicating if it should be used for snippets.
24870         (org-create-formula-image): Add the snippet argument.
24871         (org-splice-latex-header): New argument SNIPPET-P, pass it
24872         through to `org-latex-packages-to-string'.
24873         (org-latex-packages-to-string): New argument SNIPPET-P.
24875         * org-latex.el (org-export-latex-make-header): Add the snippet
24876         argument.
24878         * org-docbook.el (org-export-as-docbook): Implement ordered
24879         lists starting at some offset.
24881 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24883         * org.el (org-link-types, org-open-at-point): Add doi links.
24885         * org-ascii.el (org-export-ascii-preprocess): Remove list
24886         startcounter cookies.
24888         * org-list.el (org-renumber-ordered-list): Respect counter
24889         start values.
24891         * org-latex.el (org-export-latex-lists): Accept ordered list
24892         item offset cookie.
24894         * org-html.el (org-export-as-html): Accept ordered list
24895         item offset cookie.
24897         * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24898         which messes up alignment of tags.
24900 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24902         * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24903         the modeline display is removed.
24905         * org-exp.el (org-export-format-drawer-function):
24906         Fix docstring.
24908         * org-agenda.el (org-agenda-refile): New optional argument
24909         NO-UPDATE.
24910         (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24911         is set.
24912         (org-agenda-bulk-action): Call the refile command with updates
24913         suppressed - but arrange for `org-agenda-redo' to be called at
24914         the end.
24916         * org.el (org-mode): Make table mapping quiet.
24917         (org-table-map-tables): New optional argument QUIETLY.
24919         * org-ascii.el (org-export-ascii-preprocess): Make table
24920         mapping quiet.
24922         * org-html.el (org-export-as-html, org-html-level-start):
24923         Change XHTML IDs to not use dots.
24925         * org-exp.el (org-export-define-heading-targets):
24926         Change XHTML IDs to not use dots.
24928         * org-docbook.el (org-export-docbook-level-start):
24929         Change XHTML IDs to not use dots.
24931         * org-latex.el (org-export-as-latex): Make sure that the
24932         result buffer is in latex-mode.
24934         * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24935         (org-shiftleft-final-hook, org-shiftright-final-hook):
24936         New hooks.
24938 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24940         * org-table.el (org-table-justify-field-maybe): Make sure that
24941         inserting a value does not turn a line into a hline.
24943 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24945         * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24946         (org-clock-sum): Add property to selected headlines.
24947         (org-dblock-write:clocktable): Make tags matcher.
24949         * org.el (org-set-autofill-regexps): XEmacs compatibility.
24951         * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24952         in latex class definitions.
24954         * org.el (org-shiftup-hook, org-shiftdown-hook)
24955         (org-shiftleft-hook, org-shiftright-hook): New hooks.
24957         * org-entities.el (org-entities): Use \land and \lor for logical
24958         operators.
24960         * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24961         indentation commands.
24962         (org-hidden-tree-error): New defsubst.
24963         (org-metaleft, org-metaright): Check for hidden stuff and throw an
24964         error.
24965         (org-check-for-hidden): New function.
24967         * org-list.el (org-item-re): New function.
24968         (org-at-item-p): Use `org-item-re'.
24969         (org-end-of-item-text-before-children): New function.
24970         (org-outdent-item, org-indent-item): Arrange for leaving the
24971         subtree alone.
24972         (org-outdent-item-tree, org-indent-item-tree): New argument
24973         NO-SUBTREE.
24974         (org-indent-item-tree): Use `org-end-of-item-text-before-children'
24975         to find the end for processing while ignoring the subtree.
24977         * org-publish.el (org-publish-sitemap-sort-alphabetically)
24978         (org-publish-sitemap-sort-folders)
24979         (org-publish-sitemap-sort-ignore-case): New options.
24981 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24983         * org-publish.el (org-publish-compare-directory-files): Fix sorting.
24985         * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
24987         * org-publish.el (org-publish-project-alist): Update docstring.
24988         (org-publish-file-title-cache): New variable.
24989         (org-publish-initialize-files-alist):
24990         Initialize `org-publish-initialize-files-alist' to nil.
24991         (org-publish-sort-directory-files): New function.
24992         (org-publish-projects): Access the new properties.
24993         (org-publish-find-title): Use the file title cache.
24994         (org-publish-find-title): Build the file title cache.
24995         (org-publish-get-base-files-1): Sort files.
24996         (org-publish-aux-preprocess): Do not throw an error when before
24997         the first headline.  Allow an empty target, meaning to link just
24998         to the file.
24999         (org-publish-index-generate-theindex.inc): Check if there is
25000         actually a target and only then add it to the link.
25001         (org-publish-projects): Fix a remaining issue with the last commit.
25003         * org-html.el (org-export-as-html): Treat verse as open/close
25004         paragraph.
25005         (org-export-html-close-lists-maybe): Allow to splice raw HTML into
25006         and out of lists.
25008 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
25010         * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
25011         be used in a read-only mode.
25012         (org-edit-src-code): Different message in read-only mode.
25014 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25016         * org-src.el (org-edit-src-find-region-and-lang): Test for
25017         table.el as late as possible.
25019         * org-colview.el: Make sure this file is never loaded into XEmacs.
25021         * org-agenda.el (org-highlight, org-unhighlight): Use direct
25022         overlay calls.
25024         * org.el (org-key): Apply the translations defined in
25025         `org-xemacs-key-equivalents'.
25027         * org-mouse.el (org-mode-hook): Use `org-defkey'.
25029         * org-compat.el (org-xemacs-key-equivalents): New constant.
25031 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25033         * org-inlinetask.el (org-inlinetask-defaut-state): New option.
25034         (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
25035         Obey `org-odd-levels-only'.
25037         * org-compat.el (org-find-overlays): Use overlays-in/at.
25039         * org.el (org-remove-empty-overlays-at)
25040         (org-outline-overlay-data, org-hide-block-toggle)
25041         (org-format-latex, org-context): Use overlays-in/at.
25043         * org-src.el (org-edit-src-exit): Use overlays-in/at.
25045         * org-agenda.el (org-agenda-mark-clocking-task)
25046         (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
25047         (org-agenda-entry-text-hide)
25048         (org-agenda-fix-tags-filter-overlays-at)
25049         (org-agenda-bulk-remove-overlays): Use overlays-in/at.
25051         * org-compat.el (org-overlays-at): Function removed.
25052         (org-overlays-in): Function removed.
25054 2010-07-19  Bastien Guerry  <bzg@gnu.org>
25056         * org-clock.el (org-clock-set-current): Just return the headline
25057         itself, strip the TODO keyword, the priority cookie and the tags.
25059 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25061         * org-compat.el (org-xemacs-without-invisibility): New macro.
25062         (org-xemacs-without-invisibility): New macro.
25063         (org-indent-to-column, org-indent-line-to, org-move-to-column):
25064         Redefine using the macro `org-xemacs-without-invisibility'.
25066         * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
25068         * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
25070         * org-compat.el (org-make-overlay, org-delete-overlay)
25071         (org-overlay-start, org-overlay-end, org-overlay-put)
25072         (org-overlay-get, org-overlay-move, org-overlay-buffer):
25073         Functions removed.
25074         (org-add-to-invisibility-spec): Function removed.
25076         * org-html.el (org-export-as-html-and-open): Add argument to
25077         kill-buffer.
25079         * org-habit.el (require): `calendar' is now required already by
25080         org.el on top level.
25082         * org-clock.el (require): `calendar' is now required already by
25083         org.el on top level.
25085         * org-agenda.el (require, org-timeline, org-agenda-list)
25086         (org-todo-list, org-agenda-to-appt): `calendar' is now required
25087         already by org.el on top level.
25089         * org.el (org-export-latex-fix-inputenc): Declare function.
25091         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25092         variables.
25094         * org.el (calendar): Require calendar now on top level in org.el
25095         and define aliases to new variables when needed.
25096         (org-read-date, org-goto-calendar): Do not bind obsolete
25097         variables.
25099         * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
25100         compilation warning, add comment that this cannot be done with
25101         `with-current-buffer'.
25103         * org-wl.el (org-wl-open): Use `with-current-buffer'.
25105         * org.el (overlay, org-remove-empty-overlays-at)
25106         (org-outline-overlay-data, org-set-outline-overlay-data)
25107         (org-show-block-all, org-hide-block-toggle)
25108         (org-highlight-new-match, org-remove-occur-highlights)
25109         (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
25110         (org-read-date, org-read-date-display, org-eval-in-calendar)
25111         (org-format-latex, org-context)
25112         (org-speedbar-restriction-lock-overlay)
25113         (org-speedbar-set-agenda-restriction): Use the normal overlay API.
25115         * org-table.el (org-table-add-rectangle-overlay)
25116         (org-table-remove-rectangle-highlight)
25117         (org-table-overlay-coordinates)
25118         (org-table-toggle-coordinate-overlays): Use the normal overlay
25119         API.
25121         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
25122         (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
25123         normal overlay API.
25125         * org-colview.el (org-columns-new-overlay)
25126         (org-columns-display-here, org-columns-remove-overlays)
25127         (org-columns-edit-value, org-columns-next-allowed-value)
25128         (org-columns-update): Use the normal overlay API.
25130         * org-clock.el (org-clock-out, org-clock-cancel)
25131         (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
25132         overlay API.
25134         * org-agenda.el (org-agenda-mark-filtered-text)
25135         (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
25136         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
25137         (org-agenda-entry-text-hide)
25138         (org-agenda-restriction-lock-overlay)
25139         (org-agenda-set-restriction-lock)
25140         (org-agenda-filter-by-tag-hide-line)
25141         (org-agenda-fix-tags-filter-overlays-at)
25142         (org-agenda-filter-by-tag-show-all, org-hl)
25143         (org-agenda-goto-calendar, org-agenda-bulk-mark)
25144         (org-agenda-bulk-remove-overlays): Use the normal overlay API.
25146         * org-freemind.el (org-freemind-from-org-mode-node)
25147         (org-freemind-from-org-mode)
25148         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25149         Use interactive-p instead of called-interactively, because this is
25150         backward compatible with older Emacsen I still support..
25152 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25154         * org-exp.el (org-export-define-heading-targets): Fix bug in
25155         regexp finding ID and CUSTOM_ID properties.
25157 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25159         * org-footnote.el (org-footnote-goto-previous-reference):
25160         Rename from `org-footnote-goto-next-reference'.
25162         * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
25163         org-log-repeat is non-nil, or if there is clocking data in the
25164         entry.
25166         * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
25168 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25170         * org.el (org-align-all-tags): New command.
25172 2010-07-19  David Maus  <dmaus@ictsoc.de>
25174         * org-wl.el (org-wl-link-remove-filter): New customizable
25175         variable.  If non-nil, filter conditions are stripped when storing
25176         link to message in filter folder.
25177         (org-wl-shimbun-prefer-web-links): New customizable variable.
25178         If non-nil, links to shimbun messages are created as web links to
25179         message source.
25180         (org-wl-nntp-prefer-web-links): New customizable variable.
25181         If non-nil, links to nntp message are created as web links to gmane
25182         or googlegroups.
25183         (org-wl-namazu-default-index): New customizable variable.
25184         Directory of namazu search index that should be used as default
25185         when opening a link in a search folder.
25186         (org-wl-folder-types): New constant.  Wanderlust folder type
25187         indicators.
25188         (org-wl-folder-type): New function.  Return type of Wanderlust
25189         folder.
25190         (org-wl-store-link): Create web links for shimbun or nntp messages
25191         and strip filter conditions depending on customizable variables.
25192         (org-wl-open): Open namazu search folder for message when called
25193         with prefix.
25195 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25197         * org.el (org-remove-if, org-remove-if-not): New functions.
25198         (org-open-file): Use internal remove-if functions.
25200 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25202         * org.el (org-file-apps-entry-match-against-dlink-p): New function.
25203         (org-file-apps-ex): Remove variable.
25204         (org-open-file): Integrate org-file-apps-ex functionality back
25205         into org-file-apps, and decide whether to match a regexp against
25206         the link or the filename using org-file-apps-entry-uses-grouping-p.
25208 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25210         * org.el (org-file-apps-ex): New variable.
25211         (org-open-file): Before considering org-file-apps, first match the
25212         regexps from org-file-apps-ex against the whole link.
25213         See docstring of org-file-apps-ex.
25215 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25217         * org.el (org-export-latex-default-packages-alist):
25218         Remove microtype package.
25219         (org-todo-repeat-to-state): New variable.
25220         (org-auto-repeat-maybe): Allow user-selected target states.
25221         (org-default-properties): Add the new property REPEAT_TO_STATE.
25223 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25225         * org-mobile.el (org-mobile-check-setup): Make sure that there is
25226         a binary to compute checksums.
25228 2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
25230         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25231         variables.
25233         * org.el (calendar): Require calendar now on top level in org.el
25234         and define aliases to new variables when needed.
25235         (org-read-date, org-goto-calendar): Do not bind obsolete
25236         variables.
25238 2010-06-22  Glenn Morris  <rgm@gnu.org>
25240         * org-entities.el: Add explicit utf-8 coding cookie to file with
25241         utf-8 characters.
25243 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25245         * org.el (org-file-complete-link): Avoid (expand-file-name ".").
25247 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
25249         * Version 23.2 released.
25251 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25253         * org-table.el (orgtbl-setup):
25254         * org-agenda.el (org-agenda-entry-text-mode): Simplify.
25256 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25258         * org-table.el (orgtbl-mode): Use define-minor-mode.
25260 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25262         * org.el (org-insert-link): Find the link buffer on visible frames.
25263         (org-export-latex-default-packages-alist): Hyperref must be loaded
25264         late.
25265         (org-open-file): More care with the new matching for file links.
25267 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25269         * org-latex.el (org-export-latex-preprocess): Do not yet protect
25270         defined entities - these will be taken care of later.
25271         (org-export-latex-special-chars): Post-process entity replacement.
25272         (org-export-latex-fontify-headline): Do not yet protect defined
25273         entities - these will be taken care of later.
25274         (org-export-latex-tables, org-export-latex-links): Format the
25275         caption properly.
25277         * org-entities.el (org-entities-user): Fix typo.
25279         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
25281         * org-entities.el (org-entities-user): Improve docstring.
25283 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25285         * org-entities.el (org-macs): Require org-macs, to be sure that we
25286         have `declare-function' defined.
25288 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25290         * org-latex.el (org-export-latex-classes): Update docstring.
25292         * org.el (org-format-latex-header): Add cookies to the header.
25293         (org-splice-latex-header): Implement placement according to cookies.
25295 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25297         * org-publish.el (org-publish-aux-preprocess): Control case
25298         sensitivity.
25300 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25302         * org.el (org-splice-latex-header): Fix typo.
25304 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25306         * org-latex.el (org-export-latex-make-header):
25307         Use `org-splice-latex-header' to build the header.
25308         (org-export-latex-classes): Update docstring.
25310         * org.el (org-splice-latex-header): New function.
25311         (org-create-formula-image): Use `org-splice-latex-header' to build
25312         the header.
25314         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
25316 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25318         * org.el (org-export-latex-packages-alist)
25319         (org-export-latex-default-packages-alist): Fix docstring to
25320         reflect the expected structure.
25322         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
25323         (org-export-docbook-finalize-table): Make use of label for tables.
25325 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25327         * org-attach.el (org-attach-commit): Split on newlines.
25329         * org.el (org-export-latex-default-packages-alist): Use list
25330         instead of cons for the entries.
25332 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25334         * org-entities.el (org-entity-get-representation): Catch the case
25335         that there is not entry in the list.
25337         * org-mobile.el (org-mobile-use-encryption)
25338         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
25339         New options.
25340         (org-mobile-check-setup): CHeck the encryption setup.
25341         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
25342         (org-mobile-create-sumo-agenda): Use encryption code.
25343         (org-mobile-encrypt-and-move): New function.
25344         (org-mobile-encrypt-file, org-mobile-decrypt-file):
25345         New functions.
25346         (org-mobile-move-capture): Decrypt the capture file.
25348         * org.el (org-entities): Require the new file.
25349         (org-export-latex-default-packages-alist): New variable.
25350         (org-complete): Use new entity code for completion.
25351         (org-create-formula-image): Use the new packages variable.
25353         * org-latex.el (org-export-latex-classes): Remove the standard
25354         packages from the class headers.
25355         (org-export-latex-make-header): Use the new package variable.
25356         (org-export-latex-special-chars): Better regexp for entities, to
25357         support entity name that contain numbers.
25358         (org-export-latex-treat-backslash-char): Use the new entity code.
25360         * org-html.el (org-html-do-expand): Use the new entity code.
25362         * org-exp.el (org-export): Add the new export commands.
25363         (org-html-entities): Constant removed.
25364         (org-export-visible): Add the new export commands.
25366         * org-docbook.el (org-docbook-do-expand): Use new entity code.
25368         * org-ascii.el (org-export-ascii-entities): New variable.
25369         (org-export-as-latin1, org-export-as-latin1-to-buffer)
25370         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
25371         (org-export-as-encoding): New function.
25372         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
25373         (org-ascii-replace-entities): New function.
25375 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25376             Ulf Stegemann  <ulf@zeitform.de>
25378         * org-entities.el: New file.
25380 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25382         * org-html.el (org-html-level-start): Catch the case that target
25383         might be nil.
25385 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25387         * org.el (org-appearance): Change Customize group variable name
25388         from org-font-lock to org-appearance, and change tag from "Org
25389         Font Lock" to "Org Appearance".
25390         (org-odd-levels-only): Change Customize group variable name.
25391         (org-level-color-stars-only): Change Customize group variable name.
25392         (org-hide-leading-stars): Change Customize group variable name.
25393         (org-hidden-keywords): Change Customize group variable name.
25394         (org-fontify-done-headline): Change Customize group variable name.
25395         (org-fontify-emphasized-text): Change Customize group variable name.
25396         (org-fontify-whole-heading-line): Change Customize group variable name.
25397         (org-highlight-latex-fragments-and-specials): Change Customize
25398         group variable name.
25399         (org-hide-emphasis-markers): Change Customize group variable name.
25400         (org-emphasis-alist): Change Customize group variable name.
25401         (org-emphasis-regexp-components): Change Customize group variable
25402         name.
25403         (org-modules): Remove mention of org-R.
25405         * org-faces.el (org-faces): Change Customize group variable name.
25407 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25409         * org-agenda.el (org-diary-last-run-time): New variable.
25410         (org-diary): Prepare agenda buffers only if last call was some
25411         time ago.
25413         * org-html.el (org-export-html-preprocess): Replace \ref macros
25414         with a link.
25415         (org-format-org-table-html): Add the label as an anchor.
25417         * org-docbook.el (org-export-docbook-format-image): Do some
25418         formatting on captions.
25420         * org-latex.el (org-export-latex-tables, org-export-latex-links):
25421         Do some formatting on captions.
25423         * org-html.el (org-export-html-format-image)
25424         (org-format-org-table-html): Do some formatting on captions.
25426 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25428         * org.el (org-hidden-keywords): New customizable variable.  This is
25429         a list of symbols specifying which of the special keywords #+DATE,
25430         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
25431         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
25432         implementing new faces and hiding behavior.
25434         * org-faces.el (org-document-title): New face for #+TITLE lines.
25435         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
25436         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
25437         keywords.
25439 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25441         * org-publish.el (org-publish-sanitize-plist): New function to
25442         rename "index" properties to "sitemap".  Do this renaming
25443         globally.
25444         (org-publish-with-aux-preprocess-maybe): New macro.
25445         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
25446         macro.
25447         (org-publish-aux-preprocess)
25448         (org-publish-index-generate-theindex.inc): New function.
25450 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25452         * org-table.el (org-table-align): Interpret <N> at fixed width,
25453         not as maximum width.
25455 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25457         * org-exp.el (org-export-author-info, org-export-email-info):
25458         Fix docstrings.
25460         * org-beamer.el (org-beamer-select-environment): Rename from
25461         `org-beamer-set-environment-tag'.  Improve docstring.
25463         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
25464         problem with odd levels.
25466         * org-ascii.el (org-export-as-ascii): Export email only if the
25467         author wants it.
25469         * org-docbook.el (org-export-as-docbook): Export email only if the
25470         author wants it.
25472         * org-html.el (org-export-as-html): Export email only if the
25473         author wants it.
25475         * org-exp.el (org-export-email-info): New option.
25476         (org-export-plist-vars): Add entry for `org-export-email'.
25478 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25480         * org-table.el (org-table-goto-line): Fix typo.
25482 2010-04-10  Mikael Fornius  <mfo@abc.se>
25484         * org.el (org-agenda-files): Typo.
25485         (org-read-agenda-file-list): Add optional argument to help
25486         `org-store-new-agenda-file-list' to remember un-expanded file
25487         names.  Expand file names relative to `org-directory'.
25488         (org-store-new-agenda-file-list): Keep un-expanded file names when
25489         saving, if available.
25490         (org-agenda-files): Update documentation.
25492 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25494         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
25495         a buffer with no file name attached.
25497         * org.el (org-log-refile): New option.
25498         (org-log-note-headings): Add a heading for refiling.
25499         (org-startup-options): Add keywords for logging of the refile
25500         action.
25501         (org-refile): Add logging action.
25502         (org-add-log-note): Allow for refiling action.
25504         * org-agenda.el (org-agenda-bulk-action): Make sure
25505         `org-log-refile' is not `note' during a bulk action.
25507 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25509         * org.el (org-map-dblocks): Use save-excursion to remember the
25510         position.
25512         * org-attach.el (org-attach-commit): Remove dependence on xargs.
25513         (org-attach-delete-one): Commit after deleting a file.
25515         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
25516         borders for strike-through emphasis.
25518         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
25519         handling of odd levels.
25521         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
25522         and `future' values.
25523         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25524         Handle `past' and `future' values.
25526         * org.el (org-read-agenda-file-list): Interpret file names
25527         relative to org-directory and allow environment variables and
25528         "~".
25530         * org-latex.el (org-export-latex-special-chars): Allow a
25531         parenthesis before an exponent or subscript.
25533 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25535         * org-src.el (org-edit-src-exit): When returning from code edit
25536         buffer, if code block is hidden, leave point at start of
25537         #+begin_src line.
25539 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25541         * org.el (org-insert-heading): Do not remove all spaces if the
25542         headline is empty.
25544         * org-indent.el (org-indent): Fix group name.
25546 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25548         * org-table.el (org-table-goto-column): Fix forcing a non-existing
25549         column.
25550         (org-table-get, org-table-put, org-table-goto-line)
25551         (org-table-current-line): New functions.
25553 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
25555         * org.el (org-open-file): Allow regular expressions in
25556         org-file-apps to capture link parameters using groups.  In a
25557         command string to be executed, the parameters can be referenced
25558         using %1, %2, etc.  Lisp forms can access them using
25559         (match-string n link).
25560         (org-apps-regexp-alist): Adopt the created regexp, as this is now
25561         matched against a file: link instead of the file name.
25563 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25565         * org-crypt.el (org-reveal-start-hook): Add a decryption function
25566         to this hook.
25567         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
25568         Add docstrings.
25570         * org.el (org-point-at-end-of-empty-headline)
25571         (org-level-increment, org-get-previous-line-level): New function.
25572         (org-cycle-level): Rewritten to be independent of when this
25573         function is called.
25574         (org-in-regexps-block-p): New function.
25575         (org-reveal-start-hook): New hook.
25576         (org-reveal): Run new hook.
25578 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25580         * org-latex.el (org-export-latex-keywords): Start a new paragraph
25581         after time keywords, do not add "\newline".
25583         * org-html.el (org-export-as-html): Avoid double # in href.
25585         * org.el (org-refile-get-location): Catch an invalid target
25586         specification.
25588 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25590         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25591         Make sure the behavior regarding to extracting time is
25592         consistent.
25594 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25596         * org-agenda.el (org-agenda-insert-diary-extract-time):
25597         New variable.
25598         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
25599         variable rather than `org-agenda-search-headline-for-time'.
25601 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25603         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
25605 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25607         * org.el (org-adaptive-fill-regexp-backup): New variable.
25608         (org-set-autofill-regexps): Store a backup of
25609         `adaptive-fill-regexp'.
25610         (org-adaptive-fill-function): Fix filling of comments and ordered
25611         lists.  If there is no other match, till try adaptive fill.
25613 2010-04-10  John Wiegley  <jwiegley@gmail.com>
25615         * org-agenda.el (org-agenda-include-deadlines): Add new
25616         customization variable to determine whether unscheduled tasks
25617         should appear in the agenda solely because of their deadline.
25618         Default to true, which was the previous behavior (it just wasn't
25619         configurable).
25620         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
25621         the agenda to show/hide deadline tasks.
25622         (org-agenda-menu): Add menu option for show/hide deadlines.
25623         (org-agenda-list): Make the agenda list sensitive to the value of
25624         `org-agenda-include-deadlines'.
25625         (org-agenda-toggle-deadlines): New function to toggle the value of
25626         `org-agenda-include-deadlines' and repaint the modeline
25627         indicators.
25628         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25629         modeline if deadline tasks are being displayed.
25631 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25633         * org-table.el (org-table-eval-formula): Replace $# and @# by
25634         current column and row number.
25636 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25638         * org.el (org-set-property, org-delete-property): Go back to
25639         prompting for the property.
25641         * org-latex.el (org-export-latex-make-header): Fully process
25642         author line.
25643         (org-export-latex-fontify-headline): Allow several arguments, not
25644         just one.
25645         (org-export-latex-fix-inputenc): Catch the error when
25646         `latexenc-coding-system-to-inputenc' is not defined.
25648         * org-agenda.el (org-agenda-skip-if-todo): New function.
25649         (org-agenda-skip-if): Add conditions for TODO keywords.
25650         (org-agenda-skip-if): Document the new todo conditions.
25652 2010-04-10  Mikael Fornius  <mfo@abc.se>
25654         * org.el (org-at-property-p): Check if we are inside a property
25655         drawer not just any drawer.
25656         (org-set-property, org-delete-property): When cursor is on a
25657         property key value pair do not prompt for property name instead
25658         use name at cursor.
25659         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25660         on the first line of a property drawer.
25661         (org-property-end-re): Spell check.
25663 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25665         * org-exp.el (org-export-attach-captions-and-attributes): Add the
25666         properties to the entire table, in case the first line is
25667         removed.
25669         * org-archive.el (org-archive-reversed-order): New option.
25670         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25671         option `org-archive-reversed-order'.
25673 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25675         * org-agenda.el (org-agenda-entry-types): New variable.
25676         (org-agenda-list): Use `org-agenda-entry-types'.
25677         (org-agenda-custom-commands-local-options): Support for setting
25678         `org-agenda-entry-types' as an option.
25679         (org-diary): Shift some documentation from here to the variable
25680         `org-agenda-entry-types'.
25682 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25684         * org-latex.el (org-export-latex-make-header): Apply macros in
25685         author field.
25687         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25688         (org-clock-select-task, org-clock-notify-once-if-expired)
25689         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25690         (org-clock-out-if-current, org-clock-save): Use the new functions.
25692 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25694         * org-docbook.el (org-export-as-docbook): Remove unnecessary
25695         newline.
25696         (org-export-as-docbook): Remove unnecessary newline.
25697         (org-export-as-docbook): Fix problem with double footnote
25698         reference in one place.
25700         * org-exp.el (org-export-format-source-code-or-example):
25701         Remove unnecessary newline.
25703         * org.el (org-deadline, org-schedule): Allow rescheduling entries
25704         with repeaters.
25706         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25707         function calls that look like references.
25709         * org.el (org-open-at-point): Get link abbreviations from
25710         reference buffer.
25712 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25714         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25715         as a reference.
25717 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25719         * org.el (org-link-unescape): Solve issue with lower-case escapes.
25721 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25723         * org-latex.el (org-export-latex-classes):
25724         Add \usepackage{latexsym} to all classes.
25726 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25728         * org-html.el (org-export-as-html): Do not allow protected lines
25729         into the table of contents.
25731         * org-latex.el (org-export-latex-special-chars): Find subsequent
25732         occurrences of special characters.
25733         (org-export-latex-tables): Do not convert table-like stuff that is
25734         protected.
25736 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25738         * org-list.el (org-toggle-checkbox): No errors when updating
25739         checkbox count fails because there is no heading.
25741 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25743         * org-clock.el (org-clock-report-include-clocking-task):
25744         New option.
25745         (org-clock-sum): Add the current clocking task.
25747 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25749         * org.el (org-cycle): Print a message when in a table.el table.
25750         (org-edit-special): Recognize the table.el context.
25751         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25753         * org-src.el (org-at-table.el-p): Declare.
25754         (org-edit-src-code): Handle a special case for table.el editing.
25755         (org-edit-src-find-region-and-lang): Recognize the table.el
25756         context.
25758         * org-latex.el (org-export-latex-tables): Convert table.el
25759         tables.
25760         (org-export-latex-convert-table.el-table): New function.
25762         * org-html.el (org-html-expand): Fix table.el export.
25764         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25765         headings.
25767         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25768         table for the id locations.
25770         * org.el (org-read-date-analyze): Match American-style dates, like
25771         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
25772         current year when reading ISO and American dates.
25774 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25776         * org.el (org-face-from-face-or-color): New function.
25777         (org-get-todo-face, org-font-lock-add-priority-faces)
25778         (org-get-tag-face): Use `org-face-from-face-or-color'.
25780         * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25781         Allow simple colors as values.
25782         (org-faces-easy-properties): New option.
25784         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25785         restricted, as an agenda mode.
25786         (org-agenda-fontify-priorities): Allow simple colors as values.
25788 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25790         * org-timer.el (org-timer-current-timer): Rename from
25791         `org-timer-last-timer'.
25792         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25793         (org-timer-cancel-timer, org-timer-show-remaining-time)
25794         (org-timer-set-timer): Update to use only one timer.
25796         * org.el (org-set-property): Remove useless space in the prompt.
25798 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25800         * org-html.el (org-export-html-style-default): Add a default style
25801         for textareas.
25803         * org-exp.el (org-export-format-source-code-or-example):
25804         Fix textarea tag.
25806 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25808         * org-clock.el (org-clock-current-task): New variable to store
25809         last clocked in task.
25810         (org-clock-set-current, org-clock-delete-current): New functions.
25812 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25814         * org-remember.el (org-remember-apply-template): Extend comment.
25815         (org-remember-handler): Implement clock sibling filing.
25817 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25819         * org-publish.el (org-publish-all, org-publish-current-file)
25820         (org-publish-current-project): When called with prefix argument
25821         FORCE, also rebuild the validation file list.
25823         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25824         section headings.
25826 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25828         * org-html.el (org-export-as-html-and-open): Kill product buffer
25829         if the user wants that.
25831         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25832         if the user wants that.
25834         * org-exp.el (org-export-kill-product-buffer-when-displayed):
25835         New option.
25837         * org-agenda.el (org-batch-agenda-csv): Use the time property
25838         instead of the `time-of-day' property.
25840 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25842         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25843         (org-timer-pause-hook, org-timer-set-hook)
25844         (org-timer-cancel-hook): New hooks.
25845         (org-timer-start): Run `org-timer-start-hook'.
25846         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25847         (org-timer-stop): Run `org-timer-stop-hook'.
25848         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25850 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25852         * org.el (org-reveal): Double prefix arg shows the subtree of the
25853         parent.
25855 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25857         * org-agenda.el (org-search-view): Fix bug with searching full
25858         words in headlines in search view.
25859         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25860         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25861         scheduled (if the user configures it so.
25863 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25865         * org.el (org-hide-archived-subtrees): Don't jump to end of
25866         subtree if the match was not in a headline.
25867         (org-inside-latex-macro-p): Allow more complex arguments.
25868         (org-emphasize): Protect against use at end of buffer.
25870 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25872         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25873         text properties.
25875 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25877         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25878         values.
25879         (org-agenda-todo-ignore-scheduled)
25880         (org-agenda-todo-ignore-deadlines): More control with different
25881         allowed values.
25882         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25883         Honor the new option settings.
25885 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25887         * org.el (org-get-location): Make sure the selection buffer is
25888         shown in the current frame.
25890         * org-ascii.el (org-export-ascii-table-widen-columns):
25891         New option.
25892         (org-export-ascii-preprocess): Realign tables to remove narrowing
25893         if `org-export-ascii-table-widen-columns' is set.
25895         * org-table.el (org-table-do-narrow): New variable.
25896         (org-table-align): Narrow only if `org-table-do-narrow' is t.
25898         * org.el (org-deadline, org-schedule): Allow updating if the
25899         relevant time stamp does not have a repeater, i.e. do not require
25900         that no time stamp has a repeater.
25902         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25903         new white space before the tags.
25905         * org-latex.el (org-export-as-latex): Do nit require the buffer to
25906         be visiting a file when only exporting to a buffer or string.
25907         (org-export-latex-fix-inputenc): Only save the buffer is there is
25908         a file name attached to it.
25910 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25912         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25914 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25916         * org.el (org-fontify-meta-lines-and-blocks):
25917         Honor `org-fontify-quote-and-verse-blocks'.
25919         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25921 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25923         * org.el (org-open-at-point): Also check for text property
25924         org-linked-text before offering collected links.
25926 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25928         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25929         Optionally extract time specification from text and add to the
25930         timestamp.
25932 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25934         * org-exp.el (org-html-entities): Fix typo.
25936         * org-latex.el (org-export-latex-make-header): Use \providecommand
25937         to make sure the \alert macro is defined.
25939         * org.el (org-format-latex-signal-error)
25940         (org-create-formula-image): Use `org-format-latex-signal-error'.
25942 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25944         * org.el (org-store-link): For dired buffers, use
25945         default-directory as link name if dired-get-filename returns
25946         nil.
25948 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25950         * org-exp.el (org-export-concatenate-multiline-links): The for
25951         protectedness at beginning of match.
25953         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25954         AUTO as a coding system, instead default to utf8.
25956 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25958         * org.el (org-block-todo-from-children-or-siblings-or-parent)
25959         (org-block-todo-from-checkboxes): Respect the local variable
25960         value when deciding if blocking should be active.
25962         * org-latex.el (org-export-latex-make-header): Define the align
25963         macro if it is not yet defined.
25965         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25966         Call `org-insert-heading' with the INVISIBLE-OK argument.
25968         * org-mac-message.el (org-mac-message-insert-flagged):
25969         Call `org-insert-heading' with the INVISIBLE-OK argument.
25971         * org.el (org-insert-heading): New argument INVISIBLE-OK.
25973         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
25974         prompt message.
25976         * org-html.el (org-html-level-start): Use the
25977         `html-container-class' text property to set an additional class
25978         for an outline container.
25980         * org-exp.el (org-export-remember-html-container-classes):
25981         New function.
25982         (org-export-preprocess-string):
25983         Call `org-export-remember-html-container-classes'.
25985         * org.el (org-cycle): Mention level cycling in the docstring.
25986         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
25988         * org-remember.el (org-remember-apply-template): Do file insertion
25989         first.
25991 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25993         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
25994         problem with mis-aligned graphs when showing habits.
25996 2010-04-10  Mikael Fornius  <mfo@abc.se>
25998         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
25999         when assigning.  Begin using numerical characters when all in name
26000         is used up.  This is to spare alphanumeric characters for better
26001         match with other keywords.
26003 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26005         * org-exp.el (org-export-preprocess-hook): Improve documentation.
26007         * org-latex.el (org-export-latex-preprocess): More consistent
26008         conversion and protection of the words LaTeX and TeX.
26009         (org-export-latex-fontify-headline, org-export-latex-preprocess):
26010         Allow angle brackets in commands, for beamer.
26012 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26014         * org-clock.el (org-clock-in): Improve the look of the clock line
26015         by formatting links.
26017 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26019         * org-latex.el (org-export-latex-classes): Use AUTO as the place
26020         holder string for the coding system.  And improve the
26021         documentation.
26022         (org-export-latex-fix-inputenc): Only modify the coding system if
26023         it is given by the placeholder AUTO.
26025 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26027         * org-clock.el (org-task-overrun-text): New option.
26028         (org-task-overrun, org-clock-update-period): New variables.
26029         (org-clock-get-clock-string, org-clock-update-mode-line):
26030         Mark overrun clock.
26031         (org-clock-notify-once-if-expired): Check if clock is overrun.
26033         * org-faces.el: New face `org-mode-line-clock-overrun'.
26035 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26037         * org.el (org-narrow-to-subtree): Position the end of the narrowed
26038         region before the line with the next heading, to prevent the user
26039         from prepending text to the next headline.
26041 2010-04-10  Stephen Eglen  <stephen@gnu.org>
26043         * org-agenda.el (org-get-time-of-day):
26044         Use org-agenda-time-leading-zero to allow leading zero (rather than
26045         space) for times.
26047 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26049         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26050         org-datetree.el is loaded.
26052         * org-datetree.el: Autoload `org-datetree-find-day-create'.
26054         * org-latex.el (org-export-latex-hyperref-format): New option.
26055         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
26057 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26059         * org-ctags.el (org-ctags-enable): Change order of functions.
26060         (org-ctags-create-tags): Add wildcard to file name expansion.
26062 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26064         * org.el (org-entry-properties): Fix some important bugs.
26066 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26068         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
26069         the table is not explicitly given.
26071 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26073         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
26074         as value.
26075         (org-clock-out-if-current): Work with the new list value of
26076         `org-clock-out-when-done'.
26077         (org-clock-out, org-clock-out-if-current): Avoid circular logic
26078         between clocking out and state changes.
26080         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
26082         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
26083         accident protect a character that is before a backslash.
26085 2010-04-10  Paul Sexton  <eeeickythump@gmail.com>
26087         * org-ctags.el: New file.
26089 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26091         * org-agenda.el (org-diary-class):
26092         Use `org-order-calendar-date-args'.
26094         * org.el (org-order-calendar-date-args): New function.
26096         * org-exp.el (org-export-target-internal-links): Check for
26097         protectedness after the first bracket.
26099         * org.el (org-entry-properties): Don't match wrong-case TODO
26100         keywords.
26102         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
26103         Document that ARG is passed through to remove the date.
26104         (org-agenda-bulk-action): Accept prefix arg and pass it on.
26105         Do not read a date when the user has given a `C-u' prefix.
26107 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26109         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
26110         tags are hidden.
26112 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26114         * org-latex.el (org-export-latex-fix-inputenc): New function.
26115         (org-export-latex-inputenc-alist): New option.
26117         * org-exp.el (org-export): New key SPC to publish enclosing
26118         subtree.
26120 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26122         * org-indent.el (org-indent-add-properties): Catch case when there
26123         is no headline in the buffer.
26125 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26127         * org-exp.el (org-html-entities): Add checkmark symbol.
26129         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
26130         verbatim code for ASCII export.
26132         * org.el (org-update-statistics-cookies): Also see checkboxes in
26133         ordered lists.
26135 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26137         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
26138         key.
26140         * org-beamer.el (org-beamer-amend-header): Change the location
26141         where `org-beamer-header-extra' is inserted.
26143         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
26144         just for computing this regexp.
26146 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26148         * org-beamer.el (org-beamer-frame-default-options): New option.
26149         (org-beamer-sectioning): Use default options if the user does not
26150         have defined any.
26151         (org-beamer-fix-toc): Put a frame around the table of contents.
26153         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
26154         Make sure case-folding works well when processing comment stuff.
26156         * org-latex.el (org-export-latex-after-save-hook): New hook.
26157         (org-export-as-latex): Run the new hook.
26159 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26161         * org-beamer.el (org-beamer-environments-default): Add the note
26162         environments.
26163         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
26164         lines and collect and combine the content.
26165         (org-beamer-after-initial-vars): Check for note tags and make sure
26166         they will be seen like a property.
26168         * org.el (org-offer-links-in-entry): Fix bug when there is a
26169         single link.
26171         * org-exp.el (org-export): Make sure the mark is activated, also
26172         when `transient-mark-mode' is off.
26174         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
26175         (org-agenda-search-view-search-words-only): Obsolete variable, is
26176         now an alias for `org-agenda-search-view-always-boolean'.
26177         (org-agenda-search-view-force-full-words): New option.
26178         (org-search-view): Improve docstring, and implement a better logic
26179         for Boolean and phrase searches.
26180         (org-agenda-last-search-view-search-was-boolean): New variable.
26181         (org-agenda-manipulate-query): Consider the type of the last
26182         search when modifying the search string.
26184 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26186         * org-latex.el (org-export-as-latex): Do the first letbind in the
26187         right moment.
26189         * org-agenda.el (org-get-entries-from-diary): Add the new face to
26190         these entries.
26192         * org-faces.el (org-agenda-diary): New face.
26194         * org.el (org-make-link-regexps): Allow regexp-special characters
26195         in link types.
26196         (org-open-file): When in-emacs is `system', also force system
26197         opening, like when the value was `(16)'.
26198         (org-update-statistics-cookies): Handle entries without children.
26200         * org-exp.el
26201         (org-export-preprocess-before-normalizing-links-hook): New hook.
26202         (org-export-preprocess-string): Run the new hook.
26204         * org.el (org-offer-links-in-entry): Make RET open all links.
26206         * org-html.el (org-export-as-html): Remove any leftover display
26207         properties in the html file.
26209         * org-wl.el (org-wl-store-link): Work-around for format bug with
26210         text properties.
26212         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
26213         invisibility while adding the graphs.
26215 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26217         * org-remember.el (org-select-remember-template): Use C letter to
26218         customize remember templates.
26220         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
26221         Move cursor to next visible line.
26223 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26225         * org-beamer.el (org-beamer-sectioning): Leave columns environment
26226         by specifying 0 or 1 for column width.
26227         (org-beamer-column-widths): Make 0 stand for 0.0.
26229 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26231         * org-exp.el (org-export-mark-radio-links): Don't match inside
26232         <<target>>.
26234         * org.el (org-format-latex-header-extra): New variable.
26235         (org-format-latex): Set org-format-latex-header-extra from
26236         in-buffer stuff.
26237         (org-format-latex): Add org-format-latex-header-extra to the
26238         variables on which image creation depends.
26239         (org-create-formula-image): Add the header stuff from in-buffer
26240         settings.
26241         (org-read-date-analyze): Base the analysis for future preference
26242         on NOW, not on the default date.
26244         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
26245         for TODO keyword in inline tasks.
26247         * org.el (org-log-note-headings): New headings for removing
26248         deadline or scheduling date.
26249         (org-deadline, org-schedule): Arrange for logging when removing a
26250         date.
26251         (org-add-log-note): Handle deadline and scheduling removal.
26253 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26255         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
26257 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26259         * org-agenda.el (org-diary-class): New function.
26261 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26263         * org-latex.el (org-export-latex-preprocess): Do process the text
26264         of a radio target.
26266 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26268         * org.el (org-entry-properties): Add TIMESTAMP properties back
26269         in.
26271 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26273         * org.el (org-all-time-keywords): New variable.
26274         (org-set-regexps-and-options): Set `org-all-time-keywords'.
26275         (org-entry-blocked-p): New function.
26276         (org-special-properties): Add BLOCKED as a new special property.
26277         (org-entry-properties): New optional argument SPECIFIC, only parse
26278         for this property when it is specified.
26279         (org-entry-get): Pass a SPECIFIC argument to
26280         `org-entry-properties'.
26282         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
26284 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26286         * org-latex.el (org-export-latex-tables): No forced line end if
26287         there is no caption.
26289 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26291         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
26292         package.
26294         * org-latex.el (org-export-latex-tables): Only add a caption when
26295         macro is in longtable environments if one has been defined.
26297         * org-html.el (org-export-as-html): Only take title from buffer if
26298         not exporting body-only.
26300         * org-latex.el (org-export-latex-preprocess): Better version of
26301         the regular expression for protecting LaTeX macros.
26302         (org-export-latex-preprocess): Start searching for macros to
26303         protect from beginning of buffer.
26305         * org-exp.el (org-export-target-internal-links): Check for
26306         protectedness earlier in the string.
26308         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
26309         case sensitively.
26311         * org-id.el (org-id-store-link): Match TODO keywords case
26312         sensitively.
26314         * org.el (org-heading-components, org-get-outline-path)
26315         (org-display-outline-path): Match TODO keywords case sensitively.
26317         * org-latex.el (org-export-as-latex): Ignore read-only
26318         properties.
26320         * org-exp.el (org-export-preprocess-string): Remove any
26321         `read-only' properties.
26323         * org-agenda.el (org-agenda-inactive-leader): New option.
26324         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
26325         (org-tags-view): Prompt for matcher if MATCH is an empty string.
26326         (org-todo-list): Prompt for matcher if ARG is an empty string.
26328 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26330         * org.el (org-open-link-functions): New hook.
26331         (org-open-at-point): Run `org-open-link-functions'.
26333 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26335         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
26336         stamps as well.
26338         * org.el (org-inhibit-startup-visibility-stuff): New variable.
26339         (org-mode): Don't do startup visibility if inhibited.
26340         (org-outline-overlay-data, org-set-outline-overlay-data):
26341         New functions.
26342         (org-save-outline-visibility): New macro.
26343         (org-log-note-headings): Document that one should not change the
26344         `state' note format.
26346 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26348         * org.el (org-make-link-regexps): Capture link path into a group.
26350 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26352         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
26353         the options plist.
26355 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26357         * org.el (org-startup-with-beamer-mode): New option.
26358         (org-property-changed-functions)
26359         (org-property-allowed-value-functions): New hooks.
26360         (org-entry-put, org-property-get-allowed-values): Run the new
26361         hooks.
26362         (org-property-next-allowed-value): Run the new hooks.
26364         * org-exp.el (org-export-select-backend-specific-text): Add the
26365         special beamer tags.
26367         * org-beamer.el: New file.
26369         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
26370         (org-export-as-latex):
26371         Run `org-export-latex-after-initial-vars-hook'.
26372         (org-export-latex-format-toc-function)
26373         (org-export-latex-make-header):
26374         Call `org-export-latex-format-toc-function'.
26376         * org.el (org-fill-template): Make template searches case sensitive.
26378         * org-exp.el (org-export): Use "1" as a sign to export only the
26379         subtree.
26381         * org-colview.el (org-columns-edit-value):
26382         Use org-unrestricted property.
26384         * org.el (org-compute-property-at-point): Set org-unrestricted
26385         text property if the list contains ":ETC".
26386         (org-insert-property-drawer):
26387         Use org-unrestricted property.
26389         * org-exp.el
26390         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
26391         (org-export-preprocess-string):
26392         Run `org-export-preprocess-before-selecting-backend-code-hook'.
26394         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
26396         * org-latex.el (org-export-region-as-latex):
26397         Run `org-export-first-hook'.
26399         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
26401         * org-docbook.el (org-export-as-docbook):
26402         Run `org-export-first-hook'.
26404         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
26406         * org-exp.el (org-export-first-hook): New hook.
26408 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26410         * org-list.el (org-previous-item): Exit at the beginning of the
26411         buffer.
26413         * org-id.el (org-id-locations-save): Only write the id locations
26414         if any are defined.
26416         * org-archive.el (org-archive-all-done): Make this work in a file
26417         with org-odd-levels-only set.
26419         * org.el (org-get-refile-targets): Catch the case when a buffer
26420         has no file.
26422         * org-latex.el (org-export-as-latex): Cleanup forced line ends
26423         where they are not needed.
26424         (org-export-latex-subcontent): Remove unnecessary newlines.
26426 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26428         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
26429         (org-export-latex-fontify): Fix regexp bug that takes special
26430         care of protecting the right boundary characters in emphasis
26431         matches.
26432         (org-export-latex-preprocess): Allow multiple arguments to latex
26433         macros.
26435         * org.el (org-make-link-regexps): Use John Gruber's regexp for
26436         urls.
26438         * org-macs.el (org-re): Interpret :punct: in regexps.
26440         * org-exp.el (org-export-replace-src-segments-and-examples):
26441         Also take the final newline after the END line.
26443         * org.el (org-clean-visibility-after-subtree-move): Only fix
26444         entries that are not entirely invisible already.
26445         (org-insert-link): Respect org-link-file-path-type for
26446         "docview:" links in addition to "file:" links.
26448 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26450         * org-exp.el (org-export-format-source-code-or-example):
26451         Avoid additional extra white lines in LaTeX.
26453         * org-list.el (org-list-parse-list): Leave empty lines after the
26454         list, don't consider them as part of the list.
26456         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
26457         searches.
26459         * org-clock.el (org-clock-select-task): Convert integer to
26460         character for XEmacs.
26462 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26464         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
26465         compatible.
26467 2010-04-10  Tassilo Horn  <tassilo@member.fsf.org>
26469         * org.el (org-complete-tags-always-offer-all-agenda-tags):
26470         New variable.
26471         (org-set-tags): Use it.
26473 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26475         * org-list.el (org-empty-line-terminates-plain-lists):
26476         Update docstring.
26478         * org.el (org-format-latex): Fix link creation for processed latex
26479         snippets.
26481 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26483         * org-footnote.el (org-footnote-normalize): Protect replacement
26484         text.
26486         * org.el (org-inside-latex-macro-p): Save match data.
26488 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26490         * org-docview.el: New file.
26492 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26494         * org-latex.el (org-export-latex-class-options): New variable.
26495         (org-export-latex-set-initial-vars): Use the class options.
26497         * org.el (org-forward-same-level): Stop at headings that start
26498         with an invisible character.
26499         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
26501 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26503         * org-footnote.el (org-footnote-normalize): Don't take optional
26504         arguments in LaTeX macros as footnotes.
26506         * org.el (org-inside-latex-macro-p): New function.
26508         * org-latex.el (org-latex-to-pdf-process): Change customization
26509         group to `org-export-pdf'.
26511         * org-agenda.el (org-agenda-get-blocks): Look at time string also
26512         on days after the first one.
26514         * org.el (org-insert-heading): Also check for item before assuming
26515         before-first-heading condition.
26517         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
26518         (org-export-pdf-logfiles): New option.
26519         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
26520         (org-export-pdf-logfiles): Fix customization type.
26522         * org.el (org-insert-link): Improve error message when there is no
26523         default link to select with RET.
26525         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
26526         parameter list.
26528 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26530         * org-latex.el (org-export-latex-parse-global)
26531         (org-export-latex-parse-content)
26532         (org-export-latex-parse-subcontent):
26533         Use `org-re-search-forward-unprotected'.
26534         (org-export-as-pdf): Remove log files produced by XeTeX.
26536         * org-macs.el (org-re-search-forward-unprotected): New function.
26538 2010-04-10  James TD Smith  <ahktenzero@mohorovi.cc>
26540         * org-colview.el (org-agenda-colview-summarize): Sort out some
26541         confusion between properties and titles, which resulted in
26542         agenda summaries not working if a title was set for a column.
26544 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26546         * org-mobile.el (org-mobile-agendas): New option.
26547         (org-mobile-sumo-agenda-command): Select the right agendas.
26549         * org-latex.el (org-export-latex-format-image): Preserve the
26550         original-indentation property.
26552 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26554         * org-clock.el (org-clock-insert-selection-line): Catch error when
26555         an old tasks no longer exists.
26557         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
26558         (org-export-as-pdf): Don't remove the old PDF file before making
26559         the new one.
26561         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
26562         (org-mouse-context-menu): Use `org-looking-back'.
26564         * org.el (org-cycle-level): Use `org-looking-back'.
26566         * org-list.el (org-cycle-item-indentation):
26567         Use `org-looking-back'.
26569         * org-compat.el (org-looking-back): New function.
26571         * org.el (org-insert-heading): Catch before-first-headline when
26572         inserting a headline.
26574 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26576         * org-latex.el (org-export-latex-format-image): Indent figure
26577         environment, so that it does not interrupt plain list.
26579         * org.el (org-open-at-point): Allow long link descriptions.
26581 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26583         * org-html.el (org-export-as-html): Remove empty lines at the
26584         beginning of the exported text.
26586 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
26588         * org.el (org): Remove from hypermedia group.
26590 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
26592         * Branch for 23.2.
26594 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
26596         * org-freemind.el (org-freemind-from-org-mode-node)
26597         (org-freemind-from-org-mode)
26598         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
26599         Pass arg to called-interactively-p.
26601 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
26603         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
26604         Fix typos in docstrings.
26606 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
26608         * org.el (org-get-outline-path, org-speed-command-help):
26609         Fix typos in error messages.
26611 2009-12-14  Juri Linkov  <juri@jurta.org>
26613         * org-html.el (org-export-html-style-include-default):
26614         Put `safe-local-variable booleanp' on
26615         `org-export-html-style-include-default' instead of mistakenly
26616         duplicate `org-export-html-style'.
26618 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
26620         * org-agenda.el (org-agenda-diary-entry-in-org-file):
26621         Rebuild agenda after adding new entry.
26623         * org-datetree.el (org-datetree-find-day-create): Fix regular
26624         expression.
26626         * org.el (org-display-outline-path): Use a format specifier for
26627         message, to avoid problems with heading containing `%'.
26629         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26630         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26631         (org-agenda-fix-displayed-tags): New function.
26632         (org-agenda-do-context-action): Just call
26633         `org-display-outline-path', without piping the result through
26634         `message'.
26636         * org-latex.el (org-export-latex-preprocess): Protect secondary
26637         footnote references.
26639         * org-indent.el (org-indent-initialize): Avoid empty strings as
26640         line prefixes.
26642         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26643         hat checking for the mark does not throw an error.
26644         (org-agenda-diary-entry-in-org-file): Catch the case that there is
26645         not `day' text property in the cursor line.
26647         * org.el (org-sort-entries-or-items): Make sure that the final
26648         entry has a newline before doing the sorting.
26650         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26651         property at the beginning of the line.
26653         * org.el (org-make-link-string): Don't allow a description with
26654         only white space.
26656         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26657         (org-agenda-insert-diary-as-top-level): New function.
26658         (org-agenda-add-entry-to-org-agenda-diary-file):
26659         Call `org-agenda-insert-diary-as-top-level'.
26661         * org.el (org-occur-in-agenda-files): Make sure none of the
26662         buffers is narrowed.
26663         (org-activate-plain-links): Add the face property here.
26664         (org-set-font-lock-defaults): Do not add the face to plain links,
26665         the activator function does this.
26667         * org-habit.el (org-is-habit-p): Add doc string.
26669         * org-archive.el (org-archive-subtree-default-with-confirmation):
26670         Autoload.
26672         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26673         after match optional (happens at the end of a line...).
26675         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26676         for special blocks.
26678         * org-faces.el (org-copy-face): Set lisp indentation.
26679         (org-quote, org-verse): New faces.
26681         * org-agenda.el (org-agenda-remove-date): Remove variable.
26683         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26685         * org-html.el (org-export-as-html): Move the home/up link into
26686         the content div.
26688         * org.el (org-export-latex-packages-alist): Option definition
26689         moved here from org-latex.el.
26691         * org-html.el (org-export-html-home/up-format): Add an ID to the
26692         up/home div.
26694         * org-wl.el (org-wl-store-link): Handle the case that
26695         `wl-use-petname' is set.
26697         * org.el (org-set-effort): Improve prompt.
26698         (org-get-outline-path): Widen to get full path.
26699         (org-compact-display-after-subtree-move): Function removed.
26701 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
26703         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26704         hash keys to cache and re-use images generated by the
26705         org-exp-blocks interface to ditaa and dot.
26707         * org.el (org-format-latex): Latex images are now saved to files
26708         named by the sha1 hash of the latex source text avoiding
26709         regeneration of identical images.
26711 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26713         * org-latex.el (org-export-as-latex): Add the :drawers property.
26715 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26717         * org.el (org-speed-commands-user): Allow documentation headlines.
26718         (org-speed-commands-default): Organize the value of this constant
26719         with descriptive headlines.
26720         (org-print-speed-command): Output the headlines.
26722 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26724         * org-agenda.el (org-agenda-show-outline-path): New option.
26725         (org-agenda-do-context-action): New function.
26726         (org-agenda-next-line, org-agenda-previous-line):
26727         Use `org-agenda-do-context-action'.
26729         * org.el (org-use-speed-commands): Allow function value.
26730         (org-speed-commands-default): Make headline motion safe, so that
26731         these commands always end on a headline.
26732         (org-speed-commands-default): New key `v' for `org-agenda'.
26733         (org-speed-move-safe): New function.
26734         (org-self-insert-command): Use the function value of
26735         `org-use-speed-commands'.
26736         (org-get-outline-path): Improve docstring.
26737         (org-format-outline-path): New function.
26738         (org-display-outline-path): New function.
26740 2009-11-15  John Wiegley  <jwiegley@gmail.com>
26742         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26743         a string, use that to find the LOGBOOK drawer.
26745 2009-11-15  Glenn Morris  <rgm@gnu.org>
26747         * org-agenda.el (org-datetree-find-date-create)
26748         (org-habit-get-priority):
26749         * org.el (org-format-agenda-item): Fix declarations.
26751 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26753         * org.el (org-clone-subtree-with-time-shift): Make it work at the
26754         end of the buffer.
26756         * org-mobile.el (org-mobile-write-checksums): Specify coding
26757         system.
26758         (org-mobile-timestamp-buffer): Keep local variable/mode line at
26759         beginning of buffer.
26761         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26763         * org.el (org-block-todo-from-children-or-siblings-or-parent)
26764         (org-block-todo-from-checkboxes): Do not block changes to a nil
26765         TODO state.
26767 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26769         * org-habit.el (org-habit-parse-todo): Indicate which habit is
26770         wrongly set up in the error messages.
26772         * org-colview.el (org-columns-display-here): Don't try to
26773         calculate values if the underlying property is not set.
26774         (org-columns-string-to-number): Convert age strings back into
26775         fractional days.
26776         (org-agenda-colview-summarize): Handle extended summary types
26777         properly.
26779 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26781         * org-exp.el (org-export-format-drawer-function): New variable.
26782         (org-export-format-drawer): New function.
26783         (org-export-preprocess-string): Pass the backend as a parameter to
26784         `org-export-remove-or-extract-drawers'.
26785         (org-export-remove-or-extract-drawers): New parameter BACKEND.
26787         * org-protocol.el (org-protocol-char-to-string): New defsubst.
26789 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26791         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26792         message when no block is selected.
26794         * org-latex.el (org-export-latex-links): Check for protectedness
26795         in the last matched character, not after the match.
26797         * org-datetree.el (org-datetree-find-date-create):
26798         Respect restriction when KEEP-RESTRICTION is set.
26799         (org-datetree-file-entry-under): New function.
26800         (org-datetree-cleanup): New command.
26802 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26804         * org-src.el (org-edit-src-code): New optional argument context
26805         allows calling functions to avoid altering the saved window
26806         configuration.
26807         (org-edit-src-exit): Do not restore window configuration when this
26808         function is used in the context of saving the edit buffer.
26810 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26812         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26813         instances to switching to with-current-buffer, because these seem
26814         to cause problems - no idea why.
26816         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26817         Require diary-lib for (diary-date-display-form).
26819 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26821         * org.el (org-log-reschedule, org-log-redeadline): New options.
26822         (org-log-note-headings): Add templates for rescheduling and
26823         deadline changing.
26824         (org-startup-options): Add in-buffer settings for logging changing
26825         schedule and deadline time stamps.
26826         (org-deadline, org-schedule): Check for existing date and arrange
26827         for logging if the user requests it.
26828         (org-add-log-note): Prepare proper note buffers for rescheduling
26829         and deadline changes.
26831 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26833         * org-agenda.el (org-agenda-diary-entry-in-org-file)
26834         (org-agenda-add-entry-to-org-agenda-diary-file)
26835         (org-agenda-insert-diary-make-new-entry): New functions.
26836         (org-agenda-diary-entry):
26837         Call `org-agenda-diary-entry-in-org-file' when appropriate.
26839         * org.el (org-calendar-insert-diary-entry-key): New option.
26840         (org-agenda-diary-file): New option.
26841         ("calendar"): Install our insertion function in the calendar.
26843         * org-remember.el (org-datetree): Require.
26844         (org-remember-templates): Add new positioning option.
26845         (org-remember-reference-date): New variable.
26846         (org-remember-apply-template): Store the reference date in a local
26847         variable.
26848         (org-remember-handler): Implement date tree positioning of entries.
26850         * org-datetree.el: New file.
26852         * org-latex.el (org-export-latex-preprocess): Protect targets in
26853         verbatim emphasis.
26855         * org-html.el (org-export-as-html): Protect targets in verbatim
26856         emphasis.
26858         * org-docbook.el (org-export-as-docbook): Protect targets in
26859         verbatim emphasis.
26861 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26863         * org-clock.el (org-show-notification): Handle messages that
26864         contain a percent character.
26866         * org-remember.el (org-remember-apply-template): Turn of partial
26867         completion.
26869         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26870         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26872         * org.el (org-indent-mode): Define variable already in org.el.
26873         (org-unfontify-region): Remove line-prefix and wrap-prefix
26874         properties only if org-indent-mode is active.
26876 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26878         * org-icalendar.el (org-print-icalendar-entries): Save match data
26879         around call to verify function.
26880         (org-print-icalendar-entries): Add a call to the verification
26881         function.
26883         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26884         save-restrivtion' form.
26886 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26888         * org-exp.el (org-export-format-source-code-or-example):
26889         Restrict scope of preserve-indentp to the let binding.
26890         (org-src): Require org-src, since org-src-preserve-indentation is used.
26892 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26894         * org-timer.el (org-timer-set-timer): Set variables
26895         org-timer-timer[123] correctly.
26897         * org-mobile.el (org-mobile-files-alist): Make it work when
26898         `agenda-archives' is included in
26899         `org-agenda-text-search-extra-files'.
26900         (org-mobile-push): Restore agenda after mobile push.
26902 2009-11-13  John Wiegley  <jwiegley@gmail.com>
26904         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26905         way the amount of idle time is presented in the minibuffer.
26907 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26909         * org-icalendar.el (org-print-icalendar-entries):
26910         Use org-icalendar-verify-function only if non-nil.
26912         * org.el (org-refile): Refile to clock only if the prefix arg is
26913         2.
26914         (org-sparse-tree): Fix docstring to be in line with prompt.
26915         (org-update-parent-todo-statistics):
26916         Call `org-after-todo-statistics-hook' on each level.
26918 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26920         * org-remember.el (org-remember-apply-template): Make sure the
26921         buffer exists.
26923 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26925         * org.el (org-tab-ind-state): New variable.
26926         (org-cycle-level): New function.
26927         (org-cycle-level-after-item/entry-creation): New option.
26928         (org-flag-subtree): New function.
26929         (org-hide-archived-subtrees): Call `org-flag-subtree'.
26930         (org-set-effort): Indexed access.
26932         * org-list.el (org-cycle-item-indentation): New function.
26934         * org.el (org-refile): Make prefix argument 2 refile to current
26935         clock.
26936         (org-priority): Interpret action `remove' as call to remove the
26937         priority cookie.
26939         * org-remember.el (org-remember-apply-template): Don't depend on
26940         buffer name being like file name.
26942 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26944         * org-clock.el (org-clock-play-sound): Expand file in
26945         org-clock-sound, to allow ~ for home.
26947         * org-remember.el (org-remember-handler):
26948         Set text-before-node-creation even if this already looks like a node,
26949         because the string might be needed on non-org-mode target files.
26951         * org-agenda.el (org-agenda-open-link): Make this work in agenda
26952         clocktables.
26953         (org-agenda-switch-to): Follow a link at point if
26954         org-return-follows-link' is set and there is nothing else to do in
26955         this line.
26957 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26959         * org-exp-blocks.el: Modify split separator regexp to avoid empty
26960         strings.
26962 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26964         * org-colview.el (org-columns-new): Make this work with the new
26965         operators.
26966         (org-columns-store-format): Make this work with the new operators.
26968 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26970         * org-src.el (org-src-preserve-indentation): Document that this
26971         variable is also used during export.
26973         * org-exp.el (org-export-format-source-code-or-example):
26974         Preserve indentation if a block has a -i option, or if
26975         `org-src-preserve-indentation' is set.
26977         * org-exp-blocks.el (org-export-blocks-preprocess):
26978         Preserve indentation if a block has a -i option, or if
26979         `org-src-preserve-indentation' is set.
26981 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26983         * org.el (org-mode-map): Define the new archiving keys.
26984         (org-speed-commands-default): Define an archiving key in the speed
26985         command map.
26986         (org-org-menu): Improve the menu structure concerning archiving.
26988         * org-archive.el (org-archive-subtree-default-with-confirmation):
26989         New command.
26991         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
26992         (org-agenda-menu): Add the new archiving commands to the menu.
26993         (org-agenda-archive-default)
26994         (org-agenda-archive-default-with-confirmation): New commands.
26995         (org-agenda-archive, org-agenda-archive-to-archive-sibling):
26996         Just call `org-agenda-archive-with'.
26997         (org-agenda-archive-with): New function.
26999         * org-table.el (org-table-convert-region): Inert spaces around "|"
27000         to avoid line beginnings like "|-1" which will be mistaken as
27001         hlines.
27003 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27005         * org.el (org-offer-links-in-entry): Return nil if there are no
27006         links, t if a link has been selected.
27007         (org-open-at-point): Open attachment directory when called in the
27008         headline and there are no links in the entry body.
27009         (org-speed-commands-default): Add "o" for open-at-point as a speed
27010         command.
27012         * org-attach.el (org-attach-reveal): Optional prefix arg
27013         IF-EXISTS, which avoids creating the attachment directory if it
27014         does not yet exist.
27016         * org-agenda.el (org-agenda, org-run-agenda-series):
27017         Evaluate MATCH.
27019 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27021         * org.el ("abbrev"): Work with abbrev tables only after they have
27022         been loaded.
27024         * org-list.el (org-list-send-list): Fix bug related to match
27025         data.
27027         * org-latex.el (org-export-latex-fontify): Apply verbatim
27028         emphasis.
27029         (org-export-latex-make-header): Insert \obeylines if line breaks
27030         should be preserved.
27032         * org-exp.el (org-export-protect-verbatim): Add an
27033         `org-verbatim-emph' property to such text.
27035 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27037         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
27038         (org-print-icalendar-entries): Skip entries where the timestamp is
27039         not a deadline and not scheduled, if the user requests that.
27041         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
27042         before an opening quote.
27044         * org-archive.el (org-archive-subtree): Keep archive after
27045         archiving something.
27047         * org-id.el (org-id-update-id-locations): Add archive files if
27048         that is required by `org-id-extra-files'.
27050 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27052         * org-src.el (org-src-window-setup): New option.
27053         (org-src-switch-to-buffer): New function.
27054         (org-edit-src-exit): Add optional argument CONTEXT and use it to
27055         restore window configuration.
27056         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
27057         Call `org-src-switch-to-buffer'.
27059         * org.el (org-default-properties): Add STYLE property.
27060         (org-files-list): Use the function call to get the files.
27061         (org-additional-option-like-keywords): Add SETUPFILE to completion
27062         list.
27064 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27066         * org-table.el (org-table-convert-region): Correctly interpret
27067         quoting in csv import.
27069         * org.el (org-icompleting-read): Make iswitchb completion work
27070         with lists and tables.
27072         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
27073         while pushing the mobile agenda.
27075 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27077         * org-clock.el (org-clock-auto-clock-resolution): Now takes three
27078         values: nil, t and `when-no-clock-is-running'.
27079         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
27080         whether or not to resolve Org buffers on clock in.
27082 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27084         * org-colview.el (org-format-time-period): Function to format
27085         times in fractional days for display.
27086         (org-columns-display-here): Add support for showing a calculated
27087         value in place of the property.
27088         (org-columns): Set `org-columns-time' to the current time so time
27089         difference calculations will work.
27090         (org-columns-time): Use to store the current time when column view
27091         is displayed, so all time differences will use the same reference
27092         point.
27093         (org-columns-compile-map): There is now an extra position in each
27094         entry specifying the function to use to calculate the displayed
27095         value for the non-calculated properties in the column.
27096         (org-columns-compute-all): Set `org-columns-time' to the current
27097         time so time difference calculations will work.
27098         (org-columns-compute): Handle column operators where the values
27099         used are calculated from the underlying property.
27100         (org-columns-number-to-string): Handle the 'age' column format.
27101         (org-columns-string-to-number): Correct the function name (was
27102         org-column...).  Add support for the 'age' column format.
27103         (org-columns-compile-format): Support the additional parameter in
27104         org-columns-compile-map.
27106 2009-11-13  Bastien Guerry  <bzg@gnu.org>
27108         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
27109         variable.
27111 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27113         * org-clock.el (org-clock-has-been-used): New variable.
27114         (org-clock-in): Set `org-clock-has-been-used'.
27115         (org-clock-save): Save only if clock data has been used or created
27116         during this session.
27118 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27120         * org-clock.el (org-clock-persist): New value, to store only the
27121         clock history.
27122         (org-clock-save): Don't save the clock if only the history should
27123         be stored.
27124         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
27125         when restoring a saved clock.
27127 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27129         * org-clock.el (org-clock-display, org-clock-put-overlay):
27130         Use `org-time-clock-use-fractional'.
27132         * org.el (org-time-clocksum-use-fractional)
27133         (org-time-clocksum-fractional-format): Two new customizable
27134         variables which allow the user to select fractional times (1.25
27135         instead of 1:25) in the `org-clock-display' report.
27137 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27139         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
27140         New option.
27142         * org.el (org-tag-alist): Fix customization type.
27144 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27146         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
27147         Make sure the regexp search can fail without throwing an error.
27148         (org-mobile-apply): Save the inbox buffer after removing
27149         successfully applied changes.
27151 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27153         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
27154         time is reported after the user comes back (but before they
27155         resolve time).
27157         * org.el (org-get-repeat): Change so that this function can be
27158         called with either `org-scheduled-string' or
27159         `org-deadline-string'.
27161         * org-clock.el (org-clock-auto-clock-resolution): Rename from
27162         `org-clock-disable-clock-resolution', since negatives don't sound
27163         good in customization variables.
27164         (org-clock-in): Don't use the auto-resolution logic if the user is
27165         clocking into a different task while an active clock is running.
27166         This then allows the default behavior of clocking out of the open
27167         task and then into the new task.
27169         * org.el (org-modules): Made this variable more consistent, since
27170         it was referring to Org, OrgMode and Org-mode, whereas the docs
27171         for the variable always refer to Org-mode.
27173 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27175         * org.el (org-repeat-re): The changed org-repeat-re no longer
27176         matched simple +2d type repeaters.  Fix it so it does.
27178 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27180         * org-latex.el (org-export-latex-preprocess): Protect the vspace
27181         macro in the VERSE environment.
27183 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27185         * org-habit.el (org-habit-get-priority): A new function that
27186         determines the relative priority of a habit, based on how long
27187         past its scheduled date it is, and how near the deadline is.
27189         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
27190         using `org-habit-get-priority'.
27192         * org-habit.el (org-habit-build-graph): Start displaying colors
27193         from the first scheduled date, if that date is earlier than the
27194         first completion date.
27196         * org-habit.el: Changed all "color" variables to faces, and made
27197         them appropriate for light and dark backgrounds.
27199         * org-habit.el (org-habit-duration-to-days): Made this function
27200         more general.
27201         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
27203         * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
27204         habits, since they don't use DEADLINE anymore.
27206         * org.el (org-repeat-re, org-display-custom-time)
27207         (org-timestamp-change): Extend to support the new ".+N/N"
27208         syntax, used for habits.
27210         * org-clock.el (org-clock-resolve-clock): Fix an incorrect
27211         variable reference.
27213         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
27214         modeline when habits are being displayed (if that module is being
27215         loaded).
27217 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27219         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
27220         idle time using the xscreensaver extension.
27221         (org-user-idle-seconds): Use X11 idle time if available.
27223 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27225         * org-agenda.el (org-agenda-next-line): New command.
27226         (org-agenda-previous-line): New commands.
27227         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
27228         New commands.
27229         (org-agenda-follow-mode): Do the follow immediately if the mode is
27230         turned on here.
27231         (previous-line, next-line): Replace keys with the corresponding
27232         org functions.
27233         (org-agenda-mode-map): Bind backspace and delete to the scrolling
27234         command.
27236         * org.el (org-icompleting-read): Turn off partial completion mode
27237         for the duration of this completion round.
27239         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
27240         macros in author lines and similar stuff.
27242         * org.el (org-file-tags): Fix docstring.
27243         (org-get-buffer-tags): Add the #+FILETAGS tags.
27244         ("ecb"): Make ecb show context after jumping into an Org file.
27246 2009-11-13  John Wiegley  <johnw@newartisans.com>
27248         * org-agenda.el (org-finalize-agenda): Draw habit consistency
27249         graphs after everything else in the buffer has been setup.
27251 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27253         * org-mobile.el (org-mobile-apply): Count success and failure.
27255         * org.el (org-indent-line-function): Fix regexp replace problem.
27257 2009-11-13  John Wiegley  <johnw@newartisans.com>
27259         * org-clock.el (org-clock-disable-clock-resolution):
27260         New customization variable that disable automatic clock resolution on
27261         clock in.
27262         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
27263         not automatically resolve anything.  This is does not affect
27264         idle-time resolution, however, if `org-clock-idle-time' is set.
27266 2009-11-13  John Wiegley  <johnw@newartisans.com>
27268         * org-habit.el: New file, which implements code to build a "habit
27269         consistency graph".
27271         * org-agenda.el (org-agenda-get-deadlines)
27272         (org-agenda-get-scheduled): Display consistency graphs when
27273         outputting habits into the agenda.  The graphs are always relative
27274         to the current time.
27275         (org-format-agenda-item): Add new parameter `habitp', which
27276         indicates whether we are formatting a habit or not.  Do not
27277         display "extra" leading information if habitp is true.
27279         * org.el (org-repeat-re): Improve regexp to include .+ and ++
27280         leaders for repeat strings.
27281         (org-get-repeat): Now takes a string parameter `tagline', so the
27282         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
27284 2009-11-13  John Wiegley  <johnw@newartisans.com>
27286         * org-agenda.el (org-agenda-auto-exclude-function):
27287         New customization variable for allowing the user to create an "auto
27288         exclusion" filter for doing context-aware auto tag filtering.
27289         (org-agenda-filter-by-tag): Changes to support the use of
27290         `org-agenda-auto-exclude-function'.  See the new manual addition.
27292 2009-11-13  John Wiegley  <johnw@newartisans.com>
27294         * org.el (org-files-list): Don't attempt to return a file name for
27295         Org buffers which have no associated file.
27297         * org-agenda.el (org-agenda-do-action): Fix a typo.
27299 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27301         * org-mobile.el (org-mobile-locate-entry): Interpret files
27302         relative to org-directory.
27303         (org-mobile-inbox-for-pull): Document the best location for this
27304         file.
27305         (org-mobile-check-setup): Verify `org-directory'.
27306         (org-mobile-create-index-file): Sort the files to be listed in
27307         index.org.
27309 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27311         * org.el (org-fast-tag-selection): Add a way to display a
27312         description for a tag group.  This is done by adding a string to
27313         either the startgroup or endgroup cell.
27315 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27317         * org-clock.el (org-clock-resolve, org-resolve-clocks)
27318         (org-emacs-idle-seconds): Use `org-float-time' instead of
27319         `time-to-seconds'.
27321 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27323         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
27324         type.
27326         * org.el (org-pre-cycle-hook): Document that `empty' can also be
27327         the value of ARG when doing local cycling.
27329 2009-11-13  John Wiegley  <johnw@newartisans.com>
27331         * org-clock.el (org-clock-resolve-clock): If keeping or
27332         subtracting time results in a clock out at a time in the past, and
27333         if the resolution occurred due to idleness or invoking `M-x
27334         org-resolve-clocks', remember that past moment in time.  On the
27335         next clock in, the user will be prompted to see if they want to
27336         back-date their new clock to then.
27337         (org-clock-resolve): Do not jump the user to the location of a
27338         dangling clock if the resolution is occurring due to an idle
27339         timeout.  In that case there is typically only one dangling clock,
27340         the active one, and there is no value gained by shuffling their
27341         windows around to show it to them.  Being prompted to resolve an
27342         idle clock should be as inobtrusive as possible.
27343         (org-resolve-clocks-if-idle): New function that resolves only the
27344         currently active clock if the user has exceeded the time returned
27345         by `org-user-idle-seconds', based on the value of
27346         `org-clock-idle-time'.
27347         (org-clock-in): If, after resolving clocks, (???)
27348         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
27350         * org-clock.el (org-clock-resolve-clock): New function that
27351         resolves a clock to a specific time, closing or resuming as need
27352         be, and possibly even starting a new clock.
27353         (org-clock-resolve): New function used by `org-resolve-clocks'
27354         that sets up for the call to `org-clock-resolve-clock'.
27355         It determines the time to resolve to based on a single-character
27356         selection from the user to either keep time, subtract away time or
27357         cancel the clock.
27358         (org-resolve-clocks): New user command which resolves dangling
27359         clocks -- that is, open but not active -- anywhere in the file
27360         list returned by `org-files-list'.
27361         (org-clock-in): Automatically resolve dangling clocks whenever a
27362         user clocks in.
27363         (org-clock-cancel): If the user cancels the solely clock in a
27364         LOGBOOK, remove the empty drawer.
27366         * org-clock.el (org-clock-idle-time): New user customizable option
27367         for detecting whether the user has left a clock idle.  Note: it is
27368         only used in this commit to test whether it's worthwhile to check
27369         OS X to get the Mac user's current idle time.  If the Emacs idle
27370         time is less than the value, the user hasn't been away long enough
27371         to be worth checking (a more expensive test than just getting
27372         Emacs idle time).
27373         (org-user-idle-seconds, org-mac-idle-seconds)
27374         (org-emacs-idle-seconds): This three functions, in conjunction
27375         with the user customization variable `org-clock-idle-time', return
27376         the number of seconds (as a floating point) that the user has been
27377         away from their Emacs (or, if running on OS X, their computer).
27379         * org-clock.el (org-find-open-clocks): New function that returns a
27380         list of all open clocks in the given FILE.  Note that each clock
27381         it returns is a cons cell of the format (MARKER . START-TIME).
27382         This "clock" value is used by several of the new clock module
27383         utility functions.
27384         (org-is-active-clock): New inline function which tests whether the
27385         given clock value is the same as the currently active clock.
27386         Returns non-nil if this is the case.
27387         (org-with-clock-position): New macro that evaluates FORMS with
27388         point in the buffer and at the position of the given clock.
27389         Changes to the current clock are global.
27390         (org-with-clock): New macro that evaluates FORMS with point in the
27391         buffer and at the position of the given clock.  However, changes
27392         to the current clock are local and have no effect on the user's
27393         active clock.  This allows, for example, far any clock to be
27394         canceled without canceling the active clock.
27395         (org-clock-clock-in): New inline function that switches the active
27396         clock to the given clock.  If either the argument RESUME, or the
27397         global `org-clock-in-resume', are non-nil, it will resume a clock
27398         that was previously left open.
27399         (org-clock-clock-out): New inline function that clocks out the
27400         given clock value without affecting the currently active clock.
27401         (org-clock-clock-cancel): New inline function that cancels the
27402         given clock value without affecting the currently active clock.
27404         * org-clock.el (org-clock-in): Before creating
27405         `org-clock-mode-line-timer', check to make sure an older timer is
27406         not currently running.
27407         (org-clock-out): Accept new third parameter `at-time', which
27408         permits a clock to be clocked out at a specific time.  Note that
27409         no attempt is made to verify that the clock out time is later than
27410         the clock in time.
27412         * org.el (org-files-list): New utility function for returning a
27413         list of all open org-mode buffers, plus all files used to build
27414         the agenda buffer.  Note that not all the files will necessarily
27415         be visited by a buffer at time of call.
27416         (org-entry-beginning-position): Like the function
27417         `line-beginning-position', this inline function returns the
27418         beginning position of the current heading/entry.
27419         (org-entry-end-position): Like the function `line-end-position',
27420         this inline function returns the end position of the current
27421         heading/entry.
27423 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27425         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
27426         a header line.
27428 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27430         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
27432 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27434         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
27435         entries that have no tags.
27436         (org-agenda-search-view): New customize group.
27437         (org-agenda-search-view-search-words-only): New option.
27438         (org-search-view): Implement substring search.
27440 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27442         * org.el (org-outline-level): Add doc string.
27444 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27446         * org-inlinetask.el (org-inlinetask-export): Re-introduce
27447         variable.
27448         (org-inlinetask-export-handler): Only export inline task if the
27449         user option calls for it.
27451 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27453         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
27454         END if present.
27456 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27458         * org-latex.el (org-export-latex-tables): Don't format in
27459         protected regions.
27461 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27463         * org-src.el (org-edit-src-code)
27464         (org-edit-src-find-region-and-lang, org-edit-src-exit):
27465         Handle macro editing.
27467         * org-agenda.el (org-prefix-category-max-length): New variable.
27468         (org-format-agenda-item): Use `org-prefix-category-max-length'.
27469         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
27471 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27473         * org-mobile.el (org-mobile-create-index-file): Improve the
27474         listing of tags and todo keywords.
27476         * org-latex.el (org-export-latex-format-image): New function.
27477         (org-export-latex-links): Use `org-export-latex-format-image'.
27479 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27481         * org-inlinetask.el (org-inlinetask-get-current-indentation)
27482         (org-inlinetask-remove-terminator): New functions.
27483         (org-inlinetask-export-handler): Terminate the description list.
27485         * org-exp.el (org-export-select-backend-specific-text): Remove the
27486         region markers.
27488         * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
27489         tasks without content.
27491         * org-clock.el: Make sure the clock-in target position does not
27492         move to a different node by widening the buffer.
27494         * org-html.el (org-export-html-format-image): Wrap image into
27495         figure div only when there is a caption.
27497         * org-archive.el (org-archive-mark-done): Change default value to
27498         nil.
27500 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27502         * org.el (org-context): Call `bobp', not `eobp'.
27504         * org-clock.el (org-clock-cancel): Remove quotes from marker
27505         variables.
27507         * org.el (org-read-date-prefer-future): New allowed value `time'.
27508         (org-read-date-analyze): Shift day to tomorrow depending on time
27509         entered and value of `org-read-date-prefer-future'.
27511 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
27513         * org.el (org-version, org-get-refile-targets, org-refile)
27514         (org-store-log-note, org-diary-to-ical-string)
27515         (org-speedbar-set-agenda-restriction):
27516         * org-publish.el (org-publish-find-title):
27517         * org-plot.el (org-plot/gnuplot):
27518         * org-mouse.el (org-mouse-do-remotely):
27519         * org-mobile.el (org-mobile-move-capture):
27520         * org-mac-message.el (org-mac-message-insert-flagged):
27521         * org-latex.el (org-replace-region-by-latex):
27522         * org-docbook.el (org-replace-region-by-docbook):
27523         * org-clock.el (org-clock-out, org-clock-cancel):
27524         * org-bibtex.el (org-execute-file-search-in-bibtex):
27525         Use with-current-buffer.
27527 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
27529         * org.el (org-directory, org-map-entries):
27530         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
27532 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27534         * org.el (org-set-tags-to): New command.
27536         * org-latex.el (org-export-latex-set-initial-vars): Also check in
27537         the plist.
27539         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
27540         keyword.
27542         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
27544 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27546         * org-inlinetask.el (org-inlinetask-export): Option removed.
27547         (org-inlinetask-export-handler): Better export.
27549         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
27550         (org-export-as-xoxo): Run the new hook.
27552         * org-html.el (org-export-html-final-hook): New hook.
27553         (org-export-as-html): Run the new hook.
27555         * org-docbook.el (org-export-docbook-final-hook): New hook.
27556         (org-export-as-docbook): Run the new hook.
27558         * org-ascii.el (org-export-ascii-final-hook): New hook.
27559         (org-export-as-ascii): Run the new hook.
27561         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
27562         space character as the character before the ^/_.
27563         (org-export-latex-final-hook): New hook.
27564         (org-export-as-latex): Run `org-export-latex-final-hook'.
27566 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27568         * org-macs.el (org-if-unprotected-at): Fix docstring.
27570         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
27571         text in the prefix (if category is a link).
27573         * org-latex.el (org-export-latex-preprocess): Deal properly with
27574         empty lines in verse environments.
27576         * org.el (org-format-latex-header): Inline fullpage.sty.
27578         * org-footnote.el (org-footnote-create-definition): Reveal context
27579         to add a new footnote definition.
27581         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
27582         org-table-recalculate when cursor is in TBLFM line.
27584         * org-list.el (org-renumber-ordered-list): Fix cursor position
27585         when bullet length has changed.
27587 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27589         * org.el (org-format-latex): Mention `org-format-latex-options' in
27590         the docstring.
27592 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27594         * org.el (org-agenda-get): New function.
27596         * org-agenda.el (org-agenda-post-command-hook): No longer move
27597         point away from end of line.
27598         (org-agenda-add-entry-text, org-agenda-collect-markers)
27599         (org-finalize-agenda, org-agenda-mark-clocking-task)
27600         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
27601         (org-agenda-entry-text-show, org-agenda-highlight-todo)
27602         (org-agenda-compare-effort, org-agenda-filter-apply)
27603         (org-agenda-later, org-agenda-change-time-span)
27604         (org-agenda-post-command-hook, org-agenda-show-priority)
27605         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
27606         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
27607         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
27608         (org-agenda-open-link, org-agenda-copy-local-variable)
27609         (org-agenda-switch-to, org-agenda-check-no-diary)
27610         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
27611         (org-agenda-add-note, org-agenda-change-all-lines)
27612         (org-agenda-priority, org-agenda-set-tags)
27613         (org-agenda-set-property, org-agenda-set-effort)
27614         (org-agenda-toggle-archive-tag, org-agenda-date-later)
27615         (org-agenda-show-new-time, org-agenda-date-prompt)
27616         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
27617         (org-agenda-clock-in, org-agenda-bulk-mark)
27618         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
27619         Use `org-get-at-bol'.
27621         * org-colview.el (org-columns-display-here)
27622         (org-columns-edit-allowed, org-agenda-columns):
27623         Use `org-get-at-bol'.
27625 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27627         * org.el (org-special-ctrl-a/e): Improve documentation and
27628         customize type.
27629         (org-end-of-line): Don't jump to after the ellipsis.
27630         (org-mode-map): Bind <home> and <end> as well.
27632 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27634         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27635         space after #+ as comments.
27636         (org-open-at-point): Run `org-follow-link-hook' always.
27638         * org-latex.el (org-export-latex-emph-format): Use better commands
27639         to insert special characters in verbatim snippets.
27641 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27643         * org-faces.el (org-copy-face): New function.  Use it to create
27644         various faces formerly created by using `copy-face'.
27646         * org-agenda.el (org-prepare-agenda): Don't officially mark this
27647         window dedicated.
27648         (org-agenda-quit): Kill the frame containing the agenda window if
27649         that frame was created for the agenda.
27651 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27653         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27654         stamp in the agenda.
27656 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27658         * org-agenda.el (org-prepare-agenda):
27659         Reset `org-drawers-for-agenda'.
27660         (org-prepare-agenda): Uniquify list of drawers.
27662         * org.el (org-complex-heading-regexp-format): New variable.
27663         (org-set-regexps-and-options):
27664         Define `org-complex-heading-regexp-format'.
27665         (org-drawers-for-agenda): New variable.
27666         (org-map-entries): Bind `org-drawers-for-agenda'.
27667         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27669         * org-remember.el (org-go-to-remember-target)
27670         (org-remember-handler): Use `org-complex-heading-regexp-format'.
27672 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27674         * org-agenda.el (org-agenda-highlight-todo): Fix text property
27675         problem.
27677         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27678         always with `invisible-ok'.
27679         (org-store-link): No error when there is nothing to link to in the
27680         agenda.
27682         * org-list.el (org-update-checkbox-count): Insert changed cookie
27683         before the old, to avoid problems with invisibility at the end of
27684         the line.
27685         (org-update-checkbox-count): Insert changed cookie before the old,
27686         to avoid problems with invisibility at the end of the line.
27688         * org.el (org-sort-entries-or-items): Include the final newline.
27689         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27690         lines for fontification.
27691         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27692         (org-prepare-dblock): Store the current indentation of the BEGIN
27693         line.
27694         (org-update-dblock): Apply the indentation of the begin line to
27695         the rest of the block.
27696         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27697         (org-startup-folded): New allowed value `showeverything'.
27698         (org-startup-options): Add STARTUP keyword `showeverything'.
27699         (org-set-startup-visibility): Respect value `showeverything' in
27700         org-startup-folded.
27702 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27704         * org.el (org-closest-date): Fix issue with past preference.
27706         * org-archive.el (org-archive-set-tag)
27707         (org-archive-subtree-default): New commands.
27709         * org-clock.el (org-clock-clocktable-default-properties):
27710         New option.
27711         (org-clock-report):
27712         Use `org-clock-clocktable-default-properties'.
27714 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27716         * org.el (org-iswitchb-completing-read): Fix typo.
27718         * org-crypt.el: New file.
27720         * org.el: Add an entry for org-crypt.
27722 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27724         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27725         consistency.
27726         (org-batch-store-agenda-views): New function.
27727         (org-agenda-title-append): Define variable.
27728         (org-write-agenda): New export to Org files.
27729         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27730         (org-agenda): Allow to keep the restricted file list if a special
27731         variable is bound to t.
27732         (org-agenda): Define a special agenda view for working on flagged
27733         entries.
27734         (org-agenda-get-restriction-and-command): List the new agenda
27735         view.
27736         (org-agenda-show-the-flagging-note): New command.
27737         (org-agenda-mode-map): New key `?' for looking at the flagging
27738         note.
27740         * org.el (org-autoload): Autoload org-mobile.el.
27741         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27743         * org-mobile.el: New file.
27745         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27747 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27749         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27750         statements.
27751         (org-table-get-remote-range): Match indented #+TBLNAME
27752         statements.
27754         * org.el (org-convert-to-odd-levels)
27755         (org-convert-to-oddeven-levels): Work also correctly if the file
27756         is in outline-mode.
27758 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27760         * org.el (org-store-link): When in agenda buffer, link to
27761         referenced entry.
27762         (org-add-planning-info): Remove spaces at eol.
27764         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27765         property.
27767 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27769         * org-latex.el (org-export-latex-first-lines): Fix problem with
27770         LaTeX export of first line and selected subtree.
27772         * org.el (org-shifttab): Interpret arg differently when using only
27773         odd levels.
27775 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27777         * org.el (org-check-agenda-file): Use a more explicit message.
27779 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27781         * org-exp.el (org-export-remove-special-table-lines): Don't remove
27782         normal lines.
27784 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27786         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27787         prompt in the temporary window.
27789         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27790         prefix for marked entries in the agenda view.
27792 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
27794         * org.el (outline-end-of-subtree): Bugfix: advise this function in
27795         a way that prevents any trailing character from being displayed.
27797 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27799         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27800         menu.
27802         * org-exp.el (org-export-remove-special-table-lines): Remove bad
27803         slow regexp match.
27805 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27807         * org-latex.el (org-export-latex-preprocess): Do not protect in
27808         the LaTeX header.
27810         * org-src.el (org-edit-src-save): Save window setup while saving.
27811         (org-edit-src-code): Use new buffer name construction scheme.
27813 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27815         * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27816         New variable.
27817         (org-agenda-entry-text-cleanup-hook): New hook.
27818         (org-agenda-get-some-entry-text): Remove matches of
27819         `org-agenda-entry-text-exclude-regexps' and run the hook
27820         `org-agenda-entry-text-cleanup-hook'.
27822         * org.el (org-offer-links-in-entry): New argument ZERO to
27823         implement a link with index zero.
27824         (org-cycle-show-empty-lines): Not keep empty line under header
27825         hidden.
27826         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27827         to nil for special completion.
27828         (org-store-link): Don't error before the first heading.
27830         * org-agenda.el (org-agenda-open-link): Pass the prefix to
27831         `org-offer-links-in-entry'.
27833 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27835         * org-agenda.el (org-agenda-quit): Provide the window argument for
27836         `window-dedicated-p', Emacs 22 needs it.
27837         (org-format-agenda-item): If the category is a link, arrange for
27838         invisible text to replaced with spaces.
27839         (org-compile-prefix-format): Add the extra space.
27840         (org-prefix-category-length): New variable.
27842         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27843         references from TOC lines.
27845         * org.el (org-selected-window): New variable.
27847         * org-table.el (org-table-edit-formulas): Remember the selected
27848         window.
27849         (org-table-fedit-finish, org-table-fedit-abort): Select the window
27850         that was originally selected.
27852         * org-exp.el (org-export-preprocess-apply-macros): Scan the
27853         expansion of a macro for more macro definitions.
27855         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27856         invisibility overlay starts on the newline.
27858 2009-10-01  Glenn Morris  <rgm@gnu.org>
27860         * org-agenda.el (calendar-check-holidays):
27861         * org-exp.el (org-agenda-skip):
27862         * org-list.el (outline-back-to-heading):
27863         * org-wl.el (wl-summary-goto-folder-subr):
27864         * org.el (iswitchb-mode, remember, remember-buffer-desc)
27865         (remember-finalize, remember-save-after-remembering, remember-register)
27866         (remember-buffer, remember-handler-functions)
27867         (remember-annotation-functions): Remove unused declarations.
27869         * org.el (iswitchb-read-buffer): Fix declaration.
27871 2009-09-30  Glenn Morris  <rgm@gnu.org>
27873         * org-compat.el (w32-focus-frame):
27874         * org-exp-blocks.el (R):
27875         * org-exp.el (htmlize-buffer):
27876         * org-protocol.el (server-edit):
27877         * org-table.el (org-format-org-table-html):
27878         * org.el (org-indent-mode): Fix declarations.
27880         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27881         free variable `fun'.
27883 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
27885         * org-agenda.el (org-agenda-restore-windows-after-quit):
27886         Fix typo in docstring.
27888 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
27890         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27891         (org-shiftselect-error, org-ctrl-c-ctrl-c):
27892         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27893         * org-attach.el (org-attach-check-absolute-path):
27894         * org-docbook.el (org-export-as-docbook):
27895         * org-html.el (org-export-as-html):
27896         * org-id.el (org-id-update-id-locations):
27897         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27898         Fix typos in error messages.
27900 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
27902         * org-ascii.el: Require CL for the `loop' macro.
27904 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
27906         * org-gnus.el (require): Wrap (require gnus-sum) into
27907         eval-when-compile.
27909 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
27911         * org-protocol.el (org-protocol-store-link)
27912         (org-protocol-remember, org-protocol-open-source): Remove autoload
27913         cookies again.
27915         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27916         referencing the start of the line.
27918         * org-gnus.el: Remove unnecessary declare-function forms.
27919         (gnus-sum): Always require gnus-sum.
27921 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27923         * org-protocol.el (org-protocol-store-link)
27924         (org-protocol-remember, org-protocol-open-source): Add autoloads.
27926         * org-compat.el (org-float-time): New function.
27928         * org.el (org-clock-update-time-maybe)
27929         (org-sort-entries-or-items, org-do-sort)
27930         (org-evaluate-time-range, org-time-string-to-seconds)
27931         (org-closed-in-range): Use `org-float-time'.
27933         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27934         (org-timer-seconds): Use `org-float-time'.
27936         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27937         (org-clock-sum, org-dblock-write:clocktable)
27938         (org-clocktable-steps): Use `org-float-time'.
27940         * org-agenda.el (org-agenda-last-marker-time)
27941         (org-agenda-new-marker, org-diary): Use `org-float-time'.
27943         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27944         function.
27946         * org-exp.el (org-get-file-contents): Only protect lines that
27947         really need it.
27949         * org-html.el (require): Require cl for compilation.
27951         * org.el: Avoid using `default-major-mode'.
27953         * org-plot.el (require): Require CL only at compile time.
27955         * org-exp.el (require): Require CL only at compile time.
27957         * org-agenda.el (org-agenda-quit): When the agenda window is
27958         dedicated, remove other windows before exiting, so that the frame
27959         really will be killed.
27961         * org-exp.el (org-export-handle-include-files): Reset START and
27962         END for each loop cycle.
27964 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27966         * org.el (org-eval-in-calendar):
27967         Use `org-select-frame-set-input-focus'.
27969         * org-compat.el (org-select-frame-set-input-focus): New function.
27971         * org.el (org-update-statistics-cookies): New function.
27972         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
27974 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27976         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
27977         after the local variables are set.
27979         * org-latex.el (org-export-latex-protect-amp): New function.
27980         (org-export-latex-links): Protect link ampersands in tables.
27982         * org-exp.el (org-export-select-backend-specific-text): Match in
27983         two steps, to avoid regexp problems.
27985         * org.el (org-offer-links-in-entry): Improve working with many and
27986         duplicate links.
27988         * org-agenda.el (org-agenda-show-1): Make more consistent with
27989         normal cycling.
27990         (org-agenda-cycle-show): Make more consistent with normal cycling.
27992         * org-gnus.el (org-gnus-store-link): Restore the linking to a
27993         website.
27995 2009-09-02  Bastien Guerry  <bzg@gnu.org>
27997         * org-latex.el (org-export-latex-first-lines): Bugfix.
27999 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28001         * org-clock.el (org-clock-modify-effort-estimate): Emit message
28002         about new effort.
28004         * org.el (org-set-effort): New function.
28005         (org-mode-map): New key for effort setting command.
28007         * org-agenda.el (org-agenda): Keep window setup when calling
28008         agenda from within agenda window.
28009         (org-agenda-mode-map): New keys for effort setting commands.
28010         (org-agenda-menu): Add effort setting commands to menu.
28011         (org-agenda-set-property, org-agenda-set-effort): New functions.
28013         * org-latex.el (org-export-latex-tables):
28014         Fix `org-table-last-alignment' and `org-table-last-column-widths' if
28015         the first column has been removed.
28017 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28019         * org.el (org-remove-timestamp-with-keyword): Only remove in
28020         entry, not in subtree.
28022         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
28023         emacs lisp.
28025         * org.el (org-open-at-point): When on headline, offer all strings
28026         in entry.
28028         * org-remember.el (org-remember-templates): Documentation fix.
28030         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
28031         `org-get-last-sibling' instead of the outline versions of these
28032         functions.
28033         (org-get-last-sibling): New function.
28034         (org-refile): Use `org-get-next-sibling' instead of the outline
28035         version of this function.
28036         (org-clean-visibility-after-subtree-move):
28037         Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
28038         outline versions of these functions.
28040 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28042         * org-agenda.el (org-prepare-agenda): When creating a new frame
28043         for the agenda, make the window dedicated.
28045         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
28047         * org-table.el (org-table-align): Change the order of reinsertion
28048         and deletion, to avoid problems with overlays following the table.
28050         * org.el (org-parse-time-string): Better error message.
28051         (org-show-subtree): Use org-end-of-subtree.
28053         * org-macs.el (org-goto-line): New defsubst.
28055         * org.el (org-open-file, org-change-tag-in-region)
28056         (org-fast-tag-show-exit): Don't use `goto-line'.
28058         * org-table.el (org-table-align, org-table-insert-column)
28059         (org-table-delete-column, org-table-move-column)
28060         (org-table-sort-lines, org-table-copy-region)
28061         (org-table-paste-rectangle, org-table-wrap-region)
28062         (org-table-get-specials, org-table-rotate-recalc-marks)
28063         (org-table-get-range, org-table-recalculate)
28064         (org-table-edit-formulas, org-table-fedit-convert-buffer)
28065         (org-table-show-reference, org-table-highlight-rectangle):
28066         Don't use `goto-line'.
28068         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
28069         (org-edit-src-exit): Don't use `goto-line'.
28071         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
28073         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
28074         Don't use `goto-line'.
28076         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28078         * org-colview.el (org-columns, org-columns-redo)
28079         (org-agenda-columns): Don't use `goto-line'.
28081         * org-agenda.el (org-agenda-mode): Force visual line motion off.
28082         (org-agenda-add-entry-text-maxlines): Improve docstring.
28083         (org-agenda-start-with-entry-text-mode): New option.
28084         (org-agenda-entry-text-maxlines): New option.
28085         (org-agenda-entry-text-mode): New variable.
28086         (org-agenda-mode): Set initial value of
28087         `org-agenda-entry-text-mode'.
28088         (org-agenda-mode-map): Add the `E' key.
28089         (org-agenda-menu): Add entry text mode to the menu.
28090         (org-agenda-get-some-entry-text): Fix line count bug.
28091         (org-finalize-agenda): Apply entry text mode if appropriate.
28092         (org-agenda-entry-text-show-here): New function.
28093         (org-agenda-entry-text-show): New function.
28094         (org-agenda-entry-text-hide): New function.
28095         (org-agenda-view-mode-dispatch): Add entry text mode to the view
28096         key menu.
28097         (org-agenda-entry-text-mode): New command.
28098         (org-agenda-set-mode-name): Add entry text mode to the mode line
28099         string.
28100         (org-agenda-undo, org-agenda-get-restriction-and-command)
28101         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
28102         `goto-line'.
28104 2009-09-02  Bernt Hansen  <bernt@norang.ca>
28106         * org-clock.el (org-notify): Bugfix.
28108 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28110         * org-agenda.el (org-agenda-open-link): Handle multiple links and
28111         check for after-string.
28113         * org-gnus.el (org-gnus-store-link): Simplify.
28115         * org.el (org-latex-regexps): Don't add extra empty lines for
28116         display formulas.
28118 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28120         * org-agenda.el (org-agenda-get-some-entry-text): New function.
28121         (org-agenda-add-entry-text):
28122         Use `org-agenda-get-some-entry-text'.
28124         * org.el (org-cycle-separator-lines): Update docstring.
28125         (org-cycle-show-empty-lines): Handle negative values for
28126         `org-cycle-show-empty-lines'.
28128         * org-exp.el (org-export-protect-sub-super): New function.
28129         (org-export-normalize-links): Protect the url of plain links from
28130         supscript and superscript processing.
28132         * org-remember.el (org-remember-escaped-%): New function.
28133         (org-remember-apply-template): Use `org-remember-escaped-%' to
28134         detect escaped % signs.
28136 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28138         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
28139         sound when showing the notification.
28141         * org-clock.el (org-notify): New function.
28142         (org-clock-notify-once-if-expired): Use `org-notify'.
28144         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
28145         and `gnus-article-mode' separately.
28146         (gnus-summary-article-header): Fix the declare-function.
28148 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28150         * org-exp.el (org-export-format-source-code-or-example):
28151         Translate language.
28153         * org-src.el (org-src-lang-modes): New variable.
28154         (org-edit-src-code): Translate language.
28156         * org-exp.el (org-export-format-source-code-or-example): Deal wit
28157         the new structure of the `org-export-latex-listings-langs'
28158         variable.
28160         * org-latex.el (org-export-latex-listings-langs): Change structure
28161         of the variable from plist to alist.
28163 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28165         * org.el (org-in-commented-line): New function.
28167 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28169         * org.el (org-hide-block-toggle): Make folded blocks searchable.
28171 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
28173         * org.el (org-flag-drawer): More useful error.
28175 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28177         * org-remember.el (org-remember-apply-template):
28178         Use org-icompleting-read.
28180         * org-publish.el (org-publish): Use org-icompleting-read.
28182         * org-colview.el (org-columns-edit-value, org-columns-new)
28183         (org-insert-columns-dblock): Use org-icompleting-read.
28185         * org-attach.el (org-attach-delete-one, org-attach-open):
28186         Use org-icompleting-read.
28188 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28190         * org.el (org-hierarchical-todo-statistics): Improve docstring.
28191         (org-version): Return the version text.
28192         (org-org-menu): Add a menu entry for the new bug reporter.
28193         (org-submit-bug-report): New command.
28195         * org-list.el (org-hierarchical-checkbox-statistics):
28196         Improve docstring.
28198         * org.el (org-emphasis-regexp-components): Add "`" to set of
28199         pre-emphasis characters.
28201         * org-latex.el (org-export-latex-classes): Always include the soul
28202         package.
28203         (org-export-latex-emphasis-alist): Use \st for strikethough.
28205         * org-exp-blocks.el (org-export-blocks-preprocess):
28206         Use `indent-code-rigidly' to indent.
28208         * org-agenda.el (org-agenda-get-restriction-and-command):
28209         Remove properties only if MATCH really is a string.
28211 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28213         * org-latex.el (org-export-latex-packages-alist):
28214         Fix customization type.
28216         * org.el (org-create-formula-image): Also use
28217         `org-export-latex-packages-alist'.
28219         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
28220         (org-export-as-html): Format footnotes correctly.
28222 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28224         * org.el (org-fast-tag-selection): Avoid text properties on tags
28225         in the alist.
28227         * org-agenda.el (org-agenda-get-restriction-and-command):
28228         Avoid text properties on the match element.
28230 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28232         * org.el (org-set-regexps-and-options): Make sure the list of done
28233         keywords is not invalid.
28235         * org-exp.el (org-export-interpolate-newlines): New function.
28237 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28239         * org.el (org-format-latex): Avoid nested overlays.
28241         * org-latex.el (org-export-latex-listings-langs): Add a few more
28242         languages.
28244         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
28245         ignore newlines and space before the first macro argument.
28247         * org-latex.el (org-export-latex-tables): Remove save-excursion
28248         around `org-table-align'.
28250 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28252         * org.el (org-export-html-special-string-regexps):
28253         Definition moved into org.el.
28255         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
28256         in macro calls.
28258 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28260         * org-latex.el (org-export-latex-listings)
28261         (org-export-latex-listings-langs): New options.
28263         * org-exp.el (org-export-format-source-code-or-example):
28264         Use listing package if requested by the user.
28266 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28268         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
28269         command before actually switching to a buffer.
28271 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28273         * org-exp.el (org-get-file-contents): Only quote org lines when
28274         the markup is src or example.
28276         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
28277         New option.
28278         (org-agenda-get-day-entries): Remember deadline results and pass
28279         them on into the function getting the scheduling information.
28280         (org-agenda-get-scheduled): Accept deadline results as parameters
28281         and maybe skip some entries.
28282         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
28284         * org.el (org-insert-heading): When respecting content, do not
28285         convert current line to headline.
28287         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
28288         Also cheeeeeck the hd marker.
28289         (org-clock-in): Also set the hd marker.
28290         (org-clock-out): Also set the hd marker.
28291         (org-clock-cancel): Reset markers.
28293         * org.el (org-clock-hd-marker): New marker.
28295         * org-faces.el (org-agenda-clocking): New face.
28297         * org-agenda.el (org-agenda-mark-clocking-task): New function.
28298         (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
28300         * org.el (org-modules): Add org-track.el.
28302         * org-agenda.el (org-agenda-bulk-marked-p): New function.
28303         (org-agenda-bulk-mark, org-agenda-bulk-unmark):
28304         Use `org-agenda-bulk-marked-p'.
28305         (org-agenda-bulk-toggle): New command.
28307 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28309         * org.el (org-move-subtree-down): Hide subtree if it was folded,
28310         not just the body.
28312         * org-remember.el (org-remember-finalize): Avoid buffer-modified
28313         messages.
28315 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
28317         * org-html.el (org-export-as-html):
28318         * org-docbook.el (org-export-as-docbook):
28319         Use (default-value 'major-mode) instead of default-major-mode.
28321 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
28323         * org-docbook.el: Add arch-tag.
28325         * org-exp-blocks.el: Add arch-tag.
28327         * org-id.el: Add arch-tag.
28329         * org-indent.el: Add arch-tag.
28331         * org-inlinetask.el: Add arch-tag.
28333         * org-protocol.el: Add arch-tag.
28335 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28337         * org.el (org-create-formula-image): Remove the -E option for
28338         dvipng.
28340         * org-exp.el (org-default-export-plist): Respect #+BIND.
28341         (org-export-confirm-letbind): New function.
28343         * org.el (org-paste-subtree): Test the kill ring entry if it is
28344         going to be used.
28345         (org-copy-subtree): Use `org-forward-same-level'.
28346         (org-forward-same-level): Respect the `invisibe-ok' arg for
28347         back-to-heading.
28349 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28351         * org.el (org-table-map-tables): Make sure cursor is back at table
28352         beginning after funcall.
28354         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
28355         handled before children, and do not error if an entry is not
28356         found, probably because it hase been remove when the parent was
28357         archived or refiled.
28359         * org.el (org-ido-completing-read): Accept straight lists for
28360         completion as well as alists.
28362         * org-timer.el (org-timer-cancel-timers): Rename from
28363         `org-timer-cancel-timers'.
28365         * org.el (org-cycle-internal-local): Fix problem with finding next
28366         invisible line.
28368 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28370         * org-list.el (org-list-send-list):
28371         Call `org-list-goto-true-beginning' instead of
28372         `org-list-find-true-beginning', which does not exist.
28374         * org-timer.el (org-timer-reset-timers): Use `mapc'.
28375         (org-timer-set-timer): Do not assign to heading.
28377         * org-id.el (org-id-open): Quote function name.
28379         * org-macs.el (org-unmodified): Turn off recording undo
28380         information while running inside the macro.
28382         * org-table.el (org-table-export): Also work in file-less
28383         buffers.
28385         * org.el (org-startup-indented): New option.
28386         (org-startup-options): Add new options indent and noindent.
28387         (org-unfontify-region): Remove line-prefix and wrap-prefix
28388         properties.
28389         (org-after-demote-entry-hook, org-after-promote-entry-hook):
28390         New hooks.
28391         (org-promote, org-demote): Run the new hooks.
28393         * org-table.el (org-table-align): Replace leading \n as well.
28395         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
28396         and `line-wrap' text properties.
28398         * org-compat.el (org-kill-new): New function.
28400         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
28401         `line-wrap' text properties.
28403         * org-indent.el: New file.
28405 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28407         * org.el (org-provide-todo-statistics): Tweak docstring.
28409         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
28411 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28413         * org-exp.el (org-export-as-org): Insert the "-source" string
28414         before the extension.
28416         * org.el (org-read-date): Make sure the calendar is in the current
28417         frame.
28418         (org-set-emph-re): Remove the ? from the post-match.
28419         (org-emphasis-regexp-components): Add backslash to the
28420         postmatch class.
28421         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
28422         optional so that also lines at the end of the buffers will still
28423         be matched as headlines.
28425         * org-table.el (org-table-error-on-row-ref-crossing-hline):
28426         Variable made obsolete.
28427         (org-table-relative-ref-may-cross-hline): New option.
28428         (org-table-find-row-type): Honow the new option
28429         `org-table-relative-ref-may-cross-hline'.
28431 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28433         * org-table.el (org-table-cut-region, org-table-copy-region):
28434         Work on single field if no active region.
28436 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28438         * org-latex.el (org-export-latex-make-header): Only insert title
28439         if one is defined.
28441         * org.el (org-make-options-regexp): Allow empty values.
28443 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28445         * org.el (org-cycle-internal-local): Improve version of finding
28446         next visible line.
28447         (org-cycle-hide-drawers): Only hide drawers if this is really
28448         necessary.
28449         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
28450         org-version of this function in Org-mode.  We use advice to
28451         implement this change, so that future changes to this function in
28452         outline.el wil be handled properly.
28453         (org-forward-same-level, org-backward-same-level): New commands.
28455 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28457         * org.el (org-remove-empty-overlays-at)
28458         (org-clean-visibility-after-subtree-move): New functions.
28459         (org-move-subtree-down): Simplify cleanup of display.
28461 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28463         * org-mac-message.el (org-mac-message-get-links): Improve
28464         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
28465         "s".  Fix the return value.
28466         (org-mac-message-insert-flagged): Simplify.
28468         * org.el (org-refile-get-location): Tamper with refile history o
28469         that history contains compete matches instead of the entered
28470         string.
28472 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28474         * org.el (org-store-link): Never store a link to an inline task.
28476         * org-footnote.el (org-footnote-goto-local-insertion-point):
28477         Skip inline tasks when positioning footnotes.
28479         * org.el (org-refile): Remove the END line when archiving an
28480         inline task that does have an END line.
28482         * org-archive.el (org-archive-subtree): Remove the END line when
28483         archiving an inline task that does have an END line.
28485         * org-macs.el (org-with-limited-levels): New macro.
28486         (org-get-limited-outline-regexp): New function.
28488         * org-exp.el (org-export-format-source-code-or-example): Fix bug
28489         that did not enumerate first line.
28490         (org-export-mark-radio-links): Skip matches in links.
28492 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28494         * org.el (org-activate-plain-links): Make single-match.
28495         (org-adapt-indentation): Fix docstring.
28497         * org-macs.el (org-unmodified): Turn of modification hooks while
28498         running this macro.
28500 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28502         * org.el (org-adapt-indentation): Slightly improve the docstring.
28503         (org-occur): Sends an error when the user inputs an empty string.
28504         (org-priority): Bugfix: the tag alignement should happen within
28505         save-excursion.
28507 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28509         * org.el (org-make-link-regexps): Don't exclude parentheses from
28510         `org-plain-link-re'.
28511         (org-cycle-internal-local): When locally cycling, switch directly
28512         from CHILDREN to FOLDED if there is no subtree.
28513         (org-cycle): Update the docstring to document the new behavior of
28514         `org-cycle-internal-local'.
28516 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
28518         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
28519         an abbreviated format for days.
28521 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28523         * org-protocol.el (org-protocol-default-template-key):
28524         New option.
28526         * org.el (org-refile): Bugfix: save-excursion before reading the
28527         refile target, otherwise cursor moves might confuse `org-refile'.
28529         * org.el (org-toggle-heading): Bugfix: correctly convert list
28530         items before the first headline.
28532         * org.el (org-provide-todo-statistics): Allow a list of TODO
28533         keywords to compute statistics against headlines containing a
28534         keyword from this list.
28535         (org-update-parent-todo-statistics): Possibly use the new allowed
28536         value of `org-provide-todo-statistics'.
28538 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28540         * org-timer.el: Add autoload cookie.
28542         * org.el (org-occur-link-in-agenda-files): New function.
28544         * org-timer.el (org-timer-last-timer): New variable.
28546         * org-agenda.el (org-agenda-mode-map): New key for
28547         org-timer-set-timer called from the agenda.
28549         * org.el (org-mode-map): New key for org-timer-set-timer.
28551         * org-timer.el (org-timer-reset-timers)
28552         (org-timer-show-remaining-time, org-timer-set-timer):
28553         New functions.
28555         * org-clock.el (org-show-notification): Update the docstring.
28557         * org.el (org-provide-todo-statistics): Allow new value
28558         'all-headlines for this option, which includes entries with no
28559         TODO keywords in the todo statistics.
28560         (org-update-parent-todo-statistics): Possibly use the new
28561         'all-headline value from `org-provide-todo-statistics'.
28563 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28565         * org-clock.el (org-dblock-write:clocktable): Add a new option
28566         :timestamp which allows display of timestamps in clock reports.
28568         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
28569         list to a subtree, preserving the structure of the list.
28570         (org-set-emph-re): Make the last element optional in the regexp.
28571         This regexp now matches an emphasized string at the end of a line.
28573         * org-list.el (org-list-goto-true-beginning)
28574         (org-list-make-subtree, org-list-make-subtrees): New functions.
28576         * org.el (org-eval-in-calendar): Select the right frame.
28577         (org-save-frame-excursion): Remove this macro.
28579 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28581         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
28582         trying to find the beginning of a list.
28584         * org-exp.el (org-get-file-contents): Use a new argument: markup.
28585         When present, tell org-get-file-contents not to protect org-like
28586         lines.
28588         * org-id.el (org-id-uuid-program): New option to set the name of
28589         the uuidgen program.
28590         (org-id-method): Use `org-id-uuid-program'.
28591         (org-id-new): Use `org-id-uuid-program'.
28593 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28595         * org-exp.el (org-export-number-lines): Allow whitespace in code
28596         references.  Allow the -r switch to remove the references in the
28597         source code even when the lines are not numbered: the labels can
28598         be explicit enough.
28600         * org.el (org-fontify-whole-heading-line): New option.
28601         (org-set-font-lock-defaults): Use the new option.
28603         * org-clock.el (org-show-notification-handler): New option.
28604         (org-show-notification): Use the new option.
28606 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28608         * org.el (org-eval-in-calendar): Fix a bug about calendar
28609         navigation when `calendar-setup' value is 'calendar-only.
28611 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28613         * org.el (orgstruct++-mode): Fix typo in docstring.
28614         (org-insert-link): Clean up: (or (...)) => (...)
28615         (org-insert-link): Use TAB for stored links completion.
28617 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28619         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
28620         building the list of targets.
28622         * org-remember.el (org-remember-delete-empty-lines-at-end):
28623         New option.
28624         (org-remember-handler): Use the new option.
28626 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28628         * org.el (org-tags-sort-function): New option for sorting tags.
28629         (org-set-tags): Use the new option to sort tags.
28631         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28632         premature deletion of the data when using org-plot in a script.
28634 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28636         * org-clock.el (org-clock-in-prepare-hook): New hook.
28637         (org-clock-in): Use this new hook.
28639 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28641         * org.el (org-special-ctrl-a/e): Explicitly bind the value
28642         'reversed for this option to the "true line boundary first"
28643         behavior.
28644         (org-tags-match-list-sublevels): Document the 'indented value for
28645         this variable.
28647         * org-latex.el (org-export-latex-first-lines): Fix problem with
28648         publishing the region.
28650         * org-exp.el (org-export-format-source-code-or-example):
28651         Fix bad line numbering when exporting examples in HTML.
28653 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28655         * org-colview.el (org-format-time-period): Formats a time in
28656         fractional days as days, hours, mins, seconds.
28657         (org-columns-display-here): Add special handling for SINCE and
28658         SINCE_IA to format for display.
28660         * org.el (org-time-since): Add a function to get the time since an
28661         org timestamp.
28662         (org-entry-properties): Add two new special properties: SINCE and
28663         SINCE_IA.  These give the time since any active or inactive
28664         timestamp in an entry.
28665         (org-special-properties): Add SINCE, SINCE_IA.
28666         (org-tags-sort-function): Add custom declaration for tags
28667         sorting function.
28668         (org-set-tags): Sort tags if org-tags-sort-function is set.
28670 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28672         * org-clock.el (org-clock-goto): Find hidden headlines as well.
28674         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28676         * org-plot.el (org-plot/add-options-to-plist): Add timeind
28677         option.
28679 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28681         * org-publish.el (org-publish-remove-all-timestamps): New function.
28682         (org-publish-all): Remove all timestamp files if `org-publish-all'
28683         is called with a prefix argument.
28685         * org-list.el (org-indent-item): Fix typo.
28686         (org-item-indent-positions): Normalize ordered bullet.
28688 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28690         * org-macs.el (org-set-local): Make a local variable, do not make
28691         the variable buffer-local!
28693         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28695         * org-exp.el (org-infile-export-plist): Read BIND lines.
28696         (org-install-letbind): New function.
28697         (org-export-as-org, org-export-preprocess-string):
28698         Call `org-install-letbind'.
28700         * org-list.el (org-list-demote-modify-bullet): New option.
28701         (org-first-list-item-p): Save point.
28702         (org-fix-bullet-type): New optional argument FORCE-BULLET.
28703         (org-indent-item): Honor `org-list-demote-modify-bullet'.
28704         (org-item-indent-positions): Return bullet types along with
28705         indentation.
28707 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28709         * org.el (org-show-entry): Hide drawers.
28711 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28713         * org-footnote.el (org-footnote-auto-adjust): New option.
28714         (org-footnote-auto-adjust-maybe): New function.
28715         (org-footnote-new, org-footnote-delete):
28716         Call `org-footnote-auto-adjust-maybe'.
28718         * org.el (org-startup-options): Add new footnote-related
28719         keywords.
28721         * org-publish.el (org-publish-timestamp-filename): Additional
28722         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28723         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28724         TRUE-PUB-DIR.  Pass them through to
28725         `org-publish-timestamp-filename'.
28726         (org-publish-update-timestamp): Additional arguments PUB-DIR and
28727         PUB-FUNC, which are included in the hash.
28728         (org-publish-file): Delay timestamp test until the publishing
28729         function is known.
28731 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28733         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28734         setting the deadline.
28736         * org.el (org-read-date-final-answer): New variable.
28737         (org-read-date): Store the final answer string, including the date
28738         from the calendar, for reuse by agenda bulk commands.
28740         * org-publish.el (org-publish-attachment): Fix publishing of
28741         attachments.
28743         * org-latex.el (org-export-latex-quotation-marks): Fix export of
28744         quotation makrs in parenthesis.
28745         (org-remove-initial-hash): New function.
28746         (org-export-latex-preprocess): Fix bug with infinite loop if
28747         environment is not properly closed.
28749         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28750         when indented.
28752         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28753         highlight also when indented.
28755 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28757         * org-footnote.el (org-footnote-renumber-fn:N): New command.
28758         (org-footnote-action): Offer renumbering.
28760         * org.el (org-cycle): Honor the `integrate' value of
28761         org-cycle-include-plain-lists'.
28763         * org-list.el (org-cycle-include-plain-lists): New allowed value
28764         `internal'.  Improve the docstring.
28766         * org.el (org-set-autofill-regexps): Improve the paragraph-start
28767         regexp to work better with LaTeX commands.
28769 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28771         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28772         and eps extensions.
28774 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28776         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28777         loaded.
28779         * org.el (org-map-entries): No longer force
28780         `org-tags-match-list-sublevels' to t during a todo-only tags
28781         search.
28783 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28785         * org-latex.el (org-export-latex-low-levels): Allow user-defined
28786         environment.
28787         (org-export-latex-subcontent): Handle user-defined environment.
28789         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28790         the View dispatcher.
28792         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28793         `make-overlay'.
28795         * org-latex.el (org-export-as-pdf): Protect match data during call
28796         to shell-quote-argument.
28798         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28799         (org-agenda-view-mode-dispatch): New function.
28801 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28803         * org-agenda.el (org-agenda-mode): Reset list of marks.
28804         (org-agenda-mode-map): Define new keys for refile and bulk action.
28805         (org-agenda-menu): Add menu itesm for refile and bulk action.
28806         (org-agenda-refile): New function.
28807         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28808         (org-agenda-marked-entries): New variable.
28809         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28810         (org-agenda-remove-all-bulk-action-marks)
28811         (org-agenda-bulk-action): New functions/commands.
28813 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28815         * org-exp.el (org-get-file-contents): Protect org-like lines in
28816         included files.
28817         (org-export-format-source-code-or-example): Remove newlines.
28819         * org-latex.el (org-export-latex-links): Check for no-description
28820         marking.
28822         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28823         argument separator back to comma.
28824         (org-export-normalize-links): Mark links without description.
28826 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28828         * org-exp.el (org-infile-export-plist): Fix bug in macro
28829         processing.
28831         * org-agenda.el (org-agenda-clock-out): Update line after clocking
28832         out.
28833         (org-agenda-highlight-todo): Fix bug with highlighting.
28835 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28837         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28838         new alignment strings.
28840         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28841         command list.
28842         (org-table-align): Check for forced align type.
28844         * org.el (org-self-insert-command): Add yas/expand to command
28845         list.
28847         * org-clock.el (org-clock-in-hook): New hook.
28848         (org-clock-in): Run `org-clock-in-hook.
28849         (org-clock-out-hook): New hook.
28850         (org-clock-out): Run `org-clock-out-hook.
28851         (org-clock-cancel-hook): New hook.
28852         (org-clock-cancel): Run `org-clock-cancel-hook.
28853         (org-clock-goto-hook): New hook.
28854         (org-clock-goto): Run `org-clock-goto-hook.
28856 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28858         * org.el (org-store-link): Better default description for link to
28859         Org-mode headline.
28861         * org-exp.el (org-export-generic): Autoload the generic exporter
28862         function.
28863         (org-export): Implement the `g' key for the generic exporter.
28865 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28867         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28868         and for zbacktab'.
28870         * org-exp.el (org-infile-export-plist): Get macros also from
28871         #+SETUPFILE.
28873 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28875         * org-colview.el (org-columns-capture-view): Protect vertical bars
28876         in column values.
28877         (org-columns-capture-view): Exclude comment and archived trees.
28879         * org.el (org-quote-vert): New function.
28881         * org-latex.el (org-export-latex-verbatim-wrap): New option.
28883         * org-exp.el (org-export-format-source-code-or-example):
28884         Use `org-export-latex-verbatim-wrap'.
28886         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28887         time stamps.
28889 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
28891         * org-exp-blocks.el: New file.
28893 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28895         * org-remember.el (org-remember-templates): Allow the headline
28896         element to be a function.
28897         (org-remember-apply-template): If the headline is a function, call
28898         it to get the true function.
28900         * org-clock.el (org-clock-menu): New function.
28901         (org-clock-update-mode-line): Update help string.
28902         (org-clock-modify-effort-estimate): New function.
28903         (org-clock-mark-default-task): New function.
28905         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28906         minutes as input.
28907         (org-org-menu): Add new clocking stuff.
28908         (org-clock-is-active): New function.
28910 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28912         * org.el (org-open-non-existing-files): Improve docstring.
28914 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28916         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28917         New option.
28918         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28920         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28922         * org-list.el (org-get-checkbox-statistics-face): Use the new
28923         faces.
28925         * org-faces.el (org-checkbox-statistics-todo)
28926         (org-checkbox-statistics-done): New faces.
28928 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28930         * org-latex.el (org-export-latex-use-verb): New variable.
28931         (org-export-latex-emph-format): Prefer \texttt over \verb when
28932         org-export-latex-use-verb is set.
28934 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28936         * org-remember.el (org-remember-handler): Abort remember if the
28937         buffer is empty.
28939         * org-exp.el (org-export-format-source-code-or-example):
28940         Run `org-src-mode-hook'.
28942 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28944         * org.el (org-indent-line-function): Fix indentation of +#end lines.
28946 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28948         * org-gnus.el (org-gnus-store-link): Require message.el in
28949         org-gnus-store-link.
28951 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28953         * org-src.el: New file, split out of org.el.
28955         * org-macs.el (org-replace-match-keep-properties): New function.
28957         * org-exp.el (org-export-mark-blockquote-verse-center):
28958         Better preprocessing of center and quote and verse blocks.
28960         * org-list.el (org-list-end): Respect the stored "original"
28961         indentation when determining the end of the list.
28963         * org-exp.el (org-export-replace-src-segments-and-examples):
28964         Remember indentation correctly.
28966 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28968         * org-clock.el (org-clock-update-mode-line): Apply face
28969         org-mode-line-clock.
28971         * org-faces.el (org-mode-line-clock): New face.
28973 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28975         * org-gnus.el (org-gnus-store-link): Fix bug where
28976         `org-gnus-store-link' used wrong subject when called in an article
28977         buffer.  Patch provided by fengli AT gmail DOT com.
28979 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28981         * org-exp.el (org-export-format-source-code-or-example):
28982         Remember the original indentation of source code snippets and examples.
28984         * org-latex.el (org-export-as-latex): Relocate the table of
28985         contents.
28987         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
28989         * org-agenda.el (org-run-agenda-series): Scope global options also
28990         when creating the agenda buffer.
28992 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28994         * org.el (org-adapt-indentation): Improve documentation.
28995         (org-insert-property-drawer): Respect org-adapt-indentation when
28996         inserting the drawer.
28997         (org-remove-flyspell-overlays-in): New function.
28998         (org-do-emphasis-faces, org-activate-plain-links)
28999         (org-activate-code, org-fontify-meta-lines-and-blocks)
29000         (org-activate-angle-links, org-activate-footnote-links)
29001         (org-activate-bracket-links, org-activate-dates)
29002         (org-activate-target-links, org-activate-tags): Remove flyspell
29003         overlays.
29005 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29007         * org.el (org-edit-src-save): New function.
29009         * org-clock.el (org-clock-out-switch-to-state): New option.
29010         (org-clock-out): Honor `org-clock-out-switch-to-state'.
29012         * org-compat.el (org-compatible-face): Improve macro.
29014         * org.el (org-global-properties-fixed): Add default for
29015         CLOCK_MODELINE_TOTAL.
29017         * org-clock.el (org-clock-sum): Accept lists and strings as tstart
29018         and tend.
29019         (org-clock-sum-current-item): Optional argument TSTART, pass it to
29020         org-clock-sum.
29021         (org-clock-get-sum-start): New function.
29023         * org.el (org-startup-options): New keywords blockhide and
29024         blockshow.
29025         (org-mode): Add new invisibility spec.
29026         (org-set-startup-visibility): Hide block on startup if so
29027         desired.
29028         (org-hide-block-startup): New option.
29029         (org-block-regexp): New constant.
29030         (org-hide-block-overlays): New variable.
29031         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
29032         (org-show-block-all, org-hide-block-toggle-maybe)
29033         (org-hide-block-toggle): New functions.
29034         (org-edit-src-exit): Do not quote lines starting with # and no +
29035         behind it.
29036         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
29037         entry.
29039 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29041         * org.el (org-buffer-property-keys): Add Effort property for
29042         completion.
29044 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29046         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
29047         when retrieving total clocked time in the subtree.
29049         * org.el (org-quoting-blocks): New variable.
29051 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29053         * org-table.el (org-table-store-formulas)
29054         (org-table-get-stored-formulas, org-table-fix-formulas)
29055         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
29056         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
29058         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
29059         Allow indented #+TBLFM line.
29061         * org-footnote.el (org-footnote-goto-local-insertion-point):
29062         Allow indented #+TBLFM line.
29064         * org-colview.el (org-dblock-write:columnview): Allow indented
29065         #+TBLFM line.
29067         * org-clock.el (org-dblock-write:clocktable): Allow indented
29068         #+TBLFM line.
29070 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29072         * org-exp.el (org-export-format-source-code-or-example):
29073         Make editing indented blocks work correctly.
29075         * org.el (org-edit-src-nindent): New variable.
29076         (org-edit-src-code, org-edit-fixed-width-region)
29077         (org-edit-src-find-region-and-lang, org-edit-src-exit):
29078         Make editing indented blocks work correctly.
29080 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29082         * org-exp.el (org-export-replace-src-segments-and-examples):
29083         Find indented blocks.
29084         (org-export-format-source-code-or-example): Fix indentation of
29085         blocks.
29086         (org-export-remove-indentation): New function.
29087         (org-export-select-backend-specific-text): Allow backend-specific
29088         code to be indented.
29089         (org-export-mark-blockquote-verse-center): Allow markers to be
29090         indented.
29092         * org.el (org-fontify-meta-lines): New function.
29093         (org-set-font-lock-defaults): Call the new fontification
29094         function.
29096         * org-faces.el (org-meta-line): New face.
29097         (org-block): New face.
29099 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29101         * org.el (org-treat-insert-todo-heading-as-state-change)
29102         (org-treat-S-cursor-todo-selection-as-state-change):
29103         New variables.
29104         (org-insert-todo-heading):
29105         Honor `org-treat-insert-todo-heading-as-state-change'.
29106         (org-shiftright, org-shiftleft):
29107         Honor `org-treat-S-cursor-todo-selection-as-state-change'.
29108         (org-inhibit-logging): New variable.
29110 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29112         * org-agenda.el (org-remove-subtree-entries-from-agenda):
29113         Reduce range for marker position checking.
29115         * org-latex.el (org-export-latex-first-lines): Fix bug when
29116         exporting a region.
29118 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29120         * org-exp.el (org-export-push-to-kill-ring): Protect using
29121         x-set-selection, because that does not always work.
29123         * org-agenda.el (org-agenda-list): Apply the new face
29124         `org-agenda-date-today'.
29126         * org-faces.el (org-agenda-date-today): New face.
29128 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29130         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
29131         creating appointments.
29133         * org-latex.el (org-export-latex-low-levels): Fix customization
29134         type.
29136         * org.el (org-priority, org-shiftup, org-shiftdown):
29137         Disable priority commands.
29139         * org-agenda.el (org-agenda-priority): Disable priority commands.
29141         * org.el (org-enable-priority-commands): New option.
29143         * org-colview.el (org-columns-compute)
29144         (org-columns-number-to-string): Fix problems with empty fields.
29146         * org-exp.el (org-export-push-to-kill-ring): New function.
29147         (org-export-copy-to-kill-ring): New option.
29149         * org-latex.el (org-export-as-latex):
29150         Call `org-export-push-to-kill-ring'.
29152         * org-exp.el (org-export-show-temporary-export-buffer):
29153         New option.
29155         * org-latex.el (org-export-as-latex):
29156         Use `org-export-show-temporary-export-buffer'.
29158         * org-exp.el (org-export-show-temporary-export-buffer):
29159         New option.
29160         (org-export-push-to-kill-ring): New function.
29162         * org-colview.el (org-columns-compile-map): New variable.
29163         (org-columns-new, org-columns-compute)
29164         (org-columns-number-to-string, org-columns-uncompile-format)
29165         (org-columns-compile-format): Implement new operators.
29167 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29169         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
29171         * org-list.el (org-update-checkbox-count): Make property
29172         dependent.
29174         * org.el (org-hierarchical-todo-statistics): New option.
29175         (org-update-parent-todo-statistics): Modify to handle recursive
29176         statistics.
29178 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29180         * org-publish.el (org-publish): Make this function behave
29181         correctly in interactive use when called with a prefix argument.
29183         * org.el (org-todo-statistics-hook): New hook.
29184         (org-update-parent-todo-statistics): Use new hook.
29185         (org-log-into-drawer): New function.
29186         (org-add-log-setup): Use the new `org-log-into-drawer' function to
29187         determine if we should be logging into a drawer.
29188         (org-log-into-drawer): Update docstring.
29189         (org-default-properties): Add LOG_INTO_DRAWER as a property.
29191         * org-list.el (org-checkbox-statistics-hook): New hook.
29192         (org-update-checkbox-count-maybe): Use new hook.
29194 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29196         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
29197         better buffer-generating mechanism.
29198         (org-edit-src-find-buffer): New function.
29200         * org-icalendar.el (org-print-icalendar-entries): Don't check for
29201         archive tag, this is already done by `org-agenda-skip'.
29202         data while constructing lost of tags.
29204 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29206         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
29207         as argument separator in macros.
29209 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29211         * org.el (org-after-sorting-entries-or-items-hook): New hook.
29212         (org-sort-entries-or-items): Run the new hook.
29213         (org-after-refile-insert-hook): New hook.
29214         (org-refile): Run `org-after-refile-insert-hook'.
29216         * org-agenda.el (org-agenda-get-progress): Never take time of day
29217         from headline when displaying progress.
29219         * org-latex.el (org-export-latex-complex-heading-re): New variable.
29220         (org-export-as-latex): Force the correct regexp in the
29221         preprocessor buffer.
29222         (org-export-latex-set-initial-vars):
29223         Set `org-export-latex-complex-heading-re'.
29225         * org-agenda.el (org-agenda-start-with-log-mode): New option.
29226         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
29228 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29230         * org-latex.el (org-export-latex-tables-centered): New option.
29231         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
29233         * org-exp.el (org-export-as-org): New command.
29234         (org-export-as-org): New command.
29236         * org-publish.el (org-publish-org-to-org): New function.
29238 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29240         * org.el (org-yank): Just call `org-yank-generic'.
29241         (org-yank-generic): New function, containing the formaer
29242         functionality of `org-yank'.
29244         * org-latex.el (org-export-latex-not-done-keywords)
29245         (org-export-latex-done-keywords): New variables.
29246         (org-export-latex-todo-keyword-markup): New option.
29247         (org-export-latex-set-initial-vars): Remember the TODO keywords.
29248         (org-export-latex-keywords-maybe): Apply the TODO markup.
29250 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29252         * org-exp.el (org-infile-export-plist): Add more default macros.
29253         (org-export-preprocess-apply-macros): Process macro arguments.
29255 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29257         * org-icalendar.el (org-icalendar-include-todo): New allowed value
29258         `unblocked'.
29259         (org-print-icalendar-entries): Respect the new value of
29260         `org-icalendar-include-todo'.
29262         * org.el (org-link-try-special-completion)
29263         (org-file-complete-link): New functions.
29264         (org-insert-link): Add special completion support for some link
29265         types.
29267         * org-bbdb.el (org-bbdb-complete-link): New function.
29269 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29271         * org-list.el (org-update-checkbox-count): Allow recursive
29272         statistics.
29273         (org-hierarchical-checkbox-statistics): New option.
29275         * org.el (org-cycle): Remove erraneous space character.
29277         * org-icalendar.el (org-icalendar-timezone): Initialize from
29278         environment.
29280 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29282         * org.el (org-autoload): Fix autoloading of ascii export
29283         functions.
29284         (org-modules): Add org-special-blocks.
29286 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29288         * org-icalendar.el (org-start-icalendar-file): Use the new option.
29289         (org-ical-timezone): New option.
29291         * org-exp.el (org-export-get-coderef-format): Use the description
29292         is present.
29294         * org.el (org-sort-entries-or-items): Improve docstring, and make
29295         better implementation for time sorting.
29297 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29299         * org.el (org-edit-src-persistent-message): New option.
29300         (org-edit-src-code, org-edit-fixed-width-region): Use the new
29301         option.
29303         * org-clock.el (org-clock-insert-selection-line): Fix prefious
29304         patch.
29306         * org.el (org-edit-src-code, org-edit-fixed-width-region):
29307         Use separate buffer instead of indirect buffer to edit source code.
29308         (org-edit-src-exit): Make this function work with the new setup.
29310         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
29311         are properly fontified before shown in the selection menu.
29313         * org.el (org-fontify-like-in-org-mode): New function.
29315         * org-latex.el (org-export-latex-links): Use the property list to
29316         retrieve the default image attributes.
29318         * org-exp.el (org-export-plist-vars): Add a new option.
29320 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29322         * org-exp.el (org-export, org-export-visible): Support ASCII
29323         export to buffer.
29324         (org-export-normalize-links): Do not protect the description if it
29325         is explicitly given.
29327         * org-list.el (org-reset-checkbox-state-subtree): Move here from
29328         org-checklist.el.
29329         (org-reset-checkbox-state-subtree):
29330         Call `org-reset-checkbox-state-subtree'.
29332         * org-remember.el (org-select-remember-template): For the
29333         selection of a valid template.
29335         * org-latex.el (org-export-region-as-latex): Supply the
29336         force-no-subtree argument.
29337         (org-export-as-latex): Provide better limits when exporting the
29338         first line.  When exporting to string, we still want the first
29339         lines.
29340         (org-export-latex-first-lines): New argument END, to force the end
29341         of the region.
29342         (org-export-region-as-latex): Use the property list.
29343         (org-export-as-latex): ????
29345 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29347         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
29348         (org-export-latex-preprocess): Run the new hook.
29350         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
29351         (org-export-preprocess-string): Run the new hook.
29353 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29355         * org-macs.el (org-check-external-command): New defsubst.
29357         * org.el (org-mode-map): New key for reload.
29358         (org-format-latex): Better error message when external programs
29359         are not available.
29361         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
29363         * org.el (org-sort-entries-or-items): Explicit sorting function
29364         for priorities, needed for XEmacs compatibility.
29366         * org-remember.el (org-remember-apply-template): Improve auto-save
29367         behavior.
29369 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29371         * org-latex.el (org-export-latex-preprocess): Also protect
29372         environments ending in a star.
29374         * org-list.el (org-at-item-p): Fix regular expression.
29376 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29378         * org.el (org-end-of-subtree): Improve speed.
29380         * org-agenda.el (org-agenda-get-timestamps)
29381         (org-agenda-get-progress, org-agenda-get-deadlines)
29382         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
29383         in particular, wait as long as possible to collect the tags.
29384         (org-stuck-projects): Improve docstring.
29386         * org.el (org-store-link): No errors when getting custom id before
29387         first headline.
29388         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
29390 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29392         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
29394         * org-protocol.el: Remove dependency on url.el.
29395         (org-protocol-unhex-compound, org-protocol-open-source):
29396         Remove dependency on url.el.
29398         * org-latex.el (org-export-as-pdf):
29399         Use `org-latex-to-pdf-process'.
29401 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29403         * org-latex.el (org-latex-to-pdf-process): New option.
29405         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
29406         New option.
29407         (org-agenda-get-timestamps):
29408         Honor `org-agenda-skip-additional-timestamps-same-entry'.
29410         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
29411         (org-clock-goto): Find recent task only if
29412         `org-clock-goto-may-find-recent-task' allows it.
29414         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
29415         drawers, and drawers that are missing the :END: line.
29417 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29419         * org-clock.el (org-clock-goto): Go to recently clocked task if no
29420         clock is running.
29422 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29424         * org.el (org-update-parent-todo-statistics): Check for
29425         STATISTICS_FROM property.
29427         * org-list.el (org-update-checkbox-count): Check for
29428         STATISTICS_FROM property.
29430         * org.el (org-tab-first-hook)
29431         (org-tab-after-check-for-table-hook)
29432         (org-tab-after-check-for-cycling-hook): New hooks.
29433         (org-cycle-internal-global, org-cycle-internal-local):
29434         New functions, split out from `org-cycle'.
29435         (org-cycle): Call the new hooks.
29437 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29439         * org-exp.el (org-export-preprocess-string): Reset the list of
29440         preferred targets for each run of the preprocessor.
29442         * org.el (org-refile-target-verify-function):
29443         Improve documentation.
29444         (org-get-refile-targets): Respect point being moved by the
29445         verification function.
29447         * org-latex.el (org-export-latex-timestamp-keyword-markup):
29448         New option.
29449         (org-export-latex-keywords): Use new option.
29451         * org.el (org-rear-nonsticky-at): New defsubst.
29452         (org-activate-plain-links, org-activate-angle-links)
29453         (org-activate-footnote-links, org-activate-bracket-links)
29454         (org-activate-dates, org-activate-target-links)
29455         (org-activate-tags): Place the rear-nonsticky properties at the
29456         correct location.
29458 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29460         * org-protocol.el (server-edit): Declare `server-edit'.
29461         (org-protocol-unhex-string, org-protocol-unhex-compound):
29462         New functions.
29463         (org-protocol-check-filename-for-protocol): Call `server-edit'.
29465         * org.el (org-default-properties): New default properteis for
29466         completion.
29468         * org-exp.el (org-export-add-subtree-options): Add new properties
29469         for subtree export.
29471 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29473         * org-id.el (org-id-get-with-outline-path-completion): Turn off
29474         org-refile-target-verify-function for the duration of the command.
29476         * org.el (org-link-to-org-use-id): New possible value
29477         `create-if-interactive-and-no-custom-id'.
29478         (org-store-link): Use custom IDs.
29479         (org-link-search): Find custom ID properties from #link.
29480         (org-default-properties): Add CUSTOM_ID for property completion.
29481         (org-refile-target-verify-function): New option.
29482         (org-goto): Turn off org-refile-target-verify-function
29483         for the duration of the command.
29485 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29487         * org-exp.el (org-export-preferred-target-alist): New variable.
29488         (org-export-define-heading-targets): Find the new CUSTOM_ID
29489         property.
29490         (org-export-target-internal-links): Target the custom ids when
29491         possible.
29493         * org-latex.el (org-export-latex-preprocess): Better regexp for
29494         matching latex macros with arguments.
29496 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29498         * org-remember.el (org-remember-handler): Allow filing to non-org
29499         files.
29501 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
29503         * org-table.el (org-table-fix-formulas): Do not change references
29504         to remote tables.
29505         (org-table-get-remote-range): Convert standard coordinates to RC
29506         format.
29508         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
29510 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29512         * org-compat.el (org-sha1-string): Function removed.
29514         * org.el (org-refile-allow-creating-parent-nodes): New option.
29515         (org-refile-get-location): New argument NEW-NODES.
29516         (org-refile): Call `org-refile-get-location' with the new
29517         argument.
29518         (org-refile-get-location): Arrange for adding a new child.
29519         (org-refile-new-child): New function.
29521         * org-clock.el: Fix a number of docstrings.
29522         (org-clock-find-position): New argument
29523         FIND-UNCLOSED to make the function find an unclosed clock in the
29524         entry.
29525         (org-clock-in): Call `org-clock-find-position' with the new
29526         argument if we might be resuming a clock.
29528 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29530         * org-latex.el (org-export-latex-display-custom-times): New variable.
29531         (org-export-latex-timestamp-markup): New option.
29532         (org-export-latex-set-initial-vars): Remember the local value of
29533         `org-display-custom-times'.
29534         (org-export-latex-content): Process time stamps.
29535         (org-export-latex-time-stamps): New function.
29537         * org-macs.el (org-maybe-intangible): Add intangible property
29538         again to invisible text.
29540 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29542         * org-exp.el (org-default-export-plist): Handle undefined
29543         variables.
29545 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29547         * org.el (org-sort-entries-or-items): Match TODO keywords
29548         case-sensitively, when sorting.
29549         (org-priority): Do not match TODO keywords with wrong case.
29551 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29553         * org.el (org-todo): Honor the NOBLOCKING property.
29555         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
29556         NOBLOCKING property.
29558         * org.el (org-scan-tags): Fix bug in tag scanner.
29560 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29562         * org.el (org-modules): Mark obsolete packages.
29564         * org-html.el: New file, split out from org-exp.el.
29566         * org-icalendar.el: New file, split out from org-exp.el.
29568         * org-xoxo.el: New file, split out from org-exp.el.
29570         * org-ascii.el: New file, split out from org-exp.el.
29572 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29574         * org-compat.el (org-find-library-name): New function.
29576         * org.el (org-pre-cycle-hook): New hook.
29577         (org-cycle): Call the new hook in appropriate places.
29578         (org-reload): Only reload files that have been loaded before.
29580 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29582         * org.el (org-set-font-lock-defaults): Enforxe space or line end
29583         after todo keyword.
29584         (org-todo): When changing TODO state, do matching
29585         case-sensitively.
29586         (org-map-continue-from): New variable.
29587         (org-scan-tags): Respect values in `org-map-continue-from'.
29588         (org-reload): Make XEmacs compatible.
29590 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29592         * org-protocol.el (org-protocol-flatten-greedy): New function.
29593         (org-protocol-flatten): New function.
29595         * org.el (org-open-link-from-string): Pass reference buffer to
29596         `org-open-at-point'.
29597         (org-open-at-point): New optional argument `reference-buffer'.
29599 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29601         * org.el (org-scan-tags): Make tag scan find headline in first
29602         line, 2nd attempt.
29603         (org-get-refile-targets): Add the naked file name.
29604         (org-refile): Store as top-level entry when only file name was
29605         given.
29607         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
29609         * org.el (org-block-todo-from-children-or-siblings-or-parent):
29610         Rename from org-block-todo-from-children-or-siblings, and
29611         enhanced to look for the parent's status as well.
29613         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
29614         (org-agenda-get-progress): Add first notes line to log entry if so
29615         desired.
29617 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29619         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
29620         (org-agenda-cleanup-fancy-diary): Call the new hook.
29622         * org-remember.el (org-remember-apply-template): Take the default
29623         for the annotation from the :annotation property.
29625         * org-mac-message.el (org-mac-message-get-link): Remove the
29626         quotes.
29627         (org-mac-message-get-link): Return the result.
29629 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29631         * org.el (org-refile-get-location): Add file name only if not
29632         already included in outline path.
29634         * org-faces.el (org-n-level-faces): Fix customization type from
29635         number to integer.
29637         * org-exp.el (org-export-headline-levels): Fix customization type
29638         from number to integer.
29640         * org-agenda.el (org-agenda-confirm-kill)
29641         (org-agenda-custom-commands-local-options)
29642         (org-timeline-show-empty-dates, org-agenda-ndays)
29643         (org-agenda-start-on-weekday, org-scheduled-past-days):
29644         Fix customization type from number to integer.
29646 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29648         * org-protocol.el: Declare some functions.
29650         * org-agenda.el (org-agenda-compare-effort):
29651         Honor `org-sort-agenda-noeffort-is-high'.
29652         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29653         (org-agenda-compare-effort): Implement the "?" operator for
29654         finding entries without effort setting.
29656         * org.el (org-extract-attributes-from-string): New function.
29658         * org-exp.el (org-export-splice-attributes): New function.
29660 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29661         Daniel M German  <dmg@uvic.org>
29662         Sebastian Rose  <sebastian_rose@gmx.de>
29663         Ross Patterson  <me@rpatterson.net>
29665         * org-protocol.el: New file.
29667 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
29669         * org-docbook.el: New file.
29671 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29673         * org-mouse.el: XEmacs compatibility fixes.
29675         * org.el (org-modules): Add org-inlinetasks.el.
29676         (org-cycle): Implement limiting level on cycling.
29677         (org-move-subtree-down): Fix bug with swapping subtrees at end of
29678         buffer.
29680         * org-inlinetask.el: New file.
29682         * org.el (org-emphasis-regexp-components): Allow braces in
29683         emphasis pre and post match.
29685         * org-footnote.el (org-footnote-normalize): When only sorting, do
29686         not insert inline notes at the end.
29688         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29690 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29692         * org.el (org-reftex-citation): New command.
29694 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29696         * org-agenda.el (org-agenda-cmp-user-defined): New option.
29697         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29698         sorting options.
29699         (org-entries-lessp): Apply the new sorting option.
29701         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29702         blocker code, when an older sibling has children.
29704         * org-mac-message.el (org-mac-message-get-link): Improve getting
29705         links from multiple selected messages.
29707 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29709         * org-remember.el (org-remember-finalize): Do not set buffer file
29710         name to nil.
29711         (org-remember-handler): Mark buffer as unmodified.
29712         (org-remember-handler): Delete backup file and show message about
29713         remaining backup files.
29714         (org-remember-auto-remove-backup-files): New option.
29716         * org.el (org-store-link): Use buffer name as link description in
29717         w3-mode buffers.
29718         (org-ido-switchb): Fix argument bug for completion.
29720         * org-remember.el (org-remember-apply-template): Set local
29721         variable `auto-save-visited-file-name' instead of global one.
29723 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29725         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29726         (org-agenda-get-todos): Mark file tags as inherited.
29727         (org-agenda-list): Always search diary lines for a time.
29729 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29731         * org-feed.el: New file.
29733         * org-exp.el (org-export-as-html): Close local lists depending on
29734         indentation, also when starting a table.
29736         * org-remember.el (org-remember-backup-directory)
29737         (org-remember-backup-name): New internal variable.
29739 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29741         * org-clock.el (org-clock-out-if-current): Make buffer detection
29742         work in indirect buffers as well.
29744         * org.el (org-emphasis-regexp-components): Add the exxclamation
29745         mark to the post-emphasis characters.
29747 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29749         * org.el (org-read-date-minibiffer-septup-hook): New hook.
29750         (org-read-date): Run the new hook.
29752         * org-mac-message.el (org-mac-flagged-mail): New group.
29753         (org-mac-mail-account): New variable.
29754         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29755         New commands.
29757         * org-remember.el (org-remember-backup-directory): New variable.
29758         (org-remember-apply-template): Write file to backup directory.
29760 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29762         * org-mouse.el (org-mouse-todo-menu): New function.
29763         (org-mouse-todo-keywords): Function removed.
29764         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29766         * org-table.el (org-table-beginning-of-field)
29767         (org-table-end-of-field): New commands.
29768         (org-table-previous-field, org-table-beginning-of-field):
29769         Better error messages.
29770         (orgtbl-setup): Include `M-a' and `M-e'.
29772         * org.el (org-backward-sentence, org-forward-sentence):
29773         New commands.
29775         * org-colview.el (org-colview-initial-truncate-line-value):
29776         New variable.
29777         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29778         (org-columns): Remember the value of `truncate-lines'.
29780         * org.el (org-columns-skip-arrchived-trees): New option.
29782         * org-agenda.el (org-agenda-export-html-style): Define color for
29783         org-agenda-done face.
29784         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29785         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29787         * org.el (org-scan-tags): Use the new face.
29789         * org-faces.el (org-agenda-done): New face.
29791         * org.el (org-scan-tags): Test the value org
29792         `org-tags-match-list-sublevels'.
29793         (org-tags-match-list-sublevels): New allowed value: indented.
29795         * org-latex.el (org-export-latex-make-header): Apply macros
29796         in header.
29798         * org-exp.el (org-export-apply-macros-in-string): New function.
29800         * org-latex.el (org-export-latex-list-parameters): Fix bug
29801         with the definition of a checked box.
29803         * org-clock.el (org-clock-find-position): Fix drawer indentations.
29805         * org-latex.el (org-export-latex-low-levels): More options
29806         for how to process lower levels in LaTeX.
29807         (org-export-latex-subcontent): Better treatment for lists as a
29808         means of publishing lower levels.
29810 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29812         * org.el (org-set-font-lock-defaults): Use new checkbox face.
29814         * org-faces.el (org-checkbox): New face.
29816         * org-exp.el (org-export-html-preprocess): Only create LaTeX
29817         fragement images if there is an export file.
29819 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29821         * org-agenda.el (org-stuck-projects): Document that the subtree of
29822         projects that are not stuck will now be searched for stuck
29823         sub-projects.
29824         (org-agenda-skip-entry-when-regexp-matches)
29825         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29826         (org-agenda-list-stuck-projects):
29827         Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29829         * org-latex.el (org-export-latex-preprocess):
29830         Improve export of verses.
29832         * org-exp.el (org-export-as-html): Implement centering as a div
29833         rather than a paragraph.  Do a better job with line-end in verse
29834         environments.
29836 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29838         * org.el (org-open-at-point): Fix tags searches by mouse click.
29840 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29842         * org-latex.el (org-export-latex-preprocess): Implement the
29843         centering markup.
29845         * org-exp.el (org-export-mark-blockquote-verse-center):
29846         Rename from `org-export-mark-blockquote-and-verse'.
29847         (org-export-as-html): Implement the centering markup.
29849         * org-latex.el (org-export-latex-tables): Fix vertical
29850         lines in tables.
29852 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29854         * org.el (org-read-date-history): New variable.
29855         (org-read-date): Use new history variable.
29856         (org-toggle-heading): Fix bug when used before first headline.
29857         (org-store-log-note): Remove drawer if empty while note is
29858         aborted.
29859         (org-remove-empty-drawer-at): New function.
29860         (org-check-after-date): New command.
29861         (org-sparse-tree): New sparse tree command "a".
29863         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29865 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29867         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29868         column and a space, not only a column.
29870 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29872         * org-latex.el (org-export-latex-emphasis-alist):
29873         Better defaults for verbose emphasis.
29874         (org-export-latex-emph-format): New function.
29875         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29877         * org-agenda.el (org-agenda-menu): Add new commands to menu.
29878         (org-agenda-do-date-later, org-agenda-do-date-earlier)
29879         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29880         (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29881         New commands.
29883         * org.el (org-timestamp-change): Move end-time along with start
29884         time.
29886 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29888         * org-exp.el (org-export-target-internal-links)
29889         (org-export-as-html): Protect links specified as #name.
29891 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29893         * org.el (org-clone-subtree-with-time-shift): New command.
29895         * org-latex.el (org-export-latex-special-chars)
29896         (org-export-latex-treat-sub-super-char): Fix subscript export.
29898         * org-exp.el (org-create-multibrace-regexp): Do not add
29899         backslashes to the class.
29901 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29903         * org-colview.el (org-columns-map): Better functions for moving up
29904         and down a row, even if `truncate-line' is nil.
29906         * org.el (org-insert-todo-heading): Make sure the keyword is
29907         inserted at the correct position.
29909         * org-publish.el (org-publish-project-alist)
29910         (org-publish-projects, org-publish-org-index): Change default anme
29911         for the index of file names to "sitemap.org".
29913         * org-latex.el (org-export-latex-tables):
29914         Use `org-split-string', for Emacs 21 compatibility.
29916 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29918         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29920 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29922         * org-exp.el (org-export-page-description)
29923         (org-export-page-keywords): New variables.
29924         (org-export-plist-vars): Add entries for :keywords and
29925         :description.
29926         (org-infile-export-plist): Parse for new keywords.
29927         (org-get-current-options): Add new keywords.
29928         (org-export-as-html): Publish description and keywords.
29930         * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29931         New option.
29932         (org-agenda-add-entry-text):
29933         Honor `org-agenda-add-entry-text-descriptive-links'.
29935         * org-latex.el (org-export-latex-preprocess): Make all
29936         external preprocess functions use a PARAMETER arg.
29938         * org-exp.el (org-export-preprocess-string)
29939         (org-export-select-backend-specific-text)
29940         (org-export-format-source-code-or-example)
29941         (org-format-org-table-html): Support docbook export.
29942         (org-export-preprocess-string): Make all external preprocess
29943         functions use a PARAMETER arg.
29945 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29947         * org-exp.el (org-export-html-style-include-scripts): New option.
29948         (org-export-plist-vars): Add new option
29949         `org-export-html-style-include-scripts'.
29950         (org-export-as-html): Honor new option
29951         `org-export-html-style-include-scripts'.
29952         (org-export-html-scripts, org-export-html-style-default):
29953         Fix xml issues with the Safari browser.
29955 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29957         * org-publish.el (org-publish-attachment): Only copy file when the
29958         directories differ.
29960 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29962         * org-clock.el (org-clocktable-steps): Use inactive time stamps
29963         for clocktable steps.
29965         * org.el (org-additional-option-like-keywords): Add two more
29966         keywords.
29968 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29970         * org-exp.el (org-export-format-source-code-or-example):
29971         Mark temporary buffer unmodified, so that it will be killed even if
29972         mode like message mode has decided to assign a file name.
29974         * org.el (org-scan-tags): Improve tag inheritance.
29975         (org-scan-tags, org-make-tags-matcher): Make tag comparison
29976         case-sensitive.
29977         (org-scan-tags): Use the internal tags list instead of creating it
29978         from scratch.
29979         (org-trust-scanner-tags, org-scanner-tags): New variables.
29980         (org-scan-tags): Set `org-scanner-tags'.
29981         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
29982         (org-map-entries): Document the possible speedup using scanner
29983         tags.
29985 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29987         * org.el (org-add-planning-info): Fix bug with looking for keyword
29988         only at column 0.
29990         * org-agenda.el (org-agenda-custom-commands-local-options):
29991         Add option for tags filter preset.
29992         (org-prepare-agenda): Store filter preset as a property on the
29993         filter variable.
29994         (org-finalize-agenda): Call the filter, if there is a preset.
29995         (org-agenda-filter-by-tag): Filter again after clearing the
29996         filter, when there still is a preset.
29997         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
29998         Include the preset filter.
29999         (org-agenda-redo): Apply the filter again, also the preset filter.
30001         * org-exp.el (org-export-as-html): Use IDs in the correct way.
30003         * org.el (org-uuidgen-p): New function.
30005         * org-agenda.el (org-agenda-fontify-priorities): New default value
30006         `cookies'.
30007         (org-agenda-fontify-priorities): Rename from
30008         org-fontify-priorities.
30010         * org.el (org-set-font-lock-defaults):
30011         Call `org-font-lock-add-priority-faces'.
30012         (org-font-lock-add-priority-faces): New function.
30014         * org-faces.el (org-set-tag-faces): New option.
30015         (org-priority-faces): New variable.
30017         * org-exp.el (org-export-as-html): Add a "content" div around the
30018         entire content of the body tag.
30019         (org-export-html-get-bibliography): New function.
30020         (org-export-html-validation-link): New variable.
30021         (org-export-as-html): Add validation link to exported page.
30023         * org.el (org-match-sparse-tree): Rename from
30024         `org-tags-sparse-tree'.
30025         (org-tags-sparse-tree): New alias.
30027 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30029         * org.el (org-get-valid-level): Catch the case where the level
30030         change is nil.
30032         * org-clock.el (org-clock-find-position): Better indentation of
30033         new clock drawers.
30035 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30037         * org-agenda.el (org-agenda-quit): Delete window only when the
30038         frame-setup was not `current-window'.
30040         * org.el (org-tag-persistent-alist): New option.
30041         (org-startup-options): Add keyword `noptag'.
30042         (org-fast-todo-selection): Handle :newline correctly.
30043         (org-set-tags): Handle :newline correctly.
30044         (org-fast-tag-selection): Handle :newline correctly.
30046 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30048         * org-exp.el (org-export-as-ascii): Reverse link buffer before
30049         outputting it.
30050         (org-export-ascii-push-links): Fix bug with pussing links into the
30051         export buffer.
30053 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30055         * org-archive.el (org-archive-subtree): Do not add 1 to level if
30056         pasting at top level.
30058         * org-bbdb.el: Improve documentation.
30060 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30062         * org-list.el (org-insert-item): Only consider insert empty lines
30063         is `org-empty-line-terminates-plain-lists' is not nil.
30065         * org.el (org-blank-before-new-entry): Mention the dependence on
30066         `org-empty-line-terminates-plain-lists' in the docstring.
30068         * org-publish.el (org-publish-get-project-from-filename):
30069         New optional argument UP.  Only find the top project if UP is set.
30070         (org-publish-current-project): Find the top encloding project.
30072         * org-agenda.el (org-agenda-before-write-hook)
30073         (org-agenda-add-entry-text-maxlines): New options.
30074         (org-write-agenda): Run the new hook in the temporary buffer.
30075         (org-agenda-add-entry-text): New function.
30076         (org-write-agenda): Implement PDF export, using ps2pdf.
30078         * org.el (org-global-properties-fixed, org-global-properties):
30079         Improve documentation string.
30081         * org-exp.el (org-export-ascii-links-to-notes): New option.
30082         (org-export-as-ascii): Handle links better.
30083         (org-export-ascii-wrap, org-export-ascii-push-links):
30084         New functions.
30086 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30088         * org-agenda.el (org-agenda): Make prefix arg optional.
30089         (org-agenda-search-headline-for-time): New option.
30090         (org-format-agenda-item):
30091         Honor `org-agenda-search-headline-for-time'.
30093         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
30094         characters.
30096         * org.el (org-self-insert-cluster-for-undo): New option.
30097         (org-self-insert-command): Cluster undo for 20 characters.
30098         (org-self-insert-command-undo-counter): New variable.
30100 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30102         * org-exp.el (org-export-as-html): Fix problem with closing colone
30103         example.
30105 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30107         * org-latex.el (org-export-as-latex)
30108         (org-export-latex-first-lines): Avoid modification flag when
30109         adding or removing text properties.
30110         (org-export-latex-fontify): Catch error when org-emph-alist has
30111         entries that are not defined for LaTeX export.
30113         * org-export-latex.el: Rename to org-latex.el.
30115         * org-latex.el: Rename from org-export-latex.el.
30117         * org.el (orgstruct++-mode): New function.
30118         (turn-on-orgstruct++): Call `orgstruct++-mode'.
30119         (org-context-p): Allow detecting item context after the first line
30120         of an item.
30121         (orgstruct-make-binding): Detect if item-body context should be
30122         seen.
30123         (orgstruct-is-++): New variable.
30124         (org-add-planning-info): Catch the case when there is no planning
30125         info yet and the call does not want to add anything, only maybe
30126         tries to remove something.
30127         (org-special-ctrl-a/e): All value to be a cons cell with separate
30128         settings for `C-a' and `C-e'.
30129         (org-beginning-of-line, org-end-of-line): Honor separate values
30130         for `C-a' and `C-e'.
30132 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30134         * org.el (org-reload): New command.
30136 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
30138         * org-gnus.el (org-gnus-store-link): Fix bug where
30139         org-gnus-store-link used wrong subject when called in an article
30140         buffer.  Patch provided by fengli AT gmail DOT com.
30142 2009-03-13  D. Goel  <deego3@gmail.com>
30144         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
30145         replace ls by (values-list ls).
30147 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
30149         * org-remember.el (org-remember-apply-template): Turn off ido for
30150         this completion.
30152         * org.el (org-priority): Also find invisible headings, for remote
30153         editing.
30154         (org-completing-read-no-ido): New function.
30155         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
30157         * org-colview.el (org-columns-edit-value): No special treatment of
30158         prefix arg.
30160 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
30162         * org.el (org-block-todo-from-children-or-siblings):
30163         Use `org-up-heading-all' so that this will work correctly with hidden
30164         property drawers and entries.
30165         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
30166         falling back to normal, default command.
30167         (org-get-location): Temporarily turn off special behavior.
30169 2009-02-13  Glenn Morris  <rgm@gnu.org>
30171         * org-rmail.el (rmail-show-message): Restore argument list to the
30172         declaration now that this functions behaves in Emacs 23 as in 22.
30174 2009-02-12  Glenn Morris  <rgm@gnu.org>
30176         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
30178 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
30180         * org-footnote.el (org-footnote-action): Fix doc typo.
30182 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
30184         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
30185         text before first headline.
30186         (org-export-remove-or-extract-drawers): Fix regular expression for
30187         extracting drawers.
30189         * org.el (org-format-latex): Stop LaTeX fragment processing in
30190         protected examples.
30192 2009-02-05  Glenn Morris  <rgm@gnu.org>
30194         * org-rmail.el (rmail-show-message): Update declaration.
30195         (rmail-buffer, rmail-view-buffer): Declare.
30196         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
30198 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
30200         * org.el (org-return-follows-link): Revert setting
30201         `org-return-follows-link' to t by default.
30203 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
30205         * org.el (org-cycle-global-at-bob): Fix typo.
30207         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
30209 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
30211         * org.el (org-mode): Make dependence stuff work more reliably.
30212         (org-update-parent-todo-statistics): Fix bug with updating
30213         statistics cookie.
30214         (org-yank-adjusted-subtrees, org-return-follows-link)
30215         (org-use-fast-todo-selection, org-tags-column): New default
30216         setting for variables.
30218         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
30219         ~ as verbatim delimiters, to avoid table bug.
30220         (org-export-latex-classes): Remove the a4paper option from the
30221         default styles.
30223         * org-exp.el (org-export-html-format-image): New argument
30224         PAR-OPEN, to fix XHTM validation bug.
30225         (org-export-as-html): Pass par-open to
30226         `org-export-html-format-image'.
30227         (org-export-html-footnotes-section): Use a more consistent id for
30228         footnotes.
30230         * org-agenda.el (org-agenda-sorting-strategy)
30231         (org-agenda-tags-column): New default setting for variables, based
30232         on a poll what typical uses use.
30233         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
30234         setting the blocked tag.
30236 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
30238         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
30239         only checking for blocks.
30241         * org-exp.el (org-export-html-footnotes-section): Make the div id
30242         consistent.
30244         * org-export-latex.el (org-export-latex-classes):
30245         Remove paper size option from LaTeX classes.
30247 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
30249         * org.el (org-enforce-todo-checkbox-dependencies): New option.
30250         (org-block-todo-from-checkboxes): New function.
30251         (org-todo): Make triple prefix arg circumvent blocking.
30253 2009-01-30  Glenn Morris  <rgm@gnu.org>
30255         * org-list.el (org-empty-line-terminates-plain-lists)
30256         (org-toggle-checkbox): Doc fixes.
30258         * org-table.el (org-table-clean-before-export): Fix declaration.
30260 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
30262         * org-timer.el (org-timer): Provide the timer feature.
30264         * org.el (org-require-autoloaded-modules): Add a few more files to
30265         the list of autoloaded modules.
30267         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
30269         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
30270         drawers that are unprotected.
30271         (org-export-html-format-image): Make sure inlined LaTeX fragment
30272         images remain inlined.
30274         * org.el (org-toggle-ordered-property): New function.
30275         (org-mode-map): Add a key for `org-toggle-ordered-property'.
30276         (org-org-menu): Add menu entries for TODO dependencies.
30278         * org.el (org-default-properties): Add ORDERED to the default
30279         properties, to get completion support for it.
30281         * org-list.el (org-update-checkbox-count): Update more than one cookie.
30283         * org.el (org-update-parent-todo-statistics): Update more than one
30284         cookie.
30286 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
30288         * org-agenda.el (org-agenda-get-todos): Start search from correct
30289         position.
30291         * org.el (org-fast-todo-selection): Make sure TODO selection does
30292         not change buffer position.
30294         * org-list.el (org-toggle-checkbox): Implement adding or removing
30295         checkboxes from line or region when called with a prefix
30296         argument.
30298         * org-rmail.el (org-rmail-store-link): Protect the call to
30299         `rmail-narrow-to-non-pruned-header'.
30301         * org-clock.el (org-clock-special-range): Fix week display in
30302         clock tables.
30304         * org-exp.el (org-get-current-options): Fix bug when in indirect
30305         buffer.
30307         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
30308         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
30309         (org-agenda-dim-blocked-tasks): New function.
30311         * org.el (org-enforce-todo-dependencies): New option.
30312         (org-block-todo-from-children-or-siblings): New function.
30314         * org-faces.el (org-agenda-dimmed-todo-face): New face.
30316 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
30318         * org.el (org-todo): Return correct state type even if the blocker
30319         throws an error.
30320         (org-modifier-cursor-error): Rename from
30321         `org-shiftcursor-error'.
30322         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
30323         (org-shiftmetadown): Call `org-modifier-cursor-error'.
30325         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
30326         to get real errors from the blocker hook.
30328         * org.el (org-shiftselect-error, org-call-for-shift-select):
30329         New functions.
30330         (org-set-visibility-according-to-property): Turn off the setting
30331         of `org-show-entry-below', to avoid overruling a FOLDED visibility
30332         property.
30334         * org.el (org-support-shift-select): New option.
30335         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
30336         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
30337         selection outside contexts.
30339         * org-list.el (org-at-item-bullet-p): New function.
30341         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
30342         variables.
30344         * org-footnote.el (org-footnote-normalize): Remove unnecessary
30345         variable.
30346         (org-insert-footnote-reference-near-definition):
30347         Remove unnecessary let form.
30349 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
30351         * org-export-latex.el (org-export-as-latex):
30352         Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
30353         (org-export-latex-first-lines): New parameter OPT-PLIST.
30355         * org.el (org-yank): Tell `delete-selection-mode' about
30356         `org-yank'.
30358         * org-faces.el (org-clock-overlay): Fix face definition.
30360         * org-export-latex.el (org-export-latex-first-lines):
30361         Pass timestamp and footnote parameters to the preprocessor.
30363         * org-exp.el (org-export-remove-timestamps): Do not remove time
30364         stamps inside tables.
30366 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30368         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
30370         * org.el (org-agenda-tags-todo-honor-ignore-options):
30371         Declare variable.
30373         * org-table.el (org-table-insert-hline): Fix typo in function call
30374         to `backward-char'.
30376         * org-exp.el (org-export-as-html): Remove the initial space from
30377         colon examples.
30379         * org.el (org-scan-tags):
30380         Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30382         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
30383         New customization groups.
30384         (org-agenda-tags-todo-honor-ignore-options): New option.
30385         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
30386         New function.
30387         (org-agenda-get-todos):
30388         Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30390 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30392         * org-exp.el (org-export-format-source-code-or-example):
30393         Escape HTML characters also in examples that anre not treated with
30394         htmlize.  Also, just switch to EXAMPLE processing if we do not
30395         have a good version of htmlize.
30397         * org-rmail.el: Fix copyright notice.
30399         * org.el (org-activate-footnote-links): Improve footnote link
30400         highlighting.
30402         * org-footnote.el (org-footnote-normalize): Fix finding the end of
30403         a footnote definition at the end of the file.
30405         * org-table.el (org-table-get-specials): Add an imagined hline at
30406         the end of the table.  This can be useful for references that want
30407         to go to the end of the table.  Also fix bug when computing last
30408         row constants, in tables that do not start right at the right
30409         margin.
30410         (org-table-eval-formula): Match and replace remove references.
30411         (org-table-formula-substitute-names): Make sure that names inside
30412         a "remote" call are left alone, the will be replaced later when
30413         the remote call is handled.
30414         (org-table-convert-refs-to-rc): Do not convert things that might
30415         look like a reference, but are really part of an ID or namei n a
30416         remote reference.
30417         (org-table-get-remote-range): New function.
30419 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30421         * org-faces.el (org-clock-overlay): Fix bug in face definition.
30423         * org-clock.el (org-clock-put-overlay): Use new face instead of
30424         `secondary-selection'.
30426         * org-faces.el (org-clock-overlay): New face.
30428 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30430         * org-exp.el (org-get-current-options): Include the option for
30431         publishing time stamps.
30433         * org.el (org-toggle-heading): Rename from
30434         `org-toggel-region-headings'.
30435         No longer needs a region defined, but will use it if there is one.
30436         (org-ctrl-c-star): Simplify, relying more on the internal
30437         workings of `org-toggle-heading'.
30438         (org-toggle-item): Rename from `org-toggle-region-items'.
30439         No longer needs a region defined, but will use it if there is one.
30440         (org-ctrl-c-minus): Simplify, relying more on the inernal
30441         workings of `org-toggle-item'.
30443         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
30444         environment detection.  Also, do real changes only in unprotected
30445         places.
30447 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30449         * org-export-latex.el (org-export-latex-quotation-marks):
30450         Use `org-if-unprotected-1'.
30451         (org-export-latex-set-initial-vars): Check for class definition in
30452         property.
30454         * org-macs.el (org-if-unprotected-1): New macro.
30456 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30458         * org-compat.el (org-count-lines): New function.
30460         * org-exp.el (org-export-format-source-code-or-example):
30461         Handle switches related to text areas.
30463         * org.el (org-activate-footnote-links): Don't allow match inside a
30464         link.
30466         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
30468         * org-export-latex.el (org-export-latex-links): Keep a relative
30469         path relative also after export.
30471         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
30473         * org.el (org-make-tags-matcher): Never use IDO for completing the
30474         tags matcher match string.
30475         (org-completing-read): Also remove the special biding for "?".
30477         * org-attach.el (org-attach-allow-inheritance): New option.
30478         (org-attach-inherited): New variable.
30479         (org-attach-dir): Handle properties related to the attachment
30480         directory.
30481         (org-attach-check-absolute-path): New function.
30482         (org-attach-set-directory, org-attach-set-inherit): New commands.
30483         (org-attach): Accommodate the new commands in the dispatcher.
30485 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30487         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
30488         `window-full-width-p'.
30490         * org-exp.el (org-export-as-html): Only check for images files
30491         that really can be inlined.
30493         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
30494         list of extensions to be a parameter.
30496         * org-exp.el (org-export-html-inline-image-extensions):
30497         New variable.
30499         * org-agenda.el (org-prepare-agenda):
30500         Use `org-agenda-block-separator'.
30501         (org-agenda-block-separator): New option.
30503 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30505         * org-export-latex.el (org-export-latex-tables):
30506         Call `org-table-clean-before-export' with the new optional argument.
30508         * org-exp.el (org-table-clean-before-export): New optional
30509         parameter MAYBE-QUOTED, allows for quoted characters like \# in
30510         first column.
30512 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30514         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
30515         histograms.
30517         * org-colview.el (org-colview-construct-allowed-dates):
30518         Better error catching when a date/time property does not have allowed
30519         values defined.
30521 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30523         * org.el (org-map-entries): Restore point and restriction after
30524         `org-map-entries'.
30526 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30528         * org.el (org-time=, org-time<, org-time<=, org-time>)
30529         (org-time>=, org-time<>): Make sure both values are dates.
30531 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30533         * org-archive.el (org-extract-archive-heading): Allow %s for file
30534         name also in achive location heading.
30536 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30538         * org-archive.el (org-add-archive-files): Uniquify the list before
30539         returning it.
30541 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30543         * org-compat.el (org-fit-window-to-buffer):
30544         Use `window-full-width-p'.
30546         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
30547         space after the colon in short examples.
30549         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
30550         enforce a space after the colon.  However, we also allow lines
30551         that are *only* a colon.
30552         (org-export-as-html): Enforce the space after the colon in short
30553         examples.
30554         (org-export-preprocess-string): Do the colon example protection
30555         earlier.
30556         (org-export-remove-timestamps): Do not check for protection at the
30557         end of the line.
30559 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30561         * org.el (org-format-latex-options): Add new matcher for single
30562         letters between dollars.
30563         (org-get-header): Function removed.
30564         (org-heading-components): New function.
30566         * org-exp.el (org-export-define-heading-targets): Record ID's also
30567         as alternative targets.
30568         (org-export-as-html): Interpret "id:" links to other files by
30569         preserving the relative path.
30571         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
30572         is nil.
30574         * org-exp.el (org-export-normalize-links): Protect the main link,
30575         to avoid special character processing.
30577         * org-export-latex.el (org-export-latex-special-keyword-regexp):
30578         New variable.
30579         (org-export-latex-special-string-regexps): Variable removed.
30580         (org-export-latex-keywords): Use the new regexp.
30582         * org-exp.el (org-export-handle-include-files): Fetch switches and
30583         put them into the BEGIN statement.
30585         * org-timer.el (org-timer-mode-line-string): New variable.
30587         * org-clock.el (org-clock-mode-line-map): Rename from
30588         `org-clock-mode-map'.
30589         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
30590         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
30591         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
30592         (org-clock-remove-overlays): Rename from
30593         `org-remove-clock-overlays'.
30595         * org-timer.el (org-timer-pause-or-continue): Implement stopping
30596         and mode line display.
30597         (org-timer-stop): New command.
30598         (org-timer-seconds): Return correct time when timer is paused.
30599         (org-timer-mode-line-timer): New variable.
30600         (org-timer-set-mode-line, org-timer-update-mode-line):
30601         New functions.
30603         * org.el (org-insert-heading): Handle new value `auto' for
30604         `org-blank-before-new-entry'.
30605         (org-org-menu): Add new items for timer functions.
30607         * org-list.el (org-insert-item): Handle new value `auto' for
30608         `org-blank-before-new-entry'.
30610         * org.el (org-blank-before-new-entry): New value `auto', made
30611         default.
30613 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30615         * org-exp.el (org-export-normalize-links): If the link is also
30616         used as the description, protect the description.
30618 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30620         * org.el (org-closest-date): Fix bug with yearly repeats, in
30621         combination with preference of the past as it is used for deadline
30622         and scheduling search.
30624         * org-exp.el (org-html-handle-time-stamps): No longer check for
30625         the `org-export-with-timestamps' option, because the preprocesser
30626         has taken care of this already.
30628         * org.el (org-entry-properties): Catch the case when this is
30629         called in a non-org-mode file.
30631         * org-export-latex.el (org-export-latex-remove-from-headlines):
30632         Variable made obsolete, also LaTeX export now uses the standard
30633         variables.
30634         (org-export-as-latex): Add the timestamps parameter to the
30635         preprocessor parameter list.
30636         (org-export-latex-content): Export the remaining keywords without
30637         considering to remove them.
30638         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30639         Use bold font instead of tt font for the keywords.
30640         (org-export-latex-fontify-headline): Format headlines, assuming
30641         that all keywords still present should be published.
30642         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30643         publish what ever remains of the time stamps.
30644         (org-export-latex-list-parameters): New option.
30645         (org-export-latex-lists): Pass additional parameters to the list
30646         converter.
30648         * org-exp.el (org-export-preprocess-string): Remove clock lines
30649         and timestamps already in the preprocesor.
30650         (org-export-remove-timestamps, org-export-remove-clock-lines):
30651         New functions.
30652         (org-export-as-ascii, org-export-as-html): Add the timestamps
30653         parameter to the preprocessor parameter list.
30655         * org-list.el (org-list-parse-list): Parse for checkboxes.
30656         (org-list-to-generic): Introduce and handle new parameters :cbon
30657         and :cboff.
30658         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30659         Add optional parameter PARAMS.
30661         * org-export-latex.el (org-export-latex-special-chars):
30662         Fix problems with interpreting dollar signs.
30663         (org-inside-latex-math-p): New function.
30664         (org-export-latex-preprocess): Protect all the math fragments.
30666         * org.el (org-latex-regexps): Allow a dash after a dollar.
30668         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30669         mark after copying.
30671         * org-agenda.el (org-run-agenda-series): Have series options set
30672         when finalizing the agenda.
30674         * org-exp.el (org-export-format-source-code-or-example):
30675         Protect the converted examples.
30677         * org.el (org-set-regexps-and-options): Fix the regexp
30678         `org-complex-heading-regexp'.
30680 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30682         * org.el (org-edit-src-get-label-format): New function.
30683         (org-coderef-label-format): New option.
30684         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30685         a label format specification and make sure it is used in the edit
30686         buffer.
30687         (org-edit-src-get-label-format): New function.
30688         (org-store-link): Handle new coderef formats.
30689         (org-link-search): Handle new coderef formats.
30691         * org-footnote.el (org-footnote-create-definition)
30692         (org-footnote-goto-local-insertion-point): Make footnote insertion
30693         work correctly when the "Footnotes" headline is the last line in
30694         the buffer.
30696         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30697         the location.
30699 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30701         * org-w3m.el (org-w3m): New customization group.
30702         (org-w3m-deactivate-mark): New option.
30703         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30704         option say not to.
30706 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30708         * org.el (org-set-font-lock-defaults): Trigger footnote
30709         fontification.
30710         (org-activate-footnote-links): New function.
30711         (org-activate-links): New entry `footnote'.
30713         * org-faces.el (org-footnote): New face.
30715 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30717         * org-macs.el (org-re): Handle the [:word:] class.
30719         * org-exp.el (org-export-preprocess-string):
30720         Call `org-export-protect-colon-examples'.
30721         (org-export-protect-colon-examples): Rename from
30722         `org-export-protect-examples', and scope limited to lines starting
30723         with a colon.
30725 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30727         * org-exp.el (org-export-preprocess-string): Move the preprocess
30728         hook to after turning on Org-mode.
30729         (org-export-preprocess-after-include-files-hook)
30730         (org-export-preprocess-after-tree-selection-hook)
30731         (org-export-preprocess-before-backend-specifics-hook)
30732         (org-export-preprocess-final-hook): New hooks.
30733         (org-export-preprocess-string): Run the new hooks.
30735         * org.el (org-ctrl-c-minus): Fix indentation for new items.
30737         * org-footnote.el: New file.
30739         * org.el (org-footnote): Require footnote code.
30740         (org-startup-options): Add new footnote options.
30741         (org-mode-map): New keybindig for footnotes.
30742         (org-ctrl-c-ctrl-c): Add function at footnotes.
30743         (org-org-menu): New menu entries for footnotes.
30745         * org-export-latex.el (org-export-as-latex): Pass footnote
30746         variable to preprocessor.
30747         (org-export-latex-preprocess): Treat multiple references to a
30748         footnote.
30750         * org-exp.el (org-export-preprocess-string):
30751         Call `org-footnote-normalize'.
30752         (org-export-as-ascii, org-export-as-html): Pass footnote variable
30753         to preprocessor.
30754         (org-export-as-html): Treat multiple references to a footnote.
30756 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30758         * org-export-latex.el (org-export-latex-links): Handle coderef
30759         links.
30761         * org.el (org-bracket-link-analytic-regexp++): New variable.
30762         (org-make-link-regexps):
30763         Initialize `org-bracket-link-analytic-regexp++'.
30764         (org-store-link): Implement special case in edit-src buffer.
30765         (org-insert-link): No use of ide to insert stored links.
30766         (org-link-search): Implement special case for coderefs.
30768         * org-exp.el (org-export-html-scripts): New constant.
30769         (org-export-html-style-default): Add a new style for highlighted
30770         code.
30771         (org-export-code-refs): New variable.
30772         (org-export-preprocess-string): Initialize `org-export-code-refs'.
30773         Call `org-export-replace-src-segments-and-examples'
30774         No longer call `org-export-protect-examples'.
30775         (org-export-target-internal-links): Take care of coderef targets.
30776         (org-export-last-code-line-counter-value): New variable.
30777         (org-export-replace-src-segments-and-examples): Rename from
30778         `org-export-replace-src-segments', and modified.
30779         (org-export-format-source-code-or-example): Rename from
30780         `org-export-format-source-code'.
30781         (org-export-number-lines): New function.
30782         (org-export-as-ascii, org-export-as-html): Handle coderef links.
30784 2009-01-23  Glenn Morris  <rgm@gnu.org>
30786         * org-rmail.el (rmail-narrow-to-non-pruned-header):
30787         Remove declaration of deleted function.
30789 2009-01-16  Glenn Morris  <rgm@gnu.org>
30791         * org-mouse.el (org-mouse-show-context-menu):
30792         Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30793         mouse-major-mode-menu.
30795 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
30797         * org-remember.el (org-remember-handler): Safer way to get a new
30798         buffer accessing the target file.
30800         * org.el (org-refile-get-location): Handle case of current buffer
30801         not having a file associated with it.
30803 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
30805         * org-table.el (org-table-get-formula): Only ask to overwrite
30806         field formula if there really is one.
30808 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
30810         * org-export-latex.el (org-export-latex-make-header): Double the
30811         commenting % in the time stamp format.
30812         (org-export-latex-special-chars): Handle case where there is no
30813         match group 3.
30815 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30817         * org.el (org-get-refile-targets, org-refile-get-location):
30818         Use expanded file name to improve comparison.
30820 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30822         * org.el (org-scan-tags): Rescan for tags, to get the correct
30823         upcase/downcase stuff.  This slows things down for now, but it
30824         works.
30825         (org-mode): Make sure the tag-faces regexp is initialized.
30827         * org-export-latex.el (org-export-latex-links): Fix bug with
30828         undefined label.
30830         * org-table.el (org-table-get-specials):
30831         Set `org-table-current-last-data-line'.
30832         (org-table-current-last-data-line): New variable.
30833         (org-table-insert-column, org-table-delete-column)
30834         (org-table-move-column, org-table-fix-formulas):
30835         Call `org-table-fix-formulas' a second time to fix the $LR references.
30836         (org-table-get-specials): Add the $LR references to the tables.
30837         (org-table-get-formula): Do not offer last-row names as LHS of
30838         formulas.
30840         * org.el (org-store-link): Capture link description from
30841         `org-id-store-link'.
30843         * org-exp.el (org-export-html-format-image): Add the / to the end
30844         of the <img> tag.
30845         (org-export-format-source-code): Surround example by empty lines,
30846         to make sure it will not be inside a paragraph.
30848         * org.el (org-ido-switchb): New function.
30850 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30852         * org-agenda.el (org-agenda-show): New prefix argument
30853         FULL-ENTRY.
30855         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30856         argument.
30858 2008-12-20  Glenn Morris  <rgm@gnu.org>
30860         * org.el (org-org-menu): Fix some more menu entries.
30862 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
30864         * org-table.el (org-table-get-specials): Revert introduction of @0
30865         as reference of the last table row, because of conflicts.
30867         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30868         argument, get the current tags directly.
30869         (org-agenda-set-tags): Leave getting current tags to
30870         `org-agenda-change-all-lines'.
30872 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
30874         * org.el (org-org-menu): Do not quote the set-tags command.
30876 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
30878         * Fix typos in comments and docstrings throughout Org-mode.
30880         * org.el (org-get-outline-path): Fix bug if level is not given.
30882         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30884 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30886         * org.el (org-refile): Avoid refiling to within the region to be
30887         refiled.
30889         * org-export-latex.el (org-export-latex-special-chars):
30890         Replace special characters also in tables.
30892         * org-agenda.el (org-agenda-change-all-lines): New argument
30893         FORCE-TAGS.
30894         (org-agenda-set-tags): Get the new tags and pass them to
30895         `org-format-agenda-item'.
30897 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30899         * org-export-latex.el (org-export-latex-classes): Add longable as
30900         a default package to all classes.
30901         (org-export-latex-tables): Handle the longtable attribute and the
30902         align attribute.
30904         * org-table.el (orgtbl-to-generic): Handle tables that start with
30905         a hline.
30907         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30908         \verb for colde-like snippets.
30909         (org-export-as-latex): Fix issues with region export.
30911         * org.el (org-up-heading-safe): Speed up function by using a
30912         direct regexp search.
30913         (org-olpa): New variable.
30914         (org-get-outline-path): Speed-up path constructions in cases where
30915         this is possible because the entire hierarchy is scanned anyway.
30916         (org-refile-get-location): Don't compare the truenames of files,
30917         this is too slow.
30918         (org-goto-max-level): New option.
30919         (org-goto): Use `org-goto-max-level'.
30921 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
30923         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30924         Strip angle brackets from message-ids in the former and don't do
30925         it in the latter.
30926         (org-gnus-follow-link): Open summary reliable, even if the last
30927         messages were deleted, and handle empty groups, too.
30929 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30931         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30932         instead of \texttt for the =...= and ~===~ emphasis environments.
30933         (org-export-as-latex): Remove any old :org-license-to-kill text
30934         properties.
30935         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30936         (org-export-latex-make-header): Add some hard space after the
30937         table of contents.
30938         (org-export-latex-first-lines): Accept RBEG argument.
30939         Mark exported text so that it will be excuded in further steps.
30941         * org-table.el (org-table-get-specials): Make @0 reference the
30942         last line in a table.
30943         (org-table-recalculate): Improve docstring.
30945 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30947         * org.el (org-log-done): Fix docstring.
30949 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30951         * org-exp.el (org-export-html-format-image): Fix bugs.
30953         * org-export-latex.el (org-export-latex-tables)
30954         (org-export-latex-links): Implement attribute, label, and caption
30955         handling.
30957         * org-exp.el (org-export-html-style-default): Add style
30958         definitions for the figure div.
30959         (org-export-preprocess-string, org-export-as-html):
30960         Implement attribute, label, and caption handling.
30961         (org-export-attach-captions-and-attributes): New function.
30962         (org-export-html-format-image): New function.
30963         (org-format-org-table-html): Implement attribute, label, and
30964         caption handling.
30966         * org.el (org-find-text-property-in-string): New function.
30967         (org-extract-attributes): Use the property org-attr instead of
30968         org-attrobutes, because this property is now set with the #+ATTR
30969         lines.
30971 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30973         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
30974         the case that FROM is nil.
30976         * org.el (org-before-first-heading-p): New function.
30978 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30980         * org-exp.el (org-export-as-html): Do not add a space before
30981         enforces line breaks.
30982         (org-export-as-html): Close paragraph before blockquote and verse
30983         tags.
30985 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30987         * org-id.el (org-id-locations-file): Wrap file name with
30988         `convert-standard-filename'.
30989         (org-id-files): New variable.
30990         (org-id-use-hash): New option.
30991         (org-id-update-id-locations): Also search in all files current
30992         listed in `org-id-files'.  Convert the resulting alist to a hash
30993         if the user customation says so.
30994         (org-id-locations-save): Handle he case if `org-id-locations' is a
30995         hash.
30996         (org-id-locations-load): Convert the alist to a hash.
30997         (org-id-add-location): Handle the hast case.
30998         (kill-emacs-hook): Make sure id locations are saved when Emacs is
30999         exited.
31000         (org-id-hash-to-alist, org-id-alist-to-hash)
31001         (org-id-paste-tracker): New functions.
31003 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31005         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
31006         bindings of calendar variables.
31008         * org-table.el (org-table-find-row-type): Rename from
31009         `org-find-row-type'.
31010         (org-table-rewrite-old-row-references): Rename from
31011         `org-rewrite-old-row-references'.
31012         (org-table-shift-refpart): Rename from `org-shift-refpart'.
31013         (org-table-cleanup-narrow-column-properties): Rename from
31014         `org-cleanup-narrow-column-properties'.
31016 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31018         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
31019         for better error messages.
31020         (org-table-get-descriptor-line): Supply the new arguments to
31021         `org-find-row-type'.
31022         (org-table-error-on-row-ref-crossing-hline): New option.
31024         * org.el (org-target-link-regexp): Make buffer-local.
31025         (org-move-subtree-down): Fix bug with trees at beginning of
31026         buffer.
31028 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31030         * org-faces.el (org-set-tag-faces): New function.
31031         (org-tags-special-faces-re): New variable.
31033         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
31035         * org-faces.el (org-tag-faces): New option.
31036         (org-tag): Mention `org-tag-faces' in the docstring.
31038 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31040         * org-exp.el (org-export-html-style-default): Implement new
31041         quoting.
31043         * org-jsinfo.el (org-infojs-template): Implement new quoting.
31045         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
31046         command to the `w3m-minor-mode-map'.
31048         * org-archive.el (org-archive-to-archive-sibling):
31049         Protect `this-command' to avoid appending kills during archiving.
31051         * org-exp.el (org-export-with-priority): New variable.
31052         (org-export-add-options-to-plist): Use `org-export-plist-vars'
31053         instead of internal list of strings and properties.
31054         (org-print-icalendar-entries): Retrieve the location property with
31055         inheritance.
31057 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31059         * org-exp.el (org-export-with-todo-keywords): New option.
31060         (org-export-plist-vars): Include also the keys for the #+OPTIONS
31061         line.
31062         (org-default-export-plist, org-export-add-options-to-plist)
31063         (org-export-as-ascii, org-export-as-html): Use the new structure
31064         of `org-export-plist-vars'.
31066         * org.el (org-map-entries): Return all values.
31068 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31070         * org.el (org-matcher-time): Recognize more special values.
31072         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
31074 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31076         * org.el (org-tags-exclude-from-inheritance): New option.
31077         (org-tag-inherit-p, org-remove-uniherited-tags):
31078         Respect `org-tags-exclude-from-inheritance'.
31080         * org-agenda.el (org-agenda-show-inherited-tags): New option.
31081         (org-format-agenda-item): Add inherited tags to the agenda line
31082         string, and make sure that properties are kept when downcasing the
31083         tags list.
31084         (org-agenda-add-inherited-tags): New function.
31085         (org-downcase-keep-props): New function.
31087         * org.el (org-scan-tags): Mark inherited tags with a text
31088         property.
31089         (org-get-tags-at): Mark inherited tags with a text property.
31090         (org-add-prop-inherited): New function.
31092         * org-agenda.el (org-agenda-add-inherited-tags): New function.
31093         (org-agenda-show-inherited-tags): New option.
31095 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31097         * org.el (org-modules): Add org-w3m to the default modules.
31099         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
31100         orgtbl-mode.
31101         (orgtabl-create-or-convert-from-region): New command.
31103         * org-exp.el (org-export-as-ascii): Remove the handling of
31104         targets.
31105         (org-export-ascii-preprocess): Handle targets already in this
31106         function.
31108 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31110         * org-timer.el (org-timer-start-time): Define this variable.
31111         (org-timer-item): Make argument optional.
31113         * org-list.el (org-insert-item): Automatically insert a timer item
31114         if the current list is a timer list.
31116         * org-timer.el: New file.
31118         * org-publish.el (org-publish-org-index): Only exclude the index
31119         file in the main directory from being added to the site-map.
31120         (org-publish-get-project-from-filename): If the current project is
31121         a component, start publishing from the parent project.
31123 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31125         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
31127         * org-publish.el (org-publish-org-index): Improve removal of
31128         temporary buffers.
31130 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
31132         * org-agenda.el (org-get-closed): Re-apply changes
31133         accidentially overwritten by last commit to Emacs.
31135         * org.el (org-outline-path-complete-in-steps): New option.
31136         (org-refile-get-location):
31137         Honor `org-outline-path-complete-in-steps'.
31138         (org-agenda-change-all-lines, org-tags-sparse-tree)
31139         (org-time-string-to-absolute, org-small-year-to-year)
31140         (org-link-escape): Re-apply changes accidentially overwritten
31141         by last commit to Emacs.
31143 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31145         * org-clock.el (org-dblock-write:clocktable): Make sure the
31146         clocktable sees the first line.
31147         (org-clock-in): Warn if the clock cannot be resumed.
31149 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31151         * org.el (org-open-at-point): Fix mixup about interactive and
31152         non-interactive elisp links.
31154 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31156         * org-exp.el (org-export-preprocess-string): Allow one comment
31157         line before the first headline to always be included.  This is
31158         to not miss a commented target.
31160         * org-mouse.el (org-mouse-insert-item):
31161         Call `org-indent-to-column' instead of `indent-to', for XEmacs
31162         compatibility.
31164         * org.el (org-refile-targets): Fix customize definition so
31165         that it works also in XEmacs.
31166         (org-fixup-indentation): Call `org-indent-to-column' instead
31167         of `indent-to', for XEmacs compatibility.
31169 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
31171         * org-mew.el (org-mew-store-link): Get the correct case folder
31172         for refiled messages.
31174 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31176         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
31177         line break indicators.
31179         * org.el (org-ido-completing-read): Remove the "i:" prefix for
31180         ido-completion propts.
31182 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31184         * org-remember.el (org-remember-apply-template):
31185         Use `org-substring-no-properties'.
31187         * org-compat.el (org-substring-no-properties): New function.
31189         * org-remember.el (org-remember-apply-template):
31190         Use `org-substring-no-properties' for compatibility.
31192         * org-list.el (org-list-two-spaces-after-bullet-regexp):
31193         New option.
31194         (org-fix-bullet-type):
31195         Respect `org-list-two-spaces-after-bullet-regexp'.
31197         * org-clock.el (org-clock-load): Clean up the code.
31199         * org.el (org-adaptive-fill-function): Allow two spaces after
31200         "1." as a list bullet.
31202 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31204         * org-clock.el (org-clock-save, org-clock-load): Check for
31205         live buffers, existing files, and buffer file names to ensure
31206         consistent information.
31207         (org-clock-persist): Make `clock' a special value of this
31208         variable, and improve docstring.
31210         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
31211         (org-get-string-indentation): Adapt indentation when the bullet
31212         width changes.
31214 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31216         * org-remember.el (org-remember-finalize): Make interactive.
31217         (org-remember-kill): New command.
31218         (org-remember-finish-immediately): Call `org-remember-finalize'
31219         directly.
31220         (org-remember-finalize): Make `org-remember-finalize' an interactive
31221         function.
31223 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31225         * org-remember.el (org-remember-apply-template): No ido completion
31226         for free prompts in remember templates.
31227         (org-remember-before-finalize-hook): New hook.
31228         (org-remember-mode): New minor mode.
31229         (org-remember-apply-template): Turn on `org-remember-mode'.
31231         * org-remember.el (org-remember-apply-template): Fix the way how
31232         the list of allowed properties is retrieved from the target file.
31234         * org.el (org-insert-link): Improve file link matching.
31236 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31238         * org-colview.el (org-columns-display-here): New argument
31239         DATELINE, to trigger using the new face.
31240         (org-agenda-colview-summarize): Call `org-columns-display-here'
31241         with the new argument.
31243         * org-faces.el (org-agenda-column-dateline): New face.
31245         * org-publish.el (org-publish-org-index): Use index-title at page
31246         title, not as section.
31248         * org-exp.el (org-export-html-format-desc): Respect the
31249         org-protect property.
31250         (org-export-as-html): Protect image specifiers that are in the
31251         description part of a link.
31253         * org.el (org-sort-entries-or-items, org-completing-read)
31254         (org-refile-get-location, org-olpath-completing-read, org-todo)
31255         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
31256         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
31257         (org-set-property, org-delete-property)
31258         (org-delete-property-globally): Use `org-ido-completing-read'.
31260         * org-remember.el (org-remember-apply-template):
31261         Use `org-ido-completing-read'.
31263         * org-publish.el (org-publish): Use `org-ido-completing-read'.
31265         * org-colview.el (org-columns-edit-value, org-columns-new)
31266         (org-insert-columns-dblock): Use `org-ido-completing-read'.
31268         * org-attach.el (org-attach-delete-one, org-attach-open):
31269         Use `org-ido-completing-read'.
31271         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
31272         Use `org-ido-completing-read'.
31274         * org.el (org-time-today): New function.
31275         (org-matcher-time): Use `org-time-today'.  Add special treatment
31276         for "<tomorrow>" and "<yesterday>".
31277         (org-ido-completing-read): New function.
31278         (org-completion-use-ido): New option.
31280         * org-exp.el (org-export-format-source-code): Fix bug in require
31281         htmlize code.
31282         (org-export-target-internal-links): Fix bug in search for text
31283         property.
31285 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31287         * org-export-latex.el (org-export-latex-subcontent):
31288         Interpret target aliases as additional labels.
31290         * org-exp.el (org-export-target-aliases): New variable.
31291         (org-export-preprocess-string)
31292         (org-export-handle-invisible-targets): Fill the alias alist.
31293         (org-export-as-html): Remove the &nbsp; from the anchor, and also
31294         assign an id.
31295         (org-html-level-start): Insert the target aliases as additional
31296         anchors.
31298         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
31299         picture area.
31301 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31303         * org.el (org-open-at-mouse): Ensure correct link abbreviations
31304         when following a link with the mouse from the agenda.
31306         * org-exp.el (org-export-as-html): Avoid lone </div> when no
31307         headlines are created.
31309 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31311         * org.el (org-link-translation-function): New option.
31312         (org-open-at-point): Call `org-link-translation-function' if
31313         non-nil.
31314         (org-translate-link): New function.
31315         (org-translate-link-from-planner): New function.
31316         (org-open-at-point): Allow interactive commands in elisp links.
31318         * org-exp.el (org-icalendar-cleanup-string): Restore the old
31319         iCalendar quoting.  The new one seems to caus problems with
31320         applications.
31322         * org.el (org-yank): Set `this-command' to `yank', so that
31323         `yank-pop' will work.
31325 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31327         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
31328         compliance as far as quoting is concerned.
31330         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
31331         hexified version of the tag.
31333         * org-vm.el (org-vm-follow-link): Require `vm-search'.
31335         * org.el (org-up-heading-safe, org-forward-same-level):
31336         Always call `org-back-to-heading' instead of `outline-back-to-heading'.
31337         (org-back-to-heading): New wrapper around outline-back-to-heading,
31338         with a useful error message telling where the error happened.
31340         * org-list.el (org-update-checkbox-count): Always call
31341         `org-back-to-heading' instead of `outline-back-to-heading'.
31343         * org-exp.el (org-export-as-html): Make sure that each <img> tag
31344         has an `alt' attribute, to ensure XHTML validation.
31346 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31348         * org-publish.el (org-publish-attachment): Allow publishing to
31349         overwrite attachment files.
31351         * org-agenda.el (org-agenda-timerange-leaders): New option.
31352         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
31354         * org.el (org-edit-src-exit): Untabify ASCII image before
31355         returning.
31357 2008-11-19  Glenn Morris  <rgm@gnu.org>
31359         * org.el, org-mouse.el (org-agenda-change-all-lines):
31360         Fix declaration.
31362 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
31364         * org.el ("speedbar"): Only show context if the file really is an
31365         org-mode buffer.
31367 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
31369         * org.el (org-time-string-to-absolute, org-small-year-to-year)
31370         (org-tags-sparse-tree): Fix typos in docstrings.
31372 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
31374         * org-publish.el (org-publish-attachment): Allow copy-file to
31375         overwrite files.
31377 2008-11-13  Glenn Morris  <rgm@gnu.org>
31379         * org-agenda.el (org-get-closed): Fix alias.
31381 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
31383         * org.el (org-link-escape): Fix typo in docstring.
31385 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31387         * org.el (org-yank): Make any prefix force normal yanking.
31388         Suppress folding if text would be swallowed into a folded
31389         subtree.
31390         (org-yank-folded-subtrees, org-yank): Docstring updates.
31392         * org-agenda.el (org-agenda-compare-effort): Treat no effort
31393         defined as 0.
31395         * org-exp.el (org-export-language-setup): Add Catalan and
31396         Esperanto language entries.
31398 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31400         * org.el (org-refile): Allow refiling of entire regions.
31402         * org-clock.el (org-clock-time%): New function.
31404         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
31405         retrieve property values.
31407 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31409         * org-agenda.el (org-agenda-list): Handle the value `only' of
31410         org-agenda-show-log'.
31411         (org-agenda-log-mode): Interpret a double prefix arg.
31413 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31415         * org-exp.el (org-export-html-footnotes-section): New variable.
31416         (org-export-as-html): Use `org-export-html-footnotes-section' to
31417         insert the footnotes.
31418         (org-export-language-setup): Add "Footnotes" to language words.
31420 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31422         * org.el (org-yank): Fix bug when not inserting a subtree.
31424 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31426         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
31427         instead of `vm-beginning-of-message'.
31429         * org.el (org-make-link-regexps): Make sure that links to gnus can
31430         contain brackets.
31432 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31434         * org-attach.el (org-attach-dir): Remove duplicate ID creation
31435         code.
31437         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
31438         shell output.
31440         * org.el (org-link-abbrev-alist): Improve customization type.
31442         * org-attach.el (org-attach-expand-link, org-attach-expand):
31443         New functions.
31445         * org-agenda.el (org-agenda-get-progress): Rename from
31446         `org-get-closed'.  Implement searching for state changes as well.
31447         (org-agenda-log-mode-items): New option.
31448         (org-agenda-log-mode): New option prefix argument, interpreted as
31449         request to show all possible progress info.
31450         (org-agenda-get-day-entries): Call `org-get-progress' instead of
31451         `org-get-closed'.
31452         (org-agenda-set-mode-name): Handle the more complex log mode
31453         settings.
31454         (org-get-closed): New alias, pointing to `org-get-progress'.
31456 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31458         * org.el (org-file-apps-defaults-gnu)
31459         (org-file-apps-defaults-macosx)
31460         (org-file-apps-defaults-windowsnt): Add an entry defining the
31461         system command.
31462         (org-file-apps): Allow `system' as key and value.
31463         (org-open-at-point): Explain the effect of a double prefix arg.
31464         (org-open-file): If the argument `in-emacs' is (16),
31465         i.e. corresponding to a double prefix argument, try to open the
31466         file externally.
31468 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31470         * org.el (org-insert-link): Abbreviate absolute files names in
31471         links.  Also, fix a bug in which the double C-u prefix would not
31472         be honored.
31474 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31476         * org.el (org-insert-heading): If buffer does not end with a
31477         newline, add one if necessary to insert headline correctly.
31479         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
31480         paragraphs, not inside.
31482         * org.el (org-todo):
31483         Quote `org-agenda-headline-snapshot-before-repeat'.
31485         * org-exp.el (org-export-as-html): Fully process link descriptions.
31486         (org-export-html-format-desc): New function.
31487         (org-export-as-html): Collect footnotes into the correct basket.
31488         (org-html-protect): No longer protect quotations marks here, this
31489         goes wrong.
31491         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
31492         BEG.
31494         * org-compat.el (org-fit-window-to-buffer): New function (not
31495         really, a preliminary and incomplete version was present earlier,
31496         but not used).
31498         * org.el (org-fast-todo-selection, org-fast-tag-selection):
31499         Use `org-fit-window-to-buffer'.
31501         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
31503         * org-agenda.el (org-agenda-get-restriction-and-command)
31504         (org-fit-agenda-window, org-agenda-convert-date):
31505         Use `org-fit-window-to-buffer'.
31507         * org-exp.el (org-export-as-html): Process href links through
31508         `org-export-html-format-href'.
31509         (org-export-html-format-href): New function.
31511         * org-agenda.el (org-agenda-todo): Update only the current
31512         headline if this is a repeated TODO, marked done for today.
31513         (org-agenda-change-all-lines): New argument JUST-THIS, to change
31514         only the current line.
31516         * org.el (org-todo): Take a snapshot of the headline if the
31517         repeater might change it.
31519 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31521         * org-publish.el (org-publish-find-title): Remove buffers visited
31522         only for extracting the title.
31524         * org-exp.el (org-export-html-style)
31525         (org-export-html-style-default): Mark style definitions as
31526         unparsed CDATA.
31528         * org-publish.el (org-publish-validate-link):
31529         Function re-introduced.
31531 2008-11-12  Charles Sebold  <csebold@gmail.com>
31533         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
31534         property.
31535         (org-plot-quote-timestamp-field): New function.
31536         (org-plot-quote-tsv-field): Call timestamp field function when
31537         necessary rather than just quoting as a string.
31538         (org-plot/gnuplot-to-data): Pass in timefmt property.
31539         (org-plot/gnuplot-script): Supports timefmt property.
31540         (org-plot/gnuplot): Checks for timestamp column before checking
31541         for text index column.
31543 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31545         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
31547         * org-publish.el (org-publish-org-index): Create a section in the
31548         index file.
31549         (org-publish-org-index): Stop linking to directories.
31551         * org.el (org-emphasis-alist): Use span instead of <u> to
31552         underline text.
31554         * org-exp.el (org-export-as-html): Make sure <p> is closed before
31555         <pre> sections.
31557 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
31559         * org-jsinfo.el (org-infojs-template): Remove language attribute
31560         from script tag.
31562 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31564         * org-agenda.el (org-agenda-remove-marked-text): New function.
31565         (org-agenda-mark-filtered-text)
31566         (org-agenda-unmark-filtered-text): New functions.
31567         (org-write-agenda): Remove filtered text.
31569         * org.el (org-make-tags-matcher): Give access to TODO "property"
31570         without speed penalty.
31572 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31574         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
31575         option.
31576         (org-store-link-props): Make sure adding to the plist works
31577         correctly.
31579         * org-gnus.el (org-gnus-no-new-news): New function.
31580         (org-gnus-follow-link): Allow the article ID to be a message-id,
31581         in addition to allowing article numbers.  Message IDs make much
31582         more roubust links.
31583         (org-gnus-store-link): Use message-id to create link.
31585 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31587         * org.el (org-emphasize): Reverse the selection array.
31588         (org-emphasis-alist): Set <code> tags for the verbatim
31589         environment.
31591         * org-remember.el (org-remember-handler): Fix bug with
31592         prefix-related changing of the note storage target.
31594         * org-exp.el (org-print-icalendar-entries): Make the exported
31595         priorities compatible with RFC 2445.
31597         * org-clock.el (org-clock-save): Insert time stamp without
31598         dependence on time-stamp.el.
31600 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31602         * org.el ("saveplace"): If saveplace puts point into an invisible
31603         location, make it visible.
31604         (org-make-tags-matcher): Allow inactive time stamps in time
31605         comparisons.
31606         (org-yank-adjusted-subtrees): New option.
31607         (org-yank): Incorporate adjusting trees.
31608         (org-paste-subtree): New argument FOR-YANK which will cause
31609         insertion at point without backing up over white lines, and leave
31610         point at the end of the inserted text.  Also if the cursor is
31611         at the beginning of a headline, use the same level or the inserted
31612         tree.
31614         * org-publish.el (org-publish-get-base-files-1): Deal correctly
31615         with broken symlinks.
31617 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31619         * org-exp.el (org-export-select-tags, org-get-current-options):
31620         Fix typo.
31622 2008-11-06  Glenn Morris  <rgm@gnu.org>
31624         * org-publish.el (org-publish-attachment): Use copy-file rather than
31625         eshell/cp.
31627 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
31629         * org.el (org-columns-modify-value-for-display-function):
31630         * org-table.el (org-table-convert-region): Fix typos in docstrings.
31632 2008-10-28  Glenn Morris  <rgm@gnu.org>
31634         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31636         * org-list.el (outline-next-heading, outline-back-to-heading):
31637         Fix declarations.
31639 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31641         * org-agenda.el (org-format-agenda-item)
31642         (org-agenda-filter-make-matcher): Make sure tags are stored and
31643         compared downcased.
31645 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31647         * org.el (org-insert-todo-heading): Fix bug with force-heading
31648         argument.
31650 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31652         * org-exp.el (org-export-as-ascii): Handle the case that we are
31653         bulishing from an indirect buffer.
31655         * org-table.el (org-table-copy-down): Fix bug with time stamp
31656         increment.
31658         * org-mouse.el (org-mouse-features): New option.
31659         (org-mode-hook): Turn on features depending on
31660         `org-mouse-features'.
31662         * org.el (org-insert-heading-respect-content): Force heading
31663         creation.
31664         (org-insert-heading): Keep the folding state of the heading before
31665         the inserted one.
31667 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31669         * org-archive.el (org-archive-to-archive-sibling): Handle top
31670         level headlines better.
31672 2008-10-26  Bastien Guerry  <bzg@gnu.org>
31674         * org-export-latex.el (org-export-latex-classes):
31675         Add \usepackage{graphicx} to the default list of packages.
31677 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31679         * org-agenda.el (org-agenda-filter): Rename from
31680         `org-agenda-filter-tags'.
31682 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31684         * org.el (org-entry-properties): Add CATEGORY property, iven if it
31685         is not defined as a property in this entry.
31686         (org-add-log-note): Mask prefix argument when immediately storing
31687         the note.
31689         * org-agenda.el (org-agenda-filter-effort-default-operator):
31690         New option.
31692 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31694         * org.el (org-add-log-setup): Bugfix; code to find insertion point
31695         after drawers was skipping ahead one line too many, so notes were
31696         inserted after the first note instead of before it.
31698 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31700         * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31701         New variables.
31702         (org-prepare-agenda): Reset the filter tags.
31703         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31704         Show filter tags in mode line.
31706         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31707         formatter.
31709         * org-export-latex.el (org-latex-entities-regexp): New constant.
31710         (org-export-as-pdf): Use two calls to `shell-command'.
31712 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31714         * org-export-latex.el (org-export-latex-treat-sub-super-char):
31715         Honor the {} value of the subsuperscript setting.  Make sure that
31716         longer subsuperscripts are typeset in a roman font.
31718         * org.el (org-clock-update-time-maybe): Compute negative clock
31719         intervals correctly.
31721 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31723         * org.el (org-add-log-setup):
31724         Respect `org-log-state-notes-insert-after-drawers'.
31725         (org-log-state-notes-insert-after-drawers): New option.
31726         (org-todo-trigger-tag-changes): New function.
31727         (org-todo): Call `org-todo-trigger-tag-changes'.
31729 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31731         * org.el (org-add-log-setup): Only skip drawers if they are
31732         immediately after the scheduling keywords.
31734         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31735         function.
31736         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31737         call it with the current todo state to get the state to switch to
31738         when clocking in.
31739         (org-clock-in): Use org-indent-line-function to indent clock lines.
31740         (org-clock-find-position): Fix indentation of empty clock drawers.
31742 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31744         * org-publish.el (org-publish-org-to): Handle case when
31745         org-export-to-pdf does return a file name, not a buffer.
31746         (org-publish-org-to-pdf): New function.
31748         * org-export-latex.el (org-export-as-pdf)
31749         (org-export-as-pdf-and-open): New commands.
31751         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31752         forms as ranges.
31754         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31755         things in protexted regions.
31757 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31759         * org-export-latex.el (org-export-latex-preprocess):
31760         Improve quoting of LaTeX environments.
31762 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
31764         * org.el (org-default-notes-file):
31765         * org-publish.el (org-publish-timestamp-directory):
31766         * org-id.el (org-id-locations-file): Run file names that begin
31767         with a period thru `convert-standard-filename'.
31769 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31771         * org-plot.el: Switch coding system to unix.
31773 2008-10-12  John Wiegley  <johnw@newartisans.com>
31775         * org-attach.el: New file.
31777 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
31779         * org.el (org-edit-fixed-width-region): Exclude final newline from
31780         picture area.
31782         * org-export-latex.el (org-export-latex-subcontent): Add labels to
31783         sections, to make internal links work.
31784         (org-export-latex-fontify-headline): Do not remove all text
31785         properties, to make sure that target properties survive this
31786         process.
31788         * org-exp.el (org-export-preprocess-string): Change sequence of
31789         modifications, to make sure links are prepared before the LaTeX
31790         conversions do happen.
31792         * org-attach.el (org-attach-delete-all): Rename from
31793         `org-attch-delete'.  Add a security query before deleting the
31794         entire directory.  New optional argument FORCE can overrule the
31795         security query.
31796         (org-attach-delete-one): New command.
31798         * org-attach.el (org-attach-file-list): Fix bug with directory.
31800         * org.el (org-apps-regexp-alist): New function.
31801         (org-file-apps): Add auto-mode to the default value.
31802         (org-open-file): Use the new structure of org-file-apps.
31804         * org-attach.el (org-attach): Support the new keys.
31805         (org-attach-method): New option.
31807         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31808         March.
31810         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31811         of the list value o `org-use-tag-inheritance'.
31813         * org-attach.el (org-attach-auto-tag): New option.
31814         (org-attach-tag, org-attach-untag): New functions.
31815         (org-attach-attach, org-attach-new, org-attach-sync):
31816         Call `org-attach-tag'.
31817         (org-attach-delete): Call `org-attach-untag'.
31819         * org-table.el (orgtbl-self-insert-command): Make this work for
31820         the keypad as well.
31822         * org.el (org-add-log-setup): Limit searc for drawers to entry
31823         text, not to subtree.
31825         * org-clock.el (org-clock-heading-for-remember): New variable.
31826         (org-clock-in): Set `org-clock-heading-for-remember'.
31828 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31830         * org-remember.el (org-remember-apply-template): Add new
31831         expansions: %k, %K for currently clocked task and a link to the
31832         currently clocked task, and %< to file notes in the currently
31833         clocked task.
31835 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31837         * org-export-latex.el (org-export-latex-make-header): Also insert
31838         the content of the property :latex-header-extra.
31840         * org-exp.el (org-infile-export-plist): Put the content of
31841         #+LATEX_HEADER: into the property :latex-header-extra.
31843         * org-colview.el (org-columns-get-format-and-top-level):
31844         Remove resetting the marker.
31846         * org.el (org-entry-property-inherited-from): Improve docstring.
31847         (org-entry-get-with-inheritance): Reset marker before starting the
31848         search.
31850         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31852         * org.el (org-entry-get-multivalued-property)
31853         (org-entry-protect-space, org-entry-restore-space):
31854         New functions.
31855         (org-file-apps-defaults-macosx): Let PostScript files be opened by
31856         preview.
31857         (org-time-stamp-inactive): Call `org-time-stamp'.
31858         (org-time-stamp): New argument `inactive'.  Also edit inactive
31859         stamps.  Convert time stamp type.
31860         (org-open-file): Interpret the `default' value for the `command'
31861         in `org-file-apps'.
31863         * org-id.el (org-id-int-to-b36-one-digit)
31864         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31865         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31866         b36.
31868         * org-id.el (org-id-reverse-string): New function.
31869         (org-id-new): Use `org-id-reverse-string' to make sure the
31870         beginning chars of the ID are mutating fast.  This allows to use a
31871         directory structure to spread things better.
31872         (org-id-prefix): Change default to nil.
31874         * org-list.el (org-move-item-down, org-move-item-up): Remember and
31875         restore the column of the cursor position.
31877         * org-remember.el (org-remember-apply-template): Remove properties
31878         from `initial'.
31880         * org-wl.el (org-wl-open): Remove useless call to
31881         `wl-thread-open-all'.
31883         * org-remember.el (org-remember-handler): Fix bug with `bottom'
31884         location.
31886         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31887         `org-bbdb-anniversaries'.
31889         * org.el (org-get-next-sibling, org-forward-same-level):
31890         New functions, similar to the outline versions, but invisible headings
31891         are OK.
31893 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31895         * org.el (org-auto-repeat-maybe): Insert a space between
31896         the timestamp's type and the timestamp itself.
31898 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31900         * org-table.el (org-table-sum): Do not format the result with %g,
31901         it does rounding when there are too many digits.
31903         * org.el (org-map-entries): Protect the keyword-selecting variables.
31905 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31907         * org-agenda.el (org-agenda-to-appt): Make sure the function check
31908         against all agenda files.
31910 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31911             Bastien Guerry  <bzg@gnu.org>
31913         * org-list.el: New file, aggregating list functions from org.el
31914         and org-export-latex.el.
31916 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31918         * org.el (org-edit-src-region-extra): New option.
31920         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31921         time before 1am.
31923 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31925         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31927 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31929         * org-plot.el (org-plot/gnuplot): Make tables starting with a
31930         hline work correctly.
31931         (org-plot/gnuplot-script): Put commas at the end of each script
31932         line.
31934         * org.el (org-get-refile-targets): Replace links with their
31935         descriptions.
31936         (org-imenu-get-tree): Replace links with their descriptions.
31938         * org-remember.el (org-remember-apply-template): Add a new
31939         expansion for adding properties to remember items.
31941         * org.el (org-add-log-setup): Skip over drawers (properties,
31942         clocks etc) when adding notes.
31944         * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31945         items as well as the start and end times.
31947         * org-compat.el (org-get-x-clipboard-compat): Add a compat
31948         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31950         * org-remember.el (org-get-x-clipboard): Use the compat
31951         function to get clipboard values when x-selection-value is
31952         unavailable.  Use substring-no-properties instead of
31953         set-text-properties to remove text properties from the clipboard
31954         value.
31956         * org-clock.el (org-update-mode-line): Support limiting the
31957         modeline clock string, and display the full todo value in the
31958         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
31959         the currently clocked task.
31960         (org-clock-string-limit): Add a custom value for the maximum
31961         length of the clock string in the modeline.
31962         (org-clock-mode-map): Add a keymap for the modeline string.
31964 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31966         * org-compat.el (org-propertize): New function.
31968 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31970         * org-export-latex.el (org-export-latex-tables): Protect exported
31971         tables from further special chars conversion.
31972         (org-export-latex-preprocess): Preserve LaTeX environments.
31973         (org-list-parse-list): Parse descriptive lists.
31974         (org-list-to-generic, org-list-to-latex, org-list-to-html)
31975         (org-list-to-texinfo): Export descriptive lists.
31976         (org-quote-chars): Remove.
31977         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
31978         (org-export-latex-list-beginning-re): Rename to
31979         `org-list-beginning-re'.
31980         (org-list-item-begin): Rename to `org-list-item-beginning'.
31982 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
31984         * org-plot.el: New file.
31986 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31988         * org.el (org-refile): Allow refiling to the last entry in the
31989         buffer.
31990         (org-get-tags-at): Fix bug when inheritance is turned off.
31992         * org.el (org-indent-line-function): No longer check for src
31993         regions, this is too much overhead.
31995         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
31996         matching.
31998         * org.el (org-scan-tags): Make sure that tags matching is not case
31999         sensitive.  TODO keyword matching is case sensitive, however, to
32000         avoid confusion with similar words that are not meant to be
32001         keywords.
32003         * org.el (org-get-local-tags-at): New function.
32004         (org-get-local-tags): New function.
32006         * org-exp.el (org-export-get-categories): New function.
32008         * org-agenda.el (org-sorting-choice)
32009         (org-agenda-sorting-strategy, org-agenda-get-todos)
32010         (org-agenda-get-timestamps, org-agenda-get-deadlines)
32011         (org-agenda-get-scheduled, org-agenda-get-blocks)
32012         (org-entries-lessp): Implement sorting by TODO state.
32013         (org-cmp-todo-state): New defsubst.
32015         * org-colview.el (org-colview-construct-allowed-dates):
32016         New function.
32017         (org-columns-next-allowed-value):
32018         Use `org-colview-construct-allowed-dates'.
32020         * org.el (org-protect-slash): New function.
32021         (org-get-refile-targets): Use `org-protect-slash'.
32023         * org-agenda.el (org-global-tags-completion-table): New variable.
32025         * org-exp.el (org-export-handle-export-tags): New function.
32026         (org-export-preprocess-string):
32027         Call `org-export-handle-export-tags'.
32029         * org-publish.el (org-publish-expand-components): Function removed.
32030         (org-publish-expand-projects): Allow components to have components.
32032         * org.el (org-indent-line-function): Do not indent in regions that
32033         are external source code.
32034         (org-yank-and-fold-if-subtree): New function.
32036         * org-agenda.el (org-agenda-todayp): New function.
32037         (org-agenda-get-deadlines, org-agenda-get-scheduled):
32038         Use `org-agenda-todayp'.
32040         * org.el (org-insert-heading-respect-content)
32041         (org-insert-todo-heading-respect-content): New commands.
32042         (org-insert-heading-respect-content): New option.
32043         (org-insert-heading): Respect `org-insert-heading-respect-content'.
32045         * org-clock.el (org-clock-find-position): Make sure the note after
32046         the clock line gets moved into the new clock drawer.
32048         * org-id.el (org-id-new): New option.
32050         * org-table.el (org-table-copy-down): Avoid overflow during
32051         increment.  Use prefix argument 0 to temporarily disable the
32052         increment.
32054         * org-exp.el (org-export-as-html): Do not turn on the major mode
32055         if the buffer will be killed anyway.
32056         (org-get-current-options): Exclude the #+TEXT field.
32057         (org-export-as-html): Make sure text before the first headline is
32058         a paragraph.
32060         * org-publish.el (org-publish-org-to): Tell the exporter that this
32061         buffer will be killed, so it is not necessary to do major mode
32062         initialization.
32064         * org-archive.el (org-archive-to-archive-sibling): Show empty
32065         lines after folding the archive sibling.
32067         * org.el (org-log-note-extra): New variable.
32069 2008-10-12  Bastien Guerry  <bzg@gnu.org>
32071         * org.el (org-additional-option-like-keywords): Add keywords for
32072         the _QUOTE, _VERSE and _SRC environments.
32074         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
32075         exporting _QUOTE and _VERSE environments.
32077 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
32079         * org-agenda.el (org-agenda-filter-by-tag): New command.
32081         * org-exp.el (org-get-current-options): Remove angular brackets
32082         from the date entry.
32084         * org.el (org-edit-fixed-width-region): New function.
32085         (org-edit-fixed-width-region): Also try
32086         `org-edit-fixed-width-region'.
32087         (org-edit-fixed-width-region-mode): New option.
32088         (org-activate-code): Only interpret lines starting with colon
32089         plus a space as example lines.
32091         * org-remember.el (org-remember-templates): Add nil instead of
32092         empty strings to fix the length of remember templates.
32094         * org-table.el (org-calc-default-modes): Fix the time format for
32095         calc, from 12 hour to 24 hour clock.
32097         * org-agenda.el (org-agenda-get-deadlines)
32098         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
32099         entries that are pre-warnings of deadlines or reminders.
32101         * org.el (org-sort-entries-or-items): Make numeric and alpha
32102         comparisons ignore any TODO keyword and priority cookie.
32104         * org-remember.el (org-remember-handler): Reinterpretation of the
32105         prefix argument.
32107         * org-agenda.el (org-agenda-get-scheduled): Use new
32108         `org-scheduled' face.
32110         * org-faces.el (org-scheduled): New face.
32112         * org-wl.el (org-wl-open): Remove incorrect declaration.
32114         * org-gnus.el (org-gnus-store-link): Support for :to information
32115         in gnus links.
32117         * org-exp.el (org-export-as-html): Fix typo in creator
32118         information.
32119         (org-export-protect-examples): New parameter indent.  Insert extra
32120         spaces only when this parameter is specified.
32121         (org-export-preprocess-string): Call `org-export-protect-examples'
32122         with an indentation parameter when exporting to ASCII.
32124         * org-remember.el (org-remember-templates)
32125         (org-remember-apply-template): Allow the file component to be a
32126         function.
32128         * org.el (org-goto-local-search-headings): Rename from
32129         `org-goto-local-search-forward-headings'.  Added the possibility
32130         to search backwards.
32132         * org-export-latex.el (org-export-latex): New customization
32133         group.
32135         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
32137         * org-exp.el (org-html-do-expand): Allow {} to terminate
32138         tex macro.
32140         * org.el (org-buffer-list): Select buffers based on major mode,
32141         not on file name.
32143         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
32144         face property.
32146         * org-colview.el (org-columns-display-here):
32147         Use `org-columns-modify-value-for-display-function'.
32149         * org.el (org-columns-modify-value-for-display-function): New option.
32151         * org-publish.el (org-publish-file): Make sure the directory match
32152         for the publishing directory works correctly.
32154         * org-agenda.el (org-agenda-execute-calendar-command)
32155         (org-agenda-diary-entry): Additional optional argument.
32157 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32159         * org-exp.el (org-export-as-html): Add attributes also in mailto
32160         and ftp links.
32162         * org.el (org-autoload): Add `org-dblock-write:columnview'.
32164 2008-08-11  Glenn Morris  <rgm@gnu.org>
32166         * org-mac-message.el (do-applescript): Fix declaration.
32168 2008-08-10  Glenn Morris  <rgm@gnu.org>
32170         * org-exp.el (org-export-as-html): Let-bind `i'.
32172         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
32173         (org-extract-attributes): Let-bind `key', `value'.
32174         (org-make-tags-matcher): Let-bind `time-p'.
32176 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
32178         * org-install.el: New file.
32180 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
32182         * org-exp.el (org-export-html-style)
32183         (org-export-html-style-extra): Declare as safe-local-variable.
32185 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
32187         * org-publish.el (org-publish-file): Use the true name of the
32188         file.
32190         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
32191         instead of :style.
32193         * org-exp.el (org-export-plist-vars)
32194         (org-export-add-options-to-plist): Handle creator setting flag.
32195         (org-export-as-html): Handle attributes also for ftp and mailto
32196         links.
32198         * org-agenda.el (org-agenda-diary-entry)
32199         (org-agenda-execute-calendar-command): Cater for the second
32200         argument of `calendar-cursor-to-date'.
32202 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32204         * org-exp.el (org-export-region-as-html, org-export-as-html):
32205         Make sure that calls from `org-export-region-as-html' do not do the
32206         special check for a subtree.
32208         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
32210         * org.el (org-open-file):
32211         Use `org-open-directory-means-index-dot-org'.
32212         (org-open-directory-means-index-dot-org): New option.
32214         * org.el (org-make-link-string): Remove link attributes from
32215         description.
32216         (org-open-at-point): Remove link attributes before using the path.
32218         * org-exp.el (org-export-as-html): Handle link attributes.
32220         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
32222         * org-table.el (org-table-to-lisp): New function.
32224         * org.el (org-narrow-to-subtree): Do not include the final newline
32225         into the narrowed region.
32227         * org-agenda.el (org-agenda-custom-commands-local-options):
32228         Fix bug with user-define skipping condition.
32230         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
32232         * org-exp.el (org-export-html-style-default): Automatic overflow
32233         handling for pre fields.
32234         (org-export-as-ascii, org-export-as-html): Change default format
32235         for time stamp.
32237         * org-table.el (org-table-export): Offer completion for translator
32238         functions, and do not require a heading above the table.
32240         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
32241         Cater for the case of a list starting in the first line of the
32242         buffer.
32244         * org-publish.el (org-publish-find-title): Bug fix.
32245         (org-publish-org-index): Implement new :index-style option.
32247         * org-publish.el (org-publish-timestamp-filename):
32248         Use SHA1-encoded file names in the timestamp directory.
32250         * org-publish.el (org-publish-needed-p): Be verbose about files
32251         published and files skipped.
32253         * org-exp.el (org-export-preprocess-string): Swap link
32254         normalization and internal link targeting.
32256         * org-publish.el (org-publish-needed-p): Create timestamp
32257         directory when it does not exist.
32259         * org-clock.el (org-clock-out-when-done): Doc fix.
32261         * org.el (org-agenda-skip-unavailable-files): Doc fix.
32263         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
32264         Ignore case when searching for the COMMENT cookie at export time.
32266         * org-exp.el (org-get-file-contents)
32267         (org-get-and-remove-property): New functions.
32268         (org-export-handle-include-files): Handle the new prefix options.
32269         (org-export-as-html): Fix the verse environment.
32271         * org.el (org-time=, org-time<, org-time<=, org-time>)
32272         (org-time>=, org-time<>, org-2ft): New functions.
32273         (org-op-to-function): Also provide for the time testing functions.
32275         * org-exp.el (org-export-html-style-default): New constant.
32277         * org-exp.el (org-export-html-style-extra): New variable.
32278         (org-export-splice-style): New function.
32280         * org-exp.el (org-export-plist-vars, org-export-as-html):
32281         Implement `org-export-creator-info'.
32282         (org-export-creator-info): New option.
32284         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
32285         (org-property-drawer-re, org-clock-drawer-re): New constants.
32287         * org-exp.el (org-icalendar-use-deadline)
32288         (org-icalendar-use-scheduled): New options.
32289         (org-icalendar-include-todo): Default changed to t.
32290         (org-print-icalendar-entries): Implement better utilization of
32291         scheduling and deadline time stamps.
32292         (org-export-target-internal-links, org-export-as-html): Allow file
32293         lines without the "file:" prefix if the file path is an absolute
32294         path or starts with ".".
32296         * org-clock.el (org-clocktable-shift): Also understand yesterday,
32297         lastweek etc.
32298         (org-clock-special-range): Also understand yesterday, lastweek etc.
32300         * org.el (org-agenda-skip-archived-trees): Docstring now
32301         discourages using this.
32302         (org-scan-tags): Check for org-agenda-archives-mode.
32303         (org-map-entries): Make sure org-agenda-archives-mode is nil.
32304         (org-agenda-files): Functionality of second arg changed.
32306         * org-agenda.el (org-agenda-archives-mode): New variable.
32307         (org-write-agenda, org-prepare-agenda, org-agenda-list)
32308         (org-search-view, org-todo-list, org-tags-view)
32309         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
32310         `ifmode' argument.
32311         (org-agenda-quit): Reset the archives mode.
32312         (org-agenda-archives-mode): New command.
32313         (org-agenda-set-mode-name): Include archives info.
32315         * org.el (org-paste-subtree): Make sure the yanked headline is
32316         visible if it was yanked at a visible point.
32317         (org-move-item-up): Fix the bug with moving white space at the end
32318         of the item.
32319         (org-show-empty-lines-in-parent): New function.
32321 2008-07-19  Juri Linkov  <juri@jurta.org>
32323         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
32324         new keymap `narrow-map' instead of binding "\C-xns".
32326 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
32328         * org.el (org-agenda-skip-unavailable-files):
32329         * org-clock.el (org-clock-out-when-done): Doc fixes.
32331 2008-06-18  Glenn Morris  <rgm@gnu.org>
32333         * org.el (org-map-entries): Let-bind `file'.
32335 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32337         * org-colview.el (org-columns-next-allowed-value): Bug fix.
32339         * org-agenda.el (org-agenda-get-closed): Get the end time into the
32340         agenda prefix as well.
32342         * org-publish.el (org-publish-org-index): Make a properly indented
32343         list.
32345         * org.el (org-calendar-agenda-action-key): New option.
32346         (org-get-cursor-date): New function.
32347         (org-mark-entry-for-agenda-action): New command.
32348         (org-overriding-default-time): New variable.
32349         (org-read-date): Respect `org-overriding-default-time'.
32351         * org-remember.el (org-remember-apply-template): Respect the
32352         overriding default time.
32354         * org-agenda.el (org-agenda-action-marker): New variable.
32355         (org-agenda-action): New command.
32356         (org-agenda-do-action): New function.
32358 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32360         * org.el (org-schedule, org-deadline): Protect scheduled and
32361         deadline tasks against changes that accidentally remove the
32362         repeater.  Also show a message with the new date when done.
32364 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32366         * org.el (org-beginning-of-line): Cater for the case when there
32367         are tags but no headline text.
32368         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
32369         it set.
32371 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32373         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
32374         the return value is nil instead of "nil" when there is no match.
32376         * org-exp.el (org-insert-centered): Use fill-column instead of
32377         80.
32378         (org-export-as-ascii): Use string-width to measure the width of
32379         the heading.
32381         * org.el (org-diary-to-ical-string): No longer kill buffer
32382         FROMBUF, this is now done by the caller.
32384         * org-exp.el (org-print-icalendar-entries): Move the call to
32385         `org-diary-to-ical-string' out of the loop, and kill the buffer
32386         afterwords.
32388         * org-remember.el (org-remember-visit-immediately):
32389         Position cursor after moving to the note.
32390         (org-remember-apply-template): Use a text property to record the
32391         cursor position.
32392         (org-remember-handler): Align tags after pasting the note.
32394 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32396         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
32398         * org-agenda.el (org-agenda-open-link): If there is an
32399         org-bbdb-name property in the current line, jump to that bbdb
32400         entry.
32402         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
32403         text property, so that the agenda knows where this entry comes
32404         from.
32406         * org-agenda.el (org-agenda-clock-in): Fix bug in the
32407         interaction between clocking-in from the agenda, and  automatic
32408         task state switching.
32410         * org-macs.el (org-with-point-at): Bug fix in macro definition.
32412         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
32413         zmacs-region stays after this command in XEmacs.
32415 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32417         * org.el (org-scan-tags): Allow new values for ACTION parameter.
32419         * org-remember.el (org-remember-templates): Fix bug in
32420         customization type definition.
32422         * org.el (org-map-entries): New function.
32424 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32426         * org-agenda.el (org-agenda-skip-comment-trees): New option.
32427         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
32429 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32431         * org-remember.el (org-jump-to-target-location): New variable.
32432         (org-remember-apply-template):
32433         Set `org-remember-apply-template' if requested by template.
32434         (org-remember-handler): Start an idle timer to jump to
32435         remember location.
32437         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
32439         * org.el (org-set-regexps-and-options): Fix bug with parsing of
32440         file tags.
32441         (org-get-tags-at): Add the content of `org-file-tags'.
32443         * org-exp.el (org-export-handle-comments): Fix bug with several
32444         comment lines after each other.
32445         (org-number-to-roman, org-number-to-counter): New functions.
32446         (org-export-section-number-format): New option.
32448 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32450         * org-exp.el (org-export-protect-examples): Catch the case of a
32451         missing end_example line.
32453         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
32454         `org-file-tags' to nil.
32456         * org-colview.el (org-columns-next-allowed-value): Handle next
32457         argument NTH to directly select a value.
32459 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32461         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
32463 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32465         * org.el (org-columns-ellipses): New option.
32467 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32469         * org-colview.el (org-columns-add-ellipses): New function.
32470         (org-columns-compact-links): New function.
32471         (org-columns-cleanup-item): Call `org-columns-compact-links'.
32472         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
32473         when in agenda.
32474         (org-columns-edit-value): Fix bug with editing values from
32475         agenda column view.
32476         (org-columns-redo): Also redo the agenda itself.
32478 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32480         * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
32481         New option.
32483         * org-colview.el (org-agenda-columns-cleanup-item): New function.
32485         * org-exp.el (org-export-ascii-preprocess): Rename from
32486         `org-export-ascii-clean-string'.
32487         (org-export-kill-licensed-text)
32488         (org-export-define-heading-targets)
32489         (org-export-handle-invisible-targets)
32490         (org-export-target-internal-links)
32491         (org-export-remove-or-extract-drawers)
32492         (org-export-remove-archived-trees)
32493         (org-export-protect-quoted-subtrees)
32494         (org-export-protect-verbatim, org-export-protect-examples)
32495         (org-export-select-backend-specific-text)
32496         (org-export-mark-blockquote-and-verse)
32497         (org-export-remove-comment-blocks-and-subtrees)
32498         (org-export-handle-comments, org-export-mark-radio-links)
32499         (org-export-remove-special-table-lines)
32500         (org-export-normalize-links)
32501         (org-export-concatenate-multiline-links)
32502         (org-export-concatenate-multiline-emphasis): New functions,
32503         obtained from spliting the export preprocessor.
32505         * org-table.el (org-table-recalculate): Improve error message if
32506         the row number is invalid.
32508 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32510         * org-archive.el (org-archive-save-context-info): Fix bugs in
32511         customization setup and docstring.
32513         * org-exp.el (org-export-html-style): Change the size of in the
32514         <pre> element to 90%.
32516 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32518         * org.el (org-find-src-example-start): Function removed.
32519         (org-edit-src-find-region-and-lang): New function.
32521 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32523         * org.el (org-edit-src-exit): New function.
32524         (org-exit-edit-mode): New minor mode.
32526         * org-exp.el (org-export-preprocess-string): Fix bug with removing
32527         comment-like lines from protected examples.
32529         * org.el (org-edit-src-example, org-find-src-example-start)
32530         (org-protect-source-example, org-edit-special): New functions.
32532 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32534         * org-publish.el (org-publish-project-alist): Fix typo in
32535         docstring.
32536         (org-publish-project-alist): Handle :index-title property.
32538 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32540         * org-export-latex.el (org-export-as-latex): Make sure region
32541         bounds are correct.  Parse subtree properties relating to export.
32543         * org-exp.el (org-export-add-options-to-plist): New function.
32544         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
32546 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32548         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
32549         EXPORT_TITLE.
32551         * org-exp.el (org-export-get-title-from-subtree)
32552         (org-export-as-ascii, org-export-as-html): Make sure the original
32553         region-beginning and region-end are used, even after moving point.
32554         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
32555         property.
32557         * org-remember.el (org-remember-last-stored-marker): New variable.
32558         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
32559         (org-remember-handler): Also use marker to remember
32560         last-stored position.
32562         * org.el (org-goto-marker-or-bmk): New function.
32564 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32566         * org.el (org-file-properties): Rename from `org-local-properties'.
32567         (org-scan-tags): Take file tags into account.
32568         (org-tags-match-list-sublevels): Default changed to t.
32570         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
32572         * org.el (org-update-parent-todo-statistics): New function.
32574         * org-exp.el (org-icalendar-store-UID): New option.
32575         (org-icalendar-force-UID): Option removed.
32576         (org-print-icalendar-entries): IMplement UIDs.
32578 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32580         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
32582 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32584         * org-faces.el (org-column): Document how this face is being used
32585         and why sometimes the background faces shine through.
32587         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
32589         * org-publish.el (org-publish-attachment): Create publishing
32590         directory if it does not yet exist.
32592         * org-table.el (org-calc-default-modes): Change default number
32593         format to (float 8).
32595         * org.el (org-olpath-completing-read): New function.
32596         (org-time-clocksum-format): New option.
32597         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
32599         * org-clock.el (org-clock-display, org-clock-out)
32600         (org-update-mode-line): Use `org-time-clocksum-format'.
32602         * org-colview.el (org-columns-number-to-string):
32603         Use `org-time-clocksum-format'.
32605 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32607         * org-id.el: New file, move from contrib to core.
32609         * org-exp.el (org-icalendar-force-UID): New option.
32611 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32613         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
32614         shifted by one day if there is a date range without an end time.
32616         * org.el (org-try-structure-completion): New function.
32618 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32620         * org.el (org-set-font-lock-defaults): Improve fontification of
32621         description lists.
32622         (org-insert-item): Handle description lists.
32623         (org-adaptive-fill-function): Improve auto indentation in
32624         description lists.
32626         * org-exp.el (org-export-as-html, org-export-preprocess-string):
32627         Implement VERSE environment.
32628         (org-export-preprocess-string): Implement the COMMENT
32629         environment.
32631         * org-export-latex.el (org-export-latex-preprocess):
32632         Implement VERSE environment.
32634 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32636         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32637         option.
32639 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32641         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32643         * org.el (org-quote-csv-field): New functions.
32645         * org-table.el (org-table-export-default-format): Remove :splice
32646         from default format, we get the same effect by not specifying
32647         :tstart and :tend.
32648         (org-table-export): Improve setup, distinguish better between
32649         interactive and non-interactive use, allow specifying the format
32650         on the fly, better protection against wrong file names.
32651         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
32652         and :tend when :splice is omitted.
32654 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32656         * org-clock.el (org-clock-select-task): Make sure the selection
32657         letters are 1-9 and A-Z, no special characters.
32659 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32661         * org-exp.el (org-export-htmlize): New group.
32662         (org-export-htmlize-output-type)
32663         (org-export-htmlize-css-font-prefix): New options.
32664         (org-export-htmlize-region-for-paste): New function.
32665         (org-export-htmlize-generate-css): New command.
32667 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32669         * org.el (org-set-visibility-according-to-property): New function.
32670         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32671         and compute the regular expressions, and update font-lock.
32672         (org-property-re): Allow a dash in property names.
32674         * org-archive.el (org-extract-archive-file): Insert the file name
32675         without the path into the format, to allow the location format to
32676         contain a subdirectory.
32678         * org-agenda.el (org-agenda-post-command-hook): If point is at end
32679         of buffer, and the `org-agenda-type' property undefined, use the
32680         value from the character before.
32682         * org.el (org-add-planning-info): Don't let indentation for
32683         would-be timestamp become extra whitespace at the end of headline.
32685 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32687         * org.el (org-remove-double-quotes, org-file-contents):
32688         New functions.
32690         * org-exp.el (org-infile-export-plist): Also parse the
32691         contents of #+SETUPFILE files, recursively.
32693         * org.el (org-set-regexps-and-options): Also parse the
32694         contents of #+SETUPFILE files, recursively.
32696         * org-exp.el (org-export-handle-include-files): New function.
32697         (org-export-preprocess-string):
32698         Call `org-export-handle-include-files'.
32700         * org.el (org-delete-property-globally)
32701         (org-delete-property, org-set-property): Ignore case during
32702         completion.
32703         (org-set-property): Use `org-completing-read' instead of
32704         `completing-read'.
32706         * org.el (org-complete-expand-structure-template): New,
32707         experimental function.
32708         (org-structure-template-alist): New, experimental option.
32709         (org-complete): Call `org-complete-expand-structure-template'.
32711 2008-06-17  Bastien Guerry  <bzg@gnu.org>
32713         * org-export-latex.el (org-export-latex-preprocess):
32714         Add support for blockquotes.
32716 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32718         * org.el (org-read-date-analyze): Catch the case where only a
32719         weekday is given.
32721 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32723         * org.el (org-set-font-lock-defaults): Make the description
32724         tag bold.
32726         * org-exp.el (org-export-as-html, org-close-li):
32727         Implement description lists.
32729 2008-06-17  Jason Riedy  <jason@acm.org>
32731         * org-table.el (*orgtbl-default-fmt*): New variable.
32732         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32733         when there is no other fmt available.
32735         (orgtbl-to-generic): Allow an explicitly nil :tstart or
32736         :tend to suppress the appropriate string.
32738         (orgtbl-to-orgtbl): New function for translating to another orgtbl
32739         table.
32741 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32743         * org.el (org-read-date-analyze): "." as an alias for "+0" in
32744         read date.
32746         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32747         New function.
32749         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32750         New function.
32752 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32754         * org-clock.el (org-clock-find-position): Don't include notes
32755         into clock drawer.
32757         * org-archive.el (org-archive-subtree): No longer remove an
32758         extra line after cutting the subtree.  `org-cut-subtree' already
32759         takes care of this.
32761         * org-remember.el (org-remember-handler): Only kill the target
32762         buffer if it does not contain the running clock.
32764         * org.el (org-markers-to-move): New variable.
32765         (org-save-markers-in-region, org-check-and-save-marker)
32766         (org-reinstall-markers-in-region): New function.
32767         (org-move-subtree-down, org-copy-subtree): Remember relative
32768         marker positions before cutting.
32769         (org-move-subtree-down, org-paste-subtree): Restore relative
32770         marker positions after pasting.
32772         * org-remember.el (org-remember-clock-out-on-exit): New option.
32773         (org-remember-finalize): Clock out only if the setting in
32774         `org-remember-clock-out-on-exit' requires it.
32775         (org-remember-handler): Do the cleanup in the buffer, to make sure
32776         that the clock marker remains in tact.
32778 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32780         * org-clock.el (org-clock-goto): Widen buffer if necessary.
32781         (org-clock-in): Make sure that also tasks outside the narrowed
32782         region will be clocked in correctly.
32783         (org-clock-insert-selection-line): Widen the buffer so that we can
32784         find the correct task heading.
32786         * org.el (org-base-buffer): New function.
32788         * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32789         and ";" are escaped.
32790         (org-print-icalendar-entries): Also apply
32791         `org-icalendar-cleanup-string' to the headline, not only to the
32792         summary property.
32794 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32796         * org-exp.el (org-export-preprocess-hook): New hook.
32797         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32799         * org.el (org-font-lock-hook): New variable.
32800         (org-font-lock-hook): New function.
32801         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32803 ;; Local Variables:
32804 ;; coding: utf-8
32805 ;; add-log-time-zone-rule: t
32806 ;; End:
32808         Copyright (C) 2008-2014 Free Software Foundation, Inc.
32810   This file is part of GNU Emacs.
32812   GNU Emacs is free software: you can redistribute it and/or modify
32813   it under the terms of the GNU General Public License as published by
32814   the Free Software Foundation, either version 3 of the License, or
32815   (at your option) any later version.
32817   GNU Emacs is distributed in the hope that it will be useful,
32818   but WITHOUT ANY WARRANTY; without even the implied warranty of
32819   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32820   GNU General Public License for more details.
32822   You should have received a copy of the GNU General Public License
32823   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.