* lisp/select.el: Use lexical-binding.
[emacs.git] / lisp / org / ChangeLog
blob0f28ef0df925c157d2c4a0388f1e89b39f67ab4b
1 2014-10-20  Glenn Morris  <rgm@gnu.org>
3         * Merge in all changes up to 24.4 release.
5 2014-10-12  Marco Wahl  <marcowahlsoft@gmail.com>
7         * org-agenda.el (org-get-entries-from-diary):
8         Use `diary-fancy-display' instead of the obsolete
9         `diary-display-hook'.
11 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
13         * ox.el (org-export-async-start): Limit first argument to lambda
14         expressions.
16         * ox-publish.el (org-publish, org-publish-all)
17         (org-publish-current-file): Replace `ignore', per limit stated above.
19 2014-10-12  Christopher Schmidt  <ch@ristopher.com>
21         * org.el (orgstruct-make-binding): Do not use loop in interpreted code.
23 2014-10-12  Mike McLean  <mike.mclean@pobox.com>  (tiny change)
25         * org-agenda.el (org-agenda-time-grid): Change docstring.
27 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
29         * ox.el (org-export-async-start): Allow to use symbols as function.
31 2014-10-03  Achim Gratz  <Stromeko@Stromeko.DE>
33         * ob-sh.el (org-babel-sh-initiate-session): After initiating a
34         session, initialize the marker `comint-last-output-start' since it
35         is going to be used by the ANSI color filter without further
36         checks in Emacs 23 and throws an error.
38         * ob-lilypond.el: Change prefix from `ly-' to
39         `org-babel-lilypond-' throughout.
41         * org-footnote.el: Forward declare `org-element-context',
42         `org-element-property' and `org-element-type'.
44         * org.el: Add forward declarations for a number of functions that
45         the compiler otherwise warns about as potentially undefined at
46         runtime.
48         * ob-core.el: Add comment to forward declaration of
49         'org-src-preserve-indentations'.
51         * ob-exp.el: Require org-src to import
52         'org-src-preserve-indentations'.
54         * ob-haskell.el, ob-python.el: Remove superfluous forward
55         declaration of 'org-src-preserve-indentations', since it gets
56         imported by other requires.
58         * ob-core.el (org-every): Forward declare 'org-every'.
60         * ob-C.el: Require cl during compilation so that lexical-let is
61         known.
63         * org-entities.el: Remove superfluous require of org-macs.
64         Forward declare 'org-toggle-pretty-entities' and
65         'org-pretty-entities'.
67         * ox.el (org-export-get-parent): Move definition of
68         'org-export-get-parent' before first use.  Leave comment at original
69         place of definition.
71         * org.el (org-uniquify): Move definition of 'org-uniquify' before
72         first use.  Leave comment at original place of definition.
74         * ob-tangle.el (org-babel-tangle): When `file-name-directory'
75         returns nil, do not run make-directory.  Remove superfluous when
76         clauses by using short-circuiting `and' instead.
78 2014-10-03  Alex Kosorukoff  <alex@3form.com>  (tiny change)
80         * org-capture.el (org-capture-fill-template): Set `mark-active' to
81         nil.
83 2014-10-03  Bastien Guerry  <bzg@gnu.org>
85         * org-agenda.el (org-agenda-prepare): Reset preset filters when
86         using sticky agendas.
88         * org-agenda.el (org-agenda-get-sexps): Don't add tags as text
89         properties.
91         * org-capture.el (org-capture-fill-template):
92         Take `org-extend-today-until' into account when setting the format time
93         string.
95         * org.el (org-paste-subtree): Fix match subexpression.
97         * org.el (org-fix-ellipsis-at-bol): Delete.
98         (org-mode, org-show-context, org-isearch-end): Don't use
99         `org-fix-ellipsis-at-bol'.
101         * org-agenda.el (org-agenda-filter-apply): Fix setting of
102         `org-agenda-filtered-by-category'.
104         * org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
105         of `org-hidden-keywords'.
107         * org-agenda.el (org-cmp-ts): Fix agenda entry type checking.
109         * org-agenda.el (org-entries-lessp): Fix inactive timestamp
110         comparison.
112         * org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
113         when agenda are sticky.
114         (org-agenda-tag-filter-while-redo): Delete.
115         (org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
116         Remove unused code.
117         (org-agenda-clockreport-mode, org-agenda-set-mode-name):
118         Don't consider tag filters.
120         * org.el (org-fix-ellipsis-at-bol)
121         (org-first-headline-recenter): Use `set-window-start' instead
122         of `recenter'.
124         * org-agenda.el (org-recenter-heading): Delete.
126         * org.el (org-insert-heading): With one universal prefix argument
127         or `org-insert-heading-respect-content' set to `t', always respect
128         the content, i.e. don't insert a list item and don't convert
129         normal lines into headings.  Update docstring.
130         (org-insert-heading-respect-content): Remove unused arg.
131         (org-insert-todo-heading-respect-content): Don't use
132         `org-insert-todo-heading-respect-content', use the second argument
133         of `org-insert-todo-heading' instead.
135         * org-mobile.el (org-mobile-edit): Use only one arg.
137         * org.el (org-overview): Don't call `recenter'.
139         * org-agenda.el (org-agenda-custom-commands-local-options):
140         Fix misquoted values.
142         * org.el (org-property-re): Also match null properties by default.
143         (org-entry-delete): Also delete null properties.
144         (org-read-property-value): Allow the empty string as a new value.
145         (org-delete-property): Throw a message when there is not property
146         to delete.
148         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
149         Fix docstring.
151         * org.el (org-re-property): New parameter `allow-null' to match
152         property with a null value.
153         (org-entry-put): Correctly update a property with a null
154         value.
156         * ox-md.el (org-md-headline): When exporting with a HTML table of
157         contents, add HTML anchors to Markdown headlines.
159         * org.el (org-insert-heading): Don't insert an item when called
160         with two universal prefix arguments.
162         * org-agenda.el (org-agenda-finalize): Remove duplicate check for
163         'org-hd-marker.
165         * org-agenda.el (org-agenda-prepare-window): New parameter
166         `filter-alist' to set the filters correctly when
167         `org-agenda-persistent-filter' is on.
168         (org-agenda-prepare): Use the new parameter for
169         `org-agenda-prepare-window'.
171         * org-compat.el (org-in-invisibility-spec-p): Tiny code cleanup.
172         (org-move-to-column): Only remove '(org-filtered) from
173         `buffer-invisibility-spec'.
175         * org-agenda.el (org-agenda-mode): Add buffer invisibility specs.
176         (org-agenda-filter-hide-line, org-agenda-remove-filter):
177         Set the 'invisible text property to 'org-filtered.
178         (org-agenda-show-new-time): Add the default face to avoid the
179         foreground of the last character on the line to leak into the
180         timestamp notification.
182         * org-agenda.el (org-get-time-of-day): Don't return time string
183         from within links.
185         * org-timer.el (org-timer-value-string): Always return a positive
186         value.  Add docstring.
188         * org-capture.el (org-capture-steal-local-variables): Don't steal
189         `mark-active', which should be nil in the target buffer.
191         * org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.
193         * org.el (org-move-subtree-down): Use `org-end-of-subtree' instead
194         of `outline-end-of-subtree'.
195         (outline-end-of-subtree): Remove advice.
197         * org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely):
198         Use `org-end-of-subtree' instead of `outline-end-of-subtree'.
200         * org-agenda.el (org-cmp-ts): Argument `type' is not optional.
201         Don't quote it.
203         * org-habit.el (org-habit-insert-consistency-graphs): Don't remove
204         filter overlays as we don't use overlays for filters anymore.
206         * org-agenda.el (org-agenda-local-vars):
207         Add `org-agenda-top-headline-filter'.
208         (org-agenda-filter-by-category): Fix syntax.
209         (org-agenda-filter-show-all-top-filter): New function.
210         (org-agenda-filter-by-top-headline)
211         (org-agenda-filter-remove-all): Use the new function.
212         (org-agenda-filter-top-headline-apply): Use a dedicated symbol
213         `top-headline'.
215         * org.el (org-entry-properties): Ensure the special property is
216         not commented out when matched.
218         * org-agenda.el (org-agenda-write): Code cleanup.
219         (org-agenda-mark-filtered-text)
220         (org-agenda-unmark-filtered-text)
221         (org-agenda-fix-tags-filter-overlays-at): Delete.
222         (org-agenda-remove-marked-text): Use the `property' argument
223         instead of hard-coding 'org-filtered.
224         (org-agenda-filter-remove-all): Use `org-agenda-finalize'.
225         (org-agenda-filter-hide-line): Rewrite using text properties
226         instead of overlays.
227         (org-agenda-remove-filter): New function.
228         (org-agenda-filter-show-all-tag)
229         (org-agenda-filter-show-all-cat)
230         (org-agenda-filter-show-all-re): Rewrite using
231         `org-agenda-remove-filter'.
233         * org-attach.el (org-attach-dir): When the property is "inherited"
234         from a variable outside of the file, do not use
235         `org-entry-property-inherited-from' to find the attachment
236         position, assume we need to go back to the current headline.
238         * ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
239         one-dimensional value.
241         * org.el (org-insert-heading): Fix bug when trying to insert a
242         heading when point is before the first headline and not at the
243         beginning of a line.
245         * org-table.el (org-table-eval-formula): Fix conversion of
246         inactive timestamps to active ones.
248         * org.el (org-set-regexps-and-options):
249         Allow `org-complex-heading-regexp-format' to match [/] and [%] cookies
250         when they are both before and after the heading.
252         * org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
253         (org-agenda-max-effort): Fix type strings.
255         * org-capture.el (org-capture-fill-template): Deactivate region
256         while trying to align tags on the current headline.
258         * org-agenda.el (org-agenda-finalize): Filter by top headline if
259         `org-agenda-top-headline-filter' is set.
261 2014-10-03  Bernt Hansen  <bernt@norang.ca>
263         * org-macs.el: Remove restriction when locating markers.
265 2014-10-03  Dmitry Gorbik  <dgorbik@me.com>  (tiny change)
267         * org.el (org-fast-tag-selection): Fix window splitting.
269 2014-10-03  Eric Schulte  <schulte.eric@gmail.com>
271         * ob-screen.el (org-babel-screen-test): Use unpredictable name for
272         temporary file.
274         * ob-screen.el (org-babel-screen-session-write-temp-file):
275         Use unpredictable temp file name, fixes bug#17416.
277 2014-10-03  Ian Kelling  <ian@iankelling.org>
279         * ob-core.el (org-babel-insert-result): Test all list elements
280         against listp and (eq element 'hline) instead of checking just the
281         first.
283 2014-10-03  Konstantin Kliakhandler  <kosta@slumpy.org>  (tiny change)
285         * org-agenda.el (org-agenda-redo): Reapply the filters correctly.
287 2014-10-03  Kyle Meyer  <kyle@kyleam.com>  (tiny change)
289         * ox.el (org-export-show-temporary-export-buffer): Fix typo.
291 2014-10-03  Matt Lundin  <mdl@imapmail.org>
293         * ox-publish.el (org-publish-find-title, org-publish-find-date):
294         Make sure to call org-export-get-environment in copy of buffer if
295         emacs is already visiting. Otherwise, #+bind variables meant for
296         export can be set in live buffers.
298         * org.el (org-agenda-inhibit-startup): fix docstring to reflect
299         default value
301         * ox-publish.el (org-publish-find-title, org-publish-find-date):
302         Fix unnecessary invocations of org-mode with org-inhibit-startup.
304 2014-10-03  Nick Dokos  <ndokos@gmail.com>
306         * org-table.el (org-table-clean-before-export): The regexes match
307         spaces in addition to the special characters that might be used in
308         the first column as special marking characters.  Remove the space
309         from the character class.
311         * ox-ascii.el (org-ascii-superscript): Change _ to ^ in the
312         output.
314 2014-10-03  Nick Dokos  <ndokos@redhat.com>
316         * org-table.el (org-table-show-reference): Call `set-window-start'
317         with the calculated values `min' and `max', not with
318         (point-min) and (point-max).
320 2014-10-03  Nicolas Goaziou  <n.goaziou@gmail.com>
322         * ox-latex.el (org-latex-link): Improve test for unnumbered
323         headlines.
325         * ox-ascii.el (org-ascii--fill-string): Allow filling even when
326         `org-export-preserve-breaks' is non-nil.
328         * org.el (org-N-empty-lines-before-current): Make sure to delete
329         only empty lines, not trailing whitespaces.
331         * ox-html.el (org-html-headline): Make sure even listified
332         headlines have proper anchors so internal links can refer to them.
333         Small refactoring.
335         * org-src.el (org-edit-src-code): Fix regexp.
336         (org-edit-src-exit): Do not remove auto-save timer.  This is
337         handled by the timer itself.
339         * org.el (org-re-property): Fix regexp.  Improve docstring.
341         * org-element.el (org-element-property-drawer-parser)
342         (org-element-node-property-parser): Ignore lines that are not node
343         properties.
344         (org-element-node-property-interpreter): Allow nil properties.
346         * org.el (org-re-property): Fix regexp to match properties with
347         empty values.
349         * org-element.el (org-element-headline-interpreter): Take into
350         consideration `org-odd-levels-only' value.  Small refactoring.
352         * ox-texinfo.el (org-texinfo--get-node): Return a node or anchor
353         name.
354         (org-texinfo--sanitize-content): Fix regexp.
355         (org-texinfo-link): Fix various bugs in link export.
357         * ox-beamer.el (org-beamer-link):
358         * ox-html.el (org-html-link):
359         * ox-latex.el (org-latex-link):
360         * ox-odt.el (org-odt-link): When radio link has no valid
361         target (e.g., this is a subtree export and the radio target is not
362         in the exported subtree), simply return contents.
364         * org.el (org-called-with-limited-levels): Initialize variable.
366         * org-agenda.el (org-agenda-write): Write headings in proper
367         order.
369         * org-element.el (org-element-table-interpreter):
370         Enhance docstring.
372         * ox-md.el (org-md-link): Allow custom link type export function.
374         * ox-texinfo.el (org-texinfo-template): Fix language and encoding
375         case.
377         * ox-md.el (org-md-separate-elements): Outside of lists, preserve
378         blank lines between paragraphs and plain lists.
380         * org-element.el (org-element-normalize-contents): Fix indentation
381         removal when there is an empty line within a verse block.
383         * ox-texinfo.el (org-texinfo--normalize-headlines): Properly add a
384         section to the contents.
386         * ox-texinfo.el (org-texinfo--normalize-headlines): Do not set pre
387         blanks since the value is now hard-coded.
388         (org-texinfo-headline): Force one blank line before contents, when non
389         empty.  Refactoring.
390         (org-texinfo-src-block): Refactor code.  Comply to predicate naming.
392         * ox-texinfo.el (org-texinfo--sanitize-node):
393         Handle " (not)allowed" case.
395         * ox-texinfo.el (org-texinfo-headline): Remove wrong code
396         comments.
398         * ox-texinfo.el (org-texinfo-headline): Remove `not-in-toc'
399         special case for tags.
401         * ox-texinfo.el (org-texinfo-headline): Remove LaTeXism (optional
402         arguments within square brackets).
404         * ox-texinfo.el (org-texinfo-info-process): Fix docstring.
405         (org-texinfo-compile): Do not check for impossible cases (e.g., if the
406         previous variable contains a function).
408         * ox-texinfo.el (org-texinfo-max-toc-depth): Fix docstring.
410         * ox-texinfo.el (org-texinfo--make-option-string,
411         org-texinfo--sanitize-headline,
412         org-texinfo--sanitize-headline-contents): Remove.
414         * ox-texinfo.el (org-texinfo--sanitize-node): "@", "{" and "}"
415         characters are allowed in a node name.  So are "(" and ")" unless
416         "(" starts the name and there is ")" somewhere in the name.
417         Also trim and collapse whitespace characters.  Renamed from
418         `org-texinfo--sanitize-menu'.
419         (org-texinfo--get-node): Do not sanitize node names over zealously.
420         Ensure returned node names are unique.
421         (org-texinfo-headline): Only add @node command where it makes sense.
423         * ox-texinfo.el (org-texinfo--sanitize-menu)
424         (org-texinfo--sanitize-content): Fix docstrings.
426         * ox-texinfo.el (org-texinfo--normalize-headlines): Make sure a
427         blank line always follows nodes.
429         * ox-texinfo.el (org-texinfo-make-menu): Change signature.
430         Remove some intermediate functions.  Generate the full master menu when
431         asked.
432         (org-texinfo--build-menu): Use a simpler algorithm.
433         (org-texinfo--format-entries): Fix entries when both node and title
434         are different.
435         (org-texinfo--menu-entries): Rename from `org-texinfo--generate-menu-list'.
436         (org-texinfo-headline): Move menu handling to next function.
437         (org-texinfo-section): Handle menu for current parent.
438         (org-texinfo--menu-headlines, org-texinfo--generate-detailed):
439         Remove functions.
440         (org-texinfo--normalize-headlines): New function.
442         * ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
444         * ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
445         text for sectioning command.
447         * ox-texinfo.el (org-texinfo--generate-menu-list): ":COPYING: nil"
448         is expected to be equivalent to no COPYING property at all.
450         * ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
452         * ox-texinfo.el (org-texinfo-plain-list): Fix format string.
453         Small refactoring.
455         * ox-texinfo.el (texinfo): Provide new export property.
456         (org-texinfo-template): Use dedicated title for hard copy, when
457         available.
459         * ox-texinfo.el (org-texinfo-headline): Always obey to a non-nil
460         :APPENDIX: property.  Small refactoring.
462         * ox-texinfo.el (org-texinfo-verse-block): Generate somewhat
463         meaningful Texinfo code instead of LaTeX.
465         * ox-texinfo.el (org-texinfo-table): Remove reference to
466         "verbatim" attribute.  Handle table.el tables.  Tiny refactoring.
467         (org-texinfo-table--org-table, org-texinfo-table--table.el-table):
468         Remove functions.
469         (org-texinfo-table-column-widths): Indent code correctly.  Ignore
470         special column, if any.  Add a comment about the limitation on the
471         width computation.
472         (org-texinfo-table-row): Small refactoring.
474         * ox-texinfo.el (texinfo): Do not provide a default value for
475         @setfilename value.
476         (org-texinfo-filename): Remove variable.
477         (org-texinfo-template): Correctly find value for @setfilename command.
478         If none is possible, do not provide the command at all.
480         * ox.el (org-export-to-file): Provide output file name in
481         communication channel, through :output-file property.
483         * ox-texinfo.el (org-texinfo-template): Do not hardcode "Manual"
484         in top node.
486         * ox-texinfo.el (org-texinfo-classes): Change default value.
487         Update docstring.
488         (org-texinfo-template): Insert header string from current class after
489         "@settitle" command.  Always provide "\input texinfo" at the beginning
490         of the output.
492         * ox-texinfo.el (org-texinfo-template): Remove spurious blank
493         lines in output.  Refactor code.
495         * ox-texinfo.el (org-texinfo-template): Fix multi-line subtitles.
497         * ox-texinfo.el (org-texinfo-template): Make sure table of
498         contents are allowed before inserting them.
500         * ox-texinfo.el (org-texinfo-template): Check if copying data is
501         not nil before using it.
503         * ox-texinfo.el (org-texinfo-template): Fix multi-line subauthors.
504         Correctly add email, when provided.  Check if author info is
505         wanted first.
507         * ox-texinfo.el (org-texinfo-node-description-column)
508         (org-texinfo-format-drawer-function): Fix docstrings.
510         * ox-texinfo.el (texinfo): Make sure comments are ignored.
511         (org-texinfo-comment, org-texinfo-comment-block): Remove functions.
513         * ox-texinfo.el (org-texinfo-template): Properly pad @direntry
514         description.
516         * org-element.el (org-element-headline-parser): Add missing
517         `:post-blank' property in docstring.
519         * ox-latex.el (org-latex-table-scientific-notation):
520         Set appropriate value.
521         (org-latex-listings-options): Fix docstring.
523         * ox.el (org-export-raw-special-block-p): New function.
525         * org-element.el (org-element-link-parser): Properly handle
526         multi-line links according to RFC 3986 when enclosed within square
527         brackets.
529         * org-element.el (org-element-parse-secondary-string): Clone all
530         local variables from current buffer before parsing a secondary
531         string.  Small refactoring.
532         (org-element-object-variables): Remove variable.
534         * ox-odt.el (org-odt--format-paragraph): Change signature to
535         include info.
536         (org-odt-footnote-reference, org-odt-paragraph): Apply signature
537         change.
539         * org-clock.el (org-clocktable-indent-string): Use "\emsp" instead
540         of "\__", which is not supported anymore since Org 8.0.
542         * ox-odt.el (org-odt--paragraph-style): New function.
543         (org-odt--format-paragraph): Use new function to get proper style
544         to apply.
546         * org-element.el (org-element--current-element): Fix regexp.
548         * org-element.el (org-element--current-element): Fix regexp
549         matching latex environments.  Discrepancy with regexp used in
550         `org-element-latex-environment-parser' introduced matching errors.
552         * ox-ascii.el (org-ascii--table-cell-width): Correctly export
553         tables with width cookies.
555         * org.el (org-insert-heading): Fix error when inserting a headline
556         before first headline, with point not at bol.  Remove source block
557         check for consistency with behavior after first headline.
558         Tiny fix to docstring.
560         * org.el (org-scan-tags): Fix typo in docstring.
562         * ox.el (org-export--get-inbuffer-options): Return the empty
563         string instead of nil when TITLE keywords has no value.
564         (org-export--get-buffer-attributes): Do not set :title property
565         early.
566         (org-export--get-global-options): Do not ignore anymore nil values.
567         Small refactoring.
568         (org-export-as): Correctly set :title here.
570         * org-list.el (org-list-repair): Fix typo in docstring.
572         * ox-ascii.el (org-ascii--current-text-width): Tiny fix.
574         * ox-org.el (org-org-section): Tiny refactoring.  Use appropriate
575         property.
577         * ox-org.el (org-org-headline): Ignore footnote sections.
578         (org-org-section): New function.
580         * ox-beamer.el (org-beamer-select-environment): Ignore persistent
581         tags when displaying environments.
583         * ox-ascii.el (org-ascii-indented-line-width): Update docstring.
584         (org-ascii-paragraph): Do not apply indentation to the very first line
585         of a section.
587         * ox-latex.el (org-latex-inlinetask): Skip body if contents are
588         empty.
590         * ox-html.el (org-html-standalone-image-p): Ensure paragraph
591         contains at least a link before return a non-nil value.
592         Clarify docstring.
594         * ox.el (org-export-data): Always return a string, as specified
595         by the docstring.
597         * ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
598         stack overflow in regexp matcher on very long lines.
600         * org-element.el (org-element-timestamp-parser): Fix docstring.
602         * ox-icalendar.el (org-icalendar-include-sexps,
603         org-icalendar-blocked-headline-p): Fix docstrings.
604         (org-icalendar-clear-blank-lines): Fix docstring and regexp.
606         * ox-icalendar.el (org-icalendar-entry):
607         Use `org-icalendar-with-timestamps'.
609 2014-10-03  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
611         * org.el (org-cycle-internal-local): Don't show a trailing
612         character when cycling a subtree that ends with a non-newline
613         character at the end of the buffer or the narrowed region.
615 2014-10-03  Sebastien Vauban  <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
617         * ox-ascii.el (org-ascii--box-string): Choose more universal
618         Unicode characters for boxquote corners.
620 2014-10-03  Marco Wahl  <marcowahlsoft@gmail.com>  (tiny change)
622         * org-agenda.el (org-agenda-bulk-mark)
623         (org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all):
624         Fix org-agenda-bulk-mark-all when time-grid is shown.
626 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
628         * org-compat.el (activate-mark): Set transient-mark-mode buffer-locally.
630 2014-06-22  Mario Lang  <mlang@delysid.org>
632         * org-list.el (org-list-insert-item): The the -> the.
634         * org-bibtex.el (org-bibtex-fields): The the -> the.
636 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
638         * ob-core.el (org-babel-insert-result): Prefer point-min-marker
639         and point-max-marker.
640         * org-mouse.el (org-mouse-do-remotely): Prefer point-marker
641         to copy-marker of point.
643 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
645         * org-compat.el (org-font-lock-ensure): New function.
646         * ox-odt.el (org-odt-do-format-code):
647         * ox-html.el (org-html-fontify-code):
648         * org.el (org-fontify-like-in-org-mode):
649         * org-src.el (org-src-font-lock-fontify-block):
650         * org-clock.el (org-clock-get-clocktable): Use it.
651         * ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
652         from Elisp.
654 2014-05-12  Eric Schulte  <eric.schulte@gmx.com>
656         * ob-screen.el (org-babel-screen-session-write-temp-file)
657         (org-babel-screen-test):
658         Use unpredictable names for temporary files.  (Bug#17416)
660 2014-04-22  Aaron Ecay  <aaronecay@gmail.com>
662         * org-src.el (org-edit-src-exit): Place an undo boundary before
663         writing changes back to parent buffer.
665 2014-04-22  Achim Gratz  <Stromeko@Stromeko.DE>
667         * ob-gnuplot.el (org-babel-gnuplot-process-vars):
668         `org-babel-gnuplot-table-to-data´ expects a table, so we need to
669         construct one when Babel hands us a vector.
671         * ob-ref.el (org-babel-ref-parse):
672         If `org-babel-current-src-block-location' is a marker, it can be from
673         another buffer, use marker-position instead in this case.
675 2014-04-22  Arun Persaud  <apersaud@lbl.gov>  (tiny change)
677         * org-src.el (org-edit-src-exit): Don't add indentation on empty lines.
679 2014-04-22  Bastien Guerry  <bzg@gnu.org>
681         * org.el (org-insert-heading): Fix behavior when point is at the
682         beginning of a heading or a list item.  Enhance docstring.
684         * ox-html.el (org-html-infojs-install-script): Don't install
685         infojs scripts when #+INFOJS_OPT: is empty.
687         * org.el (org-mode): Fix the use of `org-*-element' functions for
688         C-M-a and C-M-e but fix C-M-e.
690         * org-agenda.el (org-agenda-search-view): Fix tag.
692         * org.el (org-check-before-invisible-edit): Don't just cycle, show
693         the subtree, as cycling may leave the current heading folded.
694         (org-contextualize-validate-key): Fix wrong test.
696         * org-bibtex.el (org-bibtex-headline): Don't throw an error when
697         trying to add a keyword field to a BibTeX entry that is not known
698         by BibTeX or defined by the user.
699         (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
701         * ox-latex.el (org-latex-src-block): Fix wrong propagation of
702         labels and captions when using the listings environment.
704         * org.el (org-sort-entries): Fix the number of blank lines to
705         keep for the last entry to sort.
707         * org-clock.el (org-clock-put-overlay): Fix display when
708         `org-indent-mode' is on.
710         * org.el (org-sort-entries): Allow to sort by clocking time.
712         * org-agenda.el (org-agenda-finalize): Apply all filters
713         correctly.
715         * org.el (org-update-dblock): Use `save-excursion' instead of
716         `save-window-excursion' so that blocks can edit other windows and
717         change the window layout.
719         * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
720         (org-agenda-dim-blocked-tasks): Make overlays intangible.
721         (org-agenda-show-new-time): Fix bug when deleting a timestamp
722         right after changing it.
723         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
724         (org-agenda-get-sexps, org-agenda-filter-by-regexp)
725         (org-agenda-filter-top-headline-apply): Fix indentation.
727         * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
728         to edit/move as in a table.
730         * org-agenda.el (org-agenda-show-new-time): Don't use
731         `move-beginning-of-line' as it is slower and not needed.
733         * org-compat.el (org-move-to-column): Temporarily set
734         `buffer-invisibility-spec' more accurately.
736         * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
737         underlining instead of \uline{...} as requiring the hyperref
738         package makes \uline{...} unusable on headline.
740         * org.el (org-latex-default-packages-alist): Add the "soul"
741         package.
743         * org.el (org-refresh-properties): Don't add the property to
744         the whole subtree, only to the part between the beginning of
745         the headline and the end of the "content", before any other
746         headline.  This fix a bug about properties displayed as
747         inherited in the agenda, where Org properties are checked
748         against text properties.
750         * ox-latex.el (org-latex--text-markup): Replace newlines by
751         whitespaces in \verb constructs.
753         * org-agenda.el (org-agenda-filter-hide-line): Hide from the
754         beginning of the line to the beginning of the next line.
755         (org-agenda-show-new-time): Use `move-beginning-of-line' and
756         `move-end-of-line'.
757         (org-agenda-drag-line-forward): Adapt to the new definition of
758         hidden filtered lines.
760         * org-compat.el (org-move-to-column): Always ignore invisible
761         text in agenda buffer, and when there is both a bracket link
762         and '(org-link) as a member of `buffer-invisibility-spec'.
763         Add a docstring.
765         * org.el (org-align-tags-here): Add docstring and remove useless
766         arguments when calling `org-move-to-column'.
768         * org-table.el (org-table-copy-down)
769         (org-table-find-dataline, org-table-move-row)
770         (org-table-insert-hline, org-table-kill-row):
771         * org-agenda.el (org-agenda-next-item)
772         (org-agenda-previous-item, org-agenda-todo)
773         (org-agenda-priority, org-agenda-show-new-time)
774         (org-agenda-clock-in, org-agenda-clock-out): Remove useless
775         arguments when calling `org-move-to-column'.
777         * org.el (org-refile): Fix calling with a numeric prefix argument
778         of 3 to refile and keep.
780         * org-clock.el (org-clock-get-table-data): When :link is `t' in
781         the clocktable parameters, bracket links in the clocktable should
782         only contain their description, other C-c C-o will try to open the
783         bracket link at point instead of the headline.
785         * org-agenda.el (org-agenda-todo): Always restore the window state
786         after `org-agenda-change-all-lines' has been called.
787         (org-agenda-open-link): Don't throw an error when trying to open a
788         link when the point is on a place that is not associated with a
789         buffer.
791         * ox-latex.el (org-latex-link): Escape `%' characters.
793         * org.el (org-entry-get-with-inheritance): Remove wrong quote.
794         (org-entry-get): Only try to combine file properties with local
795         properties when the property drawer contains such local property,
796         not when the property drawer exists.
798         * ox-latex.el (org-latex-link):
799         * ox-html.el (org-html-link):
800         * ox-beamer.el (org-beamer-link): Fix links to radio targets.
802         * ox-ascii.el (org-ascii-link): For links to a radio target, use
803         the link, not the target.
805         * org.el (org-do-emphasis-faces): Explicitly prevent nested
806         emphasis.
807         (org-insert-heading): Don't remove whitespaces following an empty
808         headline.
810         * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
811         nil.
813         * org.el (org-store-link): Ensure desc is not nil before matching
814         a regexp against it.  Fall back on an empty string when no
815         description is available.
817         * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
818         `org-agenda-buffer-name'.
820         * org-capture.el (org-capture-finalize): Ensure to widen the
821         buffer when the target buffer is not initially narrowed.
823         * org-compat.el (org-move-to-column): Fix bug about ignoring
824         bracket links visibility status in tables with S-RET.
826         * org-src.el (org-edit-src-find-region-and-lang): Check if we are
827         in a table.el table last.
829         * org.el (org-delete-property): Don't suggest to delete the
830         CATEGORY property when the category is not explicitely set in the
831         property drawer.  Also enforce matching when completing.
832         (org-insert-heading): Fix regression: with two universal prefixes,
833         insert heading at the end of the subtree.
834         (org-insert-todo-heading): Bugfix: only enforce the first TODO
835         state when arg is '(4).
837         * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
839         * org.el (org-contextualize-validate-key): Fix bug: perform the
840         check even when (buffer-file-name) returns `nil'.
842         * org-colview.el (org-columns-display-here): Let-bind `fm'.
844         * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
845         and `org-code' for ~text~.
846         (org-open-link-marker): Fix typo in docstring.
848         * org-colview.el (org-columns-display-here): Fix the column
849         view for numbers with a format specifier (e.g. {+; %5.1f}).
851         * org-src.el (org-edit-src-code): Throw a warning instead of
852         an error when loading the mode fails, otherwise the user is
853         left with unusable buffers.
855         * org-table.el (org-table-copy-down)
856         (org-table-find-dataline, org-table-move-row)
857         (org-table-insert-hline, org-table-kill-row):
858         Use `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
859         that abbreviated rows don't interfer with setting the cursor back
860         at the correct position.
862         * org.el (org-agenda-prepare-buffers): Use `save-excursion'
863         instead of `save-window-excursion'.
864         (org-file-contents): Return an empty string instead of the
865         message.
866         (org-open-at-point): Fix bug when opening a plain link followed by
867         a bracket link.
868         (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
869         formulas in tables.
870         (org-refile--get-location): New internal function using a wider
871         set of possible refile locations.
872         (org-refile-get-location): Use it.
873         (org-refile): Fix bug when refiling the last subtree of the
874         buffer: don't leave out the last character.
875         (org-sort-entries): Restore the point location when there is
876         nothing to sort.
878         * org-table.el (org-table-field-info): Throw a user error when not
879         at a table.
881         * org-agenda.el (org-agenda-drag-line-forward):
882         Call `org-agenda-mark-clocking-task' when done.
883         (org-agenda-mark-clocking-task): Small refactoring.
885         * org-compat.el (org-set-transient-map): Alias pointing at
886         `set-transient-map' if defined, at `set-temporary-overlay-map'
887         otherwise.
889         * org-agenda.el (org-agenda-next-item)
890         (org-agenda-previous-item, org-agenda-toggle-archive-tag)
891         (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
892         (org-agenda-clock-out): Put the cursor back on the correct
893         column, when possible.
894         (org-agenda-todo): When `org-clock-out-when-done' is `t', also
895         remove the current clock overlay.
897         * org.el (org-format-latex-options): Fix docstring.
899         * ox.el (org-export--get-subtree-options): When using the headline
900         as a title for a subtree export, only take the true heading, no
901         TODO keyword, no priority cookie, no tag.
903         * org.el (customize-package-emacs-version-alist): Fix Org version
904         for Emacs 24.4.
906         * org.el (org-demote): Ignore invisible text when aligning tags.
907         (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
908         invisible text when restoring the cursor to the correct column.
910         * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
911         properties before formatting the results.
913         * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
914         docstring.
915         (org-agenda-reapply-filters): New function.
916         (org-agenda-drag-line-forward): Rewrite to fix a bug when used
917         in filtered agendas.
918         (org-agenda-drag-line-backward): Rewrite using
919         `org-agenda-drag-line-forward'.
921         * ob-table.el (org-sbe): Rename from `sbe'.
923         * org.el (org-store-link): When a link has been stored, always
924         returns it.
926         * ob-python.el (org-babel-python-var-to-python): Fix code typo.
928         * org-entities.el (org-entities-help): Prevent the display of
929         pretty entities, as this help buffer is meant to list literal
930         strings, not utf-8 representations.
932 2014-04-22  Benjamin Drieu  <bdrieu@april.org>
934         * org.el (org-store-link): Fix selection of the function to store
935         the link.
937 2014-04-22  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
939         * org.el (org-entry-get-with-inheritance): Temporarily let-bind
940         `org-file-properties', `org-global-properties' and
941         `org-global-properties-fixed' to nil before calling
942         `org-entry-get' on entries up the hierarchy from the queried
943         entry.
945 2014-04-22  Justin Gordon  <justin.gordon@gmail.com>
947         * ox-md.el (org-md-separate-elements): Fix blank line insertion
948         between elements.
950         * ox-md.el (org-md-inner-template): New function.
952 2014-04-22  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
954         * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
955         of unknown BibTeX entries.
957 2014-04-22  Markus Hauck  <markus1189@gmail.com>  (tiny change)
959         * org-agenda.el (org-agenda-get-scheduled):
960         If `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
961         'repeated-after-deadline, still show tasks without any deadline
963 2014-04-22  Michael Brand  <michael.ch.brand@gmail.com>
965         * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
966         lines with `forward-line'.
968 2014-04-22  Michael Weylandt  <michael.weylandt@gmail.com>  (tiny change)
970         * ox-latex.el (org-latex-export-to-latex): Downcase the language
971         name when using minted highlighting for src block exports.
973 2014-04-22  Nick Dokos  <ndokos@gmail.com>
975         * org-mobile.el (org-mobile-create-index-file): delete :grouptags
976         entries from tags list when creating the org-mobile index file.
978 2014-04-22  Nicolas Goaziou  <n.goaziou@gmail.com>
980         * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
981         standards.
983         * org.el (org-sparse-tree): Fix code typo.  Small refactoring.
985         * ox-latex.el (org-latex-link):
986         * ox-html.el (org-html-link):  Do not expand absolute file names
987         and do not try to fix hierarchy part, as it is already taken care of
988         at the parser level.
990         * ox-md.el (org-md-link): Ditto.  Also fix absolute file names.
992         * ox-odt.el (org-odt-link):
993         * ox-man.el (org-man-link):
994         * ox-texinfo.el (org-texinfo-link):
995         * org-element.el (org-element-link-parser): Fix ill-defined "file"
996         type links.  Expand absolute file names in the process.
998         * org.el (org-make-link-regexps): Use `regexp-opt' instead of
999         `mapconcat' and `regexp-quote'.
1001         * ox-html.el (org-html-link):
1002         * ox-latex.el (org-latex-link):
1003         * ox-man.el (org-man-link):
1004         * ox-odt.el (org-odt-link):
1005         * ox-html.el (org-html-link):
1006         * ox-latex.el (org-latex-link):
1007         * ox-man.el (org-man-link):
1008         * ox-odt.el (org-odt-link):
1009         * ox-texinfo.el (org-texinfo-link): Append "//" after some link
1010         types.
1012         * ox-md.el (org-md-link):
1013         * org.el (org-make-link-regexps): Allow optional double slashes
1014         after type.  Small refactoring.
1016         * org-element.el (org-element-headline-parser): Tiny refactoring.
1018         * org-element.el (org-element-headline-parser): Correctly parse
1019         blank lines after a headline.
1021         * org-element.el (org-element-table-cell-parser)
1022         (org-element-table-cell-successor): Recognize cell even when last
1023         vertical bar is missing.
1025         * ox-md.el (org-md-example-block): handle switches and references
1026         in source blocks.
1028         * org.el (org-latex-packages-alist)
1029         (org-latex-default-packages-alist): Update docstrings.
1031         * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
1032         uniquifying links in section.
1034         * ox-odt.el (org-odt-template): Ignore blank titles.
1036         * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
1037         "#").
1039         * ox-ascii.el (org-ascii-link):
1040         * ox-beamer.el (org-beamer-link):
1041         * ox-html.el (org-html-link):
1042         * ox-latex.el (org-latex-link):
1043         * ox-md.el (org-md-link):
1044         * ox-odt.el (org-odt-link): Update radio target export according
1045         to recent changes.
1047         * org-element.el (org-element-all-successors)
1048         (org-element-object-restrictions): Prioritize `link' over other
1049         successors in order to find radio links starting with another
1050         syntax object (e.g., an entity).  Also allow text markup within
1051         radio targets.
1052         (org-element-link-parser): Add contents to radio targets.
1054         * org.el (org-make-target-link-regexp): Fix regexp so it can match
1055         targets starting with an Org object (e.g., an entity).
1056         (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
1057         within a radio target.
1059         * org.el (org-mode): Change "\" and "~" characters syntax from
1060         `punctuation' to `symbol' so they are on par with other characters
1061         used in Org syntax (e.g., "/", "*"...).
1063         * ox-beamer.el (org-beamer-publish-to-pdf):
1064         * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
1065         generated in the same directory as the ".org" file.
1067         * ox-latex.el (org-latex-headline): Hard-code "\underline" in
1068         sections because "\uline" ("ulem" package) returns an error and
1069         "\ul" ("soul" package) doesn't support chinese characters.
1071         * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
1072         between radio targets and radio links.
1074         * org-element.el (org-element-link-parser): "radio" links have
1075         their path downcased to avoid introducing case mismatch with their
1076         relative radio target.  With this change it is also necessary to
1077         add contents to them, since `:path' property no longer matches
1078         real value of the link.
1079         (org-element-radio-target-parser): Downcase value as explained
1080         above.  Store the initial value in a new `:raw-value' property.
1082         * org-element.el (org-element-context): Fix parsing of bold
1083         objects at the beginning of a headline.
1085         * org-element.el (org-element-context): Fix timestamps parsing.
1087         * ox-beamer.el (org-beamer-item): Insert the export snippet right
1088         after the first \item, not all of them.
1090         * org-element.el (org-element--list-struct): Fix regexp.
1092         * org-element.el (org-element-inlinetask-parser): Fix parsing when
1093         regular and degenerate inlinetasks are mixed in the section.
1095         * ox-md.el (org-md-link): Generate md links to other Org files
1096         instead of html links.  Do not confuse caption and alt-text.
1097         Provide "img" as default alt-text.
1099         * org-element.el (org-element-normalize-contents): Do not ignore
1100         empty lines when an object follows.
1101         (org-element-interpret-data): Do not remove properties by
1102         side-effect when interpreting a string, as it also removes them
1103         from the parse tree, making the string unusable without its
1104         :parent property.
1106         * ob-exp.el (org-babel-exp-process-buffer): Also check
1107         `org-src-preserve-indentation' to know when to preserve indentation.
1108         (org-babel-exp-code-template): Include switches in template.
1109         (org-babel-exp-code): Provide %switches placeholder.
1111         * ox-latex.el (org-latex-plain-list): Do not automatically
1112         enclose value for :options attribute within square brackets.
1113         Instead, append them verbatim next to the block name, as special
1114         blocks do.
1116         * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
1117         flags.
1118         (org-babel-exp-process-buffer): Make processing more robust when
1119         results are inserted before source block or when source block is
1120         followed by multiple blank lines.
1122         * ox.el (org-export-insert-default-template): Only insert
1123         keywords and options relatives to the selected back-end.
1124         Ignore those relatives to its parent in the case of a derived back-end.
1126         * ox-beamer.el: Remove unnecessary package definitions in default
1127         class.
1129         * ox-latex.el (org-latex-headline, org-latex-item): Fix items
1130         starting with a square bracket.
1132         * org.el (org-mode-restart): Fix turning off `org-indent-mode'
1133         when necessary.
1134         (org-get-previous-line-level): Do not call `org-current-level'
1135         twice unless necessary.  Also, avoid using `line-number-at-pos'
1136         when the information needed is to know if point is in the first
1137         line of the visible part of the buffer.
1139         * ob-core.el (org-babel-get-inline-src-block-matches): Do not
1140         compute line number if all is needed is to know if we're on the
1141         first one.
1143         * ox-md.el (org-md-item): Do not return an error when exporting
1144         an empty item.
1146         * ox-beamer.el (org-beamer-select-environment): Function doesn't
1147         work if fast tag selection is disabled, so make sure it is always
1148         on, independently on user's configuration.
1150 2014-04-22  Nikolai Weibull  <now@disu.se>  (tiny change)
1152         * org.el (org-mode): Add guard around set-face-foreground.
1154 2014-04-22  Rasmus  <w530@pank.eu>
1156         * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
1158 2014-04-22  Rick Frankel  <rick@rickster.com>
1160         * ox-html.el (org-html-link): Unescape org-escaped links an
1161         re-escape for html (browser).
1163 2014-04-22  Sacha Chua  <sacha@sachachua.com>
1165         * org.el (org-refresh-properties): Don't throw an error when
1166         reaching the end of the buffer.
1168 2014-04-22  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1170         * org-bibtex.el (org-bibtex-read): Check string length before
1171         using aref.
1173 2014-04-22  Yasushi SHOJI  <yashi@atmark-techno.com>
1175         * ox-ascii.el (org-ascii--current-text-width): Convert `length'
1176         to `string-width'.
1177         (org-ascii--build-title, org-ascii--build-toc)
1178         (org-ascii--list-listings, org-ascii--list-tables)
1179         (org-ascii-template--document-title)
1180         (org-ascii-inner-template, org-ascii-format-inlinetask-default)
1181         (org-ascii-format-inlinetask-default, org-ascii-item
1182         (org-ascii--table-cell-width, org-ascii-table-cell)
1183         (org-ascii--current-text-width): Likewise.
1185 2014-02-25  Glenn Morris  <rgm@gnu.org>
1187         * org-version.el (org-odt-data-dir):
1188         Remove incorrect, duplicate definition.  (Bug#16734)
1190 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1192         Spelling fixes.
1193         * org-irc.el (org-irc-ellipsify-description): Rename from
1194         org-irc-elipsify-description.  All uses changed.
1196 2013-01-07  Bastien Guerry  <bzg@gnu.org>
1198         * org-clock.el (org-clock-cancel-hook)
1199         (org-clock-leftover-time): Fix typo in docstring.
1201         * ox-odt.el (org-odt--frame): Add a draw:name property to the
1202         draw:frame tag.
1203         (org-odt-format-label): Don't use short-caption at all.
1205         * org-rmail.el (org-rmail-follow-link): Don't raise an error when
1206         no article is matched.
1208         * org.el (org-set-tags): Ignore invisible text when restoring
1209         cursor position.
1210         (org-refile-get-location): Check for a refile position when the
1211         position is not nil, otherwise allow to create the parent node if
1212         the user requests it.
1213         (org-refile-allow-creating-parent-nodes): Fix typo in
1214         docstring.
1215         (org-entry-get): Minor docstring enhancement.
1216         (org-set-startup-visibility): Bugfix.
1217         (org-shiftcontrolup, org-shiftcontroldown):
1218         When `org-support-shift-select' is not `nil', let-bind it to nil if
1219         point is on a clock log.  Otherwise throw an error.
1221         * ob-lob.el (org-babel-lob-files): Fix custom type.
1222         (org-babel-lob-ingest): Small docstring fix.
1224         * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
1225         `later than any date' instead of `later than today'.
1227         * org.el (org-do-emphasis-faces): Handle false positives by
1228         restarting the re-search one char after the beginning of the
1229         match, not one char before its ending.
1230         (org-entry-put): Check that the value provided is a string.  If it
1231         is nil, convert it to the empty string.
1233         * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
1234         instead of list as the defcustom type.
1236         * ox.el (org-export-with-creator):
1237         * org.el (org-loop-over-headlines-in-active-region)
1238         (org-mouse-1-follows-link, org-provide-todo-statistics):
1239         * org-agenda.el (org-agenda-custom-commands-local-options)
1240         (org-agenda-start-with-log-mode)
1241         (org-agenda-show-inherited-tags): Don't quote const values.
1243         * ox-texinfo.el (org-texinfo-def-table-markup):
1244         * org-inlinetask.el (org-inlinetask-show-first-star):
1245         * ob-maxima.el (org-babel-maxima-command): Add type.
1247         * org-table.el (org-table-fix-formulas): Handle multiple
1248         #+tblfm: lines.
1250         * ox.el (org-export-to-file): Fix typo in docstring.
1252         * org.el (org-self-insert-command)
1253         (orgtbl-self-insert-command): Change the value of the
1254         `delete-selection' property to allow other commands like
1255         `electric-pair-will-use-region' to be run before deletion.
1257         * org-attach.el (vc-git): Require.
1258         (org-attach-commit): Check whether git is installed.
1260 2013-01-07  Nicolas Goaziou  <n.goaziou@gmail.com>
1262         * ox-icalendar.el (org-icalendar--combine-files): Make sure
1263         anniversaries do not end up in *Message* buffer instead of the ICS
1264         file.
1266         * ox-html.el: Clean up "FIXME" comments.
1268         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
1269         Fix docstring.
1271         * ox.el (org-export-smart-quotes-regexps): Fix smart quote
1272         detection when it is followed by an open parenthesis syntax class.
1274         * org-element.el (org-element-inline-babel-call-successor):
1275         Use original regexp to stay up-to-date with Babel changes.
1276         (org-element--affiliated-re): Fix affiliated keyword regexp.
1278         * ox-org.el (org-org-identity): Since back-end specific keywords
1279         are stripped from output, also remove attr_backend keywords.
1280         (org-babel-exp-process-buffer): Fix duplicate evaluation with
1281         :wrap src.
1282         (org-babel-exp-non-block-elements): Remove function.
1284 2013-01-07  Ted Wiles  <thewiles@wharton.upenn.edu>  (tiny change)
1286         * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
1287         not just "TODO".
1289 2013-01-07  Miguel Ruiz  <rbenit68@yahoo.es>  (tiny change)
1291         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
1292         typo.
1294 2013-01-07  Vladimir Lomov  <lomov.vl@gmail.com>  (tiny change)
1296         * ox-html.el (org-html-style-default): New classes caption.t-above
1297         and caption.t-bottom.
1298         (org-html-table): Use new classes.
1300 2013-12-23  Chong Yidong  <cyd@gnu.org>
1302         * org.el (orgstruct-make-binding): Call set-transient-map instead
1303         of old name set-temporary-overlay-map.
1305 2013-12-06  Achim Gratz  <Stromeko@Stromeko.DE>
1307         * org-crypt.el: Declare `epg-context´.
1308         (org-encrypt-string): Correct indentation.
1310         * org.el (org-version): Replace `_version´ by `version1´.
1312 2013-12-06  Alexander Vorobiev  <alexander.vorobiev@gmail.com>  (tiny change)
1314         * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
1315         to get the clipboard data under Windows.
1317 2013-12-06  Bastien Guerry  <bzg@gnu.org>
1319         * ox.el (org-export-with-sub-superscripts):
1320         * org.el (org-use-sub-superscripts): Fix version and enhance
1321         docstring again.
1323         * ox.el (org-export-with-sub-superscripts):
1324         * org.el (org-use-sub-superscripts): Enhance docstrings.
1326         * org-macs.el (org-autoload): Delete.
1328         * org-docview.el ("docview"): Fix declarations and require
1329         doc-view directly.
1331         * org-id.el (org-id-copy)
1332         (org-id-get-with-outline-path-completion)
1333         (org-id-get-with-outline-drilling, org-id-new):
1335         * org-colview.el:
1336         (org-colview-initial-truncate-line-value)
1337         (org-columns-open-link, org-string-to-number):
1338         * org-clock.el:
1339         (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
1340         * org-archive.el (org-get-local-archive-location):
1341         * org-agenda.el (org-agenda-todo-custom-ignore-p):
1342         Autoload.
1344         * org.el (org-return-follows-link):
1345         * ob-python.el (org-babel-python-command): Don't use :set.
1347         * ox-odt.el (org-odt-content-template-file): Fix version.
1349         * ox-texinfo.el (org-texinfo-filename): Fix default value.
1350         (org-texinfo-format-headline-function): Use 'ignore as the
1351         default value.
1352         (org-texinfo-format-drawer-function): Use a function as the
1353         default value.  Update docstring.
1354         (org-texinfo-drawer): Always use
1355         `org-texinfo-format-drawer-function' as it is now a function
1356         by default.
1357         (org-texinfo-headline):
1358         Compare `org-texinfo-format-headline-function' against 'ignore.
1359         (org-texinfo-inlinetask):
1360         Compare `org-texinfo-format-inlinetask-function' against 'ignore.
1362         * ox-odt.el (org-odt-format-drawer-function): Use a function as
1363         the default value.  Update docstring.
1364         (org-odt-format-headline-function)
1365         (org-odt-format-inlinetask-function): Fix default value.
1366         (org-odt-drawer): Always use `org-odt-format-drawer-function'
1367         as it is now a function by default.
1368         (org-odt-format-headline--wrap):
1369         Compare `org-odt-format-headline-function' against 'ignore.
1371         * ox-latex.el (org-latex-format-drawer-function): Use a function
1372         as the default value.  Update docstring.
1373         (org-latex-format-inlinetask-function): Fix default value.
1374         (org-latex-drawer): Always use
1375         `org-latex-format-drawer-function' as it is now a function by
1376         default.
1377         (org-latex-inlinetask):
1378         Compare `org-latex-format-inlinetask-function' against 'ignore.
1380         * ox-html.el (org-html-format-drawer-function): Use a function as
1381         the default value.  Update docstring.
1382         (org-html-format-headline-function)
1383         (org-html-format-inlinetask-function): Fix default value.
1384         (org-html--format-toc-headline)
1385         (org-html-format-headline--wrap):
1386         Compare `org-html-format-headline-function' against 'ignore.
1387         (org-html-inlinetask):
1388         Compare `org-html-format-inlinetask-function' against 'ignore.
1390         * ox-ascii.el (org-ascii-format-drawer-function): Use a
1391         function as the default value.  Update docstring.
1392         (org-ascii-drawer): Always use
1393         `org-ascii-format-drawer-function' as it is now a function by
1394         default.
1395         (org-ascii-format-inlinetask-default): New function.
1396         (org-ascii-format-inlinetask-function):
1397         Use `org-ascii-format-inlinetask-default' as the default.
1399         * org.el (org-mouse-1-follows-link): Use :set to set the default
1400         value.  Update custom type.
1401         (org-log-note-headings): Fix order or list items in the custom
1402         type.
1403         (orgstruct-heading-prefix-regexp): Use an empty string as the
1404         default value.  Use 'regexp as the custom type.
1405         (orgstruct-make-binding): Tiny docstring enhancement.
1406         Assume `orgstruct-heading-prefix-regexp' is a string.
1408         * org-agenda.el (org-agenda-search-view-max-outline-level):
1409         Set default value to 0.  Update docstring.
1410         (org-agenda-deadline-leaders): Fix custom type.
1411         (org-search-view):
1412         Assume `org-agenda-search-view-max-outline-level' is a number.
1414         * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
1416         * ob-python.el (org-babel-python-mode): Use :set to set the
1417         default value.
1418         (org-babel-python-None-to): Fix custom type.
1420         * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
1421         (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
1422         string.
1424         * ob-latex.el (org-babel-latex-htlatex): Fix default value.
1425         (org-babel-latex-htlatex-packages): Fix custom type.
1426         (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
1427         string.
1429         * ox-odt.el (org-odt-display-outline-level): Fix version.
1431         * ox-odt.el (org-odt-inline-formula-rules)
1432         (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
1433         and package-version.
1435         * ox-html.el (org-html-format-drawer-function)
1436         (org-html-format-headline-function)
1437         (org-html-format-inlinetask-function)
1438         (org-html-creator-string): Add version and package-version.
1440         * ox-html.el (org-html-text-markup-alist): Fix version.
1442         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1444         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1446         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
1447         let-binding.
1449         * ob-table.el (sbe): Move debug declaration.
1451         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1453 2013-12-06  Nicolas Goaziou  <n.goaziou@gmail.com>
1455         * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
1456         object, look for something to do at a higher level instead of
1457         bailing out.
1459         * ox-html.el (org-html-format-latex): Add an argument.  Ensure
1460         latex header is the same as specified in the original buffer when
1461         exporting a LaTeX fragment or environment.
1462         (org-html-latex-environment, org-html-latex-fragment):
1463         Apply signature change.
1465         * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
1466         when publishing a non-existent file.
1468         * org-element.el (org-element-paragraph-separate): More accurate
1469         regexp.
1471         * org.el (org-entry-get): Widen buffer in order to retrieve
1472         properties, as `org-entry-properties' and
1473         `org-entry-get-with-inheritance' already do.
1475         * ox-html.el (org-html--format-toc-headline): Add missing headline
1476         number in TOC entries.
1478         * org.el (org-entry-properties): Ignore narrowing when retrieving
1479         current headline properties.
1481 2013-12-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
1483         * org-crypt.el (org-encrypt-string, org-encrypt-entry)
1484         (org-decrypt-entry): Fix warning.
1486 2013-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1488         Spelling fixes.
1489         * ob-python.el (org-babel-python-with-earmuffs):
1490         Rename from org-babel-python-with-earmufs.  All uses changed.
1491         (org-babel-python-without-earmuffs):
1492         Rename from org-babel-python-without-earmufs.  All uses changed.
1494 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1496         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1498 2013-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1500         Address some byte-compiler warnings.
1501         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1502         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
1503         * ob-table.el (sbe): Move debug declaration.
1504         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1505         * org.el (org-version): Avoid var name starting with _.
1506         (org-inhibit-startup, org-called-with-limited-levels)
1507         (org-link-search-inhibit-query, org-time-was-given)
1508         (org-end-time-was-given, org-def, org-defdecode, org-with-time):
1509         * org-colview.el (org-agenda-overriding-columns-format):
1510         * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
1511         (org-agenda-show-log-scoped):
1512         * ob-python.el (py-which-bufname, python-shell-buffer-name):
1513         * ob-haskell.el (org-export-copy-to-kill-ring):
1514         * ob-exp.el (org-link-search-inhibit-query):
1515         * ob-R.el (ess-eval-visibly-p):
1516         * ob-core.el (org-src-window-setup): Declare before use.
1517         (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
1518         * ox-odt.el (org-odt-hfy-face-to-css):
1519         * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
1520         * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
1521         (org-bibtex-check):
1522         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
1523         (org-babel-tangle-single-block, org-babel-tangle-comment-links):
1524         * ob-table.el (sbe):
1525         * ob-sqlite.el (org-babel-sqlite-expand-vars):
1526         * ob-sql.el (org-babel-sql-expand-vars):
1527         * ob-shen.el (org-babel-execute:shen):
1528         * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
1529         * ob-scala.el (org-babel-scala-evaluate):
1530         * ob-ruby.el (org-babel-ruby-table-or-string)
1531         (org-babel-ruby-evaluate):
1532         * ob-python.el (org-babel-python-table-or-string)
1533         (org-babel-python-evaluate-external-process)
1534         (org-babel-python-evaluate-session):
1535         * ob-picolisp.el (org-babel-execute:picolisp):
1536         * ob-perl.el (org-babel-perl-evaluate):
1537         * ob-maxima.el (org-babel-execute:maxima):
1538         * ob-lisp.el (org-babel-execute:lisp):
1539         * ob-java.el (org-babel-execute:java):
1540         * ob-io.el (org-babel-io-evaluate):
1541         * ob-haskell.el (org-babel-execute:haskell):
1542         * ob-fortran.el (org-babel-execute:fortran):
1543         * ob-exp.el (org-babel-exp-code):
1544         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
1545         * ob-ditaa.el (org-babel-execute:ditaa):
1546         * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
1547         (org-babel-parse-header-arguments, org-babel-reassemble-table)
1548         (org-babel-goto-src-block-head, org-babel-mark-block)
1549         (org-babel-expand-noweb-references, org-babel-script-escape)
1550         (org-babel-process-file-name):
1551         * ob-clojure.el (org-babel-execute:clojure):
1552         * ob-calc.el (org-babel-execute:calc):
1553         * ob-awk.el (org-babel-execute:awk):
1554         * ob-R.el (org-babel-expand-body:R):
1555         * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
1557 2013-11-12  Glenn Morris  <rgm@gnu.org>
1559         * ox-html.el (org-html-scripts): Add 2013 to copyright years.
1560         (org-html-infojs-template): Copyright holder to FSF.
1562 2013-11-12  Aaron Ecay  <aaronecay@gmail.com>
1564         * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
1565         supported filetypes.
1566         (org-latex--inline-image): Implement SVG files inclusion.
1567         (org-latex-headline): Don’t insert alternate title if identical to
1568         regular one.
1570         * ob-python.el: Update the arglist passed to `declare-function'
1571         for `run-python'.
1573         * ob-tangle.el (org-babel-tangle): Use `light' argument to
1574         `org-babel-get-src-block-info'.
1576         * ob-core.el (org-babel-execute-src-block): Return nil in case of
1577         `:results none'.  Also run `org-babel-after-execute-hook' in this
1578         circumstance.
1580         * org-id.el (org-id-locations-save): Bind print-(level,length) to
1581         nil in this function.
1583         * ob-R.el (org-babel-R-graphics-devices): New defvar.
1584         (org-babel-R-construct-graphics-device-call): Use it instead of a
1585         hard-coded list of graphics devices.
1587         * ob-core.el (org-babel-when-in-src-block): New macro.
1588         (org-babel-execute-src-block-maybe)
1589         (org-babel-expand-src-block-maybe)
1590         (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
1591         Use it.
1592         (org-babel-execute-src-block): Use `copy-tree' to prevent setf
1593         from modifying users variables withing let-bound `info' variable.
1595         * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
1596         option.
1597         (org-babel-exp-results): Implement 'inline-only for
1598         `org-export-babel-evaluate'.
1600         * org.el (org-edit-special): Use prefix arg.
1602         * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
1603         (org-babel-expand-body:picolisp): Remove optional arg.
1605         * ob-R.el (org-babel-R-initiate-session): Handle case where the
1606         session buffer exists, but does not have a live process.
1607         (org-babel-R-construct-graphics-device-call): Change file
1608         extension of tikz graphics files to .tikz.
1610         * org-src.el (org-edit-src-exit): Don't modify the undo list when
1611         inserting the code.
1613         * ox-latex.el (org-latex-plain-text): Properly escape "~" for
1614         LaTeX export.
1615         (org-latex-image-default-option): Change default value to "".
1616         (org-latex-image-default-width, org-latex-image-default-height):
1617         New variables.
1618         (org-latex-inline-image-rules): Make .tikz files as exportable
1619         with LaTeX.
1620         (org-latex--inline-image): Support tikz images.  Also support
1621         separate :width and :height parameters for images.
1623         * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1624         of longlines-mode.
1626 2013-11-12  Abdó Roig-Maranges  <abdo.roig@gmail.com>
1628         * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1629         the image already exists.
1631         * org-agenda.el (org-agenda-search-view-max-outline-level):
1632         New option to define the max level for the entries shown by the search
1633         view.  A value of 1 means to show the top parent of the entries.
1635         * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1636         this function fail with no :foreground and :background attributes
1637         set, due to bad handling of "Transparent" color.  Fix bug when
1638         colors are not `default'.
1639         (org-format-latex-options): Add `auto' to docstring.
1640         (org-format-latex): Get face colors at point and put them inside
1641         opt.
1642         (org-create-formula-image-with-imagemagick): Fix bug when handling
1643         "Transparent" bg color.
1644         (org-dvipng-color-format): Same as `org-latex-color-format' for
1645         dvipng-style color specification.
1647 2013-11-12  Achim Gratz  <Stromeko@Stromeko.DE>
1649         * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1650         evaluating the function pointed to by `org-confirm-babel-evaluate'
1651         when it is a functionp and its value as a variable otherwise.
1652         (org-babel-get-rownames, org-table.el)
1653         (org-table-transpose-table-at-point): Replace the inadvertent use
1654         of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1655         (org-babel-params-from-properties):
1656         Use `org-babel-current-src-block-location' for evaluating new-style
1657         header-argument properties.  Remove superfluous save-match-data
1658         clauses.  Comment which properties get evaluated where.
1659         (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1660         Replace `if' with empty else part by `when' for readability.
1661         (org-babel-params-from-properties): Inquire for language specific
1662         and default header properties.  Language specific header
1663         properties take precedence over default header properties and
1664         old-style header property specifications.
1666         * org.el (org-re-property): Re-implement using full regex for
1667         `org-re-property'.  Add optional argument LITERAL to flag when
1668         PROPERTY should to be regex-quoted.  Move before definition of
1669         `org-re-property'.
1670         (org-re-property-keyword): Remove, functionality is subsumed by
1671         `org-re-property'.
1672         (org-property-re): Define using `org-re-property'.
1673         Improve definition so that this regex can be
1674         (org-entry-get, org-property-values): Adjust match number for
1675         PROPVAL.  (org-entry-put): Use `org-re-property' instead of
1676         `org-re-property-keyword'.
1677         used in all situations.  Extend docstring with explanation of
1678         matching groups.
1679         (org-at-property-p): Implement using `org-element-at-point'.
1680         (org-entry-properties, org-buffer-property-keys, org-indent-line):
1681         Use `org-property-re' and adjust match group numbers accordingly.
1683         * org-compat.el (define-obsolete-variable-alias)
1684         (define-obsolete-function-alias): Actually remove the third (and
1685         any following) argument from the argument list before calling the
1686         advised function.  Extend eval-and-compile clause and add advices
1687         for functions that have different parameter lists in XEmacs.
1688         Add variable definitions that XEmacs lacks .
1690         * ob-fortran.el (org-every): Declare.
1692         * org-element.el (org-element-node-property-parser):
1693         Use `org-property-re' and adjust match group numbers accordingly.
1694         Move `looking-at' out of the let clause to not rely on the
1695         unspecified evaluation order inside the let.
1697         * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1698         and org-compat as necessary.
1700         * ob-tangle.el (org-edit-special, org-store-link)
1701         (org-open-link-from-string): Declare functions.
1703         * org-macs.el (declare-function): Define macro to use autoload
1704         instead for XEmacs.
1706         * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1707         'noerror on the require form.
1709         * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1710         argument list that XEmacs complains about by adding parenthesis.
1712         * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1713         can't be loaded, try octave instead before giving up.
1714         Emacs 24.3.50 and upwards replaces octave-inf with just plain octave.
1716         * org-id.el (org-id-update-id-locations): Autoload interactive
1717         function.
1719         * ob-core.el (org-babel-parse-inline-src-block-match):
1720         * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1721         properties priority over default header arguments.
1723         * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1724         first line could be the symbol `hline' rather than a list of table
1725         cells, so check for that as well.
1727         * org.el (org-table-clean-did-remove-column):
1728         * org-table.el (org-table-clean-did-remove-column): Move defvar,
1729         this dynamic variable is only used in org-table.
1731         * org-table.el (org-table-colgroup-info): Remove unused defvar for
1732         `org-table-colgroup-info'.
1733         (org-table-clean-before-export): Let-bind regular expression
1734         strings and remove unused matching group.
1735         Use `org-table-clean-did-remove-column' in cond statement rather than
1736         branching via if to avoid code duplication.  Remove the code
1737         associated with the removed `org-table-colgroup-info'.
1738         (orgtbl-export): Remove unused internal function.
1740         * org-macro.el (org-macro-expand): Do not try to interpret the
1741         macro replacement text as a regex so that escaped backslashes and
1742         commas in macro arguments will be interpreted correctly.
1744         * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1745         only after evaluation so that output is not mixed into results
1746         eavaluation.
1747         (org-babel-perl-evaluate): Fix the handling of results for
1748         ":results output" to also parse tables.  Use the same lambda
1749         construction as in ob-sh.el to avoid code duplication.
1751         * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1752         Suppress user confirmation of the emacs-lisp wrapper execution
1753         around a lob call.
1755         * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1756         for table results as expected by
1757         `org-babel-import-elisp-from-file´.
1759         * ob-core.el (org-babel-number-p): String match for any number
1760         moved first so that the match data for the length check does not
1761         become corrupted.
1762         (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1763         variable, if bound non-nil the confirmation dialog will not be
1764         initiated and denial of evaluation is assumed.
1765         (org-babel-check-confirm-evaluate): New macro to establish
1766         bindings based on INFO.
1767         (org-babel-check-evaluate): New defsubst that checks if the
1768         evaluation of a code block is disabled.  Refactors the first part
1769         of the original function `org-babel-confirm-evaluate´.
1770         (org-babel-confirm-evaluate): New defsubst that checks if the user
1771         should be queried and returns the answer.  Keeps the second part
1772         of the original function `org-babel-confirm-evaluate´.
1773         Re-implement using bindings for common subexpressions.
1774         (org-babel-execute-src-block): Do not ask for confirmation if the
1775         cached result is current.
1776         (org-babel-call-process-region-original): Change declaration into
1777         definition with nil initial value at the beginning of the file and
1778         drop the later definition.  Add comment that the dynamic scoping
1779         of this variable is done for tramp.
1781         * org-table.el (org-table-eval-formula): The condition-case to
1782         check for must be "error", not "user-error".
1784         * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1785         through to `org-babel-perl-evaluate´.
1786         (org-babel-variable-assignments:perl): Add "my" to variable
1787         declaration so that it becomes compatible with "use strict;".
1788         Use new internal formatting function `org-babel-perl--var-to-perl´.
1789         (org-babel-perl--var-to-perl): New internal function, uses Perl
1790         non-interpolating quoting on the string that defines the variable
1791         to suppress spurious interpretation of it as Perl syntax.
1792         (org-babel-perl-wrapper-method): Use a block and declare all
1793         variables as "my", also use Perl quoting throughout.  Redirect
1794         STDOUT to the temporary file so that simply "print" will put the
1795         results there.  Check the return value and output in table form if
1796         it is an ARRAY ref, otherwise print it without a final newline.
1797         (org-babel-perl-preface): Content of this variable is prepended to
1798         body before invocation of perl.  Rename input parameter body to
1799         ibody and let-bind body to concatentation of
1800         `org-babel-perl-preface' and ibody.  Implement results
1801         interpretation so that tables are easier to produce.
1803         * ob-eval.el (org-babel-eval): Use simplified version of
1804         `org-babel--shell-command-on-region´, we are the only caller of
1805         this function.
1806         (org-babel--shell-command-on-region):
1807         Replace `org-babel-shell-command-on-region´ with a much more simplified
1808         internal version, remove superfluous DOCSTRING and interactive
1809         clause, strip out all conditionals which were never used.  Prevent
1810         deletion of temporary input file to aid debugging when the symbol
1811         `org-babel--debug-input´ is bound and has non-nil value.
1813         * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1814         arg is even documented in the manual.
1816         * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1817         for first argument.
1819         * ob-core.el (org-babel-execute-src-block): Add binding for
1820         merged-params to avoid multiple evaluation of
1821         `org-babel-merge-params´.  Rename cache? to cache-p, add binding
1822         for cache-current-p and use it.  Do not run
1823         `org-babel-confirm-evaluate´ if source block has a cache and the
1824         cache value is current (there is no evaluation involved in this
1825         case).
1827         * org.el (org-current-time): Replace call to obsolete function
1828         `time-to-seconds´ with a call to compatibility function
1829         `org-float-time´.
1831         * org-compat.el (user-emacs-directory): If not bound, define as an
1832         alias to `user-init-directory´ so that XEmacs continues to be
1833         happy with Org.
1835         * org-macs.el: New macro to allow the 5-argument form of load to
1836         be used where possible without breaking compatibility with XEmacs.
1838         * org.el (org-version, org-reload):
1839         Use `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1840         to load directly.  Guard against undefined variable load-suffixes,
1841         which doesn't exist in XEmacs.
1843         * org.el: Use
1844         `org-define-obsolete-{function,variable}-alias´instead of
1845         `define-obsolate{function,variable}-alias´.
1847         * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1848         don't have it.
1850         * ob-python.el (org-babel-python-hline-to)
1851         (org-babel-python-None-to): Specify customize group as 'org-babel
1852         and widget type as 'string.
1854         * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1855         formal parameter `result-params´.
1857         * org.el (org-reload): Major rewrite.
1859         * org.el (org-clock-get-last-clock-out-time): Declare function.
1861 2013-11-12  Alan Schmitt  <alan.schmitt@polytechnique.org>
1863         * ob-ocaml.el (org-babel-prep-session:ocaml):
1864         Use `save-window-excursion' around the code starting the tuareg
1865         process.
1866         (org-babel-ocaml-command): New option to specify the name of the
1867         toplevel to run.
1868         (org-babel-prep-session:ocaml): Directly call
1869         `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1870         argument.
1871         (org-babel-execute:ocaml): Always append ";;" at the end of the
1872         expression before sending it to the toplevel.  Do not remove the
1873         type information if "verbatim" is a results parameter of the code
1874         block.
1875         (org-babel-ocaml-parse-output): Make sure the complete type is
1876         taken into account when matching against known types.
1878         * org-faces.el (org-footnote): Fix docstring.
1880 2013-11-12  Andreas Leha  <andreas@lehas.net>
1882         * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1883         copies the body of the block into a tikz file.
1885 2013-11-12  Arun Persaud  <apersaud@lbl.gov>
1887         * org-agenda.el (org-agenda-prefix-format): Add documentation for
1888         the new %b option.
1889         (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1890         (org-agenda-format-item): Add breadcrumbs if requested.
1891         (org-compile-prefix-format): Add compiled information for
1892         breadcrumbs, add %b option.
1894 2013-11-12  Aurélien Aptel  <aurelien.aptel@gmail.com>  (tiny change)
1896         * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1897         string replacements for code and verbatim text when exporting to
1898         HTML.
1900 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1902         * org.el (org-align-tags-here): Fix bug: move to the correct
1903         position.
1904         (org-agenda-prepare-buffers): Restore the point position.
1905         (org-insert-link): Don't remove brackets when they belong to a
1906         timestamp in a headline.
1908         * org-capture.el (org-capture-refile): Don't finalize prematurely.
1909         (org-capture): Store :return-to-wconf earlier.
1910         (org-capture-place-template): Don't store :return-to-wconf when
1911         called from a capture template using `function', rely on the early
1912         :return-to-wconf value store from `org-capture'.
1914         * org-compat.el (org-move-to-column): New argument
1915         `ignore-invisible' to turn on `buffer-invisibility-spec'.
1917         * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1918         when inserting the new time as a text property.
1919         (org-agenda-filter-make-matcher): When filtering tags and hitting
1920         space, filter out entries with tags, only keep those without tags.
1921         (org-agenda-drag-line-forward, org-agenda-drag-line-backward):
1922         Fix bugs: don't drag lines without text and don't drag lines
1923         before/after hidden lines.
1925         * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1926         rel-width property as a string.
1927         (org-odt-template): Fall back on a string for :rel-width.
1929         * org.el (org-directory, org-default-notes-file)
1930         (org-reverse-note-order): Don't use the `org-remember'
1931         customization group.
1932         (org-require-autoloaded-modules): Don't require
1933         `org-remember'.
1935         * org-capture.el: Update commentary section to reflect the fact
1936         that org-remember.el is not used anymore.
1938         * org.el (org-babel-load-file): Set `exported-file' correctly, in
1939         case the file as been tangled using a buffer-local value.
1941         * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1942         files.
1944         * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1945         ensure to show all headings and all blocks before fontifying.
1947         * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1949         * ox.el: Fix comment: remove reference to the obsolete variable
1950         `org-export-language-setup'.
1952         * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1953         of the tags list.
1955         * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1957         * org.el (org-refile): With a numeric prefix argument of `3',
1958         emulate (setq org-refile-keep t) and copy the subtree to the
1959         target location, don't delete it.
1960         (org-set-regexps-and-options-for-tags): Fix the setting of tag
1961         groups when relying on `org-tag-alist', not on tags directly set
1962         in the buffer with the #+TAGS option.
1964         * org-agenda.el (org-agenda-archive-with): Save window excursion.
1966         * org.el (org-forward-element, org-backward-element): Throw a
1967         message instead of an error when trying to move from a position
1968         where there is no element.
1969         (org-clock-is-active): Fix docstring.
1971         * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1972         plain list by checked status.
1974         * org.el (org-structure-template-alist): Fix custom type and
1975         default value.
1976         (org-set-regexps-and-options-for-tags): Enhance docstring.
1977         (org-set-regexps-and-options): Make sure not to add
1978         `org-tag-alist' twice when setting this variable through et
1979         #+setupfile: directive.
1980         (org-tags-expand): Use `with-syntax-table'.
1982         * org-list.el (org-sort-list): Implement sorting by "checked"
1983         status for check lists.
1985         * org-table.el (org-table-sum): Fix rounding error when summing
1986         times.
1988         * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
1989         typo.  Add declarations.
1991         * ox-html.el (org-html-link-use-abs-url): New option.
1992         (org-html-link): Use it to prepend relative links with the value
1993         of HTML_LINK_HOME, when defined.
1995         * org.el (org-refile): Fix refiling the active region within an
1996         list.  Don't store the last refiled subtree in the kill ring.
1998         * org.el (org-mode-map): Remap `forward-paragraph' and
1999         `backward-paragraph' to `org-forward-element' and
2000         `org-backward-element'.
2002         * ox-html.el (org-html-begin-plain-list): New parameter
2003         `ordered-num' to tell whether the list is ordered numerically.
2004         (org-html-plain-list): Handle alphabetical ordered list.
2006         * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
2007         to nil during batch export.
2009         * org.el (org-copy-subtree): Fix typo in docstring.
2010         (org-scan-tags): Don't disable `case-fold-search' too early.
2012         * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
2014         * org-capture.el (org-capture-set-target-location): Don't throw an
2015         error when `org-time-was-given' is not bound.
2017         * org-clock.el (org-clock-modify-effort-estimate):
2018         Clarify docstring.
2020         * org.el (org-set-regexps-and-options-for-tags): Return a list
2021         with tag-related variables.
2022         (org-set-regexps-and-options): Append tags from a setup file to
2023         the local tags of the file.
2024         (org-agenda-prepare-buffers): Set tags from a setup file by
2025         calling `org-set-regexps-and-options' when necessary.
2026         (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
2027         and `org-scheduled-time-hour-regexp'.
2029         * org-table.el (org-table-TBLFM-begin-regexp): Rename from
2030         `org-TBLFM-begin-regexp'.
2031         (org-table-calc-current-TBLFM): Rename from
2032         `org-calc-current-TBLFM'.
2034         * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
2035         (org-refresh-properties): Put the text property on the whole
2036         subtree, not just on the headline.
2037         (org-get-outline-path): Remove statistical and checkboxes cookies.
2039         * org-agenda.el (org-agenda, org-search-view, org-tags-view)
2040         (org-agenda-get-day-entries, org-agenda-set-restriction-lock):
2041         Use (current-buffer) as the value of `org-agenda-restrict'.  Fix a bug
2042         about narrowing to wrong region boundaries when
2043         `org-agenda-restrict' is non-nil.
2045         * org.el (org-agenda-text-search-extra-files): Fix typos in
2046         docstring.
2047         (org-insert-heading): Fix case when there the first heading starts
2048         at the beginning of the buffer.
2050         * ob-core.el (org-babel-expand-src-block):
2051         Use `org-called-interactively-p'.
2053         * org.el (org-agenda-prepare-buffers): Avoid duplicates in
2054         `org-tag-alist-for-agenda' correctly.
2055         (org-read-date-minibuffer-local-map): Check if we are at the
2056         beginning of the prompt, not if we are after a whitespace.
2057         Bind C-. to `calendar-goto-today'.
2059         * org-clock.el (org-clock-in): Don't forward by one character when
2060         setting the marker in the clock history.
2062         * org.el (org-read-date-minibuffer-local-map):
2063         Call `calendar-goto-today' only if there is a space before point in the
2064         minibuffer prompt.
2065         (org-insert-heading): Reveal context when called interactively.
2066         Fix bug about wrong conversion of lines with :END: or #+end_ into
2067         headlines.
2068         (org-in-drawer-p): New function.
2069         (org-meta-return): Use `org-catch-invisible-edits' and the
2070         `org-in-drawer-p' to check whether we are within a drawer.
2072         * org-list.el (org-sort-list): Fix infloop.
2074         * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
2075         for a time shift if there is a time-stamp.  Don't ask for a time
2076         shift when called with a universal prefix argument.
2078         * ob-core.el (org-babel-insert-result): Fix bug when inserting
2079         results as a list: ensure we split a string containing "\n".
2081         * ox-html.el: Fix copyright header.
2083         * org.el (org-store-link): Don't add a search string when storing
2084         a link from a radio target.
2085         (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
2086         the simple target (<<target>>).
2088         * org-table.el (org-table-get-remote-range): Fix typo.
2090         * org-datetree.el (org-datetree-find-month-create)
2091         (org-datetree-find-day-create): Add a docstring.
2092         (org-datetree-find-year-create): Only match headlines with a
2093         year or a year and one or more tags.
2095         * org-crypt.el (org-crypt-check-auto-save)
2096         (org-crypt-use-before-save-magic): Use `org-add-hook' when the
2097         hooks are local hooks.
2099         * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
2100         upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
2102         * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
2103         (org-babel-pop-to-session-maybe): Use true function's name,
2104         not its alias.
2106         * org-agenda.el (org-agenda-drag-line-forward)
2107         (org-agenda-drag-line-backward): New commands.
2108         (org-agenda-mode-map): Bind the new commands to M-<down> and
2109         M-<up> respectively.
2111         * org.el (org-insert-heading): Fix insertion of items.
2113         * org-capture.el (org-capture-use-agenda-date): Fix docstring.
2115         * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
2116         (org-agenda-bulk-toggle-all): New command.
2117         (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
2118         and `org-agenda-bulk-toggle-all' to `M-*'.
2119         (org-agenda-menu): Add `org-agenda-bulk-toggle' and
2120         `org-agenda-bulk-toggle-all'.
2121         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
2122         next headline, not the next line.
2124         * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
2125         to nil while matching the first letter of a multi-letters
2126         template.
2128         * org.el (org-store-link): When a bracket link is found in a
2129         headline, use the link description or the link path.
2130         (org-flag-drawer, org-hide-block-toggle)
2131         (org-goto-left, org-goto-right, org-promote)
2132         (org-paste-subtree, org-narrow-to-block, org-sort-entries)
2133         (org-insert-link, org-offer-links-in-entry, org-open-file)
2134         (org-refile, org-refile-get-location)
2135         (org-refile-check-position, org-prepare-dblock, org-todo)
2136         (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
2137         (org-occur, org-priority, org-scan-tags)
2138         (org-get-tags-string, org-property-action, org-set-effort)
2139         (org-entry-put, org-insert-drawer)
2140         (org-compute-property-at-point)
2141         (org-property-next-allowed-value, org-evaluate-time-range)
2142         (org-closest-date, org-timestamp-change)
2143         (org-revert-all-org-buffers, org-cycle-agenda-files)
2144         (org-agenda-file-to-front, org-remove-file)
2145         (org-preview-latex-fragment, org-format-latex)
2146         (org-create-math-formula, org-create-formula-image)
2147         (org-speed-command-help, org-check-before-invisible-edit)
2148         (org-modifier-cursor-error, org-hidden-tree-error)
2149         (org-mark-subtree, org-kill-line, org-first-sibling-p)
2150         (org-up-element, org-down-element)
2151         (org-drag-element-backward, org-drag-element-forward)
2152         (org-unindent-buffer, org-speedbar-set-agenda-restriction):
2153         Use `user-error' instead of `error'.
2155         * ox-latex.el (latex): Don't force exporting with smart quotes.
2157         * ox.el (org-export-with-smart-quotes): Mention the need to use
2158         the relevant Babel package when setting this option to non-nil.
2160         * org-src.el (org-edit-src-turn-on-auto-save): New option.
2161         (org-edit-src-code): Use it.
2162         (org-edit-src-auto-save-idle-delay): Enhance docstring.
2164         * org-capture.el (org-mks): Make cursor invisible.
2166         * org.el (org-link-expand-abbrev): Save match data before before
2167         calling the replacement function.
2169         * org-list.el (org-sort-list): Don't move point when matching time
2170         values.
2172         * org.el (org-shifttab): Show the correct number of empty
2173         headlines when called with a numeric prefix argument.
2174         Enhance docstring.
2175         (org-uniquify): Use `copy-sequence'.
2176         (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
2177         error message when parse an element fails in the current buffer.
2179         * ox.el (org-export-with-planning): Enhance docstring.
2181         * org.el (org-closed-keep-when-no-todo): New option.
2182         (org-todo): Use the new option.
2183         (org-open-line): Rename from `org-ctrl-o'.
2184         (org-mode-map): Use `remap'.
2185         (org-cycle-emulate-tab, org-file-apps)
2186         (org-set-font-lock-defaults)
2187         (org-translate-link-from-planner, org-link-search)
2188         (org-refile-get-targets, org-read-date-get-relative):
2189         Minor code clean-up: fix dangling parentheses.
2191         * org-agenda.el (org-agenda-entry-text-mode): Also check against
2192         regexp filters.
2193         (org-timeline): Handle `org-agenda-show-log'.
2195         * org-clock.el (org-clock-select-task): Remove successive
2196         duplicates in the clock history to consider.
2198         * org.el (org-uniquify-alist): Improve docstring.
2199         (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
2200         tags to the tags completion table.
2201         (org-tags-expand): Prevent circular replacement of group tags.
2202         Tiny docstring formatting.
2203         (org-uniquify): Make a defsubst.  Use `delete-dups' instead of
2204         `add-to-list'.
2205         (org-todo): Also remove the CLOSED planning information when
2206         removing the TODO keyword.
2207         (org-forward-heading-same-level): Fix bug when forwarding
2208         to a hidden subtree of the same level.
2209         (org-tags-expand): Use word delimiters when building the tag
2210         search regexp.
2212         * org-clock.el (org-clock-insert-selection-line): Don't display
2213         the clockout time.
2215         * org.el (org-emphasis-regexp-components): Make a defvar.
2216         (org-emphasis-alist): New default value: don't set HTML tags.
2217         (org-emphasize, org-set-emph-re): Use the new value of
2218         `org-emphasis-alist'.
2220         * org-mobile.el (org-mobile-edit): Insert new headings at the end
2221         of the parent subtree.  Use `org-at-heading-p' instead of the
2222         obsolete `org-on-heading-p'.
2224         * org.el (org-insert-heading): When called from a list item and
2225         `org-insert-heading-respect-content' is non-nil, insert a heading,
2226         not an item.
2227         (org-insert-heading-respect-content): Fix docstring.
2228         (org-insert-heading): When in a non-empty non-headline line,
2229         convert the current line into a headline.
2231         * org-table.el (org-table-copy-down): Don't move cursor when
2232         getting the field.
2234         * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
2235         evaluate babel code blocks.
2237         * ox-html.el (html): Add more options.
2239         * ox-publish.el (org-publish-project-alist): Add :with-planning in
2240         docstring.
2242         * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
2244         * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
2246         * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
2247         name.
2249         * ox.el (org-export-options-alist, org-export--skip-p):
2250         Use `:with-planning' instead of `:with-plannings', to keep in sync
2251         with the corresponding option's name.
2253         * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
2255         * org-agenda.el (org-agenda-undo, org-agenda)
2256         (org-agenda-append-agenda)
2257         (org-agenda-get-restriction-and-command, org-agenda-write)
2258         (org-agenda-clock-cancel)
2259         (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
2260         (org-agenda-execute-calendar-command)
2261         (org-agenda-goto-calendar, org-agenda-convert-date)
2262         (org-agenda-bulk-mark, org-agenda-bulk-action)
2263         (org-agenda-show-the-flagging-note): Use `user-error' instead of
2264         `error'.
2266         * org-macs.el (org-with-remote-undo): Normalize argument names.
2268         * org.el (org-store-log-note): Fix `buffer-undo-list' when called
2269         after `org-agenda-todo'.
2270         (org-add-log-note): Minor formatting fix.
2272         * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
2274         * org-clock.el (org-clock-select-task): Throw a user error when
2275         the clock history is empty.
2277         * org-table.el (org-table-get-remote-range): Fix docstring: use
2278         #+NAME instead of #+TBLNAME.
2280         * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
2282         * ox-html.el (org-html-table-row-tags): Better example.
2284         * org-clock.el (org-clock-select-task): Fix window to buffer.
2285         Hide the cursor.
2286         (org-clock-insert-selection-line): Add the clock-out time.
2288         * ox-html.el (org-html-table-row-tags): Allow new dynamically
2289         bound value `row-number'.
2290         (org-html-table-row): Bind `row-number' to the number of the
2291         row (first row is 0).
2293         * org.el (org-minutes-to-clocksum-string): Round fractions of
2294         minutes.
2296         * ox-html.el (org-html-table-row-tags): Fix example in docstring.
2298         * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
2299         (org-agenda-goto-date): Fix bug when going to a date in month
2300         view.
2301         (org-agenda-goto-date): Put the cursor on the agenda line with the
2302         selected date.
2303         (scheduled/deadline items with hour spec) then redo an agenda*.
2305         * org-clock.el (org-clock-resolve): Enhance the content of the
2306         help window.
2308         * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
2310         * ox-odt.el (org-odt-link): Fix bug: convert & to &amp; in
2311         links.
2313         * ox-html.el (org-html-table-row): Dynamically bind
2314         `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
2315         `top-row-p', `bottom-row-p'.
2316         (org-html-table-row-tags): Update docstring: tell what variables
2317         are dynamically bound.
2319         * org-src.el (org-edit-src-code): Don't set
2320         `buffer-auto-save-file-name' unless `auto-save-default' is
2321         non-nil.
2323         * ox.el (org-export-table-row-group): Fix typo in docstring.
2325         * org-table.el (orgtbl-apply-fmt): Enhance docstring.
2327         * org.el (org-file-contents): Make the message more prominent.
2329         * ox.el (org-export-replace-region-by): New function.
2331         * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
2332         * ox-md.el (org-md-convert-region-to-md),
2333         * ox-latex.el (org-latex-convert-region-to-latex),
2334         * ox-html.el (org-html-convert-region-to-html): New functions to
2335         replace the active region by its export into various backends.
2337         * org-faces.el (org-agenda-restriction-lock): Use less flashy
2338         colors.
2340         * org-agenda.el
2341         (org-agenda-restriction-lock-highlight-subtree): New option.
2342         (org-agenda-top-headline-filter): Rename from
2343         `org-agenda-top-headline-filter'.
2344         (org-find-top-headline): Rename from `org-find-top-category'.
2345         Add a docstring.
2346         (org-agenda-filtered-by-top-headline): Rename from
2347         `org-agenda-filtered-by-top-category'.
2348         (org-agenda-filter-by-top-headline): Rename from
2349         `org-agenda-filter-by-top-category'.  Fix docstring.
2350         (org-agenda-filter-top-headline-apply): Rename from
2351         `org-agenda-filter-top-category-apply'.  Fix docstring.
2352         (org-agenda-mode-map): Update binding.
2353         (org-agenda-get-todos): Set `todo-state' earlier so that we can
2354         skip false-positives in time.
2356         * org.el (org-get-todo-state): Add a docstring.
2357         (org-ctrl-o): New command to insert a new row in tables
2358         (like `M-S-<down>' does) and open a line elsewhere.
2359         (org-mode-map): Bind the new command to `C-o'.
2360         (org-set-regexps-and-options): Process tags from an external setup
2361         file.
2363         * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
2364         (org-agenda-finalize-entries): Conditionally apply limits so
2365         that we don't manipulate big lists uselessly.
2366         (org-agenda-limit-entries): Limit exclusively.  E.g., when
2367         limiting to a maximum of "2 tags", don't limit among tagged
2368         entries only, but limit among all entries.
2369         (org-agenda-limit-interactively): New command.
2370         (org-agenda-mode-map): Bind the new command to "~".
2371         (org-agenda-redo): Small fix: don't use `eval'.
2373         * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
2374         list beginning should be stored using a marker so that updating
2375         [%0] to [%50] will not throw an error.
2376         (org-babel-load-file): Move `org-babel-load-file' from
2377         ob-tangle.el to here so that it is correctly autoloaded by Emacs
2378         before Org is required.
2380         * org-mac-message.el: Delete.
2382         * org.el (org-modules): org-mac-message.el is not a core package
2383         anymore.
2385         * org-table.el (orgtbl-to-generic): Fix bug when exporting the
2386         cells of radio tables with 'hline.
2388         * org.el (org-speed-commands-default): Use ?s for
2389         `org-narrow-to-subtree'.
2391         * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
2392         (org-agenda-start-day): Enhance docstring.
2394         * org-src.el (org-src-native-tab-command-maybe): Check that we are
2395         in a source code block.
2397         * org-mobile.el: Remove useless defvar.
2399         * org.el (org-indent-line): A line just below a line with a list
2400         item is now indented depending on the indentation of this list
2401         item.
2403         * org.el (org-options-keywords): Add #+TARGET.
2405         * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
2406         last clock if the clock buffer still exists.
2407         (org-clock-out, org-clock-cancel): Set markers to nil.
2409         * ox-org.el (org-org-publish-to-org):
2410         * ox-html.el (org-html-publish-to-html): Use the custom extension.
2412         * org.el (org-cycle-internal-local): Fix invalid search bound when
2413         `org-cycle-include-plain-lists' is set to 'integrate.
2415         * org.el (org-sparse-tree-default-date-type): Add an option for
2416         closed time-stamps.
2417         (org-sparse-tree): Allow to check against closed time-stamps.
2418         (org-re-timestamp): Handle closed time-stamps.
2419         (org-closed-in-range): Delete.
2421         * org-capture.el (org-capture-import-remember-templates):
2422         Take care of adding :jump-to-captured option if needed.
2424         * org.el (org-toggle-pretty-entities): Enhance messages.
2425         (org-raise-scripts): Handle scripts like "a_b^c".
2427         * org-capture.el (org-capture-templates): Document new option
2428         :jump-to-captured in the docstring.  Offer the complete list of
2429         options when customizing.
2430         (org-capture-finalize): Handle :jump-to-captured.
2432         * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
2433         `org-tag-alist' to nil and don't append duplicate tags to
2434         `org-tag-alist-for-agenda'.
2435         (org-store-link): Storing multiple links in the active region now
2436         requires a triple prefix argument.
2437         (org-store-link, org-link-search): Fix handling of links to #+NAME
2438         and #+TARGET keywords.
2440         * org-compat.el (org-ignore-region): Tiny docstring fix.
2442         * org-capture.el (org-capture): Don't store multiple links over
2443         lines in the active region.
2445         * ox-odt.el (org-odt-special-block): Don't wrap annotations into
2446         <text:p>...</text:p> at all.
2447         (org-odt--fix-annotations): New function.
2448         (org-odt--export-wrap): Use the new function to fix annotations
2449         insertion in content.xml.
2451         * org.el (org-mode-flyspell-verify): Require 'org-element so that
2452         `org-element-affiliated-keywords' is defined.
2454         * ox-odt.el (org-odt-special-block): Don't insert annotations
2455         using style "Text_20_body".
2457         * org.el (org-toggle-tags-groups): Correctly highlight group tags.
2458         (org-tags-expand): Expand tags as words, with characters ?@
2459         and ?_ being considered words constituents.
2460         (org-set-regexps-and-options): Don't read setup files from
2461         read-only buffers.
2462         (org-file-contents): When no-error is non-nil, throw a less
2463         intrusive message.
2465         * org-agenda.el (org-agenda-scheduled-leaders)
2466         (org-agenda-deadline-leaders): Re-align leaders to the left,
2467         back to a 11 characters width.
2469         * org.el (org-refile-cache-check-set): More informative message.
2471         * org-agenda.el (org-tags-view): Set the matcher after preparing
2472         the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
2473         (org-agenda-filter-make-matcher): New parameter `filter' and
2474         `type'.  Handle group tags.
2475         (org-agenda-filter-expand-tags): New function.
2476         (org-agenda-filter-apply): Handle group tags.
2478         * org.el (org-blank-before-new-entry): Tiny docstring fix.
2479         (org-tag-alist-for-agenda): Add docstring.
2480         (org-tag-groups-alist-for-agenda): New global variable.
2481         (org-tag-groups-alist): New buffer-local variable.
2482         (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
2483         (org-group-tags): New option.
2484         (org-toggle-group-tags): New command.
2485         (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
2486         (org-set-regexps-and-options-for-tags): New function, factored
2487         out from `org-set-regexps-and-options'.
2488         (org-set-regexps-and-options): Don't handle tags, they are now
2489         handled separately by `org-set-regexps-and-options-for-tags'.
2490         (org-assign-fast-keys): Handle :grouptags.
2491         (org-mode): Use `org-set-regexps-and-options-for-tags' on top
2492         of `org-set-regexps-and-options'.
2493         (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
2494         (org-make-tags-matcher): Expand group tags in the matcher.
2495         (org-tags-expand): New function.
2496         (org-tags-completion-function): Tiny code clean up.
2497         (org-set-current-tags-overlay): Add a docstring.
2498         (org-fast-tag-selection): Highlight group tags.
2499         (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
2500         and `org-tag-groups-alist-for-agenda'.  Don't uniquify
2501         `org-tag-alist-for-agenda' as we may need the grouping
2502         information for filtering in the agenda buffer.
2503         (org-uniquify-alist): New function.
2505         * org-pcomplete.el (pcomplete/org-mode/file-option/tags):
2506         Handle :grouptags.
2508         * org-faces.el (mode-line): New face for group tags.
2510         * ob-core.el (org-babel-hash-show-time): Tiny docstring
2511         enhancement.
2513         * org-element.el (org-element-paragraph-separate): Use new name
2514         `org-list-allow-alphabetical'.
2516         * org-list.el (org-list-allow-alphabetical): Rename from
2517         `org-alphabetical-lists'.
2518         (org-list-empty-line-terminates-plain-lists): Rename from
2519         `org-empty-line-terminates-plain-lists'.
2520         (org-checkbox-hierarchical-statistics): Rename from
2521         `org-hierarchical-checkbox-statistics'.
2523         * org.el (org-image-actual-width): Update docstring.
2524         (org-display-inline-images): Use the #+attr_html: :width syntax.
2525         (org-modules): Remove deleted libraries, add new ones.
2527         * ox-html.el (org-html-indent): Default to nil, as non-nil can
2528         break indentation of source code blocks.
2529         (org-html-link): Don't insert nil if there is no attributes.
2530         (org-html-link--inline-image): Use the correct syntax for image
2531         attributes.  Allow :width :height and :alt as predefined
2532         attributes for inline images.
2533         (org-html-link, org-html-table): Use the standard syntax---
2534         e.g. "#+attr_html: :options ..."--- to get attributes.
2536         * ox.el (org-export-table-cell-alignment): Treat an empty cell as
2537         a number if it follows a number.
2539         * ox.el (org-export-as): Allow user functions in
2540         `org-export-before-parsing-hook' to modify the point.
2542         * org.el (org-entry-add-to-multivalued-property): Add the new
2543         value by appending it at the end of the line.
2545         * org-table.el (orgtbl-to-generic): New parameter `backend' to
2546         export cells content using a specific backend.
2547         (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
2548         and Texinfo before sending the table.
2550         * ox.el (org-export-define-backend)
2551         (org-export-define-derived-backend): Make defuns and update
2552         docstrings.
2554         * ox-texinfo.el (texinfo):
2555         * ox-org.el (org):
2556         * ox-odt.el (odt):
2557         * ox-md.el (md):
2558         * ox-man.el (man):
2559         * ox-latex.el (latex):
2560         * ox-icalendar.el (icalendar):
2561         * ox-html.el (html):
2562         * ox-beamer.el (beamer):
2563         * ox-ascii.el (ascii): Use `org-export-define-backend' and
2564         `org-export-define-derived-backend' as defuns, not macros.
2566         * org.el (org-set-regexps-and-options):
2567         Use `org-table-set-constants'.
2569         * org-table.el (org-table-set-constants): New function.
2570         (orgtbl-ctrl-c-ctrl-c): Use it.
2572         * org-pcomplete.el
2573         (pcomplete/org-mode/block-option/clocktable): Add parameters.
2575         * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
2576         through ox-html.el now.
2578         * org-agenda.el (org-agenda-redo): Set filters after agenda has
2579         been redone.
2581         * org.el (org-store-link): When there is an active region, store
2582         each line as a separate link.
2583         (org-insert-all-links): Use a default description when links
2584         do not have one already.
2586         * org-agenda.el (org-agenda-redo): Fix code typo.
2588         * org.el (org-link-display-format): Fix docstring.
2590         * ox-publish.el (org-publish-org-to)
2591         (org-publish-org-sitemap, org-publish-find-title)
2592         (org-publish-find-date)
2593         (org-publish-cache-file-needs-publishing):
2594         Set `org-inhibit-startup' to t when visiting files for
2595         publication.
2597         * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
2598         publication time.
2600         * org.el (org-set-font-lock-defaults): Set font-lock keywords
2601         correctly for plain links.
2603         * ox-texinfo.el (org-texinfo-logfiles-extensions)
2604         (org-texinfo-remove-logfiles): New options.
2605         (org-texinfo-compile): Use the new options to remove files
2606         after compiling a Texinfo file.
2608         * ox-texinfo.el (org-texinfo-coding-system): New option.
2609         (org-texinfo-template): Add @documentlanguage and
2610         @documentencoding.
2611         (org-texinfo-headline): Add a space before tags.
2612         (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
2613         Use `org-texinfo-coding-system' as the coding system for
2614         exported buffers.
2615         (org-texinfo-publish-to-texinfo): New function.
2617         * ox-texinfo.el (org-texinfo-filename)
2618         (org-texinfo-info-process, org-texinfo-max-toc-depth)
2619         (org-texinfo--sanitize-menu): Docstrings tiny fixes.
2621         * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
2622         message when called interactively.  Fix docstring position in the
2623         defun.
2625         * ox-html.el (org-html--build-meta-info): Fix setting of
2626         http-equiv="Content-Type".
2628         * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2629         regexp and ?| for removing all filters.
2630         (org-agenda-filter-remove-all): New command.
2631         (org-agenda-filter-show-all-re): Rename from
2632         `org-agenda-filter-show-all-regexp'.
2633         (org-agenda-filter-by-regexp):
2634         Call `org-agenda-filter-show-all-re'.
2636         * org-list.el (org-insert-item): Don't ask for a definition term
2637         when insert an item in a description list.
2639         * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2640         This prevents bugs when calling e.g., `org-diary' after quitting
2641         an agenda window.
2642         (org-agenda-entry-types): Move earlier in the file.
2643         (org-agenda-custom-commands-local-options, org-diary)
2644         (org-agenda-get-day-entries): Don't hardcode the default agenda
2645         entry types, use `org-agenda-entry-types'.
2646         (org-agenda-custom-commands): Fix default setting so that the
2647         customize interface does not complain about a mismatch.
2649         * org.el (org-export-backends): Add new backends.
2651         * ox-html.el (org-html-indent): New option.
2652         (org-html-use-unicode-chars): New option.
2653         (org-html-pretty-output): Delete.
2654         (org-html-final-function): Use the new options.
2656         * ox-html.el (org-html-link): Fix handling of abbreviated links
2657         which include a file: protocol.
2658         (org-html--build-postamble): Default to today's date.
2659         (org-html--build-meta-info): When #+DATE contains a time stamp,
2660         parse it as a RFC 822 time string, otherwise simply insert the
2661         date as a string.
2663         * ox.el (org-export--copy-to-kill-ring-p): New function.
2664         (org-export-copy-to-kill-ring): Use 'if-interactive as the
2665         default.
2666         (org-export-to-buffer, org-export-to-file):
2667         Use `org-export--copy-to-kill-ring-p' and fix docstrings.
2669         * ox-odt.el (org-odt-export-as-odf):
2670         Use `org-export--copy-to-kill-ring-p'.
2672         * org.el (org-set-font-lock-defaults): Fontify macros.
2674         * org-faces.el (org-macro): New face.
2676         * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2677         time shift when the entry at point has a time stamp and when the
2678         command is called with a universal prefix argument.
2679         (org-execute-file-search-functions): Docstring fix.
2681         * org-compat.el (org-defvaralias): Fix declare form.
2683         * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2684         (org-clock-special-range): New argument mstart.
2685         (org-dblock-write:clocktable, org-dblock-write:clocktable)
2686         (org-clocktable-write-default, org-clocktable-steps)
2687         (org-clock-get-table-data): Handle the :mstart parameter.
2689         * org.el (org-map-entries): Use `save-window-excursion'.
2691         * org-compat.el (org-defvaralias): New compatibility function.
2693         * org-list.el (org-cycle-include-plain-lists): Also add to the
2694         'org-cycle customization group.
2695         (org-list-allow-alphabetical)
2696         (org-checkbox-hierarchical-statistics)
2697         (org-list-empty-line-terminates-plain-lists)
2698         (org-list-description-max-indent): Rename and add aliases to old
2699         names.
2701         * org-element.el (org-element-context): Prevent an error when
2702         getting the context of a table rule.
2704         * org.el (org-deadline-time-hour-regexp)
2705         (org-scheduled-time-hour-regexp): New buffer local variables.
2706         (org-set-regexps-and-options): Set the new variables.
2708         * org-agenda.el (org-agenda-custom-commands-local-options):
2709         Add :deadline* and :scheduled* to the list of possible agenda entry
2710         types.
2711         (org-agenda): Implement a new agenda type agenda* with :scheduled*
2712         and :deadline* replacing :scheduled and :deadline respectively in
2713         agenda entry types.  In such agenda, only scheduled and deadline
2714         items with a time specification [h]h:mm will be considered.
2715         (org-agenda-entry-types): Document the new agenda entry types
2716         :scheduled* and :deadline*.
2717         (org-agenda-list): New parameter `with-hour'.  Use :scheduled* and
2718         :deadline*.
2719         (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2720         (org-agenda-get-deadlines, org-agenda-get-scheduled):
2721         New parameter `with-hour'.  Use `org-deadline-time-hour-regexp' or
2722         `org-scheduled-time-hour-regexp' as the search string if needed.
2723         (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2724         as other scheduled and deadline items don't have a time spec and
2725         cannot be turned into appointments.  Trim bracket links and use
2726         only the description as the appointment text.
2727         (org-agenda-get-restriction-and-command):
2728         Add default description for the agenda* view.
2729         (org-agenda-run-series): Handle agenda* views.
2731         * org-faces.el (org-agenda-filter-tags)
2732         (org-agenda-diary, org-agenda-calendar-event)
2733         (org-agenda-calendar-sexp): Minor code clean up.
2734         (org-agenda-filter-category): Docstring fix.
2735         (org-agenda-filter-category): New face.
2737         * org-agenda.el (org-agenda-local-vars):
2738         Add `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2739         (org-agenda-mode-map): Use "|" for
2740         `org-agenda-filtered-by-regexp'.
2741         (org-agenda-re-filter-overlays): New variable.
2742         (org-agenda-mark-filtered-text):
2743         Use `org-agenda-re-filter-overlays'.
2744         (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2745         (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2746         here instead of within `org-agenda-apply-filter'.
2747         (org-agenda-regexp-filter): New variable.
2748         (org-agenda-filter-by-regexp): New function to filter agenda
2749         buffers by regexp.
2750         (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2751         (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2752         `org-agenda-category-filter'.  Maybe apply regexp filter.
2753         (org-agenda-filter-hide-line): Add docstring.
2754         Hide regexp-filtered lines.
2755         (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2756         Add docstring.
2757         (org-agenda-filter-show-all-regexp): New function.
2758         (org-agenda-set-mode-name): Add regexp-filter information.
2759         (org-agenda-custom-commands-local-options): Add regexp filter.
2760         (org-agenda-regexp-filter-preset): New variable.
2761         (org-agenda-prepare): Use the new variable.
2763         * ox-odt.el (org-odt-code, org-odt-verbatim):
2764         Use `org-odt--encode-plain-text'.
2766         * ox-html.el (org-html-link): Minor code clean-up.
2768         * org.el (org-insert-heading): DTRT when in a narrowed region.
2770         * org-compat.el (org-buffer-narrowed-p): New compatibility
2771         function.
2773         * ox-html.el (org-html-format-inline-image): Fix missing string in
2774         formatting string.
2776         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2777         New allowed value `repeated-after-deadline' which will prevent the
2778         display of scheduled items when repeated after the current
2779         deadline.
2780         (org-agenda-get-scheduled): Handle the new value.
2782         * org.el (org-time-string-to-absolute): Tiny docstring fix.
2784         * ox-html.el (org-html-style-default): New classes `footpara' and
2785         `footdef' for the footnotes paragraphs and definitions.
2786         (org-html-format-footnote-definition): Wrap the footnote
2787         defintions into their own div.
2788         (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2789         footnote.
2790         (org-html-container-element, org-html-divs): Mention that
2791         org-info.js will not work when changing the defaults.
2793         * ox-md.el (md): Export underlined text as verbatim.
2795         * ox-html.el (org-html-style-default): New CSS .underline and
2796         #org-div-home-and-up.
2797         (org-html-text-markup-alist): Don't hardcode the style, use the
2798         new class .underline.
2799         (org-html-home/up-format): Don't hardcode the style, use
2800         #org-div-home-and-up.
2801         (org-html-center-block): Use the .center class.
2803         * ox-md.el (org-md-underline): New function.
2805         * org-agenda.el (org-sorting-choice): Fix default value.
2807         * ox-html.el (org-html-format-footnote-definition)
2808         (org-html-footnote-section): Don't wrap footnote definitions into
2809         tables.
2810         (org-html-paragraph): Add HTML style and class parameter when the
2811         paragraph is in a footnote definition.  Also allow to add an extra
2812         string after the paragraph.  Further parameters can be added for
2813         paragraphs in other environments.
2814         (org-html-template): Always include the title as <h1
2815         class="title"></h1>, even when there is no title, as org-info.js
2816         needs it.
2818         * org-element.el (org-element-map): Fix tiny typo in docstring.
2820         * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2822         * ox-html.el (org-html-format-inline-image): Don't add superfluous
2823         <p></p> when there is an empty caption.
2825         * org-agenda.el (org-agenda-refile): Enhance docstring.  Allow to
2826         clear the refile cache with C-0 or C-u C-u C-u.
2828         * ox-md.el (org-md-export-as-markdown): Tiny docstring fix.  Fix a
2829         library keyword in the comment section.
2831         * org.el (org-toggle-item): Convert all normal lines as items when
2832         there is a region, and only convert the first line when called
2833         with a universal prefix argument.  This is consistent with the
2834         behavior of `org-toggle-heading'.
2835         (org-toggle-heading): When the region contains only normal lines,
2836         a universal prefix arg will only convert the first line.  This is
2837         more consistent with `org-toggle-item'.
2838         (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2839         (customize-package-emacs-version-alist):
2840         Update `customize-package-emacs-version-alist'.
2842         * ox-texinfo.el (org-export-texinfo)
2843         (org-texinfo-filename, org-texinfo-classes)
2844         (org-texinfo-format-headline-function)
2845         (org-texinfo-node-description-column)
2846         (org-texinfo-active-timestamp-format)
2847         (org-texinfo-link-with-unknown-path-format)
2848         (org-texinfo-tables-verbatim)
2849         (org-texinfo-table-scientific-notation)
2850         (org-texinfo-text-markup-alist)
2851         (org-texinfo-format-drawer-function)
2852         (org-texinfo-format-inlinetask-function)
2853         (org-texinfo-info-process):
2854         * ox-odt.el (org-odt-format-drawer-function)
2855         (org-odt-format-headline-function)
2856         (org-odt-format-inlinetask-function):
2857         * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2858         and :package-version keywords.
2860         * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2861         by default as it will change many clocktables out there.  Let the
2862         user decides whether she wants to turn this on.
2864         * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2866         * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2867         default.
2869         * ox-html.el (org-html-style-default): More cosmetic tweaks.
2870         (org-html-head-include-default-style): Minor docstring update.
2872         * ox.el (org-export-snippet-translation-alist)
2873         (org-export-coding-system, org-export-in-background)
2874         (org-export-async-init-file, org-export-invisible-backends)
2875         (org-export-dispatch-use-expert-ui):
2876         * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2877         (org-texinfo-format-headline-function)
2878         (org-texinfo-node-description-column)
2879         (org-texinfo-active-timestamp-format)
2880         (org-texinfo-link-with-unknown-path-format)
2881         (org-texinfo-tables-verbatim)
2882         (org-texinfo-table-scientific-notation)
2883         (org-texinfo-text-markup-alist)
2884         (org-texinfo-format-drawer-function)
2885         (org-texinfo-format-inlinetask-function)
2886         (org-texinfo-info-process):
2887         * ox-man.el (org-man-tables-centered)
2888         (org-man-table-scientific-notation)
2889         (org-man-source-highlight, org-man-source-highlight-langs)
2890         (org-man-pdf-process, org-man-logfiles-extensions):
2891         * ox-html.el (org-html-allow-name-attribute-in-anchors)
2892         (org-html-coding-system, org-html-divs):
2893         * ox-ascii.el (org-ascii-text-width)
2894         (org-ascii-headline-spacing, org-ascii-indented-line-width)
2895         (org-ascii-paragraph-spacing, org-ascii-charset)
2896         (org-ascii-underline, org-ascii-bullets)
2897         (org-ascii-links-to-notes)
2898         (org-ascii-table-keep-all-vertical-lines)
2899         (org-ascii-table-widen-columns)
2900         (org-ascii-table-use-ascii-art)
2901         (org-ascii-format-drawer-function)
2902         (org-ascii-format-inlinetask-function):
2903         * org.el (org-modules, org-export-backends)
2904         (org-highlight-latex-and-related, orgstruct-setup-hook):
2905         * org-attach.el (org-attach-git-annex-cutoff):
2906         * org-archive.el (org-archive-file-header-format):
2907         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2908         * ob-python.el (org-babel-python-hline-to)
2909         (org-babel-python-None-to):
2910         * ob-ditaa.el (org-ditaa-eps-jar-path):
2911         * ob-core.el (org-babel-results-keyword): Add :version and
2912         :package-version.
2914         * ox-ascii.el: Use utf-8-emacs as the file coding system.
2916         * org-capture.el (org-capture-templates, org-capture-string)
2917         (org-capture-steal-local-variables)
2918         (org-capture-empty-lines-before)
2919         (org-capture-empty-lines-after)
2920         (org-capture-insert-template-here)
2921         (org-capture-import-remember-templates): Fix or add docstring.
2923         * ox-html.el (org-html-style-default): Cosmetic changes.
2924         (org-html-postamble, org-html-preamble)
2925         (org-html-preamble-format): Update docstring.
2927         * org-agenda.el (org-agenda-format-date-aligned)
2928         (org-agenda-time-of-day-to-ampm-maybe)
2929         (org-scheduled-past-days)
2930         (org-agenda-normalize-custom-commands)
2931         (org-agenda-run-series, org-store-agenda-views): Fix or add
2932         docstring.
2934         * ox-latex.el:
2935         (org-latex-table-scientific-notation, org-latex-verse-block):
2936         Fix typos in docstrings.
2938         * ox-html.el (org-html-text-markup-alist)
2939         (org-html-pretty-output, org-html-link-org-files-as-html)
2940         (org-html-postamble, org-html-preamble)
2941         (org-html-format-inline-image, org-html-splice-attributes)
2942         (org-export-splice-style, org-html-htmlize-region-for-paste)
2943         (org-html-fix-class-name)
2944         (org-html-format-footnote-reference)
2945         (org-html-format-footnotes-section)
2946         (org-html-footnote-section, org-html--anchor)
2947         (org-html--todo, org-html--tags, org-html-format-headline)
2948         (org-html-toc, org-html-format-section, org-html-checkbox)
2949         (org-html-format-list-item, org-html-format-latex)
2950         (org-html-encode-plain-text)
2951         (org-html-table-first-row-data-cells)
2952         (org-html-table--table.el-table, org-html-final-function):
2953         Fix or add docstring.
2955         * org.el (org-insert-heading): If the current item has a checkbox,
2956         insert the new item with a checkbox.
2958         * org.el (org-insert-heading): Don't delete spaces in empty
2959         headlines.
2961         * ox-odt.el (org-odt-keyword): Fix typo.
2963         * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2965         * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2967         * org-faces.el (org-column): Update docstring.
2969         * org-colview.el: Update error message.
2971         * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2972         org-w3m.el, org-wl.el as these files are now part of contrib/.
2974         * org-mew.el:
2975         * org-vm.el:
2976         * org-w3m.el:
2977         * org-wl.el: Delete (moved to Org's contrib/ directory.)
2979         * org-capture.el (org-mks): Move from org-mks.el.
2981         * org-mks.el: Delete.
2983         * ox-html.el (html): Update HTML options names.
2985         * org.el (org-show-context): Don't try to fix ellipsis when
2986         showing a subtree in agenda.
2988         * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
2989         known as HTML_STYLE_EXTRA.
2990         (org-html-head): Enhance docstring.
2991         (org-html-head-extra): Reintroduce.  Was `org-html-style-extra'.
2992         (org-html--build-head): Rename from `org-html--build-head'.
2993         Add information from `org-html-head-extra'.
2994         (org-html-template): Use `org-html--build-head'.
2996         * ox-html.el (org-html-display-buffer-mode): Delete.
2997         (org-html-export-as-html): Use `set-auto-mode' instead of
2998         `org-html-display-buffer-mode'.
3000         * org-agenda.el (org-agenda-write): Overwrite file when called
3001         non-interactively.
3003         * org-mobile.el (org-mobile-edit): Workaround a
3004         `org-insert-heading-respect-content' bug which prevents correct
3005         insertion when point is invisible
3007         * org.el (org-previous-line-empty-p): New parameter to allow
3008         checking next line.  Add a docstring.
3009         (org-insert-heading): Handle two universal prefix arguments as
3010         advertised in the docstring.  Don't insert new lines when
3011         creating a heading after the first heading in the current
3012         subtree.
3013         (org-insert-heading-respect-content): New optional argument
3014         arg, passed to `org-insert-heading'.
3016         * org.el (org-mode): Remove syntax entries.
3017         Use `org-backward-element' and `org-forward-element' for
3018         `beginning-of-defun-function' and `end-of-defun-function': this
3019         allows using C-M-a and C-M-e before the first headline.
3021         * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
3023         * ox-org.el (org-org-htmlized-css-url): Rename from
3024         `org-html-htmlized-org-css-url' and moved here from ox-html.el.
3025         (org-org-publish-to-org): Handle :htmlized-source in
3026         publishing projects.
3028         * ox-html.el (org-html-style-default): Update docstring.
3029         (org-html-infojs-install-script, org-html--build-style):
3030         Update property names.
3031         (org-html-head-include-scripts)
3032         (org-html-head-include-default-style, org-html-head):
3033         Respectively rename from `org-html-style-include-scripts',
3034         `org-html-style-include-default' and `org-html-style', now
3035         obsolete.
3036         (org-html-style-extra): Delete.
3038         * org-clock.el (org-clock-out): Fix bug: if a closing note needs
3039         to be stored in the drawer where clocks are stored, let's
3040         temporarily remove `org-clock-remove-empty-clock-drawer' from
3041         `org-clock-out-hook'.
3043         * ob-tangle.el (org-babel-tangle): Remove unused attempt of
3044         prompting the user of the tangle file name since :tangle is always
3045         set.  Don't prompt for a tangle file name when called with two
3046         universal prefix arg outside of a src block.
3047         Use `org-babel-tangle-single-block'.
3048         (org-babel-tangle-single-block): New function.
3049         (org-babel-tangle-collect-blocks): Use the new function.
3051         * org-table.el (org-table-convert-region, org-table-export)
3052         (org-table-align, org-table-beginning-of-field)
3053         (org-table-copy-down, org-table-check-inside-data-field)
3054         (org-table-insert-column, org-table-find-dataline)
3055         (org-table-delete-column, org-table-move-column)
3056         (org-table-insert-row, org-table-insert-hline)
3057         (org-table-kill-row, org-table-paste-rectangle)
3058         (org-table-wrap-region, org-table-sum, org-table-get-formula)
3059         (org-table-get-formula, org-table-get-stored-formulas)
3060         (org-table-fix-formulas, org-table-maybe-eval-formula)
3061         (org-table-rotate-recalc-marks, org-table-eval-formula)
3062         (org-table-get-range, org-table-get-descriptor-line)
3063         (org-table-find-row-type, org-table-recalculate)
3064         (org-table-iterate, org-table-iterate-buffer-tables)
3065         (org-table-formula-handle-first/last-rc)
3066         (org-table-edit-formulas, org-table-fedit-shift-reference)
3067         (org-rematch-and-replace, org-table-shift-refpart)
3068         (org-table-fedit-finish, org-table-fedit-lisp-indent)
3069         (org-table-show-reference, org-table-show-reference)
3070         (org-table-show-reference, org-table-show-reference)
3071         (org-table-force-dataline, orgtbl-error, orgtbl-export)
3072         (orgtbl-send-replace-tbl, org-table-to-lisp)
3073         (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
3074         (orgtbl-toggle-comment, orgtbl-insert-radio-table)
3075         (orgtbl-to-unicode, org-table-get-remote-range)
3076         (org-table-get-remote-range, org-table-copy-dow)
3077         (org-table-check-inside-data-field, org-table-insert-colum)
3078         (org-table-find-dataline, org-table-delete-colum)
3079         (org-table-move-column, org-table-insert-ro)
3080         (org-table-insert-hline, org-table-kill-ro)
3081         (org-table-paste-rectangle, org-table-wrap-regio)
3082         (org-table-sum, org-table-get-formul)
3083         (org-table-get-stored-formulas, org-table-fix-formula)
3084         (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
3085         (org-table-eval-formul, org-table-get-range)
3086         (org-table-get-descriptor-lin, org-table-find-row-type)
3087         (org-table-recalculat, org-table-iterate)
3088         (org-table-iterate-buffer-table)
3089         (org-table-formula-handle-first/last-r)
3090         (org-table-edit-formulas, org-table-fedit-shift-referenc)
3091         (org-rematch-and-replace, org-table-shift-refpar)
3092         (org-table-fedit-finish, org-table-fedit-lisp-inden)
3093         (org-table-show-reference, org-table-force-datalin)
3094         (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
3095         (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
3096         (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
3097         (org-table-get-remote-range): Use `user-error' instead of
3098         `error' for user errors.
3100         * ob-core.el (org-babel-load-in-session): Throw a useful error
3101         when there is no code block at point.
3103         * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
3104         parameter to ARG.  Allow two universal prefix arguments to tangle
3105         by the target file of the block at point.
3106         (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
3107         to restrict the collection of blocks to those who will be
3108         tangled in TARGET-FILE.
3110         * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
3111         by default (i.e., deactivate auto-saving.)
3112         (org-edit-src-code): Set `buffer-auto-save-file-name' for
3113         auto-saving with `auto-save-mode'.
3115         * org.el (org-deadline, org-schedule): When called with two
3116         universal prefix arguments, set the warning time or the delay
3117         relatively to the current timestamp, not to today's date.
3119         * org-agenda.el (org-agenda-filter-apply):
3120         Deactive `org-agenda-entry-text-mode' when filtering.
3121         (org-agenda-entry-text-mode): Don't allow in filtered views.
3122         Don't show the maximum number of lines when turning off.
3124         * ox-html.el (org-html-headline): Add comment.
3126         * org.el (org-mode): Set `paragraph-start'.
3128         * org-agenda.el (org-agenda-entry-text-leaders): New option.
3129         (org-agenda-entry-text-show-here): Use it.
3131         * ox-html.el (org-html-link--inline-image): Always retrieve
3132         attributes for inline images.
3133         (org-html-link): Fix trailing whitespace at the end of the opening
3134         <a ...> HTML tag.
3135         (org-html-headline): For headlines whose first element is a
3136         headline and not a section, pretend there is an empty section (as
3137         "") for the correct HTML div to be inserted.
3139         * org-agenda.el (org-agenda-collect-markers)
3140         (org-create-marker-find-array): Move to ox-icalendar.el.
3141         (org-agenda-marker-table, org-check-agenda-marker-table):
3142         Delete.
3144         * ox-icalendar.el (org-icalendar-create-uid): New parameter
3145         H-MARKERS to only update some headlines, not the whole file.
3146         (org-icalendar--combine-files): When exporting to an .ics file
3147         only add UID to the headlines shown in the agenda buffer.
3148         (org-agenda-collect-markers, org-create-marker-find-array):
3149         Move here.
3151         * org-agenda.el (org-agenda-write): Ask before overwriting an
3152         existing file.
3154         * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
3155         Use `org-html-infojs-opts-table'.
3157         * ox-html.el (org-html-infojs-opts-table):
3158         (org-html-use-infojs, org-html-infojs-options)
3159         (org-html-infojs-template): Move from ox-jsinfo.el.  Rename using
3160         the org-html- prefix.
3161         (org-html-infojs-install-script): Move from ox-jsinfo.el.
3163         * ox-jsinfo.el: Delete.
3165         * ox-html.el (org-html-section): Fix indentation.
3166         (org-html-inner-template): Add the document title here, within the
3167         "content" class, as the org-info.js needs it.
3168         (org-html-template): Don't include the document's title here.
3169         (org-html-format-inlinetask-function): Remove wrong example.
3171         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
3172         blocks in commented out headings.
3174         * ox-latex.el (org-latex-logfiles-extensions)
3175         (org-latex-remove-logfiles): Improve docstrings.
3177         * org-capture.el (org-capture): Cosmetic fix.
3179         * org-protocol.el (org-protocol-create-for-org)
3180         (org-protocol-create): Small docstrings enhancements.
3182         * org-protocol.el (org-protocol-capture): Small docstring fix.
3184         * org.el (org-speed-command-activate): Only forbid in src code
3185         blocks.
3187         * org-indent.el
3188         (org-indent-add-properties): Bugfix: prevent negative value for
3189         `added-ind-per-lvl'.
3191         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
3192         `isearch-mode-end-hook' so that any isearch fixes the problem with
3193         ellipsis on the first line.
3194         (org-fix-ellipsis-at-bol): New defsubst.
3195         (org-show-context, org-isearch-end): Use it.
3197         * org-agenda.el (org-agenda-deadline-leaders): New formatting
3198         string for past deadlines.
3199         (org-agenda-scheduled-leaders): Small change.
3200         (org-agenda-get-deadlines): Use the new formatting string.
3202         * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
3204         * org.el (org-speed-command-activate): Don't activate speed
3205         commands within blocks.
3207         * org.el (org-show-context): Remove useless catch.  Make sure the
3208         top of the window is a visible headline.
3209         (org-activate-plain-links): Remove unused catch.
3211         * org-macs.el (org-get-alist-option): Return nil, not (nil), so
3212         that `org-show-context' DTRT.
3214         * org.el (org-imenu-get-tree): Fix bug when matching against empty
3215         headlines.
3216         (org-overview): Stay on current line.
3217         (org-map-entries): Fix docstring.
3219         * org-macs.el (org-unmodified): Update comment.  Don't define
3220         `with-silent-modifications' for emacsen that don't have it.
3222         * org-compat.el (org-with-silent-modifications):
3223         New compatibility macro.
3225         * org.el (org-refresh-category-properties)
3226         (org-refresh-properties, org-entry-blocked-p)
3227         (org-agenda-prepare-buffers):
3229         * org-indent.el (org-indent-remove-properties)
3230         (org-indent-add-properties):
3232         * org-colview.el (org-columns-display-here)
3233         (org-columns-remove-overlays, org-columns-quit)
3234         (org-columns-edit-value, org-columns-compute-all)
3235         (org-columns-compute, org-agenda-colview-compute):
3237         * org-clock.el (org-clock-sum): Use the compatibility macro
3238         `org-with-silent-modifications' instead of
3239         `with-silent-modifications'.
3241         * org.el (org-sort-remove-invisible): Remove emphasis markers.
3243         * org.el (org-sort-remove-invisible): Use defsust.  Do not only
3244         check against invisible links, truly returns the visible part of
3245         the string.
3246         (org-sort-remove-invisible): Add a docstring.
3247         (org-sort-entries): Remove hidden links when comparing entries.
3249         * org-list.el (org-sort-list): Remove hidden links when comparing
3250         list items.
3252         * ox-html.el (org-html-headline): Fix typo.
3253         (org-html-format-headline--wrap): Cosmetic change.
3255         * org.el (org-at-clock-log-p): Delete.
3257         * org-clock.el (org-at-clock-log-p): Move here.
3259         * ox-html.el (org-html-format-headline-function): Fix docstring.
3261         * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
3262         both mysql and postgresql.
3264         * org.el (org-agenda-prepare-buffers): Don't use
3265         `with-silent-modifications' too early.
3267         * org-macs.el: Add a comment on when to use `org-unmodified' and
3268         when to use `with-silent-modifications'.
3270         * org-colview.el (org-columns-display-here)
3271         (org-columns-remove-overlays, org-columns-quit)
3272         (org-columns-edit-value, org-columns-compute-all)
3273         (org-columns-compute, org-agenda-colview-compute):
3274         * org-clock.el (org-clock-sum):
3275         * org.el (org-refresh-category-properties)
3276         (org-refresh-properties, org-entry-blocked-p)
3277         (org-agenda-prepare-buffers): Use `with-silent-modifications'
3278         instead of `org-unmodified'.
3280         * ox-publish.el (org-publish-sitemap-date-format): Small docstring
3281         enhancement.
3283         * ox-latex.el (org-latex-format-headline-default-function):
3284         New option.
3285         (org-latex-format-headline-function): Use the new option as
3286         the default value.
3287         (org-latex-toc-command): Don't add vertical space after the table
3288         of contents.
3290         * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
3291         `org-with-buffer-modified-unmodified'.
3292         (org-agenda-prepare-buffers): Fix indentation.
3294         * org-macs.el (org-unmodified): Rename from
3295         `org-with-buffer-modified-unmodified'.
3296         (org-with-buffer-modified-unmodified): Delete.
3298         * ob-python.el (org-babel-python-command): Use a defcustom.
3299         (org-babel-python-mode): Use a defcustom and default to
3300         'python-mode when featured.
3302         * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
3303         in the docstring.
3305         * ox-org.el (org-org-publish-to-org): Autoload.
3307         * org-protocol.el:
3308         * org-bibtex.el: Remove remember support.
3310         * org-clock.el (org-clock-heading-for-remember): Delete.
3311         (org-clock-in): Do not set the heading for remember.
3313         * org.el (org-move-subtree-down, org-forward-element)
3314         (org-backward-element):
3316         * org-table.el (org-table-previous-field)
3317         (org-table-move-column, org-table-move-row):
3319         * org-list.el (org-move-item-down, org-move-item-up)
3320         (org-cycle-item-indentation): Use `user-error' when moving or
3321         modifying the element at point is not possible.
3323         * ox-html.el (org-html-table-header-tags)
3324         (org-html-table-data-tags, org-html-table-row-tags)
3325         (org-html-table-align-individual-fields): Use the
3326         org-export-html group.
3327         (org-html-inline-src-block, org-html-link): Fix error messages.
3328         (org-html-begin-plain-list): Fix formatting, better FIXME
3329         comment.
3331         * org.el (org-fill-paragraph): Fill using
3332         `org-mode-transpose-word-syntax-table'.
3334         * ox-org.el (org-org-publish-to-org): New defun.
3336         * ox-html.el (org-export-htmlize): Delete group.
3337         (org-html-htmlize-output-type)
3338         (org-html-htmlized-org-css-url)
3339         (org-html-htmlize-region-for-paste): Rename from
3340         org-export-htmlize-*.
3341         (org-html-htmlize-generate-css, org-html-fontify-code):
3342         Use the correct names.
3344         * org-compat.el (org-file-equal-p): New compatibility function.
3346         * ox.el (org-export-output-file-name): Use the new function.
3348         * org-clock.el (org-clock-set-current)
3349         (org-clock-delete-current): Delete.
3350         (org-clock-in, org-clock-out): Set and delete
3351         `org-clock-current-task'.  Minor code clean-up.
3353         * org-clock.el (org-clock-in, org-clock-in-last):
3354         Tell `org-current-time' to always return a past time.
3356         * org.el (org-current-time): New argument `past' to force
3357         returning a past time when rounding.
3359         * org-agenda.el (org-agenda-unmark-clocking-task): New function.
3360         (org-agenda-mark-clocking-task): Use it.
3361         (org-agenda-clock-in): Let the cursor where it is.
3362         (org-agenda-clock-out): Ditto.  Also remove the
3363         `org-agenda-clocking' overlay.
3365         * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
3366         so that it ends at the beginning of the next headline at the same
3367         level.
3369         * org.el (org-set-effort, org-property-next-allowed-value):
3370         When needed, update the current clock effort time.
3371         (org-next-link): New parameter `search-backward'.  Fix bug when at
3372         a link with no 'org-link face, e.g., in a DONE headline.  Throw a
3373         message instead of an error.
3374         (org-previous-link): Use `org-next-link'.
3376         * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
3377         when `org-prefix-has-breadcrumbs' is non-nil.
3379         * org.el (org-mode): Don't make characters from
3380         `org-emphasis-alist' word constituents.
3381         (org-mode-transpose-word-syntax-table): Rename from
3382         `org-syntax-table'.
3383         (org-transpose-words):
3384         Use `org-mode-transpose-word-syntax-table'.
3386         * ox.el (org-export--dispatch-ui)
3387         (org-export--dispatch-action): Use integers for control chars.
3389         * org-agenda.el (org-agenda-set-restriction-lock): Put the
3390         overlay until the end of the subtree, not the end of the
3391         headline.
3393         * org.el (org-entry-delete, org-delete-property): New optional
3394         arg delete-empty-drawer, a string, to delete any empty drawer
3395         with that name.
3396         (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
3397         if empty.
3399         * org-src.el (org-src-mode-map, org-edit-src-code)
3400         (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
3401         for `org-edit-src-abort'.
3403         * org.el (org-mode): Use org-unmodified during startup
3404         initialization for functions that may be inhibited.
3406         * org-table.el (org-table-align): Only set the window start
3407         when table alignment is performed in the selected window.
3409         * org-src.el (org-edit-src-auto-save-idle-delay): New option.
3410         (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
3411         (org-edit-src-code-timer): New timer variable.
3412         (org-edit-src-code): Run the timer.
3413         (org-edit-fixed-width-region): Enhance message.
3414         (org-edit-src-exit): Cancel the timer.
3415         (org-edit-src-save): Prevent saving when editing fixed-width
3416         buffer, exiting will save already.
3417         (org-edit-src-exit): Inconditionally kill the src/example
3418         editing buffer.
3420         * org-pcomplete.el (pcomplete/org-mode/file-option):
3421         Require 'org-element.  This fixes a bug about unbound variable
3422         `org-element-affiliated-keywords' when trying to complete a
3423         keyword before 'org-element was required.
3425         * org-list.el (org-list-bullet-string): Replace match when there
3426         is a match, otherwise just return the bullet.
3428         * org-src.el (org-src-mode-map): New binding C-c k to abort
3429         editing.
3430         (org-edit-src-code): Mention the keybinding to abort editing
3431         and go back to the correct position.
3432         (org-edit-src-abort): New command to abort editing.
3434         * ox-html.el (org-html--build-meta-info): Add a newline before
3435         the title meta information.
3437         * org.el (org-return-follows-link): Mention that this does not
3438         affect the behavior of RET in tables.
3440         * ox-html.el (org-html--build-mathjax-config): Only include
3441         MathJax configuration if the resulting HTML contains LaTeX
3442         fragments.
3444         * org.el (org-syntax-table, org-transpose-words): Delete.
3445         (org-mode): Syntactically Define {} and <> as parentheses.
3446         (org-drag-line-forward, org-drag-line-backward):
3447         New functions.
3448         (org-shiftmetaup, org-shiftmetadown): Fall back on the new
3449         functions instead of throwing an error.
3450         (org-make-org-heading-search-string): Don't use statistic or [x/y]
3451         cookies when creating a link.
3453         * ox-html.el (org-html-table): Append #+attr_html attributes.
3455         * org.el (org-emphasis-alist, org-protecting-blocks):
3456         * org-src.el (org-edit-src-find-region-and-lang):
3457         * org-list.el (org-list-forbidden-blocks):
3458         * org-footnote.el (org-footnote-forbidden-blocks):
3459         Remove references to the deleted DocBook exporter.
3461         * org.el (org-end-of-line): Don't throw an error outside elements.
3463         * ox-html.el (org-html-link): Don't throw an error if the value
3464         of the :ID: property has not been generated by uuidgen.
3466         * org-pcomplete.el (pcomplete/org-mode/file-option/x):
3467         Resurrect.  Use `org-default-options' to initialize completion
3468         fonctions for the most important keywords.
3470         * org-macs.el (org-default-options): Rename and adapt from
3471         `org-get-current-options'.
3473         * org.el (org-options-keywords): Add keywords.
3475         * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
3477         * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
3479         * ox-html.el (org-html-display-buffer-mode): New option.
3480         (org-html-export-as-html): Use it.
3482         * ob-core.el (org-babel-insert-result): Fix bug when inserting
3483         an empty string as the result.
3485         * org.el (org-timestamp-change): New optional parameter
3486         `suppress-tmp-delay' to suppress temporary delay like "--2d".
3487         (org-auto-repeat-maybe): Suppress temporary delays.
3489         * org-agenda.el (org-agenda-get-scheduled): When the delay is
3490         of the form "--2d" and there is a repeater, ignore the delay
3491         for further repeated occurrences.
3493         * org-agenda.el (org-agenda-get-deadlines)
3494         (org-agenda-get-scheduled): Minor refactoring.
3496         * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
3497         (org-edit-special): Don't allow to edit when buffer is read only.
3499         * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
3500         and `cache-dir' when `processing-type' is 'mathjax.
3501         (org-html-format-latex): Fix conversion in non-file buffers.
3503         * org.el (org-speed-commands-default): Bind `B' and `F' to
3504         `org-previous-block' and `org-next-block'.
3505         (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
3506         see today's diary as "?" is already bounded by Calendar.
3507         (org-read-date-minibuffer-local-map): Use "." to go to today's
3508         date.
3510         * ob-core.el (org-babel-next-src-block)
3511         (org-babel-previous-src-block): Rewrite using
3512         `org-next-block'.
3514         * org.el (org-next-block, org-previous-block): New navigation
3515         commands.
3516         (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
3517         respectively.
3519         * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
3520         when writing to an .org file.
3522         * org.el (org-copy-subtree): New parameter `nosubtrees'.
3524         * org-agenda.el (org-agenda-write): Allow writing to an .org file.
3526         * org.el (org-paste-subtree): Fix typo in docstring.
3528         * org-agenda.el (org-agenda-get-todos)
3529         (org-agenda-get-timestamps): Use nil as `ts-date' for diary
3530         sexpressions.
3531         (org-agenda-get-todos): Skip diary sexps when trying to sort by
3532         timestamp.
3533         (org-agenda-max-entries, org-agenda-max-todos)
3534         (org-agenda-max-tags, org-agenda-max-effort): New options.
3535         (org-timeline, org-agenda-list, org-search-view)
3536         (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
3537         what agenda type we are currently finalizing for.
3538         (org-agenda-finalize-entries): Limit the number of entries
3539         depending on the new options.
3540         (org-agenda-limit-entries): New function.
3542         * org.el (org-deadline): Allow a double universal prefix argument
3543         to insert/update a warning cookie.
3544         (org-deadline): Allow a double universal prefix argument to
3545         insert/update a delay cookie.
3547         * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
3548         New option.  The structure of the possible values is copied
3549         from `org-agenda-skip-deadline-prewarning-if-scheduled'.
3550         (org-agenda-get-scheduled): Honor the two new option,
3551         `org-scheduled-delay-days' and
3552         `org-agenda-skip-deadline-prewarning-if-scheduled'.  I.e. if a
3553         scheduled entry has a delay cookie like "-2d" (similar to the
3554         prewarning cookie for deadline), don't show the entry until
3555         needed.
3557         * org.el (org-deadline-warning-days): Small docstring fix.
3558         (org-scheduled-delay-days): New option (see
3559         `org-deadline-warning-days'.)
3560         (org-get-wdays): Use the new option.
3562         * org-agenda.el (org-agenda-sorting-strategy): Document the
3563         new sorting strategies.
3564         (org-agenda-get-todos, org-agenda-get-timestamps)
3565         (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
3566         `ts-date' text property with scheduled, deadline or timetamp
3567         date.
3568         (org-cmp-ts): New function to compare timestamps.
3569         (org-em): Add a docstring.
3570         (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
3571         Implement the following sorting strategies: timestamp-up/down,
3572         scheduled-up/down, deadline-up/down, ts-up/down (for active
3573         timestamps) and tsia-up/down (for inactive timestamps.)
3575         * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
3577         * org.el (org-contextualize-validate-key): Check against two new
3578         context predicates [not-]in-buffer.
3580         * org-agenda.el (org-agenda-custom-commands-contexts):
3581         Document the new [not-]in-buffer context predicates.
3583         * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
3584         (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
3585         string directly.
3587         * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
3588         friends, rely on the extension of the output file.
3590         * org-archive.el (org-archive-file-header-format): New option.
3591         (org-archive-subtree): Use it.
3593         * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
3594         set the output type.
3596         * org.el (org-read-date-minibuffer-local-map): New variable.
3597         (org-read-date): Use it.
3598         (org-read-date-minibuffer-setup-hook): Mark as obsolete.
3599         (org-read-date): Bind `!' to `diary-view-entries' in order to
3600         check diary entries while setting an Org date.
3602         * org-agenda.el (org-diary): Only keep the descriptions of the
3603         links since Org links are not active in the diary buffer.
3605         * org-faces.el (org-priority): New face.
3607         * org.el (org-font-lock-add-priority-faces): Use the new face.
3609         * org-agenda.el (org-agenda-fontify-priorities): Use the
3610         org-priority face and add specific agenda face on top of it.
3612         * org-agenda.el (org-agenda-show-clocking-issues)
3613         (org-agenda-format-item): Let-bind
3614         `org-time-clocksum-use-effort-durations' to nil.
3616         * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
3617         universal prefix arguments on a list where all items are already
3618         in a transitory state.  Refine the error when the checkbox cannot
3619         be toggled.
3621         * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
3622         requiring any org library.  Also use `load', not
3623         `org-load-noerror-mustsuffix'.
3624         (org-effort-durations): Move up to fix a compiler warning.
3625         (org-edit-special): Fix typo in docstring.
3626         (org-time-clocksum-format): Add a version tag and add to the
3627         'org-clock group.
3628         (org-time-clocksum-use-fractional): Ditto.
3629         (org-time-clocksum-use-effort-durations): New option to allow
3630         using `org-effort-durations' when computing clocksum durations.
3631         (org-minutes-to-clocksum-string): Use the new option.
3633         * org-clock.el (org-clocktable-write-default): Let-bind
3634         `org-time-clocksum-use-effort-durations' to a new clocktable
3635         parameter ":effort-durations".
3637         * org-entities.el (org-entities): "neg" should be used in LaTeX
3638         math mode.  Add the "neg" entity.
3640         * org-mobile.el (org-mobile-allpriorities): New option.
3641         (org-mobile-create-index-file): Use the new option.
3643         * org-latex.el (org-export-latex-inline-images): New option.
3645         * org.el (org-forward-heading-same-level): Before the first
3646         headline, go to the first headline.
3647         (org-backward-heading-same-level): Before the first headline,
3648         go to the beginning of the buffer, like
3649         `outline-previous-visible-heading' does.
3651         * org-exp.el (org-export-plist-vars): Don't use
3652         `org-export-html-inline-images' to set the :inline-images
3653         property, use distinct properties for the various backends.
3655         * org-publish.el (org-publish-project-alist): Ditto.
3657         * org-latex.el (org-export-latex-links): Use :latex-inline-images
3658         instead of :inline-images.
3660         * org-odt.el (org-compat): Require.
3662         * org.el (org-parse-time-string): Allow strings supported by
3663         tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3665         * org-clock.el (org-clock-rounding-minutes): New option to round
3666         the time by N minutes in the past when clocking in or out.
3667         (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3668         option.
3670         * org.el (org-current-time): New optional parameter
3671         `rounding-minutes' to override the use of
3672         `org-time-stamp-rounding-minutes' for rounding.
3674         * org-clock.el (org-clock-special-range): Small docstring fix.
3675         New parameter 'weekstart to define the week start day.
3676         (org-clock-special-range, org-dblock-write:clocktable)
3677         (org-dblock-write:clocktable, org-clocktable-write-default)
3678         (org-clocktable-steps, org-clock-get-table-data): Use the new
3679         parameter.
3680         (org-clocktable-defaults): Set monday as the starting day of the
3681         week by setting :wstart to 1.
3683         * org.el (org-store-link): Fix the naming of internal links to
3684         lines starting with a keyword.
3686         * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3687         (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3688         Docstring fixes.
3690         * org.el (org-last-set-property-value): New variable.
3691         (org-read-property-name): Fix dangling parentheses.
3692         (org-set-property-and-value): New command to manually set
3693         both the property and the value.  A prefix arg will use the
3694         last property-value pair set without prompting the user.
3695         (org-set-property): Set `org-last-set-property-value'.
3696         (org-mode-map): Bind the new command to `C-c C-x P'.
3697         (org-find-invisible-foreground): Delete.
3698         (org-mode): Use `face-background' instead of
3699         `org-find-invisible-foreground'.
3700         (org-startup-options): New startup keywords.
3701         (org-log-into-drawer): Update docstring to explain how to set this
3702         variable through the startup keyword "logdrawer" and "nologdrawer".
3703         (org-log-states-order-reversed): Document the new startup keywords
3704         "logstatesreversed" and "nologstatesreversed".
3705         (org-mode-map): Use `org-remap' instead of binding `M-t' to
3706         `org-transpose-words' directly.
3707         (org-syntax-table): New variable.
3708         (org-transpose-words): New command, simply wrapping the new
3709         syntax table around `transpose-words'.
3710         (org-mode-map): Bind `org-transpose-words' to `M-t'.
3711         (org-store-link): Use keyword at point as the search string.
3712         Use `delq nil' instead of `delete nil'.
3713         (org-make-org-heading-search-string): Rewrite using
3714         org-element.el.  Not an interactive function anymore.
3716         * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3718         * org-mobile.el (org-mobile-files-alist): Ditto.
3720         * org.el (org-store-link): When creating a link to a heading with
3721         a bracket link, don't escape this link with curly braces as the
3722         escaped link is not active anyway; use the description instead.
3723         If the headline only consists of a bracket link, add a star to the
3724         description so that the user knows this is an internal link.
3726         * org-w3m.el (org-w3m-store-link): New function.
3728         * org.el (org-store-link): Update the error message when no method
3729         is available for storing a link.  Use `user-error' for this.
3730         Remove handling w3m links from this function.
3731         (org-insert-heading, org-insert-todo-heading): A double prefix arg
3732         force the insertion of the subtree at the end of the parent
3733         subtree.
3734         (org-store-link): A double prefix argument now skips module
3735         store-link functions to only use Org's core functions.  Also, when
3736         several modular store-link functions match, ask for which one to
3737         use.
3738         (org-cycle, org-cycle-internal-global)
3739         (org-cycle-internal-local, org-display-outline-path): Let-bind
3740         `message-log-max' to nil so that messages don't populate the
3741         *Messages* buffer.
3743         * org-table.el (org-table-eval-formula): Handle localized
3744         time-stamps by internally converting them to english during
3745         formulas evaluation.
3747         * org.el (org-clock-timestamps-up): Fix declarations.
3749         * ob-core.el (org-split-string): Declare function.
3751         * org-html.el (org-html-export-list-line): Add CSS classes to
3752         these list HTML tags: <ul> <dl> and <ol>.
3754         * org-clock.el (org-clock-timestamps-up)
3755         (org-clock-timestamps-down, org-clock-timestamps-change):
3756         Add an optional argument N to change timestamps by several units.
3758         * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3760         * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3761         'if-interactive and use it as the default.
3762         (org-export-push-to-kill-ring): Use the new choice.
3764         * org.el (org-block-entry-blocking): New variable.
3765         (org-todo): Use it.  Also use `user-error' when a TODO state
3766         change is blocked.
3767         (org-block-todo-from-children-or-siblings-or-parent):
3768         Display `org-block-entry-blocking' in the user-error message.
3770         * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3771         add the time of the day.
3773         * org-capture.el (org-capture): When capturing from the agenda and
3774         with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3775         prefix will set the capture time to the HH:MM of the current line
3776         or the current HH:MM.
3778         * org-agenda.el (org-agenda-capture): New optional argument
3779         WITH-TIME: when set to 1, the capture time will be set to the
3780         HH:MM time of the current line, or the current HH:MM time.
3782         * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3783         formatting.
3784         (org-deadline-close): Use `org-time-stamp-to-now'.
3785         (org-time-stamp-to-now): Use `org-float-time' instead of the
3786         obsolete `time-to-seconds' function.
3787         (org-format-outline-path): Fix bug: add the separator string after
3788         the prefix.
3789         (org-display-inline-images): Search for #+ATTR within the current
3790         paragraph.
3791         (org-days-to-time): Make obsolete.
3792         (org-time-stamp-to-now): Rename from `org-days-to-time'.
3793         Allow to compare time-stamps based on seconds.
3795         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3796         New option to compare time stamps using seconds, not days.
3797         (org-agenda-todo-custom-ignore-p)
3798         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3799         Use the new function's name and the new option.
3801         * org-clock.el (org-clock-sound): Enhance docstring.
3802         (org-notify): Use the parameter `play-sound' as argument for
3803         `org-clock-play-sound'.
3804         (org-clock-play-sound): New optional argument `clock-sound' to
3805         override `org-clock-sound'.
3807         * org-agenda.el (org-agenda-format-item): Fix initialization
3808         of the level text property.
3810         * org.el (org-format-outline-path): Small docstring
3811         enhancement.
3812         (org-display-outline-path): Fix order or arguments.
3814         * org.el (org-activate-plain-links)
3815         (org-activate-bracket-links): Add a new 'htmlize-link text
3816         property, so that htmlize (> version 1.42) can linkify the
3817         links.
3818         (org-display-outline-path): Allow a string value for the
3819         `as-string' parameter.  Such a value will replace the "/"
3820         separator in the output.  New argument `as-string'.
3821         (org-refile-keep): New variable.
3822         (org-copy): New command to copy notes.
3823         (org-refile): New parameter msg to override the "Refile" string in
3824         the default prompt.
3825         (org-mode-map): Bind "C-c M-w" to `org-copy'.
3826         (org-refile-get-location): Use the current file name as the
3827         default target when there is no refile history.
3828         (org-cycle-hide-inline-tasks): New function to hide inline tasks
3829         when cycling.
3830         (org-cycle-hook): Use the new function.
3831         (org-entry-put): Fix bug when updating the last clock.
3832         (org-use-last-clock-out-time-as-effective-time): New option.
3833         (org-current-effective-time): Use the new option.
3835         * org-clock.el (org-clock-get-last-clock-out-time):
3836         New function.
3838         * org.el (org-toggle-inline-images): Only send a message when
3839         called interactively.
3840         (org-scan-tags): Fix the declaration and the use of
3841         `org-agenda-format-item'.
3843         * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3844         correct number of parameters for `org-agenda-format-item'.
3845         Add a docstring.
3847         * org.el (org-outline-level): Go at the beginning of the
3848         headline first to always return a sensible result.
3850         * org-agenda.el (org-search-view, org-agenda-get-todos)
3851         (org-agenda-get-timestamps, org-agenda-get-sexps)
3852         (org-agenda-get-progress, org-agenda-get-deadlines)
3853         (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3854         correct level depending on `org-odd-levels-only'.
3855         (org-agenda-prefix-format): A new specifier `%l' allows to insert
3856         X spaces when the item is of level X.
3857         (org-search-view, org-get-entries-from-diary)
3858         (org-agenda-get-todos, org-agenda-get-timestamps)
3859         (org-agenda-get-sexps, org-agenda-get-progress)
3860         (org-agenda-get-deadlines, org-agenda-get-scheduled)
3861         (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3862         new text property 'level, a string with as many whitespaces as
3863         the level of the item.
3864         (org-agenda-format-item, org-compile-prefix-format):
3865         Handle the new `%l' specifier.
3867         * org-colview.el (org-columns-next-allowed-value): Add the
3868         CLOCKSUM property to the list of properties that can be
3869         changed interactively from the column view.
3871         * org.el (org-entry-put): Allow to set the CLOCKSUM property
3872         by updating the most recent clock.  This is useful in the
3873         column view when you want to use S-<left/right> to update the
3874         last clock of the entry at point.
3875         (org-image-actual-width): New choice: use #+ATTR* or fall back on
3876         a number.
3877         (org-display-inline-images): Implement the new choice.
3878         (org-image-actual-width): Rename from `org-image-fixed-width'.
3879         Update the docstring.  Give more choice.
3880         (org-display-inline-images): Use the option new choices.
3881         (org-image-fixed-width): New option to set a fixed width for
3882         inline images.
3883         (org-display-inline-images): Use the new option.
3885         * org-agenda.el (org-class): Allow to use holiday strings for
3886         the `skip-weeks' arguments.
3888         * org.el (org-mode): Set the syntax of the " character to "string
3889         quote".
3891         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3892         check whether we are in `org-agenda-mode'.
3893         (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3894         agendas and non-custom commands.
3896 2013-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3898         * org-src.el (org-edit-src-exit): Let overlay survive after the
3899         buffer has been saved.
3901         * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3902         backquoting.
3903         (org-texinfo-export-to-info): Use new style backquoting.
3905         * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3906         instead of `file-base-name'.
3908         * org.el (org-insert-heading): Improve whitespace behavior at
3909         end of subtree.
3910         (org-latex-default-packages-alist): Add the `rotating' package to
3911         the list of default packages.  Improve docstring.
3912         (org-insert-property-drawer): Insert only after space in current
3913         line.
3914         (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3915         the mark.
3916         (org-special-ctrl-o): New option.
3917         (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3918         is non-nil.
3920         * org-agenda.el (org-agenda-custom-commands-local-options):
3921         (org-agenda-span, org-agenda-ndays-to-span)
3922         (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3923         (org-agenda-change-time-span, org-agenda-compute-starting-span):
3924         Add support for fortnight view.
3925         (org-agenda-menu): Add fortnight view command.
3926         (org-agenda-fortnight-view): New command.
3928         * org-timer.el (org-clock-sound): Silence compiler.
3930         * org.el (org-beginning-of-line, org-end-of-line):
3931         Bind deactivate-mark to avoid that this command deactivates it.
3932         (org-make-tags-matcher): Do not interpret / in property value as
3933         starter of TODO match.
3934         (org-overview): Preserve point.
3935         (org-read-date-minibuffer-local-map): Don't replace disputed keys
3936         when defining this keymap.
3937         (org-read-date): Remove unnecessary binding of
3938         `org-replace-disputed-keys'.
3939         (org-insert-heading): Allow to remove blank lines if the user does
3940         not want any.
3941         (org-unlogged-message): Fix typo in dostring.
3943         * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3944         `org-babel-ruby-nil-to'
3945         (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3946         (org-babel-ruby-table-or-string): Convert outgoing nils.
3948         * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3949         files where available.
3951         * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3953         * org.el (org-unlogged-message): New function.
3954         (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3955         (org-global-cycle, org-display-outline-path):
3956         Use `org-unlogged-message'.
3958         * org-pcomplete.el (org-make-org-heading-search-string):
3959         Fix function declaration.
3960         (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3961         to `org-make-org-heading-search-string'.
3963         * org.el (org-read-date): Turn off replacing disputed keys when
3964         defining the minibuffer keys during date selection.
3965         (org-insert-heading): Improve the empty line insertion behavior.
3966         Basically, never remove empty lines, only add them.
3968         * org-attach.el (org-attach-commit): Use vc-git to find the git
3969         repository.
3971         * org-compat.el (org-move-to-column): Turn off invisibility stuff
3972         for moving the cursor to a column.
3974         * org.el (org-modules): Update with the new module org-mac-link.
3975         (org-display-outline-path): Do not log outline path in Message
3976         buffer.
3977         (org-agenda-ignore-drawer-properties): New option.
3978         (org-agenda-prepare-buffers):
3979         Honour `org-agenda-ignore-drawer-properties'.
3981         * org-clock.el (org-clock-goto): Recenter to thrd line
3983         * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
3984         between keywords in RECEIVE ORGTBL lines.
3986         * org.el (org-bookmark-names-plist): New user option.
3987         (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
3988         (org-refile): Use `org-bookmark-names-plist'.
3990         * org-capture.el (org-capture-bookmark-last-stored-position):
3991         Use `org-bookmark-names-plist'.
3993         * org.el (org-insert-heading): Rewritten from scratch.
3994         (org-N-empty-lines-before-current): New function
3995         (org-insert-heading-respect-content): Set the correct argument to
3996         force a heading even in lists.
3998         * org-colview.el (org-columns-display-here): Enforce fixed width
3999         font.
4001         * org-faces.el (org-column): Setting font width has been shifted
4002         to org-colview.el.
4004         * org.el (org-mode-flyspell-verify): Check for src block.
4006         * org-table.el (org-table-convert-region): Fix interactive
4007         statement.
4009         * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
4011         * org.el (org-beginning-of-line, org-end-of-line):
4012         Set disable-point-adjustment when the command ends next to invisible
4013         text.
4015         * ob-lob.el (org-babel-lob-files): Fix custom type.
4017         * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
4018         (org-agenda-inactive-leader, org-agenda-day-face-function)
4019         (org-agenda-auto-exclude-function): Fix custom type.
4021         * org-bibtex.el (org-bibtex-prefix): Fix custom type.
4023         * org-clock.el (org-clock-heading-function):
4024         (org-show-notification-handler): Fix custom type.
4026         * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
4028         * org-protocol.el (org-protocol-default-template-key): Fix custom
4029         type.
4031         * org.el (org-make-link-description-function):
4032         (org-link-translation-function):
4033         (org-link-frame-setup):
4034         (org-refile-target-verify-function):
4035         (org-get-priority-function):
4036         (org-use-fast-tag-selection):
4037         (org-columns-modify-value-for-display-function):
4038         (org-sparse-tree-default-date-type):
4039         * ox-html.el (org-html-postamble):
4040         (org-html-postamble-format):
4041         (org-html-preamble-format):
4042         * ox-odt.el (org-odt-content-template-file):
4043         * ox.el (org-export-with-archived-trees):
4044         (org-export-initial-scope): Fix custom type.
4046         * org.el (org-insert-heading): Fix problem with inserting heading.
4047         Check for checkbox at the beginning of the item, not just at the
4048         beginning of the line.
4049         (org-small-year-to-year): Fix docstring typo.
4050         (org-show-siblings): By default, also show siblings from a
4051         bookmark jump.
4053         * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
4054         the headline when agenda is restricted to a subtree.  Do not
4055         highlight the entire subtree.
4057         * org-table.el (org-table-eval-formula): Work-around for calc-eval
4058         regression.
4060         * ox.el (org-export-dispatch): Make sure the last position marker
4061         uses the base buffer if there is one.
4062         (org-export-dispatch-last-position): New variable.
4063         (org-export-dispatch): Save position of cursor at the moment when
4064         the export command is called.  Restore that position temporarily
4065         when repeating the previous export command.
4067         * org.el (org-insert-heading): Shrink whitespace at end of subtree
4068         when `org-insert-heading-respect-content' is on.
4070         * org-list.el (org-sort-list): Respect sorting-type and
4071         getkey-func when they are specified in the call.
4073         * org.el (org-sort-entries): Respect sorting-type and getkey-func
4074         when they are specified in the call.
4075         (org-format-outline-path): New argument SEPARATOR to specify a
4076         string that is inserted between parts of the outline path.
4077         (org-display-outline-path): New argument SEPARATOR, to specify a
4078         string that is inserted between parts of the outline path.
4080         * org-colview.el (org-dblock-write:columnview): Change the capture
4081         of pos to after inserting the original content
4083 2013-11-12  Christian Moe  <mail@christianmoe.com>
4085         * ox-odt.el (org-odt-line-break, org-odt-plain-text):
4086         Remove newline after line-break tag.
4088 2013-11-12  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
4090         * org.el (org-set-font-lock-defaults): Let footnote fontifications
4091         be done before other links' fontification.  This allows links
4092         appearing inside footnotes to be both visible and active.
4094 2013-11-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4096         * org.el (orgstruct-setup): Major rewrite.
4097         (orgstruct++-mode): Overwrite local non-org vars again.
4098         (orgstruct-mode): Simplify implementation.  Emulate outline's
4099         buffer-invisiblity-spec.
4100         (orgstruct-heading-prefix-regexp): Change default value to nil.
4101         (orgstruct-error): Use `user-error' if available.
4102         {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
4103         non-nil.  Always use `org-outline-level'.  Bind org-shift*.
4104         (orgstruct-make-binding): Major rewrite.
4105         (org-cycle-global-status, org-cycle-subtree-status): Set state
4106         property.
4107         (org-heading-components): Use `org-heading-regexp' in
4108         orgstruct-mode.
4109         (orgstruct-heading-prefix-regexp, orgstruct-setup-hook):
4110         New options.
4111         (orgstruct-initialized): New variable.
4112         (org-get-local-variables): Honour state property.
4113         (org-run-like-in-org-mode): Use `let' instead of `progv'.  Do not
4114         override variables with non-default values.
4115         (org-forward-heading-same-level): Do not skip to headlines on
4116         another level.  Handle negative prefix argument correctly.
4117         (org-backward-heading-same-level):
4118         Use `org-forward-heading-same-level'.
4120 2013-11-12  Craig Tanis  <craig-tanis@utc.edu>  (tiny change)
4122         * ox-latex.el (org-latex-src-block): Change format string to position
4123         caption after figure content.
4125 2013-11-12  Eric Abrahamsen  <eric@ericabrahamsen.net>
4127         * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
4128         no-op.  If that link is in a headline, act as if the `C-c C-c' was
4129         called on the headline, not the link.
4131         * ox-html.el (org-html-doctype-alist): New variable holding an
4132         alist of (X)HTML doctypes
4133         (org-html-xhtml-p, org-html-html5-p, org-html-close-tag):
4134         New function.
4135         (org-html-html5-fancy): New export option, determining whether or
4136         not to use HTML5-specific elements.
4137         (org-html-html5-elements): New variable, new HTML5 elements.
4138         (org-html-special-block): Export special blocks to new HTML5
4139         elements.
4140         (org-html-format-inline-image): Use <figure> and <figcaption> for
4141         standalone images.
4142         (org-html-format-inline-image, org-html--build-meta-info)
4143         (org-html--build-head, org-html--build-pre/postable)
4144         (org-html-template, org-html-horizontal-rule)
4145         (org-html-format-list-item, org-html-line-break, org-html-table)
4146         (org-html-verse-block): Changes to allow flavored export.
4148         * ox-latex.el (org-latex--org-table, org-latex-table-row):
4149         Allow use of the "tabu" and "longtabu" table environments.  New table
4150         attribute :spread handles the width specification syntax of "tabu"
4151         and "longtabu" table environments.
4153 2013-11-12  Eric Schulte  <eric.schulte@gmx.com>
4155         * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
4156         in a buffer.
4157         (org-bibtex-read-file): Read all bibtex entries in a file.
4158         (org-bibtex-import-from-file): Import all bibtex entries from a
4159         file into the current buffer.
4161         * ob-tangle.el (org-babel-load-file): When called with a prefix
4162         argument the tangled emacs-lisp file will be byte compiled.
4164         * ob-tangle.el (org-babel-tangle): Tangled files should not be
4165         writable.
4167         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
4168         when to fully escape the results or just print them close to
4169         verbatim.
4171         * ob.el (org-babel-result-cond): This function should now be used
4172         by all language backends to handle the processing of raw code
4173         block output into scalar results, table results, or ignored
4174         results depending on the value of result-params.
4176         * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
4178         * ob-R.el (org-babel-R-evaluate-external-process)
4179         (org-babel-R-evaluate-session):
4180         * ob-awk.el (org-babel-execute:awk):
4181         * ob-clojure.el (org-babel-execute:clojure):
4182         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
4183         * ob-fortran.el (org-babel-execute:fortran):
4184         * ob-io.el (org-babel-io-evaluate):
4185         * ob-java.el (org-babel-execute:java):
4186         * ob-lisp.el (org-babel-execute:lisp):
4187         * ob-maxima.el (org-babel-execute:maxima):
4188         * ob-picolisp.el (org-babel-execute:picolisp):
4189         * ob-python.el (org-babel-python-evaluate-external-process):
4190         (org-babel-python-evaluate-session):
4191         * ob-scala.el (org-babel-scala-evaluate):
4192         * ob-sh.el (org-babel-sh-evaluate):
4193         * ob-shen.el (org-babel-execute:shen):
4194         * ob-sql.el (org-babel-execute:sql):
4195         * ob-sqlite.el (org-babel-execute:sqlite):
4196         Use `org-babel-result-cond'.
4198         * ob.el (org-babel-common-header-args-w-values): Add a new "none"
4199         header argument.
4200         (org-babel-execute-src-block): Don't do *any* result processing if
4201         the "none" header argument has been specified.
4202         (org-babel-sha1-hash): Remove the none header argument from header
4203         arg lists when calculating cache sums.
4204         (org-babel-insert-result): Flesh out some documentation.
4206         * ob.el (org-babel-insert-result): Don't escape results in
4207         drawers.
4209         * ob-python.el (org-babel-python-hline-to): Customize hline
4210         conversion to python.
4211         (org-babel-python-None-to): Customize none conversion from python.
4212         (org-babel-python-var-to-python): Use new variable.
4213         (org-babel-python-table-or-string): Use new variable.
4215         * org.el (org-babel-load-languages): Add ob-makefile to
4216         `org-babel-load-languages'.
4218         * ob-makefile.el: New file.
4220         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
4222         * org.el (org-format-latex): Simplify and now make use of the new
4223         `org-create-formula-image' function.
4224         (org-create-formula-image): Provides a simpler interface to the
4225         two backend-specific functions.
4227         * ob-core.el (org-babel-default-header-args): It is likely that
4228         someone meant to set :padlines to "yes", but accidentally set
4229         :padnewlines to "yes".  Either way lets just remove this which
4230         shouldn't have any functional effect.
4232         * ob-haskell.el (org-babel-default-header-args:haskell):
4233         Set :padlines to "no" by default.
4235         * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
4236         source block on #+ prefixed lines.
4238         * ob-core.el (org-babel-merge-params): Replace `remove-if' with
4239         `org-remove-if'.  More careful to check that the colname- and
4240         rowname-names header arguments exist during merge.  When merging
4241         parameters, if a variable is replaced with a new value, then
4242         delete colnames/rownames for the original value of that variable.
4244         * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
4245         configurable for ditaa blocks.
4247         * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
4248         dealing with list variables.
4250         * ob-core.el (org-babel-demarcate-block):
4251         Include `org-src-lang-modes' in block demarcation options.
4253         * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
4254         files.
4256         * ob-latex.el (org-babel-latex-htlatex): Set this variable to
4257         "htlatex" (or path to said) to enable svg generation from latex
4258         code blocks.
4259         (org-babel-latex-htlatex-packages): Libraries required for
4260         automatic svg generation.
4261         (org-babel-execute:latex): Generate SVG images directly from latex
4262         code blocks (assumes tikz).
4264         * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
4265         when exporting.
4267         * ob-scheme.el (org-babel-scheme-get-repl)
4268         (org-babel-scheme-make-session-name)
4269         (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
4270         Fix whitespace and indentation.
4272         * ob-core.el (org-babel-set-current-result-hash): Update the
4273         match-string holding the hash data, and correct overlay
4274         maintenance.
4275         (org-babel-find-named-result): Call lines are not results.
4276         (org-babel-where-is-src-block-result): Don't implicitly name the
4277         results of call lines.
4278         (org-babel-exp-non-block-elements): There is now another element
4279         on the call line info list.
4281         * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
4282         the end of the info list.
4283         (org-babel-lob-execute): Pass the name through to execution.
4285         * ob-core.el (org-babel-execute-src-block): Ensure that the
4286         location is set before anything else is done.
4288         * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
4289         header arguments at the location of the original code block.
4291         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
4292         arguments.
4294         * ob-core.el (org-babel-common-header-args-w-values): Mention new
4295         header arguments.
4296         (org-babel-expand-body:generic): Use new header arguments.
4297         (org-babel-read-result): More robust matching of examplized
4298         ranges.
4299         (org-babel-result-end): More robust matching of examplized ranges.
4301         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
4302         output terminal when opened.
4303         (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
4304         code blocks.
4305         (org-babel-expand-body:gnuplot): Customization variable prefix
4306         gnuplot code blocks.
4308         * ob-core.el (org-babel-params-from-properties): Now returns a
4309         list of alists and does *not* call `org-babel-merge-params'.
4310         (org-babel-parse-src-block-match):
4311         (org-babel-parse-inline-src-block-match):
4312         * ob-exp.el (org-babel-exp-src-block):
4313         (org-babel-exp-non-block-elements):
4314         * ob-lob.el (org-babel-lob-execute): Handle new list of lists
4315         output of `org-babel-params-from-properties'.
4317         * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
4318         header argument.
4320         * ob-tangle.el (org-babel-tangle): Fix bug in tangle-file.
4321         Collect tangle modes, and only apply them to the file after all
4322         tangling has completed, including the post-tangle-hook.
4324         * ob-core.el (org-babel-read): Do not read #-prefix header-arg
4325         value as emacs lisp.
4327         * ob-core.el (org-babel-current-src-block-location):
4328         (org-babel-execute-src-block):
4329         * ob-exp.el (org-babel-exp-results):
4330         * ob-lob.el (org-babel-lob-execute):
4331         Rename `org-babel-current-exec-src-block-head' to
4332         `org-babel-current-src-block-location'.
4334         * ob-core.el (org-babel-common-header-args-w-values): Adding the
4335         new :tangle-mode header argument.
4336         (org-babel-read): Read values starting with a "#" character as
4337         emacs lisp.
4339         * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
4340         argument.
4342         * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
4343         new :tangle-mode header argument.
4345         * ob-exp.el (org-babel-exp-results): Save the code block location
4346         into `org-babel-current-exec-src-block-head' during export.
4348         * ob-comint.el (org-babel-comint-with-output): More robust edebug
4349         spec.
4351         * ob-lob.el (org-babel-lob-execute): Set the
4352         `org-babel-current-exec-src-block-head' variable when executing
4353         inline or lob style code.
4355         * ob-core.el (org-babel-execute-src-block):
4356         The `org-babel-current-exec-src-block-head' variable should point to
4357         the outermost code block.
4359         * org.el (org-some): An org-mode version of the cl some function.
4361         * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
4362         check if values are matrices.
4364         * org.el (org-every): An Org-mode version of the cl every
4365         function.
4367         * ob-tangle.el (org-babel-tangle-jump-to-org):
4368         Use `org-src-switch-to-buffer' to jump from src to org.  Use the
4369         existing `org-edit-src' functionality to jump back to the correct
4370         point in the code block in the original Org-mode buffer.
4372         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
4373         gnuplot data values in " when necessary.  Replace missing values
4374         with blank space in gnuplot.
4375         (org-babel-expand-body:gnuplot):
4376         (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
4377         (org-babel-header-args:gnuplot): Declare the.
4378         (org-babel-expand-body:gnuplot): Params is an alist not a plist.
4379         (org-babel-header-args:gnuplot): Declare gnuplot-specific header
4380         argument.
4381         (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
4382         value of the missing header argument.
4383         (org-babel-gnuplot-process-vars): Wrap in local binding for
4384         missing value.
4385         (org-babel-gnuplot-quote-tsv-field): Replace missing value with
4386         the missing header argument value when present.
4388         * ob-org.el (org-babel-expand-body:org): Allow insertion of
4389         non-strings into Org code blocks.
4390         (org-babel-inline-result-wrap): New option controlling the
4391         wrapping of inline results.
4392         (org-babel-examplize-region): Use the new defcustom.
4394         * ox-beamer.el (org-beamer--format-frame): If contents is nil,
4395         then replace it with an empty string.
4397         * ob-core.el (org-babel-read): More restrictive elisp eval of
4398         header arguments.
4400         * ob-lob.el (org-babel-lob-execute): Include default elisp header
4401         args in call lines.
4403         * ob-core.el (org-babel-result-cond): Don't over-evaluate
4404         result-params in macro.
4406         * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
4407         in Ruby code blocks.
4408         (org-babel-ruby-evaluate): Delay table processing.
4410         * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
4411         JavaScript code blocks.
4413         * ob-scheme.el (org-babel-execute:scheme):
4414         Use `org-babel-result-cond' in scheme code blocks.
4416         * ob-ocaml.el (org-babel-execute:ocaml):
4417         Use `org-babel-result-cond' in OCaml code blocks.
4419         * ob-haskell.el (org-babel-execute:haskell):
4420         Use `org-babel-result-cond' in Haskell code blocks.
4422         * ob-core.el (org-babel-result-cond): The "raw", "org" and
4423         "drawer" :results header argument values preclude table processing
4424         unless the "table" argument is given as well.
4425         (org-babel-execute-src-block): Make sure we process file results
4426         before they are passed to the post-processing code block, and not
4427         afterwards.  Tangles these two header arguments in the code, but
4428         makes for more intuitive behavior and enables important use cases.
4429         (org-babel-read): Read code block values with earmuffs as Emacs
4430         Lisp.
4431         (org-babel-common-header-args-w-values): Add :post to the list of
4432         header arguments.
4433         (org-babel-execute-src-block): Post process results when the :post
4434         header argument has been supplied.
4436         * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
4437         save-excursion nested inside a save-window-excursion.
4439         * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
4440         used to match code block names.
4441         (org-babel-get-src-block-info): Remove the code used to parse this
4442         alternate variable specification syntax.
4443         (org-babel-insert-result): Cycle tables for :results org and
4444         :results wrap.
4446         * ob-python.el (org-babel-python-initiate-session-by-key): Fix a
4447         bug pointed out by Gary Oberbrunner.
4448         (org-babel-python-initiate-session-by-key): Add "-i" to the python
4449         command on windows sessions.  Actually setting new session names.
4450         Pass Python buffer names to the new `run-python' command.
4451         (org-babel-python-with-earmufs): Add earmufs to a buffer name.
4452         (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
4453         (org-babel-python-initiate-session-by-key): Set the buffer name in
4454         a way which is understandable by the new python.el
4455         (org-babel-python-buffers): Change the default python buffer name.
4457         * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
4458         number.
4460         * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
4461         with a format string.
4463         * ob-core.el (org-babel-where-is-src-block-result): Allow comments
4464         between code blocks and un-named results.
4466         * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
4467         sqlite output as lisp.
4469         * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
4470         (org-babel-confirm-evaluate): Fix whitespaces.
4471         (org-babel-execute-src-block): A cond makes it more clear that we
4472         definitely do not execute without user confirmation.
4473         (org-babel-call-process-region-original): Fix line over 80 chars
4474         long.
4476         * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
4477         to reflect changed variable name.
4479         * ob-core.el (org-babel-expand-src-block): Return value of
4480         expanded code block on non-interactive calls.
4482         * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
4483         variables in perl code.
4484         (org-babel-perl-var-to-perl): Use said wrapper.
4486         * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
4487         command instead of shell-command.
4489         * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
4490         `tuareg-run-caml' is defined before use.
4491         (tuareg-run-ocaml): Declare for compiler.
4493         * ob-core.el (org-babel-result-regexp): Simplify regexp given new
4494         time hash layout.
4495         (org-babel-current-result-hash): New match string.
4496         (org-babel-hide-hash): New match string.
4497         (org-babel-where-is-src-block-result): New match string, and
4498         insert hashes in the new format.
4500         * ob-core.el (org-ts-regexp): Declare.
4501         (org-babel-result-regexp): Now matching time stamp as well.
4502         (org-babel-hash-show-time): New variable controlling the display
4503         of time stamps.
4504         (org-babel-current-result-hash):
4505         (org-babel-hide-all-hashes):
4506         (org-babel-where-is-src-block-result): Use hash time stamps.
4508         * ob-core.el: New file.
4510         * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
4512 2013-11-12  Feng Shu  <tumashu@gmail.com>
4514         * ox-odt.el (org-odt--translate-latex-fragments):
4515         * ox-html.el (org-html-latex-environment)
4516         (org-html-latex-fragment): Fix imagemagick support.
4518         * org.el (org-create-formula-image-with-imagemagick):
4519         Generate correct size formula image.
4520         (org-format-latex-header): Change pagestyle command position.
4522         * ox-latex.el (org-latex--caption/label-string): Allow to build a
4523         caption string from `:caption' attribute of #+ATTR_LATEX.
4525         * ox.el (org-export-dictionary): Add Simplified Chinese
4526         translations for `org-export-dictionary'.
4528 2013-11-12  Florian Beck  <fb@miszellen.de>  (tiny change)
4530         * org.el (org-activate-bracket-links): Remove escapes from the
4531         help string.
4533 2013-11-12  Francesco Pizzolante  <xxx@public.gmane.org>  (tiny change)
4535         * ox-html.el (org-html-headline): Normalize the construction of
4536         outline-container DIVs by always using the inner headline ID.
4538         * org.el (org-agenda-prepare-buffers): Protect with
4539         `org-unmodified'.
4541 2013-11-12  Gregor Kappler  <gregor@alcedo.(none)>  (tiny change)
4543         * ox.el (org-export-as): Make sure org-export-babel-evaluate is
4544         not nil before calling `org-export-execute-babel-code'.
4546 2013-11-12  Grégoire Jadi  <gregoire.jadi@gmail.com>
4548         * org.el (org-reftex-citation): Fix contrib package name in the
4549         docstring.
4550         (org-preview-latex-fragment, org-display-inline-images):
4551         Detect whether a graphic display is available before inlining images to
4552         prevent an error.
4553         (org-startup-with-latex-preview): New option.
4554         (org-startup-options): New startup keywords for the new option.
4555         (org-mode): Turn on/off LaTeX preview depending on the new option.
4556         (org-reverse-string): Add `org-reverse-string' to reverse a
4557         string.
4559         * org-id.el (org-id-new, org-id-decode):
4560         Replace `org-id-reverse-string' by `org-reverse-string'.
4562         * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
4563         by `org-reverse-string' and declare it.
4565 2013-11-12  Gustav Wikström  <gustav.erik@gmail.com>  (tiny change)
4567         * org-agenda.el (org-agenda-filter-by-category): Display all
4568         filtered out categories.
4570 2013-11-12  Ilya Zonov  <izonov@gmail.com>  (tiny change)
4572         * org-mouse.el (org-mouse-context-menu): Add a correct newtext
4573         parameter for "All Set" and "All Clear" menu items.
4575 2013-11-12  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
4577         * org.el (org-insert-todo-heading-respect-content): Pass correct
4578         prefix arg to always insert heading.
4580         * org-agenda.el
4581         (org-agenda-propertize-selected-todo-keywords): New function to
4582         highlight the current agenda todo keywords depending on
4583         `org-todo-keyword-faces'.
4584         (org-todo-list): Use the new function.
4586 2013-11-12  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>
4588         * org-table.el (org-calc-current-TBLFM): New function to
4589         re-calculate the table by applying the #+TBLFM in the line where
4590         the point is.  Ensure to remove the currently inserted TBLFM line,
4591         when calling `org-table-recalculate' returns an error and the
4592         processing stops.
4594         * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
4595         point is in the #+TBLFM line.
4597         * org-table.el (org-TBLFM-begin): New function.
4598         (org-TBLFM-begin-regexp): New variable.
4600         * org.el (org-at-TBLFM-p): New function.
4601         (org-TBLFM-regexp): New defconst.
4603 2013-11-12  Ivan Vilata i Balaguer  <ivan@selidor.net>  (tiny change)
4605         * org-clock.el (org-clock-get-table-data): Pass tstart and tend
4606         time strings through `org-matcher-time' to allow relative times
4607         besides absolute ones, convert result to encoded time.
4609 2013-11-12  Jambunathan K  <kjambunathan@gmail.com>
4611         * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
4612         (org-html--tags, org-html-format-headline)
4613         (org-html--format-toc-headline, org-html-checkbox)
4614         (org-html-table-cell, org-html-timestamp)
4615         (org-html-verse-block, org-html-special-string-regexps): Replace
4616         named HTML entities with their numeric counterparts.  This keeps
4617         Freemind backend happy.
4619         * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
4620         change in rnc file names.
4622         * org-lparse.el (org-lparse-and-open)
4623         (org-lparse-do-convert): Open exported files with system-specific
4624         application.
4626         * org-odt.el: Don't meddle with `org-file-apps'.
4628 2013-11-12  Jarmo Hurri  <jarmo.hurri@syk.fi>
4630         * org-table.el (org-define-lookup-function): New macro.  Call it
4631         to generate new lookup functions `org-lookup-first',
4632         `org-lookup-last' and `org-lookup-all'.
4634         * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4635         `gnus-no-server'.
4636         (org-gnus-no-new-news): Use the new option.
4638 2013-11-12  Jonas Hoersch  <coroa@online.de>  (tiny change)
4640         * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4641         switching to 'children visibility state.
4643         * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4644         `org-show-entry' as it cannot unfold an inlinetask properly.
4646 2013-11-12  Jonathan Leech-Pepin  <jonathan.leechpepin@gmail.com>
4648         * ox-texinfo.el: New file.
4650 2013-11-12  Joost Diepenmaat  <joost@zeekat.nl>  (tiny change)
4652         * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4653         not be considered part of the source block for the purposes of
4654         indentation.
4656 2013-11-12  Justus Piater  <justus-dev@piater.name>
4658         * org-agenda.el
4659         (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4660         to skip the deadline prewarning if the scheduled date is in the
4661         future.
4663 2013-11-12  Kodi Arfer  <git@arfer.net>  (tiny change)
4665         * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4666         root element when appropriate.
4667         (org-html-paragraph): Wrap "Figure %d:" in <span
4668         class="figure-number">.
4669         (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4670         <span class="table-number">.
4671         (org-html-list-of-listings): Wrap "Listing %d:" in
4672         <span class="listing-number">.
4673         (org-html-table): For HTML5, omit :html-table-attributes but not
4674         :id or :attr_html.
4675         (org-html--build-meta-info): Insert no timestamp when
4676         :time-stamp-file is nil.
4678 2013-11-12  Lawrence Mitchell  <wence@gmx.li>
4680         * ox-html.el (org-html-close-tag): Add space before attr.
4682         * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4683         cache before trying to resolve it in the parse tree.
4685 2013-11-12  Le Wang  <le.wang@agworld.com.au>
4687         * org-src.el (org-edit-src-code): Use marker with insertion type t
4688         to track end and remove hack requiring delete from beg to (1-
4689         end).
4691 2013-11-12  Max Mikhanosha  <max@openchat.com>
4693         * org-habit.el (org-habit-get-faces): Add show done days green
4694         option.
4696         * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4697         unset
4699 2013-11-12  Michael Brand  <michael.ch.brand@gmail.com>
4701         * org-table.el (org-table-eval-formula): Align the arrow pointing
4702         to the error in a Calc formula to the other fomula debugger logs.
4704         * org.el (org-link-escape-chars-browser): Add char double quote.
4705         (org-open-at-point): Use the constant
4706         `org-link-escape-chars-browser'.
4708         * org-table.el (org-table-get-remote-range): Extend regexp to
4709         match "#+NAME: table" additionally to "#+TBLNAME: table".
4711         * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4712         places.  Keep empty fields during preprocessing.
4713         (org-table-make-reference): Use nan (not a number) for empty
4714         fields in Calc formulas.  A range with only empty fields should
4715         not always return 0 but also empty string, consistent with field
4716         reference of an empty field.  Use future design for nan but
4717         replicate current behavior.
4718         (org-table-number-regexp): Extend 0x hex to fixed-point number,
4719         add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4720         inf.
4722 2013-11-12  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
4724         * org-mobile.el (org-mobile-push): Add `save-restriction'.
4726 2013-11-12  Nicolas Goaziou  <n.goaziou@gmail.com>
4728         * ox-latex.el (org-latex-compile): Remove all numbered temporary
4729         files after compiling.
4731         * org-element.el (org-element-headline-interpreter): Take into
4732         consideration `org-odd-levels-only' when building a headline.
4734         * ox-org.el (org-org-headline): Correctly set transcoded headline
4735         level during subtree export.
4737         * ox-html.el (org-html--format-toc-headline): TOC entries are
4738         closer to regular headline formatting.
4740         * org-element.el (org-element-context): Fix error when parsing
4741         affiliated keywords, e.g. "caption".
4743         * org.el (org-do-emphasis-faces): Look for verbatim status at
4744         correct location.
4745         (org-open-at-point): Check if link is non-nil before matching it.
4746         (org-export-insert-default-template): Make sure strings are
4747         properly quoted when inserting a template.  Specifically, default
4748         value for drawers should be d:(not "LOGBOOK"), not d:(not
4749         LOGBOOK).
4750         (org-insert-heading): Do not error out when inserting is to be
4751         done at one of the buffer's boundaries.
4753         * ox-latex.el (org-latex-listings-options): Use correct number of
4754         backslash characters in the example.
4756         * org-element.el (org-element-latex-or-entity-successor)
4757         (org-element-latex-fragment-parser): Use `org-latex-regexps'
4758         instead of `org-format-latex-options'.
4760         * ox-ascii.el:
4761         * ox-beamer.el:
4762         * ox-html.el:
4763         * ox-icalendar.el:
4764         * ox-md.el: Remove comments at the beginning of the file since
4765         the library is documented in Org manual.
4767         * org-element.el (org-element--list-struct):
4768         Use `org-match-string-no-properties'.  Fix block parsing in lists.
4770         * ox-publish.el (org-publish-all): Fix compilation problem.
4772         * org-element.el (org-element-timestamp-interpreter):
4773         Correctly interpret timestamps with delays.
4774         (org-element-timestamp-parser)
4775         (org-element-timestamp-interpreter): Parse warning delays.
4777         * ox-beamer.el (org-beamer--format-section): Fix regression which
4778         prevents frames from being propely exported.
4780         * ox.el (org-export-with-backend): Ensure function will use
4781         provided back-end.
4783         * org-list.el (org-list-allow-alphabetical): Remove reference to
4784         unused VALUE.
4786         * ox-beamer.el (org-beamer--format-section): Protect fragile
4787         commands in sections.
4789         * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4790         point on a link, make sure checkbox, if any, is toggled.
4792         * ox-beamer.el (org-beamer--format-block): Return an error message
4793         when using a special environment as a block type.  Also check for
4794         incomplete environment definitions.
4796         * org-element.el (org-element-at-point): If point is at the end of
4797         the buffer, and that buffer ends with a list, and there's no final
4798         newline, return last element in last item instead of plain list.
4799         Fix infloop when called on a blank line at the end of the buffer
4800         after a headline.
4802         * org.el (org-forward-paragraph, org-backward-paragraph):
4803         New functions.
4805         * org.el (org-meta-return): Allow M-RET to insert items within
4806         drawers.  Rewrite function.
4808         * org-element.el (org-element-footnote-definition-parser):
4809         Fix value for :contents-begin when first line of footnote definition
4810         is empty besides the label.
4811         (org-element-at-point): Return correct element when point is on a
4812         blank line just below a headline.
4813         (org-element-paragraph-parser):
4814         Use `org-match-string-no-properties'.  Small fixes to paragraph
4815         parsing.
4817         * org.el (org-adaptive-fill-function): Do not handle
4818         `adaptive-fill-regexp' in comments as the behavior is not
4819         satisfying.
4821         * org-list.el (org-list-struct-apply-struct): Do not move item's
4822         contents within a child above when repairing indentation.
4824         * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4825         when properties are present.
4827         * ox.el (org-export-collect-headlines): Do not build TOC for
4828         headlines below H value.
4830         * org-element.el (org-element-context): Modify misleading
4831         comment.
4832         (org-element-text-markup-successor)
4833         (org-element-latex-or-entity-successor)
4834         (org-element-export-snippet-successor)
4835         (org-element-footnote-reference-successor)
4836         (org-element-inline-babel-call-successor)
4837         (org-element-inline-src-block-successor)
4838         (org-element-line-break-successor, org-element-link-successor)
4839         (org-element-plain-link-successor, org-element-macro-successor)
4840         (org-element-radio-target-successor)
4841         (org-element-statistics-cookie-successor)
4842         (org-element-sub/superscript-successor)
4843         (org-element-table-cell-successor, org-element-target-successor)
4844         (org-element-timestamp-successor): Remove LIMIT argument.
4845         (org-element--parse-objects, org-element--get-next-object-candidates):
4846         Apply signature change to successors.
4847         (org-element-context): Narrow buffer around object containers so
4848         parsing of objects when using this function is done under the same
4849         restrictions as in buffer parsing.
4851         * ox.el (org-export-table-cell-alignment): Ensure required
4852         variables are available.  Use correct :test.
4853         (org-export-table-cell-width): Modify key (now an element) and
4854         value structure (now a vector) of cache so it can use `eq' as
4855         test.  Elements are circular lists so `equal' cannot apply on them.
4857         * ox-publish.el (project-plist): Remove variable.
4859         * ox.el (org-export-to-buffer, org-export-to-file):
4860         Fix docstrings.
4862         * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4863         which is always nil in this back-end.
4865         * org.el (org-adaptive-fill-function): Look for a fill prefix at
4866         the beginning of the paragraph and subsquently on its second line
4867         instead of the current line.
4869         * ob-core.el (org-babel-get-src-block-info): Look for indentation
4870         value at the correct location.
4872         * ox.el (org-export-data-with-backend): Set temporary back-end as
4873         the new back-end in local communication channel.
4874         (org-export-filter-apply-functions): Handle corner case where
4875         back-end is nil.  Only provide back-end name (a symbol) as second
4876         argument of filters, not the full back-end (a vector).
4878         * ox-publish.el (org-publish-find-title): Fix title when no
4879         #+TITLE property is provided.
4881         * ox.el (org-export-store-default-title): Remove-function.
4882         (org-export--default-title): Remove variable.
4883         (org-export-options-alist): Do not use a default value.
4884         (org-export--get-buffer-attributes): Store a default title.
4885         (org-export-as): Apply function removal.
4886         (org-export--get-global-options): Do not set a property with an
4887         explicitly nil value.
4889         * ox-publish.el (org-publish-sitemap-sort-files)
4890         (org-publish-sitemap-sort-folders)
4891         (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4892         (org-publish-sitemap-date-format)
4893         (org-publish-sitemap-file-entry-format): Set prefix to
4894         "org-publish-sitemap" instead of "org-sitemap".
4895         (org-publish-compare-directory-files)
4896         (org-publish-get-base-files-1, org-publish-projects)
4897         (org-publish-format-file-entry): Use new prefix.
4899         * org-clock.el (org-clock-total-time-cell-format)
4900         (org-clock-file-time-cell-format): Use correct type.
4902         * ob-haskell.el:
4903         * ox-ascii.el (org-ascii-export-as-ascii)
4904         (org-ascii-export-to-ascii):
4905         * ox-beamer.el (org-beamer-export-as-latex)
4906         (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4907         * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4908         * ox-icalendar.el (org-icalendar-export-to-ics):
4909         * ox-latex.el (org-latex-export-as-latex)
4910         (org-latex-export-to-pdf):
4911         * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4912         * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4913         * ox-odt.el (org-odt-export-to-odt):
4914         * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4915         * ox-publish.el (org-publish-org-to):
4916         * ox-texinfo.el (org-texinfo-export-to-texinfo)
4917         (org-texinfo-export-to-info):
4918         * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4919         asynchronous export and the other to do extra processing from
4920         within the buffer.
4921         (org-export-to-file): Add two arguments: one to trigger
4922         asynchronous export and the other to do extra processing on the
4923         output file.
4924         (org-export-async-start): Small clean up.
4926         * ox.el (org-export-as): Use new back-end structure.
4927         (org-export-current-backend): New variable.
4928         (org-export-as): Use new variable.
4930         * ox-ascii.el (org-ascii-table): Remove spurious new line between
4931         a table and the caption below.
4933         * ox.el (org-export-to-file): Preserve coding system when writing
4934         output.
4935         (org-export-stack-mode-map): Fix compilation error with Emacs <
4936         24.
4937         (org-export--dispatch-action): Maintain compatibility with Emacs
4938         23.
4940         * org.el (org-adaptive-fill-function, org-fill-paragraph):
4941         Add support for `adaptive-fill-regexp' in paragraphs and comments.
4942         (org-indent-line): Fix indentation after a list.
4944         * ox.el (org-export--get-inbuffer-options): Multiple options can
4945         now be set through the same buffer keyword.
4947         * org-element.el (org-element-plain-list-parser): Fix infloop when
4948         parsing a list at the end of buffer, if buffer doesn't end at a
4949         line beginning.
4950         (org-element-link-parser): Do not url-decode parsed links.
4952         * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4953         spurious white spaces, excepted for source blocks' opening string.
4954         Small refactoring.
4955         (pcomplete/org-mode/file-option): Remove spurious colons from
4956         block boundaries.
4958         * ox-publish.el (org-publish-find-date): Also return date for
4959         directories.
4960         (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4961         extension restriction.
4963         * ox-beamer.el: Remove strange indentation in default header.
4964         (org-beamer-template): Fix missing newlines in header.
4966         * ox-latex.el (org-latex-template): Fix missing newlines in
4967         header.
4969         * ox.el (org-export-insert-default-template):
4970         Fix "wrong-type-argument" error in template insertion.
4972         * org.el (org-fill-paragraph): Use empty commented lines as
4973         separators when filling comments.  This mimics default behavior
4974         from "newcomment.el", which is not used in Org.
4976         * ox-html.el (org-html-link): Add image attributes to "img" tag,
4977         not to the "a" container.  Also fix spacing for attributes.
4979         * org.el (org-fill-paragraph): Do not mix consecutive comments
4980         when filling any of them.
4982         * ox-html.el (org-html-format-headline--wrap): Fix number of
4983         arguments when setting `org-html-format-headline-function'.
4985         * org-element.el (org-element-item-interpreter): This patch fixes
4986         "(wrong-type-argument arrayp nil)" error when trying to interpret
4987         empty items.  Correctly interpret back plain lists with "*" items.
4988         This fixes "This is not a list" error returned in this case.
4990         * ox-latex.el (org-latex-listings): Update docstring.
4992         * org-pcomplete.el (pcomplete/org-mode/file-option/options):
4993         Apply changes to export back-end definiton.
4995         * org.el (org-get-export-keywords): Apply changes to export
4996         back-end definiton.
4998         * ox-html.el (org-html--format-toc-headline): Make use of
4999         anonymous back-ends.
5001         * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
5002         back-ends.
5003         (org-odt-format-label, org-odt-toc)
5004         (org-odt-format-headline--wrap): Use `org-export-with-backend'
5005         instead of `org-export-with-translations'.
5007         * ox.el (org-export--registered-backends): Rename from
5008         `org-export-registered-backends'.
5009         (org-export-invisible-backends): Remove variable.
5010         (org-export-get-backend, org-export-get-all-transcoders
5011         org-export-get-all-options, org-export-get-all-filters):
5012         New functions.  It replaces `org-export-backend-translate-table'.
5013         (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
5014         org-export-define-backend, org-export-define-derived-backend):
5015         Rewrite functions using new representation.
5016         (org-export-backend-translate-table): Remove function.
5017         (org-export-get-environment): Use new function.
5018         (org-export--get-subtree-options, org-export--parse-option-keyword,
5019         org-export--get-inbuffer-options, org-export--get-global-options,
5020         org-export-to-buffer org-export-to-file, org-export-string-as
5021         org-export-replace-region-by): Update docstring.
5022         (org-export-data-with-translations): Remove function.
5023         Use `org-export-data-with-backend' with a temporary back-end instead.
5024         (org-export-data-with-backend, org-export-as): Reflect new definition
5025         for back-ends.
5026         (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
5027         definition for back-ends and variable removal.  Refactoring.
5028         (org-export-filter-apply-functions): Call functions with
5029         current back-end's name, not full back-end.
5031         * org.el (org-export-backends, org-create-formula--latex-header):
5032         Use new structure and variables.
5034         * ox-html.el (org-html-inline-images): Change default value and
5035         remove `maybe'.
5036         (org-html-format-inline-image): Remove functions.
5037         (org-html--wrap-image, org-html--format-image)
5038         (org-html-inline-image-p): New functions.
5039         (org-html-latex-environment, org-html-latex-fragment): Use new
5040         functions.
5041         (org-html-standalone-image-p): Use new functions.  Also remove an
5042         unused optional argument.
5043         (org-html-link, org-html-paragraph): Correctly export hyperlinked
5044         images.
5046         * ox.el (org-export-dictionary): Update some translations.
5048         * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
5049         Fix docstring.
5050         (org-odt-format-label): Add docstring.  Internationalize prefix.
5052         * ox.el (org-export-dictionary): Add entry for colons.
5054         * ox-odt.el (org-odt--suppress-some-translators): Remove function.
5056         * ox-html.el (org-html-link): Remove left-over binding.
5058         * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
5059         title in environment definition.
5060         (org-beamer--format-block): Handle new placeholders.
5062         * ox-html.el (org-html-link): Small refactoring.
5064         * org-element.el (org-element--current-element):
5065         Fix org-meta-return error at the end of buffer.
5067         * ox-odt.el (org-odt-category-map-alist): Fix internationalization
5068         of "Table" and "Listing".
5070         * ox.el (org-export-dictionary): Remove useless dictionary
5071         entries.
5073         * ox-ascii.el (org-ascii--build-caption): Apply removal.
5075         * ox.el (org-export-dictionary): Add spanish and german
5076         translations.
5078         * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
5079         description always use that description, even if the description
5080         is the same as the headline title.
5081         (org-odt-plain-text): Allow to turn smart quotes off.
5083         * ox-latex.el (org-latex--get-footnote-counter): Remove function.
5085         * org.el (org-setup-filling): Set `paragraph-start' and
5086         `paragraph-separate'.
5087         (org-fill-paragraph-separate-nobreak-p): Remove function.
5088         (org-mode): Do not set `paragraph-start'.
5090         * ox-html.el (html): Replace "HTML_HTML5_FANCY",
5091         "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
5092         respectively, ":html5-fancy", "html-style" and "html-scripts"
5093         options.
5094         (org-html-html5-fancy): Reformat docstring.
5095         (org-html-template): Fix typo preventing insertion of link up/link
5096         home anchors.
5098         * org.el (org-create-formula--latex-header): Replace AUTO with
5099         appropriate language when previewing snippets.
5101         * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
5102         items description tags.  Also remove a unnecessary hack allowing
5103         footnotemark with an optional argument in the tag.
5105         * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
5106         link lives before the first headline.
5108         * org-element.el (org-element-special-block-parser): Fix typo in
5109         regexp matching block type.  Also quote the type so it can contain
5110         special characters.
5112         * ox-latex.el (org-latex-pdf-process): This argument can cause
5113         problem with links with a relative path, since compilation happens
5114         in a different directory.
5116         * org.el (org-latex-default-packages-alist): Load "ulem" package
5117         by default.  Use "[normalem]" option to preserve \emph definition.
5119         * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
5120         "\sout" commands from "ulem" package.
5122         * org.el (org-latex-default-packages-alist): Document need for
5123         "soul" package.
5125         * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
5126         package) instead of \underline for underline text.
5128         * ox.el (org-export-read-attribute): Fix "Wrong argument type"
5129         error when attributes start with :key "".
5131         * org.el (org-fill-paragraph-separate-nobreak-p)
5132         (org-fill-line-break-nobreak-p)
5133         (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
5135         * org-element.el (org-element--list-struct): Fix failing
5136         "plain-list-parser" test.
5138         * ox-latex.el (org-latex-src-block): Handle :float attribute.
5139         Its value can be set to "t", "multicolumn" or "nil".  Also remove
5140         :long-listing attribute, which is now replaced with :float nil.
5141         (org-latex--org-table): Replace :float table with :float t.
5142         (org-latex--inline-image): Replace :float figure with :float t.
5143         (org-latex-long-listings): Remove variable.
5145         * org-element.el (org-element--list-struct): New function.
5146         (org-element-plain-list-parser, org-element--current-element):
5147         Use new function.
5149         * ox-man.el (org-man-compile):
5150         * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
5152         * ox-latex.el (org-latex-compile):
5153         * ox-man.el (org-man-compile):
5154         * ox-texinfo.el (org-texinfo-compile): Properly set working
5155         directory.
5157         * ox-latex.el (org-latex-compile):
5158         * ox-texinfo.el (org-texinfo-compile): Make sure generated file
5159         can be found by `file-exists-p'.
5161         * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
5163         * org-element.el (org-element--remove-indentation):
5164         Small optimization.
5165         (org-element--remove-indentation): New function.
5166         (org-element-example-block-parser, org-element-src-block-parser):
5167         Use new function.
5168         (org-element-src-block-interpreter): Update function according to
5169         change.
5171         * ox.el (org-export-unravel-code): Do not remove any indentation
5172         since it now happens at the parser level.
5173         (org-export-table-cell-width): Be sure to use cache even when
5174         stored value is nil.
5175         (org-export--default-title): Fix "Symbol's value as variable is
5176         void: org-export--default-title".
5178         * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
5179         internal function since it is called at each cell, though its
5180         value only change column wise.
5182         * ox.el (org-export-resolve-fuzzy-link): Change property name
5183         holding cache.
5184         (org-export-table-has-header-p, org-export-table-row-group)
5185         (org-export-table-cell-width, org-export-table-cell-alignment):
5186         Cache results.
5187         (org-export-table-cell-address): Refactor.
5188         (org-export-get-parent): Inline function.
5189         (org-export-options-alist): Change default value for :title
5190         property.
5191         (org-export--default-title): New dynamically scoped variable.
5192         (org-export-store-default-title): New function.
5193         (org-export--get-buffer-attributes): Remove title handling.
5194         (org-export--get-global-options): Revert "ox: Fix default title".
5195         Refactor code.
5197         * ox-html.el (org-html-format-latex): Provide a prefix for
5198         temporary file when using dvipng, even if the current buffer isn't
5199         associated to a file.
5201         * ox.el (org-export-resolve-radio-link): Ignore whitespace
5202         differences when resolving a radio link.
5203         (org-export-resolve-radio-link): Fix radio target resolution.
5205         * org-element.el (org-element--current-element): Be stricter when
5206         matching arguments in LaTeX environments.  In particular, do not
5207         allow anything else than options and arguments in the opening
5208         line.
5210         * ox-html.el (org-html-inner-template): Remove code relative to
5211         bibliography.
5212         (org-html-bibliography): Remove function.
5214         * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
5215         not only \^, so it doesn't become a diacritic.
5217         * ox-html.el (org-html--build-meta-info): Fix code typo.
5219         * ox.el (org-export-expand-include-keyword): Avoid using `read' to
5220         determine file name.
5221         (org-export--get-global-options): Properly set default title,
5222         i.e. when to TITLE keyword is provided.
5224         * org-element.el (org-element--parse-elements): Also parse visible
5225         headlines within an otherwise compacted headline.
5227         * ox.el (org-export-expand-include-keyword): Tolerate included
5228         file names without double quotes.
5229         (org-export-resolve-fuzzy-link): Fix caching process.
5231         * ox-publish.el (org-publish-find-date): Fix "Invalid time
5232         specification" error with timestamps in DATE.
5234         * org-element.el (org-element--current-element): Allow the opening
5235         string of a LaTeX environment to contain additional arguments.
5237         * org.el (org-insert-heading): Refactor to use `org-in-item-p'
5238         only once.
5240         * ox.el (org-export-expand): Optionally add affiliated keywords to
5241         results.
5243         * ox-org.el (org-org-identity): Use new argument for
5244         `org-export-expand'.
5246         * org.el (org-fill-paragraph): Move to table beginning before
5247         aligning the table when M-q is called from an affiliated keyword.
5249         * org-list.el (org-list-allow-alphabetical): Properly update
5250         `org-list-allow-alphabetical' when changed after org.el has been
5251         loaded.
5253         * org-element.el (org-element-fixed-width-interpreter):
5254         Fix interpretation of fixed-width elements with a nil or empty string
5255         value.
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-html.el (org-html-link): Don't skip the link description when
5261         it matches the name of the headline it targets.
5263         * ox-ascii.el (ascii): Remove inexistant function.
5265         * ox-icalendar.el (icalendar): Ignore footnotes.
5266         (org-icalendar--combine-files): Small refactoring.
5268         * ox.el (org-export--skip-p, org-export--interpret-p):
5269         When `org-export-with-footnotes' is nil, ignore completely footnotes
5270         references and definitions instead of exporting them verbatim.
5272         * ox-beamer.el (org-beamer--frame-level): Small refactoring.
5273         (org-beamer--format-block, org-beamer-headline): Do not systematically
5274         downcase environment names as some require upper case in their
5275         names (e.g. noteNH and CJK).
5277         * ox.el (org-export-with-timestamps): Only applies to isolated
5278         timestamps, i.e. timestamps in a paragraph containing only
5279         timestamps and empty strings.
5280         (org-export--skip-p): Skip timestamps according to new behavior.
5282         * ox-latex.el (org-latex--script-size): Handle consecutive
5283         alterning sub and superscript.
5285         * ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
5286         (org-org-headline, org-org-keyword): Fix docstring.
5288         * ox-latex.el (org-latex--script-size): Use \text command for
5289         subscript and superscript.  This is far superior to \mathrm, but
5290         it requires "amstext" package.  In particular, accented characters
5291         are now allowed within sub/superscript.
5293         * org.el (org-latex-default-packages-alist): Add "amstext"
5294         package.
5296         * ox-latex.el (org-latex--script-size): Fix error when using
5297         sub/superscript within sub/superscript.
5299         * ox-latex.el (org-latex--script-size): New function.
5300         (org-latex-subscript, org-latex-superscript): Use new function.
5301         Remove instructions since everything is documented in Org manual.
5303         * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
5304         for keywords, the latter being hard to type, somewhat difficult to
5305         read, and overall just pedantic.
5307         * ox-latex.el (org-latex-classes): Be more explicit about
5308         LATEX_HEADER_EXTRA.
5310         * ox-html.el (org-html--build-meta-info): Fix invalid characters
5311         in html attributes.
5313         * ox.el (org-export-filters-alist): Remove macro filter.
5314         (org-export-filter-macro-functions): Remove variable.
5316         * ox-beamer.el (beamer): Install a default class set-up when
5317         loading library.
5319         * ox-latex.el (org-latex-classes): Update docstring.
5321         * ox-latex.el (org-latex--inline-image): Remove specific default
5322         image width for floats.  If no width nor height is provided, it
5323         should default to `org-latex-image-default-width' value.
5325         * org.el (org-extract-attributes-from-string)
5326         (org-attributes-to-string): Remove functions.
5328         * ox-html.el (html): Rename :html-table-tag property into
5329         :org-table-attributes.
5330         (org-html-table-default-attributes): New variable.
5331         (org-html-table-tag): Remove variable.
5332         (org-html--make-attribute-string): New function.
5333         (org-html-link--inline-image, org-html-table): Use new function.
5334         (org-html-splice-attributes, org-export-splice-style):
5335         Remove functions.
5336         (org-html-inline-image-rules): Remove out of context part of the
5337         docstring.
5339         * ox.el (org-export-read-attribute): Allow to use empty strings in
5340         attributes.
5342         * ox-html.el (org-html-metadata-timestamp-format): New variable,
5343         renamed from `org-html--timestamp-format'.
5344         (org-html--build-meta-info, org-html-format-spec,
5345         org-html--build-pre/postamble): Use new variable.
5347         * ox.el (org-export-table-row-number): New function.
5348         (org-export-table-cell-address): Use new function.
5350         * org-element.el (org-element-table-cell-successor): Parse table
5351         cells with missing ending space.
5353         * ox-latex.el (org-latex--math-table): Fix inline-math table
5354         environment.
5356         * ox-html.el (org-html-doctype): Make value fit on a single line
5357         so `org-export-insert-default-template' can handle it.
5358         (org-html-creator-string): Change default value.
5360         * ox.el (org-export-creator-string): Change default value.
5362         * ox-html.el (org-html-postamble-format)
5363         (org-html-preamble-format): Allow last modification time of source
5364         in template.  Fix docstrings.
5365         (org-html-format-spec): Produce last modification time when the source
5366         is a file.
5368         * ox.el (org-export-with-archived-trees, org-export-with-author)
5369         (org-export-with-clocks, org-export-with-date)
5370         (org-export-creator-string, org-export-with-drawers)
5371         (org-export-with-email, org-export-with-emphasize)
5372         (org-export-exclude-tags, org-export-with-fixed-width)
5373         (org-export-with-footnotes, org-export-with-latex)
5374         (org-export-headline-levels, org-export-default-language)
5375         (org-export-preserve-breaks, org-export-with-entities)
5376         (org-export-with-inlinetasks, org-export-with-planning)
5377         (org-export-with-priority, org-export-with-section-numbers)
5378         (org-export-select-tags, org-export-with-smart-quotes)
5379         (org-export-with-special-strings)
5380         (org-export-with-statistics-cookies)
5381         (org-export-with-sub-superscripts, org-export-with-toc)
5382         (org-export-with-tables, org-export-with-tags)
5383         (org-export-with-tasks, org-export-time-stamp-file)
5384         (org-export-with-timestamps, org-export-with-todo-keywords):
5385         Fix docstrings.
5387         * ox-html.el (org-html-postamble-format): Slightly change default
5388         value so "Generated by" string doesn't get duplicated.
5389         (org-html-creator-string): Fix docstring.
5391         * ox.el (org-export--get-inbuffer-options)
5392         (org-export--list-bound-variables)
5393         (org-export--generate-copy-script, org-export-string-as)
5394         (org-export-expand-include-keyword)
5395         (org-export--prepare-file-contents): Inhibit startup process when
5396         calling `org-mode'.
5398         * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
5399         with some DATE values: :date property in communication channel is
5400         no longer a string.
5402         * ox.el (org-export-insert-default-template): New function.
5403         (org-export--dispatch-ui, org-export--dispatch-action): Access to
5404         the function through the dispatcher.
5406         * ox-icalendar.el (org-icalendar-convert-timestamp):
5407         Update docstring.
5408         (org-icalendar-dtstamp): New function.
5409         (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
5411         * ox-ascii.el (org-ascii-link):
5412         * ox-html.el (org-html-keyword):
5413         * ox-latex.el (org-latex-keyword, org-latex-link):
5414         * ox-man.el (org-man-keyword):
5415         * ox-md.el (org-md-link):
5416         * ox-odt.el (org-odt-keyword):
5417         * org.el (org-store-link, org-link-search, org-options-keywords):
5418         Remove reference to TARGET keyword.
5420         * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
5421         Do not use TARGET as a destination for links anymore.
5423         * ox-org.el (org): Add a menu entry for the back-end.
5424         (org-org-export-as-org, org-org-export-to-org): New functions.
5426         * org.el (org-export-backends): Accept `org' as a loadable
5427         back-end.
5429         * ox-ascii.el (org-ascii-template--document-title): Use new function.
5431         * ox-beamer.el (org-beamer-template): Use new function.
5433         * ox-html.el (org-html-format-spec): Use new function.
5435         * ox-latex.el (org-latex-template): Use new function.
5436         (org-latex-date-timestamp-format): Remove variable.
5438         * ox.el (org-export-date-timestamp-format): New variable.
5439         (org-export-get-date): New function.
5441         * ox-odt.el (org-odt--format-paragraph): New function.
5442         (org-odt-paragraph): Use new function to limit code duplication.
5443         (org-odt-footnote-reference): Change default style for paragraphs
5444         when transcoding a footnote definition.
5446         * org-macro.el (org-macro--collect-macros): Fix a bug where
5447         reading a macro in a setup file would remove other macros read so
5448         far from template.  Change function signature.
5449         (org-macro-initialize-templates): Apply signature change from function
5450         above.
5452         * ox.el (org-export--list-bound-variables): Rename from
5453         `org-export--install-letbind-maybe'.  Though, only return list of
5454         bound variables instead of installing them as buffer-local
5455         variables.
5456         (org-export-get-environment): Use new function.  Take care of the
5457         installation of bound variables.
5458         (org-export--generate-copy-script): Make sure non-Org variables are
5459         also installed in buffer copy.
5461         * ox.el (org-export-get-environment): Update comment.
5462         (org-export--install-letbind-maybe): Go into SETUPFILE files and
5463         handle BIND keywords there.
5465         * ox-latex.el (org-latex-link): Do not prefix relative paths with
5466         "file://".
5468         * org.el (org-link-search): Preserve priority of #+TARGET over
5469         #+NAME when resolving a link.
5471         * ox-latex.el (org-latex-long-listings): New variable.
5472         (org-latex-src-block): Use new variable.
5474         * ox.el (org-export-data): White spaces after export snippets are
5475         never ignored.
5477         * org-element.el (org-element-macro-parser): Allow to escape
5478         escaping character before a comma.  Also do not trim spaces at
5479         argument boundaries.
5481         * ox.el (org-export-async-start): Use correct coding system so
5482         unibyte characters do not appear in the resulting buffer or file.
5483         (org-export--copy-to-kill-ring-p): Move function elsewhere in the
5484         file.
5486         * ox-latex.el (org-latex--inline-image): Fix error when no default
5487         width, height and option are provided and no attribute is set for
5488         the inline image.
5490         * org.el (org-comment-or-uncomment-region): Fix commenting lines
5491         beginning with a link.
5492         (org-delete-char): Fix "Invalid use of `\\' in replacement text"
5493         when deleting a character in a cell which contains "\"
5494         (org-export-backends): Remove duplicates.  Reorder alphabetically.
5496         * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
5497         `memq' when matching strings.
5499         * ox.el (org-export-read-attribute): Do not use `read' to read
5500         attributes.  Instead, extract keywords and values from it, which
5501         means each value will be a string when non-nil.
5503         * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
5505         * ox-html.el (org-html--textarea-block): Use new attribute syntax.
5507         * ox-latex.el (org-latex--inline-image, org-latex--org-table)
5508         (org-latex--math-table): Use new attribute syntax.
5510         * ox-man.el (org-man-table--org-table): Use new attribute syntax.
5511         Small refactoring.
5513         * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell):
5514         Use new attribute syntax.
5516         * ox.el (org-export-async-start): Remove code evaluation queries
5517         from asynchronous export.
5519         * ox-latex.el (latex): Activate smart quotes by default.
5520         (org-latex--inline-image): Don't insert a default width when
5521         height is provided in a figure environment.
5522         (org-latex--inline-image): Do not use default width
5523         (resp. height) when an user height (resp. width) is provided.
5524         Also, default height is only used when image is not wrapped within
5525         a figure or wrapfigure environment, in order to preserve ratio.
5526         (org-latex-image-default-width, org-latex-image-default-height):
5527         Update docstring.
5529         * ox-icalendar.el (org-icalendar-create-uid): Fix error when
5530         `org-icalendar-store-UID' is non-nil.
5532         * ox-latex.el (latex): Introduce new buffer keyword.
5533         (org-latex-template): Use new keyword.
5535         * ox-beamer.el (org-beamer-template): Use new keyword.
5537         * org.el (org-create-formula--latex-header): Use new keyword.
5539         * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
5540         (org-beamer-environments-extra): Add :version and
5541         :package-version.
5543         * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
5544         Add :version and :package-version.
5546         * ox-latex.el (org-latex-inline-image-rules)
5547         (org-latex-default-table-environment)
5548         (org-latex-default-table-mode, org-latex-tables-booktabs)
5549         (org-latex-table-scientific-notation, org-latex-known-errors):
5550         Add :version and :package-version.
5552         * ox-md.el (org-md-headline-style): Add :version and
5553         :package-version.
5555         * ox-odt.el (org-odt-with-latex): Add :version
5556         and :package-version.
5558         * ox.el (org-export-with-drawers, org-export-with-latex)
5559         (org-export-with-inlinetasks, org-export-with-planning)
5560         (org-export-with-smart-quotes, org-export-with-statistics-cookies)
5561         (org-export-allow-bind-keywords, org-export-async-init-file):
5562         Add :version and :package-version.
5564         * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
5565         name from `e-ascii' to `ascii'.
5567         * ox.el (org-export--generate-copy-script): Call `org-mode' when
5568         duplicating a buffer.  It will properly set every variable, like
5569         `comment-start'.
5570         (org-export-async-start): Do not call `org-mode' since this is done
5571         already in the previous function.
5573         * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
5574         generated from a TOC keyword.
5576         * org.el (org-export-backends): Do not reset list of loaded
5577         back-ends to variable's value after a reload.
5579         * ox-latex.el (org-latex-src-block): Do not overwrite provided
5580         numbering options in minted and listings.
5581         (org-latex-headline): Don't add optional title on unnumbered
5582         headlines.
5584         * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
5585         keywords.  Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
5586         again.
5588         * org.el (org-fill-paragraph): Small refactoring to
5589         `org-fill-paragraph'.  Do not look for table cells in a paragraph.
5591         * org-element.el (org-element-object-restrictions):
5592         Simplify restrictions within secondary strings and objects.
5594         * org-list.el (org-list-send-list): Do not rely on
5595         `org-list-parse-list'.
5596         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
5597         Use appropriate export back-end instead of using
5598         `org-list-to-generic'.
5600         * ox-html.el (org-html-inner-template): Remove contents div and
5601         title.
5602         (org-html-template): Add contents div and title.
5603         (org-html-infojs-install-script): Can't activate jsinfo script
5604         during a body-only export.
5606         * ox.el (org-export-as): Store export options in :export-options
5607         porperty within communication channel.
5609         * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
5610         is set in an ordered list while its parent is not ordered.
5612         * ox.el (org-export-format-code-default): Handle empty source
5613         blocks more gracefully.
5615         * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
5616         gracefully.
5618         * org.el (org-export-backends): Update variable.  `infojs' was
5619         merged into ox-html and `freemind' was added.
5621         * ox.el (org-export--selected-trees): Also mark inlinetasks with a
5622         select tag.
5623         (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5625         * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5626         for unescaping code.
5628         * ox-html.el (org-html-link): Silence byte-compiler.
5629         (html): Add infojs installation script in options filter.
5630         (org-html-infojs-install-script): Remove check for back-end as we
5631         can safely assume the function will be called from `html' back-end
5632         or one of its derivative.
5634         * ox-icalendar.el (org-agenda-collect-markers)
5635         (org-create-marker-find-array): Remove functions.
5636         (org-icalendar-export-current-agenda): Integrate previous
5637         functions.
5639         * ox-latex.el (org-latex-format-headline-default-function):
5640         Use declarative shape to nest makup for TODO keywords.
5641         Previous syntax generated errors during export.
5643         * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5644         `kill-emacs-hook'.  The first one has been run in the original
5645         buffer.  The second is not necessary and can pollute output to a
5646         temporary buffer (e.g. with `org-clock-persistence-insinuate').
5648         * ox-html.el (org-html-inner-template): Remove title.
5649         (org-html-template): Add title.
5651         * ox.el (org-export--get-min-level): Ignore footnote section when
5652         computing minimal headline level.
5654         * org.el (org-do-latex-and-related): Fix infloop when user
5655         provides a wrong value for `org-highlight-latex-and-related'.
5656         In this case, `org-latex-and-related-regexp' is the empty string and
5657         generates an infloop since matching it doesn't move point.
5659         * org-element.el (org-element-headline-parser):
5660         Rename :optional-title into :alt-title.
5662         * ox.el (org-export-get-alt-title): Rename from
5663         `org-export-get-optional-title'.
5665         * ox-ascii.el (org-ascii--build-title):
5666         * ox-html.el (org-html--format-toc-headline):
5667         * ox-latex.el (org-latex-headline):
5668         * ox-texinfo.el (org-texinfo--get-node)
5669         (org-texinfo--generate-menu-items): Apply name change.
5671         * ox.el (org-export--get-inbuffer-options): Remove an optional
5672         argument.  Rewrite function.  Properties read from a setupfile do
5673         not overwrite anymore previously computed properties.
5674         (org-export-get-environment): Apply changes to previous function.
5676         * org.el (org-create-formula--latex-header): Apply arity change
5677         from `org-export--get-inbuffer-options'.
5679         * ox-latex.el (org-latex-compile): Add an optional argument for
5680         latex snippet previewing.
5682         * org.el (org-create-formula-image-with-imagemagick):
5683         Use `org-latex-compile' instead of rewriting it.
5685         * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5686         regexps that may match large strings.
5688         * org.el (org-create-formula--latex-header): New function.
5689         (org-create-formula-image-with-dvipng)
5690         (org-create-formula-image-with-imagemagick): Use new function.
5692         * ox.el (org-export-get-previous-element): Change order of retured
5693         elements in `org-export-get-previous-element'.
5695         * org-element.el (org-element-all-successors): Add `plain-link'
5696         successor.
5697         (org-element-object-restrictions): Remove `link' within `link'.
5698         Allow `plain-link' instead.
5699         (org-element-plain-link-successor): New function.
5701         * org.el (org-match-substring-regexp)
5702         (org-match-substring-with-braces-regexp): Update regexp.
5703         A sub/superscript cannot start anymore at the beginning of the line
5704         or after a space.
5706         * org-element.el (org-element--get-next-object-candidates):
5707         Rewrite function to simplify algorithm.
5708         (org-element-context, org-element--parse-elements): Apply changes.
5710         * org.el (org-fill-paragraph): Apply changes.
5712         * ox-html.el (org-html-link, org-html-link--inline-image):
5713         Attributes specified to a paragraph only apply to first link
5714         within.
5716         * ox-latex.el (org-latex-headline): Do not add optional section
5717         name when section is unnumbered.
5719         * org.el (org-in-verbatim-emphasis): Fix false positive when point
5720         is just after the closing emphasis marker.
5721         (org-fill-paragraph): Do not move point when filling a table.
5723         * ox-ascii.el (ascii): Add new filter.
5724         (org-ascii-filter-comment-spacing): New function.
5725         (org-latex-keyword): Remove "figures" value.
5727         * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5729         * ox-html.el (org-html--format-toc-headline): Fix function name.
5730         (org-html-toc, org-html--toc-text): Change to docstring.
5731         (org-html-list-of-listings, org-html-list-of-tables):
5732         New functions.
5733         (org-html-keyword): Use new functions.
5734         (org-html-src-block): Add an ID attribute when a name is given.
5736         * org-element.el (org-element-footnote-definition-parser):
5737         Require 2 blank lines to separate footnote definition.
5739         * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5740         lines to separate footnote definition.
5742         * ox.el (org-export-stack): Rewrite.
5743         (org-export-stack-refresh): Refactor.
5744         (org-export-stack-remove, org-export-stack-view): Apply renaming.
5745         (org-export-stack-mode-map): Use tabulated list map as a basis.
5746         (org-export-stack--generate, org-export-stack--num-predicate):
5747         New function.
5748         (org-export-get-optional-title): Return regular title when no
5749         optional title is found.
5751         * ox-ascii.el (org-ascii--build-title): Apply change to
5752         `org-export-get-optional-title'.
5754         * ox-html.el (org-html--format-toc-headline): Apply change to
5755         `org-export-get-optional-title'.
5757         * ox-latex.el (org-latex-headline): Apply change to
5758         `org-export-get-optional-title'.
5760         * ox-ascii.el (org-ascii--build-title): Add an argument.
5761         Use optional title when building a toc line.
5762         (org-ascii--build-toc): Call `org-ascii--build-title' with
5763         appropriate arguments.
5765         * ox-latex.el (org-latex-headline): Use optional title for table
5766         of contents.
5768         * ox-html.el (org-html--toc-text): Rename from
5769         `org-html-toc-text'.  Add docstring.
5770         (org-html--format-toc-headline): Rename from
5771         `org-html-format-toc-headline'.  Add docstring.  Use optional
5772         title if possible.
5773         (org-html-toc): Add docstring.
5775         * org-element.el (org-element-headline-parser): Node property
5776         :OPTIONAL_TITLE: in a headline will be parsed and stored under
5777         :optional-title property.
5779         * ox.el (org-export-get-optional-title): New function.
5781         * ox-latex.el (org-latex-format-headline-default-function):
5782         Make the variable a function.
5784         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
5785         No error when resolving external fuzzy links outside publishing.
5786         Though search option for these links will not be resolved.
5788         * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5789         according to `org-export-coding-system'.
5791         * ox.el (org-export--generate-copy-script):
5792         Clone `buffer-file-coding-system' when creating a buffer copy.
5794         * ox-html.el (org-html-link): Resolve external links with search
5795         options like [[file.org::#custom-id]] or
5796         [[file.org::*headline-search]].
5798         * ox-publish.el (org-publish-collect-numbering)
5799         (org-publish-resolve-external-fuzzy-link): New functions.
5800         (org-publish-org-to): Add new collecting function to final output
5801         filter.  Move index collecting function to the same filter.
5802         (org-publish-collect-index): Called from final output filter.
5804         * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5805         Use :CUSTOM_ID, not :custom-id.
5807         * org-element.el (org-element-latex-environment-parser): Fix wrong
5808         value for :post-affiliated property when parsing a latex
5809         environment.
5811         * ox-latex.el (org-latex-property-drawer): Remove function.
5813         * ox-ascii.el (org-ascii-filter-paragraph-spacing):
5814         Remove reference to now renamed `e-ascii' back-end.
5816         * ox-beamer.el (org-beamer-template): Allow to span documentclass
5817         options accross multiple lines in template.
5819         * ox-latex.el (org-latex-template): Allow to span documentclass
5820         options accross multiple lines in template.
5822         * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5823         (org-texinfo--get-node): New function.
5824         (org-texinfo-headline, org-texinfo-link): Use new function.
5826         * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5827         contents.  Just indent them.
5829         * ox-publish.el (org-publish-index-generate-theindex): Do not
5830         create an "* Index" headline in "theindex.inc".  Though, create an
5831         "Index" title in fallback "theindex.org".
5833         * ox-publish.el (org-publish-projects): Publish "theindex.org"
5834         last, so that "theindex.inc" can be completed.
5836         * ox-publish.el (org-publish-project-alist): Fix docstring.
5837         (org-publish-collect-index): Fix typo.
5839         * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5840         highlighting brackets in UI
5842         * org-element.el (org-element-headline-parser)
5843         (org-element-inlinetask-parser): Fix docstring.
5845         * org.el (org-export-backends): Add new back-end in customize
5846         interface.
5848         * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5849         (org-beamer--format-section, org-beamer--format-frame)
5850         (org-beamer--format-block, org-beamer-headline): Apply changes to
5851         properties.
5853         * ox-html.el (org-html-headline, org-html-link, org-html-section):
5854         Apply changes to properties.
5856         * ox-icalendar.el (org-icalendar-create-uid)
5857         (org-icalendar-blocked-headline-p, org-icalendar-entry)
5858         (org-icalendar--valarm): Apply changes to properties.
5860         * ox-odt.el (org-odt-headline): Apply changes
5862         * ox-publish.el (org-publish-collect-index): Apply changes to
5863         properties.
5865         * ox-texinfo.el (org-texinfo--generate-menu-list)
5866         (org-texinfo--generate-menu-items, org-texinfo-template)
5867         (org-texinfo-headline, org-texinfo-link): Apply changes to
5868         properties.
5870         * ox.el (org-export-resolve-id-link, org-export-get-category):
5871         Apply changes to properties.
5872         (org-export-get-node-property): Update docstring.
5874         * org-element.el (org-element-headline-parser)
5875         (org-element-inlinetask-parser): Upcase properties.  This is done
5876         to avoid confusion between properties from parser (e.g. `:end')
5877         and properties from the property drawer (e.g. :END:).
5879         * ox-publish.el (org-publish-index-generate-theindex): Preserve
5880         order in file.  Fix error when two index entries were identical.
5881         Create again theindex.inc.
5883         * org-element.el (org-element-map): Allow to map over any list.
5884         Do not restrict mapping to object types.
5886         * org-faces.el (org-latex-and-related): Rename from
5887         `org-latex-and-export-specials', which wasn't appropriate anymore.
5889         * org.el (org-highlight-latex-and-related)
5890         (org-latex-and-related-regexp): New variables.
5891         (org-compute-latex-and-related-regexp, org-do-latex-and-related):
5892         New function, revived from a previous commit.
5893         (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5894         functions.
5895         (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5896         beamer back-end.
5898         * ox-publish.el (org-publish-org-to): Small refactoring.
5900         * ox.el (org-export-install-filters): Properly install filters
5901         send through ext-plist mechanism.
5903         * ox-publish.el (org-publish-org-to): Small refactoring.
5905         * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5906         ox-publish.el takes care of it already.
5908         * org-macro.el: New file.
5910         * org.el: Remove macro code.
5912         * ox.el: Require new library
5914         * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5915         when matching an headline.
5916         (org-export--dispatch-ui): Display a help message in header line
5917         for scrolling dispatcher's buffer
5918         (org-export-resolve-radio-link): Radio targets are
5919         case-insensitive.
5921         * ox-icalendar.el (org-export-icalendar): Fix docstring.
5923         * ox.el (org-export-dispatch): Fix docstring.
5924         (org-export--dispatch-action): Small improvement to line by line
5925         scrolling.
5926         (org-export-resolve-fuzzy-link): Refactor.  Whitespaces are not
5927         significant when matching a fuzzy link.
5929         * org-element.el (org-element-link-parser): Do not remove newlines
5930         characters in paths anymore, since this is not required.
5932         * ox.el (org-export--dispatch-ui): Rename from
5933         `org-export-dispatch-ui'.  Handle scrolling.
5934         (org-export--dispatch-action): Rename from
5935         `org-export-dispatch-action'.  Implement scrolling.
5936         (org-export-dispatch): Apply renaming.
5938         * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5939         but still run `org-ctrl-c-ctrl-c-final-hook'.
5940         (org-end-of-line): Remove `ignore-error'.
5942         * org-element.el (org-element-at-point): Return nil when in the
5943         first empty lines of the buffer.  Return headline when in empty
5944         lines just after the headline.
5946         * ox.el (org-export-output-file-name): Add a protection when
5947         output file name is the same as the original org.
5949         * ox-beamer.el (org-beamer-template): Add missing `class' argument
5950         for `format-string'.
5952         * ox-latex.el (org-latex-template): Add missing `class' argument
5953         for `format-string'.
5955         * ox.el (org-export-stack-mode): Fix docstring.
5957         * org-pcomplete.el (pcomplete/org-mode/file-option):
5958         Allow completion for ATTR_ prefixed keywords.
5960         * org.el (org-options-keywords): Add missing colons.
5962         * org-macs.el (org-default-options): Remove function.
5964         * org-pcomplete.el (org-command-at-point): Fix bug with some file
5965         options.
5966         (pcomplete/org-mode/file-option/x): Remove macro.
5967         (pcomplete/org-mode/file-option): Refactor code.
5968         (pcomplete/org-mode/file-option/author)
5969         (pcomplete/org-mode/file-option/date)
5970         (pcomplete/org-mode/file-option/title)
5971         (pcomplete/org-mode/file-option/tags)
5972         (pcomplete/org-mode/file-option/select_tags)
5973         (pcomplete/org-mode/file-option/priorities)
5974         (pcomplete/org-mode/file-option/language)
5975         (pcomplete/org-mode/file-option/filetags)
5976         (pcomplete/org-mode/file-option/exclude_tags)
5977         (pcomplete/org-mode/file-option/email): New functions.
5979         * ox.el (org-export--collect-headline-numbering): Remove footnote
5980         section from TOC.
5981         (org-export-collect-headlines): Do not count footnote section when
5982         numbering a headline.
5984         * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
5985         attributes in order to determine list's options.
5987         * ox-ascii.el (org-ascii-inner-template): New function.
5988         (org-ascii-template): Use new function.
5989         (org-ascii-export-as-ascii, org-ascii-export-to-ascii):
5990         Update docstring.
5992         * org-element.el (org-element-link-parser): Take into
5993         consideration links filled and indented.
5995         * org-element.el (org-element-link-parser): Remove all newline
5996         characters in path property.
5998         * ox.el (org-export-as): Call `inner-template' function, if
5999         available.
6001         * ox-html.el (org-html-inner-template): New function.
6002         (org-html-template): Move all parts that should be inserted even
6003         in a body-only export into `org-html-inner-template'.
6005         * org.el (org-forward-element, org-backward-element): When no
6006         headline is found at the same level, still move forward or
6007         backward.
6009         * org-element.el (org-element--current-element): Add a limit
6010         argument.
6011         (org-element--collect-affiliated-keywords): Fix parsing of orphaned
6012         keyword at the end of an element.
6014         * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
6015         character as `org-export-format-code-default' already makes sure
6016         the string returned will end with a single one.
6018         * ox-latex.el (org-latex-headline): When a function returns a
6019         sectioning command, only one placeholder should be required.
6021         * org-element.el (org-element-nested-p): Do not inline function.
6023         * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
6024         (org-export--generate-copy-script): Move earlier in the file.
6026         * ox-texinfo.el (org-texinfo-link): Do not transform path part of
6027         internal links.
6029         * org.el (org-org-menu): Small refactoring.
6031         * ox-beamer.el (require):
6032         * ox-icalendar.el (require):
6033         * ox-jsinfo.el (require):
6034         * ox-md.el (require): Require cl when compiling.
6036         * org.el (org-export-backends):
6037         * ox.el (org-export-dispatch): Fix docstring.
6039         * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
6041         * ox-latex.el (org-latex-special-block): Add :options attribute to
6042         special blocks to specify options.
6044         * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
6045         below LATEX_HEADER.
6047         * ox-latex.el (org-latex-format-headline-function): Fix missing
6048         parens in the docstring.
6050         * org.el (org-export-backends): Remove `:initialize' function.
6052         * org.el (org-reload): Also reload export back-ends in use.
6054         * ox-latex.el (org-latex-example-block, org-latex-src-block):
6055         Ignore element if it's empty.  This fixes error "apply: Wrong
6056         number of arguments: max, 0".
6058         * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
6059         class is invalid.
6061         * ox-latex.el (org-latex-template): Provide an error when LaTeX
6062         class is invalid.
6064         * org.el (org-modules): Remove export back-ends from the list.
6065         Update docstring.
6066         (org-export-backends): New variable.
6068         * ox.el (org-export-async-start): Make sure export framework is
6069         required in the external process.
6071         * org.el (org-format-latex-header-extra, org-export-have-math):
6072         Remove variables.
6073         (org-latex-default-packages-alist): Rename from
6074         `org-export-latex-default-packages-alist'.
6075         (org-latex-packages-alist): Rename from
6076         `org-export-latex-packages-alist'.
6077         (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
6078         org-cdlatex-math-modify): Reorder in file.
6079         (org-format-latex): Remove `org-format-latex-header-extra'.
6080         (org-create-formula-image-with-dvipng,
6081         org-create-formula-image-with-imagemagick): Apply variables renaming
6082         and removal.
6084         * org-entities.el (org-entities-user): Update docstring.
6086         * ox-latex.el (org-latex-classes, org-latex-listings):
6087         Update docstring.
6088         (org-latex-guess-inputenc): Rename from `org-latex--guess-inputenc'.
6089         (org-latex-guess-babel-language): Rename from
6090         `org-latex--guess-babel-language'.
6091         (org-latex-template): Apply renaming.
6093         * ox-beamer.el (org-beamer-template): Apply renaming.
6095         * ob-latex.el (org-babel-execute:latex): Apply variable renaming
6096         and removal.
6097         (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
6098         copying it.
6100         * org-macs.el (org-if-unprotected, org-if-unprotected-1)
6101         (org-if-unprotected-at): Remove macros.
6102         (org-re-search-forward-unprotected): Remove function.
6104         * org.el (org-format-latex):
6105         * org-list.el (org-list-struct):
6106         * org-footnote.el (org-footnote-at-reference-p):
6107         * org-capture.el (org-capture-fill-template): Remove reference to
6108         `org-protected'.
6110         * ob-exp.el (org-babel-exp-process-buffer): Rename from
6111         `org-export-blocks-preprocess'.
6113         * ox.el (org-export-execute-babel-code): Apply previous renaming.
6115         * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
6116         keywords for completion without requiring the whole export
6117         framework.
6118         (pcomplete/org-mode/file-option/options): Rewrite using new export
6119         framework.  Only complete up to the colon.
6120         (pcomplete/org-mode/file-option/x): Remove macro.
6121         (pcomplete/org-mode/file-option/title)
6122         (pcomplete/org-mode/file-option/author)
6123         (pcomplete/org-mode/file-option/email)
6124         (pcomplete/org-mode/file-option/date): Remove functions.
6125         (pcomplete/org-mode/file-option/infojs_opt): New function.
6127         * org-clock.el (org-clocktable-defaults)
6128         (org-clocktable-write-default): Avoid requiring the whole export
6129         framework just to check one variable.
6131         * org-footnote.el (org-footnote-section): Update docstring.
6132         (org-footnote-normalize): Remove all export related part from the
6133         function.
6135         * org-inlinetask.el (org-inlinetask-export)
6136         (org-inlinetask-export-templates): Remove variables.
6137         (org-inlinetask-export-handler): Remove function.
6139         * org-plot.el: Remove dependency on `org-exp' library.
6141         * org.el (org-additional-option-like-keywords): Remove variable.
6142         (org-get-export-keywords): New function.
6143         (org-options-keywords): Update default list of keywords.
6144         (org-remove-flyspell-overlays-in): Apply changes to keywords
6145         compilation.
6146         (org-highlight-latex-fragments-and-specials)
6147         (org-latex-and-specials-regexp)
6148         (org-export-html-special-string-regexps): Remove variables.
6149         (org-compute-latex-and-specials-regexp)
6150         (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
6151         Remove functions.
6152         (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
6153         removals.
6154         (org-use-sub-superscripts): Fix docstring.  Remove unused group.
6155         (org-match-sexp-depth): Make it a defconst instead of a defcustom
6156         in order to remove `org-export-translation' group completely.
6158         * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
6159         exporter.
6161         * ob-latex.el (org-babel-execute:latex): Use new exporter.
6163         * ob-org.el (org-babel-execute:org): Use new exporter.
6165         * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
6166         iCalendar export back-end.
6168         * org-table.el (org-table-export, orgtbl-export):
6169         Remove dependency on `org-exp' library.
6170         (org-table-clean-before-export): New function.
6171         (org-table-colgroup-info): New variable.
6172         (orgtbl-to-html): Use to new HTML export back-end.
6174         * org.el (org-modules): Remove modules relative to obsolete export
6175         framework and add those relative to the new one.
6176         (org-create-formula-image-with-dvipng, org-format-latex
6177         org-create-formula-image-with-imagemagick): Use new exporter.
6178         (org-indent-line): INCLUDE keywords are indented like regular
6179         keywords.
6180         (org-mode-map): Bind C-c C-e to new export dispatcher.
6181         (org-menu): Install new exporter in menu.
6183         * org-ascii.el:
6184         * org-beamer.el:
6185         * org-docbook.el:
6186         * org-exp-blocks.el:
6187         * org-exp.el:
6188         * org-freemind.el:
6189         * org-html.el:
6190         * org-icalendar.el:
6191         * org-jsinfo.el:
6192         * org-latex.el:
6193         * org-lparse.el:
6194         * org-odt.el:
6195         * org-publish.el:
6196         * org-special-blocks.el:
6197         * org-taskjuggler.el:
6198         * org-xoxo.el: Remove
6200         * ox-ascii.el:
6201         * ox-beamer.el:
6202         * ox-html.el:
6203         * ox-icalendar.el:
6204         * ox-jsinfo.el:
6205         * ox-latex.el:
6206         * ox-man.el:
6207         * ox-md.el:
6208         * ox-odt.el:
6209         * ox-publish.el:
6210         * ox-texinfo.el:
6211         * ox.el: New file.
6213         * ob-exp.el (org-export-blocks-preprocess): Do not use
6214         `indent-code-rigidly' as it doesn't indent contents of strings.
6216         * org-element.el (org-element-map): Change to function
6217         indentation.  Also complete docstring.
6219         * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
6220         Elements.
6222         * org-element.el (org-element-at-point): When point is before any
6223         element, in the first blank lines of the buffer, return nil.
6224         When point is within blank lines just after a headline, return that
6225         headline.
6226         (org-element-context): Return nil when point is within the blank at
6227         the beginning of the buffer.
6229         * org.el (org-edit-special): Fix regression.
6230         (org-timestamp-has-time-p, org-timestamp-format)
6231         (org-timestamp-split-range, org-timestamp-translate):
6232         New functions.
6234         * org-element.el (org-element-timestamp-interpreter):
6235         Interpret timestamps ranges with repeaters.
6237         * org.el (org-edit-special): Rewrite `org-edit-special' using Org
6238         Elements tools.  Behavior should be unchanged.
6240         * org-element.el (org-element-context): Add an optional argument
6241         so that (org-element-context) and (org-element-context
6242         (org-element-at-point)) are equivalent.
6244         * ob.el: Only use the :wrap argument up to the first space when
6245         creating the #+END_ directive.
6247         * org-element.el (org-element-object-variables): New variable.
6248         (org-element-parse-secondary-string): Copy some buffer-local
6249         variables to the temporary buffer created to parse the string so
6250         links can still be properly expanded.
6251         (org-element-link-parser): Link expansion and translation are applied
6252         transparently for the parser.
6254         * org-element.el (org-element-line-break-parser): Line break
6255         includes the newline character following the backslashes.
6256         (org-element-line-break-interpreter): Apply changes to line break
6257         parsing.
6259         * org.el (org-all-targets): Fix radio targets detection when
6260         object is directly followed by a non-whitespace character.
6262         * ob.el (org-babel-use-quick-and-dirty-noweb-expansion):
6263         Rename from `org-babel-use-quick-and-dirty-noweb-expansion'.
6264         (org-babel-expand-noweb-references): Use new variable name.
6266         * org-element.el (org-element-timestamp-interpreter):
6267         Fix timestamp interpreter when raw value isn't available.
6269         * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
6270         inline babel call or inline src block instead of the following
6271         object.
6273         * org-element.el (org-element-timestamp-parser): Timestamp with
6274         time range has active/inactive-range type.
6275         (org-element-block-name-alist): Do not reset
6276         `org-element-block-name-alist' at each reload.
6277         (org-element-object-restrictions): Allow timestamps in parsed
6278         keywords (i.e. DATE).
6280         * org-agenda.el (org-agenda-show-clocking-issues)
6281         (org-agenda-format-item): Silence byte compiler.
6283         * org-colview.el (org-agenda-columns): Silence byte compiler.
6285         * org.el (org-properties-postprocess-alist): Silence byte
6286         compiler.
6288         * org-element.el (org-element-timestamp-parser): Return nil for
6289         unspecified :hour-end and :minute-end properties.
6290         (org-element-object-restrictions): Add footnote references objects
6291         in table cells.
6292         (org-element-interpret-data): Clear text properties when
6293         interpreting a string .
6295         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6296         Fix docstring.
6298         * org.el (org-adaptive-fill-function): Items do not have
6299         a :post-affiliated property.  Use :begin property instead.
6301         * org-element.el (org-element-headline-parser)
6302         (org-element-inlinetask-parser): Remove :clockedp property.
6304         * org.el (org-adaptive-fill-function): All elements do not have a
6305         :post-affiliated property.
6306         (org-macro-replace-all): Signal an error when a circular macro
6307         expansion happens.
6308         (org-macro-initialize-templates): Fix docstring.
6310         * org-element.el (org-element-map): Fix docstring.
6311         (org-element-contents, org-element-set-contents)
6312         (org-element-adopt-elements): Fix accessors and setters wrt
6313         secondary strings.
6314         (org-element-headline-parser)
6315         (org-element-inlinetask-parser): Fix void-function
6316         `org-clocking-buffer' error.
6317         (org-element-context): Fix org-element-context on parsed keywords.
6318         (org-element-context): Find objects in document and parsable
6319         affiliated keywords.
6320         (org-element-center-block-parser)
6321         (org-element-drawer-parser, org-element-dynamic-block-parser)
6322         (org-element-footnote-definition-parser)
6323         (org-element-plain-list-parser)
6324         (org-element-property-drawer-parser)
6325         (org-element-quote-block-parser, org-element-special-block-parser)
6326         (org-element-babel-call-parser, org-element-comment-parser)
6327         (org-element-comment-block-parser, org-element-diary-sexp-parser)
6328         (org-element-example-block-parser)
6329         (org-element-export-block-parser, org-element-fixed-width-parser)
6330         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6331         (org-element-latex-environment-parser)
6332         (org-element-paragraph-parser, org-element-src-block-parser)
6333         (org-element-table-parser, org-element-verse-block-parser):
6334         Add `:post-affiliated' property to elements.
6335         (org-element-inlinetask-parser): Remove affilated keywords.
6337         * org.el (org-adaptive-fill-function): Use new property.
6339         * org-element.el (org-element--collect-affiliated-keywords):
6340         Allow duals keywords with only secondary value.
6341         (org-element-timestamp-parser): Modify timestamp objects
6342         properties.
6343         (org-element-headline-parser, org-element-inlinetask-parser): Remove
6344         `:timestamp' and `:clock' property.  Add `:clockedp' property.  Also,
6345         set `:closed', `:deadline' and `:scheduled' values to timestamp
6346         objects, not strings.  Small refactoring.
6347         (org-element-clock-parser): Rename `:time' property into `:duration'.
6348         Also, set `:value' value as a timestamp object, not a string.
6349         (org-element-planning-parser): Set `:closed', `:deadline' and
6350         `:scheduled' values to timestamp objects, not strings.
6351         (org-element-clock-interpreter, org-element-planning-interpreter)
6352         (org-element-timestamp-interpreter): Update interpreters.
6353         (org-element--current-element): Tiny refactoring.
6355         * ob.el (org-babel-where-is-src-block-result): Insert new results
6356         keyword in current narrowed part of buffer, if necessary.
6357         Small refactoring.
6358         (org-babel-insert-result): Do not widen buffer when new results have
6359         to be inserted.  Therefore, results inserted after the last block of
6360         a narrowed buffer still belong to the narrowed part of the buffer.
6362         * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
6364         * org-element.el (org-element-paragraph-separate): Diary-sexp
6365         elements can separate paragraphs.
6366         (org-element-all-elements): Install new `diary-sexp' type.
6367         (org-element--current-element): Recognize new `diary-sexp' elements.
6368         (org-element-diary-sexp-parser)
6369         (org-element-diary-sexp-interpreter): New functions.
6370         (org-element-horizontal-rule-parser)
6371         (org-element-keyword-parser, org-element--current-element):
6372         Small refactoring.
6373         (org-element-property): Access to text properties when argument is
6374         a string.
6375         (org-element-put-property): Correctly set property when target is
6376         a string.
6377         (org-element-adopt-elements): Also put :parent properties on
6378         strings.
6380         * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
6381         src blocks.
6382         (org-export-blocks-preprocess): Pos can sometimes be set to a
6383         value greater than start, because of indentation, and lead to a
6384         search bound error.
6385         (org-babel-exp-code): Remove comma-escaping special rule for Org
6386         blocks.
6387         (org-export-blocks-preprocess): Results of an evaluated code block
6388         can be inserted within the blank lines after the block.  Hence, if
6389         the block has to be removed, delete everything down to the first
6390         non-blank line after the end of block closing string, instead of
6391         removing everything down to the very end of the block.
6393         * org.el (org-all-targets): Make sure the regexp really matched a
6394         radio target.
6395         (org-macro-expand, org-macro-replace-all): Change signature.
6396         The function now accepts an alist of templates so it doesn't have to
6397         rely only on `org-macro-templates'.
6398         (org-macro-initialize-templates): {{{date}}} is not anymore an
6399         alias for {{{time}}}.  During export, it will provide the value
6400         stored in DATE keyword instead.
6402         * org-element.el (org-element-object-restrictions): Allow links in
6403         caption.  Also allow inline-src-blocks and inline-babel-calls.
6404         (org-element-map): Change signature.
6405         (org-element-parsed-keywords): Remove document properties from the
6406         value.
6407         (org-element-dual-keywords): Fix docstring.
6408         (org-element-document-properties): New variable
6409         (org-element-all-elements): Add `node-property' as a new element
6410         type.
6411         (org-element-greater-elements): Add property-drawer element to
6412         greater elements since they now contain node-property elements.
6413         (org-element-drawer-parser): Small refactoring.
6414         (org-element-property-drawer-parser): Move into Greater Elements
6415         file section.
6416         (org-element-node-property-parser,
6417         org-element-node-property-interpreter): New functions.
6418         (org-element--current-element, org-element-at-point)
6419         (org-element--parse-elements): Handle new element type.
6420         (org-element--collect-affiliated-keywords): Fix return value.
6421         (org-element-center-block-parser)
6422         (org-element-drawer-parser, org-element-dynamic-block-parser)
6423         (org-element-footnote-definition-parser)
6424         (org-element-plain-list-parser, org-element-quote-block-parser)
6425         (org-element-special-block-parser, org-element-babel-call-parser)
6426         (org-element-comment-parser, org-element-comment-block-parser)
6427         (org-element-example-block-parser)
6428         (org-element-export-block-parser, org-element-fixed-width-parser)
6429         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6430         (org-element-latex-environment-parser)
6431         (org-element-paragraph-parser, org-element-property-drawer-parser)
6432         (org-element-src-block-parser, org-element-table-parser)
6433         (org-element-verse-block-parser): Change signature.  Now use an
6434         additional argument: affiliated.
6435         (org-element--current-element): Skip affiliated keywords and pass
6436         them as an argument to parsers.  It prevents to walk through these
6437         keywords twice: the first time to get to the first line of the
6438         element, and a second time to collect the affiliated keywords.
6440         * ob-exp.el (org-babel-exp-non-block-elements): More accurate
6441         white space handling when evaluating inline-src-block, babel-call
6442         and inline-babel-call elements or objects.  Also removed use of
6443         `org-babel-examplize-region' since it would never be called
6444         anyway; return value from `org-babel-exp-do-export' is never nil.
6445         (org-export-blocks-preprocess): Preserve affiliated keywords when
6446         replacing a code block.
6448         * org-element.el (org-element-multiple-keywords): Allow multiple
6449         caption keywords.
6451         * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
6452         when results are before the block.
6453         (org-export-blocks-preprocess): Improve blank lines handling in
6454         function.  Add comments.  Remove `org-export-blocks-postblock-hook'
6455         since it's defined nowhere now (and doesn't need to, there's
6456         `org-export-before-parsing-hook' already).
6458         * org-exp-blocks.el: Delete.
6460         * ob-exp.el (org-export-blocks-preprocess):
6461         * ob-ditaa.el (org-ditaa-jar-path): Move from
6462         "org-export-blocks.el".
6464         * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
6465         (org-babel-exp-non-block-elements): Rewrite function using Org
6466         Element.
6468         * org-exp-blocks.el (org-export-blocks-preprocess):
6469         Rewrite function using Org Element.
6471         * org-element.el (org-element-recursive-objects)
6472         (org-element-object-restrictions): Remove `macro' from recursive
6473         object types.
6475         * org.el (org-macro-initialize-templates): Small refactoring.
6476         (org-mode): Initialize macros templates.
6477         (org-macro-templates): New variable.
6478         (org-macro-expand, org-macro-replace-all)
6479         (org-macro-initialize-templates): New functions.
6481         * org-element.el (org-element-link-type-is-file): New variable.
6482         (org-element-link-parser): Extract search option and application
6483         in "file"-type links.
6485         * org.el (org-mode): Set back comment-start-skip so comment-dwin
6486         can tell a keyword from a comment.
6488 2013-11-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6490         * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
6491         inactive timestamp also with double universal argument.
6492         (org-set-regexps-and-options): Don't set font-lock defaults here.
6493         (org-mode): Set font-lock defaults here.
6494         (org-insert-link): Call `org-link-try-special-completion' from the
6495         original buffer.
6497 2013-11-12  Oleh  <oleh.krehel@gmail.com>
6499         * org.el (org-open-at-point): The new code is being run in the
6500         same spot as `org-open-link-functions'.  In case they failed,
6501         check if link matches "^id:" and if so, load the id interface and
6502         follwo the link.
6504 2013-11-12  Rasmus  <rasmus@gmx.us>  (tiny change)
6506         * ox-latex.el (org-latex--inline-image): The pgf format is
6507         associated to an inline image and treated like tikz files.
6509 2013-11-12  Richard Lawrence  <richard.lawrence@berkeley.edu>  (tiny change)
6511         * org-agenda.el (org-cmp-ts): Avoid error when trying to
6512         `string-match' against nil.
6514 2013-11-12  Rick Frankel  <rick@rickster.com>
6516         * ox-html.el (org-html-doctype): New function.
6517         (org-html-template): Use `org-html-doctype' instead of inline
6518         code.
6519         (org-html-headline): Use the new
6520         `org-html--container' function to set container element.
6521         (org-html--container): Returns appropriate element for headline
6522         container.
6523         (org-html-divs): Extra character in doc string.
6524         (org-babel-execute:sql): Unquote cmdline argument in
6525         format string, dbish requires three separate arguments.  Add dbi
6526         to the list of engines with automatically added header separator.
6527         (org-html--build-pre/postamble): Add css class to wrapper div
6528         (defaults to `org-pre/postamble-class').  Move spec building to
6529         separate function (`org-html-format-spec').
6530         (org-html-format-spec): New function.
6531         (org-pre/postamble-class): New variable.
6532         (org-html--timestamp-format): New variable used in the metadata
6533         and the pre/postamble.
6534         (org-html-style-default): Make the preamble and postamble use the
6535         same style.  Make all anchors font-size %100.  Remove margin from
6536         the content section.
6537         (org-html-container-element): Fix docstring.
6538         (org-html-postamble-format, org-html-preamble-format):
6539         Update docstrings.
6540         (org-html-template): Use `org-html--build-pre/postamble'.
6541         (org-html--build-pre/postamble): New function, combining the
6542         pre/postamble generator.  Merge lists of formatters from the
6543         preamble and postamble.  Fix bug, using :time-stamp-file instead
6544         of :with-date for auto display of date: this brings usage in-line
6545         with the latex and beamer exporter.
6546         (org-html--build-postamble, org-html--build-postamble): Delete.
6547         (define-backend): Add :html-doctype and :html-container
6548         parameters.
6549         (org-html-doctype): New option for doctype declaration.
6550         (org-html-container-elemnt): New option for specifying the wrapper
6551         container element.
6552         (org-html-divs): Change to alist of three entries each containing
6553         a key ('preamble, 'content, 'postamble), an HTML element type and
6554         an id to allow setting container elements.
6555         (org-html--build-preamble, org-html--build-postamble): Modify to
6556         use `org-html-divs'.
6557         (org-html-template): Modify to use doctype and container-element
6558         settings.
6559         (org-export-define-backend): Add css url option.
6560         (org-export-htmlized-org-css-url): Modify docstring and options.
6561         (org-html--build-style): Include css-url if specified.
6563 2013-11-12  Roberto Huelga Díaz  <rhuelga@gmail.com>  (tiny change)
6565         * org-timer.el (org-timer-set-timer): Use the variable
6566         `org-clock-sound' when calling `org-notify'.
6568 2013-11-12  Ryo TAKAISHI  <ryo.takaishi.0@gmail.com>
6570         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6571         New function.
6572         (org-capture-expand-embedded-elisp): Use the new function.
6574         * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
6575         name collid `org-babel-map-src-blocks' variable 'lang'.
6577         * org-protocol.el (org-protocol-convert-query-to-plist):
6578         New function.
6579         (org-protocol-do-capture): Use new function.
6580         (org-protocol-data-separator): Change default separator.
6582 2013-11-12  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
6584         * org-table.el (orgtbl-format-line): Fix bug when formatting line.
6586 2013-11-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6588         * ox-latex.el (org-latex-listings): Don't quote const value.
6590         * ob-C.el (org-babel-C-var-to-C): Add list support
6591         (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
6592         (org-babel-C-format-val): New functions.
6593         (org-babel-C-ensure-main-wrap, org-babel-execute:C)
6594         (org-babel-execute:C++, rg-babel-execute:cpp)
6595         (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
6597         * org-entities.el (org-entities): Add support for hbar.
6599 2013-11-12  Sacha Chua  <sacha@sachachua.com>  (tiny change)
6601         * org.el (org-read-date-get-relative): Handle positive and
6602         negative weekday specifications so that they don't return today.
6603         If today is Friday, "fri" should mean next Friday.  This changes
6604         the previous behavior, which required you to specify "+2fri" in
6605         order to mean next Friday if today was Friday.  If you want to
6606         schedule something for today, you can use ".".
6608 2013-11-12  Samuel Loury  <konubinix@gmail.com>  (tiny change)
6610         * org.el (org-open-at-point): Open a plain link even if the cursor
6611         is before it, which is consistent with the behavior with respect
6612         to bracket and angle links.
6614 2013-11-12  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
6616         * ob.el (org-babel-expand-noweb-references): Capture current noweb
6617         start and end patterns then use them to set buffer locals in a
6618         (with-temp-buffer ...) form.
6620 2013-11-12  Sebastien Vauban  <xxx@public.gmane.org>
6622         * ox-latex.el (org-latex-listings-langs): Update custom variable.
6624         * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6625         of header arguments.
6627         * org-clock.el (org-clock-goto-before-context): New option.
6628         (org-clock-goto): Use the new option.
6629         (org-clocktable-write-default): Insert the summary as a standard
6630         #+CAPTION keyword for the (clock) table.
6632 2013-11-12  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
6634         * org-agenda.el (org-agenda-prefix-format): Small docstring
6635         enhancement.
6637 2013-11-12  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
6639         * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6640         prefix and leave `temporary-file-directory' unchanged.
6642 2013-11-12  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
6644         * org.el (org-speed-commands-default): Change default binding for
6645         org-mark-subtree from "." to "@" to be more consistent with "C-c
6646         @".
6648 2013-11-12  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6650         * org-datetree.el (org-datetree-find-year-create): Also match
6651         headlines with tags.
6653 2013-11-12  Toby S. Cubitt  <tsc25@cantab.net>
6655         * org.el (org-time-clocksum-format)
6656         (org-time-clocksum-fractional-format): In addition to a single
6657         format string, the clocksum formats can now be plists specifying
6658         separate formats for different time units.
6659         (org-minutes-to-clocksum-string): New function to replace
6660         `org-minutes-to-hh:mm-string', which converts a number of minutes
6661         to a string according to the customization options.
6663         * org-colview.el (org-columns-number-to-string): Use the new
6664         `org-minutes-to-clocksum-string' function to format clocksum
6665         durations.
6667         * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6668         function when formatting time durations, instead of calling
6669         `org-minutes-to-hh:mm-string' or passing
6670         `org-time-clocksum-format' directly to format.
6672 2013-11-12  Tokuya Kameshima  <kametoku@gmail.com>
6674         * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6675         (org-mew-subject-alist, org-mew-capture-inbox-folders)
6676         (org-mew-capture-guess-alist): New options.
6677         (org-mew-store-link, org-mew-open): Rewrite.
6678         (org-mew-folder-name, org-mew-follow-link)
6679         (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6680         (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6681         (org-mew-capture-guess-selection-keys): New functions.
6683 2013-11-12  Trevor Murphy  <trevor.m.murphy@gmail.com>
6685         * org.el (org-get-compact-tod): Always pad minutes to two places.
6687 2013-11-12  Viktor Rosenfeld  <listuser36@gmail.com>  (tiny change)
6689         * org.el (org-agenda-prepare-buffers): Add tags defined in
6690         `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6692 2013-11-12  Vitalie Spinu  <spinuvit@gmail.com>
6694         * ob-tangle.el (org-babel-find-file-noselect-refresh):
6695         Call `find-file-noselect' with 'nowarn argument to surpress
6696         `yes-or-no-p' reversion message.
6698         * ob-core.el (org-babel-where-is-src-block-head):
6699         Return `point-marker' instead of `point'.
6701 2013-11-12  Yann Hodique  <yann.hodique@gmail.com>
6703         * org-publish.el (org-publish-org-to-taskjuggler): New function to
6704         publish taskjuggler projects.
6706 2013-11-12  Yasushi Shoji  <yashi@atmark-techno.com>
6708         * org-clock.el (org-clock-x11idle-program-name): New option.
6709         (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6711 2013-11-12  Yoshinari Nomura  <nom@quickhack.net>
6713         * ox-html.el (org-html--has-caption-p): New function.
6714         (org-html-link--inline-image, org-html-table): Prepend ordinal
6715         number to caption.
6716         (org-html-link): Make numbered link by counting captioned figures
6717         and tables.
6719         * ox.el (org-export-dictionary): Add Japanese translations for
6720         figures and tables.  Add "Figure %d:" entry in the same manner
6721         with "Table %d:".
6723 2013-11-12  Nicolas Richard  <nrichard@ulb.ac.be>
6725         * ob.el (org-babel-edit-distance): When insertion or deletion are
6726         needed, make sure the distance is incremented.  In addition, the
6727         now obsolete mmin function was removed.
6729 2013-11-12  Oleh Krehel  <wave@mail.ua>
6731         * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6732         if result is not a string and not nil.  If the result is nil,
6733         treat it as if it was the empty string.
6735         * org-clock.el (org-clock-notify-once-if-expired):
6736         Honor `org-clock-sound'.
6738 2013-11-12  Rasmus Pank  <rasmus.pank@gmail.com>
6740         * org.el (org-format-latex-header): Remove eucal and amsmath.
6741         (org-latex-default-packages-alist): Remove amstext and add
6742         amsmath.
6744         * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6746         * org.el (org-latex-default-packages-alist): Remove latexsym.
6748         * org-entities.el (org-entities): Add support for ell, imath,
6749         jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6750         dag, ddag, colon, therefore, because, triangleq, leq, geq,
6751         lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6752         succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6753         diamond.  Changes loz, vert, checkmark, smile and tilde.
6755         * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6756         after loading C.
6758         * org-src.el (org-src-lang-modes): Add association between
6759         language C++ and `c++-mode'.
6761         * ox.el (org-export-smart-quotes-alist): Add ("da" "no" "nb"
6762         "nn" "sv").
6763         (org-export-dictionary): Add some entries ("da" "no" "nb" "nn"
6764         "sv").
6765         (org-export-default-language): Mention other variables affected by
6766         language.
6768         * ox-latex.el (org-latex-babel-language-alist): Add 'nb', 'nn',
6769         and 'no' for Norwegian.  Removed 'no-no'.
6770         (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6771         and change the wording of the docstring.
6772         (org-latex-guess-babel-language): Replace AUTO with language if
6773         AUTO is the option of the LaTeX package Babel.
6774         (org-latex-classes): Update documentation with respect
6775         to `org-latex-guess-babel-language'.
6777 2013-11-12  Дядов Васил Стоянов  <vdyadov@elvees.com>  (tiny change)
6779         * org-docview.el (org-docview-export): New function to export
6780         docview links.
6782 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6784         * org-agenda.el (org-agenda-mode):
6785         * org-indent.el (org-indent-mode): Use the `local' arg of
6786         add-hook/remove-hook.
6788 2013-03-08  Bastien Guerry  <bzg@gnu.org>
6790         * org-exp.el (org-export-normalize-links): Fix critical bug: do
6791         not rely on `org-context' to guess where to prevent links
6792         normalization.
6794 2013-02-28  Achim Gratz  <Stromeko@Stromeko.DE>
6796         * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6797         org-reload uncompiled in the menu.
6799 2013-02-28  Bastien Guerry  <bzg@gnu.org>
6801         * org-indent.el (org-indent-add-properties): Bugfix: prevent
6802         negative value for `added-ind-per-lvl'.
6804         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6805         `isearch-mode-end-hook' so that any isearch fixes the problem with
6806         ellipsis on the first line.
6807         (org-fix-ellipsis-at-bol): New defsubst.
6808         (org-show-context, org-isearch-end): Use it.
6810         * org.el (org-show-context): Remove useless catch.
6811         Make sure the top of the window is a visible headline.
6812         (org-activate-plain-links): Remove unused catch.
6814         * org-macs.el (org-get-alist-option): Return nil, not (nil),
6815         so that `org-show-context' DTRT.
6817         * org.el (org-imenu-get-tree): Fix bug when matching against empty
6818         headlines.
6820         * org.el (org-overview): Stay on current line.
6821         (org-map-entries): Fix docstring.
6822         (org-at-clock-log-p): Delete.
6823         * org-clock.el (org-at-clock-log-p): Move here.
6825         * org.el (org-tsr-regexp-both): Don't activate dates in links.
6826         (org-activate-dates): Change match boundaries according to the new
6827         value of `org-tsr-regexp-both'.
6829         * org-agenda.el (org-agenda-to-appt): Fix typos.
6831         * org-agenda.el (org-agenda-local-vars): Don't include
6832         `org-agenda-show-window' as it needs to be checked outside of the
6833         agenda window.
6835         * org.el (org-set-tags-command): Fix bug when setting tags for
6836         multiple headlines in an active region.
6838         * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6839         in an invisible region.
6841         * org.el (org-insert-heading-respect-content): Add docstring.
6842         New `invisible-ok' parameter.
6843         (org-insert-todo-heading-respect-content): Add docstring.
6845         * ob-tangle.el (org-babel-tangle-collect-blocks):
6846         Bugfix: remove code references from blocks.
6848         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6849         Cosmetic changes.
6850         (org-agenda-show-new-time): Fix bug when displaying a temporary
6851         overlay with the scheduled/deadline information.
6853         * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6854         (org-setup-filling): Use it to prevent breaking a timestamp when
6855         filling a paragraph.
6857         * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6859 2013-02-28  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6861         * org-datetree.el (org-datetree-find-year-create):
6862         Match headlines with tags.
6864 2013-02-07  Bastien Guerry  <bzg@gnu.org>
6866         * org-agenda.el (org-agenda-get-deadlines)
6867         (org-agenda-get-scheduled): Fix bug: use text properties for the
6868         headline text since we rely on properties to get e.g. the effort.
6870         * org-exp.el (org-export-normalize-links): Don't match links
6871         within tags.
6873         * org-html.el (org-export-html-preamble-format)
6874         (org-export-html-postamble-format): Mention that
6875         org-export-html-preamble/postamble need to be `t' in order for
6876         these variables to have any effect.
6878         * org-html.el (org-html-handle-links): When the link description
6879         is an image and the attribute is "width", pass the attribute to
6880         the <img ...> tag.
6882         * org.el (org-mode): Always honor `org-startup-indented', even
6883         when `org-inhibit-startup' is non-nil.
6885         * org-indent.el (org-indent-mode): Don't check
6886         `org-inhibit-startup'.
6888         * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6889         text properties outside of the buffer.
6891         * org.el (org-agenda-inhibit-startup): Rename from
6892         `org-agenda-inhibit-startup-visibility-cycling'.
6893         (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6894         `org-agenda-inhibit-startup'.
6896         * org.el (org-mode): Don't initialize `org-beamer-mode' when
6897         `org-inhibit-startup' is non-nil.
6899         * org-footnote.el (org-footnote-create-definition): Prevent
6900         `electric-indent-mode' from inserting the definition at the wrong
6901         place.
6903         * org-agenda.el (org-agenda-no-heading-message): Delete.
6904         (org-agenda-get-timestamps, org-agenda-get-progress)
6905         (org-agenda-get-deadlines, org-agenda-get-scheduled)
6906         (org-agenda-get-blocks): Don't use
6907         `org-agenda-no-heading-message', skip the entry.
6909         * org.el (org-agenda-inhibit-startup-visibility-cycling):
6910         New option.
6911         (org-agenda-prepare-buffers): Use it to speed up the agenda
6912         generation.
6914         * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6915         commented scheduled/deadline lines.
6917         * org-clock.el (org-clock-in): Fix bug when fetching the effort
6918         value.
6920         * ob-python.el (org-babel-python-command): Fix docstring.
6921         (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6922         from Emacs >24.1 requires a python command as an argument.
6924         * org-element.el (org-element-at-point): Fix typo in docstring.
6926         * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6927         `org-agenda-show-inherited-tags'.
6929         * org-agenda.el (org-agenda-skip): Correctly handle commented out
6930         scheduled/deadline lines.  Refactor.
6932         * org-install.el: Do not warn users.
6934         * org.el (org-adaptive-fill-function): In message-mode, don't
6935         lines in the message header, nor table lines in the body.
6936         Correctly fill lines starting with `org-outline-regexp' in the
6937         body.
6939         * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6940         links.
6942 2013-02-07  Francesco Pizzolante  <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>  (tiny change)
6944         * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6946         * org-macs.el (org-unmodified): Inhibit modification hooks.
6948 2013-02-07  John K. Luebs  <jkluebs@luebsphoto.com>  (tiny change)
6950         * org.el (org-get-wdays): Handle matching a lead time specified in
6951         hours.
6953 2013-02-07  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
6955         * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6956         only when it exists.
6958 2013-02-07  Nicolas Goaziou  <n.goaziou@gmail.com>
6960         * org-element.el (org-element-macro-parser): Fix error when last
6961         argument ends with a protected comma.
6963         * org-element.el (org-element-parse-buffer, org-element-map)
6964         (org-element-at-point, org-element-context): Be more verbose in
6965         docstrings.  Also fix typos.
6967         * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6968         resetted because of a non-nil ORDERED property value, make sure it
6969         had a checkbox already.
6971 2013-02-07  Tokuya Kameshima  <kametoku@gmail.com>  (tiny change)
6973         * org-agenda.el (org-search-view): Fix checking
6974         `org-agenda-show-inherited-tags'.
6976 2013-02-07  racin  <racin@free.fr>  (tiny change)
6978         * org-bibtex.el (org-bibtex-search): Don't throw an error when
6979         `org-bibtex-prefix' is nil.
6981 2013-01-13  Bastien Guerry  <bzg@gnu.org>
6983         * org-compat.el (org-condition-case-unless-debug): Delete.
6985         * org-odt.el (org-odt-cleanup-xml-buffers):
6986         Use `condition-case' instead of `org-condition-case-unless-debug',
6987         which is now deleted.
6989         * org-capture.el (org-capture-templates-contexts):
6990         * org-agenda.el (org-agenda-custom-commands-contexts):
6991         Docstring fix.
6993         * org.el (org-get-tags-at): Remove duplicate inherited tags.
6995         * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
6996         to 'always or to a list of agenda types.
6997         (org-agenda-finalize): Rework conditions under which inherited
6998         tags should be made available even when not displayed.
6999         (org-search-view, org-agenda-get-todos)
7000         (org-agenda-get-timestamps, org-agenda-get-sexps)
7001         (org-agenda-get-progress, org-agenda-get-scheduled)
7002         (org-agenda-get-blocks): Use new possible values of
7003         `org-agenda-show-inherited-tags'.
7005         * org.el (org-open-at-point): Fix opening all links at point.
7007         * org-agenda.el (org-get-entries-from-diary): Turn off
7008         `diary-file-name-prefix' instead of
7009         `diary-file-name-prefix-function', the former is checked before
7010         the latter.
7012         * org.el (org-edit-special): Check for table.el before checking
7013         for Org tables.
7015 2013-01-13  Michael Albinus  <michael.albinus@gmx.de>
7017         * ob-eval.el (org-babel-shell-command-on-region):
7018         Use `executable-find' for local `shell-file-name'.
7020 2013-01-09  Achim Gratz  <Stromeko@Stromeko.de>
7022         * org-faces.el: Define face alias mode-line for XEmacs (it's
7023         called modeline there).
7025         * org-compat.el (org-no-popups): New wrapper macro which let-binds
7026         the correct variables to suppress popup windows depending on the
7027         Emacs version in use.  This is a compile-time decision when
7028         byte-compiling.
7030         * org.el (org-get-location, org-switch-to-buffer-other-window):
7031         Use the wrapper `org-no-popups' to let-bind the correct variables
7032         for suppression of popup windows.
7034         * org-compat.el (user-error): Defalias to `error' for Emacsen that
7035         don't have it.
7037         * org-agenda.el (org-agenda-write): Use org-called-interactively-p
7038         instead of called-interactively-p.
7040         * org.el (org-find-invisible-foreground): Do not use the value of
7041         variables `default-frame-alist', `initial-frame-alist' and
7042         `window-system-default-frame-alist' when their symbol is not bound.
7044 2013-01-09  Bastien Guerry  <bzg@gnu.org>
7046         * org-src.el (org-edit-src-code): Fix bug when trying to edit a
7047         table.el table.
7049         * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
7050         whole function.
7052         * org.el (org-entry-get): Speed up by let-binding some variables
7053         only if needed.  Also fix a bug: consider an empty drawer as no drawer.
7055         * org-agenda.el (org-search-view, org-agenda-get-todos)
7056         (org-agenda-get-timestamps, org-agenda-get-sexps)
7057         (org-agenda-get-progress, org-agenda-get-deadlines)
7058         (org-agenda-get-scheduled, org-agenda-get-blocks)
7059         (org-agenda-change-all-lines): Get local tags only.
7060         (org-agenda-use-tag-inheritance): New option.
7061         (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
7062         is non-nil, possibly reset tags in the agenda buffer.
7063         (org-agenda-check-type): Enhance docstring.
7065         * org.el (org-use-tag-inheritance): Fix typo in docstring.
7067         * org-agenda.el (org-float): Don't alias `org-float'.
7069         * org.el (org-scan-tags): The skipper already checks for archived
7070         entries.
7072         * org.el (org-refresh-properties): Rename from
7073         `org-refresh-effort-properties' and use two new parameters.
7074         (org-agenda-prepare-buffers): Use `org-refresh-properties'.
7075         Also refresh the 'org-appt-warntime text property.
7077         * org-clock.el (org-clock-in): Use the renamed defun.
7079         * org-icalendar.el (org-icalendar-print-entries):
7080         Refresh the 'org-appt-warntime property.
7081         (org-icalendar-print-entries):
7082         * org-agenda.el (org-agenda-get-timestamps)
7083         (org-agenda-get-sexps, org-agenda-get-deadlines)
7084         (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
7085         "APPT_WARNTIME" property value.
7087         * org.el (org-id-link-to-org-use-id): Fix compiler warning.
7089         * org-agenda.el (org-agenda-format-item): Do not use
7090         `org-get-effort' to get the effort text property.
7091         (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
7093         * org-clock.el (org-clock-in): Refresh effort properties.
7095         * org.el (org-refresh-effort-properties): New defun.
7096         (org-get-effort): Delete.
7097         (org-set-effort):
7098         (org-property-next-allowed-value): Set the 'org-effort text property.
7099         (org-agenda-prepare-buffers): Refresh effort properties.
7101         * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
7102         nil so that the mouse doesn't jump when the option is set to t globally.
7104         * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
7105         (org-agenda-dim-blocked-tasks): Make interactive and allow an
7106         optional parameter 'invisible to hide blocked tasks instead of
7107         just dimming them.
7108         (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
7110         * org-agenda.el (org-agenda-finalize): Don't try to align tags
7111         when there are no tags.  Only try to draw the habit consistency
7112         graph when there is a habit in the buffer.  Only mark clocking
7113         task when there is one.
7115         * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
7117         * org.el (org-get-priority): Save match data even when using
7118         `org-get-priority-function'.
7120         * org-mobile.el (org-mobile-create-index-file):
7121         Possibly normalize `org-todo-keywords'.
7123         * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
7125         * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
7126         of the obsolete variable name.
7128         * org.el (org-fontify-meta-lines-and-blocks-1):
7129         Fix bug when fontifying keywords with no value.
7131         * org.el (org-goto-auto-isearch): Enhance docstring.
7132         (org-goto-map): Make a defun, so that the customized value of
7133         org-goto-auto-isearch is correctly initialized.
7134         (org-goto): Initialize the keymap with `org-goto-map'.
7135         (org-get-location): Use *Org Help* as a temporary buffer.
7136         Tell whether auto-isearch is on or off.
7138         * org-exp.el (org-export-as-org): Remove useless argument.
7140         * org-docbook.el (org-export-as-docbook-batch)
7141         (org-export-region-as-docbook, org-export-as-docbook-pdf):
7142         Fix the number of arguments.
7143         (org-export-as-docbook): Remove useless argument.
7145         * org.el (org-speed-commands-default): Use ":" instead of ";" for
7146         `org-set-tags-command', which is consistent with ":" in agenda
7147         view.  Use "=" for `org-columns".
7149         * org.el (org-sparse-tree): Fix redundant information in prompt.
7151         * org-exp.el (org-export-string): Fix number of arguments passed
7152         to the org-export-as-* functions.
7154         * org-latex.el (org-export-as-latex): Fix typo in docstring.
7156         * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
7158         * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
7159         bug when fontifying a keyword with no associated value.
7160         (org-cycle-internal-local): Don't run hooks when cycling a plain
7161         list before first headline.
7162         (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
7163         blocked checkbox.
7164         (org-indent-line): Fix table formulas indenting.
7166         * org-agenda.el (org-agenda-open-link): Fix bug when no link is
7167         matched.  Return a message instead of an error.
7168         (org-agenda-priority): Remove useless parameter and fix showing
7169         priority in agenda buffers.
7171         * org-macs.el (org-with-buffer-modified-unmodified): New macro.
7173         * org.el (org-entry-blocked-p): Use the new macro.
7175         * org-src.el (org-edit-src-exit): Don't comma-escape the content
7176         of a fixed width region.
7178         * org.el (org-blocker-hook): Update the docstring to mention that
7179         functions in this hook should not modify the buffer.
7180         (org-trigger-hook): Small docstring fix.
7181         (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
7182         so that the function never modifies the buffer.
7184         * org-agenda.el (org-agenda-open-link): Allow to open an internal
7185         link by using the new `org-offer-links-in-entry' function.
7187         * org.el (org-offer-links-in-entry): Do not open the link directly
7188         through `org-open-link-from-string', only offer to select a link
7189         and return a cons with the link (as a string) and the end of entry.
7190         (org-open-at-point): Use `org-offer-links-in-entry' correctly.
7192         * org.el (org-cycle-internal-local):
7193         Fix bug: allow headings with leading blank characters.
7195         * org-clock.el (org-clock-persist):
7196         Docstring fix: document the 'history value.
7198         * org.el (org-insert-link): Fix bug when inserting links to
7199         headlines containing the ">" character.
7201         * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
7203         * org-compat.el (org-delete-directory): New compatibility function
7204         for Emacs 22, where `delete-directory' does not support recursive
7205         deletion.
7207         * org-odt.el (org-odt-cleanup-xml-buffers):
7208         Use the new compatibility function.
7210         * org.el (org-table-map-tables): Fix allowed blocks.
7212         * org.el (org-edit-special):
7213         * org-src.el (org-edit-src-code): Fix regression: allow editing
7214         HTML and LaTeX source blocks again.
7216         * org.el (org-nonsticky-props): Add `htmlize-link'.
7217         (org-nonsticky-props): Add `htmlize-link'.
7219         * org.el (org-edit-special):
7220         * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
7222         * org-table.el (org-table-fedit-lisp-indent)
7223         (orgtbl-self-insert-command): Use `org-delete-backward-char'
7224         instead of `backward-delete-char'.
7226         * org-src.el (org-edit-src-code): Fix another bug about editing
7227         special blocks "example" and "verbatim".
7229         * org.el (org-structure-template-alist): Add verbatim.
7230         (org-edit-special): Fix bug about editing special blocks
7231         "example" and "verbatim".
7233         * org.el (org-delete-backward-char, org-delete-char):
7234         Save match data, `delete-backward-char' and `delete-char' don't.
7236         * org.el (org-enable-table-editor, org-insert-heading)
7237         (org-remove-timestamp-with-keyword, org-self-insert-command):
7238         * org-table.el (org-table-fedit-lisp-indent)
7239         (orgtbl-self-insert-command):
7240         * org-latex.el (org-export-latex-subcontent):
7241         * org-clock.el (org-clocktable-write-default):
7242         * org-ascii.el (org-export-ascii-preprocess):
7243         Use `delete-backward-char' instead of `backward-delete-char'.
7245         * org.el (org-todo): Ignore the comment string when changing the
7246         TODO state of a headline.
7247         (org-edit-special): Fix docstring.
7248         (org-in-src-block-p): Small enhancement.
7250         * org-publish.el (org-publish-org-to): Call `org-export-as-*'
7251         functions with the correct list of arguments.
7253         * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
7254         (org-export-as-html-and-open, org-export-as-html-batch)
7255         (org-export-region-as-html): Don't use obsolete arg.
7257         * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
7258         (org-export-as-ascii-to-buffer): Don't use obsolete arg.
7260         * org.el (org-in-fixed-width-region-p): Save match data.
7261         (org-in-src-block-p): Use case-folding for searching the block
7262         boundaries.
7263         (org-activate-plain-links, org-activate-angle-links)
7264         (org-activate-bracket-links): Prevent link activation in
7265         source code blocks.
7267         * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
7268         setting the correct buffer before marking it unmodified to
7269         silently kill him.
7271         * org.el (org-set-font-lock-defaults): Don't activate links in
7272         source code blocks and fixed-width regions.
7274         * org-agenda.el (org-agenda-finalize): Fix links activation.
7276         * org.el (org-open-at-point): Throw the correct error on
7277         non-links.  Use `user-error' instead of `error'.
7279         * org.el (org-in-fixed-width-region-p): Define before use.
7281         * org-src.el (org-in-src-block-p): Declare function.
7283         * org-compat.el: Fix bug: don't use `eval-when-compile' when
7284         aliasing `user-error'.
7286         * org-agenda.el (org-agenda-skip): Only check if point is
7287         inside a code block, not at a code block.
7289         * org.el (org-in-fixed-width-region-p):
7290         Rewrite using org-element.el.
7292         * org.el (org-fill-paragraph): Fill correctly in source code block.
7294         * org.el (org-in-fixed-width-region-p): New function.
7295         (org-edit-special): Fix bug: make sure to DTRT in every
7296         special environment.  Also use the new function to check
7297         against fixed-width environment.
7299         * org-src.el (org-edit-src-code): Check if we are in a source code
7300         block with `org-in-src-block-p'.  Slightly reformat the docstring.
7302         * org.el (org-in-src-block-p): Return t when point is at the
7303         #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
7304         'inside is set to t.
7306         * ob-exp.el (obe-marker): Delete useless var.
7308         * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
7309         (copy-marker nil) on Emacs <24.1.
7311 2013-01-09  Dmitry Antipov  <dmantipov@yandex.ru>
7313         * org-agenda.el (org-agenda-get-restriction-and-command):
7314         * org-capture.el (org-capture-place-template):
7315         * org-colview.el (org-dblock-write:columnview):
7316         * org-mobile.el (org-mobile-locate-entry):
7317         * org-table.el (org-table-convert-region):
7318         * org.el (org-update-statistics-cookies): Use `point-marker'.
7320 2013-01-09  Eric Schulte  <eric.schulte@gmx.com>
7322         * org-exp.el (org-export-string): Pass the dir option on through
7323         to any subsequent export functions.
7325 2013-01-09  Henning Weiss  <hdweiss@gmail.com>  (tiny change)
7327         * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
7328         description from block agendas when they have a title.
7330 2013-01-09  Jambunathan K  <kjambunathan@gmail.com>
7332         * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
7333         Fix Emacs Bug#13254.
7335         * org-odt.el (org-odt-format-org-link): Add check for presence of
7336         description in headline links.
7338 2013-01-09  Michael Gauland  <mike_gauland@stanfordalumni.org>  (tiny change)
7340         * org-src.el: Create a marker to pass to copy-marker.
7342 2013-01-09  Nicolas Goaziou  <n.goaziou@gmail.com>
7344         * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
7345         nil because `org-adaptive-fill-function' already determines which
7346         lines should be filled.
7348         * org.el (org-fill-paragraph): Small refactoring.
7350         * org-element.el (org-element--parse-elements)
7351         (org-element-at-point): Fix parsing of a list in a block in a list.
7353 2013-01-09  Sebastien Vauban  <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
7355         * org.el (org-copy-subtree, org-paste-subtree):
7356         Fix whitespace handling when copying/pasting a subtree.
7358 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
7360         * ob.el (org-babel-temp-file): Fix setting of
7361         `temporary-file-directory' on remote hosts.
7363         * ob-eval.el (org-babel-shell-command-on-region):
7364         Use `process-file' instead of `call-process-region'.  The latter one
7365         does not work on remote hosts.
7367 2012-12-13  Bastien Guerry  <bzg@gnu.org>
7369         * org-latex.el (org-export-latex-links): Escape raw path when
7370         exporting links to files.
7372         * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
7373         S-TAB key should not trigger a native TAB command.
7375         * org.el (org-open-at-point): Allow to open any link within
7376         footnotes definition, not only bracket links.
7378         * org.el (org-sort-entries): Bugfix: keep track of the clock
7379         marker when sorting entries.  Enhance the docstring.
7381         * org-clock.el (org-clock-out): Use `user-error' when the user
7382         tries to clock out while there is no running clock.
7384         * org-table.el (org-table-sort-lines): Ensure coordinates are
7385         correctly displayed when sorting.
7387         * org.el (org-do-sort): Enhance prompt.
7389         * org-agenda.el (org-agenda-finalize): Also activate plain links.
7391         * org-timer.el (org-timer-stop): Add message.
7393         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
7394         Fix redundant messages.
7396         * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
7398         * org.el (org-additional-option-like-keywords): Add "INDEX:".
7400         * org-install.el: Enhance warning.
7402 2012-12-13  Erik Hetzner  <egh@e6h.org>  (tiny change)
7404         * org.el (org-log-into-drawer): Honor the nil value for the
7405         :LOG_INTO_DRAWER: property.
7407 2012-12-13  Le Wang  <l26wang@gmail.com>  (tiny change)
7409         * org-src.el (org-edit-src-exit): Fix editing source section with
7410         blank lines.
7412 2012-12-13  Le Wang  <le.wang@agworld.com.au>
7414         * org-src.el (org-edit-src-code): Use marker with insertion type
7415         t to track end and remove hack requiring delete from beg to (1- end).
7417 2012-12-13  Nicolas Goaziou  <n.goaziou@gmail.com>
7419         * org-element.el (org-element-context): When point is between two
7420         objects, be sure to return the second one.
7422         * org-list.el (org-list-separating-blank-lines-number):
7423         When computing number of blank lines separating items, also count those
7424         in unparsed blocks, like example blocks.
7426         * org.el (org-end-of-line): When visual line mode is on, really
7427         move by visual lines.  Small refactoring.
7429         * org.el (org-end-of-line): On a hidden block make sure to
7430         delegate motion to `end-of-line' instead of `move-end-of-line' in
7431         order to stay on the current line.
7433 2012-12-13  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
7435         * org-bibtex.el: In the documentation section of the file, fix the
7436         broken URL to Andrew Roberts' document on BibTeX entries.
7438         * org-remember.el (org-remember-handler): Correctly strip the
7439         comment lines in the temporary buffer *Remember* when handling a
7440         remember note.
7442         * org-remember.el (org-remember-apply-template): Start the
7443         commented lines in the Remember temporary buffer with the
7444         appropriate characters.
7446 2012-12-13  Toby S. Cubitt  <tsc25@cantab.net>
7448         * org.el (org-beginning-of-line): Check `visual-line-mode' instead
7449         of `line-visual-mode' to determine whether to move by visual lines.
7451         * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
7453 2012-12-04  Chong Yidong  <cyd@gnu.org>
7455         * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
7456         longlines-mode.
7458 2012-10-26  Achim Gratz  <stromeko@stromeko.de>
7460         * ob-ditaa.el: Needs to (require 'org-compat) for
7461         org-find-library-dir.
7463         * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
7464         work when loaded from compressed files.
7466         * org-compat.el: Make sure that file-name-directory is getting a
7467         stringp.  This avoids a possible " (wrong-type-argument stringp
7468         nil)" error when the library in question does not exist.
7470         * org-odt.el: Replace arc-mode.el by arc-mode.
7472         * org.el: Replace org-macs.el by org-macs.
7474         * org-install.el: Provide an empty file that prints a warning
7475         about an outdated configuration.
7477 2012-10-26  Bastien Guerry  <bzg@gnu.org>
7479         * org-latex.el (org-export-as-latex): Remove obsolete argument
7480         `hidden'.  Also fix the docstring: using 'string as the value
7481         for `to-buffer' outputs a string with no LaTeX header.
7482         (org-export-as-latex-batch)
7483         (org-export-as-latex-to-buffer, org-export-region-as-latex)
7484         (org-export-as-pdf): Don't use the obsoleted argument.
7486         * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
7487         argument `hidden'.
7489         * org.el (org-refile): Run within `with-demoted-errors' so that a
7490         corrupted bookmark file does not stop the refile process.
7492         * org-capture.el (org-capture-bookmark-last-stored-position):
7493         Ditto for the capture process.
7495         * org-src.el (org-edit-src-exit): Fix bug when saving an empty
7496         source buffer.
7498         * org-lparse.el (org-lparse): Fix bug by returning the output
7499         of `org-do-lparse'.
7501         * org.el (org-refile-check-position): Throw an error when the
7502         refile target is the current buffer and is not a file.
7503         (org-agenda-file-to-front, org-remove-file): Throw an error
7504         when the current buffer is not a file.
7505         (org-check-agenda-file): Enhance the message.
7506         (org-element-type): Autoload.
7507         (org-element-context, org-element-paragraph-parser):
7508         Don't declare as these two functions are not used in org.el.
7510         * org-lparse.el (browse-url-file-url): Declare.
7512         * org.el (org-refile-check-position): Fix typo in docstring.
7514         * org-clock.el (org-clock-modeline-total): Make obsolete.
7515         (org-clock-mode-line-total): Rename from
7516         `org-clock-modeline-total'.
7517         (org-clock-get-sum-start): Fix references to
7518         `org-clock-modeline-total'.
7520         * org-faces.el (org-agenda-filter-tags)
7521         (org-agenda-filter-category, mode-line): Use the 'mode-line
7522         face instead of the obsolete 'modeline.
7524         * org-odt.el (org-odt-styles-dir): Try more directories.
7525         Don't throw an error, just send a message.
7527         * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
7528         (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
7529         (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
7530         correct directories without requiring other variables.
7532         * org-loaddefs.el: New file.
7534         * org.el ("org-loaddefs.el"): Don't throw an error if the file
7535         cannot be fund.
7536         (org-version): Use org-loaddefs.el instead of org-install.el.
7538         * org.el: Don't dynamically autoload already autoloaded
7539         functions.
7540         (org-clock-update-time-maybe): Move to org-clock.el.
7542         * org-exp.el (org-insert-export-options-template):
7543         Remove autoload cookie.
7545         * org-clock.el (org-resolve-clocks, org-clock-in)
7546         (org-clock-out, org-clock-cancel, org-clock-goto)
7547         (org-clock-sum, org-clock-display, org-clock-report)
7548         (org-dblock-write:clocktable): Add autoload cookie.
7549         (org-clock-update-time-maybe): Move from org.el.
7551         * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
7553         * org-ascii.el (org-export-ascii-preprocess): Ditto.
7555         * org-archive.el (org-archive-subtree)
7556         (org-archive-to-archive-sibling, org-toggle-archive-tag):
7557         Add autoload cookie.
7559         * org-colview.el (org-columns, org-dblock-write:columnview)
7560         (org-insert-columns-dblock, org-agenda-columns): Ditto.
7562         * org-table.el (org-table-create-with-table.el)
7563         (org-table-create-or-convert-from-region, org-table-create)
7564         (org-table-convert-region, org-table-import)
7565         (org-table-export, org-table-align)
7566         (org-table-justify-field-maybe, org-table-next-field)
7567         (org-table-previous-field, org-table-next-row)
7568         (org-table-copy-down, org-table-field-info)
7569         (org-table-current-dline, org-table-goto-column)
7570         (org-table-insert-column, org-table-delete-column)
7571         (org-table-move-column-right, org-table-move-column-left)
7572         (org-table-move-column, org-table-move-row-down)
7573         (org-table-move-row-up, org-table-move-row)
7574         (org-table-insert-row, org-table-insert-hline)
7575         (org-table-hline-and-move, org-table-kill-row)
7576         (org-table-sort-lines, org-table-cut-region)
7577         (org-table-copy-region, org-table-paste-rectangle)
7578         (org-table-convert, org-table-wrap-region)
7579         (org-table-edit-field, org-table-sum)
7580         (org-table-get-stored-formulas)
7581         (org-table-maybe-eval-formula)
7582         (org-table-rotate-recalc-marks)
7583         (org-table-maybe-recalculate-line, org-table-eval-formula)
7584         (org-table-recalculate, org-table-iterate)
7585         (org-table-edit-formulas)
7586         (org-table-toggle-coordinate-overlays)
7587         (org-table-toggle-formula-debugger, orgtbl-to-generic)
7588         (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
7589         (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
7591         * org.el (turn-on-orgtbl): Move here from org-table.el.
7592         (org-clock-persistence-insinuate): Move here from org-clock.el.
7593         (org-update-all-dblocks, org-map-entries)
7594         (org-require-autoloaded-modules, org-forward-element)
7595         (org-backward-element, org-up-element)
7596         (org-element-greater-elements, org-drag-element-backward)
7597         (org-drag-element-forward, org-mark-element)
7598         (org-narrow-to-element, org-transpose-element)
7599         (org-unindent-buffer): Don't autoload.
7601         * org-clock.el (org-clock-get-clocktable): Rename from
7602         `org-get-clocktable'.
7603         (org-clock-persistence-insinuate): Move to org.el.
7605         * org-capture.el: Do no set `generated-autoload-file' locally.
7606         Minor code clean up.
7608         * org-agenda.el (org-agenda-list):
7609         Use `org-clock-get-clocktable'.  Do no set
7610         `generated-autoload-file' locally.
7612         * org-table.el (org-table-iterate-buffer-tables):
7613         Minor reformatting.
7614         (turn-on-orgtbl): Move to org.el.
7616         * org-html.el (org-export-htmlize-generate-css): Don't autoload.
7618         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7619         Ditto.
7621         * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
7623         * ob-lob.el (org-babel-lob-ingest): Ditto.
7625         * org-id.el (org-id-copy)
7626         (org-id-get-with-outline-path-completion)
7627         (org-id-get-with-outline-drilling): Ditto.
7629         * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7630         (org-lparse-to-buffer, org-replace-region-by)
7631         (org-lparse-region): Ditto.
7633         * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7635         * org.el (org-cycle): Fix misplaced autoload cookie.
7637         * org-agenda.el (org-agenda-get-timestamps): Check if the item
7638         is an habit when formatting it with `org-agenda-format-item'.
7639         (org-agenda-get-blocks): Fix bug: don't assume the item is an
7640         habit when formatting with `org-agenda-format-item'.
7642         * org.el (org-calendar-agenda-action-key): Delete an option.
7643         (org-mode-map): Delete its keybinding.
7644         (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7645         Delete.
7647         * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7648         being used outside of Org agendas, as it can be used in
7649         calendar buffers too.
7651 2012-10-26  Caio Tiago Oliveira  <asrail@gmail.com>  (tiny change)
7653         * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7654         block enclosing the submitted code.
7656 2012-10-26  Myles English  <mylesenglish@gmail.com>  (tiny change)
7658         * org-clock.el (org-clock-in): Move the call to
7659         org-clock-in-prepare-hook until the task's properties
7660         can be accessed.
7662 2012-10-26  Nicolas Goaziou  <n.goaziou@gmail.com>
7664         * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7665         mode is nil when pre-computed `fill-prefix' is the empty string.
7666         Otherwise filling functions from fill.el think it has to be computed
7667         again and overwrite it.
7669         * org.el: Make `org-closest-date' aware of hours repeaters.
7671         * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7672         moving to the end of line.  Also improve behavior on elements that
7673         can be hidden.
7675         * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7676         with an argument.
7678         * org-element.el (org-element--get-next-object-candidates):
7679         Fix parsing of objects of the same type in a single paragraph.
7681         * org-element.el (org-element-sub/superscript-successor):
7682         Fix parsing of sub/superscript at beginning of item.
7683         (org-element-latex-or-entity-successor): Fix parsing of latex
7684         fragments at beginning of item.
7686         * org-agenda.el (org-agenda-later): Fix function when span is
7687         a number and an argument was provided.  Also fix typo in docstring.
7689         * org.el (org-read-date-analyze): Fix analyzing for dates like
7690         "29.03 16:40".
7692         * org-element.el (org-element-center-block-parser)
7693         (org-element-drawer-parser, org-element-footnote-definition-parser)
7694         (org-element-inlinetask-parser, org-element-plain-list-parser)
7695         (org-element-quote-block-parser, org-element-special-block-parser)
7696         (org-element-babel-call-parser, org-element-clock-parser)
7697         (org-element-comment-parser, org-element-comment-block-parser)
7698         (org-element-example-block-parser, org-element-export-block-parser)
7699         (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7700         (org-element-keyword-parser, org-element-latex-environment-parser)
7701         (org-element-paragraph-parser, org-element-planning-parser)
7702         (org-element-property-drawer-parser, org-element-src-block-parser)
7703         (org-element-table-parser)
7704         (org-element-verse-block-parserorg-element-dynamic-block-parser):
7705         Make sure element never ends at the end of a blank non-empty line.
7707         * org-element.el (org-element-context)
7708         (org-element--get-next-object-candidates): Fix `org-element-context'.
7709         In particular, the restrictions for an object may be different from
7710         those of its container (i.e. table rows and table cells).
7712         * org-element.el (org-element-example-block-parser)
7713         (org-element-src-block-parser): Store value of example-blocks and
7714         src-blocks unescaped.
7715         (org-element-example-block-interpreter)
7716         (org-element-src-block-interpreter): Escape value again when storing
7717         it.
7719         * org-src.el (org-escape-code-in-string)
7720         (org-unescape-code-in-string, org-escape-code-in-region)
7721         (org-unescape-code-in-region): New functions.
7722         (org-edit-src-code, org-edit-src-exit): Use new functions.
7724         * org.el (org-strip-protective-commas): Remove function.
7726         * org-exp.el (org-export-select-backend-specific-text): Use new
7727         function.
7729         * ob.el (org-babel-parse-src-block-match)
7730         (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7731         Always escape produced blocks, independently on the language of the
7732         block, if any.  Use new functions.
7734         * org-element.el (org-element-paragraph-parser): Fix regexp
7735         starting a block.
7737         * org-element.el (org-element-center-block-parser):
7738         (org-element-drawer-parser, org-element-dynamic-block-parser)
7739         (org-element-example-block-parser, org-element-export-block-parser)
7740         (org-element-latex-environment-parser, org-element-paragraph-parser)
7741         (org-element-property-drawer-parser, org-element-src-block-parser)
7742         (org-element-verse-block-parser): Use stricter regexps for boundaries
7743         of elements.
7745 2012-10-26  Toby S. Cubitt  <tsc25@cantab.net>
7747         * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7748         beginning of re-search-forward loop, otherwise next iteration picks up
7749         `extra' value from previous entry.
7751 2012-09-30  Abdó Roig-Maranges  <abdo.roig@gmail.com>
7753         * org-html.el (org-export-html-preprocess)
7754         (org-export-html-format-image):
7755         Use `org-latex-preview-ltxpng-directory'.
7757         * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7758         Ditto.
7760         * org.el (org-latex-preview-ltxpng-directory): New option.
7761         (org-preview-latex-fragment): Store LaTeX preview images in
7762         `org-latex-preview-ltxpng-directory'.
7764 2012-09-30  Achim Gratz  <Stromeko@Stromeko.DE>
7766         * ob-R.el (org-babel-R-initiate-session): Protect against use of
7767         unbound variable `ess-ask-for-ess-directory´.  The default for this
7768         variable is true, so act accordingly if it is found unbound.
7770         * ob-R.el: Remove initialization with `nil´ from
7771         `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7772         Remove second declaration for `ess-local-process-name´.
7774         * org-gnus.el: Add a missing require for gnus-util.
7776         * org-compat.el: Rename utils to make throughout.
7778         * org.el: Move check for outline-mode-keymap after (require
7779         'outline).
7781         * org-element.el: New file.  Do not (require 'org).
7783         * org-agenda.el: Remove duplicate requires.
7785         * org.el (org-mode-map): Add keybindings to
7786         `org-element-transpose' and `org-narrow-to-element'.
7787         (org-metaup): Fall back on `org-element-drag-backward'.
7788         (org-metadown): Fall back on `org-element-drag-forward'.
7789         Also move chunks of declarations and require statements to get rid of
7790         compiler warnings.
7792         * org-exp-blocks.el (org): Don't require org.  Add declarations.
7794         * org-clock.el (org): Don't require org.
7796         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7798         * ob.el (org-babel-exeext): New defconst to hold extension for
7799         executables or nil if none.  Should be ".exe" for both Windows and
7800         Cygwin.
7802         * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7803         constructing the target file name for the compiled executable.
7805         * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7806         when constructing the target file name for the compiled
7807         executable.
7809         * org-version.el: New file.
7811         * org-compat.el (org-check-version): New macro.  Check if
7812         org-version.el exists and provide autoloads to that.  Otherwise
7813         check if org-fixup.el exists and use it to provide definitions.
7814         Finally if nothing worked, complain about a botched installation
7815         and provide fallback definitions.
7817         * org.el: Use org-check-version.
7819         * org.el: Fix a subtle error resulting in version functions
7820         sometimes not being defined and byte-compiling failing.
7821         Always compile in fallback definitions into org.elc -- org-fixup either
7822         provides re-definitions at compile-time or checks org-version.el
7823         and then the git work tree when run uncompiled.  So the fallback
7824         definitions will only come into effect when org-fixup is not
7825         available.
7827         * org.el (org-version): Make org-version more robust, e.g. when
7828         byte-compiling single files with 'make compile-dirty'.
7830         * org.el (org-reload): Revert an undesirable change in org-reload.
7831         Do not prepend org-dir to babel-files, which prevents the files
7832         from being found in load-path.
7834         * org.el (org-version): Add optional parameters 'full and 'message
7835         to optionally return the full version string and echo to message
7836         area in non-interactive calls.
7838         * org.el (org-submit-bug-report): Add optional parameter 'full to
7839         call of (org-version) so that the bug report has all version
7840         information.
7842         * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7843         exist anymore).  Keep org-*.el at the end of the files list.
7844         Explicitly load org-version.el (since it doesn't provide feature
7845         'org-version) at the very end, but ignore errors when it doesn't
7846         exist.  Add parameters 'full and 'message to the call of
7847         (org-version) so that after reload the full version information is
7848         displayed in the message area again.
7850         * org-agenda.el: Replace with-no-warnings with org-no-warnings
7851         (defined in org-macs.el).
7853         * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7854         (defined in org-macs.el).
7856         * org-clock.el: Replace with-no-warnings with org-no-warnings
7857         (defined in org-macs.el).
7859         * org.el: Replace with-no-warnings with org-no-warnings (defined
7860         in org-macs.el).
7862         * org.el: Add with-not-warnings around call of (org-fixup).
7864         * org-compat.el (org-find-library-dir):
7865         Rename org-find-library-name (misleading) and implement with a function
7866         that exists identically in Emacs/XEmacs.
7868         * org-exp-blocks.el: Change calls to org-find-library-dir.
7870         * org.el: change calls to org-find-library-dir.  Make require for
7871         noutline fail silently because it is missing from XEmacs.
7873         * org.el (org-version): Use functions instead of global variables
7874         to get the version strings and remove the defvaralias to
7875         org-version.  Warn when encountering a mixed installation (org and
7876         org-install.el should be found in the same directory).
7878         * org.el: Add with-no-warning to defvar for two unprefixed global
7879         variables from calendar.el (there's nothing else we can do inside
7880         org until it is fixed in calendar.el).
7882         * org.el: Require find-func and remove declare-function for
7883         find-library-name, otherwise autoloaded org-version doesn't show
7884         all info correctly.
7886         * org.el (org-version): Show the full path to org-install.el in
7887         the version string to avoid confusion if multiple installations
7888         exist or a previously loaded org-install.el has already defined a
7889         version string that is now out of date.
7891         * org.el (org-version): Remove determination of version
7892         information, show "N/A" if the information is not provided via
7893         org-install.el.
7895         * org.el (org-git-version): Placeholder for recording the Git
7896         version of org during install
7898         * org.el (org-version): Initialize local git-version with
7899         placeholder and fall through using it when org is not installed in
7900         a Git repository
7902 2012-09-30  Adam Spiers  <orgmode@adamspiers.org>  (tiny change)
7904         * org-html.el: Add hyperlink to http://orgmode.org/ from export
7905         footer.
7907         * org-clock.el (org-clock-modify-effort-estimate): Display a
7908         message when no clock is currently active.
7910 2012-09-30  Andrew Hyatt  <ahyatt@gmail.com>  (tiny change)
7912         * org-archive.el (org-archive-subtree): Allow archiving to a
7913         datetree.
7915         * org.el (org-archive-location): Ditto.
7917 2012-09-30  Bastien Guerry  <bzg@gnu.org>
7919         * ob-io.el: New file.
7921         * ob-scala.el: New file.
7923         * org.el (org-url-hexify-p, org-doi-server-url)
7924         (org-latex-preview-ltxpng-directory, org-custom-properties)
7925         (org-sparse-tree-default-date-type): Add :version "24.3".
7927         * org-agenda.el (org-agenda-sticky)
7928         (org-agenda-custom-commands-contexts): Ditto.
7930         * org-capture.el (org-capture-bookmark)
7931         (org-capture-templates-contexts) (org-capture-use-agenda-date):
7932         Ditto.
7934         * org-latex.el (org-export-latex-hyperref-options-format)
7935         (org-export-latex-link-with-unknown-path-format): Ditto.
7937         * org-id.el (org-id-link-to-org-use-id): Ditto.
7939         * org-datetree.el (org-datetree-add-timestamp): Ditto.
7941         * org.el (org-make-link-description-function): Enhance docstring.
7942         (org-insert-link): Fall back on interactive prompt when
7943         `org-make-link-description-function' fails.
7945         * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7946         `org-agenda-sticky' is non-nil.
7948         * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7949         (org-agenda-pre-follow-window-conf): New variable.
7950         (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7951         window when there an indirect buffer is already displayed.
7953         * org-agenda.el (org-agenda-manipulate-query)
7954         (org-agenda-goto-date, org-agenda-goto-today)
7955         (org-agenda-find-same-or-today-or-agenda, )
7956         (org-agenda-later, org-agenda-change-time-span)
7957         (org-agenda-change-all-lines)
7958         (org-agenda-execute-calendar-command)
7959         (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7960         get a property from (1- (point-max)), not (point-max)).
7962         * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7963         no :file parameter.
7965         * org-table.el (org-table-eval-formula): Convert time-stamps to
7966         inactive time-stamp so that Calc can handle them correctly.
7968         * org-table.el (org-table-fix-formulas): Warn with a message when
7969         formulas have been updated.
7971         * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7972         base-dir argument and use (file-name-directory file) to get the
7973         file's directory.
7974         (org-publish-update-timestamp)
7975         (org-publish-cache-file-needs-publishing):
7976         Call `org-publish-cache-ctime-of-src' with only one argument.
7978         * org.el (org-follow-timestamp-link): Fix bug when using sticky
7979         agenda.  Add a docstring.
7981         * org-agenda.el (org-agenda-sticky): Don't use a function to set.
7982         Add a :version string.
7984         * org.el (org-priority): Use a new argument to show priority
7985         instead of setting it.
7986         (org-show-priority): New function to show priority both in normal
7987         Org buffers and in Org Agenda buffers.
7988         (org-speed-commands-default): Use "," as a speed command for
7989         setting priority.
7991         * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
7992         to `C-c ,' as it was before.
7993         (org-agenda-show-priority): Delete.
7994         (org-agenda-priority): Use a new argument to show priority instead
7995         of setting it.
7997         * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
7998         docstring.
7999         (org-display-inline-remove-overlay): Rename from
8000         `org-display-inline-modification-hook'.
8001         (org-speed-command-activate): Rename from
8002         `org-speed-command-default-hook'.
8003         (org-babel-speed-command-hook): Rename from
8004         `org-babel-speed-command-activate'.
8006         * org-agenda.el (org-agenda-update-agenda-type): Rename from
8007         `org-agenda-post-command-hook'.
8008         (org-agenda-mode): Use the new name.
8009         (org-agenda-post-command-hook): Define as obsolete function.
8011         * org-lparse.el (org-lparse): Temporarily activate the hooks
8012         needed for the ODT conversion.
8013         (org-lparse-preprocess-after-blockquote): Rename from
8014         `org-lparse-preprocess-after-blockquote-hook'.
8015         (org-lparse-strip-experimental-blocks-maybe): Rename from
8016         `org-lparse-strip-experimental-blocks-maybe'.
8017         (org-lparse-preprocess-after-blockquote-hook)
8018         (org-lparse-strip-experimental-blocks-maybe-hook): Define as
8019         obsolete functions.
8021         * ob.el (org-babel-insert-result): Comma-escape results inserted
8022         with ":results org".
8024         * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
8025         saving the source editing window with the default value for
8026         `org-src-window-setup' (i.e. 'reorganize-frame).
8028         * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
8029         fontify the last character.
8031         * org.el (org-open-at-point): Don't follow timestamp within
8032         bracket links.
8034         * org-capture.el (org-capture-templates): Fix typo in docstring.
8036         * org-agenda.el (org-agenda-skip): Skip information retrieved from
8037         a source block.
8039         * ob.el (org-babel-common-header-args-w-values)
8040         (org-babel-insert-result): Reintroduce ":results org" but using
8041         "#+BEGIN_SRC org", not "#+BEGIN_ORG".
8043         * ob.el (org-babel-common-header-args-w-values): Remove "org" the
8044         list of predefined values for the ":results" parameter.
8046         * ob.el (org-babel-insert-result): Remove support for ":results
8047         org".
8049         * ob.el (org-babel-common-header-args-w-values)
8050         (org-babel-insert-result): Deprecate ":results wrap" in favor of
8051         ":results drawer".
8053         * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
8054         happens before the first headline.
8056         * org-capture.el (org-at-encrypted-entry-p)
8057         (org-encrypt-entry, org-decrypt-entry): Declare.
8058         (org-capture-set-target-location): Check whether `org-crypt' has
8059         been loaded.
8061         * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
8062         docstring.
8064         * org-capture.el (org-capture-finalize): Maybe re-encrypt the
8065         target headline if it was decrypted.
8066         (org-capture-set-target-location): Maybe decrypt the target
8067         headline.
8069         * org-crypt.el (org-at-encrypted-entry-p): New function.
8071         * org.el (org-options-keywords): Add "STYLE:".
8073         * org-agenda.el (org-agenda-ndays): Don't make an alias, as
8074         `org-agenda-span' is defined separately.
8076         * org.el (org-in-subtree-not-table-p): New utility function for
8077         building the menu.
8078         (org-org-menu): Add an item for refiling.  Check more contexts
8079         when activating items.
8080         (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
8082         * org-agenda.el (org-agenda-tree-to-indirect-buffer)
8083         (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
8085         * org-capture.el (org-capture-set-target-location): Set a correct
8086         time value when storing a note in a datetree and prompting the
8087         user for a date.
8089         * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
8090         hook twice.
8092         * org-agenda.el (org-agenda-menu-two-column)
8093         (org-finalize-agenda-hook, org-agenda-ndays):
8094         Use `define-obsolete-variable-alias' instead of
8095         `make-obsolete-variable'.
8097         * org.el (org-link-to-org-use-id): Move to org-id.el.
8099         * org-id.el (org-id-link-to-org-use-id): Rename from
8100         `org-link-to-org-use-id'.  Use `nil' as the default value.
8101         (org-link-to-org-use-id): Alias and define as obsolete.
8103         * org-agenda.el (org-search-view, org-agenda-get-todos)
8104         (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
8105         parameter of `org-agenda-format-item' so that 'time-up and
8106         'time-down agenda sorting strategies are handled correctly.
8108         * org-capture.el (org-capture-fill-template): Fix checking of
8109         protected template entries.
8111         * org.el (org-cycle-global-at-bob): Fix typo in docstring.
8113         * org.el (org-insert-drawer): Deactivate the mark before trying to
8114         indent the :END: of the drawer.
8116         * org-agenda.el (org-agenda-export-html-style): Default to nil as
8117         any string value will replace the htmlize style.
8119         * org.el (org-cycle-hook): Fix tiny typo in docstring.
8121         * org.el (org-time-string-to-time)
8122         (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
8124         * org-freemind.el (org-freemind-write-node): Enhance links
8125         conversion in nodes.
8127         * org-freemind.el (org-freemind-write-node): Convert links in
8128         nodes.
8130         * org.el (org-link-to-org-use-id, org-directory)
8131         (org-default-notes-file, org-reverse-note-order)
8132         (org-extend-today-until, org-finish-function)
8133         (org-store-link-functions): Use "capture" instead of "remember" in
8134         docstrings.  Also use the `org-capture' group when it makes sense.
8136         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
8137         correct agenda buffer.  Don't split the agenda window when the
8138         indirect buffer is displayed in another frame.
8140         * org.el (org-mode): Try to set the org-hide face correctly.
8142         * org-exp.el (org-export): Set the mark correctly when exporting a
8143         subtree.
8145         * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
8146         display of the number of commands for block agendas.
8148         * org-agenda.el (org-agenda-before-write-hook)
8149         (org-agenda-add-entry-text-maxlines): Enhance phrasing.
8150         (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
8151         buffer is writable when the hook is called.
8152         (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
8153         the buffer.
8155         * org-agenda.el (org-habit-show-all-today): Only use defvar to
8156         silent the byte-compiler.
8157         (org-agenda-get-scheduled): Check whether some org-habit.el
8158         options have been defined.
8160         * org-capture.el (org-capture-entry): New variable.
8161         (org-capture-string, org-capture): Use it to possibly skip the
8162         interactive prompt for a capture template.
8164         * org.el (org-activate-plain-links): Don't try to check if we are
8165         in a bracket link already.
8167         * org.el (org-read-date-analyze): Fix bug introduced in commit
8168         cc5f9f: adding a time should not prevent relative answers to be
8169         parsed correctly.
8171         * org-agenda.el (org-agenda-bulk-action): Always read the date
8172         through `org-read-date'.  When possible, use the date at point as
8173         the default date.
8175         * org-agenda.el (org-agenda-bulk-action): Fix bug when
8176         bulk-shifting timestamps.
8178         * org.el (org-version): New constant.
8180         * org-compat.el (org-random): New compatibility function.
8182         * org-id.el (org-id-uuid): Use it.
8184         * org-capture.el (org-capture-use-agenda-date): New option.
8185         (org-capture): Use it.
8187         * org-agenda.el (org-agenda-capture): New command.
8188         (org-agenda-mode-map): Bind it to `k'.
8189         (org-agenda-menu): Add it to the menu.
8191         * org-capture.el (org-capture): Update docstring.
8193         * org-capture.el (org-capture): When called from an agenda buffer,
8194         use the cursor date at the default date.
8196         * org-agenda.el (org-agenda-bulk-action): Use the let-bound
8197         `entries' instead the variable.
8199         * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
8200         persistent marks too early.
8202         * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
8203         point to reset the scheduled or deadline cookie.  On date headers,
8204         use it without prompting the user.  On an item, use the item's
8205         date as the default prompt for `org-read-date'.
8207         * org.el (org-read-date): Docstring fix.
8209         * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
8210         in the message.
8212         * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
8213         (org-agenda-mode-map): Delete related keys.
8215         * org-agenda.el (org-agenda-menu): Fix a keybinding.
8217         * org-colview.el (org-columns-goto-top-level): Correctly move the
8218         marker `org-columns-top-level-marker'.
8219         (org-agenda-columns): Don't set
8220         `org-agenda-overriding-columns-format' as a buffer variable, as we
8221         only need it dynamically.
8222         (org-agenda-colview-summarize): Fix a bug in returning the match
8223         string.
8225         * org-agenda.el (org-agenda-span-to-ndays): Make the second
8226         argument `starting-day' optional.
8227         (org-agenda-goto-date): Keep parameters of custom agendas.
8229         * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
8230         name through a temporary variable.
8231         (org-agenda-buffer-tmp-name): New variable to temporary store the
8232         agenda buffer name.
8234         * org-agenda.el (org-agenda-goto-date): Fix behavior when using
8235         sticky agendas.
8237         * org-agenda.el (org-diary): Don't check whether there is an
8238         agenda buffer when trying to compile the prefix format.
8239         (org-compile-prefix-format): Check if there is an agenda buffer.
8240         If not, use the current buffer.
8242         * org-agenda.el (org-agenda-get-day-entries): Set the agenda
8243         buffer inconditionnally.
8245         * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
8246         more general regexp.
8248         * ob.el (org-babel-where-is-src-block-head): Find a src block head
8249         correctly when #+header(s) is before #+name.
8251         * org-agenda.el (org-agenda-finalize-hook)
8252         (org-agenda-finalize, org-agenda-finalize-entries): Rename from
8253         org-finalize-agenda-*.
8254         (org-agenda-run-series, org-agenda-finalize, org-timeline)
8255         (org-agenda-list, org-search-view, org-todo-list)
8256         (org-tags-view, org-diary, org-agenda-finalize-entries)
8257         (org-agenda-change-all-lines): Use the new names.
8259         * org-agenda.el (org-agenda-local-vars):
8260         Remove ̀org-agenda-last-arguments' from the list of local variables.
8261         (org-agenda-mode-map): `g' does the same than `r' in buffers with
8262         only one agenda view, but its behavior differs when there are
8263         several views.  In manually appended agendas (with `A'), `g'
8264         displays only the agenda under the point.  With multiple agenda
8265         blocks, `g' reinitializes the view by discarding any temporary
8266         changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
8267         changes for the agenda view under the point.
8268         (org-agenda-run-series, org-agenda-redo): Implement the above
8269         changes.
8270         (org-agenda-mark-header-line): Don't set useless properties.
8271         (org-agenda-list, org-todo-only, org-search-view)
8272         (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
8273         (org-agenda-manipulate-query, org-agenda-goto-today)
8274         (org-agenda-later, org-agenda-change-time-span): Use text
8275         properties for storing the last command and the last arguments for
8276         each agenda block.
8277         (org-unhighlight-once): Delete.
8279         * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
8280         buffer.
8282         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
8283         check whether we are in org-agenda-mode.
8285         * org-agenda.el (org-agenda-pre-window-conf): Rename from
8286         `org-pre-agenda-window-conf'.
8287         (org-agenda-local-vars, org-agenda-prepare-window)
8288         (org-agenda-Quit, org-agenda-quit): Use the new name.
8290         * org-agenda.el (org-keys, org-match): New variable, dynamically
8291         scoped in `org-agenda'.
8292         (org-agenda, org-agenda-list, org-search-view, org-todo-list)
8293         (org-tags-view): Use the new variables.
8294         (org-batch-store-agenda-views): Let-bind `match'.
8296         * org-agenda.el (org-search-view, org-todo-list)
8297         (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
8298         these functions programmatically.  Also use the sticky agenda
8299         function correctly.
8301         * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
8302         correctly with sticky agendas and non-custom commands.
8304         * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
8305         `org-fit-agenda-window'.
8306         (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
8307         (org-search-view, org-todo-list, org-tags-view): Use the new name.
8309         * org-agenda.el (org-agenda-prepare): Let `throw' display an
8310         error.
8312         * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
8313         when called from programs as (org-agenda-list).
8315         * org-agenda.el (org-todo-list): Make arg optional.
8317         * org.el (org-agenda-prepare-buffers): Rename from
8318         `org-prepare-agenda-buffers'.
8319         (org-match-sparse-tree, org-map-entries): Use the new names.
8321         * org-agenda.el (org-agenda-prepare-window): Rename from
8322         `org-prepare-agenda-window'.
8323         (org-agenda-prepare): Rename from `org-prepare-agenda'.
8324         (org-agenda-run-series, org-agenda-prepare, org-timeline)
8325         (org-agenda-list, org-search-view, org-todo-list)
8326         (org-tags-view, org-agenda-list-stuck-projects, org-diary)
8327         (org-agenda-to-appt): Use the new names.
8329         * org-mobile.el (org-mobile-create-index-file): Ditto.
8331         * org-icalendar.el (org-export-icalendar): Ditto.
8333         * org-clock.el (org-dblock-write:clocktable)
8334         (org-dblock-write:clocktable): Ditto.
8336         * org-agenda.el (org-agenda): In sticky agendas, use the current
8337         command's match to set the buffer name.  This gives more
8338         information to the user and allows to distinguish various agendas
8339         triggered by the same key.
8340         (org-batch-store-agenda-views): Handle the new sticky agenda
8341         buffer name.
8343         * org-agenda.el (org-agenda)
8344         (org-agenda-get-restriction-and-command): Use `S' as a key for
8345         searching words in TODO-only entries.
8347         * org-agenda.el (org-prepare-agenda): Fit agenda window when
8348         displaying a sticky agenda.
8350         * org-table.el (org-table-number-regexp): Allow the user to set it
8351         to a new regexp, which allows commas as decimal mark.  The default
8352         is to not use this setting, but the one before commit 7ff8c1,
8353         which has ben reverted.
8355         * org-agenda.el (org-agenda-overriding-cmd)
8356         (org-agenda-multi-current-cmd)
8357         (org-agenda-multi-overriding-arguments): New variables.
8358         (org-agenda-run-series): `org-agenda-overriding-arguments'
8359         defaults to the last agenda block arguments, so don't use it
8360         globally.
8361         (org-agenda-mark-header-line): Add properties needed so that
8362         `org-agenda-overriding-arguments', `org-agenda-current-span' and
8363         `org-agenda-last-arguments' can be set to their correct contextual
8364         value.
8365         (org-agenda-multi-back-to-pos): New variable.
8366         (org-agenda-later): Retrieve `org-agenda-current-span' and
8367         `org-agenda-overriding-arguments' from text properties.
8368         Also handle numeric span.
8369         (org-agenda-later, org-agenda-change-time-span):
8370         Set `org-agenda-overriding-cmd' so that we to take overriding
8371         arguments into account for this command only.
8373         * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
8374         Fix bug when called with a non-nil value of `org-agenda-stick'.
8376         * org-agenda.el (org-agenda-refile): Fix bug when refiling an
8377         entry from a sticky agenda.
8379         * org-agenda.el (org-prepare-agenda-window):
8380         Use `org-pre-agenda-window-conf' if already set.
8381         (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
8382         quitting.
8383         (org-agenda-quit): Ditto.
8385         * org-capture.el (org-capture-fill-template): Protect the text
8386         used for replacement from being further replaced.
8388         * org.el (org-contextualize-validate-key): Fix the check against a
8389         function.
8391         * org.el (org-contextualize-keys): Rename from
8392         `org-contextualize-agenda-or-capture'.  Fix normalization to
8393         handle empty key replacement string.
8394         (org-contextualize-validate-key): Rename from
8395         `org-contexts-validate'.  Allow checking against a custom
8396         function.
8398         * org-agenda.el (org-agenda-custom-commands-contexts): Update.
8399         (org-agenda): Use `org-contextualize-keys'.
8401         * org-capture.el (org-capture-templates-contexts): Ditto.
8403         * org.el (org-contextualize-agenda-or-capture):
8404         Normalize contexts.
8406         * org.el (org-contextualize-agenda-or-capture): Handle key
8407         replacement depending on the contexts.
8409         * org-capture.el (org-capture-templates-contexts): Allow to use
8410         the context as a way to replace one capture template by another
8411         one.
8413         * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
8414         use the context as a way to replace one agenda custom command by
8415         another one.
8417         * org.el (org-contextualize-agenda-or-capture)
8418         (org-rule-validate): New functions, implement context filtering
8419         for agenda commands and capture templates.
8421         * org-agenda.el (org-agenda-custom-commands-contexts): New option.
8422         (org-agenda): Use it.
8424         * org-capture.el (org-capture-templates-contexts): New option.
8425         (org-capture-select-template): Use it.
8427         * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
8428         (org-mode): Set `beginning-of-defun-function' and
8429         `end-of-defun-function' directly.
8431         * org.el (org-insert-link): Fix bug: include links abbreviations
8432         when completing.
8434         * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
8435         `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
8436         items should not be ignored.
8438         * org.el (org-ds-keyword-length, org-make-tags-matcher):
8439         Docstring clean-up.
8441         * org-freemind.el (org-freemind-convert-links-from-org): Replace
8442         literally to prevent errors when replacing with string containing
8443         backslashes.
8445         * org-pcomplete.el (org-thing-at-point): Allow to match (and then
8446         complete) a "thing" containing dashes.
8448         * org-table.el (org-table-toggle-coordinate-overlays):
8449         Better message when interactively toggling.
8451         * org-table.el (org-table-number-regexp): Update the docstring to
8452         show an example of a decimal number using the comma as a
8453         separation mark.
8455         * org-agenda.el (org-prepare-agenda): Minor code clean-up.
8456         (org-agenda-filter-by-category): Filtering must be turned off only
8457         when a category filter has been set and this filter is not empty.
8459         * org-agenda.el (org-search-view, org-agenda-get-todos)
8460         (org-agenda-get-timestamps, org-agenda-get-sexps)
8461         (org-agenda-get-progress, org-agenda-get-deadlines)
8462         (org-agenda-get-scheduled, org-agenda-get-blocks):
8463         Use `category-pos' instead of `org-category-pos'.
8465         * ob-fortran.el (org-babel-fortran-transform-list): Rename from
8466         `ob-fortran-transform-list'.
8467         (org-babel-fortran-var-to-fortran): Use the new function's name.
8469         * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
8470         `ob-calc-maybe-resolve-var'.
8471         (org-babel-execute:calc): Use the new function's name.
8473         * org-jsinfo.el (org-infojs-template): Add a license.
8474         (org-infojs-handle-options): Replace all template elements.
8476         * org-html.el (org-export-html-scripts): Add a license.
8477         (org-export-html-mathjax-config): Replace all template elements.
8478         (org-export-html-mathjax-template): Add a license.
8479         (org-export-as-html): Minor code clean-up.
8481         * org.el (org-options-keywords): Add "#+MATHJAX" and
8482         "#+INFOJS_OPT" to the list of keywords for completion.
8484         * org.el (org-src-prevent-auto-filling): Remove unused and useless
8485         option.
8487         * org.el (org-element-at-point): Autoload.
8488         (org-element-up): Remove useless declaration.
8489         (org-fill-context-prefix, org-fill-paragraph)
8490         (org-mark-element, org-narrow-to-element)
8491         (org-transpose-element, org-unindent-buffer): Do not require
8492         org-element.
8494         * org.el (org-fill-paragraph): Require org-element.
8496         * org-agenda.el (org-agenda-persistent-marks): Minor docstring
8497         enhancement.
8499         * org.el (org-create-math-formula): Use the compatibility function
8500         `org-region-active-p'.
8502         * org-odt.el (org-export-as-odf): Ditto.
8504         * ob.el (org-babel-demarcate-block): Ditto.
8506         * org.el (org-mark-subtree): Maybe call `org-mark-element'
8507         interactively.
8508         (org-mark-element): Only mark further elements when called
8509         interactively.
8511         * org.el (org-mark-element, org-narrow-to-element)
8512         (org-transpose-element): Require org-element.
8514         * org-agenda.el (org-agenda-get-timestamps)
8515         (org-agenda-get-sexps, org-agenda-get-deadlines)
8516         (org-agenda-get-scheduled): Add the 'warntime as a text property,
8517         getting its value from the APPT_WARNTIME property.
8518         (org-agenda-to-appt): Use the 'warntime text property.
8520         * org-capture.el (org-capture-place-table-line): Fix bug.
8522         * org.el (org-activate-plain-links): Don't activate a plain link
8523         when it is part of a bracketed link, unless bracketed links are
8524         not enlisted in `org-activate-links'.
8525         (org-open-at-point): Don't consider the text immediately after a
8526         bracketed link is part of a plain link.
8528         * org.el (org-compute-latex-and-specials-regexp)
8529         (org-paste-subtree, org-sort-entries, org-store-link)
8530         (org-open-at-point, org-file-remote-p, org-add-log-setup)
8531         (org-set-tags-to, org-fast-tag-selection)
8532         (org-diary-sexp-entry): Ditto.
8534         * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
8535         (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
8536         (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
8537         end of (cond ...) constructs.
8539         * org-mobile.el (org-mobile-create-index-file): Ditto.
8541         * org-lparse.el (org-lparse-format-table-row): Ditto.
8543         * org-list.el (org-sort-list): Ditto.
8545         * org-id.el (org-id-get): Ditto.
8547         * org-html.el (org-export-html-preprocess): Ditto.
8549         * org-exp.el (org-default-export-plist)
8550         (org-table-clean-before-export): Ditto.
8552         * org.el (org-options-keywords): Add "TODO".
8553         (org-make-options-regexp): Make the hashtag mandatory for options
8554         and don't allow whitespaces between the hashtag and the plus sign.
8556         * org.el (org-refresh-category-properties)
8557         (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
8558         Allow lowercase "#+category" and "#+begin:" dynamic blocks.
8560         * org.el (org-context): Use case-folding when trying to match
8561         clocktables and source blocks contexts.
8563         * org-clock.el (org-clock-put-overlay): Put the overlay on the
8564         whole headline, not only on the last character.  This fixes a bug
8565         with overlays on headlines ending with a bracketed link.
8567         * org-html.el (org-export-as-html): Make sure we always process a
8568         string.
8570         * org-exp.el (org-export-cleanup-toc-line): Always return a
8571         string.
8573         * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
8574         metalines with #+results[...]:.
8576         * org-exp.el (org-export-handle-metalines): Rename from
8577         `org-export-handle-table-metalines'.  Now also handle source block
8578         metalines.
8579         (org-export-res/src-name-cleanup): Delete.
8580         (org-export-preprocess-string): Use `org-export-handle-metalines'.
8581         Don't use `org-export-res/src-name-cleanup' anymore.
8583         * org-html.el (org-format-org-table-html): Don't include the
8584         caption tag for empty captions in HTML export.  Keep it in the
8585         DocBook export so that it produces valid DocBook XML.
8587         * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
8588         8am" to be parsed correctly with respect to possible values of
8589         `org-read-date-prefer-future'.
8590         (org-read-date-prefer-future): Update docstring to remove the
8591         restriction about inserting only the time.  The user can now
8592         insert the time and the day.
8594         * org-icalendar.el (org-icalendar-print-entries): Rename from
8595         `org-print-icalendar-entries'.
8596         (org-icalendar-start-file): Rename from
8597         `org-start-icalendar-file'.
8598         (org-icalendar-finish-file): Rename from
8599         `org-finish-icalendar-file'.
8600         (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
8601         (org-export-icalendar): Use the correct functions.
8603         * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
8604         commit e85479.
8606         * org.el (org-fill-context-prefix): Require org-element.
8607         (org-timestamp-change): Fix bug by saving excursion when adjusting
8608         another clock.
8610         * org.el (org-read-date-prefer-future): Fix docstring formatting.
8611         (org-read-date-analyze): Fix the interpretation of
8612         `org-read-date-prefer-future'.
8614         * org-agenda.el (org-agenda-menu-two-column): Rename to
8615         `org-agenda-menu-two-columns'.
8617         * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
8618         Replace `org-labels' by `let*'.
8620         * org-bibtex.el (org-bibtex-headline): Ditto.
8622         * org-compat.el: Delete `org-labels'.
8624         * ob.el (org-babel-get-src-block-info)
8625         (org-babel-check-src-block, org-babel-current-result-hash)
8626         (org-babel-parse-src-block-match, org-babel-read-link)
8627         (org-babel-insert-result, org-babel-clean-text-properties):
8628         Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8629         (org-babel-clean-text-properties): Delete redundant function
8630         `org-babel-clean-text-properties'.
8632         * ob-tangle.el (org-babel-tangle-collect-blocks)
8633         (org-babel-tangle-comment-links): Ditto.
8635         * ob-table.el (sbe): Ditto.
8637         * ob-lob.el (org-babel-lob-get-info)
8638         (org-babel-lob-execute): Ditto.
8640         * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8642         * org-macs.el (org-no-properties): Allow a new parameter
8643         `restricted' to restrict the properties removal to those in
8644         `org-rm-props'.  The default is now to remove all properties.
8646         * org-compat.el (org-substring-no-properties): Remove unused
8647         defun.
8649         * org-remember.el (org-remember-apply-template): Remove redundant
8650         removal of text properties.
8651         (org-remember-apply-template): Use `org-no-properties'.
8653         * org-capture.el (org-capture-fill-template): Remove redundant
8654         removal of text properties.
8655         (org-capture-fill-template): Use `org-no-properties'.
8657         * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8658         Use `org-no-properties'.
8660         * org-colview.el (org-columns-display-here): Ditto.
8662         * org-table.el (org-table-eval-formula): Ditto.
8664         * org.el (org-entry-properties): Ditto.
8666         * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8667         handling `alarm-time'.
8669         * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8671         * org.el (org-store-log-note): Only skip comments starting with "#
8672         " when storing a note.
8674         * org.el (org-custom-properties): New option.
8675         (org-custom-properties-overlays): New variable.
8676         (org-toggle-custom-properties-visibility): New command to toggle
8677         the visibility of custom properties.
8678         (org-check-before-invisible-edit): Also prevent errors when trying
8679         to edit invisible properties.
8681         * org-datetree.el (org-datetree-add-timestamp): New option.
8682         (org-datetree-insert-line): Use it.
8684         * org.el (org-fill-template): Fix bug when filling template for a
8685         key associated to the nil value.
8687         * org-agenda.el (org-diary): Fix tiny typo.
8689         * org.el (message-in-body-p): Move declaration up to fix compiler
8690         warning.
8692         * org.el (org-fill-context-prefix): Fix auto-filling in
8693         `message-mode'.
8695         * org.el (org-fill-paragraph): Correctly fill paragraph in
8696         message-mode.
8697         (org-indent-line): Correctly indent according to mode when
8698         `orgstruct++-mode' is on.
8699         (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8700         stored in `org-fb-vars'.
8702         * org.el (org-fill-paragraph): Make a command.  Fix bug about
8703         filling message headers and citations.
8705         * org.el (org-redisplay-inline-images): New command.
8706         (org-mode-map): Bind it to C-c C-x C-M-v.
8708         * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8709         (org-columns-get-format): Fix compiler warning.
8711         * org-feed.el: Add declarations.
8713         * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8714         allow tag inheritance.
8716         * org-capture.el (org-capture): Fix bug introduced by commit
8717         1737d3.
8719         * org-publish.el (org-publish-needed-p)
8720         (org-publish-update-timestamp, org-publish-file)
8721         (org-publish-cache-file-needs-publishing): New argument
8722         `base-dir'.
8723         (org-publish-cache-ctime-of-src): Use the new argument to make
8724         sure we find the file according to :base-directory.
8726         * org-capture.el (org-capture-string): New command to prompt for
8727         the interactive text interactively.  This can also be used in
8728         Elisp programs to use ̀org-capture' with some initial text.
8729         (org-capture-initial): New variable to store the initial text.
8730         (org-capture): Use `org-capture-initial'.
8732         * org.el (org-emph-re): Tiny docstring formatting fix.
8734         * org-compat.el (org-labels): Remove.
8736         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8738         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8740         * org.el (org-emph-re): Tiny formatting fix.
8742         * org.el (orgstruct-setup): Require `org-element'.
8744         * org.el (org-store-link, org-open-at-point): New link type
8745         "help".
8747         * org-compat.el (org-flet): Remove alias.
8749         * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8750         (org-babel-get-rownames, org-babel-insert-result)
8751         (org-babel-merge-params)
8752         (org-babel-expand-noweb-references): Don't use `org-flet'.
8753         Also indent some functions correctly.
8755         * ob.el (org-babel-execute-src-block)
8756         (org-babel-join-splits-near-ch, org-babel-format-result)
8757         (org-babel-examplize-region): Don't use `org-flet'.
8758         (org-babel-tramp-handle-call-process-region): Fix typo.
8760         * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8762         * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8764         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8765         Don't use `org-flet'.
8767         * org-pcomplete.el (org-compat): Require.
8769         * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8771         * org-bibtex.el (org-bibtex-write): Use let*.
8773         * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8775         * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8776         (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8778         * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8780         * org-pcomplete.el (org-thing-at-point): Ditto.
8782         * org.el (org-timestamp-change): Ditto.
8784         * org-mouse.el (org-mouse-timestamp-today)
8785         (org-mouse-set-priority, org-mouse-popup-global-menu)
8786         (org-mouse-context-menu): Don't use ̀org-flet'.
8788         * org.el (org-priority): Fix docstring.
8790         * org-publish.el (org-publish-write-cache-file)
8791         (org-publish-initialize-cache)
8792         (org-publish-cache-file-needs-publishing)
8793         (org-publish-cache-get): Small code clean-up.
8795         * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8797         * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8798         agenda entries created from sexps.
8800         * org-capture.el (org-capture-templates): Docstring clean up.
8801         (org-capture-place-entry, org-capture-place-item)
8802         (org-capture-place-plain-text, org-capture-place-table-line):
8803         Ensure to always position the point according to %?.
8805         * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8806         converting remote table references.
8808         * org-agenda.el (org-agenda-switch-to): Run hooks in
8809         ̀org-agenda-after-show-hook'.
8811         * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8812         variable `length' to `lgth'.
8814         * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8815         ̀org-flet'.
8817         * org-exp.el (org-export-format-source-code-or-example): Ditto.
8819         * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8821         * ob.el (org-babel-view-src-block-info)
8822         (org-babel-execute-src-block, org-babel-edit-distance)
8823         (org-babel-switch-to-session-with-code)
8824         (org-babel-balanced-split, org-babel-insert-result): Ditto.
8826         * ob-ref.el (org-babel-ref-index-list): Ditto.
8828         * ob-python.el (org-babel-python-evaluate-session): Ditto.
8830         * ob-lob.el (org-babel-lob-get-info): Ditto.
8832         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8834         * ob-exp.el (org-babel-exp-do-export): Ditto.
8836         * org-table.el (orgtbl-to-generic): Fix docstring.
8838         * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8839         argument `switch-to-state' set to nil.  Fix docstring.
8840         (org-clock-in-last): Prompt for a todo state to switch to when
8841         called with three universal prefix arguments.  Don't display a
8842         message when the clock is already running.  Update docstring.
8843         (org-clock-out): New argument `switch-to-state'.  When this
8844         argument is non-nil, prompt for a state to switch the clocked out
8845         task to, overriding `org-clock-out-switch-to-state'.
8847         * org.el (org-entry-get): Don't use `org-flet'.
8849         * org.el (org-forward-heading-same-level): Rename from
8850         `org-forward-same-level'.
8851         (org-backward-heading-same-level): Rename from
8852         `org-backward-same-level'.
8854         * org.el (org-forward-element): Rename from `org-element-forward'.
8855         (org-backward-element): Rename from `org-element-backward'.
8856         (org-up-element): Rename from `org-element-up'.
8857         (org-down-element): Rename from `org-element-down'.
8858         (org-drag-element-backward): Rename from
8859         `org-element-drag-backward'.
8860         (org-drag-element-forward): Rename from
8861         `org-element-drag-forward'.
8862         (org-mark-element): Rename from `org-element-mark-element'.
8863         (org-transpose-element): Rename from `org-element-transpose'.
8864         (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8865         (org-mode-map): Update the names of a commands.  Remove useless
8866         declarations.
8868         * org-element.el (org-element-forward, org-element-backward)
8869         (org-element-up, org-element-down)
8870         (org-element-drag-backward, org-element-drag-forward)
8871         (org-element-mark-element, org-narrow-to-element)
8872         (org-element-transpose, org-element-unindent-buffer): Move to
8873         org.el.
8875         * org.el (org-forward-same-level): Fix typo in docstring.
8877         * org-agenda.el (org-agenda-mode-map):
8878         Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8879         (org-agenda-next-item, org-agenda-previous-item): New commands to
8880         move by one item down/up in the agenda.
8881         (org-agenda-mode-map): Bind `org-agenda-next-item' and
8882         `org-agenda-previous-item' to `N' and `P' respectively.
8884         * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8885         Toggle headers when necessary.
8887         * org-element.el (org-narrow-to-element): Autoload.
8889         * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8890         (org-mark-subtree): Allow a numeric prefix argument to move up
8891         into the hierarchy of headlines.
8893         * org-element.el (org-element-up, org-element-down): Autoload.
8895         * org.el: Declare functions and don't require org-element.
8897         * org-element.el (org-element-at-point, org-element-forward)
8898         (org-element-backward, org-element-drag-backward)
8899         (org-element-drag-forward, org-element-mark-element)
8900         (org-element-transpose, org-element-unindent-buffer): Autoload.
8901         Require 'org and remove all declarations.
8903         * org.el (org-outline-regexp-bol, org-heading-regexp):
8904         Use variables instead of constants.
8906         * org-archive.el (org-datetree-find-date-create): Declare.
8908         * org.el (org-open-at-point): Only set
8909         `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8910         has been loaded.
8912         * org-icalendar.el (org-print-icalendar-entries):
8913         Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8915         * org.el (org-special-properties): New special property
8916         CLOCKSUM_T.
8917         (org-entry-properties): Handle the new special property.
8919         * org-colview.el (org-columns): Handle a new special property
8920         CLOCKSUM_T.
8921         (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8923         * org-clock.el (org-clock-sum-today): New function.
8924         (org-clock-sum): New argument PROPNAME to set a custom text
8925         property instead of :org-clock-minutes.
8927         * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8928         error message when no agenda is currently being displayed.
8930         * org.el (org-get-property-block): Find blocks before the first
8931         headline.
8932         (org-entry-properties): Minor code cleanup.
8933         (org-entry-get, org-entry-get-with-inheritance): Get property
8934         before the first headline.
8936         * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8938         * org.el (org-make-link): Delete.
8939         (org-store-link, org-insert-link)
8940         (org-file-complete-link): Don't use `org-make-link'.
8942         * org-wl.el (org-wl-store-link-folder)
8943         (org-wl-store-link-message): Ditto.
8945         * org-vm.el (org-vm-store-link): Ditto.
8947         * org-rmail.el (org-rmail-store-link): Ditto.
8949         * org-mhe.el (org-mhe-store-link): Ditto.
8951         * org-mew.el (org-mew-store-link): Ditto.
8953         * org-irc.el (org-irc-erc-store-link): Ditto.
8955         * org-info.el (org-info-store-link): Ditto.
8957         * org-id.el (org-id-store-link): Ditto.
8959         * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8961         * org-eshell.el (org-eshell-store-link): Ditto.
8963         * org-bbdb.el (org-bbdb-store-link): Ditto.
8965         * org.el (org-url-hexify-p): New option.  When non-nil (the
8966         default), hexify URLs when creating a link.
8968         * org.el (org-insert-link): Make sure point is at the beginning of
8969         the buffer.
8971         * org.el (clean-buffer-list-kill-buffer-names): Declare.
8972         (org-open-at-point): Allow opening multiple shell links by
8973         creating a new output buffer for each shell process.  The new
8974         buffer is added to `clean-buffer-list-kill-buffer-names'.
8976         * org-mobile.el (org-mobile-create-index-file):
8977         Use `org-global-tags-completion-table' instead of
8978         `org-tag-alist-for-agenda' to get the tags for the index file.
8980         * org.el (org-global-tags-completion-table): Fix typo in
8981         docstring.
8983         * org.el (org-link-to-org-use-id): Use `org-capture' instead of
8984         `org-remember' in the docstring.
8985         (org-link-fontify-links-to-this-file): New function to fontify
8986         links to the current buffer in `org-stored-links'.
8987         (org-store-link): Small code simplification.
8988         (org-link-prettify): Enclose literal links into <...> instead of
8989         [[...]].
8990         (org-insert-link): Use `org-link-fontify-links-to-this-file'.
8991         Also allow completion over links' descriptions, as well as links
8992         destinations.  When the user uses the description for completion,
8993         don't prompt again for a description.
8995         * org-capture.el (org-capture-templates): Fix docstring by adding
8996         Gnus to the list of mail clients.
8998         * org.el (org-log-repeat): Enhance docstring.
9000         * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
9001         `org-element-backward/forward' as these functions stops when there
9002         is no element of the same type before/after point.  It is useful
9003         to navigate with `forward/backward-paragraph' with no stop in most
9004         cases.
9006         * org-capture.el (org-capture-templates): New template %l to
9007         insert the literal link pointing at the current buffer.
9009         * org.el (org-todo-keywords): Ditto.
9011         * org.el (org-fill-paragraph): Falls back on
9012         `message-fill-paragraph' if required in `message-mode'.
9014         * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
9015         (pcomplete/org-mode/file-option/options)
9016         (pcomplete/org-mode/file-option/title)
9017         (pcomplete/org-mode/file-option/author)
9018         (pcomplete/org-mode/file-option/email)
9019         (pcomplete/org-mode/file-option/date): Use the new macro to offer
9020         completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
9021         #+EMAIL and #+DATE.
9023         * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
9024         an external file while `org-agenda-sticky' is non-nil.
9026         * org.el (org-speed-commands-default): New speedy command to
9027         quickly add the :APPT_WARNTIME: property.
9029         * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
9030         property to override `appt-message-warning-time' when adding an
9031         appointment from an entry.
9033         * org.el (org-version): Improve docstring.
9034         (org-self-insert-cluster-for-undo): The default value should be
9035         nil for Emacs >=24.1.  See bug#11774.
9037         * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
9038         commit.
9040         * org.el (org-options-keywords): New constant.
9041         (org-additional-option-like-keywords): Remove duplicates with
9042         keywords in the new constant.
9043         (org-additional-option-like-keywords-for-flyspell): Use the new
9044         constant.
9045         (org-mode-flyspell-verify): Exclude keywords from the new
9046         constant.
9048         * org-pcomplete.el (pcomplete/org-mode/file-option):
9049         Use `org-options-keywords'.
9051         * org.el (org-toggle-heading): Bugfix: use
9052         `org-element-mark-element' instead of `org-mark-list'.
9054         * org-list.el (org-mark-list): Delete.
9056         * org.el: Update a few keybindings.
9058         * org-element.el (org-element-down): Throw an error when the
9059         element has no content.
9061         * org-table.el (orgtbl-radio-table-templates): Add a template for
9062         org-mode.
9063         (orgtbl-to-orgtbl): Complete and align the table created with
9064         orgtbl-to-orgtbl, in case the user use the function for radio
9065         tables.
9066         (orgtbl-to-table.el): New function to export a table to another
9067         one using the table.el format.
9068         (orgtbl-to-unicode): New function to export a table using unicode
9069         characters.
9071         * org-exp.el (org-export-language-setup): Use "Sommaire" for the
9072         french translation of "Table of contents", to avoid a possible bug
9073         when exporting to ODT.
9075         * org.el (org-additional-option-like-keywords): Add keywords.
9076         (org-additional-option-like-keywords-for-flyspell): New constant
9077         to use with flyspell.
9078         (org-mode-flyspell-verify): Use the dedicated constant and don't
9079         check `org-startup-options'.
9081         * org-agenda.el (org-batch-store-agenda-views): Use the sticky
9082         agenda buffer name, if required.
9083         (org-agenda-write): New parameter `agenda-bufname' to allow
9084         setting the agenda buffer name.
9086         * org.el (org-mode-map): Add keybindings for
9087         `org-element-forward', `org-element-backward', `org-element-up'
9088         and `org-element-down'.
9090         * org.el (org-auto-fill-function): Don't call `do-auto-fill'
9091         within (org-let org-fb-vars ...) as `do-auto-fill' should do the
9092         right thing whether orgstruct++-mode is turned on or off.
9094         * org.el (org-sparse-tree-default-date-type): New option.
9095         (org-ts-type): New variable.
9096         (org-sparse-tree): New argument `type'.  Use the new option
9097         `org-sparse-tree-default-date-type' as the default value for
9098         `type'.  Fix docstring.
9099         (org-re-timestamp): New function.
9100         (org-check-before-date, org-check-after-date)
9101         (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
9102         to tell compute the date regexp.
9104         * org.el (orgstruct++-mode, org-get-local-variables): Also set
9105         `normal-auto-fill-function' when turning on/off orgstruct++-mode.
9107         * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
9108         customization types.
9110         * org-faces.el (org-document-title): Use the normal height.
9112         * org-clock.el (org-x11idle-exists-p): New variable.
9113         (org-user-idle-seconds): Use it.
9115         * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
9116         C-M-l'.
9118         * org.el (org-insert-all-links): New command.
9119         (org-insert-link): `org-keep-stored-link-after-insertion' is now
9120         checked when the link to insert has been defined, regardless on
9121         how it has been defined.  Also don't read the description
9122         interactively when the `default-description' parameter was given.
9123         (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
9125         * org.el (org-inc-effort): New command to increment the effort
9126         property.
9127         (org-set-effort): Use it.
9128         (org-mode-map): Bind it to `C-c C-x E'.
9129         (org-speed-commands-default): Use `E' as a speed command for it.
9131         * org.el (org-re-property-keyword): New function.
9132         (org-entry-put): Use it to fix a bug with respect to setting the
9133         value of a property when a property line with no value already
9134         exists.
9136         * org.el (org-timestamp-change): Adjust clock in other org files
9137         correctly.
9139         * org-clock.el (org-user-idle-seconds): Simplify.
9141         * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
9142         C-z'.
9144         * org.el (org-mode-map): Add keybindings to
9145         `org-element-transpose' and `org-narrow-to-element'.
9146         (org-metaup): Fall back on `org-element-drag-backward'.
9147         (org-metadown): Fall back on `org-element-drag-forward'.
9148         Also move chunks of declarations and require statements to get rid of
9149         compiler warnings.
9151         * org-exp-blocks.el (org): Don't require org.  Add declarations.
9153         * org-clock.el (org): Don't require org.
9155         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
9157         * org.el (org-timestamp-change): Don't use the `position'.
9159         * org.el (org-clock-history, org-clock-adjust-closest):
9160         New variables.
9161         (org-timestamp-change): Maybe adjust the next or previous clock in
9162         `org-clock-history'.
9163         (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
9164         timestamp at point and adjust the next or previous clock in
9165         `org-clock-history', when possible.
9167         * org-clock.el (org-clock-in): Set the marker for
9168         `org-clock-history' at a safer position.
9170         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
9171         Autoload.
9173         * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
9175         * org.el (org-indent-line): Fix indentation of a property line
9176         starting at the beginning of a line.
9178         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9180         * org-compat.el: Alias `org-condition-case-unless-debug' to
9181         `condition-case-unless-debug' or `condition-case-no-debug'.
9183         * org.el (org-todo-keywords): Ditto.
9185         * org.el (org-use-fast-todo-selection): Reformat docstring.
9187         * org.el (org-flag-drawer): Add a docstring.
9188         (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
9189         `org-clock-in-last' to "C-cC-xC-x".  This fixes a bug in the
9190         previous keybinding for `org-clock-in-last', which would override
9191         the one for `org-clock-in'.
9193         * org-clock.el (org-clock-in-last): Prevent errors when there is
9194         no clocking history.
9195         (org-clock-cancel): Fix bug when checking against a clock log in a
9196         folded drawer.
9198         * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
9199         new specifier.  Update the docstring.
9201         * org.el (org-startup-options): Fix docstring formatting.
9203         * org.el (org-use-sub-superscripts): Fix typo in docstring.
9205         * org.el (org-refile): Fix bug: prevent looping when calling
9206         `org-set-tags' internally.
9208         * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
9209         `org-clock-in-last'.
9211         * org-clock.el (org-clock-continuously): New option.
9212         (org-clock-in): Three universal prefix arguments set
9213         `org-clock-continuously' to `t' temporarily.
9214         (org-clock-in-last): Fix call to `org-clock-select-task' and
9215         support continuous clocking.
9216         (org-clock-out-time): New variable.
9217         (org-clock-out): Set `org-clock-out-time' when clocking out.
9218         Small docstring rewriting.
9219         (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
9220         bug when trying to delete empty logbook drawer.
9221         (org-clock-cancel): If the clock log is gone, send a warning
9222         instead of deleting the region that is supposed to contain it.
9224         * org.el (org-move-line-down, org-move-line-up): Remove.
9225         (org-metaup, org-metadown): When the region is active, move it
9226         up/down by one line, with no regard to the context.
9228         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9230         * org-compat.el: Alias `org-condition-case-unless-debug' to
9231         `condition-case-unless-debug' or `condition-case-no-debug'.
9233         * org-pcomplete.el (org-thing-at-point): Ignore trailing
9234         whitespaces while looking-back at properties.
9236         * org.el (org-mode): Set `indent-region-function'.
9237         (org-indent-region): New function.
9238         (org-fill-paragraph): When in a src block, use `indent-region' to
9239         indent the whole source code instead of falling back on
9240         `fill-paragraph', as this function messes up the code.
9242         * org-src.el (org-edit-src-code): Fix docstring formatting.
9244         * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
9246         * org.el (org-mode, org-add-log-setup)
9247         (org-get-property-block, org-entry-put)
9248         (org-property-next-allowed-value, org-return)
9249         (org-indent-line): Rename `org-indent-line-function' to
9250         `org-indent-line'.
9252         * org-timer.el (org-timer-item): Ditto.
9254         * org-table.el (org-table-store-formulas): Ditto.
9256         * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
9258         * org-src.el (org-src-font-lock-fontify-block)
9259         (org-src-strip-leading-and-trailing-blank-lines)
9260         (org-src-ask-before-returning-to-edit-buffer)
9261         (org-edit-src-code, org-edit-src-continue)
9262         (org-edit-fixed-width-region)
9263         (org-src-do-key-sequence-at-code-block)
9264         (org-src-font-lock-fontify-block, org-src-fontify-buffer):
9265         Fix typos in docstrings.
9267         * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
9268         use "format string" instead of "formatting string".
9270         * org-latex.el (org-export-latex-emphasis-alist)
9271         (org-export-latex-title-command, org-export-latex-tables): Ditto.
9273         * org-html.el (org-export-html-postamble): Ditto.
9275         * org-latex.el (org-export-latex-hyperref-options-format):
9276         New option.
9277         (org-export-latex-make-header): Use it.
9279         * ob.el (org-babel-confirm-evaluate): Prevent errors when
9280         `org-current-export-file' is void.
9282         * org-table.el (org-table-export): Use the file name extension to
9283         suggest the right conversion format.  Also amend the docstring.
9285         * org.el (org-speed-commands-default): Two new speed commands.
9286         Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
9288         * org.el (org-time-stamp): With two universal arguments, insert an
9289         active timestamp with the current time without prompting the user.
9291         * org-clock.el (org-clock-in-last): New command.
9293         * org-clock.el (org-clock-in): Fix typo in docstring.
9295         * org-mobile.el (org-mobile-edit): Fix reference to a free
9296         variable.
9298         * org.el (org-doi-server-url): Update :group.
9300         * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
9301         variable.
9303         * org.el (org-doi-server-url): New option.
9304         (org-open-at-point): Use it.
9306         * org.el (org-at-comment-p): New function.
9307         (org-toggle-heading): Use `org-at-comment-p' to skip comments.
9309         * org-html.el (org-export-as-html): Add links to the Org mode and
9310         GNU Emacs websites When :html-postamble is set to 't.
9312         * org-export.el (org-export-creator-string): Add links to the Org
9313         mode and GNU Emacs websites.
9315         * org-special-blocks.el
9316         (org-special-blocks-convert-html-special-cookies): Prevent errors
9317         by first checking `org-line' is not nil.
9319         * org-clock.el (org-clock-string-limit)
9320         (org-clock-modeline-total, org-clock-task-overrun-text)
9321         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9323         * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
9324         point is right after the timestamp.  `org-at-timestamp-p' still
9325         returns `t' in this case, as this is more practical.
9326         (org-return): Check against ̀org-ts-what' to verify that point is
9327         really within the timestamp (if any).
9329         * org.el (org-return): Follow time-stamp links when point is an a
9330         time-stamp.
9332         * org-capture.el (org-capture-bookmark): New option.
9333         (org-capture-finalize): Use it.
9335         * org-publish.el (org-publish-cache-file-needs-publishing):
9336         Make the column mandatory after #+include:.
9338         * org-exp.el (org-export-handle-include-files): Ditto.
9340         * org-bibtex.el (org-bibtex-entries): Rename from
9341         (org-bibtex-read, org-bibtex-write): Use the new name.
9343         * org-exp.el (org-export-handle-include-files): Allow to use
9344         #+include with no column.
9346         * org-publish.el (org-publish-cache-file-needs-publishing):
9347         Make quotes mandatory around the file name and allow spaces in it.
9349         * org-html.el (org-export-as-html): Add link to Org's and Emacs's
9350         websites.
9352         * org-latex.el
9353         (org-export-latex-link-with-unknown-path-format): New option.
9354         (org-export-latex-links): Use it.
9356         * org-agenda.el (org-agenda-get-timestamps): Remove any active
9357         timestamp from the headline text, not only those for the current
9358         date.
9360         * org.el (org-set-tags): Allow setting tags for headlines in the
9361         region when `org-loop-over-headlines-in-active-region' is non-nil.
9363         * org.el (org-allow-promoting-top-level-subtree): New option to
9364         allow promoting a top-level subtree.
9365         (org-called-with-limited-levels): New variable, dynamically bound
9366         within the `org-with-limited-levels' macro.
9367         (org-promote): Use the new option to allow promoting a top-level
9368         subtree.
9370         * org-macs.el (org-with-limited-levels): Let-bind
9371         `org-called-interactively-p' to t.
9373         * org.el (org-create-formula-image-with-dvipng)
9374         (org-create-formula-image-with-imagemagick): Make sure a file
9375         exists before trying to delete it.
9377         * org.el (org-scan-tags): Correctly match TODO keywords.
9379         * org-agenda.el (org-agenda-bulk-action): Fix bug: use
9380         `org-agenda-bulk-unmark-all'.
9382         * org.el (orgstruct++-mode): Fix docstring.
9383         (org-fill-paragraph): Use the 'justify parameter when falling back
9384         on `fill-paragraph'.
9386         * org.el (org-indent-line-function): Use `org-let' instead of
9387         `orgstruct++-ignore-org-filling'.
9388         (org-fill-paragraph, org-auto-fill-function): Ditto.
9390         * org-macs.el (orgstruct++-ignore-org-filling): Delete.
9392         * org-table.el (org-table-time-string-to-seconds): Return the
9393         empty string if provided.
9394         (org-table-eval-formula): When assigning a duration string, handle
9395         it correctly -- i.e. don't make any computation on it, except the
9396         one to insert it using the correct duration format.
9398         * org.el (org-indent-line-function): Fix bug.
9400         * org-clock.el (org-frame-title-format-backup): New variable to
9401         store the value of `frame-title-format' before `org-clock' might
9402         replace it by `org-clock-frame-title-format'.
9403         (org-clock-frame-title-format): New option.
9404         (org-frame-title-string): Delete.
9405         (org-clock-update-mode-line): Minor code reformatting.
9406         (org-clock-in, org-clock-out, org-clock-cancel):
9407         Use `org-clock-frame-title-format'.
9409         * org-clock.el (org-clock-get-clock-string): Add a space.
9411         * org-list.el (org-mark-list): Return an error when there is no
9412         list at point.
9414         * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
9415         at point before converting items to headings.  With a simple
9416         universal-argument, set `current-prefix-arg' to 1, otherwise keep
9417         the numeric value.
9419         * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
9420         more readable.
9422         * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
9423         all entries for bulk action.
9424         (org-agenda-menu): New menu item for marking all entries.
9425         (org-agenda-bulk-mark-all): New function to mark all entries.
9426         (org-agenda-bulk-mark-regexp): Minor docstring fix.
9427         (org-agenda-bulk-unmark): With a prefix argument, unmark all.
9428         Also send a better message.
9429         (org-agenda-bulk-remove-all-marks): Rename to
9430         `org-agenda-bulk-unmark-all'.  Check against
9431         `org-agenda-bulk-marked-entries' before trying to unmark entries.
9432         Minor docstring fix.
9433         (org-agenda-bulk-unmark-all): Rename from
9434         ̀org-agenda-bulk-remove-all-marks'.
9436         * org-agenda.el (org-agenda-bulk-mark-char): New option.
9437         (org-agenda-bulk-mark): Use the new option.
9439         * org.el (org-src-prevent-auto-filling): New option to prevent
9440         auto-filling in src blocks.  This defaults to nil to avoid people
9441         being surprised that no auto-fill occurs in Org buffers where they
9442         use `auto-fill-mode'.
9443         (org-auto-fill-function): Use the new option.
9445         * org.el (org-properties-postprocess-alist): Better customization
9446         type.
9447         (org-set-property): Fix the check against
9448         `org-properties-postprocess-alist'.
9450         * org-macs.el (orgstruct++-ignore-org-filling):
9451         Set `def-edebug-spec' correctly.
9453         * org-colview.el (org-columns-string-to-number): When computing
9454         the values for the colview, match durations and convert them to
9455         HH:MM values.
9457         * org.el (org-duration-string-to-minutes): Match non-round
9458         numbers.  Add a new optional parameter to allow returning the
9459         output as a string.
9461         * org.el (org-auto-fill-fallback-function)
9462         (org-indent-line-fallback-function)
9463         (org-fill-paragraph-fallback-function)
9464         (org-auto-fill-fallback-function)
9465         (org-indent-line-fallback-function)
9466         (org-fill-paragraph-fallback-function): Remove.
9467         (org-fb-vars): New buffer-local variable.
9468         (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
9469         store, use and restore variables if needed.
9470         (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
9471         when needed.
9472         (org-auto-fill-function, org-indent-line-function): Ditto.
9474         * org-macs.el (orgstruct++-ignore-org-filling): New macro.
9476         * org-exp-blocks.el: Use `org-find-library-name' instead of
9477         `find-library-name'.
9479         * org-compat.el (org-find-library-name): Convert into a macro to
9480         avoid compilation of a function from XEmacs in Emacs and vice
9481         versa.
9483         * org-table.el (org-table-store-formulas): Fix typo.
9484         (org-table-maybe-eval-formula): Fix the regexp to only match
9485         formulas, which never end with the `=' character.  If the field
9486         only contain this character, don't eval either.
9488         * org.el (org-set-property): Perform the correct check against
9489         `org-properties-postprocess-alist'.
9491         * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
9492         customization type.
9493         (name): Suppress (defvar 'name) as name is not eval'ed when
9494         setting `org-bbdb-anniversary-format-alist'.
9496         * org.el (org-version): When called non-interactively, insert the
9497         short version string, otherwise send a message with the complete
9498         version string.
9500         * org-odt.el (org-odt-update-meta-file): Use (org-version) and
9501         delegate checking whether `org-version' is known as a variable
9502         there.
9504         * org-html.el (org-export-as-html): Use (org-version).
9506         * org-docbook.el (org-export-as-docbook): Ditto.
9508         * org-latex.el (org-export-latex-make-header): Ditto.
9510         * org-clock.el (org-clocktable-write-default): Temporarily disable
9511         `delete-active-region' so that we don't accidently delete an
9512         active region when exporting a subtree/region.
9514         * org-clock.el (org-program-exists): Remove.
9515         (org-show-notification, org-clock-play-sound):
9516         Use `executable-find' instead of `org-program-exists'.
9518         * org-agenda.el (org-diary): Prevent failure from
9519         `org-compile-prefix-format' when there is no agenda buffer.
9521         * org-agenda.el (org-agenda-mode): Replace obsolete variable
9522         `buffer-substring-filters'.
9524         * org-indent.el (org-indent-mode): Ditto.
9526         * org-compat.el (org-find-library-name): Silent the byte-compiler
9527         about a warning related to XEmacs support.
9529         * org-special-blocks.el
9530         (org-special-blocks-convert-html-special-cookies): Use `org-line'
9531         instead of `line'.
9533         * org-html.el (org-html-handle-links, org-export-as-html)
9534         (org-format-org-table-html, org-format-table-table-html)
9535         (org-html-export-list-line): Use `org-line' instead of `line' as
9536         the free variable name.
9538         * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
9540         * org-faces.el (org-list-dt): New face.
9542         * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
9543         face for definition terms in definition lists.
9545         * org.el (org-fill-paragraph): Pass the `justify' argument to
9546         `org-fill-paragraph-fallback-function'.
9548         * org.el (org-eval-in-calendar): Fix docstring to mention the
9549         KEEPDATE parameter.
9551         * org.el (org-refresh-category-properties): Let-bind
9552         `inhibit-read-only' to t.
9554         * org.el (org-auto-fill-fallback-function)
9555         (org-indent-line-fallback-function)
9556         (org-fill-paragraph-fallback-function): New variables to store
9557         some fall-back functions when turning `orgstruct++-mode' on.
9558         (orgstruct++-mode): Set the new variables.
9559         (org-indent-line-function, org-fill-paragraph)
9560         (org-auto-fill-function): Use them.
9562         * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
9563         the 'keepdate parameter set to t when setting the cursor type.
9565         * org-agenda.el (org-agenda-persistent-marks): New option to keep
9566         marks after a bulk action.  The option defaults to nil.
9567         (org-agenda-bulk-action): Use the new option.
9569         * org-capture.el (org-capture-fill-template): Use %\n instead of
9570         %n as a template element to be replaced with the nth prompted
9571         string.
9572         (org-capture-templates): Update docstring.
9574         * org.el (org-goto): Fix docstring and document what C-u does.
9576         * org-publish.el (org-publish-cache-file-needs-publishing):
9577         Use (case-fold-search t) when looking for #+INCLUDE:.
9579         * org.el: Use (case-fold-search t).
9580         (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
9582         * org-table.el:
9583         (org-table-store-formulas, org-table-get-stored-formulas)
9584         (org-table-fix-formulas, org-table-edit-formulas)
9585         (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
9586         (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
9588         * org-footnote.el:
9589         (org-footnote-goto-local-insertion-point): Ditto.
9591         * org-exp.el: Ditto.
9593         * org-colview.el:
9594         (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
9596         * org-clock.el (org-clocktable-write-default): Ditto.
9598         * org-capture.el (org-capture-place-table-line): Ditto.
9600         * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
9601         (org-babel-src-block-names)
9602         (org-babel-where-is-src-block-result, org-babel-result-end)
9603         (org-babel-where-is-src-block-head)
9604         (org-babel-find-named-result, org-babel-result-names): Ditto.
9606         * org-table.el (orgtbl-send-table): Escape special characters.
9607         Introduce a new parameter :no-escape to prevent escaping.
9609         * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
9610         when called interactively.
9611         (org-agenda-get-restriction-and-command):
9612         Call `org-toggle-sticky-agenda' interactively.
9614         * org-agenda.el (org-agenda-top-category-filter): New variable for
9615         storing the current top-category filter.
9616         (org-agenda-redo): Apply a top-category filter, if any.
9617         (org-agenda-filter-by-top-category)
9618         (org-agenda-filter-top-category-apply):
9619         Set `org-agenda-top-category-filter' to the right value.
9621         * org-clock.el (org-clock-out, org-clock-cancel)
9622         (org-clock-in): Don't modify `frame-title-format' if it is a
9623         string.
9625         * org-latex.el (org-export-latex-special-chars): Fix bug when
9626         escaping special characters in a table.
9628         * org.el (org-read-date): Set cursor-type to nil in the calendar.
9630         * org-faces.el (org-date-selected): Use inverse video.
9631         Don't explicitly set bold to nil as it causes `customize-face' to show
9632         the weight property and thus encourage the user to change it.
9633         Warn in the docstring that using bold might cause problems when
9634         displaying the calendar.
9636         * org-id.el (org-id-update-id-locations): New parameter to silent
9637         `org-id-find'.
9638         (org-id-find): Use the new parameter.
9640         * org.el (org-show-hierarchy-above, org-cycle)
9641         (org-global-cycle, org-files-list, org-store-link)
9642         (org-link-search, org-open-file, org-display-outline-path)
9643         (org-refile-get-location, org-update-all-dblocks)
9644         (org-change-tag-in-region, org-entry-properties)
9645         (org-save-all-org-buffers, org-revert-all-org-buffers)
9646         (org-buffer-list, org-cdlatex-mode)
9647         (org-install-agenda-files-menu, org-end-of-subtree)
9648         (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9649         'org-mode) instead of (eq major-mode 'org-mode).
9651         * org-timer.el (org-timer-set-timer): Ditto.
9653         * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9655         * org-src.el (org-edit-src-exit, org-edit-src-code)
9656         (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9658         * org-remember.el (org-remember-handler): Ditto.
9660         * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9662         * org-macs.el (org-get-limited-outline-regexp): Ditto.
9664         * org-lparse.el (org-replace-region-by): Ditto.
9666         * org-latex.el (org-latex-to-pdf-process)
9667         (org-replace-region-by-latex): Ditto.
9669         * org-indent.el (org-indent-indent-buffer): Ditto.
9671         * org-id.el (org-id-store-link, org-id-update-id-locations)
9672         (org-id-store-link): Ditto.
9674         * org-html.el (org-export-html-preprocess)
9675         (org-replace-region-by-html): Ditto.
9677         * org-footnote.el (org-footnote-normalize)
9678         (org-footnote-goto-definition)
9679         (org-footnote-create-definition, org-footnote-normalize): Ditto.
9681         * org-docbook.el (org-replace-region-by-docbook): Ditto.
9683         * org-ctags.el (find-tag): Ditto.
9685         * org-colview.el (org-columns-redo)
9686         (org-columns-display-here, org-columns-edit-value)
9687         (org-columns-redo): Ditto.
9689         * org-capture.el (org-capture-insert-template-here)
9690         (org-capture, org-capture-finalize)
9691         (org-capture-set-target-location)
9692         (org-capture-insert-template-here): Ditto.
9694         * org-ascii.el (org-replace-region-by-ascii): Ditto.
9696         * org-archive.el (org-archive-subtree): Ditto.
9698         * org-agenda.el (org-agenda)
9699         (org-agenda-get-restriction-and-command)
9700         (org-agenda-get-some-entry-text, org-search-view)
9701         (org-tags-view, org-agenda-get-day-entries)
9702         (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9703         (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9705         * org.el (org-repeat-re)
9706         (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9707         (org-deadline, org-schedule, org-matcher-time)
9708         (org-time-stamp, org-read-date, org-read-date-get-relative)
9709         (org-display-custom-time, org-get-wdays)
9710         (org-time-string-to-absolute, org-closest-date)
9711         (org-timestamp-change): Allow to set hourly repeat cookie.
9712         Send an error when an hourly repeat cookie is set and no hour is
9713         specified in the timestamp.
9715         * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9716         repeat cookies.
9718         * org-clock.el (org-program-exists): Fix docstring.
9720         * org-clock.el (org-clock-file-time-cell-format): New option.
9721         (org-clocktable-write-default): Use it.
9723         * org-faces.el (org-date-selected): New face.
9725         * org.el (org-date-ovl): Use `org-date-selected'.
9727         * org.el (org-mode): Don't use `buffer-face-mode' by default.
9729         * org-agenda.el (org-agenda-mode-map): Bind `^' to
9730         `org-agenda-filter-by-top-category'.
9732         * org-ascii.el (org-export-ascii-underline): Change the default
9733         underlining characters for headlines of level 1 and 2.
9734         Also introduce \. as the underline character for headlines of level 5.
9736         * org-table.el (org-table-recalculate-buffer-tables)
9737         (org-table-iterate-buffer-tables): Add autoload cookie.
9739         * org.el (org-table-map-tables): Exclude tables in src and example
9740         blocks.
9742         * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9743         untouched when filling an adjacent paragraph.
9745         * org-html.el (org-export-html-preamble-format)
9746         (org-export-html-postamble-format): Improve the docstring.
9748         * org.el (org-todo): Fix regression: rename `state' to
9749         `org-state'.
9751         * org-clock.el (org-show-notification): Use `fboundp' instead of
9752         `featurep' and the additional `require'.
9754         * org-clock.el (org-clock-in-prepare-hook): New option to format
9755         the total time cells.
9756         (org-clocktable-write-default): Use the new option.
9758         * org.el (org-open-at-point): Allow to open the agenda from an
9759         active or inactive timestamp in a headline.
9761         * org-html.el (org-export-html-date-format-string): Make a
9762         defcustom.
9764         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9766 2012-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
9768         * org-table.el (org-table-expand-lhs-ranges): Allow hline
9769         references to be expanded correctly in LHS of formulas.
9771         * org-beamer.el (org-beamer-inherited-properties): New option.
9772         (org-beamer-after-initial-vars): Use new option to look for
9773         inherited properties.
9775         * org.el (org-ts-regexp0): Allow time stamps without name of day.
9777         * org-agenda.el (org-toggle-sticky-agenda):
9778         (org-agenda-sticky): Improve :set property.
9780         * org-agenda.el (org-agenda-local-vars): Clean up the variable
9781         list.
9782         (org-agenda-get-restriction-and-command): Add a key for toggling
9783         sticky agenda views.
9785         * org-agenda.el (org-agenda-local-vars): Final decisions about
9786         global/local
9788         * org-agenda.el (org-agenda-force-single-file): Variable removed.
9789         (org-prepare-agenda-window): Store pre-agenda window config
9790         locally.
9791         (org-timeline): Introduce a scoped version of
9792         `org-agenda-show-log'.
9793         (org-agenda-list): Introduce a scoped version of
9794         `org-agenda-show-log'.
9795         (org-agenda-get-progress): Use the scoped version of
9796         `org-agenda-show-log'.
9797         (org-agenda-local-vars): Write the analysis result as a comment -
9798         to be cleaned up in the next iteration.
9800         * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9801         buffers when toggling sticky-agendas.
9802         (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9803         to explicitly kill all agenda buffers.
9804         (org-agenda-run-series): Remove any old agenda markers in the
9805         buffer that is going to take the new block agenda.
9806         (org-prepare-agenda): Reset markers before erasing the buffer anc
9807         running `org-agenda-mode', because after that the local variable
9808         `org-agenda-markers' will have gone away.
9809         (org-agenda-Quit):
9810         (org-finalize-agenda): Install the marker resetter into the
9811         `kill-buffer-hook'.
9812         (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9813         all agenda buffers.
9814         (org-agenda-kill-all-agenda-buffers): New function.
9816 2012-09-30  Chris Gray  <chrismgray@gmail.com>
9818         * org-html.el (org-export-as-html): Remove the check for body-only
9819         in the code for generating tables of contents.
9821 2012-09-30  Christoph Dittmann  <github@christoph-d.de>  (tiny change)
9823         * org-beamer.el (org-beamer-auto-fragile-frames):
9824         Make [fragile] work with overlay specifications.
9826 2012-09-30  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
9828         * org-agenda.el (org-agenda-list): Ensures that the list returned
9829         by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9830         checking if the latter is empty.
9832 2012-09-30  Christophe Rhodes  <csr21@cantab.net>  (tiny change)
9834         * org-latex.el (org-export-latex-tables): Support setting the
9835         :hfmt parameter from #+ATTR_LaTeX.
9837 2012-09-30  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>  (tiny change)
9839         * org-exp.el (org-export-handle-include-files)
9840         (org-get-file-contents): Handle new parameter :addlevel.
9842 2012-09-30  Dave Abrahams  <dave@boostpro.com>  (tiny change)
9844         * org.el (org-link-prettify): New function to prettify links while
9845         displaying them with `org-insert-link'.
9846         (org-insert-link): Use the new function.
9848 2012-09-30  David Maus  <dmaus@ictsoc.de>
9850         * org-exp.el (org-export-language-setup): Use numeric character
9851         entities for proper rendering of non-UTF8 documents.
9853         * org-exp.el (org-export-language-setup): Add japanese
9854         translation.
9856 2012-09-30  Eric Schulte  <eric.schulte@gmx.com>
9858         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9860         * ob.el (org-babel-insert-result): Replace key sequence with
9861         function call.  Use a more informative flag to the local function.
9862         (org-add-protective-commas): Declare a new external function.
9864         * org-src.el (org-add-protective-commas): This should be its own
9865         function.
9866         (org-edit-src-exit): Use the new function.
9868         * org-compat.el (org-labels): Remove.
9870         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9872         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9874         * ob.el (org-babel-string-read): Don't automatically evaluate code
9875         block results which look like elisp.
9876         (org-babel-import-elisp-from-file): Raise a warning message when
9877         the process of reading code block results raises an error.
9879         * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9880         macro argument multiple times.
9882         * org.el (org-compat): Require org-compat before we first use one
9883         of its functions (a macro actually).
9885         * ob-comint.el (org-babel-comint-with-output): Don't name the
9886         filter function, but rather pass through the anonymous lambda
9887         directly.
9889         * org.el (org-babel-load-languages): Common lisp should be
9890         mentioned as a supported babel language.
9892         * org-clock.el (org-clock-special-range): "concat 'string" ->
9893         "concat"
9894         (org-clocktable-shift): "concat 'string" -> "concat"
9896         * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9897         org-labels.
9899         * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9900         calc internal representations.
9902         * org-clock.el (org-clock-special-range): Replacing cl concatenate
9903         with concat.
9904         (org-clocktable-shift): Replacing cl concatenate with concat.
9906         * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9908         * org-compat.el (org-flet): Compatibility function now that flet
9909         has been removed from cl-macs.
9910         (org-labels): Compatibility function now that labels has been
9911         removed from cl-macs.
9913         * ob-R.el (org-compat): Require org-compat.
9915         * ob-comint.el: Require org-compat.
9917         * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9918         function.
9920         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9921         compatibility function.
9923         * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9924         function.
9925         (org-babel-lob-execute): Switch to compatibility function.
9927         * ob-python.el (org-babel-python-evaluate-session): Switch to
9928         compatibility function.
9930         * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9931         function.
9933         * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9934         function.
9936         * ob-tangle.el (org-babel-load-file): Switch to compatibility
9937         function.
9938         (org-babel-tangle): Switch to compatibility function.
9939         (org-babel-spec-to-string): Switch to compatibility function.
9941         * ob.el (org-babel-view-src-block-info): Switch to compatibility
9942         function.
9943         (org-babel-execute-src-block): Switch to compatibility function.
9944         (org-babel-edit-distance): Switch to compatibility function.
9945         (org-babel-switch-to-session-with-code): Switch to compatibility
9946         function.
9947         (org-babel-sha1-hash): Switch to compatibility function.
9948         (org-babel-balanced-split): Switch to compatibility function.
9949         (org-babel-join-splits-near-ch): Switch to compatibility function.
9950         (org-babel-get-rownames): Switch to compatibility function.
9951         (org-babel-format-result): Switch to compatibility function.
9952         (org-babel-insert-result): Switch to compatibility function.
9953         (org-babel-examplize-region): Switch to compatibility function.
9954         (org-babel-merge-params): Switch to compatibility function.
9955         (org-babel-noweb-p): Switch to compatibility function.
9956         (org-babel-expand-noweb-references): Switch to compatibility
9957         function.
9959         * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9960         function.
9961         (org-bibtex-fleshout): Switch to compatibility function.
9962         (org-bibtex-read): Switch to compatibility function.
9963         (org-bibtex-write): Switch to compatibility function.
9965         * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9966         compatibility function.
9968         * org-exp.el (org-export-format-source-code-or-example): Switch to
9969         compatibility function.
9971         * org-macs.el (org-called-interactively-p): Indentation fix.
9973         * org-mouse.el (org-mouse-timestamp-today): Switch to
9974         compatibility function.
9975         (org-mouse-set-priority): Switch to compatibility function.
9976         (org-mouse-popup-global-menu): Switch to compatibility function.
9977         (org-mouse-context-menu): Switch to compatibility function.
9979         * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
9980         compatibility function.
9981         (org-plot/gnuplot-script): Switch to compatibility function.
9983         * org.el (org-entry-get): Switch to compatibility function.
9984         (org-fill-paragraph): Switch to compatibility function.
9985         (org-auto-fill-function): Switch to compatibility function.
9987         * ob-lob.el (org-babel-lob-execute): Only try to insert extant
9988         hashes.
9990         * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
9992         * ob.el (org-babel-set-current-result-hash): Change the hash of
9993         the results for the current code block.
9994         (org-babel-current-result-hash): Fix documentation.
9996         * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
9997         function if the current call line hash matches that in its
9998         results.
10000         * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
10001         a table is a sequence.
10003         * ob-R.el (org-babel-R-assign-elisp): Clean up the code
10004         implementing reads of irregular data into R.
10006         * ob.el (org-babel-header-arg-expand): In new buffers
10007         (char-before) may return nil so use equal rather than =.
10009         * ob-R.el (org-babel-header-args:R): Adding values.
10011         * ob-clojure.el (org-babel-header-args:clojure): Adding values.
10013         * ob-lisp.el (org-babel-header-args:lisp): Adding values.
10015         * ob-sql.el (org-babel-header-args:sql): Adding values.
10017         * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
10019         * ob.el (org-babel-combine-header-arg-lists): Combine lists of
10020         arguments and values.
10021         (org-babel-insert-header-arg): Use new combined header argument
10022         lists.
10023         (org-babel-header-arg-expand): Add support for completing-read
10024         insertion of header arguments after ":"
10025         (org-babel-enter-header-arg-w-completion): Completing read
10026         insertion of header arguments
10027         (org-tab-first-hook): Adding header argument completion.
10028         (org-babel-params-from-properties): Combining header argument
10029         lists.
10031         * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
10032         used on export.
10034         * ob.el (org-babel-result-to-file): New optional description
10035         argument.
10036         (org-babel-insert-result): Move description logic to another
10037         function.
10039         * ob.el (org-babel-insert-result): Change name of filelinkdescr to
10040         file-desc.
10041         (org-babel-common-header-args-w-values): Change name of
10042         filelinkdescr to file-desc.
10044         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
10045         files on windows.
10047         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10048         Org-mode blocks.
10050         * ob.el (org-babel-parse-src-block-match): Make use of the new
10051         language argument to org-babel-strip-protective-commas.
10052         (org-babel-parse-inline-src-block-match): Make use of the new
10053         language argument to org-babel-strip-protective-commas.
10054         (org-babel-strip-protective-commas): Now accepts a language
10055         argument.
10057 2012-09-30  Fabrice Niessen  <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>  (tiny change)
10059         * org-agenda.el (org-agenda-write-buffer-name): Remove the test
10060         for the presence of <style> tag.
10062 2012-09-30  Feng Shu  <tumashu@gmail.com>
10064         * org.el (org-create-formula-image-with-imagemagick):
10065         Use 'call-process to launch latex so that no shell output buffer will
10066         be shown when previewing formulas.
10068         * org.el (org-create-formula-image-with-imagemagick): Fix typo.
10070         * org.el (org-latex-create-formula-image-program): New option to
10071         use either dvipng or imagemagick to convert and preview LaTeX
10072         fragments.
10073         (org-preview-latex-fragment, org-format-latex): Handle the new
10074         option.
10075         (org-create-formula-image-with-dvipng): Rename from
10076         `org-create-formula-image'.
10077         (org-create-formula-image-with-imagemagick): New defun to handle
10078         LaTeX preview with imagemagick.
10079         (org-latex-color, org-latex-color-format): New defuns to handle
10080         color conversions.
10082         * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
10083         Allow to use imagemagick to convert LaTeX fragments.
10085         * org-html.el (org-export-html-preprocess): Ditto.
10087         * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
10089 2012-09-30  George Kettleborough  <g.kettleborough@member.fsf.org>
10091         * org-clock.el: New option `org-clock-clocked-in-display' to
10092         control whether the current clock is displayed in the mode line
10093         and/or frame title.
10095         * org-timer.el: New option `org-timer-display' to control whether
10096         the current timer is displayed in the mode line and/or frame
10097         title.
10099 2012-09-30  Hans-Peter Deifel  <hpdeifel@gmx.de>  (tiny change)
10101         * ob.el (org-babel-execute-src-block): Allow the :dir header
10102         argument to take relative file names.
10104 2012-09-30  Harri Kiiskinen  <harri@pp-kaitue.(none)>  (tiny change)
10106         * org-protocol.el: New option.
10107         (org-protocol-store-link, org-protocol-do-capture): Use it.
10109 2012-09-30  Henning Weiss  <hdweiss@gmail.com>
10111         * org-mobile.el (org-mobile-edit): Add handling of addheading,
10112         refile, archive, archive-sibling and delete edit nodes.
10113         (org-mobile-locate-entry): Olp links containing only a file are
10114         now be located correctly.
10115         (org-mobile-apply): Instead of finding the location of all target
10116         headings for edit nodes in a separate loop, they will be found
10117         immediately before applying edits.
10119         * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
10120         title.
10122 2012-09-30  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10124         * org.el (org-parse-time-string): Allow strings supported by
10125         tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
10126         starts with < and ends with >.  This means that e.g. in the
10127         clocktable parameters you can specify :tstart "<-1w>" :tend
10128         "<now>".
10130 2012-09-30  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>  (tiny change)
10132         * org-colview.el (org-columns): New argument `columns-fmt-string'.
10134         * org-colview.el (org-columns-get-format-end-top-level):
10135         Split into `org-columns-get-format' and `org-columns-goto-top-level'.
10137         * org-colview.el (org-dblock-write:columnview): Add a new
10138         parameter :format which specifies the column view format for the
10139         output of the columnview dynamic block.
10141 2012-09-30  Jambunathan K  <kjambunathan@gmail.com>
10143         * org-lparse.el (org-lparse-and-open)
10144         (org-lparse-do-convert): Open exported files with system-specific
10145         application.
10147         * org-odt.el: Don't meddle with `org-file-apps'.
10149         * org-compat.el (org-condition-case-unless-debug): Alias to
10150         `condition-case' when both `condition-case-no-debug' and
10151         `condition-case-unless-debug' is unavailable.
10153         * org-odt.el (org-odt-do-image-size): Replace `flet' with
10154         equivalent construct.
10156         * org-odt.el (org-odt-cleanup-xml-buffers):
10157         Use `condition-case-no-debug' instead of
10158         `condition-case-unless-debug'.  This ensures backward
10159         compatibility with Emacs versions < 24.1.
10161         * org-odt.el (org-odt-zip-dir)
10162         (org-odt-cleanup-xml-buffers): New.
10163         (org-export-as-odt-and-open, org-export-as-odt)
10164         (org-odt-init-outfile, org-odt-save-as-outfile)
10165         (org-export-as-odf, org-export-as-odf-and-open):
10166         Use `org-odt-cleanup-xml-buffers'.
10168         * org-odt.el (org-export-odt-default-org-styles-alist):
10169         Add default character style.
10171         * org-odt.el (org-export-odt-default-org-styles-alist):
10172         Add default character style.
10174         * org-lparse.el (org-do-lparse): Remove stray call to
10175         `org-export-html-after-blockquotes-hook'.
10177         * org-bbdb.el (org-bbdb-export): Add support for ODT format.
10179         * org-odt.el (org-odt-update-meta-file): Check for `org-version'
10180         is bound before accessing it.
10182         * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
10183         moved away from $(git-root)/contrib/odt/etc/schema/ to
10184         $(git-root)/etc/schema/.
10186         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10187         internal links destined for headlines provide a description or
10188         not.  In fact, the `org-store-link' and `org-insert-link' create
10189         internal links which do have a description.
10191         * org-lparse.el (org-lparse-insert-org-table): Consider short
10192         caption as plain text and not as org text.
10194         * org-odt.el (org-export-odt-format-formula)
10195         (org-export-odt-format-image): Ditto.
10197         * org-odt.el (org-odt-begin-table)
10198         (org-export-odt-format-formula, org-export-odt-format-image)
10199         (org-odt-format-entity): Handle short caption.
10201         * org-lparse.el (org-lparse-insert-org-table)
10202         (org-lparse-insert-list-table, org-lparse-insert-table-table):
10203         Ditto.
10205 2012-09-30  Jay McCarthy  <jay.mccarthy@gmail.com>  (tiny change)
10207         * org-colview.el (org-columns-new-overlay): Make sure to add a
10208         face to a string that has no face.
10210 2012-09-30  Jérémie Courrèges-Anglas  <jca@wxcvbn.org>  (tiny change)
10212         * org-latex.el: Ensure a final newline is appended to the export
10213         buffer.
10215 2012-09-30  Levin Du  <zslevin@gmail.com>  (tiny change)
10217         * org-clock.el (org-clock-in): Fix bug in setting the clock
10218         heading.
10220 2012-09-30  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10222         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10223         advertised by the function.
10225 2012-09-30  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10227         * org.el (org-fontify-entities): Hide {} when prettifying
10228         entities.
10230 2012-09-30  Mark Shoulson  <mark@kli.org>  (tiny change)
10232         * org-entities.el (org-entities): Add new entities for characters
10233         which could cause formatting changes if typed directly.
10235         * org-entities.el (org-entities): Add \asciicirc entity for ^;
10236         also fixed \circ expansion in latex.
10238         * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
10239         and \there4 were not "prettified" when org-pretty-entities was
10240         enabled.
10242 2012-09-30  Mats Lidell  <matsl@xemacs.org>  (tiny change)
10244         * org-element.el (org-element-paragraph-separate):
10245         Remove redundant and misplaced t clause in case.
10247 2012-09-30  Matt Lundin  <mdl@imapmail.org>
10249         * org-datetree.el: Fix regexp to allow datetree to find headings
10250         with trailing whitespace.  This fixes a bug in which an existing
10251         datetree heading (e.g., "* 2012 ") would not be found by
10252         org-datetree-find-year-create if it had trailing whitespace.
10253         This can cause problems, for instance, if one is using column view on
10254         the date tree, since editing subheadings with column view adds
10255         whitespace at the end of the top heading.
10257         * org-footnote.el (org-footnote-new): Don't call
10258         org-footnote-unique-label if org-footnote-auto-label is set to
10259         random.
10261         * org-gnus.el (org-gnus-follow-link): Fix argument to
10262         gnus-group-read-group so that following a link does not result in
10263         unread article being selected.
10265         * org-bbdb.el (org-bbdb-anniv-extract-date)
10266         (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
10267         to accommodate BBDB 3.x.  There are two major changes in BBDB 3.x
10268         that need to be taken into account.  The first is that
10269         `bbdb-split' reverses the order of its parameters in 3.x.
10270         The second is that `bbdb-record-getprop' is replaced by
10271         bbdb-record-note in 3.x.
10273 2012-09-30  Max Mikhanosha  <max@openchat.com>
10275         * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
10276         a single line of agenda by narrowing the agenda buffer to just
10277         that line before calling `org-agenda-finalize'.
10279         * org.el (org-mode): Don't set org-hide's foreground to
10280         "invisible-bg".
10281         (org-find-invisible-foreground): New function.
10283         * org-agenda.el (defvar org-habit-show-all-today): New variable
10284         (org-agenda-get-scheduled): Show all habits if user wants it
10286         * org-habit.el (defcustom org-habit-show-all-today): New variable
10288         * org-agenda.el (org-agenda-quit): Copy the code for optionally
10289         restoring window configuration after burying the sticky agenda
10290         buffer.
10292         * org-agenda.el (org-agenda-new-marker): Check for NIL
10293         org-agenda-buffer
10294         (org-agenda-to-appt): Bind org-agenda-buffer to NIL
10296         * org-agenda.el (org-agenda-change-all-lines): Move accessing of
10297         'extra text property outside of with-current-buffer for original
10298         buffer
10300         * org-agenda.el (defvar org-habit-show-habits-only-for-today):
10301         initialize to nil
10303 2012-09-30  Michael Brand  <michael.ch.brand@gmail.com>
10305         * org-id.el (org-id-link-to-org-use-id): Align the doc string to
10306         the changed default.
10308         * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
10309         when heading has no text.
10311         * org-capture.el (org-capture-inside-embedded-elisp-p):
10312         Improve parsing.
10314         * org-feed.el (org-feed-format-entry): Require `org-capture'.
10315         Expand Elisp %(...) templates.
10316         (org-feed-default-template): Update docstring.
10318         * org-capture.el (org-capture-expand-embedded-elisp):
10319         New function.
10320         (org-capture-fill-template): Use it.
10321         (org-capture-inside-embedded-elisp-p): New function to tell if we
10322         are within an Elisp %(...) template.
10324         * org-list.el (org-at-item-description-p)
10325         (org-list-item-body-column): Make the inline regexp more
10326         consistent with `org-list-full-item-re', the inline regexp
10327         "Description list items" from `org-set-font-lock-defaults and
10328         others'.
10330 2012-09-30  Mike Sperber  <sperber@deinprogramm.de>
10332         * org.el (org-fill-paragraph): Pass optional argument to
10333         `fill-paragraph' to fix compatibility with XEmacs.
10335         * org.el (org-self-insert-cluster-for-undo):
10336         Default `org-self-insert-cluster-for-undo' also on XEmacs.
10338         * org.el (org-kill-line): Access `visual-line-mode' only if it's
10339         bound.
10341 2012-09-30  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
10343         * org-timer.el (org-timer-set-mode-line):
10344         Check `org-timer-display' when value is 'off.
10346 2012-09-30  Nicolas Calderon Asselin  <nicolas.calderon.asselin@gmail.com>  (tiny change)
10348         * org-clock.el (org-clock-idle-time): Org-mode assumed that
10349         x11idle was an available command, and returned an idle time of 0
10350         if it was not
10351         (never idle): Add checks so that org-idle-time will come from
10352         emacs' own current-idle-time if x11idle cannot be found or if it
10353         cannot retrieve the idle time from X11
10355 2012-09-30  Nicolas Goaziou  <n.goaziou@gmail.com>
10357         * org-element.el: Properly remove COMMENT and QUOTE keywords from
10358         title in parser.
10360         * org-element.el (org-element-headline-parser): Fix parsing for
10361         headlines with a single COMMENT or QUOTE keyword.
10363         * ob-org.el (org-babel-default-header-args:org): By default,
10364         export code from Org src blocks.
10366         * org-element.el (org-element-inline-src-block-successor):
10367         Fix inline-src-block parsing at the beginning of an item.
10369         * org-element.el (org-element--collect-affiliated-keywords):
10370         Fix caption parsing.
10372         * org-element.el (org-element--current-element): At the very
10373         beginning of a footnote definition or an item, next element is
10374         always a paragraph.
10376         * org-element.el (org-element-headline-parser): Handle nil titles.
10377         (org-element-inlinetask-parser): Add :raw-value property.
10378         Also handle nil titles.
10380         * org.el (org-set-regexps-and-options): Don't consider tags as a
10381         replacement for a missing title in an headline.
10383         * org.el (org-setup-filling): Remove duplicate code.
10385         * org.el (org-adaptive-fill-function): Make sure fill prefix is
10386         computed from beginning of line.
10388         * org-element.el (org-element-section-parser): Make sure section
10389         cannot contain an headline.
10390         (org-element--current-element): Fix bug requiring to parse a quote
10391         section even when point is at an headline.
10393         * org.el (org-adaptive-fill-function): Remove occasional spurious
10394         space character when auto-filling.
10396         * org.el (org-mode): Call external initalizers.  Now both filling
10397         code and comments code have their own independant part in org.el.
10398         (org-setup-filling): Rename from `org-set-autofill-regexps'.
10399         (org-setup-comments-handling): New function.
10401         * org.el (org-fill-paragraph): Refine filling in comments and in
10402         paragraphs.  Allow commented blank lines.  Take into consideration
10403         the indentation of the second line of the paragraph being filled.
10404         (org-comment-or-uncomment-region): Rewrite function.  Now comment
10405         region at a fixed column: the minimal indentation of the region.
10406         (org-fill-context-prefix): Rename function into
10407         `org-adaptive-fill-function'.  Also, In a paragraph, choose the
10408         same prefix as the current line.
10410         * org-exp.el (org-export-handle-comments): Also remove comments at
10411         column 0.
10413         * org-exp.el (org-export-handle-comments): Handle inline comments
10414         with new syntax.
10416         * org.el (org-structure-template-alist): Add missing colon to
10417         #+INCLUDE.
10419         * org.el (org-backward-element): When called at the beginning of
10420         first element in section, the function shouldn't return an error
10421         but move point to headline or point-min instead.
10423         * org-element.el (org-element-paragraph-parser): Tiny refactoring.
10425         * org-element.el (org-element-paragraph-parser): Remove trailing
10426         code comments.
10428         * org.el (org-fill-context-prefix): Fix incorrect output when
10429         called at the beginning of a plain list with an affiliated
10430         keyword.
10431         (org-fill-paragraph): Remove useless variable.
10433         * org-element.el (org-element-paragraph-parser): Fix parsing of
10434         paragraph at the beginning of an item.
10436         * org.el (org-mode): Set back comment-start-skip so comment-dwim
10437         can tell a keyword from a comment.
10439         * org.el (org-set-autofill-regexps): Install new comment line
10440         break function.
10441         (org-comment-line-break-function): New function.
10442         (org-mode): Remove unnecessary line.
10444         * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
10445         fill verse blocks contents.  Verse blocks can be used to format
10446         free-form poetry, so filling has to be done manually.
10448         * org.el (org-fill-paragraph-separate-nobreak-p): New function.
10449         (org-set-autofill-regexps): Introduce new predicate.
10450         (org-fill-item-nobreak-p): Remove function.
10452         * org-element.el (org-element-paragraph-separate): Since this
10453         variable is meant to be searched forward, \end{...} shouldn't
10454         trigger the end of a paragraph before checking if it is the end of
10455         a complete environment.
10456         (org-element-latex-environment-parser): Slight change to the
10457         regexp matching the beginning of a latex environment.
10458         (org-element-paragraph-parser): Paragraphs don't end at incomplete
10459         latex environments.
10460         (org-element-latex-or-entity-successor): Remove paragraph
10461         environments from latex fragment search.
10463         * org-table.el (org-table-number-regexp): By default, accept comma
10464         as a decimal mark to represent numbers.
10466         * org-element.el (org-element-map): Fix comment typo.
10468         * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
10469         returning funny results.
10471         * org.el (org-fill-paragraph): Try not to include message header
10472         and citation lines in a paragraph when filling it.
10474         * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
10475         (org-fill-context-prefix): Fill prefix doesn't depend on current
10476         narrowing.
10478         * org.el (org-mode): Line with a single hash sign on it is a
10479         comment.
10481         * org.el (org-set-font-lock-defaults): Fix comment fontification.
10483         * org-element.el (org-element-item-parser): Do not remove tag from
10484         body if list isn't descriptive.
10486         * org-list.el (org-insert-item): Only ask about a term for
10487         descriptive lists.
10488         (org-list-struct, org-list-insert-item): Do not recognize a tag in
10489         an ordered list.
10491         * org-element.el (org-element-set-element): Rewrite function.
10492         (org-element-adopt-elements): New function.
10493         (org-element-adopt-element): Remove function.
10494         (org-element--parse-elements, org-element--parse-objects): Use new
10495         function.
10497         * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
10498         which is now hard-coded.
10499         (org-cycle-list-bullet): Hard code `bullet' rule.
10500         (org-list-get-list-type): Make sure a list with numbered bullets
10501         cannot have `descriptive' type.
10503         * org-element.el (org-element-paragraph-parser): Fix previous
10504         patch.
10506         * org.el (org-fill-paragraph): No need to use
10507         `org-element-paragraph-separate' in a verse block since blank
10508         lines only can end a "paragraph".
10510         * org-element.el (org-element-paragraph-separate): Apply changes
10511         to comments.
10512         (org-element-paragraph-parser): Correctly find end of paragraphs.
10513         (org-element--current-element): Require colons for Babel calls.
10514         (org-element-center-block-parser)
10515         (org-element-dynamic-block-parser, org-element-quote-block-parser)
10516         (org-element-special-block-parser)
10517         (org-element-comment-block-parser)
10518         (org-element-example-block-parser)
10519         (org-element-export-block-parser, org-element-src-block-parser)
10520         (org-element-verse-block-parser): Fall-back to paragraph parsing
10521         when incomplete or ill-formed.
10523         * org-element.el (org-element-swap-A-B): Small refactoring.
10525         * org-element.el (org-element-text-markup-successor): Fix typo in
10526         docstring.
10528         * org-element.el (org-element-at-point): Return consistent value
10529         when function is called on a blank line within a plain list.
10531         * org-element.el (org-element-paragraph-separate): Fix comments in
10532         paragraph separator regexp.  Optimize it.
10534         * org-element.el: Update code commets.
10536         * org.el (org-mark-subtree): Fix bug when marking subtree with
10537         point on an inlinetask.  Refactor code.
10539         * org.el (org-mark-subtree): Do not make a special case for
10540         inlinetasks when marking a subtree.  These are handled by
10541         `org-element-mark-element'.
10543         * org-element.el (org-element-comment-parser): Consider first "+"
10544         as a comment when parsing an ill-defined keyword.
10546         * org-element.el (org-element-item-interpreter): Simplify bullet
10547         creation.
10548         (org-element-plain-list-interpreter): Fix wrong bullets, if
10549         needed.
10551         * org-element.el (org-element-comment-parser): Fix parsing when a
10552         keyword follows the commented line.
10554         * org.el (org-fill-context-prefix): Auto-fill first paragraph in
10555         footnote definitions.
10557         * org.el (org-mode): Define new comment syntax.
10558         (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
10559         (org-fill-context-prefix, org-insert-comment)
10560         (org-comment-or-uncomment-region): Use new comment syntax.
10562         * org-element.el (org-element-comment-parser)
10563         (org-element-comment-interpreter, org-element--current-element):
10564         Use new comment syntax.
10566         * org.el (org-fill-paragraph): When at an item or a footnote
10567         definition, fill first paragraph instead.
10569         * org.el (org-fill-paragraph): Fix filling when point is at the
10570         very end of a paragraph.
10572         * org.el (org-mode): Set comments related variables.
10573         (org-insert-comment, org-comment-or-uncomment-region):
10574         New functions.
10576         * org.el (org-fill-context-prefix): Small refactoring.
10577         (org-fill-paragraph): Add code comments.
10579         * org-element.el (org-element-at-point): Add :parent property to
10580         output.
10581         (org-element-context): Add :parent property to output.
10582         Also return a single element or object instead of a list of parents.
10583         (org-element-forward, org-element-up): Apply changes.
10585         * org.el (org-fill-context-prefix): New function.
10586         (org-fill-paragraph, org-auto-fill-function): Use new function.
10587         Also handle comments.
10588         (org-adaptive-fill-function): Remove function.
10589         (org-get-local-variables, orgstruct++-mode): Don't store now
10590         unused adaptive-fill* functions.
10592         * org-element.el (org-element-at-point): Fix function when buffer
10593         starts with an inlinetask.  Also fix it when called on the last
10594         element in a greater element or the buffer.
10596         * org-element.el (org-element-center-block-parser)
10597         (org-element-dynamic-block-parser)
10598         (org-element-footnote-definition-parser)
10599         (org-element-headline-parser, org-element-inlinetask-parser)
10600         (org-element-quote-block-parser, org-element-special-block-parser)
10601         (org-element-plain-list-parser): Refactor code.
10602         (org-element-drawer-parser): Fall-back to paragraph parser when
10603         drawer is incomplete.
10605         * org-macs.el (org-with-limited-levels): Fix typo.
10607         * org-element.el (org-element-paragraph-separate): Refactor.
10608         (org-element-paragraph-parser): Fix paragraph parsing.
10610         * org.el (org-fill-paragraph): Rewrite function using
10611         `org-element-at-point'.
10613         * org-element.el (org-element-fill-paragraph): Remove function.
10615         * org.el (org-planning-or-clock-line-re): Make it a defconst.
10616         It's no use to make it a buffer-local variable since variables on
10617         which it depends are not buffer-local anyway.
10619         * org.el (org-drawer-regexp): Provide default value for
10620         `org-drawer-regexp' in non-Org buffers.
10622         * org-entities.el (org-entities-create-table): Function chokes
10623         when CAR of `org-entities' is a string.
10625         * org-list.el (org-list-automatic-rules): Allow check-boxes in
10626         description lists.
10627         (org-list-struct-apply-struct, org-insert-item): Remove rule
10628         check.
10630         * org-footnote.el (org-footnote-normalize): Fix positionning in
10631         HTML export without a footnote section.
10633         * org-list.el (org-list-struct-indent):
10634         Follow `org-list-demote-modify-bullet' specifications for ordered
10635         bullets.
10636         (org-list-indent-item-generic, org-indent-item-tree)
10637         (org-outdent-item-tree): Fix bug when operating on a region.
10638         (org-outdent-item, org-indent-item): Allow to operate on a region.
10640         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10641         on a region.
10643         * org-footnote.el (org-footnote-delete-definitions): Remove blank
10644         lines before the footnote definition instead of removing those
10645         after it.
10647         * org-footnote.el (org-footnote-at-definition-p): Don't grab
10648         trailing blank lines in a footnote definition.
10649         (org-footnote-delete-definitions): Remove both footnote definition
10650         and trailing blank lines.
10652 2012-09-30  Rick Frankel  <rick@rickster.com>
10654         * ob-sql.el: Add dbi engine type and pre/post processing.
10656 2012-09-30  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
10658         * ob.el (org-babel-expand-noweb-references): Capture current noweb
10659         start and end patterns then use to set buffer locals in
10660         (with-temp-buffer) form.
10662 2012-09-30  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
10664         * org.el (org-update-all-dblocks): Autoload function.
10666 2012-09-30  Simon Thum  <simon.thum@gmx.de>  (tiny change)
10668         * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10669         return a string.
10671 2012-09-30  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
10673         * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10674         meaning.
10676 2012-09-30  Stuart Hickinbottom  <stuart@hickinbottom.com>  (tiny change)
10678         * org-clock.el (org-x11idle-exists-p): Only shell out when running
10679         on X.
10681 2012-09-30  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
10683         * org-html.el (org-export-as-html): If possible, use the
10684         :CUSTOM_ID: property to assign unique ids to footnotes.
10686 2012-09-30  T.F. Torrey  <tftorrey@tftorrey.com>  (tiny change)
10688         * org-exp.el (org-export-remember-html-container-classes):
10689         Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10691         * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10692         of `widen' and don't toggle header as `rmail-widen' already takes
10693         care of this.
10695 2012-09-30  Tim Howe  <vsync@quadium.net>  (tiny change)
10697         * org-clock.el (org-clocktable-defaults): Revert extra layer of
10698         quoting.
10700 2012-09-30  Toby S. Cubitt  <tsc25@cantab.net>
10702         * org-capture.el (org-capture-fill-template): Expand %<num> escape
10703         sequences into text entered for <num>'th %^{PROMPT} escape.
10705         * org-capture.el (org-capture-fill-template): Fix regexp for
10706         %<n> expandos to match any positive integer.
10707         (org-capture-templates): Update docstring accordingly.
10709         * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10710         Skip timestamp items in agenda view if item is already shown as a
10711         deadline item.
10712         (org-agenda-skip-deadline-if-done): Pass deadline results to
10713         org-agenda-get-timestamps.
10714         (org-agenda-get-timestamps): Optionally take list of deadline
10715         results, so that timestamp results can be skipped if already
10716         included in deadline results.
10718         * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10719         deadline/scheduling information to be displayed in diary sexp
10720         agenda items.
10721         (org-agenda-get-sexps): Extract deadline/scheduling information
10722         from diary sexp entries.
10724         * org-capture.el (org-capture-place-entry): Place captured entry
10725         immediately after last subheading of target, instead of just
10726         before next heading at same level as target.
10728         * org-capture.el (org-capture-templates): Document new capture
10729         template properties.
10731         * org-capture.el (org-capture-place-entry)
10732         (org-capture-empty-lines-before): Make new :empty-lines-before
10733         property override :empty-lines when inserting empty lines before
10734         captured captured entry.
10736         * org-capture.el (org-capture-finalize)
10737         (org-capture-empty-lines-after): Make new :empty-lines-after
10738         property override :empty-lines when inserting empty lines after
10739         captured captured entry.
10741         * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10742         Add new todo-unblocked and nottodo-unblocked skip conditions.
10743         These match as for todo and nottodo, but only for unblocked todo items.
10745 2012-09-30  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10747         * org.el (org-read-date-display): Fix bug when displaying the
10748         overlay.
10750 2012-09-30  Niels Giesen  <niels.giesen@gmail.com>
10752         * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10753         When present, the :hline following the head will be skipped.
10754         This is necessary to avoid doubling of horizontal rules in LaTeX
10755         longtable environments and consequent width problems.
10757         * org-latex.el (org-export-latex-tables-tstart)
10758         (org-export-latex-tables-hline)
10759         (org-export-latex-tables-tend): New options.
10760         (org-export-latex-tables): Use the new options.
10762 2012-09-30  Feng Shu  <tumashu@gmail.com>  (tiny change)
10764         * org-exp.el (org-export-language-setup): Add simplified chinese
10765         translation.
10767 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
10769         Better seed support for (random).
10770         * org-id.el (org-id-uuid):
10771         Change (random t) to (random), now that the latter is more random.
10773 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
10775         Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10776         * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10777         (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10778         (ly-w32-midi-path): Rename from ly-win32-midi-path.
10779         (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10780         Check for "windows-nt", not "win32", in system-type.
10782 2012-06-02  Chong Yidong  <cyd@gnu.org>
10784         * org-clock.el (org-clock-string-limit)
10785         (org-clock-modeline-total, org-clock-task-overrun-text)
10786         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10788 2012-05-27  Mark Shoulson  <mark@kli.org>  (tiny change)
10790         * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10791         \there4 were not "prettified" when org-pretty-entities was enabled.
10793 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10795         * org.el (org-font-lock-add-priority-faces):
10796         Restrict priorities fontification to headlines and inlinetasks.
10798 2012-05-27  Jambunathan K  <kjambunathan@gmail.com>
10800         * org-odt.el (org-odt-init-outfile)
10801         (org-odt-write-manifest-file):
10802         Disable `nxml-auto-insert-xml-declaration-flag'.
10804         * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10806 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10808         * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10810 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10812         * ob.el (org-babel-capitalize-examplize-region-markers):
10813         Controls the capitalization of begin and end example blocks.
10814         (org-babel-examplize-region):
10815         Optionally capitalize example block delimiters.
10817         * ob-plantuml.el (org-babel-execute:plantuml):
10818         Add a :java header argument to plantuml.
10820         * org-exp-blocks.el (org-export-blocks-preprocess):
10821         Even when the body of a block is not indented the boundary markers
10822         should be indented to their original positions so things like list
10823         indentation still work.
10825         * ob.el (org-babel-parse-src-block-match):
10826         Save match data during indentation check.
10828 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10830         * org.el (org-scan-tags): Correctly match TODO keywords.
10832 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10834         * org-list.el (org-list-struct): Fix white spaces.
10835         (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10837         * org-list.el (org-list-swap-items, org-list-send-item):
10838         Preserve visibility when moving items.
10840 2012-05-27  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10842         * org.el (org-fontify-entities): Hide {} when prettifying entities.
10844 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10846         * org.el (org-cycle-internal-global): Prevent the display of
10847         messages when cycling from with a Gnus article buffer.
10849         * org-table.el (org-table-time-seconds-to-string):
10850         Fix bug about handling a negative duration value.
10852 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10854         * org.el (org-link-expand-abbrev): Fix docstring.
10856         * org.el (org-translate-link): Fix bug.
10858 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10860         * org-agenda.el (org-agenda-bulk-mark-regexp):
10861         Fix bug when setting the number of marked entries.
10863         * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10864         (org-set-calc-mode, org-table-eval-formula): Use it.
10866 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10868         * ob.el (org-babel-find-named-result):
10869         Fix bug finding empty named results.
10871 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10873         * org.el (org-set-regexps-and-options):
10874         Fix `org-planning-or-clock-line-re' regexp.  Indeed "\\>" will never
10875         match since time keywords must end with colons, which are not word
10876         constituents.
10878 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10880         * org-ctags.el (org-ctags-new-topic-template):
10881         Fix the option default value back again.
10883 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10885         * org-bibtex.el (org-bibtex-export-to-kill-ring):
10886         Don't rely on kill-new to return a string.
10888         * org-bibtex.el (org-bibtex-headline):
10889         Remove call to bibtex-reformat which often hangs.
10891 2012-04-27  Glenn Morris  <rgm@gnu.org>
10893         * org-ctags.el (org-ctags-new-topic-template):
10894         Revert 2012-04-09 removal of * from defcustom value, not doc.
10896 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10898         * org-table.el (org-table-number-fraction): Fix typo.
10900 2012-04-27  Eric Schulte  <eric.schulte@gmx.com>
10902         * ob-python.el (org-babel-execute:python): Ensure newline precedes
10903         automatically-added returns.
10905 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10907         * org-mouse.el (org-mode-hook): Do not move point when clicking on
10908         a footnote reference.
10910 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10912         * org-faces.el (org-date-selected): Fix docstring.
10914 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10916         * org-list.el (org-list-struct-indent):
10917         Follow `org-list-demote-modify-bullet' specifications for ordered
10918         bullets.
10919         (org-list-indent-item-generic, org-indent-item-tree)
10920         (org-outdent-item-tree): Fix bug when operating on a region.
10921         (org-outdent-item, org-indent-item): Allow to operate on a region.
10923         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10924         on a region.
10926 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10928         * org-footnote.el (org-footnote-normalize): Fix positioning in
10929         HTML export without a footnote section.
10931 2012-04-27  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10933         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10934         advertised by the function.
10936 2012-04-27  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10938         * org.el (org-read-date-display): Fix bug when displaying the
10939         overlay.
10941 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10943         * org.el (org-mode): Don't use `buffer-face-mode' by default.
10945 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10947         * org-faces.el (org-date-selected): New face.
10949 2012-04-27  Jambunathan K  <kjambunathan@gmail.com>
10951         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10952         internal links destined for headlines provide a description or
10953         not.  In fact, the `org-store-link' and `org-insert-link' create
10954         internal links which do have a description.
10956 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10958         * org-clock.el (org-program-exists): Fix docstring.
10960 2012-04-14  Bastien Guerry  <bzg@gnu.org>
10962         * org.el (org-point-at-end-of-empty-headline): Only try to match
10963         `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10964         modes.
10965         (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10966         to fontify beyond (point-max).
10968         * org-clock.el (org-clock-task-overrun-text)
10969         (org-task-overrun, org-clock-get-clock-string)
10970         (org-clock-update-mode-line)
10971         (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10972         and `org-task-overrun-text' to `org-clock-task-overrun' and
10973         `org-clock-task-overrun-text' respectively.
10974         (org-task-overrun-text): New alias.
10976         * org-table.el (org-table-eval-formula): Fix bug about handling
10977         remote references as durations.
10978         (org-table-get-range): Fix bug: make sure references to $0 are
10979         correctly handled.
10981         * org-pcomplete.el (pcomplete/org-mode/file-option):
10982         Fix bug in `pcomplete/org-mode/file-option'.
10983         (org-thing-at-point): Also match line options like LATEX_CLASS
10984         when pcompleting from LATEX_.
10986         * org-agenda.el (org-agenda-filter-make-matcher)
10987         (org-agenda-filter-apply): Allow filtering entries out by
10988         category.  Using `C-u <' from the agenda view will redisplay
10989         the agenda without entries from categories of the current line.
10991 2012-04-14  Eric Schulte  <eric.schulte@gmx.com>
10993         * ob-C.el (org-babel-C-ensure-main-wrap):
10994         Add an explicit return to automatically generated main methods.
10996 2012-04-14  Matt Lundin  <mdl@imapmail.org>
10998         * org.el (org-after-todo-state-change-hook):
10999         Fix docstring to reflect name change of state to `org-state'.
11001 2012-04-14  Mike Sperber  <sperber@deinprogramm.de>  (tiny change)
11003         * org-footnote.el (org-footnote-normalize):
11004         Correctly pass keyword arguments to `org-export-preprocess-string'.
11006 2012-04-03  Bastien Guerry  <bzg@gnu.org>
11008         * org.el (org-todo): Fix regression: rename `state' to
11009         `org-state'.
11010         (org-use-effective-time): Fix group and type.
11012 2012-04-02  Bastien Guerry  <bzg@gnu.org>
11014         * org-clock.el (org-clock-out-if-current): Fix regression: rename
11015         `org-clock-state' to `org-state' to match the name of the
11016         dynamically-scoped variable in `org-todo'.
11018         * org-agenda.el (entry, org-diary, org-class): Fix regression:
11019         rename `org-entry' to `entry'.
11021 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11023         * org.el (org-todo): Fix regression in `org-todo'.
11025 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11027         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
11028         C files on windows.
11030 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11032         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
11033         Org-mode blocks.
11035         * ob.el (org-babel-parse-src-block-match): Make use of the new
11036         language argument to org-babel-strip-protective-commas.
11037         (org-babel-parse-inline-src-block-match): Make use of the new
11038         language argument to org-babel-strip-protective-commas.
11039         (org-babel-strip-protective-commas): Now accepts a language
11040         argument.
11042 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11044         * org.el (org-fast-tag-selection): Fix an bug when listing tags
11045         for completion.
11047 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11049         * org.el (org-delete-property-globally): Fix a bug that left
11050         blank line in place of the property, instead of removing the line.
11052 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11054         * ob-maxima.el (org-babel-maxima-command): Add group information
11055         to the defcustom.
11057 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11059         * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
11060         face to 'org-default.
11062 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11064         * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
11065         in links.
11067 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11069         * org.el: Prevent a bug while defining the menu by requiring
11070         `org-beamer' when necessary.
11072 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11074         * org-table.el (orgtbl-self-insert-command):
11075         Use `backward-delete-char' instead of `delete-backward-char' as this
11076         last command gets caught by the compiler which says to not use it
11077         in programs.  `backward-delete-char' is just an alias for
11078         `delete-backward-char' which is internally remapped to
11079         `org-delete-backward-char' for optimization purpose.
11081 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11083         * org-latex.el (org-export-latex-subcontent): Bugfix: when
11084         `org-export-latex-low-levels' is nil, do not export low levels.
11086 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11088         * ob.el (org-babel-insert-result): Fix bug in indented wrapped
11089         results insertion.
11091 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11093         * org.el (org-set-tags): Include `org-tag-alist' in the list of
11094         possible completions, even when there are tags defined in the
11095         buffer.
11097 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11099         * org.el (org-set-tags): Don't add a column when there is only one
11100         tag offered for completion.
11102 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11104         * org.el (org-fast-tag-selection): Include tags from
11105         `org-tag-alist' when completing with the TAB key.
11107 2012-04-01  Shoji Nishimura  <nishimura.shoji@gmail.com>  (tiny change)
11109         * org.el (org-display-inline-images): Honor the ̀beg' parameter.
11111 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11113         * org-latex.el (org-export-latex-subcontent): Don't insert a
11114         linebreak when itemizing a subtree that is just a headline.
11116 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11118         * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
11119         parsing inline call_foo lines.
11121 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11123         * ob-maxima.el (org-babel-maxima-command): The maxima command used
11124         should be configurable (defaults to maxima-command if defined).
11125         (org-babel-execute:maxima): The maxima command used should be
11126         configurable (defaults to maxima-command if defined).
11128 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11130         * ob-C.el (org-babel-C-execute): Add the local directory to the
11131         library search path for C/C++ block compilation.
11133 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11135         * ob.el (org-babel-where-is-src-block-result): Don't truncate
11136         results name on call line execution.
11138 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11140         * org-colview.el (org-columns-cleanup-item): Handle case of empty
11141         headline.
11143 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11145         * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
11146         export error when a src block produces fake footnotes.
11148 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11150         * org.el (org-read-date): Don't mention `parse-time-weekdays' and
11151         `parse-time-months' in the docstring.
11153 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11155         * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
11156         binding.
11158 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11160         * org-colview.el (org-columns-compute): Also consider inline tasks
11161         when computing the sum.
11163 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11165         * org-habit.el (org-habit-insert-consistency-graphs):
11166         Fix alignment of consistency graph in filtered agenda view.
11168 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11170         * org-latex.el (org-export-as-latex): Fix bug in setting the
11171         export directory according to the LaTeX options.
11173 2012-04-01  K.Nagashima  <uni.naga@gmail.com>  (tiny change)
11175         * org.el (org-show-subtree): Make interactive.
11177 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
11179         * org-clock.el (org-clock-get-table-data): Make sure todo-only
11180         does not leak when it is set by make-org-tags-macher.
11182 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11184         * org.el (org-cycle-internal-local): Don't try to hide drawers
11185         within subtrees in this function, it slows cycling down.
11187 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11189         * org-agenda.el (org-agenda-custom-commands-local-options):
11190         Fix incorrect custom option definition.
11192 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11194         * org-colview.el (org-columns-display-here): Bugfix: use the date
11195         as the value for the ITEM column when displaying a summary.
11197 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11199         * ob-lilypond.el: Re-direct homepage to Worg.
11201 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11203         * ob-lilypond.el: Leave versioning to Org.
11205 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11207         * ob-lilypond.el: Fix compiler warning.
11209 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11211         * org-odt.el (org-odt-format-entity-caption): Enumerate entities
11212         that have either a caption or a label.
11213         (org-odt-label-styles, org-odt-category-map-alist): Add a
11214         separator between sequence number and caption.  Introduced two
11215         new label styles for handling of math formula and math label.
11216         (org-odt-format-label-definition)
11217         (org-export-odt-format-formula): Propagate above changes.
11219 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11221         * org.el (org-enforce-todo-dependencies): Fix docstring.
11223 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11225         * org-odt.el (org-export-odt-category-strings): New custom
11226         variable.
11227         (org-odt-category-map-alist): Modify interpretation.
11228         Don't use the same field to double up as both a OpenDocument
11229         variable and a category string.  Entries in this list now
11230         specify only the OpenDocument variable.  Category strings are
11231         obtained through an indirect lookup of
11232         `org-export-odt-category-strings'.  Use same OpenDocument
11233         variables as what LibreOffice uses for various entities.
11234         Fix docstring.
11235         (org-odt-add-label-definition)
11236         (org-odt-format-label-definition)
11237         (org-odt-format-label-reference): Propagate above changes.
11239 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11241         * org-latex.el (org-export-as-latex): Check TeX-master correctly.
11243 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11245         * org-odt.el (org-odt-category-map-alist): Update docstring.
11246         (org-export-odt-user-categories)
11247         (org-export-odt-get-category-from-label)
11248         (org-odt-get-label-category-and-style): Remove.
11249         (org-odt-add-label-definition): Propagate above changes.
11251 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11253         * org.el (org-refile): Don't allow creation of parents when using
11254         the refile command to go to a headline.
11256 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11258         * org-odt.el (org-odt-format-org-link): Resolve links to headlines
11259         as section numbers only if section numbering is on.
11261 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11263         * org.el (format-spec): Require 'format-spec.
11265 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11267         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
11269 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11271         * org.el (org-imenu-get-tree): Check that looking-at succeeds
11272         before using match results.
11274 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11276         * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
11278 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11280         * org-lparse.el (org-do-lparse): Make effective setting of
11281         `org-export-headline-levels' available to the ODT exporter.
11282         Also remove some stale comments.
11284 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11286         * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
11287         per-language string for "Table Of Contents".
11289 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11291         * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
11293 2012-04-01  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
11295         * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
11296         the libary name.
11298 2012-04-01  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
11300         * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
11301         case-fold-search is bound to nil globally, the
11302         (case-fold-search t) doesn't work until we get to the body.
11304 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11306         * org-latex.el (org-export-latex-tables): Allow to use
11307         sidewaystable.
11309 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11311         * ob.el (org-babel-expand-noweb-references): Fix bug in src name
11312         regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
11314 2012-04-01  David Maus  <dmaus@ictsoc.de>
11316         * org.el (org-scan-tags): Require one or more spaces (+) between
11317         keyword and headline.
11319 2012-04-01  David Maus  <dmaus@ictsoc.de>
11321         * org-agenda.el (org-prepare-agenda): Don't reset
11322         `org-done-keywords-for-agenda' when `org-agenda-multi'.
11324 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11326         * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
11327         while inserting habit graph in the agenda buffer.
11329 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11331         * org-src.el (org-src-edit-buffer-p): New function.
11333 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11335         * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
11336         being checked.  Also enhance the docstring a bit.
11338 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11340         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
11341         display of indirect agenda window.
11343 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11345         * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
11346         compatibility bug.
11348 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
11350         * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
11351         to tags-list and org-trust-scanner-tags to t while evaluating the
11352         matcher, since the matcher is always evaluated at the current
11353         entry.
11355 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11357         * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
11358         evaluating the matcher, since the matcher is always evaluated at
11359         the current entry.
11361 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11363         * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
11364         quoting expression.
11366 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11368         * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
11369         argument.
11370         (org-babel-noweb-p): The "eval" argument only expands during
11371         evaluation.
11373 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11375         * ob.el (org-strip-protective-commas): Declared.
11377         * org-agenda.el (org-agenda-filtered-by-category): Declared.
11378         (org-agenda-filter-apply): Capture free variable.
11380         * org-footnote.el (org-skip-whitespace): Declared.
11382         * org-mobile.el (org-agenda-filter): Declared.
11384         * org-src.el (org-strip-protective-commas): Declared.
11386 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11388         * org.el (org-version): Add autoload cookie.
11390 2012-04-01  David Maus  <dmaus@ictsoc.de>
11392         * org-attach.el (org-attach-store-link-p): Remove spurious quote
11393         in customization form choice.
11395 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11397         * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
11398         (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
11399         execution.
11401 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11403         * ob.el (org-babel-insert-result): Ensure correct order for empty
11404         result wrapping blocks.
11406 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11408         * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
11409         and add easy pdf generation in the form of `ly-gen-pdf' variable.
11411 2012-04-01  Deech  <deech@deech-ThinkPad-X200.none>  (tiny change)
11413         * ob-tangle.el (org-babel-spec-to-string): The link generated by
11414         org-store-link is escaped twice when tangling with ":comments yes"
11415         flag.
11417 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11419         * org-html.el (org-export-as-html): Remove another useless space
11420         before tag.
11422 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11424         * org-html.el (org-export-as-html): Remove another useless space
11425         before tag.
11427 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11429         * org-html.el (org-export-as-html): Remove useless space before
11430         tag.
11432 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11434         * org.el (org-version): Add autoload cookie.
11436 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11438         * org.el (org-get-category): Save match data.
11440 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11442         * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
11443         :tangle is specified.
11445         * ob.el (org-babel-expand-noweb-references): Widen buffer when
11446         expanding noweb references.
11448 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11450         * ob-table.el (sbe): Don't accidentally leave a `t' value when
11451         variables are force interpreted as strings.
11453 2012-04-01  David Maus  <dmaus@ictsoc.de>
11455         * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
11456         (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
11458 2012-04-01  David Maus  <dmaus@ictsoc.de>
11460         * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
11461         (bbdb-search-organization): Declare functions to silence byte
11462         compiler.
11464 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11466         * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
11467         repeating tasks using .+n and ++n syntax.
11469 2012-04-01  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
11471         * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
11472         heading that has a date but no todo keyword.
11474 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11476         * ob.el (org-babel-find-named-result): Fix code block replacement
11477         with results.
11479 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11481         * org-footnote.el (org-footnote-normalize): Do not normalize
11482         labels when sort-only is non-nil.
11484 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11486         * org-footnote.el (org-footnote-normalize): Remove an useless part
11487         of the function.
11488         (org-insert-footnote-reference-near-definition): Remove function.
11490 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11492         * org-footnote.el (org-footnote-normalize): Fix normalization of
11493         inline footnotes with no footnote section.
11495 2012-04-01  David Maus  <dmaus@ictsoc.de>
11497         * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
11498         to check for old or new version by a check for the required
11499         function in `org-bbdb-open' and `org-bbdb-store-link'.
11500         (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
11501         to be used.
11503 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11505         * ob.el (org-babel-find-named-result): Don't miss a code block
11506         when there are confounding spaces after the result name.
11508 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11510         * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
11511         regular expressions.
11512         (org-babel-inline-lob-one-liner-regexp): Less greedy regular
11513         expressions.
11515 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11517         * ob.el (org-babel-examplize-region): Fix bug in examplization.
11519 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11521         * org.el (org-link-search): Search for #+name affiliated keywords
11522         and invisible targets.
11524 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11526         * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
11527         newlines in a transcoded footnote definition.  This ensures that
11528         the line that is currently being processed by `org-do-lparse' loop
11529         doesn't get broken up into multiple lines.  Fix for the following
11530         bug -
11532 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11534         * org-footnote.el (org-footnote-normalize): Force a paragraph
11535         break after the last footnote definition.  This is an an implicit
11536         assumption made by the org-lparse.el library.  With this change,
11537         footnote definitions can reliably be exported with ODT backend.
11538         See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
11540 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11542         * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
11544 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11546         * org-list.el (org-list-struct): Fix small bug introduced by
11547         commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
11549 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11551         * ob-ditaa.el (org-ditaa-jar-path): Already defined in
11552         org-exp-blocks.el.
11554         * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
11555         for the fact that this is really now a Babel thing -- even if it
11556         is used here and the definition should remain here for reasons of
11557         load dependencies.
11559 2012-04-01  David Maus  <dmaus@ictsoc.de>
11561         * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
11562         defined after bbdb was loaded.
11564 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11566         * org-latex.el (org-export-latex-tables): Don't add spurious
11567         preceding newline if caption is not above a longtable.
11569 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11571         * org-odt.el (org-odt-insert-toc): Remove this stray,
11572         dysfunctional routine.  This possibly has crept in because of the
11573         broken merges between "maint" and "origin" branches.
11574         (org-odt-begin-table): Don't emit an empty paragraph when a table is
11575         neither labeled nor captioned.
11576         (org-odt-init-outfile): Remove reference to an unused variable.
11578 2012-04-01  Viktor Rosenfeld  <listuser36@googlemail.com>
11580         * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
11581         SQL code blocks.
11583 2012-04-01  Andreas Leha  <andreas.leha@med.uni-goettingen.de>
11585         * ob.el (org-babel-goto-named-src-block): Pushing the point to the
11586         org-mark-ring and guessing at the code block name to jump to.
11588 2012-04-01  David Maus  <dmaus@ictsoc.de>
11590         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
11591         of indirect buffer and window.
11593 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11595         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11596         in verse blocks.
11598 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11600         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11601         in verse blocks.
11603 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11605         * org-exp.el (org-table-clean-before-export): Ignore table rows
11606         defining parameters for formulas during export.
11608 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11610         * org-list.el (org-list-get-item-number): New function.
11612 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11614         * org-list.el (org-list-ending-method, org-list-end-regexp):
11615         Remove variables.
11616         (org-in-item-p, org-list-separating-blank-lines-number)
11617         (org-list-parse-list, org-list-struct): Apply changes.
11619         * org-exp.el (org-export-mark-list-end)
11620         (org-export-mark-list-properties): Apply changes.
11622         * org-latex.el (org-export-latex-lists): Apply changes.
11624 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11626         * org.el (org-cycle-internal-local): Correctly unfold headlines
11627         containing an inlinetask.
11629 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11631         * org.el (org-structure-template-alist): Fix missing angle
11632         brackets for muse export style.
11634 2012-04-01  David Maus  <dmaus@ictsoc.de>
11636         * org.el (org-recenter-calendar): Use `with-selected-window' to
11637         select calendar window and save currently selected window and
11638         current buffer.
11640 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11642         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11643         argument set, otherwise not only are headlines in the current
11644         subtree excluded, but it throws an error if point happens not to
11645         be within a subtree (e.g. at start of buffer).
11647 2012-04-01  David Maus  <dmaus@ictsoc.de>
11649         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11651 2012-04-01  David Maus  <dmaus@ictsoc.de>
11653         * org-clock.el (org-in-clocktable-p): Move to org.el.
11655         * org.el (org-in-clocktable-p): New function.  Moved from
11656         org-clock.el.
11658 2012-04-01  David Maus  <dmaus@ictsoc.de>
11660         * org-exp.el (org-export-get-title-from-subtree): Don't format
11661         tags in title if title headline does not have tags.
11663 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11665         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11666         inline tasks too.
11668 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11670         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11671         Delay it till the end of export.
11672         (org-odt-begin-document-body): Make a note of the default
11673         position of TOC in `org-lparse-dyn-first-heading-pos'.
11674         (org-odt-insert-toc): Insert TOC as directed by
11675         [TABLE-OF-CONTENTS] line or at the default position.
11676         (org-odt-end-export): Call `org-odt-insert-toc'.
11678 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11680         * org.el (org-preview-latex-fragment): Throw an error when called
11681         from a non-file buffer.
11683 2012-04-01  David Maus  <dmaus@ictsoc.de>
11685         * org-capture.el (org-capture-place-item): Don't search for
11686         position in existing list if :exact-position was supplied.
11688 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11690         * org.el (org-set-font-lock-defaults): Fix bug in done headline
11691         fontification.
11693 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11695         * org-odt.el (org-odt-format-textbox): Honor user-specified width
11696         in captioned images.
11698 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11700         * org.el (org-update-property-plist): Fix bug in property list
11701         updates.
11703 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11705         * ob.el (org-babel-balanced-split): Explicit checking if list
11706         before calling member.
11708 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11710         * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11711         as the separator to `org-table-convert-region'.  Fixes errors when
11712         only one result per line of output.
11714 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11716         * ob.el (org-babel-strip-protective-commas):
11717         Use `org-strip-protective-commas'.
11719         * org-exp.el (org-export-select-backend-specific-text):
11720         Use `org-strip-protective-commas'.
11722         * org-src.el (org-edit-src-code):
11723         Use `org-strip-protective-commas'.
11725         * org.el (org-strip-protective-commas): Single definition for this
11726         functionality.
11728 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11730         * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11732 2012-04-01  David Maus  <dmaus@ictsoc.de>
11734         * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11735         Run before the finalization process starts.
11736         (org-capture-finalize): Run new hook.
11738 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11740         * org.el (org-entry-get): Generalize to multiple "prop+"
11741         properties.
11743 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11745         * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11746         the `org-src-mode-map'.
11748 2012-04-01  David Maus  <dmaus@ictsoc.de>
11750         * org.el (org-recenter-calendar): Use `with-selected-window' to
11751         select calendar window and save currently selected window and
11752         current buffer.
11754 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11756         * org-list.el (org-list-ending-method, org-list-end-regexp):
11757         Remove variables.
11758         (org-in-item-p, org-list-separating-blank-lines-number)
11759         (org-list-parse-list, org-list-struct): Apply changes.
11761         * org-exp.el (org-export-mark-list-end)
11762         (org-export-mark-list-properties): Apply changes.
11764         * org-latex.el (org-export-latex-lists): Apply changes.
11766 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11768         * org.el (org-entry-get): Accumulate properties from subtree
11769         property drawers.
11771 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11773         * org.el (org-entry-get): Accumulate properties from subtree
11774         property drawers.
11776 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11778         * org-odt.el (org-export-odt-image-size-probe-method)
11779         (org-odt-do-image-size): Use imagemagick preferentially to
11780         determine image sizes.
11782 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11784         * org-odt.el (org-export-as-odt-to-buffer)
11785         (org-replace-region-by-odt, org-export-region-as-odt):
11786         Remove these interactive functions.  They are of questionable value.
11788 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11790         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11791         argument set, otherwise not only are headlines in the current
11792         subtree excluded, but it throws an error if point happens not to
11793         be within a subtree (e.g. at start of buffer).
11795 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11797         * org-exp.el (org-export-kill-product-buffer-when-displayed)
11798         (org-export-initial-scope, org-export-date-timestamp-format)
11799         (org-export-with-tasks, org-export-email-info)
11800         (org-export-table-remove-empty-lines): Add version tag.
11802 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11804         * org.el (org-cycle-internal-local): Correctly unfold headlines
11805         containing an inlinetask.
11807 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11809         * org-clock.el (org-clock-out): Do not delete the current clocking
11810         task when org-clock-out-hook clocks in another task.
11812 2012-04-01  David Maus  <dmaus@ictsoc.de>
11814         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11816 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11818         * org-odt.el (org-export-odt-convert-processes): Re-define
11819         (org-export-odt-convert-capabilities): Fix an accidental
11820         regression.
11822 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11824         * org-odt.el (org-export-odt-convert-capabilities): Change the
11825         default value.
11827 2012-04-01  David Maus  <dmaus@ictsoc.de>
11829         * org-clock.el (org-in-clocktable-p): Move to org.el.
11831         * org.el (org-in-clocktable-p): New function.  Moved from org-clock.el.
11833 2012-04-01  David Maus  <dmaus@ictsoc.de>
11835         * org-exp.el (org-export-get-title-from-subtree): Don't format
11836         tags in title if title headline does not have tags.
11838 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11840         * org-footnote.el (org-blank-before-new-entry)
11841         (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11842         declarations.
11844 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11846         * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11847         and C-e behavior with visual lines.
11849 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11851         * org-exp-blocks.el (org-export-blocks): Change the name of
11852         exporting comment blocks given that it seems regular comment
11853         blocks no longer export.
11855 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11857         * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11858         export buffer.
11859         (org-babel-exp-in-export-file): Access current export buffer.
11860         (org-babel-exp-src-block): Access current export buffer.
11861         (org-babel-exp-inline-src-blocks): Access current export buffer.
11863 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11865         * ob-exp.el (org-babel-exp-in-export-file)
11866         (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11867         Allow org-current-export-file to contain a buffer.
11869 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11871         * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11872         with `shell-command-to-string'.
11874 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11876         * org-footnote.el (org-footnote-create-definition): Fix space
11877         insertion when creating a new footnote.  This fixes newline
11878         munching when `org-footnote-section' is nil and blank lines
11879         stacking when it isn't nil.
11881 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11883         * org-footnote.el (org-footnote-normalize): Make sure that
11884         footnotes are moved to a single place during export.
11886 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11888         * org-footnote.el (org-footnote-normalize): Ensure footnote
11889         definition will be inserted at the end of the section
11890         corresponding to to its first reference.
11892 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11894         * org-footnote.el (org-footnote-at-definition-p): Make sure to
11895         move point at the beginning of the separator before skiping white
11896         spaces.  Refactor code.
11898 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11900         * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11901         export when "strip-export".
11903         * ob.el (org-babel-common-header-args-w-values): New noweb
11904         header value.
11905         (org-babel-merge-params): New noweb header value.
11906         (org-babel-noweb-p): New noweb header value.
11908 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11910         * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11912         * ob.el (org-babel-noweb-wrap): Add default value.
11913         (org-babel-expand-noweb-references): Just use default value.
11915 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11917         * org-exp.el (org-export-select-backend-specific-text): Always
11918         preserve original indentation as a text property so that lists do
11919         not get broken by indentation at column 0.
11921 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11923         * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11924         in source names in noweb references.
11926 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11928         * org.el (org-fill-line-break-nobreak-p): New function.
11929         (org-set-autofill-regexps): Add previous function to
11930         `fill-nobreak-predicate'.
11932 2012-04-01  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
11934         * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11935         visibility regardless of local user customization.
11937 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
11939         * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11940         (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11942         * org-indent.el (org-indent-set-line-properties):
11943         Honor `org-inlinetask-show-first-star'.
11945 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11947         * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11948         doesn't contain duplicates.
11950 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11952         * org.el (org-at-drawer-p): Normalize the docstring to match other
11953         `org-at-*-p' docstrings.
11954         (org-indent-block, org-indent-drawer, org-at-block-p):
11955         New functions.
11956         (org-metaright): Use the new functions to indent a drawer or a
11957         block depending on the context.  Also update the docstring.
11959 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11961         * org.el (org-set-regexps-and-options): Set the value of
11962         `org-drawers' by adding the value of the infile #+DRAWERS option
11963         to that of the existing `org-drawers'.
11965 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11967         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11968         inline tasks too.
11970 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11972         * org-inlinetask.el (org-inlinetask-toggle-visibility):
11973         Use `org-show-entry' instead of `outline-flag-region' to keep the
11974         drawers folded when unfolding an inline task.
11976 2012-04-01  Torsten Anders  <torsten.anders@beds.ac.uk>  (tiny change)
11978         * org-beamer.el (org-beamer-environments-default): Add support and
11979         keybinding for the `exampleblock' environment.
11981 2012-04-01  Michael Brand  <michael.ch.brand@gmail.com>
11983         * org.el (org-open-link-from-string): Regard `reference-buffer'
11984         when setting `org-inhibit-startup'.
11986 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11988         * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
11989         space between inline src block and results on export.
11991 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11993         * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
11994         punctuation to proceed an inline src block.
11996 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11998         * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
11999         list of characters allowed to proceed an inline src block.
12001 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12003         * ob-tangle.el (org-babel-tangle-clean): Use the customizable
12004         noweb wrappers.
12006         * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
12007         (org-babel-noweb-wrap-end): End a noweb reference.
12008         (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
12009         (org-babel-expand-noweb-references): Use the customizable noweb
12010         wrappers.
12012 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12014         * org.el (org-beginning-of-line): Handle case when there's no
12015         character after box.
12017 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12019         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
12020         Delay it till the end of export.
12021         (org-odt-begin-document-body): Make a note of the default
12022         position of TOC in `org-lparse-dyn-first-heading-pos'.
12023         (org-odt-insert-toc): Insert TOC as directed by
12024         [TABLE-OF-CONTENTS] line or at the default position.
12025         (org-odt-end-export): Call `org-odt-insert-toc'.
12027 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12029         * org.el (org-preview-latex-fragment): Throw an error when called
12030         from a non-file buffer.
12032 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12034         * org.el (org-insert-property-drawer): Not an interactive
12035         command anymore.
12036         (org-insert-drawer): With a prefix argument, insert a property
12037         drawer.  Check for headline within the region before inserting the
12038         drawer.  Don't include special drawers in the completion table.
12039         (org-mode-map): New keybinding `C-c C-x d' for
12040         `org-insert-drawer'.
12042 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12044         * org.el (org-insert-drawer): Support completion over known drawer
12045         names and inserting a drawer around the current region.
12047 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12049         * org.el (org-insert-drawer): New function.
12050         (org-insert-property-drawer): Use it.
12052 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12054         * org-list.el (org-mark-list): New function.
12056 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12058         * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
12059         complete drawer at point.
12060         (org-thing-at-point): Use it.
12062 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12064         * org.el (org-meta-return): Use `newline-and-indent' when in a
12065         property drawer.
12067 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12069         * org.el (org-structure-template-alist): Fix docstring: the
12070         feature is not experimental anymore.
12072 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12074         * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
12075         display the item without unfolding drawers and logbooks.
12077 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12079         * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
12080         always nil.
12082 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12084         * org.el (org-structure-template-alist): Fix missing angle
12085         brackets for muse export style.
12087 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12089         * org.el (org-read-date): New parameter `inactive' when reading
12090         for insertion of inactive timestamps.
12091         (org-time-stamp, org-read-date-display): Use the new
12092         parameter.
12094 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12096         * ob.el (org-babel-expand-noweb-references): Only allow
12097         reference names which start and end with non-whitespace characters.
12098         Also, raise errors as appropriate given org-babel-noweb-error-langs.
12100 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12102         * org-src.el (org-src-in-org-buffer): Save and restore
12103         `buffer-undo-list' after editing.
12105 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12107         * ob.el (org-babel-common-header-args-w-values): Add new header
12108         argument.
12109         (org-babel-expand-noweb-references): Use header argument rather than
12110         customization variable.
12112 2012-04-01  David Maus  <dmaus@ictsoc.de>
12114         * org-capture.el (org-capture-place-item): Don't search for
12115         position in existing list if :exact-position was supplied.
12117 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12119         * ob.el (org-babel-noweb-separator): Custom variable for
12120         accumulated noweb references.
12121         (org-babel-expand-noweb-references): Allow separator for noweb
12122         references.
12124 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12126         * org.el (org-beginning-of-line): In an item, special position
12127         for C-a is after check-box, if any.
12128         (org-special-ctrl-a/e): Modify doc-string accordingly.
12130 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12132         * org-odt.el (org-export-odt-format-formula): Use :style
12133         property to specify custom table styles.
12135 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12137         * ob-exp.el (org-babel-exp-call-line-template): Control export of
12138         additional call line information.
12139         (org-babel-exp-non-block-elements): Fancier call line export.
12141 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12143         * org-odt.el (org-odt-entity-frame-styles): Add frame params
12144         for images that are anchored as character.
12145         (org-export-odt-format-image): Handle new anchor type
12146         "as-char".
12147         (org-export-odt-default-image-sizes-alist): Misc. change.
12148         (org-export-odt-format-formula): Misc. change.
12150 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12152         * ob.el (org-babel-check-src-block): Don't report valid header
12153         arguments as suspicious.
12155 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12157         * ob-exp.el (org-babel-exp-non-block-elements): Map over both
12158         inline src blocks and call lines on export.
12160 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12162         * org-odt.el (org-odt-label-styles): Add a new style.
12163         (org-odt-category-map-alist): Use it.
12165 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12167         * org-odt.el (org-odt-table-style-format): New.  Template for
12168         auto-generated table styles.
12169         (org-odt-automatic-styles, org-odt-object-counters):
12170         New variables.
12171         (org-odt-add-automatic-style): New function.
12172         (org-odt-write-automatic-styles): New function.
12173         Create automatic styles for tables that have custom :rel-width.
12174         (org-odt-begin-table): Parse attributes specified with
12175         "#+ATTR_ODT: " option and use it to create an automatic table
12176         style.
12177         (org-odt-save-as-outfile):
12178         Call `org-odt-add-write-automatic-styles'.
12179         (org-odt-init-outfile): Init newly add variables.
12180         (org-odt-section-count): Remove it.
12181         (org-odt-begin-section): Use `org-odt-add-automatic-style' to
12182         generate an automatic section name.
12184 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12186         * ob.el (org-babel-map-executables): Correctly position point when
12187         mapping hits an inline code block.
12189 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12191         * ob.el (org-babel-execute-src-block): Ensure params are
12192         incorporated *before* checking if evaluation is legal.
12194 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12196         * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
12197         marker so it is updated as required during export.
12199 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12201         * org-src.el (org-src-in-org-buffer): Run commands in the parent
12202         buffer.
12203         (org-edit-src-save): Use new macro.
12204         (org-src-tangle): Tangle the parent buffer.
12206 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12208         * org.el (org-set-font-lock-defaults): Fix bug in done
12209         headline fontification.
12211 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12213         * org.el (org-set-font-lock-defaults): Fix bug in done
12214         headline fontification.
12216 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12218         * org.el (org-return): Act normally when in code blocks.
12220 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12222         * org.el (org-in-src-block-p): New function.
12223         (org-context): Return new contexts :clocktable and :src-block.
12225 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12227         * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
12228         C-q' do the right thing even when point is before the first
12229         heading.
12231 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12233         * ob.el (org-babel-noweb-p): Disambiguate intersection name.
12235 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12237         * org-odt.el (org-odt-format-textbox): Honor user-specified
12238         width in captioned images.
12240 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12242         * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
12243         (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
12244         (org-babel-map-call-lines): Replace gensym with make-symbol.
12245         (org-babel-map-executables): Replace gensym with make-symbol.
12247 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12249         * ob-exp.el (org-babel-exp-results): Alter a copy of info.
12251 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12253         * org-html.el (org-export-as-html):
12254         Initialize `html-pre-real-contents' correctly.
12256 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12258         * org-html.el (org-export-as-html):
12259         Initialize `html-pre-real-contents' correctly.
12261 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12263         * ob-exp.el (org-babel-exp-code): Ensure code block name is a
12264         string on export.
12266 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12268         * ob-exp.el (org-babel-exp-code-template): Customizable code
12269         block export format string.
12270         (org-babel-exp-code): Customizable code block export.
12272 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12274         * ob-clojure.el (org-babel-execute:clojure): Remove dependency
12275         on deprecated swank-clojure.
12277 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12279         * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
12280         (org-babel-map-inline-src-blocks): Don't pollute symbol space.
12281         (org-babel-map-call-lines): Don't pollute symbol space.
12282         (org-babel-map-executables): Map over *all* executable Org-mode
12283         elements.
12284         (org-babel-execute-buffer): Execute elements in buffer order instead
12285         of arbitrarily.
12287 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12289         * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
12290         Those must be done with `copy-tree'.
12292 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12294         * org-src.el (org-edit-src-code): Referenced code block should
12295         not be evaluated on code block edit.
12297 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12299         * org.el (org-structure-template-alist): Use uppercase for
12300         keywords.
12302 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12304         * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
12305         code block results.
12307 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12309         * ob.el (org-babel-results-keyword): New user-configurable
12310         results keyword.
12311         (org-babel-where-is-src-block-result): Use new user-configurable
12312         results keyword.
12314 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12316         * org-indent.el (org-indent-refresh-maybe): Check for new
12317         headlines from the beginning of the line to be sure to catch
12318         any newly inserted headline there.
12320 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12322         * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
12323         (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
12325         * ob-tangle.el (org-babel-tangle-collect-blocks):
12326         Use `org-babel-noweb-p'.
12328         * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
12329         (org-babel-expand-src-block): Use `org-babel-noweb-p'.
12330         (org-babel-load-in-session): Use `org-babel-noweb-p'.
12331         (org-babel-merge-params): Use `org-babel-noweb-p'.
12332         (org-babel-noweb-p): New function used to determine if noweb
12333         expansion should be carried out in a given context.
12335 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12337         * org.el (org-update-property-plist): Fix bug in property list
12338         updates.
12340 2012-04-01  François Pinard  <pinard@iro.umontreal.ca>  (tiny change)
12342         * org.el (org-kill-line): Use `kill-visual-line' in
12343         `visual-line-mode'.
12345 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12347         * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
12348         is outside the current restriction.
12350 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12352         * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
12353         in from the agenda.
12355 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12357         * org.el: Honor existing restrictions when regenerating the agenda.
12359 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12361         * org-agenda.el: New alias for `list-diary-entries-hook'.
12363 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12365         * ob.el (org-babel-common-header-args-w-values): Add the new
12366         header argument name.
12367         (org-babel-insert-result): Respect the value of the :wrap header
12368         argument when inserting results.
12369         (org-babel-result-end): Find the end of arbitrarily named result
12370         blocks.
12372 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12374         * org-indent.el (org-indent-refresh-maybe): Check for new
12375         headlines from the beginning of the line to be sure to catch
12376         any newly inserted headline there.
12378 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12380         * org.el (org-update-property-plist): Remove old instances of
12381         property when adding a new value for property.
12383 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
12385         * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
12386         code block would cause an error when the block is was executed.
12387         This fix cures this behavior.
12389 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12391         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12392         pieces of a previous patch.
12394 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12396         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12398 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12400         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12401         pieces of a previous patch.
12403 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12405         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12407 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12409         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12410         instead of (end-of-buffer).
12412 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12414         * org-bbdb.el (name): Declare variable.
12415         (bbdb-record-get-field, bbdb-search-name)
12416         (bbdb-search-organization): Declare as part of ext:bbdb.
12418 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12420         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12421         instead of the obsolete `org-agenda-filter'.
12423 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12425         * org-agenda.el: Add an alias for `org-agenda-filter'.
12426         (diary-list-entries-hook): Use the non-obsolete hook.
12427         (org-agenda-filter-apply): Silent compiler warning.
12429 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12431         * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
12432         (org-ditaa-jar-option): New option.
12433         (org-babel-execute:ditaa): Use it.
12435 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12437         * ob.el (org-babel-balanced-split): Explicit checking if list
12438         before calling member.
12440 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12442         * ob.el (org-babel-balanced-split): Explicit checking if list
12443         before calling member.
12445 2012-02-14  Chong Yidong  <cyd@gnu.org>
12447         * org-footnote.el: Remove bogus defvar values (Bug#10745).
12449 2012-01-05  Eric Schulte  <eric.schulte@gmx.com>
12451         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12452         pieces of a previous patch.
12454         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12456 2012-01-05  Bastien Guerry  <bzg@gnu.org>
12458         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12459         instead of (end-of-buffer).
12461         * org-bbdb.el (name): Declare variable.
12462         (bbdb-record-get-field, bbdb-search-name)
12463         (bbdb-search-organization): Declare as part of ext:bbdb.
12465         * org-agenda.el: Add an alias for `org-agenda-filter'.
12466         (diary-list-entries-hook): Use the non-obsolete hook.
12467         (org-agenda-filter-apply): Silent compiler warnings.
12469         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12470         instead of the obsolete `org-agenda-filter'.
12472 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12474         * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
12475         and removing checkboxes with `C-u C-c C-c' on the first item
12476         of a list.  Also, don't reinitialize checkboxes that are
12477         already ticked.
12479 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12481         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
12482         value with only one digit for the hours.
12484 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12486         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12487         Remove deleted function `org-encode-for-stdout'.
12489 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12491         * org.el (org-show-context): Complete docstring.
12493 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12495         * org-agenda.el (org-agenda-filter-by-tag):
12496         Use `read-char-exclusive' instead of `read-char'.
12498 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12500         * org-clock.el (org-clock-in, org-clock-find-position):
12501         Remove erraneous space in regexp.
12503 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12505         * ob.el (org-babel-expand-noweb-references): Rather than using
12506         a pure regexp solution to resolve noweb references, actually
12507         check the information of every code block in the buffer.
12508         This will cause a slowdown in noweb reference expansion, but is
12509         necessary for correct behavior.
12511 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12513         * org.el (org-map-continue-from): Fix typo in docstring.
12515 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12517         * org.el (org-property-re): Also match cumulating properties
12518         like ":prop+:".
12520 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12522         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
12523         matching the end of a block.
12525 2012-01-03  David Maus  <dmaus@ictsoc.de>
12527         * org.el (org-open-at-point): Escape link path for http:,
12528         https:, ftp:, news:, and doi: links only if the path contains
12529         space or non-ascii character.
12531 2012-01-03  David Maus  <dmaus@ictsoc.de>
12533         * org.el (org-refile-get-targets): Ignore headlines without a
12534         true headline.
12536 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12538         * ob.el (org-babel-map-call-lines): Move this file from
12539         ob-lob.el into ob.el to ease dependency pains.
12541 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12543         * org-publish.el (org-publish-index-generate-theindex):
12544         Use theindex.inc for storing index entries, and theindex.org for
12545         including theindex.inc.
12547 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12549         * org-publish.el (org-publish-index-generate-theindex):
12550         Create proper file target for index entries in subdirectories.
12552 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12554         * org-protocol.el (org-protocol-check-filename-for-protocol):
12555         Fix spelling mistake.
12557 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12559         * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
12560         for title and subtitle.
12561         (org-odt-format-toc): New.
12562         (org-odt-format-preamble): New.  Users can redefine this to
12563         customize what goes before the document body.  Currently it
12564         outputs title, author and email, date and toc.
12565         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12566         (org-odt-format-date): Rename from
12567         `org-odt-iso-date-from-org-timestamp'.  Also added an
12568         additional param for format string.
12569         (org-odt-begin-annotation, org-odt-update-meta-file):
12570         Use `org-odt-format-date'.
12572 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12574         * org.el (org-at-drawer-p): New function.
12575         (org-end-of-line): Use it.
12577 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12579         * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
12580         Controls the method in which noweb references are expanded.
12581         (org-babel-expand-noweb-references): Bring back the option for
12582         regexp-based noweb expansion.
12584 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12586         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
12587         with only one digit for the hours.
12589 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12591         * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
12592         when ticking the checkbox of the first item.
12594 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12596         * org-list.el (org-list-write-struct): Add an optional
12597         argument for structure changes happening outside the function.
12599         * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
12600         item of a sub-list should toggle check-box presence of every
12601         item in the same sub-list.  Also fix check-box insertion on a
12602         single item.
12604 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12606         * org-agenda.el (org-agenda-filter-preset): New alias.
12607         (org-agenda-filter-by-category): New command.
12608         (org-agenda-mode-map): Add the new command.
12609         (org-agenda-custom-commands-local-options): Add category
12610         filter preset.
12611         (org-agenda-mark-filtered-text): Mark both tag and filter
12612         overlays.
12613         (org-agenda-category-filter-preset): New variable.
12614         (org-finalize-agenda, org-agenda-redo)
12615         (org-agenda-filter-make-matcher, org-agenda-filter-apply):
12616         Handle both category and tag filters.
12617         (org-agenda-filter-show-all-tag): Rename from
12618         `org-agenda-filter-by-tag-show-all'.
12619         (org-agenda-filter-show-all-cat): New function.
12620         (org-agenda-set-mode-name): Show the category filter in the
12621         modeline.
12623 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12625         * org-bbdb.el (org-bbdb-old): New variable.
12626         (org-bbdb-store-link, org-bbdb-open): Check for
12627         `org-bbdb-old'.
12628         (org-bbdb-open-old, org-bbdb-open-new): New functions.
12630 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12632         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12633         Remove deleted function `org-encode-for-stdout'.
12635 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12637         * org.el (org-check-dates-range): New command.
12638         (org-sparse-tree): Use it.
12640 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12642         * org-agenda.el (org-agenda-write): Rename from
12643         `org-write-agenda'.
12644         (org-agenda-mode-map, org-agenda-menu)
12645         (org-batch-store-agenda-views): Use new name
12646         `org-agenda-write'.
12648 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12650         * org.el (org-loop-over-headlines-in-active-region):
12651         Fix docstring.
12652         (org-todo, org-deadline, org-schedule): Honor the 'start-level
12653         value of `org-loop-over-headlines-in-active-region'.
12655 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12657         * org-archive.el (org-archive-subtree)
12658         (org-archive-to-archive-sibling, org-toggle-archive-tag):
12659         Bugfix: use 'region-start-level.
12661 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12663         * org.el (org-show-context): Complete docstring.
12665 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12667         * org-agenda.el (org-agenda-filter-by-tag):
12668         Use `read-char-exclusive' instead of `read-char'.
12670 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12672         * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12673         nil at each match.
12675 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12677         * org-clock.el (org-clock-in, org-clock-find-position):
12678         Remove erraneous space in regexp.
12680 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12682         * org-odt.el (org-odt-lib-dir): Add docstring.
12683         (org-odt-data-dir): New variable.  Use this variable to
12684         control the locations from which the ODT exporter picks the
12685         OpenDocument styles and schema files from.  Set this variable
12686         explicitly only if the in-built heuristics for locating the
12687         above files fails.
12688         (org-odt-styles-dir-list, org-odt-schema-dir-list):
12689         New variables.  Pay specific attention to (eval-when-compile ...)
12690         form through which Makefile's $(datadir) - contained in
12691         `org-odt-data-dir' - gets compiled in as a "hard coded"
12692         constant.
12693         (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12694         aid debugging.
12696 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12698         * org-archive.el (org-archive-subtree)
12699         (org-archive-to-archive-sibling, org-toggle-archive-tag)
12700         (org-archive-set-tag): Handle the 'start-level value for
12701         `org-loop-over-headlines-in-active-region'.
12703 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12705         * org.el (org-scan-tags): New parameter `start-level' to scan only
12706         through headlines of that level.
12707         (org-map-entries): New allowed value `region-start-level' for
12708         the `scope' parameter, to allow scanning through headlines of
12709         the same level than the first headline in the region.
12710         (org-loop-over-headlines-in-active-region): New allowed value
12711         'start-level.
12713 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12715         * org-archive.el (org-archive-subtree)
12716         (org-archive-to-archive-sibling, org-archive-set-tag)
12717         (org-toggle-archive-tag): Allow to loop over the active region by
12718         using `org-loop-over-headlines-in-active-region'.
12720 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12722         * org.el (org-todo): Allow to loop over the active region by
12723         using `org-loop-over-headlines-in-active-region'.
12725 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12727         * ob.el (org-babel-expand-noweb-references): Rather than using
12728         a pure regexp solution to resolve noweb references, actually
12729         check the information of every code block in the buffer.
12730         This will cause a slowdown in noweb reference expansion, but is
12731         necessary for correct behavior.
12733 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12735         * org.el (org-map-continue-from): Fix typo in docstring.
12737 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12739         * org-agenda.el (org-agenda-write-buffer-name): New variable.
12740         (org-write-agenda): Use it.
12742 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12744         * org-exp.el (org-export-date-timestamp-format): New option to
12745         define the way a timestamp in #+DATE will be exported.
12746         (org-infile-export-plist): Use the new option.
12748 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12750         * org.el (org-property-re): Also match cumulating properties
12751         like ":prop+:".
12753 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12755         * org-odt.el (org-odt-styles-dir): Assume that the styles
12756         files are located under `data-directory' of Emacs distribution
12757         as etc/org/OrgOdtStyles.xml and
12758         etc/org/OrgOdtContentTemplate.xml.  Also update docstring.
12759         (org-export-odt-schema-dir): Update docstring.
12761 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12763         * org-odt.el (org-odt-format-preamble): Honor following user
12764         options: author, timestamp and email.
12766 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12768         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12769         for matching the end of a block.
12771 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12773         * org-eshell.el: New file.
12775 2012-01-03  David Maus  <dmaus@ictsoc.de>
12777         * org.el (org-open-at-point): Escape link path for http:,
12778         https:, ftp:, news:, and doi: links only if the path contains
12779         space or non-ascii character.
12781 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12783         * org-beamer.el (org-beamer-fragile-re): Also recognize
12784         \lstinline and \verb as commands that make a frame fragile.
12786 2012-01-03  David Maus  <dmaus@ictsoc.de>
12788         * org.el (org-refile-get-targets): Ignore headlines without a
12789         true headline.
12791 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
12793         * ob-octave.el: Add graphical output to png file.
12795 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12797         * ob.el (org-babel-map-call-lines): Move this file from
12798         ob-lob.el into ob.el to ease dependency pains.
12800 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12802         * org-publish.el (org-publish-index-generate-theindex):
12803         Use theindex.inc for storing index entries, and theindex.org for
12804         including theindex.inc.
12806 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12808         * org-publish.el (org-publish-index-generate-theindex):
12809         Create proper file target for index entries in subdirectories.
12811 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12813         * org-protocol.el (org-protocol-check-filename-for-protocol):
12814         Fix spelling mistake.
12816 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12818         * org-odt.el (org-export-odt-default-org-styles-alist):
12819         Add styles for title and subtitle.
12820         (org-odt-format-toc): New.
12821         (org-odt-format-preamble): New.  Users can redefine this to
12822         customize what goes before the document body.  Currently it
12823         outputs title, author and email, date and toc.
12824         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12825         (org-odt-format-date): Rename from
12826         `org-odt-iso-date-from-org-timestamp'.  Also added an
12827         additional param for format string.
12828         (org-odt-begin-annotation, org-odt-update-meta-file):
12829         Use `org-odt-format-date'.
12831 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12833         * ob-ref.el (org-babel-ref-split-args): Now uses
12834         `org-babel-balanced-split'.
12836 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12838         * org-html.el (org-export-html-preamble)
12839         (org-export-html-postamble): Fix docstrings.
12840         (org-export-as-html): Insert the string used by a custom
12841         function for `org-export-html-pre/postamble'.
12843 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12845         * org.el (org-block-regexp)
12846         (org-heading-keyword-regexp-format)
12847         (org-heading-keyword-maybe-regexp-format): Move up to keep the
12848         byte-compiler happy.
12850 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12852         * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12853         New function.
12854         (org-agenda-tree-to-indirect-buffer): Use the new function.
12856 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12858         * org-html.el (org-export-as-html): Fix bug when inserting the
12859         output of a custom function for the pre/postamble.
12861 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12863         * org-odt.el (org-odt-format-source-code-or-example):
12864         Try loading htmlfontify safely.
12866 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12868         * org-odt.el (require): Require htmlfontify.el only if
12869         emacs-version is greater than 23.2.
12871 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12873         * org-faces.el (org-agenda-calendar-event)
12874         (org-agenda-calendar-sexp): Use the default face.
12876 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12878         * ob.el (org-babel-expand-noweb-references): Fix regexp.
12880 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12882         * org.el (Key bindings): Remap the Outline functions from
12883         `outline-mode-prefix-map' where possible.
12885 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12887         * org-html.el (org-export-as-html):
12888         Apply `org-export-html-get-todo-kwd-class-name' to the class
12889         attribute of the todo-keyword span tag, not to its text
12890         content.
12892 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
12894         * org-agenda.el (org-agenda-get-timestamps)
12895         (org-agenda-get-sexps): Use face for highlighting "calendar"
12896         events.
12898 2012-01-03  Peter Münster  <pmlists@free.fr>  (tiny change)
12900         * org.el (org-add-planning-info): Treat absolute time too.
12902 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12904         * org-table.el (org-table-transpose-table-at-point): Don't use
12905         ̀remove-if-not'.
12907 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12909         * org-clock.el (org-clock-out-if-current): Check the clock
12910         buffer is existing.
12912 2012-01-03  Bernt Hansen  <bernt@norang.ca>
12914         * org-clock.el (org-clock-out-if-current): Fix marker in no
12915         buffer error for task state change in an indirect buffer.
12917 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12919         * org.el (org-offer-links-in-entry): Make list when assigning
12920         a single link.
12922 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12924         * ob.el (org-babel-expand-noweb-references): Rather than
12925         collect the info from *every* block in the current buffer,
12926         simply regexp search for those blocks which appear to match
12927         the continued source name.
12929 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12931         * ob.el (org-babel-insert-result): Do not examplize wrapped
12932         scalar results, simply wrap them.
12933         (org-babel-result-end): Find the end of results wrapped in a
12934         RESULTS drawer.
12936 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12938         * org.el (org-todo-yesterday): When called from the agenda,
12939         use `org-agenda-todo-yesterday' instead.
12941 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12943         * org-table.el (org-table-transpose-table-at-point): New command.
12945 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12947         * org-html.el (org-export-html-headline-anchor-format):
12948         New option.
12949         (org-html-level-start): Use the new option.
12951 2012-01-03  Rob Giardina  <rob@giardina.us>  (tiny change)
12953         * org-agenda.el (org-agenda-with-point-at-orig-entry):
12954         Small bugfix.
12956 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12958         * org-special-blocks.el
12959         (org-special-blocks-convert-html-special-cookies):
12960         Close paragraph before opening or closing the <div>, and open
12961         paragraph after.  Also changed newline placement to be the same
12962         as for other blocks.
12964 2012-01-03  Roberto Huelga  <rhuelga@gmail.com>
12966         * org-clock.el (org-program-exists): Make the function
12967         compatible with darwin systems.
12969 2012-01-03  David Maus  <dmaus@ictsoc.de>
12971         * org-exp.el (org-export-normalize-links): Mark bracket links
12972         before normalization to avoid erroneous normalization of
12973         bracket link parts.
12975 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12977         * org-odt.el (org-odt-data-dir): Remove.
12978         (org-odt-styles-dir, org-export-odt-schema-dir):
12979         New variables.
12981         * org-odt.el, org-lparse.el: New files.
12983 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12985         * org-capture.el (org-capture-set-target-location): Set the
12986         capture default time also to the prompt time.
12988 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12990         * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
12991         and #+results lines during preprocess.
12993 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12995         * ob-picolisp.el (ob-comint): Required.
12996         (comint): Required.
12997         (cl): Required.
12998         (run-picolisp): Declared.
12999         (org-babel-execute:picolisp): Capture free variable, and replace
13000         function from cl-extra with core function.
13002 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13004         * ob-picolisp.el: New file.
13006         * org.el (org-babel-load-languages): Add Pico Lisp to the list
13007         of supported code block languages.
13009 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13011         * org-bibtex.el (org-bibtex): Now catches bibtex errors and
13012         directs the user to the location of the error.
13014 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13016         * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
13018 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13020         * ob.el (org-babel-execute-src-block): Fix typo.
13022 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13024         * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
13026 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13028         * org.el (org-link-unescape, org-link-unescape-compound):
13029         Fix two typos in docstrings.
13031 2012-01-03  Thomas Dye  <dk@poto.local>
13033         * ob-R.el: Added tikzDevice support.
13035 2012-01-03  David Maus  <dmaus@ictsoc.de>
13037         * org.el (org-clone-subtree-with-time-shift): Remove clocking
13038         information and empty drawers when preparing a clone.
13040 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13042         * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
13043         `org-export-blocks-postblock-hook'.
13045 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13047         * ob.el (org-babel-hide-result-toggle): Skip over header
13048         argument lines when toggling named code block visibility.
13050 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13052         * org-exp.el (org-export-grab-title-from-buffer):
13053         Don't license to kill text inside blocks when getting a title.
13055 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13057         * ob.el (org-babel-confirm-evaluate): Adding support for new
13058         range of :eval header arguments.
13060 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13062         * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
13063         during export when eval is set to "non-export".
13065 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13067         * ob-ref.el (org-babel-update-intermediate): New custom
13068         variable.
13069         (org-babel-ref-resolve): Optionally update the in-buffer results
13070         of code blocks which are evaluated to resolve references.
13072 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13074         * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
13075         split string when a character appears on either side of the
13076         split.
13077         (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
13079 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13081         * org.el (org-reduce): Add a less functional Org-mode copy of
13082         the cl reduce function.
13084 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13086         * org.el (org-fontify-meta-lines-and-blocks-1):
13087         Recognize "name" as a valid keyword that can preceed a block.
13089 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13091         * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
13092         in-verbatim check to inline code blocks, do lob code blocks as
13093         well.
13095 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13097         * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
13099 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13101         * ob.el (org-babel-named-src-block-regexp-for-name):
13102         Ensure that partial names are not matched.
13103         (org-babel-named-data-regexp-for-name): Ensure that partial names
13104         are not matched.
13106 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13108         * ob-ref.el (org-babel-ref-resolve): Search for named code
13109         blocks before named data.
13111         * ob.el (org-babel-named-data-regexp-for-name): New function for
13112         finding named data.
13114 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13116         * ob.el (org-babel-insert-result): Gracefully handle results
13117         which are neither lists nor strings.
13119 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13121         * ob-ref.el (org-babel-ref-resolve): Don't change location when
13122         looking at the contents.
13124 2012-01-03  Milan Zamazal  <pdm@zamazal.org>
13126         * org.el (org-set-outline-overlay-data):
13127         Use outline-flag-region to make a region invisible.  This ensures
13128         all necessary actions, especially adding
13129         isearch-open-invisible property, are applied.
13131 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13133         * ob-lob.el (org-babel-in-example-or-verbatim):
13134         Fix compilation warning.
13136 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13138         * ob.el (org-babel-find-named-result): Downcase "name" before
13139         comparison.
13141 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13143         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
13144         (org-babel-lisp-vector-to-list): Fix typo.
13146 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13148         * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
13149         execution contexts (e.g., call lines) look like commented
13150         lines.
13152         * ob.el (org-babel-get-src-block-info): Empty match string doesn't
13153         count.
13154         (org-babel-process-params): Always process parameters, even if
13155         you don't to table splitting.
13157 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13159         * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
13161         * ob-lob.el (org-babel-block-lob-one-liner-regexp):
13162         Update regular expression.
13163         (org-babel-inline-lob-one-liner-regexp): Update regular
13164         expression.
13166         * ob-ref.el (org-babel-ref-resolve): Notice when something that
13167         looks like a data results may actually be a code block.
13169         * ob-table.el: Updated documentation.
13171         * ob.el (org-babel-src-name-regexp): Simplify regexp.
13172         (org-babel-get-src-block-info): Update match strings.
13173         (org-babel-data-names): Simplify acceptable names.
13174         (org-babel-find-named-block): Indentation.
13175         (org-babel-find-named-result): Update to not return a code block
13176         as a result.
13178         * org.el (org-fontify-meta-lines-and-blocks-1):
13179         Removing references to old syntactic elements.
13180         (org-additional-option-like-keywords): Removing references to
13181         old syntactic elements.
13183 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13185         * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
13186         and `buffer-substring'.
13188 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13190         * org-agenda.el (org-agenda-get-todos): Prevent an error when
13191         encountering tasks with only the TODO keyword.
13193 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13195         * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
13196         environment when at an item or an headline, but allow LaTeX
13197         fragments.
13198         (org-cycle): Try to call `cdlatex-tab' before cycling item's or
13199         headline's visibility, in order to catch LaTeX fragments within.
13201 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13203         * org-exp-blocks.el (org-export-blocks-preprocess): Require a
13204         newline and spaces before a code block.
13206 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13208         * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
13209         over all call lines in a buffer.
13211         * ob.el (org-babel-execute-buffer): Execute call lines when
13212         executing an entire buffer.
13214 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13216         * ob.el (org-babel-process-params): Don't disassemble tables
13217         twice.
13219 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13221         * org-clock.el (org-clock-in, org-clock-find-position): Make space
13222         after date optional.
13224         * org.el (org-set-regexps-and-options)
13225         (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
13226         (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
13228 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13230         * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
13231         inside a verbatim block.
13233         * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
13234         blocks.
13236 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
13238         * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
13239         (org-babel-maxima-expand): Add input variables and graphic output.
13240         (org-babel-execute:maxima): Add input variables and graphic output.
13241         (org-babel-maxima-var-to-maxima): Add input variables and graphic
13242         output.
13243         (org-babel-maxima-graphical-output-file): Add input variables and
13244         graphic output.
13245         (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
13246         output.
13248 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13250         * ob-fortran.el: New file.  Adding support for Fortran code blocks.
13251         * org.el (org-babel-load-languages): Adding fortran to this list.
13253 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13255         * org-footnote.el (org-footnote-new): Cannot insert an inline
13256         footnote at beginning of line anymore.
13257         (org-footnote-at-reference-p): Don't recognize inline footnotes at
13258         beginning of line.
13260 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13262         * org.el (org-set-font-lock-defaults): Fix small error in matching
13263         group that prevented fontification of keywords like
13264         org-comment-string and stars in headlines.
13266 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13268         * org.el (org-catch-invisible-edits): New option.
13269         (org-self-insert-command, org-delete-backward-char)
13270         (org-delete-char): Call `org-check-before-invisible-edit'.
13271         (org-check-before-invisible-edit): New function.
13273 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
13275         * org-exp.el (org-solidify-link-text): Respect
13276         org-export-with-tags when forming the export title during subtree
13277         export.
13279 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13281         * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
13282         (org-heading-keyword-maybe-regexp-format): Globalize variables so
13283         they are accessible even in buffers not in Org mode.
13285 2012-01-03  David Maus  <dmaus@ictsoc.de>
13287         * org.el (org-insert-link): Don't use default-description if a
13288         `org-make-link-description-function' is defined.
13290 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13292         * org.el (org-set-regexps-and-options): Use property blocks for
13293         multi-line properties.
13295 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13297         * org.el (org-self-insert-command): Don't throw an error when
13298         editing takes place at the first point of the buffer.
13300 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13302         * org.el (org-self-insert-command): Unfold invisible region at
13303         point or right before point when editing.
13305 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13307         * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
13308         default.
13310 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13312         * org-html.el (org-html-expand): Prevent a nil value for STRING to
13313         return an error, just return nil.
13315 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13317         * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
13318         character in the #+LaTeX_CLASS option.
13320 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13322         * org-footnote.el (org-footnote-at-reference-p)
13323         (org-footnote-at-definition-p): Don't store text-properties of
13324         footnote definitions.
13326 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13328         * org-html.el (org-export-as-html): Convert special characters in
13329         meta tag "author", "date", "keyword" and "description".
13331 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13333         * org-capture.el (org-capture-before-finalize-hook): Docstring
13334         improvement: mention that the buffer is widened when this hook is
13335         run.
13337 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13339         * org-html.el (org-export-as-html): Make sure the div for preamble
13340         is not inserted when the preamble is empty.
13342 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13344         * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
13345         for filtering (shown in the mode-line).
13347 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13349         * ob.el (org-babel-parse-multiple-vars): Trimming excess white
13350         space from split variables.
13352 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13354         * org.el (org-link-search): Add an optional argument preventing
13355         function from revealing context around match.
13357 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13359         * org-agenda.el (calendar-check-holidays): Declare function.
13361 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13363         * org.el (org-return): Fix bug when matching the face property
13364         before following a link.
13366 2012-01-03  Matt Lundin  <mdl@imapmail.org>
13368         * org-agenda.el (org-class): Fix holidays symbol in org-class.
13369         This was resulting in an "Bad sexp..." warning.
13371 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13373         * org.el (org-scan-tags): Also remember
13374         `org-complex-heading-regexp' in a property.
13376 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13378         * org-latex.el (org-export-as-latex): Turn off auto-insert and set
13379         TeX-master to t when creating new TeX buffers.
13381         * org-docbook.el (org-export-as-docbook): Turn off auto-insert
13382         when creating new buffers.
13384         * org-html.el (org-export-as-html): Turn off auto-insert
13385         when creating new buffers.
13387 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13389         * org-table.el (org-table-formula-handle-first/last-rc): Do not
13390         expand pointers to first/last row/column that are inside a call to
13391         `remote'.
13392         (org-table-get-remote-range): Expand pointers to first/last
13393         row/column.
13395 2012-01-03  Michael Sperber  <sperber@deinprogramm.de>  (tiny change)
13397         * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
13398         compatibility issue when creating an indirect buffer.
13400 2012-01-03  Christophe Rhodes  <csr21@cantab.net>
13402         * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
13403         the same way than LATEX_CLASS.
13405 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13407         * org.el (org-return): Check the presence of the 'org-link face
13408         even in contexts where there is more than one face.
13410 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13412         * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
13413         argument names which should be inherited.
13415 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13417         * org.el (org-in-block-p): Return matched name of block, if any.
13418         It can be useful when a list of block names is provided as
13419         an argument.
13421 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13423         * org-docbook.el (org-export-as-docbook): Fix regexp.
13425         * org-html.el (org-export-as-html): Fix regexp.
13427 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13429         * org-agenda.el (org-class): Allow holidays to be skipped.
13431 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13433         * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
13435 2012-01-03  Peter Münster  <pmrb@free.fr>  (tiny change)
13437         * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
13438         strings before calling `string-match'.
13440 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13442         * org-footnote.el (org-footnote-at-reference-p)
13443         (org-footnote-at-definition-p): Remove text-properties from label.
13445 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13447         * org-html.el (org-export-as-html): Add a "title" meta tag.
13449 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13451         * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
13452         entries to pass to `org-agenda-get-day-entries' and allow to
13453         filter out entries using a function.
13455 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13457         * org-agenda.el: Fix small display bug.
13459 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13461         * org.el (org-set-regexps-and-options): Fix small bug introduced
13462         by commit dfcb6faef11a2439b56b18a6289803361d402130.
13464 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13466         * org-agenda.el (org-search-view): Simplify regexp.
13467         (org-agenda-get-todos): Use new format string.
13469         * org-archive.el (org-archive-all-done): Simplify regexp.
13471         * org-ascii.el (org-export-as-ascii): More accurate regexp.
13473         * org-colview.el (org-columns-capture-view): Use new format string
13474         and new string.
13476         * org-docbook.el (org-export-as-docbook): More accurate
13477         regexp.  Also use new regexp to match generic headlines.
13479         * org-exp.el (org-export-protect-quoted-subtrees): More accurate
13480         regexp.  Also use new regexp to match generic headlines.
13482         * org-html.el (org-export-as-html): More accurate regexp.
13483         Also use new regexp to match generic headlines.
13485         * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
13486         and now erroneous function.
13488         * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
13489         New variables.
13490         (org-set-regexps-and-options): Create regexps according to the
13491         following rule: use spaces only to separate elements from an headline,
13492         while allowing mixed tabs and spaces for any indentation job.
13493         (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
13494         (org-set-font-lock-defaults): Fontify again headlines with a keyword
13495         and no other text.  Use new format strings.
13496         (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
13497         (org-toggle-fixed-width-section): Use new format string.
13498         (org-todo): More accurate regexps.
13499         (org-point-at-end-of-empty-headline): Simplify regexp.
13500         (org-insert-heading): Headline can sometimes be nil.
13502 2012-01-03  David Maus  <dmaus@ictsoc.de>
13504         * org-agenda.el (org-agenda-bulk-action): Bind
13505         `org-loop-over-headlines-in-active-region' to nil to avoid conflict
13506         with bulk command.
13508 2012-01-03  David Maus  <dmaus@ictsoc.de>
13510         * org.el (org-deadline, org-schedule): Skip invisible headlines when
13511         mapping over headlines in active region.
13513 2012-01-03  David Maus  <dmaus@ictsoc.de>
13515         * org.el (org-loop-over-headlines-in-active-region):
13516         New customization variable.  Loop over headlines in active region.
13517         (org-schedule, org-deadline): Apply to headlines in region depending
13518         on new customization variable.
13520 2012-01-03  David Maus  <dmaus@ictsoc.de>
13522         * org.el (org-map-entries): Immediately return if scope is 'region
13523         but no region is active.
13525 2012-01-03  David Maus  <dmaus@ictsoc.de>
13527         * org.el (org-map-entries): Extend scope 'region to include entire
13528         body of last headline in active region.
13530 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13532         * org-src.el (org-edit-src-code): Fix typo-bug.
13534 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13536         * org.el (org-format-agenda-item, org-scan-tags):
13537         Rename `org-format-agenda-item' to `org-agenda-format-item'.
13539 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13541         * org-agenda.el: Replace `category-pos' by `org-category-pos' to
13542         silent byte-compiler.
13544 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13546         * org.el: Declare external function `cdlatex-compute-tables'.
13548 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13550         * org-latex.el (org-export-latex-set-initial-vars): Fix problem
13551         when matching #+LaTeX_CLASS.
13553 2012-01-03  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
13555         * org.el (org-link-search-must-match-exact-headline): Fix typos.
13557 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13559         * org-latex.el (org-export-latex-make-header): Add some hyperref
13560         options.
13562 2012-01-03  Kai Tetzlaff  <kai.tetzlaff@web.de>  (tiny change)
13564         * org-publish.el (org-publish-file): Add 'eval'ing the value of
13565         the :publishing-directory property before using it as destination
13566         of the publishing project.  This allows to construct the publish
13567         destination directory dynamically at run-time using the return
13568         value of a function.
13570 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13572         * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
13574 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13576         * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
13577         New option.
13578         (org-agenda-date-later): Improve the logical structure.
13580 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13582         * ob-calc.el (featurep): Require calc-store.
13584         * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
13585         special handling.
13587         * org-compat.el (fboundp): Support for XEmacs.
13589         * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
13591         * org-footnote.el (org-footnote-re): Optimize macro processing.
13593         * org.el (org-set-autofill-regexps): Xemacs compatibility.
13595 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13597         * ob.el (org-babel-balanced-split): Balance both [] and ()
13598         groupings.
13599         (org-babel-parse-header-arguments): Be sure to replace removed ":"
13600         characters.
13602 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13604         * ob.el (org-babel-parse-header-arguments): Quick fix for a
13605         tiny bug.
13607 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13609         * ob.el (org-babel-params-from-properties): Now splits
13610         multiple var arguments behind a single ":var".
13611         (org-babel-balanced-split): Separate balanced splitting of
13612         strings out into a new function.
13613         (org-babel-parse-multiple-vars): Splits multiple var arguments
13614         behind a single ":var".
13616 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13618         * org.el: Remap `outline-promote' and `outline-demote' keys to
13619         `org-promote-subtree' and `org-demote-subtree'.
13621 2012-01-03  Leo Liu  <sdl.web@gmail.com>
13623         * org-agenda.el (org-agenda-do-context-action): Check if marker is
13624         valid before use.
13626 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13628         * org-agenda.el (org-agenda-date-later): Fix shifting of date
13629         ranges.
13631 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13633         * ob.el: Removing `org-babel-params-from-buffer' and
13634         #+PROPERTIES: entirely.
13636         * ob-exp.el (org-babel-exp-src-block):
13637         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13639         * ob-lob.el (org-babel-lob-execute):
13640         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13642 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13644         * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13645         lines in favor of general #+PROPERTIES: lines.
13647 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13649         * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13650         buffer.
13652 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13654         * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13655         update the internal cdlatex tables.
13657 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13659         * ob-sql.el (org-babel-execute:sql): Respect literal-results
13660         options.
13662 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13664         * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13665         code block colname and rowname handling.
13667 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13669         * org-publish.el (org-publish-cache-file-needs-publishing):
13670         Fix regexp to not inlcude newlines.
13672 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13674         * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13675         restart.
13677 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13679         * org.el (org-fontify-entities): Match entities before
13680         numbers, as in `\sim2'.
13682 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13684         * org-agenda.el (org-agenda-date-later): Make pushing forward
13685         a past date to jump immedialtely to today.
13687 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13689         * org-exp.el (org-store-forced-table-alignment): Parse the
13690         column cookie for both alignment and width
13691         specification.  Store the resulting value in `org-col-cookies'
13692         property.  Retire the previously used `org-forced-aligns'
13693         property for consistency.  Renamed local variable `aligns' to
13694         `cookies'.
13696         * org-html.el (org-format-org-table-html):
13697         Use `org-col-cookies'.  Renamed local variable forced-aligns to
13698         col-cookies.
13700 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13702         * org.el (org-latex-to-mathml-jar-file)
13703         (org-latex-to-mathml-convert-command): New user-customizable
13704         variables.
13705         (org-format-latex-mathml-available-p, org-create-math-formula)
13706         (org-format-latex-as-mathml): New functions.
13707         (org-format-latex): Add a new local variable block-type that notes
13708         the nature of the equation - inline or display.  Associate it's
13709         value to `org-latex-src-embed-type' property of dvipng links.
13710         Add mathml as new processing type.
13712 2012-01-03  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
13714         * org.el (org-refile): Add tree name to prompt.
13716 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13718         * org-latex.el (org-export-latex-tables):
13719         Honor `org-export-latex-table-caption-above'
13720         (org-export-latex-table-caption-above): New option.
13722 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13724         * ob.el (org-babel-insert-header-arg): Now including language
13725         specific header arg values in insertion options.
13727 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13729         * ob.el (org-babel-insert-header-arg): Fix typo.
13731 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13733         * org-exp.el (org-export-number-lines): Modify.  Add a new
13734         parameter `preprocess' and use this for backend-agnostic
13735         handling of literal examples.
13737 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13739         * org.el (org-match-substring-regexp)
13740         (org-match-substring-with-braces-regexp): Allow subscripts and
13741         superscripts to start at beginning of line.
13743 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13745         * ob.el (org-babel-common-header-args-w-values): New variable to
13746         hold common header arguments and their default values.
13747         (org-babel-header-arg-names): Redefined using the new common
13748         header arg variable.
13749         (org-babel-insert-header-arg): New function to help when inserting
13750         header arguments.
13752 2012-01-03  David Maus  <dmaus@ictsoc.de>
13754         * org-html.el (org-html-handle-links): Remove unnecessary
13755         protection markers when publishing link in default format.
13757 2012-01-03  Pieter Praet  <pieter@praet.org>  (tiny change)
13759         * org-crypt.el (org-crypt-check-auto-save): New function, see
13760         next change.
13762         * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13763         check out into a separate function, and call it at a later
13764         point, to assure it only runs when visiting an encrypted
13765         entry.
13767 2012-01-03  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)
13769         * org.el (org-log-note-headings): Document new %d and %D
13770         escapes.
13771         (org-store-log-note): Implement new %d and %D escapes.
13773 2012-01-03  Dave Abrahams  <dave@boostpro.com>
13775         * org-agenda.el (org-agenda-follow-indirect): New option.
13776         (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13777         follow mode.
13778         (org-agenda-do-context-action): Also do indirect follow mode
13779         action.
13781 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13783         * ob-table.el (sbe): Fix typo in new sbe specification.
13785 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13787         * ob-table.el (sbe): If first variable is a string and not a
13788         cons cell, then interpret it as a string of header arguments
13789         to be passed to the code block.
13791 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13793         * ob-shen.el (shen-eval-defun): Declare external function.
13794         (org-babel-execute:shen): Move requirement of inf-shen into
13795         the function in which it is used to fix build error.
13797         * ob-shen.el: New file.
13799 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13801         * org.el (org-open-at-point): Make `org-open-at-point' only
13802         ask once about creating a new headline.
13804 2012-01-03  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
13806         * org.el (org-refile-targets): Elaborated the documentation of
13807         the variable as suggested by Dave Abrahams.
13809 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13811         * org.el (org-align-tags-here): Allow tags to be placed right
13812         after heading.
13813         (org-tags-column): Document the meaning of tags column 0.
13815 2012-01-03  Niels Giesen  <niels.giesen@gmail.com>
13817         * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13818         in agenda if start day is same as end day.
13820 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13822         * org.el (org-refile-get-location): Ignore errors when
13823         collection heading to be excluded.
13825 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13827         * org-special-blocks.el
13828         (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13829         strict problems by not enclosing special blocks in paragraph tags.
13831 2012-01-03  Bernt Hansen  <bernt@norang.ca>
13833         * org-html.el (org-export-as-html): Check string-match
13834         argument.
13835         (org-html-handle-time-stamps): Check string-match argument.
13837 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13839         * org-agenda.el
13840         (org-agenda-skip-additional-timestamps-same-entry):
13841         Change default value.
13843 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13845         * org.el (org-time-string-to-time):
13846         (org-time-string-to-absolute): Add optional arguments BUFFER and
13847         POS for error reporting.
13849         * org-agenda.el (org-get-all-dates):
13850         (org-agenda-get-timestamps, org-agenda-get-deadlines)
13851         (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13852         stamp parsing functions with information on where the
13853         timestamp was taken from.
13855 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13857         * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13858         after `show-all' in indirect buffer.
13860 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13862         * org-list.el (org-list-parents-alist): When no parent is found
13863         for an item, set it as the closest less indented item above.
13864         If none is found, make it a top level item.
13865         (org-list-write-struct): Externalize code.
13866         (org-list-struct-fix-item-end): New function.
13867         (org-list-struct): Remove a now useless fix.
13869         * org.el (org-ctrl-c-ctrl-c): Use new function.
13871 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13873         * org.el (org-end-of-line): When on an item, move point at the
13874         end of the line, but before any hidden text.  Thus, it's still
13875         possible to use commands, like `C-c C-c', acting at
13876         items.  This is still disabled if `org-special-ctrl-a/e'
13877         ignores `C-e'.
13879 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13881         * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13883 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13885         * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13886         infloop.
13888 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13890         * org-footnote.el (org-footnote-at-definition-p):
13891         Remove useless `org-re'.
13893 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13895         * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13896         is at a real footnote reference or definition before
13897         renumbering it.
13899 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13901         * org-footnote.el (org-footnote-goto-definition): This patch
13902         makes sure the function says when a definition has been
13903         found.  Thus, moving from the reference to the definition
13904         doesn't offer to create the latter again.
13906 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13908         * org-footnote.el (org-footnote-create-definition):
13909         Explicitly move point after tag, if it has just been
13910         inserted.
13912 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13914         * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13915         names on Windows systems.
13917 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13919         * org-footnote.el (org-footnote-create-definition): When the
13920         tag is missing, it is created before any existing footnote, or
13921         at end of buffer.  In the latter case, the marker pointing at
13922         the position where the new footnote is going to be inserted
13923         (at end of buffer) stays before the tag.  This patch makes
13924         sure that the marker will be kept after the tag.
13926 2012-01-03  Eli Zaretskii  <eliz@gnu.org>
13928         * org.el (org-mode): Force left-to-right paragraphs in Org
13929         buffers.  For a related discussions, see
13930         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13932 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13934         * ob-asymptote.el (org-babel-asymptote-define-type):
13935         Silence byte-compiler.
13937 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13939         * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13940         evaluation.
13942 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13944         * org-bibtex.el (org-bibtex-type-property-name):
13945         Configurable property name for bibtex entry types.
13946         (org-bibtex-headline): Use new configurable property name.
13947         (org-bibtex-check): Use new configurable property name.
13948         (org-bibtex-create): Use new configurable property name.
13949         (org-bibtex-write): Use new configurable property name.
13951 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13953         * org.el (org-paste-subtree): Remove unnecessary `concat'.
13955 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13957         * org.el (org-paste-subtree): Remove useless (concat ...).
13959 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13961         * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13962         characterp with integerp (which should work w/Emacs22).
13964 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13966         * org-footnote.el (org-footnote-at-definition-p): Context must
13967         be valid at the beginning of line, not at point.
13969 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13971         * ob-tangle.el (org-babel-tangle-collect-blocks):
13972         Better delimiting of Org-mode text preceding a code block.
13974 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13976         * ob.el (org-babel-get-src-block-info): Fixing bug,
13977         accidentally deleted variable values.
13979 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13981         * ob-tangle.el (org-babel-process-comment-text):
13982         Customizable function to process comment text.
13983         (org-babel-tangle-collect-blocks): Make use of new
13984         customizable processing function.
13985         (org-babel-spec-to-string): Call customizable function rather than
13986         `org-babel-trim'.
13988 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13990         * ob-R.el (org-babel-execute:R): Collect and pass along the
13991         result-params.
13992         (org-babel-R-evaluate): Accept result-params and if "scalar" or
13993         "verbatim" don't process output.
13994         (org-babel-R-evaluate-session): Accept result-params and if
13995         "scalar" or "verbatim" don't process output.
13997 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13999         * ob.el (org-babel-merge-params): Differentiate between result
14000         types and wrappers.
14002 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14004         * ob.el (org-babel-get-src-block-info): Check that
14005         functional-syntax variables are initialized.
14007 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14009         * ob.el (org-babel-check-src-block): Adding a note for a
14010         future enhancement.
14012 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14014         * org-exp.el (org-export): Restore point when exporting a subtree.
14016 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14018         * ob.el (org-babel-parse-src-block-match): More robust to code
14019         blocks with empty bodies.
14021 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14023         * ob.el (org-babel-parse-src-block-match): Don't error on empty
14024         code block body.
14026 2012-01-03  David Maus  <dmaus@ictsoc.de>
14028         * org.el (org-open-at-point): Unescape plain link.
14030 2012-01-03  David Maus  <dmaus@ictsoc.de>
14032         * org-html.el (org-html-handle-links): Remove unnecessary link
14033         unescape.
14035 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14037         * ob.el (org-babel-merge-params): Better error message for
14038         unassigned variables.
14040 2012-01-03  Christian Egli  <christian.egli@alumni.ethz.ch>
14042         * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
14043         buffer local variables to the temporary buffer before
14044         exporting.
14046 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14048         * org-exp.el (org-export-select-backend-specific-text):
14049         Only remove commas on the front line of a code block.
14051 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14053         * ob.el (org-babel-demarcate-block): Copy headers and indent to
14054         column of point when a block is split.
14056 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14058         * ob.el (org-babel-insert-result): Corrected file insertion
14059         for inline results.
14061 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14063         * org-footnote.el (org-footnote-in-valid-context-p):
14064         No footnote in latex fragments.
14066 2012-01-03  Martin Rudalics  <rudalics@gmx.at>
14068         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14069         argument from `pop-to-buffer-same-window' call.
14071 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14073         * ob-R.el (org-babel-R-evaluate-session): Improve prompt
14074         detection regexp.
14076 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14078         * org-inlinetask.el (org-inlinetask-goto-end):
14079         Small refactoring.
14081 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14083         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14084         refactor code.
14085         (org-babel-asymptote-table-to-array): Remove function.
14087 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14089         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14090         recognize non-nested lists as uni-dimensional arrays.
14092 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14094         * ob.el (org-babel-params-from-properties): Don't check for
14095         header arguments in properties with leading ":"s.
14097 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14099         * org-inlinetask.el (org-inlinetask-goto-end):
14100         Correctly detect the end of an inlinetask when the next one starts
14101         immediately after the current one.  Also, return position of
14102         point.
14104 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14106         * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
14107         start at bol.
14109 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14111         * ob-asymptote.el (org-babel-asymptote-define-type):
14112         Elisp floats are asymptote reals.
14114 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14116         * ob-asymptote.el (org-babel-asymptote-table-to-array):
14117         Require a new argument TYPE specifying the detected type of
14118         array.  If it's a string array, make sure every element is
14119         returned as a string.  Also improve doc-string.
14120         (org-babel-asymptote-var-to-asymptote): Fill new argument.
14121         Small refactoring.
14122         (org-babel-asymptote-define-type): Rewrite to avoid stopping
14123         search at first float found, as strings have precedence over
14124         floats.
14126 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14128         * org-footnote.el (org-footnote-normalize): Be sure to separate
14129         the last footnote definition from the rest of the buffer.
14131 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14133         * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
14134         variable names.
14136 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14138         * org.el (org-latex-regexps): Allow matching latex fragments
14139         of type "$" and "$1" at beginning of line.
14141 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14143         * org-agenda.el (org-search-view, org-agenda-get-todos)
14144         (org-agenda-get-deadlines, org-agenda-get-scheduled):
14145         Add `category-pos' in let construct.
14147 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14149         * org-footnote.el (org-footnote-get-definition): The function has
14150         to widen buffer if definition has not been found in the current
14151         narrowed part.  Be sure to restore that restriction once the
14152         definition is found.
14154 2012-01-03  Michal Sojka  <sojka@os.inf.tu-dresden.de>  (tiny change)
14156         * org-icalendar.el (org-print-icalendar-entries): Make alarm
14157         duration RFC5545 compliant.
14159 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14161         * org-agenda.el (org-agenda-get-timestamps)
14162         (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
14163         the `org-category-pos' property.
14165 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14167         * org-html.el (org-export-html-divs): Improve docstring.
14169 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14171         * org-table.el (org-table-fix-formulas): Throw error when
14172         changing formula leads to an invalid formula.
14174 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14176         * org.el (org-archive-location): Minor docstring fix.
14178 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14180         * org.el (org-block-todo-from-checkboxes):
14181         `org-list-search-forward' should be used when looking for an
14182         item, as it filters out contexts where match couldn't be in a
14183         list.  Also use a correct item regexp, taking into account
14184         alphabetical ordered lists and counters.
14186 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14188         * org-html.el (org-html-make-link): Minor fix to the
14189         docstring.
14191 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
14193         * org-inlinetask.el (org-inlinetask): New customizable face
14194         for inlinetasks.
14196 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14198         * org-agenda.el (org-agenda-get-todos): Properly set
14199         `category-pos'.
14201 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14203         * org-list.el (org-list-struct-apply-struct): Don't use
14204         (copy-marker (point)) instead of (point-marker).
14206 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14208         * ob.el (org-babel-where-is-src-block-result): Don't try to
14209         resolve variables when simply checking if we're inside of a
14210         code block.
14212 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14214         * org.el (org-refresh-category-properties): New text property
14215         'org-category-position to point at the beginning of the
14216         headline from which the category is set.
14218 2012-01-03  Matt Lundin  <mdl@imapmail.org>
14220         * org.el (org-refile): Don't call `org-back-to-heading' with
14221         goto argument.
14223 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14225         * org.el (org-link-display-descriptive): Remove this option and
14226         rely on the existing `org-descriptive-links' instead.
14227         (org-toggle-link-display): Use `org-descriptive-links'.
14229 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14231         * ob-ref.el (org-babel-ref-resolve): Allow matching of results
14232         with tags after the result name.
14234 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14236         * org-table.el (org-table-get-specials): Allow the use of the
14237         underscore character in column names.
14238         (org-table-get-specials): Allow the use of the underscore
14239         character in field names.
14241 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14243         * org-exp-blocks.el (org-export-blocks-preprocess):
14244         Explicitly cleaning up markers.
14246 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14248         * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
14249         around `org-babel-exp-do-export' which now searches in this case.
14250         (org-babel-exp-results): Position the point in the inline source
14251         block during export evaluation.
14253         * ob.el (org-babel-insert-result): More readable code.
14255 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14257         * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
14258         in function rather than the superfluous (and now removed)
14259         org-specific function.
14261 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14263         * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
14264         inline code blocks which are already escaped.
14266 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14268         * org-exp-blocks.el (org-marker-from-point): Helper function to
14269         create markers at specific points in source buffers.
14270         (org-export-blocks-preprocess): Use markers instead of points
14271         to delimit code blocks.
14273 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14275         * org-list.el (org-list-separating-blank-lines-number):
14276         The behavior of `org-back-over-empty-lines' depends on the
14277         associated value of `headline' in
14278         `org-blank-before-new-entry', which is out of context in a
14279         list.
14281 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14283         * org-indent.el (org-indent-initialize-agent): When the current
14284         buffer isn't being watched, resume initialization of other watched
14285         buffers.  In that case, give hand to others idle timers or
14286         processes more frequently.
14287         (org-indent-agent-active-delay): Rename from
14288         `org-indent-agent-process-duration'.
14289         (org-indent-agent-passive-delay): New variable.
14290         (org-indent-agent-resume-delay): Change value.
14291         (org-indent-initialize-buffer): Change argument name.
14292         (org-indent-add-properties): Change argument name and type
14293         expected.  It must be a time value now.
14295 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14297         * org.el (org-set-property): Bugfix.
14299 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14301         * ob.el (org-babel-remove-result): Idempotent code block
14302         evaluation and result removal.
14304 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14306         * ob-ruby.el (org-babel-ruby-initiate-session): No longer
14307         require inf-ruby when no session evaluation takes place.
14309 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14311         * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
14312         the docstring.
14314 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14316         * org-agenda.el (org-agenda-custom-commands): Set a default
14317         value for this command.
14319 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14321         * org-agenda.el (org-agenda-include-all-todo): Declare this option
14322         as no longer working.
14323         (org-timeline): Rename the include-all argument to dotodo.
14324         (org-arg-loc): Rename from` org-include-all-loc'.
14325         (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
14326         because its function has changed.
14328 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14330         * org.el (org-fixup-indentation): Fix various small bugs.
14332 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14334         * org-indent.el (org-indent-agent-timer)
14335         (org-indent-agentized-buffers, org-indent-agent-resume-timer)
14336         (org-indent-agent-process-duration)
14337         (org-indent-agent-resume-delay): New variables.
14338         (org-indent-initial-marker): More accurate doc-string.
14339         (org-indent-initial-timer, org-indent-initial-resume-timer)
14340         (org-indent-initial-process-duration)
14341         (org-indent-initial-resume-delay)
14342         (org-indent-initial-lock): Remove variables.
14343         (org-indent-mode): Set up an agent to watch current buffer, or
14344         add it to the list of already watched buffers.
14345         (org-indent-initialize-agent): New function.
14346         (org-indent-initialize-buffer): Now requires a mandatory
14347         buffer argument.
14348         (org-indent-add-properties): Reflect changes to variables.
14349         The resume timer is now global.
14351 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14353         * org-footnote.el (org-footnote-normalize): Refactor, and fix
14354         some blank lines deletion.
14356 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14358         * org-indent.el (org-indent-mode):
14359         `org-indent-initial-resume-timer ' needs to be local.
14361 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14363         * org.el (org-fixup-indentation): Correctly indent meta lines.
14365 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14367         * org-indent.el (org-indent-set-line-properties): Add text
14368         properties down to the beginning of the next line.
14369         (org-indent-add-properties): When last position to add
14370         properties to is at the beginning of a line, all that line
14371         will have properties.
14373 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14375         * org-indent.el (org-indent-initial-resume-timer): New variable.
14376         (org-indent-initialize-buffer): Also resume after a small break.
14377         (org-indent-add-properties): When in asynchronous mode,
14378         proceed for 2 seconds, then take a break.
14380 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14382         * org-indent.el (org-indent-set-line-properties): New function.
14383         (org-indent-add-properties): Externalize worker function.
14385 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14387         * org-indent.el (org-indent-indent-buffer): Take into account
14388         narrowing.
14390 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14392         * org-indent.el (org-indent-modified-headline-flag): Rename from
14393         `org-indent-deleted-headline-flag'
14394         (org-indent-notify-modified-headline): Rename from
14395         `org-indent-notify-deleted-headline'.  Handle situations when
14396         the stars of an headline are modified.
14397         (org-indent-refresh-maybe): Remove case now handled by
14398         previous function.
14399         (org-indent-mode): Apply renames.
14401 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14403         * org-indent.el (org-indent-inlinetask-first-star):
14404         New variable.
14405         (org-indent-add-properties): Set the first star of inline-tasks'
14406         virtual indentation in `org-warning' face.
14408         * org-inlinetask.el (org-inlinetask-insert-task): Create a new
14409         inline-task slightly differently, so virtual indentation can
14410         be applied normally.
14412 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14414         * org-indent.el (org-indent-initial-marker)
14415         (org-indent-initial-timer, org-indent-initial-lock):
14416         New variables.
14417         (org-indent-mode): At initialization, start an idle timer to indent
14418         the whole buffer.  When the user is asking for control, interrupt the
14419         process, and resume at the same point when idle again.
14420         (org-indent-initialize-buffer): New function.
14421         (org-indent-add-properties): Throw an interrupt when indentation of
14422         buffer is stopped during initialization.
14424 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14426         * org-indent.el (org-indent-indent-buffer): Send more
14427         appropriate messages.
14429 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14431         * org-indent.el (org-indent-notify-deleted-headline)
14432         (org-indent-refresh-maybe): Replace `org-indent-outline-re'
14433         with `org-outline-regexp-bol'.
14435 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14437         * org-indent.el (org-indent-max-levels): Modify default value and
14438         add comment.
14439         (org-indent-add-properties): Pay attention to `org-indent-max'
14440         and `org-indent-max-levels' values.
14441         (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
14442         save excursion.
14444 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14446         * org-table.el (org-table-align): Remove now useless hack.
14448 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14450         * org-indent.el (org-indent-fix-section-after-idle-time):
14451         Remove variable.
14452         (org-indent-initialize): Remove timer.
14453         (org-indent-add-properties): Refactor code.
14454         (org-indent-refresh-subtree, org-indent-refresh-section)
14455         (org-indent-refresh-buffer, org-indent-set-initial-properties):
14456         Remove functions.
14457         (org-indent-deleted-headline): New variable.
14458         (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
14459         New functions.
14460         (org-indent-mode): Insert new functions into a hook.
14462 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14464         * org-indent.el (org-indent-mode): Completely refresh buffer
14465         before starting org-indent-mode.  Also set idle timer to refresh
14466         only visible portion of buffer, and refresh the subtree instead of
14467         section when promoting or demoting it.
14468         (org-indent-add-properties): Rewrite function to proceed line by
14469         line, as required by `wrap-prefix' specificity.
14470         (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
14471         (org-indent-refresh-view): New function.
14472         (org-indent-refresh-to, org-indent-refresh-section):
14473         Remove functions.
14475         * org.el (org-unfontify-region): Do not remove prefix
14476         properties when unfontifying a region.
14478 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14480         * org-colview.el (org-columns-cleanup-item): Correctly remove
14481         leading stars in items displayed in the agenda column view.
14483 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14485         * org-colview.el (org-columns-display-here): Clean up items in
14486         `org-agenda-mode' too.
14487         (org-columns-cleanup-item): Take a new argument CPHR to allow
14488         passing a complex heading regexp.  Rewrite to cleanup ITEM
14489         correctly in `org-agenda-mode'.
14491 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14493         * org-clock.el (org-duration-string-to-minutes)
14494         (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
14495         Move from org.el.
14497 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14499         * org.el (org-refile-active-region-within-subtree): New option to
14500         allow refiling a region that is part of a subtree without
14501         containing a subtree itself.  This default to `nil'.
14502         (org-refile): Use the new option.  Put point at the beginning
14503         of the region/subtree to be refiled, so that users understand
14504         what will be refiled.  Also improve the prompt to tell whether
14505         the user is refiling a region or a headline.
14507 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14509         * org.el (org-properties-postprocess-alist): New option to allow
14510         postprocessing the values of properties set through
14511         `org-set-property'.
14512         (org-set-property): Use this option.
14514 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14516         * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
14517         docstring.
14519 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14521         * org-archive.el (org-archive-to-archive-sibling):
14522         Use `org-outline-regexp' instead of `outline-regexp'.
14524 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14526         * org.el (org-between-regexps-p): Searching up to pos may
14527         match again beginning regexp.
14529 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14531         * org-footnote.el (org-footnote-goto-definition): Don't send
14532         erroneous message: suggested bindings might not be set outside
14533         Org.
14535 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14537         * org-footnote.el (org-footnote-normalize): Effectively remove
14538         any footnote tag in non Org buffers, as detailled in the
14539         docstring of `org-footnote-tag-for-non-org-mode-files'.
14541 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14543         * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
14544         notify the opportunity to set the variable to the empty string.
14545         (org-footnote-normalize, org-footnote-create-definition):
14546         Carefully check for inserted newlines and presence of the
14547         footnote tag.
14549 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14551         * org-footnote.el (org-footnote-at-definition-p): Re-use
14552         `org-footnote-definition-re'.
14554 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14556         * org-footnote.el (org-footnote-definition-re): Remove an
14557         useless group.
14558         (org-footnote-at-definition-p): Reflect removal of the group.
14560 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14562         * org.el (org-set-regexps-and-options): Enforce white space
14563         after todo keyword, as word boundary isn't sufficient (i.e. in
14564         matches * TODO/this).
14566 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14568         * org-inlinetask.el (org-inlinetask-export-templates):
14569         Fix template for html so that the exported file is valid
14570         xhtml.  Added template for odt.
14571         (org-inlinetask-export-handler): Fix typo in the regexp that
14572         trims content.  Make sure that the content is flanked by
14573         paragraph boundaries on either side.
14575 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14577         * org.el (org-add-planning-info): Don't insert superfluous
14578         space when updating timestamps.
14580 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14582         * org-agenda.el (org-cmp-effort): Fix docstring.
14584 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14586         * org-list.el (org-list-full-item-re): When an item has only a
14587         bullet and no space after it, list structure would not be
14588         recognized correctly.
14590 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14592         * org.el (org-overview): Use `outline-regexp' instead of
14593         `org-outline-regexp' so that global cycling using
14594         `orgstruct-mode' works outside of Org buffers.
14596 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14598         * org-table.el (org-table-eval-formula): Fix missing variable
14599         in let construct.
14600         (org-table-time-string-to-seconds): Fix missing variable in
14601         let construct.
14603 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
14605         * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
14606         case of wdays being 0.  Don't pass wdays to
14607         org-agenda-deadline-face, like before the old fix.
14608         (org-agenda-deadline-face): Revert to old state that was without
14609         wdays.
14611 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14613         * org-latex.el (org-export-latex-fixed-width): Only add one
14614         line break after exporting verbatim environments.
14616 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14618         * org-list.el (org-list-item-trim-br): New function.
14619         (org-list-to-generic): New parameter :nobr to use the new
14620         function.
14622 2012-01-03  David Maus  <dmaus@ictsoc.de>
14624         * org.el (org-paste-subtree): Fix wrong order of lines to move
14625         before pasting.
14627 2012-01-03  David Maus  <dmaus@ictsoc.de>
14629         * org.el (org-paste-subtree): Paste subtree above target
14630         headline if point is at bol.
14632 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14634         * org-list.el (org-toggle-checkbox): Don't clear lim-down
14635         while used in the while loop.
14637 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14639         * org-list.el (org-toggle-checkbox): Lim-down must be a
14640         marker.
14642 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14644         * org.el (org-activate-code): Correct regexp so ":.*" isn't
14645         matched.
14647 2012-01-03  David Maus  <dmaus@ictsoc.de>
14649         * org-macs.el (org-with-gensyms, org-called-interactively-p)
14650         (with-silent-modifications, org-bound-and-true-p)
14651         (org-unmodified, org-re, org-preserve-lc)
14652         (org-without-partial-completion, org-with-point-at)
14653         (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14654         (org-if-unprotected-at, org-with-remote-undo)
14655         (org-no-read-only, org-save-outline-visibility)
14656         (org-with-wide-buffer, org-with-limited-levels)
14657         (org-eval-in-environment): Provide edebug specifications.
14659         * org-src.el (org-src-do-at-code-block): Dto.
14661         * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14663         * org-compat.el (org-xemacs-without-invisibility): Dto.
14665         * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14667         * org-agenda.el (org-agenda-with-point-at-orig-entry)
14668         (org-batch-agenda, org-batch-agenda-csv)
14669         (org-batch-store-agenda-views): Dto.
14671         * ob.el (org-babel-do-in-edit-buffer)
14672         (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14674         * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14676         * ob-table.el (sbe): Dto.
14678         * ob-exp.el (org-babel-exp-in-export-file): Dto.
14680         * ob-comint.el (org-babel-comint-in-buffer)
14681         (org-babel-comint-with-output): Dto.
14683 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14685         * org-inlinetask.el (org-inlinetask-export-templates):
14686         Fix docstring.
14688 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14690         * org-inlinetask.el (org-inlinetask-insert-task): Error when
14691         trying to nest inline tasks.
14693 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14695         * org.el (org-activate-code, org-toggle-fixed-width-section)
14696         (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14697         fixed-width section.
14699 2012-01-03  David Maus  <dmaus@ictsoc.de>
14701         * org.el (org-paste-subtree): Don't eat headline when called
14702         with point at existing headline.
14704 2012-01-03  David Maus  <dmaus@ictsoc.de>
14706         * org.el (org-paste-subtree): Fix typo in variable name.
14708 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14710         * org-inlinetask.el (org-inlinetask-export-handler):
14711         Don't export inline tasks if the current backend has provided no
14712         entries in `org-inlinetask-export-templates'.
14714 2012-01-03  Valentin Wüstholz  <wuestholz@gmail.com>  (tiny change)
14716         * org.el (org-indent-line-function): Made the way in which
14717         example blocks are indented more flexible.
14719 2012-01-03  David Maus  <dmaus@ictsoc.de>
14721         * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14722         when creating final parameter alist.
14724 2012-01-03  David Maus  <dmaus@ictsoc.de>
14726         * org-agenda.el (org-batch-store-agenda-views): Use macro
14727         `org-eval-in-environment'.
14729 2012-01-03  David Maus  <dmaus@ictsoc.de>
14731         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14732         Use `org-eval-in-environment.
14734 2012-01-03  David Maus  <dmaus@ictsoc.de>
14736         * org-macs.el (org-make-parameter-alist): New function.
14737         Turn flat list of alternating symbol names and values into an alist
14738         with symbol name in car and value in cdr.
14740 2012-01-03  David Maus  <dmaus@ictsoc.de>
14742         * org-agenda.el (org-agenda-with-point-at-orig-entry):
14743         Use macro `org-with-gensyms'.
14745 2012-01-03  David Maus  <dmaus@ictsoc.de>
14747         * org-macs.el (org-substitute-posix-classes):
14748         New function.  Substitute posix classes in regular expression.
14749         (org-re): Use new function.
14751 2012-01-03  David Maus  <dmaus@ictsoc.de>
14753         * org-macs.el (org-eval-in-environment): New macro.  Evaluate FORM
14754         in ENVIRONMENT.
14756 2012-01-03  David Maus  <dmaus@ictsoc.de>
14758         * org-macs.el (org-preserve-lc, org-with-point-at)
14759         (org-with-remote-undo, org-save-outline-visibility): Use new
14760         macro `org-with-gensyms'.
14762 2012-01-03  David Maus  <dmaus@ictsoc.de>
14764         * org-macs.el (org-with-gensyms): New macro.  Wrap let-binding
14765         of SYMBOLS to new uninterned symbols around BODY.
14767 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14769         * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14770         the task starts a paragraph or the HTML exporter will produce
14771         an incorrect output.
14773 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14775         * org.el (org-return): When filling happens, `newline' can
14776         change match data, hence modifying the indent column.
14778 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14780         * org-footnote.el (org-footnote-new): Only forbid non-inlined
14781         footnotes at column 0, as only them can be confused with a
14782         footnote definition.
14784 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14786         * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14787         when available when prompted for a label.  Also rename a local
14788         variable to avoid confusion with an existing function.
14790 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14792         * org-footnote.el (org-footnote-label-history):
14793         Remove variable
14794         (org-footnote-new): Remove call to that variable.
14796 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14798         * org.el (org-insert-heading): With `force-heading' non-nil,
14799         inserting an heading before any headline, and just after a
14800         list would return an error.
14802 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14804         * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14806 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14808         * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14809         non-special when resolving bibtex values.
14811 2012-01-03  David Maus  <dmaus@ictsoc.de>
14813         * org.el (org-back-over-empty-lines): Don't move line upward
14814         if point is at eob.
14816 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14818         * org-footnote.el (org-footnote-in-valid-context-p):
14819         Check `org-protected' property before allowing to match a footnote.
14820         (org-footnote-at-reference-p): Remove an obsolete test.  It is now
14821         done in the previous function.
14823 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14825         * org.el (org-between-regexps-p): Previous name implied the
14826         function was related to blocks, which isn't mandatory.
14827         (org-narrow-to-block, org-in-block-p)
14828         (org-indent-line-function): Applied the rename.
14830         * ob-exp.el (org-babel-in-example-or-verbatim):
14831         Applied rename.  Also removed a white space.
14833 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14835         * org.el (org-in-regexps-block-p): Return an useful value when
14836         point is between START-RE and END-RE.  No incomplete block is
14837         allowed anymore.  Add another optional argument to bound the
14838         bottom part of the search.
14839         (org-narrow-to-block, org-in-block-p): Apply modifications.
14841 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14843         * ob.el (org-babel-src-block-regexp): If a code block has a
14844         body, its last character must be a newline.
14846 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14848         * org-footnote.el (org-footnote-next-reference-or-definition):
14849         If no more footnote is found, be sure to go back to the
14850         original position.  Otherwise, point might be left on a
14851         footnote-like element that has been dished out.
14853 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14855         * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14856         variable.
14858         * ob.el (defvar): Wrap variable declaration in
14859         `eval-when-compile'.
14861 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14863         * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14865 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14867         * ob-java.el (org-babel-execute:java): Allow cmdline flags
14868         during compilation and evaluation.
14870 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14872         * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14873         * ob-ref.el (org-babel-ref-parse): Fix typos.
14875 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
14877         * ob.el (org-babel-execute-src-block): Fix typo.
14879 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14881         * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14883 2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>
14885         * org-list.el (org-list-send-item): Use sort instead of sort*.
14887 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14889         * org-table.el (org-table-line-to-dline): Fix typo.
14891 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14893         * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14894         (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14895         (org-search-syntax-table, org-modify-diary-entry-string)
14896         (org-write-agenda):
14897         * org-bbdb.el (org-bbdb-anniv-export-ical):
14898         * org-bibtex.el (org-bibtex-fields):
14899         * org-icalendar.el (org-icalendar-date-time-format):
14900         * org-latex.el (org-export-latex-inline-image-extensions):
14901         * org-list.el (org-list-insert-item): Fix typos.
14903 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
14905         * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14907 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14909         * org.el (org-mode): Force left-to-right paragraphs in Org
14910         buffers.  For a related discussions, see
14911         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14913 2011-09-17  Juanma Barranquero  <lekktu@gmail.com>
14915         * org.el (org-toggle-pretty-entities): Fix typo in message.
14917 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
14919         * org-compat.el (org-pop-to-buffer-same-window): Delete.
14921         * ob-ref.el (org-babel-ref-goto-headline-id):
14922         * org.el (org-get-location, org-tree-to-indirect-buffer)
14923         (org-mark-ring-goto, org-refile, org-add-log-note)
14924         (org-revert-all-org-buffers, org-switchb)
14925         (org-cycle-agenda-files, org-submit-bug-report)
14926         (org-goto-marker-or-bmk):
14927         * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14928         * org-capture.el (org-capture-goto-target)
14929         (org-capture-fill-template):
14930         * org-clock.el (org-clock-goto):
14931         * org-ctags.el (org-ctags-visit-buffer-or-file):
14932         * org-exp.el (org-export-as-org):
14933         * org-feed.el (org-feed-show-raw-feed):
14934         * org-html.el (org-export-htmlize-generate-css):
14935         * org-id.el (org-id-goto):
14936         * org-irc.el (org-irc-visit-erc):
14937         * org-mobile.el (org-mobile-apply):
14938         * org-publish.el (org-publish-org-to, org-publish-find-date):
14939         * org-remember.el (org-go-to-remember-target):
14940         * org-src.el (org-src-switch-to-buffer)
14941         (org-edit-fixed-width-region): Use switch-to-buffer.
14943 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
14945         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14946         argument from pop-to-buffer-same-window call.
14948 2011-07-30  Carsten Dominik  <carsten.dominik@gmail.com>
14950         * ob.el (org-babel-src-block-regexp): If a code block has a body,
14951         its last character must be a newline.
14953 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14955         * org-pcomplete.el: New file.  Rename from org-complete.el.
14956         * org-complete.el: Delete file.
14958 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14960         * org-publish.el (org-publish-index-generate-theindex):
14961         Rename from `org-publish-index-generate-theindex.inc'.  Use the file
14962         theindex.org directly instead of including theindex.inc.
14963         (org-publish-projects): Don't delete .orgx files.
14964         (org-publish-aux-preprocess): Use .file.orgx.
14966 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14968         * org-html.el (org-export-html-preamble-format): New default for
14969         the HTML preamble: don't include the title.  Also improve the
14970         docstring.
14971         (org-export-html-postamble-format): Improve the docstring.
14972         (org-export-as-html): Add the title within the "content" div.
14973         This is necessary for interaction with the org-info.js script.
14975 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
14977         * org-table.el (org-table-edit-field): Display field coordinates.
14979 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14981         * org-publish.el (org-publish-find-title): Bugfix: kill buffers
14982         unless they were already visited.
14983         (org-sitemap-sort-files, org-sitemap-sort-folders)
14984         (org-sitemap-ignore-case, org-sitemap-requested)
14985         (org-sitemap-date-format, org-sitemap-file-entry-format):
14986         Use a correct prefix.
14987         (org-publish-projects): Make sure to delete .orgx files.
14988         (org-publish-index-generate-theindex.inc): Small docstring fix.
14990 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14992         * org-table.el (org-table-duration-custom-format): New defcustom
14993         to select output format of durations computations.
14994         (org-table-time-seconds-to-string): Use the new variable.
14995         (org-table-eval-formula): Allow `t' as a flag, on top of `T'.  `t'
14996         will use the custom output format defined in
14997         `org-table-duration-custom-format'.
14999 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15001         * org-list.el: Search blank lines down to the end of the item
15002         instead of stopping at the item, in order to possibly match such
15003         lines within the item.
15005 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15007         * org-latex.el (org-export-latex-href-format): Docstring fix to
15008         reflect the fact that you can use only one "%s".
15009         (org-export-latex-links): Allow `org-export-latex-href-format' to
15010         have only one "%s".
15012 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15014         * org.el (org-org-menu): Add `org-copy-visible' to the menu.
15016 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15018         * org.el (org-copy-visible): New command.
15020 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15022         * org-capture.el (org-capture-templates): Docstring fix.
15024 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15026         * ob.el (org-babel-view-src-block-info): New function to inspect
15027         code blocks.
15029         * ob-keys.el (org-babel-key-bindings): Key bindings for
15030         `org-babel-view-src-block-info'.
15032 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15034         * org-exp.el (org-infile-export-plist): Handle recursively
15035         included setup files.  The value of the last included file always
15036         takes precedence over previous values.
15038 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15040         * org.el (org-timestamp-change): Keep point in the same category
15041         when updating a time-stamp.  This requires to be careful, as,
15042         depending on the locale, name of day might change of length during
15043         the process.
15045 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15047         * org-footnote.el (org-footnote-create-definition): When skipping
15048         already written footnotes definition, the algorithme would assume
15049         each one was only one-line long.
15051 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15053         * org-table.el (org-table-eval-formula): Fix bug when a formula
15054         "range" is just one cell.
15055         (org-table-time-string-to-seconds): Don't check whether we
15056         manipulate a string.
15058 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15060         * org-exp.el (org-export-mark-list-end)
15061         (org-export-mark-list-properties): Don't remove the ending regexp
15062         when it consists in blank lines.
15064         * org-list.el (org-list-parse-list): Ditto, but remove it
15065         completely when it isn't made of blank lines (i.e. during export
15066         process).
15068 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15070         * org-table.el (org-table-time-string-to-seconds): Match either
15071         HH:MM:SS or HH:MM (instead of MM:SS).
15073 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15075         * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
15076         `org-ctrl-c-ctrl-c' cannot do anything useful in the given
15077         context.
15079 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15081         * org-html.el (org-export-html-with-timestamp)
15082         (org-export-html-html-helper-timestamp): These are obsolete
15083         variables as of Org version 7.7 as you can already export the
15084         timestamp from the preamble or the postamble.
15085         (org-export-html-before-content-div): Delete variable.
15086         (org-export-html-content-div): Obsolete variable as of 7.7.
15087         (org-export-html-divs): New variable to define divs used in
15088         HTML export.
15089         (org-export-as-html): Now the preamble and the postamble are
15090         surrounded by a <div ...>.  The name of the div is defined through
15091         `org-export-html-divs'.
15093 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15095         * org-table.el (org-table-eval-formula): Throw an error when
15096         trying to replace complex range with invalid references.
15098 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15100         * org-macs.el (org-with-limited-levels): Some functions, like
15101         `org-back-to-heading', being deeply based on outline-mode, still
15102         refer to `outline-regexp' instead of `org-outline-regexp'.
15104 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15106         * org.el (org-refile-get-targets): New optional argument
15107         `excluded-entries' to exclude entries from the targets.
15108         (org-refile-get-location): From an org-mode buffer, exclude
15109         current heading and subheadings from the list of targets when
15110         `org-refile-use-cache' is nil.
15112 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15114         * org.el (org-imenu-get-tree): Headlines start at bol.
15116 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15118         * ob-maxima.el: New file.  Fixed self-proclaimed file name.
15120 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15122         * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
15123         lists.
15125 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15127         * org.el (org-kill-is-subtree-p): Matched string needs to start at
15128         bol.
15130 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15132         * org.el (org-paste-subtree, org-kill-is-subtree-p)
15133         (org-yank-folding-would-swallow-text, org-yank-generic):
15134         Use `org-with-limited-levels' macro.
15136 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15138         * org-macs.el (org-with-limited-levels): Also modify, when
15139         appropriate, `org-outline-regexp-at-bol'.
15141 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15143         * org.el (org-timestamp-change): Some locales don't use the same
15144         length for date abbreviations.  Set a marker at origin in case
15145         length of new timestamp is different.
15147 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15149         * org.el (org-imenu-get-tree): Browse only true headlines.
15151 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15153         * org-archive.el (org-archive-subtree): While it might be possible
15154         to archive an headline of a temporary buffer (i.e. not visiting a
15155         file), it wouldn't be really sensible.
15157 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15159         * org-archive.el (org-extract-archive-file)
15160         (org-extract-archive-heading, org-archive-subtree):
15161         `buffer-file-name' is nil in an indirect buffer.  Thus, use
15162         `(buffer-file-name (buffer-base-buffer))', which will, in any
15163         case, return the file name.
15165 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15167         * org-capture.el (org-capture): If dired isn't loaded,
15168         `dired-buffers' isn't defined, and %F will fail.
15170 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15172         * ob-java.el (org-babel-execute:java): Don't create empty package
15173         directories.
15175 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15177         * ob-java.el: New file.
15179 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15181         * ob.el (org-babel-execute-src-block): Replace call to defunct
15182         function `org-babel-result-hash'.
15184 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15186         * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
15187         lines and headers in `message-mode'.
15188         (org-footnote-at-reference-p): Remove check for cited lines, this
15189         is now handled by the previous function.  Refactor.
15191 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15193         * org-capture.el (org-capture): If no file is associated to
15194         current buffer, check dired buffer and try to retrieve a possibly
15195         directory associated.
15197 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15199         * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
15200         (not original) file buffer.
15202         * ob.el (org-babel-current-result-hash): More informative name,
15203         and remove useless optional argument.
15205 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15207         * org.el (org-refile-get-location): Exclude current heading from
15208         the refile table.
15210 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15212         * org-footnote.el (org-footnote-at-reference-p): Test if match is
15213         in cited text, when replying to a message.
15214         (org-footnote-new): Do not create a new footnote at bol, as it
15215         might be seen as a definition.
15216         (org-footnote-at-definition-p): Ignore definitions in forbidden
15217         blocks, as it is already the case for references.
15219 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15221         * org-bibtex.el (org-bibtex-create, org-bibtex-write):
15222         Change argument of `org-toggle-tag' to 'on.  (Other arguments, e.g., t,
15223         have no effect).
15225 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15227         * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
15228         into empty strings.
15230 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15232         * org-list.el (org-list-insert-item): Actualize code comments.
15233         (org-insert-item): For consistency, point cannot be moved at a
15234         surprising place when the user is being asked to choose a new
15235         description term to insert in the list.  Point should stay where
15236         the user called the command.
15238 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15240         * org.el (org-outline-regexp-bol): New defconst.
15241         (org-outline-level, org-set-font-lock-defaults, org-cycle)
15242         (org-overview, org-content, org-flag-drawer)
15243         (org-first-headline-recenter, org-insert-todo-heading)
15244         (org-map-region, org-move-subtree-down, org-paste-subtree)
15245         (org-kill-is-subtree-p, org-context-p, org-refile)
15246         (org-refile-new-child, org-toggle-comment, org-todo)
15247         (org-add-planning-info, org-add-log-setup, org-scan-tags)
15248         (org-set-tags, org-insert-property-drawer)
15249         (org-prepare-agenda-buffers, org-preview-latex-fragment)
15250         (org-speed-command-default-hook, org-check-for-hidden)
15251         (org-toggle-item, org-toggle-heading)
15252         (org-indent-line-function, org-set-autofill-regexps)
15253         (org-fill-paragraph, org-toggle-fixed-width-section)
15254         (org-yank-generic, org-yank-folding-would-swallow-text)
15255         (org-first-sibling-p, org-goto-sibling)
15256         (org-goto-first-child, org-show-entry):
15257         Use `org-outline-regexp' and `org-outline-regexp-bol'.
15259 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15261         * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
15262         be checked for parent, not current headline.  Also, this function
15263         doesn't need to be interactive.
15265 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15267         * org-list.el (org-list-send-item, org-list-struct-apply-struct)
15268         (org-apply-on-list, org-toggle-checkbox): Make markers point
15269         nowhere when they have become useless.
15271 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15273         * org-list.el (org-list-insert-item): When insertion point is in
15274         some white line after the end of the list, remove all unnecessary
15275         white lines there before proceeding.  Also refactor a snippet of
15276         code.
15278 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15280         * org-latex.el (org-export-latex-image-default-option):
15281         Change default value.
15283 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15285         * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
15286         correctly fontified when the buffer is missing a final newline.
15288 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15290         * ob.el (org-babel-strip-protective-commas): Return `nil' instead
15291         of an error if no argument is given.
15292         (org-babel-parse-src-block-match): Make sure body is defined in
15293         the let construct.
15295 2011-07-28  Jon Anders Skorpen  <jonas@ifi.uio.no>  (tiny change)
15297         * org-publish.el (org-publish-cache-file-needs-publishing):
15298         Regexp did not find includes with double quoted file names.
15300 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15302         * org-footnote.el (org-footnote-normalize): Footnote section
15303         should be inserted only if there are footnotes to insert.
15305 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15307         * org-footnote.el (org-footnote-at-definition-p)
15308         (org-footnote-normalize): Do not grab signature in the definition
15309         of the last footnote.
15311 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15313         * org-bibtex.el (org-babel-trim): Declare this function to the
15314         compiler.
15315         (org-bibtex-get): Trimming whitespace off of bibtex fields read from
15316         properties.
15318 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15320         * org-exp.el (org-export-preprocess-string): Add the possibility
15321         to call recursively the function.  Also change order of some
15322         function calls.  Comment export process for footnotes.
15324         * org-footnote.el (org-footnote-normalize): Change the export
15325         specific parameter to hold properties of export.  Thus, the
15326         function can send every footnote definition in the buffer through
15327         `org-export-process-string'.
15329 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15331         * org-latex.el (org-export-latex-preprocess): First insert
15332         footnotes in the temporary buffer so their contents can properly
15333         be protected from further transformations if required.
15335 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15337         * org-list.el (org-list-indent-offset): New variable.
15338         (org-list-struct-fix-ind): Make use of the new variable.
15340 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15342         * org-latex.el (org-export-latex-list-parameters):
15343         Complete default value with cbtrans option.
15345         * org-list.el (org-list-to-latex): Set a more consistent default
15346         value.
15348 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15350         * org-list.el (org-list-swap-items): Move it to a meaningful
15351         position in source code (i.e. before any function using it), and
15352         rename it to an easier name.
15354 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15356         * org-list.el (org-list-separating-blank-lines-number): If there
15357         are blank lines already in the whole list, add a blank line.
15359 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15361         * org-list.el (org-list-use-circular-move): New variable.
15362         (org-previous-item, org-next-item): Make use of the new variable.
15363         (org-move-item-down, org-move-item-up): Make use of the new
15364         variable.  Simplify code.
15366 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15368         * org-list.el (org-list-delete-item, org-list-send-item):
15369         New functions.
15371 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15373         * org-agenda.el (org-agenda-bulk-custom-functions): New variable
15374         for custom bulk action functions.
15375         (org-agenda-bulk-action): Use it.
15377 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15379         * org-latex.el (org-export-latex-quotes): New defcustom.
15380         (org-export-latex-quotation-marks): Use it.
15382 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15384         * org-capture.el (org-capture-finalize): Bugfix about inserted
15385         blank line when killing the capture buffer and
15386         `org-blank-before-new-entry' tells to not insert anything before a
15387         heading.
15389 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15391         * org-html.el (org-export-html-content-div): Rename from
15392         `org-export-content-div'.
15393         (org-export-as-html): Use new name.
15395 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15397         * org-latex.el (org-export-latex-header-defs-re): Delete.
15399 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15401         * org.el (org-last-set-property): New variable.
15402         (org-read-property-name): Use the new variable: the prompt
15403         defaults to the last property set, unless there is a property in
15404         the line at point.
15406 2011-07-28  David Maus  <dmaus@ictsoc.de>
15408         * org-capture.el (org-capture-before-finalize-hook)
15409         (org-capture-after-finalize-hook, org-capture-mode-map)
15410         (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
15411         consistently refer to capture, not remember.
15413 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15415         * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
15416         "verbatim" results params.
15418 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15420         * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
15421         "scalar".
15423         * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
15424         "scalar".
15426         * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
15427         synonym for "scalar".
15429         * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
15430         "scalar".
15432 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15434         * ob.el (org-babel-script-escape): Parse odd parens when nested
15435         isnide lists.
15437 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15439         * ob-clojure.el (org-babel-execute:clojure): No longer force
15440         results into elisp if they don't naturally fit.
15442 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15444         * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
15445         already parsed lisp results.
15447 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15449         * org-list.el (org-plain-list-ordered-item-terminator):
15450         Remove incorrect assumption.
15452 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15454         * org-footnote.el (org-footnote-forbidden-blocks): Add missing
15455         exporter specific blocks.
15457         * org-list.el (org-list-forbidden-blocks): Ditto.
15459 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15461         * org-latex.el (org-export-latex-tables): Bugfix: remove
15462         properties from fields.
15464 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15466         * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
15467         to use `org-clock-timestamps-change'.
15469 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15471         * org.el (org-timestamp-up, org-timestamp-down): Mention time
15472         changes in the docstring.
15474 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15476         * org-clock.el (org-clock-remove-empty-clock-drawer): New function
15477         to remove empty clock drawer.
15478         (org-clock-out-hook): Add the new function as a hook.
15480 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15482         * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
15484 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15486         * org.el (org-in-block-p): New function.
15488         * org-footnote.el (org-footnote-forbidden-blocks): New variable.
15489         (org-footnote-in-valid-context-p): New function.
15490         (org-footnote-at-reference-p): Use new function.  Allow inline
15491         footnotes to start at bol.
15493 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15495         * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
15496         (org-lparse-warn): Use it.
15498 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15500         * org-ascii.el (org-export-as-utf8): Fix call to
15501         `org-called-interactively-p': it requires an argument.  Also fix
15502         the docstring.
15504 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15506         * ob-lilypond.el (show-all): Declaring function from outline.el.
15507         (org-babel-default-header-args:lilypond): Declared.
15508         (ly-process-basic): Use the appropriate prefix for the temporary
15509         file, and don't call a function from ob-dot.el.
15510         (ly-version): Let-bind a free variable.
15512 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15514         * ob-lilypond.el: New file.
15516 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15518         * org-publish.el
15519         (org-publish-cache-file-needs-publishing): Only check against .org
15520         files.
15522 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15524         * org.el (org-mode): Use `org-default' as the default face in
15525         org-mode.
15527 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15529         * org-publish.el
15530         (org-publish-cache-file-needs-publishing): Takes care of more
15531         recently included files, returning `t' in case the file including
15532         them needs to be republished.
15534 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15536         * org-exp.el (org-export-preprocess-string): If the last subtree
15537         is a task, footnotes may be removed along with the subtree.
15538         This patch ensures footnotes are put at the end of the buffer after the
15539         subtree has been removed.
15541 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15543         * org-footnote.el (org-footnote-at-reference-p): Verify that what
15544         looks like a footnote doesn't belong to a link.
15545         (org-footnote-next-reference-or-definition): Check more strictly
15546         footnote definitions.
15548 2011-07-28  Deech  <deech@deech-ThinkPad-X200.(none)>  (tiny change)
15550         * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
15551         language modes.
15553 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15555         * ob-python.el (org-babel-python-evaluate-session): Inhibit return
15556         of the eoe string during session evaluation.
15558 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15560         * ob-python.el (org-babel-python-evaluate-session):
15561         Enough newlines to ensure a return when ":results output :session".
15563 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15565         * ob-python.el (org-babel-python-evaluate-session): Introduced a
15566         new local function for sending input with a slight delay to allow
15567         pythong to re-draw the prompt.  No longer removing newlines inside
15568         code block bodies (was due to a defective regexp).
15570 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15572         * org-table.el (org-table-time-seconds-to-string):
15573         Use `org-format-seconds' instead of `format-seconds'.
15575 2011-07-28  David Maus  <dmaus@ictsoc.de>
15577         * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
15578         relative symlinks.
15580 2011-07-28  David Maus  <dmaus@ictsoc.de>
15582         * org-latex.el (org-export-latex-preprocess): Use function
15583         argument instead of dynamically scoped symbol.
15585 2011-07-28  David Maus  <dmaus@ictsoc.de>
15587         * org-freemind.el (org-freemind-convert-links-helper)
15588         (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
15589         (org-freemind-get-node-style): Use org-string-match-p for backward
15590         compatibility with Emacs 22.
15592 2011-07-28  David Maus  <dmaus@ictsoc.de>
15594         * org-html.el (org-export-html-protect-char-alist): Add missing
15595         :group keyword in defcustom.
15597 2011-07-28  David Maus  <dmaus@ictsoc.de>
15599         * ob-haskell.el (org-babel-haskell-export-to-lhs):
15600         Call `kill-buffer' with argument indiciating to kill current
15601         buffer.  Emacs 22 compatibility.
15603 2011-07-28  David Maus  <dmaus@ictsoc.de>
15605         * org-macs.el (org-without-partial-completion):
15606         Toggle partial-completion-mode only if it is turned on.
15608 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15610         * org.el (org-add-planning-info): Fix issues with timestamps not
15611         being inserted at the same position.
15613 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15615         * org-table.el (org-table-time-string-to-seconds)
15616         (org-table-time-seconds-to-string): New functions.
15617         (org-table-eval-formula): Implement the "T" (time) flag for
15618         computing durations.
15620 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
15622         * org.el (org-modules): Add org-lparse and org-odt as contrib
15623         modules.
15625 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15627         * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15628         lines.
15629         (org-additional-option-like-keywords): Include data as a synonym
15630         for results.
15632 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15634         * ob.el (org-babel-sha1-hash): Improving code layout and removing
15635         export-variable headers in cache sha1.
15637 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15639         * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15640         rescan all IDs when trying to resolve a reference.
15642 2011-07-28  Julien Barnier  <julien@nozav.org>
15644         * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15645         blocks lang attribute.
15647 2011-07-28  Eric S Fraga  <e.fraga@ucl.ac.uk>
15649         * org-latex.el (org-export-latex-timestamp-inactive-markup):
15650         New option to allow different markup for inactive timestamps.
15652 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15654         * ob-org.el (org-babel-expand-body:org): Implemented this
15655         function, only action is to expand variables.
15656         (org-babel-execute:org): Uses the new body-expansion function.
15658 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15660         * org-list.el (org-list-full-item-re): Allow counter and check-box
15661         to be separated by white spaces.
15662         (org-list-struct-apply-struct): Reflect changes made to
15663         `org-list-full-item-re'.
15665         * org-html.el (org-html-export-list-line): Recognize spaces
15666         between counter and check-boxes as valid.
15668         * org-docbook.el (org-export-docbook-list-line): Ditto.
15670 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15672         * org-list.el (org-list-insert-item): Make sure point is moved to
15673         the specified POS before starting the function.
15675 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15677         * org.el (org-activate-footnote-links): Properly fontify inline
15678         footnotes.
15679         (org-set-font-lock-defaults): Apply changes to previous function.
15681 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15683         * org-footnote.el (org-footnote-at-reference-p): First check if
15684         point is at the beginning of a footnote.  Indeed `org-in-regexp'
15685         first checks backwards and might find an incorrect footnote if
15686         they are side-by-side.
15688 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
15690         * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15691         (org-agenda-block-separator): Add nil to docstring and customization.
15692         (org-prepare-agenda): Skip agenda block separator additionally if
15693         `org-agenda-block-separator' is nil.
15694         (org-agenda-overriding-header): Improve docstring.
15696 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15698         * org.el (org-set-tags): Remove useless
15699         `org-without-partial-completion'.
15701 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15703         * org-footnote.el (org-fill-paragraph): Declare function for the
15704         compiler.
15706 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15708         * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15710 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15712         * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15713         to appease compiler.
15715 2011-07-28  Michael Markert  <markert.michael@googlemail.com>
15717         * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15718         all `org-called-interactively-p' function invocations.
15720         * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15721         to all `org-called-interactively-p' function invocations.
15722         (org-agenda-show-1): Adding optional argument KIND to all
15723         `org-called-interactively-p' function invocations.
15724         (org-agenda-set-tags): Adding optional argument KIND to all
15725         `org-called-interactively-p' function invocations.
15727         * org-ascii.el (org-export-as-latin1): Adding optional argument
15728         KIND to all `org-called-interactively-p' function invocations.
15729         (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15730         all `org-called-interactively-p' function invocations.
15731         (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15732         `org-called-interactively-p' function invocations.
15733         (org-export-region-as-ascii): Adding optional argument KIND to all
15734         `org-called-interactively-p' function invocations.
15736         * org-docbook.el (org-export-region-as-docbook): Adding optional
15737         argument KIND to all `org-called-interactively-p' function
15738         invocations.
15740         * org-html.el (org-export-region-as-html): Adding optional
15741         argument KIND to all `org-called-interactively-p' function
15742         invocations.
15744         * org-latex.el (org-export-region-as-latex): Adding optional
15745         argument KIND to all `org-called-interactively-p' function
15746         invocations.
15748         * org-table.el (org-table-blank-field): Adding optional argument
15749         KIND to all `org-called-interactively-p' function invocations.
15750         (org-table-current-column): Adding optional argument KIND to all
15751         `org-called-interactively-p' function invocations.
15752         (org-table-current-dline): Adding optional argument KIND to all
15753         `org-called-interactively-p' function invocations.
15754         (org-table-sort-lines): Adding optional argument KIND to all
15755         `org-called-interactively-p' function invocations.
15756         (org-table-sum): Adding optional argument KIND to all
15757         `org-called-interactively-p' function invocations.
15758         (org-table-rotate-recalc-marks): Adding optional argument KIND to
15759         all `org-called-interactively-p' function invocations.
15760         (org-table-eval-formula): Adding optional argument KIND to all
15761         `org-called-interactively-p' function invocations.
15762         (orgtbl-send-table): Adding optional argument KIND to all
15763         `org-called-interactively-p' function invocations.
15765         * org.el (org-mode): Adding optional argument KIND to all
15766         `org-called-interactively-p' function invocations.
15767         (org-copy-subtree): Adding optional argument KIND to all
15768         `org-called-interactively-p' function invocations.
15769         (org-paste-subtree): Adding optional argument KIND to all
15770         `org-called-interactively-p' function invocations.
15771         (org-store-link): Adding optional argument KIND to all
15772         `org-called-interactively-p' function invocations.
15773         (org-todo): Adding optional argument KIND to all
15774         `org-called-interactively-p' function invocations.
15775         (org-occur): Adding optional argument KIND to all
15776         `org-called-interactively-p' function invocations.
15778 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15780         * org-footnote.el (org-footnote-action): Offer to create
15781         definition when none is found.
15783 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15785         * org-footnote.el (org-footnote-re): Avoid matching inactive
15786         time-stamps or check-box cookies.
15787         (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15789 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15791         * org-exp.el (org-export-preprocess-string): If the last subtree
15792         is commented, footnotes inserted during normalizing at the end of
15793         the buffer may get deleted.  This patch ensures deletion comes
15794         first, normalization second.
15796 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15798         * org-exp.el (org-export-footnotes-data): Change docstring.
15799         (org-export-footnotes-seen): Rename from
15800         org-export-footnotes-markers.
15802         * org-ascii.el (org-export-as-ascii): Apply change.
15804         * org-docbook.el (org-export-as-docbook): Apply change.
15806         * org-footnote.el (org-footnote-normalize): Apply change.
15808         * org-html.el (org-export-as-html): Apply change.
15810         * org-latex.el (org-export-as-latex): Apply change.
15812 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15814         * org-latex.el (org-export-latex-preprocess): Rely on
15815         `org-export-footnotes-markers' to retrieve definition of the
15816         current footnote during export.
15818 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15820         * org-footnote.el (org-footnote-normalize): Remember footnotes
15821         seen so far by the exporter when choosing the new marker.
15823 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15825         * org-footnote.el (org-footnote-normalize): Make use of
15826         `org-footnote-insert-pos-for-preprocessor'.
15828 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15830         * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15831         property to footnote markers when preparing for exportation.
15833         * org-html.el (org-export-as-html): Read new property to decide
15834         when to export a footnote.
15836         * org-docbook.el (org-export-as-docbook): Read new property to
15837         decide when to export a footnote.
15839         * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15840         column 0 cannot end a list containing it by adding
15841         `original-indentation' property to it.
15843 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15845         * org-exp.el (org-export-preprocess-string): Normalize footnotes
15846         before marking lists ending.
15848         * org-latex.el (org-export-latex-preprocess): Work with labels as
15849         strings and not as numbers.
15851 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15853         * org-docbook.el (org-export-docbook-footnote-separator):
15854         New variable.
15855         (org-export-as-docbook): Add a separator between footnotes.
15857         * org-html.el (org-export-html-footnote-separator): New variable.
15858         (org-export-as-html): Add a separator between footnotes.
15860         * org-latex.el (org-export-latex-footnote-separator):
15861         New variable.
15862         (org-export-latex-preprocess): Add a separator between footnotes.
15864 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15866         * org-exp.el (org-export-footnotes-markers)
15867         (org-export-footnotes-data): New variables.
15868         (org-export-preprocess-string): Use a more explicit argument.
15870 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15872         * org-footnote.el (org-footnote-goto-definition): Now, determining
15873         if point is at a footnote reference is entirely determined by
15874         `org-footnote-at-reference-p'.  No need to check if pattern isn't
15875         at beginning of the line elsewhere.
15877 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15879         * org-footnote.el (org-footnote-next-reference-or-definition):
15880         New function.
15882         * org.el (org-activate-footnote-links): Activate the whole
15883         footnote, but only fontify its label.
15885 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15887         * org-footnote.el (org-footnote-normalize): Make use of changes to
15888         `org-footnote-at-reference-p' and creation of various functions..
15889         Also comment code.
15890         (org-footnote-get-next-reference, org-footnote-delete-references)
15891         (org-footnote-delete-definitions): New functions.
15892         (org-footnote-goto-previous-reference, org-footnote-all-labels)
15893         (org-insert-footnote-reference-near-definition, org-footnote-delete):
15894         Rewrite to use org-footnote-get-next-reference.
15896 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15898         * org-footnote.el (org-footnote-re): Don't end an inline footnote
15899         at unrelated closing square brackets.
15900         (org-footnote-at-reference-p): Improve accuracy of the function to
15901         determine if point is at a reference and to extract definition of an
15902         inline footnote.
15903         (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15904         (org-footnote-auto-adjust-maybe): Make use of previous function.
15906 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15908         * org.el (org-deadline, org-schedule):
15909         keep warning cookie when rescheduling/redeadlining.
15910         (org-time-stamp): Fix problem with warning cookie.
15912 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15914         * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15915         clojure source into elisp source.
15917 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15919         * ob.el (org-babel-script-escape): Treats {} in the same manner as
15920         [] and allows for forcing string conversion.
15922 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15924         * org-exp.el (org-export-select-backend-specific-text):
15925         Strip protective commas from literal code blocks.
15927 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15929         * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15931 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15933         * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15934         own function.
15935         (org-babel-ref-headline-body): Split out into its own function.
15936         (org-babel-ref-resolve): Using new functions, and alignment.
15938         * ob.el (org-babel-ref-goto-headline-id): Declare function.
15939         (org-babel-ref-headline-body): Declare function.
15940         (org-babel-expand-noweb-references): Now expands noweb references to
15941         headlines during expansion.
15943 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15945         * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15946         headlines by either global or custom id, in which case the
15947         contents of the headline are returned literally.
15949 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15951         * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15952         verbatim emphasis.
15953         (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15954         lines.
15956 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15958         * org-list.el (org-cycle-item-indentation): Cycling back to
15959         original position deleted any additional information in the item,
15960         like a counter or a tag.
15962 2011-07-28  Pieter Praet  <pieter@praet.org>
15964         * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15965         (org-decrypt-entry): Before decrypting, check whether
15966         `auto-save-mode' is enabled for the current buffer, and act on it
15967         according to how `org-crypt-disable-auto-save' is set.  Remove
15968         comment re "encrypt[ing] Org auto-saved buffers".  Remove on-init
15969         check for `auto-save-default'.
15971 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15973         * ob.el (org-babel-merge-params): Ensure variable parameters are
15974         not reversed.
15976 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15978         * ob.el (org-babel-insert-result): Fix results insertion for
15979         inline blocks which happen to start a line.
15981 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15983         * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
15984         if a call line is commented.
15986 2011-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15988         * org.el (org-read-property-name): Propose default property name.
15990 2011-07-28  Achim Gratz  <stromeko@nexgo.de>
15992         * org.el (org-log-into-drawer): Correct typo.
15994         * org-clock.el (org-clock-into-drawer): New function to change the
15995         location of clock events based on properties CLOCK_INTO_DRAWER or,
15996         as fallback, LOG_INTO_DRAWER, like it is already possible for
15997         state change logs.
15999         * org-clock.el (org-clock-jump-to-current-clock): Add statement to
16000         let clause to bind `org-clock-into-drawer' to result of function
16001         eval.
16003         * org-clock.el (org-clock-find-position): Add statement to let
16004         clause to bind `org-clock-into-drawer' to result of function eval,
16005         change let to let* since the binding is used later in the same
16006         clause.
16008 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16010         * ob-lob.el (require): Ensure 'cl is loaded during compilation so
16011         we can use flet.
16013 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16015         * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
16016         non-inline call lines.
16018 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16020         * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
16021         call_ blocks which aren't whitespace padded.
16023 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16025         * ob.el (org-babel-merge-params): Do not reverse variable order,
16026         and be sure to increment variable index as appropriate.
16028 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16030         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
16031         successfully match optional trailing header arguments in square
16032         brackets.
16033         (org-babel-lob-get-info): Update to match the new regexp.
16035 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16037         * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
16038         then allow them to be so.
16040 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16042         * ob.el (org-babel-merge-params): If variables are not named they
16043         are assigned in order.
16045 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16047         * ob.el: Remove code comment about online documentation.
16049         * ob-exp.el: Remove code comment about online documentation.
16051         * ob-lob.el: Remove code comment about online documentation.
16053 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16055         * org-exp.el (org-export-format-source-code-or-example):
16056         Fix signature of org-<backend>-format-source-code-or-example function.
16058 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16060         * ob.el (org-babel-sha1-hash): Replace call to
16061         called-interactively-p with backwards-compatible interactive-p.
16063 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16065         * ob-exp.el (org-babel-exp-lob-one-liners):
16066         Appropriate replacement of inline call blocks with their results.
16068 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16070         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
16071         trailing space ensures that the insertion of the results looks
16072         nice.
16074         * ob.el (org-babel-insert-result): Insert inline lob line results
16075         as inline results.
16077 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16079         * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
16080         appropriately given the style (block or inline) of the lob line.
16082         * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
16083         specific for block lob lines.
16084         (org-babel-inline-lob-one-liner-regexp): New regexp specific for
16085         inline lob lines.
16086         (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
16087         (org-babel-lob-get-info): Return info from *either* the block or
16088         inline lob lines.
16090 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16092         * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
16093         structure of the resulting info list.
16095         * ob-lob.el (org-babel-default-lob-header-args): Export the
16096         results of call lines by default.
16098 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>  (tiny change)
16100         * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
16101         property based on the ID property of the org entry to the first
16102         character of the diary entry.
16104 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16106         * org-footnote.el
16107         (org-footnote-insert-pos-for-preprocessor): New variable.
16108         (org-footnote-normalize): Use it.
16110 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16112         * org-exp.el (org-export-format-source-code-or-example):
16113         Simplify.  Also add `org-native-text' as a text property to the
16114         formatted text and throw error for unknown backends.
16116 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16118         * org-exp.el (org-export-format-source-code-or-example):
16119         Add support for: - custom formatters for existing backends - seamless
16120         plugging in of new backends.
16122 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16124         * org-exp.el (org-export-backends): New variable.
16125         (org-export-select-backend-specific-text): Use above
16126         variable.  Also mark text between #+BACKEND and
16127         #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
16128         This text property is currently used only by the new line-oriented
16129         generic exporter (which is not yet part of the repo).
16131 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16133         * org-exp.el (org-export): Reserve keys 'o' and 'O' for
16134         OpenDocumentText export and bind them to `org-export-as-odt' and
16135         `org-export-as-odt-and-open'.
16137 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16139         * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
16140         mode.
16142 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16144         * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
16145         lists before reading into emacs-lisp.
16147 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16149         * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
16151         * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
16153         * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
16155         * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
16157         * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
16159         * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
16161         * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
16163         * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
16165         * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
16167         * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
16169         * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
16171         * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
16173 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16175         * ob-awk.el: New file.
16177 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16179         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
16180         Respects ":results verbatim".
16182 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16184         * org-agenda.el (org-float): Aliases for `diary-float'.
16186 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16188         * ob-python.el (org-babel-python-evaluate-session):
16189         Send comint-send-input after every line when interacting with an
16190         interactive python process.
16192 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16194         * org-list.el (org-reset-checkbox-state-subtree): Make the command
16195         more robust, and correctly update check-boxes in the whole
16196         sub-tree.
16197         (org-update-checkbox-count): Fix bug accumulating count of checkboxes
16198         when walking a subtree.
16199         (org-update-checkbox-count-maybe): Add an optional argument passed to
16200         org-update-checkbox-count.
16202 2011-07-28  Teodor Zlatanov  <tzz@lifelogs.com>
16204         * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
16206 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16208         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
16209         ":results scalar" header argument combination.
16211 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16213         * org-src.el: Append a space character to copied text so that the
16214         final text property change is picked up correctly.
16216 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16218         * ob-tangle.el (org-babel-tangle-file): Use the new argument list
16219         to org-babel-tangle.
16220         (org-babel-tangle): Now when called with a prefix argument, only the
16221         current code block is tangled.
16223 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16225         * org-list.el (org-list-parse-list): Replace transitional
16226         check-boxes with "[CBTRANS]" string during parsing.
16227         (org-list-to-generic): Use the new property `:cbtrans' to configure
16228         export string for transitional check-boxes.
16230 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16232         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16233         Use stable internal `org-anniversary' instead of
16234         diary-anniversary.
16235         (org-class): New function.
16236         (org-diary-class): Use `org-class'.
16237         (org-anniversary, org-cyclic, org-date, org-block): New functions.
16239 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16241         * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
16242         of header argument names.
16244 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16246         * ob.el (org-babel-expand-noweb-references): Concatenating all
16247         bodies with the appropriate name or :noweb-ref header argument.
16249 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16251         * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
16252         work also when #+begin line is indentex.
16254 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16256         * ob.el (org-babel-src-block-regexp): Babel: code block may have
16257         empty bodies.
16259 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16261         * org-macs.el (org-without-partial-completion): Avoid calling by
16262         name a function unknown to the compiler but explicitly checked by
16263         program logic.
16265 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16267         * org-mouse.el (org-agenda-earlier): Declaring previously unknown
16268         function.
16269         (org-agenda-later): Declaring previously unknown function.
16270         (org-agenda-mode-map): Declaring previously unknown variable.
16272         * org.el (org-read-date-analyze): Explicitly ignore the return
16273         value of a function.
16275 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16277         * org-agenda.el (org-agenda-mode): Globally replace
16278         buffer-substring-filters with filter-buffer-substring-functions.
16280         * org-indent.el (org-indent-mode): Globally replace
16281         buffer-substring-filters with filter-buffer-substring-functions.
16283 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16285         * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
16286         #'(λ...).
16288         * org-attach.el: Replacing '(λ...) with #'(λ...).
16289         (org-attach-commit): Replacing '(λ...) with #'(λ...).
16291         * org-exp.el: Replacing '(λ...) with #'(λ...).
16292         (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
16294         * org-html.el: Replacing '(λ...) with #'(λ...).
16295         (org-export-as-html): Replacing '(λ...) with #'(λ...).
16297         * org-mouse.el: Replacing '(λ...) with #'(λ...).
16298         (org-mouse-popup-global-menu): Replacing '(λ...) with
16299         (org-mode-hook): Replacing '(λ...) with #'(λ...).
16300         (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
16302         * org-src.el: Replacing '(λ...) with #'(λ...).
16303         (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
16305         * org-table.el: Replacing '(λ...) with #'(λ...).
16306         (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
16308         * org.el: Replacing '(λ...) with #'(λ...).
16309         (org-confirm-shell-link-function): Replacing '(λ...) with
16310         (org-category): Replacing '(λ...) with #'(λ...).
16312 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16314         * org.el (mailcap-parse-mailcaps): Declaring functions used by
16315         `org-open-file'.
16316         (mailcap-extension-to-mime): Declaring functions used by
16317         `org-open-file'.
16318         (mailcap-mime-info): Declaring functions used by `org-open-file'.
16320 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16322         * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
16323         function `interactive-p'.
16324         (org-agenda-show-1): Replacing call to now-defunct function
16325         `interactive-p'.
16326         (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
16328         * org-ascii.el: Replacing call to now-defunct function
16329         `interactive-p'.
16330         (org-export-as-latin1): Replacing call to now-defunct function
16331         `interactive-p'.
16332         (org-export-as-latin1-to-buffer): Replacing call to now-defunct
16333         function `interactive-p'.
16334         (org-export-as-utf8): Replacing call to now-defunct function
16335         `interactive-p'.
16336         (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
16337         `interactive-p'.
16338         (org-export-region-as-ascii): Replacing call to now-defunct
16339         function `interactive-p'.Replacing call to now-defunct function
16340         `interactive-p'.
16342         * org-docbook.el: Replacing call to now-defunct function
16343         `interactive-p'.
16344         (org-export-region-as-docbook): Replacing call to now-defunct
16345         function `interactive-p'.Replacing call to now-defunct function
16346         `interactive-p'.
16348         * org-html.el: Replacing call to now-defunct function
16349         `interactive-p'.
16350         (org-export-region-as-html): Replacing call to now-defunct
16351         function `interactive-p'.Replacing call to now-defunct function
16352         `interactive-p'.
16354         * org-latex.el: Replacing call to now-defunct function
16355         `interactive-p'.
16356         (org-export-region-as-latex): Replacing call to now-defunct
16357         function `interactive-p'.Replacing call to now-defunct function
16358         `interactive-p'.
16360         * org-macs.el: Replacing call to now-defunct function
16361         `interactive-p'.
16362         (org-called-interactively-p): Replacing call to now-defunct
16363         function `interactive-p'.Replacing call to now-defunct function
16364         `interactive-p'.
16366         * org-table.el: Replacing call to now-defunct function
16367         `interactive-p'.
16368         (org-table-blank-field): Replacing call to now-defunct function
16369         `interactive-p'.
16370         (org-table-current-column): Replacing call to now-defunct function
16371         `interactive-p'.Replacing call to now-defunct function
16372         `interactive-p'.
16373         (org-table-current-dline): Replacing call to now-defunct function
16374         `interactive-p'.Replacing call to now-defunct function
16375         `interactive-p'.
16376         (org-table-sort-lines): Replacing call to now-defunct function
16377         `interactive-p'.
16378         (org-table-sum): Replacing call to now-defunct function
16379         `interactive-p'.
16380         (org-table-rotate-recalc-marks): Replacing call to now-defunct
16381         function `interactive-p'.
16382         (org-table-eval-formula): Replacing call to now-defunct function
16383         `interactive-p'.
16384         (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
16386         * org.el: Replacing call to now-defunct function `interactive-p'.
16387         (org-mode): Replacing call to now-defunct function
16388         `interactive-p'.
16389         (org-copy-subtree): Replacing call to now-defunct function
16390         `interactive-p'.
16391         (org-paste-subtree): Replacing call to now-defunct function
16392         `interactive-p'.
16393         (org-store-link): Replacing call to now-defunct function
16394         `interactive-p'.
16395         (org-todo): Replacing call to now-defunct function `interactive-p'.
16396         (org-occur): Replacing call to now-defunct function `interactive-p'.
16398 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16400         * ob-R.el (ess-local-process-name): This variable wasn't known to
16401         be defined.
16403         * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
16404         group specified.
16406         * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
16407         known to be defined.
16408         (org-babel-tangle-combine-named-blocks): Roll my own version of a
16409         forbidden common lisp function.
16411         * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
16412         called-interactively.
16414 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16416         * org-latex.el (org-export-latex-tables): Check for the
16417         "multiline" option and set the `floatp' option to true when
16418         multicolumn tables are requested.
16420 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16422         * org-html.el (org-export-as-html, org-html-level-start):
16423         Only convert section number underscores to dashes.
16425 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16427         * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
16428         `days-to-time, converting relative to 1 BC, while the code assumed
16429         it would return a time relative to 1970.
16431 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16433         * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
16434         inserting newlines between appended code blocks.
16436 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16438         * ob-exp.el: We may no longer need to export names along with code
16439         blocks.
16441 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16443         * org-exp-blocks.el (org-export-blocks-preprocess):
16444         Ensure balanced nested begin/end blocks in block bodies.
16446 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16448         * org-latex.el: Add -shell-escape to pdflatex commands.
16450 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16452         * ob-tangle.el (org-babel-tangle-named-block-combination):
16453         Block combination can now take a number of values.
16454         (org-babel-tangle-combine-named-blocks): More sophisticated block
16455         combination behavior.
16457 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16459         * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
16460         Switch to turn on the combination of code blocks of the same name.
16461         (org-babel-tangle-combine-named-blocks): Combine blocks of the same
16462         name.
16464 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16466         * ob-ruby.el (xmp): Declaring this function to appease the
16467         compiler.
16468         (org-babel-execute:ruby): "xmp" result option for outputting
16469         annotated source code.
16471 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>  (tiny change)
16473         * org-list.el (org-list-to-latex): The enumerate environment in
16474         latex increments the counter before using it.  Therefore, org-mode
16475         should set the enumeration counter to the desired value minus one.
16477 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>  (tiny change)
16479         * org.el (org-toggle-heading): More comments and fix number of
16480         stars when toggling from list items.
16482 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16484         * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
16485         effort that is accepted by `org-duration-string-to-minutes´.
16487 2011-07-28  Julien Barnier  <julien@nozav.org>
16489         * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
16490         wait until previous line execution is finished.
16492         * ob-comint.el (org-babel-comint-with-output): When looking for
16493         end-of-evaluation indicator, search forward for the indicator
16494         before searching forward for the prompt.
16496 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16498         * org-entities.el (org-entities): Fix HTML entity for degree.
16500 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16502         * org.el (org-auto-align-tags): Change docstring.
16503         (org-update-parent-todo-statistics): Keep tags aligned even when
16504         statistics cookies are shifting them.
16506         * org-list.el (org-update-checkbox-count): Keep tags aligned even
16507         when statistics cookies are shifting them.
16509 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16511         * ob.el (org-babel-sha1-hash): Don't modify info argument by
16512         side-effect when sorting result-params list.
16514 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16516         * ob.el (org-babel-result-regexp): Use non-shy group around
16517         `org-babel-data-names'.
16519 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16521         * org.el (org-insert-link): Set truncate-line in the *Org Link*
16522         buffer and make sure that it really is set there.
16524 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16526         * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
16527         changing how/if the current directory is represented to lisp code.
16528         (org-babel-execute:lisp): More general handling of the default
16529         directory value.
16531 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16533         * ob-lisp.el (org-babel-execute:lisp): Setting the value of
16534         *default-pathname-defaults* to either the value of the :dir header
16535         argument or the directory of the containing Org-mode file.
16537 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16539         * ob-lisp.el (org-babel-execute:lisp): No real functional change,
16540         just aesthetic.
16542 2011-07-28  Sébastien Delafond  <sdelafond@gmail.com>  (tiny change)
16544         * org.el (org-mode-flyspell-verify): This is useful when using
16545         flyspell with a non-English dictionary, or if some of your
16546         keywords are in another language.
16548 2011-07-28  David Maus  <dmaus@ictsoc.de>
16550         * org-exp.el (org-export): Use new compatibility function
16551         `org-activate-mark'.
16553         * org-compat.el (org-activate-mark): New function.
16554         Provide `activate-mark' if not present (e.g. Emacs 22).
16556 2011-07-28  David Maus  <dmaus@ictsoc.de>
16558         * org-table.el (org-table-follow-field-mode): Declare variable to
16559         keep byte compiler happy.
16561 2011-07-28  David Maus  <dmaus@ictsoc.de>
16563         * org-footnote.el (org-id-uuid): Declare function, silence byte
16564         compiler.
16566 2011-07-28  David Maus  <dmaus@ictsoc.de>
16568         * org-bibtex.el (org-bibtex-headline): Don't use equalp at
16569         run-time, compare downcased strings.
16571 2011-07-28  David Maus  <dmaus@ictsoc.de>
16573         * org-bibtex.el (org-id-locations): Declare variable to silence
16574         byte compiler.
16576 2011-07-28  David Maus  <dmaus@ictsoc.de>
16578         * org-id.el (org-id-locations): Fix docstring, remove reference to
16579         non-existent option.
16581 2011-07-28  David Maus  <dmaus@ictsoc.de>
16583         * org.el (org-self-insert-command): Use `delete-char' instead of
16584         `delete-backward-char'.
16586         * org-table.el (orgtbl-self-insert-command): Ditto.
16588 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16590         * org-latex.el (org-export-latex-special-chars): Save match data
16591         when checking for table.el table.
16593 2011-07-28  David Maus  <dmaus@ictsoc.de>
16595         * org.el (org-re-property): Move before its first use.
16597 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16599         * org-latex.el (org-export-latex-preprocess):
16600         Add `original-indentation' property to footnotes so they cannot
16601         possibly end a list by being less indented than the item they
16602         belong to.
16604 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16606         * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
16607         in `progn'.
16608         (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
16609         to swank.
16611 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16613         * org-clock.el (org-clocktable-write-default): Implement adding
16614         property columns to the clock table.
16616 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16618         * org.el (org-toggle-item): Move parenthesis to correct location.
16620 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16622         * org.el (org-default-priority):
16623         (org-priority-start-cycle-with-default): Improve docstring.
16624         (org-priority): Throw error when priority is out of range.
16626 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16628         * org.el (org-self-insert-command): Catch the case of
16629         `buffer-undo-list' eq t.
16631 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16633         * org.el (org-toggle-heading): Region should be considered as made
16634         of full lines, without the last one if region-end is at bol.
16635         Removed unused variables.  Refactored and commented code.
16637 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16639         * org.el (org-toggle-item): When region includes an headline less
16640         indented than first one, set it as the new reference.
16642 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16644         * org-list.el (org-list-to-subtree): If the list is before first
16645         heading and `org-odd-levels-only' is non-nil, the first item gets
16646         two stars instead of one.
16648         * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16649         `org-odd-levels-only' non-nil.
16651 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16653         * org.el (org-toggle-item): Converting an heading to an item would
16654         sometimes insert unnecessary spaces before it, and unwanted space
16655         with `org-indent-mode' on.  Changing some text into an item
16656         wouldn't always preserve indentation.
16658 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16660         * org-capture.el (org-capture-current-plist): Improve docstring.
16661         (org-capture-put): Add docstring.
16662         (org-capture-get): Add docstring.
16663         (org-capture-member): Add LOCAL argument.  Add docstring.
16664         (org-capture-set-target-location): Store the time received from a
16665         date prompt into the :prompt-time property.
16667 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16669         * org-exp.el (org-export-mark-list-properties): Even if context is
16670         invalid, mark list item with `list-context' property.
16672         * org-list.el (org-list-forbidden-blocks): Add exporters specific
16673         blocks to the list of forbidden blocks.
16675 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16677         * org-list.el (org-sort-list): Function tries to intern
16678         getkey-func before it is defined, so it's always nil.
16680 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16682         * org.el (org-babel-load-languages): Adding ob-awk to the list of
16683         executable languages.
16685 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16687         * org-table.el (org-table-get-field): Make sure the new field
16688         content is at least one space character.
16690 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16692         * org-crypt.el: Check for `daemonp' before using it.
16694 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16696         * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16697         :stdin header argument.
16698         (org-babel-execute:sh): Use the :stdin header argument.
16699         (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16700         new sub-function.
16701         (org-babel-sh-var-to-string): New function for converting elisp
16702         values to strings that make sense for parsing with sh.
16703         (org-babel-sh-evaluate): Adding "stdin" option to session and
16704         external evaluation options.
16706 2011-07-28  Roland Kaufmann  <rlndkfmn+orgmode@gmail.com>  (tiny change)
16708         * org-exp.el (org-remove-formatting-on-newlines-in-region):
16709         New function.
16710         (org-export-format-source-code-or-example):
16711         Call `org-remove-formatting-on-newlines-in-region'.
16713 2011-07-28  David Maus  <dmaus@ictsoc.de>
16715         * org.el (org-entry-put): Prevent adding of extra space to value
16716         if property already exists.
16718 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16720         * org-html.el (org-export-as-html): Don't expand non-data lines of
16721         table.el tables.
16722         (org-html-expand): Remove the (buggy) test for non-data lines
16723         in table.el tables.  The test is now done as part of
16724         org-export-as-html.
16725         (org-format-table-table-html-using-table-generate-source):
16726         Add test for spanning of cells in table.el tables using
16727         table.el's own library routine.  Optionally suppress export of
16728         simple table.el tables.
16729         (org-format-table-html): Remove the (buggy) test for spanned
16730         table.el tables.  The test is now done as part of
16731         org-format-table-table-html-using-table-generate-source.
16733 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16735         * org-latex.el (org-export-latex-special-chars): Do nothing in
16736         table.el tables.
16738 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16740         * org-capture.el (org-capture): Ignore errors when creating a
16741         link.
16743 2011-07-28  Nick Dokos  <nick@dokosmarshall.org>  (tiny change)
16745         * org-exp.el (org-export-define-heading-targets): Use dash instead
16746         of underscore to make labels valid.
16748 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16750         * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16751         is written to the results file before Emacs notices that the file
16752         exists.
16754 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16756         * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16757         defined locally on my system, but not globally in Emacs.
16759 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16761         * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16762         generate code block output.
16763         (org-babel-exp-code): Re-create the code block body for exporting
16764         source code.
16766 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16768         * org.el (org-read-date): Bury Calendar buffer after using it for
16769         selecting a date.
16771 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16773         * org-list.el (org-list-separating-blank-lines-number):
16774         Fix confusion between point and item beginning.  Now, if no
16775         information is available, truly follow user preference when it
16776         inserts blank lines manually.
16777         (org-list-insert-item): Send correct argument to the preceding
16778         function.
16780 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16782         * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16783         newline inside of the code block body.
16785 2011-07-28  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
16787         * ob.el: Avoid spurious matches to literal.
16789 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16791         * org.el (org-indent-line-function): Don't include #+include
16792         lines.
16794 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16796         * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16797         org-babel-check-src-block.
16799         * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16800         (org-babel-edit-distance): Returns the edit distance of two
16801         strings.
16802         (org-babel-check-src-block): Check a code block for errors.
16804 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16806         * org-capture.el (org-capture-templates): Fix bug in customization
16807         setup.
16809 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16811         * org-table.el
16812         (org-table-exit-follow-field-mode-when-leaving-table): New option.
16813         (org-table-check-inside-data-field): New optional argument
16814         `noerror'.  When set, the function will only return nil instead of
16815         throwing an error.
16816         (org-table-edit-field): Interpret double prefix argument, and improve
16817         the properties of the editing window.
16818         (org-table-follow-field-mode): New minor mode.
16819         (org-table-follow-fields-with-editor): New function.
16821 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16823         * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16824         first, then check if timestamps cause exclusion.
16826         * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16827         if timestamps cause exclusion.
16829 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16831         * org-list.el (org-list-full-item-re): Allow description term to
16832         have a newline character after the colons.
16834 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16836         * org-list.el (org-sort-list): No longer ignore with-case
16837         argument: the function sorted case-sensitively, regardless of
16838         argument.
16840 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16842         * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16844         * ob.el (org-babel-data-names): Configurable list of names of
16845         data.
16846         (org-babel-result-regexp): Using new results regexp.
16848 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16850         * org.el (org-special-properties): Add CLOCKSUM to the special
16851         properties.
16853 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16855         * ob-exp.el (org-babel-exp-in-export-file):
16856         Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16858 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16860         * org-exp.el (org-export-add-options-to-plist): Use the right
16861         match group.
16863 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16865         * org-latex.el (org-export-latex-preprocess): Protect index string.
16867 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16869         * org-latex.el (org-export-latex-preprocess): Pipe index entries
16870         through `org-export-latex-fontify-headline'.
16872 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16874         * org-exp.el (org-export-add-options-to-plist): Fix the option
16875         parser.
16877 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16879         * org-latex.el (org-export-latex-preprocess): Replace index
16880         entries.
16882 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16884         * org.el (org-structure-template-alist): Add an easy template for
16885         index (i), and move include file to I from i.
16887 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16889         * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16890         line to `org-offer-links-in-entry'.
16892 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16894         * org-bibtex.el (org-bibtex-search): New function.
16895         (org-bibtex-export-to-kill-ring): New function.  Export to kill
16896         ring.
16897         (org-bibtex-create-in-current-entry): New function
16898         (org-bibtex-create): Make it easier to add bib fields to an
16899         existing headline.
16900         (org-bibtex-export-arbitrary-fields)
16901         (org-bibtex-treat-headline-as-title): Fix typos
16902         (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16903         from type completion.
16905 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16907         * org-bibtex.el (org-bibtex-treat-headline-as-title):
16908         New defcustom.
16909         (org-bibtex-headline): Only use headline text (not TODO or other
16910         metadata) to generate title field and auto key.
16911         (org-bibtex-fleshout): Allow user to choose whether to treat
16912         headline as title.
16914 2011-07-28  Tom Dye  <tsd@tsdye.com>
16916         * org-bibtex.el: Added crossref field to other fields.
16918 2011-07-28  Tom Dye  <tsd@tsdye.com>
16920         * org-bibtex.el: Add crossref option to incollection.
16922 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16924         * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16925         as field.
16927 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16929         * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16930         warn if a duplicate ID is generated.
16932 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16934         * org-bibtex.el (org-bibtex-tags): New variable.
16935         (org-bibtex-tags-are-keywords): New variable.
16936         (org-bibtex-no-export-tags): New variable.
16937         (org-bibtex-headline): Export tags as comma-separated bibtex
16938         keywords.
16939         (org-bibtex-read): Import bibtex keywords field as tags.
16941 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16943         * org-publish.el (org-publish-find-date): Optimization.
16945 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
16947         * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16948         when following link.
16950 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16952         * org-publish.el (org-publish-project-alist): Document new
16953         :sitemap-sans-extension property.
16954         (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16955         setting.
16957 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16959         * org.el (org-remove-uninherited-tags): Rename from
16960         `org-remove-iniherited-tags'.
16961         (org-scan-tags): Fix typo in function call.
16962         (org-get-tags-at): Fix typo in function call.
16964 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16966         * org.el (org-get-tags-at): Don't include filetags if local is t.
16968 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16970         * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16971         dispatch functions, wrap body in `(do )'.
16973 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16975         * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
16976         resulted in the creation of multiple overlays in src blocks.
16978 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16980         * ob-clojure.el (org-babel-execute:clojure): If results are not
16981         readable by lisp, then return them as a string.
16983 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16985         * org-bibtex.el (org-bibtex): Now prompts for a file name.
16987 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16989         * org-bibtex.el (org-bibtex-create): Adding prefix argument which
16990         will result in prompting for optional fields.
16992 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16994         * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
16995         which was causing compile problems.
16996         (org-bibtex-fleshout): Rename flet function `get' which was causing
16997         compile problems.
16998         (org-bibtex-write): Rename flet function `get' which was causing
16999         compile problems.
17001 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17003         * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
17004         never starts with a number.
17006 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17008         * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
17009         (org-bibtex-key-property): New option.
17010         (org-bibtex-put): Make use of new `org-bibtex-key-property'
17011         variable.
17012         (org-bibtex-headline): Make use of new
17013         `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
17014         variables.
17015         (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
17016         variable.
17017         (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
17018         variable.
17019         (org-bibtex-write): Make use of new `org-bibtex-key-property'
17020         variable.
17022 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17024         * org-bibtex.el: Updating Copyright dates, author information,
17025         commentary and history notes.
17026         (org-bibtex-types): List of bibtex types with descriptions and
17027         required and optional fields.
17028         (org-bibtex-fields): List of bibtex fields with descriptions.
17029         (*org-bibtex-entries*): Special variable to hold parsed bibtex
17030         entries.
17031         (org-bibtex-autogen-keys): Custom variable controlling whether
17032         bibtex keys are automatically generated
17033         (org-bibtex-prefix): Custom variable allowing use of optional prefix
17034         for bibtex properties in Org-mode headlines.
17035         (org-bibtex-get): Helper function for accessing bibtex elements of a
17036         property list.
17037         (org-bibtex-put): Helper function for inserting bibtex element into
17038         a property list.
17039         (org-bibtex-headline): Return a bibtex entry of the given headline
17040         as a string.
17041         (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
17042         field.
17043         (org-bibtex-autokey): Generate a bibtex key for the current
17044         headline.
17045         (org-bibtex-fleshout): Fill in missing bibtex properties of the
17046         current headline.
17047         (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
17048         (org-bibtex-check): Check that all bibtex properties are present in
17049         the current headline.
17050         (org-bibtex-check-all): Check all headlines in the current buffer.
17051         (org-bibtex-create): Create a new bibtex headline at the current
17052         level.
17053         (org-bibtex-read): Read the current bibtex entry from a bibtex file.
17054         (org-bibtex-write): Write the most recently read bibtex entry into
17055         an Org-mode file.
17057 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17059         * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
17060         set properties.
17061         (org-agenda-show-clocking-issues): Handle faces.
17063 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17065         * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
17066         content by default with "-Dfile.encoding=UTF-8".
17068 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17070         * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
17071         argument.
17073 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17075         * org-exp.el (org-export-preprocess-string): Mark list end before
17076         expanding macros.  Thus, a macro inside a list and containing
17077         blank lines cannot break the list structure.
17078         (org-export-preprocess-apply-macros): Multi-lines macros get
17079         indented with the same indentation as the first line.  Thus, we
17080         are sure that every line belongs to the same list as the first
17081         line, if such list exists.  Also add comments in code.
17083 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17085         * org-agenda.el (org-agenda-clock-consistency-checks): New option.
17086         (org-agenda-list): Handle display change to clock check.
17087         (org-agenda-get-progress): Show only clock entries if we are doing
17088         the consistency check.
17089         (org-agenda-show-clocking-issues): New function.
17090         (org-agenda-check-clock-gap): New function.
17091         (org-agenda-view-mode-dispatch): Offer consistency check.
17092         (org-agenda-log-mode): Handle switch to clock only display.
17093         (org-agenda-set-mode-name): Show lighter for Clockcheck.
17095         * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
17096         and return it unchanged.
17098 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17100         * org-list.el (org-list-struct): When walking down the list, the
17101         function would not pay attention to drawers or blocks indentation.
17102         Thus, such constructs couldn't consistently end an item or a list.
17103         This patch ensures line indentation is stored (if applicable)
17104         before skipping them.  Also fixed doc-string and comments.
17106 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17108         * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
17109         tree properties.
17111 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17113         * org-exp.el (org-export): Define a bound for finding enclosing
17114         tree with class/title definition.
17116 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17118         * org-exp.el (org-export): Go to next heading before searching
17119         backward, so make this also work if we are on the headline of the
17120         entry with the property.
17122 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17124         * org.el (org-promote):
17125         (org-demote): Soften the previous change, by only removing the
17126         flyspell function from after-change functions, because that was
17127         the one causing the slowdown - at least much of it.
17129 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17131         * org.el (org-promote, org-demote): Turn off
17132         after-change-functions to speed up the reindentation of text.
17134 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17136         * ob-ocaml.el (org-babel-ocaml-read-list):
17137         Use `org-babel-script-escape'.
17138         (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
17140 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17142         * org-html.el (org-html-handle-links): Add an alternate for inline
17143         images.
17145 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17147         * org-agenda.el (org-agenda-bulk-action): Do not use the entries
17148         variable before it is defined.
17150 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17152         * org-src.el (org-src-lang-modes): Add a language alias of "C"
17153         to "c".
17155 2011-07-28  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
17157         * ob-tangle.el (org-babel-tangle): Make it work in an indirect
17158         buffer.
17160 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17162         * org-html.el (org-html-make-link): Correct a bug in coderef link.
17164 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17166         * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
17167         typo.
17169 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17171         * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
17172         when headlines are missing.
17174 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17176         * org-mobile.el (org-mobile-push): Move call to hook, make it the
17177         first thing of the push operation.
17179 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17181         * ob.el (org-babel-params-from-buffer): Now looking for header
17182         arguments in #+Properties: as well as #+Babel:.  Also, we're no
17183         longer caching these results into a file local variable.
17185 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17187         * ob-python.el (org-babel-python-evaluate-external-process):
17188         Allow parsing as a table in the case of ":results output table".
17189         (org-babel-python-evaluate-session): Allow parsing as a table in
17190         the case of ":results output table".
17192 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17194         * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
17195         all possible agenda views.  Use `org-agenda-schedule' instead of
17196         `org-agenda-date-later'.
17198 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17200         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
17201         ":results output".
17203 2011-07-28  Julien Danjou  <julien@danjou.info>
17205         * org.el (org-entry-get, org-entry-delete, org-entry-put)
17206         (org-property-values, org-delete-property-globally):
17207         Use `org-re-property'.
17208         (org-re-property): New function allowing to build a regexp to
17209         match a property.
17211 2011-07-28  Julien Danjou  <julien@danjou.info>
17213         * org.el (org-property-values): Enhance docstring.
17215 2011-07-28  Ethan Ligon  <ligon@are.berkeley.edu>  (tiny change)
17217         * org-html.el (org-html-export-list-line): Fix regexp for
17218         detecting description lists to allow "::" marker to be last
17219         visible element at end of line.
17220         * org-docbook.el (org-docbook-export-list-line): Fix regexp for
17221         detecting description lists to allow "::" marker to be last
17222         visible element at end of line.
17224 2011-07-28  Julien Danjou  <julien@danjou.info>
17226         * org-table.el (org-table-cleanup-narrow-column-properties):
17227         Use point-min rather than 1 when moving in the buffer.
17229 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17231         * org-list.el (org-list-in-valid-context-p): Rename from
17232         `org-list-in-valid-block-p'.
17233         (org-at-item-p, org-list-search-generic): Use renamed function.
17235 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17237         * org.el (org-set-font-lock-defaults): Be more strict when
17238         recognizing description items, and do not fontify wrong cases
17239         like: "- term ::description" or "1. term :: description".
17241 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17243         * org-latex.el: Pay attention to end of footnote.  Before closing
17244         the command, ensure that list is properly closed or that last link
17245         is separated from the curly brace.
17247 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17249         * org.el (org-indent-line-function): Footnote definition must stay
17250         at column 0 to be recognized as such.  Body below can have normal
17251         indentation, so it should ignore its definition when computing
17252         indentation.
17254 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17256         * org-protocol.el (org-protocol-remember, org-protocol-capture):
17257         More appropriate message.
17259 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17261         * org-capture.el (org-capture-clock-keep): New local variable.
17262         (org-capture, org-capture-finalize): Use it and fix a bug when
17263         :clock-keep is set to `t'.
17265 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17267         * org-exp.el (org-export-preprocess-string): Handle include files
17268         before processing macros.
17270 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17272         * org-agenda.el: Remove obsolete code for adding todo list in
17273         front of the agenda.
17275 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17277         * org-latex.el (org-export-latex-convert-table.el-table):
17278         Fix format-string for insertion of captions.
17280 2011-07-28  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
17282         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
17283         Fix regexp.
17285 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17287         * org.el (org-read-date-analyze): Help matching dotted European
17288         dates, like 31. 12. 2007
17290 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17292         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
17294 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17296         * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
17297         before reading by elisp.
17298         (org-bable-lisp-vector-to-list): Stub of a vector->list function,
17299         should be replaced with a cl-vector->el-vector function.
17301 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17303         * ob-lisp.el (org-babel-execute:lisp): Now using
17304         `org-babel-reassemble-table' to apply the appropriate header
17305         arguments to results.
17307 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17309         * org.el (org-end-of-meta-data-and-drawers): New function.
17311         * org-capture.el (org-capture-place-plain-text): Implement adding
17312         plain text templates to Org nodes.
17314 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17316         * org-beamer.el (org-beamer-environments-extra): Fix docstring.
17318 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17320         * org-exp.el (org-export-handle-comments): Add the org-protected
17321         property to the replacement string.
17323 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17325         * org-html.el (org-export-as-html, org-html-level-start):
17326         Fix logic for section number printing when NUM is an integer.
17328 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17330         * org-latex.el (org-export-latex-special-chars): Fix regexp for
17331         `single' special characters and ellipsis.
17333 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17335         * org.el (org-point-at-end-of-empty-headline):
17336         Bind `case-fold-search' to nil.
17338 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17340         * org-capture.el (org-capture-fill-template): Resolve new %<...>
17341         template escape.
17342         (org-capture-templates): Document new %<...> template escape.
17344 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17346         * ob.el (org-babel-process-params): Make this function idempotent,
17347         as it will sometimes be called multiple times.
17349 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17351         * org.el (org-ts-regexp-both): Add "]" to class of characters that
17352         should not be matched.
17353         (org-ts-regexp0, org-ts-regexp1): Do not start a class with
17354         "^]-+", because that tries to (not) match characters between "]"
17355         and "+".  Instead, move the "-" to the end of the class where it
17356         causes no harm.
17358 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17360         * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
17361         process with the edit buffer when :session is specified.
17363 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17365         * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
17366         extraction code into line with a newer version of the
17367         `org-store-link' function.
17369 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17371         * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
17372         wrapping the expression in either a let or progn, and possibly a
17373         pretty-print function invocation.
17374         (org-babel-execute:lisp): Greatly simplified method of executing
17375         lisp code blocks.
17377 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17379         * org-list.el: Move `org-update-checkbox-count-maybe' call outside
17380         of ̀save-excursion' to get back to original position.
17382 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17384         * org.el (org-numbered-action-format): New option.
17385         (org-new-numbered-action): New command.
17386         (org-collect-todos-in-subtree): New command.
17388 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17390         * org-exp.el (org-export-with-tasks): New option.
17391         (org-export-plist-vars): Add :tasks property.
17393 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17395         * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
17396         property to the export preprocessor.
17398         * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
17399         property to the export preprocessor.
17401         * org-html.el (org-export-as-html): Pass the :done-tasks property
17402         to the export preprocessor.
17404         * org-latex.el (org-export-as-latex): Pass the :done-tasks
17405         property to the export preprocessor.
17407         * org-exp.el (org-export-with-done-tasks): New option.
17408         (org-export-plist-vars): Add entry for :done-tasks.
17409         (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
17410         (org-export-remove-done-tasks): New function.
17412 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17414         * org-latex.el (org-export-latex-keywords-maybe): Protect # in
17415         tags.
17417 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17419         * org.el (org-find-olp): Use the level of the correct match to
17420         continue search.
17422 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17424         * org-list.el (org-toggle-checkbox): Build value of
17425         org-keyword-time-regexp instead of using it directly, as it's
17426         buffer-local, and function might be called outside Org.
17428 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17430         * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
17431         blocks or drawers necessarily start somewhere.  It it isn't the
17432         case, treat them as normal text.
17434 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17436         * ob-exp.el (org-babel-exp-results): Use code block name when
17437         finding cached results.
17439 2011-07-28  Julien Danjou  <julien@danjou.info>
17441         * org-latex.el (org-export-latex-date-format): Change default date
17442         format to \today.  This has the same result but respects the
17443         language set in the document by default.
17445 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17447         * org-list.el (org-list-checkbox): When called from an headline,
17448         function would normally skip drawers, but not if a SCHEDULED or
17449         DEADLINE keyword is standing before the drawer.  Also avoid
17450         problems if function is called in buffers not is Org mode.
17452 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17454         * org-clock.el (org-clock-report): Change the scope of the
17455         inserted clock report depending on whether the point is within a
17456         subtree (:scope subtree) or not (:scope file).
17458 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17460         * org-html.el (org-export-as-html): Fix export of footnotes
17461         containing lists, tables, quotes, etc.
17463 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17465         * org-latex.el (org-export-latex-preprocess): Correctly match
17466         starred command names.
17468 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17470         * org-html.el (org-export-as-html): Get local value of
17471         org-export-with-section-numbers from the buffer's plist.
17472         Deal specially with the case the resulting value is an integer.
17473         (org-html-level-start): New optional argument of the option plist used
17474         instead of `org-export-with-section-numbers'.  Also deal specially
17475         with the case that the value is an integer.
17477 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17479         * org-latex.el (org-export-latex-subcontent): Deal specially with
17480         the case that NUM is an integer.
17482 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17484         * org-protocol.el (org-protocol-do-capture): Allow template keys
17485         of two characters.
17486         (org-protocol-default-template-key): Update the docstring to
17487         reflect the change in `org-protocol-do-capture'.
17489 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17491         * org-taskjuggler.el: Fix a typo in the commentary.
17493 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17495         * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
17496         "purge allocations" statement if we are not targeting tj3.
17498 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17500         * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
17501         Replace recursive implementation with an iterative one.
17503 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17505         * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
17506         data into shell variables.
17508 2011-07-28  David Maus  <dmaus@ictsoc.de>
17510         * org-html.el (org-html-handle-time-stamps): Protected linebreak
17511         element after timestamp markup.
17513 2011-07-28  David Maus  <dmaus@ictsoc.de>
17515         * org-html.el (org-html-handle-links): Don't protect img tag in
17516         link description.
17518 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17520         * org-table.el (org-table-formula-handle-first/last-rc):
17521         Bind `char'.
17523 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17525         * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
17526         whatever the major mode is.
17528 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17530         * org-inlinetask.el (org-inlinetask-export-templates): Fix default
17531         templates.
17532         (org-inlinetask-export-handler): Ensure contents of inline task,
17533         if any, starts and ends with a newline character.  Refactor and
17534         comment code.
17536 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17538         * org-capture.el (org-datetree-find-date-create): Lower-case for
17539         variable names in `define-function' form.
17541 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17543         * org-table.el (org-table-convert-region): Throw error when
17544         SEPARATOR is smaller than 1.
17546 2011-07-28  Julien Danjou  <julien@danjou.info>
17548         * org-colview.el (org-columns-display-here): Fix heading retrieval
17549         in Org buffers.
17551 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17553         * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
17554         be on the same line as a list end marker.
17556 2011-07-28  Julien Danjou  <julien@danjou.info>
17558         * org.el (org-icompleting-read): Do not use useless lambda.
17560 2011-07-28  Julien Danjou  <julien@danjou.info>
17562         * org-agenda.el (org-format-agenda-item): Fix length computing.
17564 2011-07-28  Julien Danjou  <julien@danjou.info>
17566         * org-agenda.el (org-format-agenda-item): Fix comment and use
17567         `add-text-properties'.
17569 2011-07-28  Julien Danjou  <julien@danjou.info>
17571         * org-agenda.el (org-agenda-highlight-todo): Remove useless
17572         `concat'.
17574 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17576         * org-list.el (org-list-to-generic): Set a default term for
17577         ill-formed description lists.  Do not insert newline characters
17578         unless told to.
17579         (org-list-to-texinfo, org-list-to-html): Apply changes to
17580         `org-list-parse-liste'.
17582 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17584         * org-clock.el (org-clock-clocktable-language-setup): Add a
17585         string.
17586         (org-clocktable-write-default): Use the new localized string
17587         in `org-clock-clocktable-language-setup'.
17589 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17591         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17592         (org-taskjuggler-assign-resource-ids): Replace recursive
17593         implementation with an iterative one.
17595 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17597         * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
17598         in headlines.
17600 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17602         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17603         Compute the leafiness of a node.
17604         (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
17605         node as a milestone if it is a leaf and has no effort.
17607 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17609         * org-taskjuggler.el (org-export-taskjuggler-target-version):
17610         (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
17611         to handle export to both tj2 and tj3.
17612         (org-taskjuggler-open-task): Use a different way to purge
17613         allocations for tj2 and tj3.
17615 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17617         * org-footnote.el (org-footnote-auto-label): New random option.
17619         * org-footnote.el (org-footnote-new): Create random footnote
17620         labels with unique ids.
17622 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17624         * org-footnote.el (org-footnote-create-definition): Allow for
17625         footnote sections above the current footnote insertion point.
17627 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17629         * org-footnote.el (org-footnote-create-definition): Don't search
17630         for last footnote when in org-mode file.
17632 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17634         * org-html.el (org-export-as-html): Handle links with
17635         `org-html-handle-links' after we handle special characters
17636         conversions.
17637         (org-html-make-link, org-export-html-format-image):
17638         Don't protect html with @ anymore, as links are now handled after
17639         special characters conversions.
17641 2011-07-28  Julien Danjou  <julien@danjou.info>
17643         * org-agenda.el (org-agenda-get-timestamps):
17644         (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17645         (org-format-agenda-item): Remove no-prefix argument.
17646         (org-agenda-change-all-lines): Call org-format-agenda-item without the
17647         no-prefix argument.
17649 2011-07-28  Julien Danjou  <julien@danjou.info>
17651         * org-agenda.el (org-agenda-highlight-todo): Stop using
17652         prefix-length.
17653         (org-cmp-alpha): Stop using prefix-length.
17654         (org-agenda-open-link): Stop using prefix-length.
17655         (org-agenda-change-all-lines): Stop using prefix-length.
17657         * org-colview.el (org-columns-display-here): Stop using
17658         prefix-length.  Always return claned items.
17660         * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17661         prefix-length.
17663 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17665         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17666         `org-store-link' interactively as it can confuse the setting of
17667         `org-link-to-org-use-id' and cause undue edits to the org-mode
17668         buffer during tangling.
17670 2011-07-28  David Maus  <dmaus@ictsoc.de>
17672         * org-html.el (org-export-html-format-image): Protect <p> element
17673         of image caption.
17675 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17677         * org.el (org-read-date-force-compatible-dates): New option.
17678         (org-read-date, org-read-date-analyze): Check representable date range.
17680 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17682         * org-html.el (org-export-as-html): Fix export of email.
17684 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17686         * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17687         on tangling, no longer use the now-removed variable
17688         `org-babel-tangle-pad-newline'.
17690         * ob.el (org-babel-header-arg-names): Add padline to the list of
17691         header argument names.
17692         (org-babel-default-header-args): Set the default value of padline to
17693         "yes".
17694         (org-babel-merge-params): Cleaned up the merge logic, added padline.
17696 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17698         * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17699         code block header argument names.
17701 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17703         * org-crypt.el: Remove useless TODO in comments.
17705 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17707         * org-html.el (org-export-as-html): The default postamble now only
17708         export a date paragraph if `org-export-time-stamp-file' is
17709         non-nil.
17711 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17713         * org-exp.el (org-export-xml): Remove the defgroup of
17714         org-export-xml.
17716 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17718         * org-html.el (org-export-html-insert-plist-item): Remove.
17719         (org-export-html-preamble): Default to `t'.  Accept functions.
17720         (org-export-html-postamble): Default to `auto'.
17721         Accept functions and distinguish between 'auto (no formatting string)
17722         and `t' (default formatting string).
17723         (org-export-as-html): Handle org-export-html-preamble and
17724         org-export-html-postamble new defaults/allowed values.
17725         Define email and creator-info before using them.
17727 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17729         * org-html.el (org-export-html-protect-char-alist): Fix typo in
17730         custom type definition.
17732 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17734         * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17735         arguments.
17737 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17739         * org-list.el (org-list-parse-list): Fix regexp.
17741 2011-07-28  David Maus  <dmaus@ictsoc.de>
17743         * org-html.el (org-export-html-format-image): Protect image
17744         elements.
17746 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17748         * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17749         contents of a code block body on export.
17750         (org-babel-tangle-collect-blocks): Apply
17751         `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17753 2011-07-28  David Maus  <dmaus@ictsoc.de>
17755         * org-html.el (org-html-make-link, org-html-handle-links):
17756         Protect generated XHTML elements.
17757         (org-export-as-html): Expand character entities after creating markup
17758         for links and timestamps.
17760 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17762         * org-html.el (org-export-as-html): Bugfix: insert email
17763         correctly.
17765 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17767         * org-html.el: Bugfix: prevent infinite matching of the `&'
17768         character.
17770 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17772         * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17773         has been introduced with emacs 23.1.
17775 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17777         * org-attach.el: Allow to store a link to the attach-dir location.
17779 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17781         * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17782         function.
17784 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17786         * org-clock.el (org-clock-in): Allow clocking in new tasks
17787         inserted before the current clocking task.
17789 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17791         * org-clock.el (org-clock-in): Set default clocking task when
17792         already clocking the task.
17794 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17796         * org.el (org-adaptive-fill-function): When a region is specified
17797         first line of paragraph isn't skipped, so fill-paragraph have to
17798         be computed even if point is at an item.
17800 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17802         * org-list.el (org-list-in-valid-block-p): New function.
17803         (org-at-item-p, org-list-search-generic): Use new function.
17805 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17807         * org.el (org-indent-line-function): Text in both a list and a
17808         valid block is indented with regards to current item, not to block
17809         boundaries.
17811 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17813         * org-html.el (org-format-org-table-html): Fix anchors in HTML
17814         export (thanks to <aankhen@gmail.com>)
17815         (org-html-protect): Fix a  bug that prevents some target to be
17816         rendered correctly.
17818 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17820         * org.el (org-default-properties): Add EXPORT_TEXT.
17822 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17824         * org-footnote.el (org-footnote-create-definition)
17825         (org-insert-footnote-reference-near-definition): Fix sorting
17826         of footnotes.
17828 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17830         * org-html.el (org-export-as-html): Bugfix: don't insert closing
17831         HTML tags when exporting body only.
17833 2011-07-28  Jason Dunsmore  <emacs-orgmode@deathroller.dunsmor.com>  (tiny change)
17835         * org.el (org-back-over-empty-lines): Bugfix.
17836         Honor `org-blank-before-new-entry' correctly in various contexts.
17838 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17840         * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17841         and `save-restriction'.
17843 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17845         * org-timer.el (org-timer-item): `save-excursion' prevents
17846         `org-list-struct' to get the list structure when point isn't on
17847         the first line of the item.
17849 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17851         * org-capture.el (org-capture-templates): New option
17852         :no-clock-out.
17853         (org-capture): Use the new option.
17855 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17857         * org-list.el (org-update-checkbox-count): Ensure cookies on an
17858         heading are correctly updated when checkboxes are hidden.
17859         It allows, for example, to use C-c C-x C-b on a collapsed tree and
17860         still get the update.
17862 2011-07-28  David Maus  <dmaus@ictsoc.de>
17864         * org-exp.el (org-export-visible): Accept keys for
17865         `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17867 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17869         * org.el (org-duration-string-to-minutes): Don't use
17870         `rx-to-string'.
17872 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17874         * org.el (org-effort-durations): New variable.
17876         * org.el (org-duration-string-to-minutes): New function.
17878         * org-agenda.el (org-agenda-filter-effort-form)
17879         (org-format-agenda-item): Use it.
17881         * org-clock.el (org-clock-notify-once-if-expired)
17882         (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17884 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17886         * org-agenda.el (org-agenda-run-series): Rename from
17887         `org-run-agenda-series'.
17889 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17891         * org-capture.el: Don't allow currentfile anymore.
17893 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17895         * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17896         `org-agenda-current-span' when calling `org-agenda-list'.
17898 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17900         * org-capture.el (org-capture-put-target-region-and-position):
17901         New function to store information about the target buffer.
17902         (org-capture-set-target-location): Use it.
17903         (org-capture-finalize): Restore the target buffer in its
17904         possibly narrowed state.  Also restore the cursor position.
17906 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17908         * org-crypt.el (auto-save-default): Make sure entries are
17909         encrypted before auto-saving.
17911 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17913         * org-inlinetask.el (org-inlinetask-promote)
17914         (org-inlinetask-demote): New functions.
17916 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17918         * org.el (org-demote-subtree, org-promote-subtree):
17919         Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17920         operating on inline tasks.
17922 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17924         * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17925         will move point to a real heading and not an inline task by
17926         wraping function into a `org-with-limited-levels' macro.
17928 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17930         * org-capture.el (org-capture-finalize): New argument clock-out,
17931         to tell whether finalizing the capture process should clock out
17932         the running clock.
17933         (org-capture): Use the new argument.
17935 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17937         * org.el (org-refile-get-targets): Rename from
17938         `org-get-refile-targets'.
17940 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17942         * org-exp.el (org-export-table-remove-empty-lines): New custom
17943         variable.
17944         (org-export-remove-special-table-lines): Use it.
17946 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17948         * org-table.el (org-table-fix-formulas-confirm): New custom
17949         variable.
17950         (org-table-insert-column, org-table-delete-column)
17951         (org-table-move-column, org-table-move-row)
17952         (org-table-insert-row, org-table-kill-row): Use it.
17954 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
17956         * org.el (org-refile-get-location): Set and show default value.
17957         (org-goto, org-refile): Adapt calls.
17959 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17961         * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17962         variable.
17963         (org-mobile-files-alist): Use it.
17965 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17967         * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17968         against headings outside of a narrowed buffer.
17970 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17972         * org.el (org-confirm-shell-link-not-regexp)
17973         (org-confirm-elisp-link-not-regexp): New custom variables.
17974         (org-open-at-point): Use the new custom variables.
17976 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17978         * org-latex.el: Place \title \author \date before
17979         \begin{document}.
17981 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17983         * org-html.el (org-export-html-preamble)
17984         (org-export-html-postamble): Now default to `nil'.
17985         (org-export-as-html): When :html-pre/postamble is nil, fall
17986         back on the default pre/postamble, which depends on the
17987         :author-info, :email-info, :creator-info options.
17989 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17991         * ob-exp.el (org-babel-exp-results): Don't use cached results if
17992         there is no hash.
17994 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17996         * org-table.el (org-table-eval-formula): Treat relative column
17997         refs.
17999 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18001         * org-table.el (org-table-use-standard-references): Change default
18002         to `from'.
18004 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18006         * org.el (org-move-subtree-down): Leave the cursor at the same
18007         column we were at.
18009 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18011         * org-attach.el (org-attach-store-link-p): New variable.
18012         (org-attach-store-link): New function.
18013         (org-attach-attach): When `org-attach-store-link-p' is
18014         non-nil, store a link in `org-stored-links' to a newly
18015         attached file.
18017 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18019         * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
18020         case-fold-search to avoid mixing TODO keywords with real headline
18021         words.
18023 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18025         * org-table.el (org-table-fedit-finish): Read more general LHS of
18026         formulas.
18027         (org-table-formula-handle-@L): New function to hanle @L references.
18028         (org-table-current-ncol): New variable.
18029         (org-table-line-to-dline): New function.
18030         (org-table-get-stored-formulas): Accept range formulas as matches.
18031         (org-table-get-specials): Compute and store the number of columns.
18032         (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
18033         only the region marked by the range, not the content.
18034         (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
18035         range targets.  Also check for duplicate access to fields.
18036         (org-table-expand-lhs-ranges): New funktion.
18037         (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
18038         the caller's value.
18039         (org-table-edit-formulas): Support highlighting of range targets.
18040         (org-table-field-info): Handle renge formulas.
18042 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18044         * org-html.el (org-export-html-postamble-format)
18045         (org-export-html-preamble-format): Explain how to escape the
18046         `%' character.
18048 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18050         * ob.el (org-babel-read): Read string variable values wrapped in
18051         double quotes, removing the quotes.
18053 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18055         * ob-exp.el (org-babel-exp-results): Ensure that processed params
18056         are send to org-babel-execute-src-block.
18058 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18060         * org-special-blocks.el
18061         (org-special-blocks-make-special-cookies):
18062         Use `org-export-current-backend'.
18064 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18066         * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
18067         as an argument.
18068         (org-babel-exp-src-block): Explicitly pass language to
18069         `org-babel-exp-in-export-file'.
18070         (org-babel-exp-inline-src-blocks): Remove unused code.
18071         (org-babel-exp-results): Explicitly pass language to
18072         `org-babel-exp-in-export-file'.
18074 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18076         * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
18077         returned from calc-eval.
18079 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18081         * ob.el (org-babel-read): Pass elisp vectors through to code
18082         blocks.
18084 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18086         * ob.el (org-src-lang-modes): Defvar.
18087         (org-at-item-p): Declare function.
18089         * ob-calc.el (calc-store): Require.
18090         (var-syms): Defvar.
18092         * ob-python.el (py-default-interpreter): Defvar.
18094 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18096         * org-exp-blocks.el (backend): defvar.
18098 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18100         * org-agenda.el (org-agenda-get-scheduled):
18101         (org-agenda-get-timestamps): Bind local variable `show-all'.
18103 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18105         * ob-ref.el (org-at-item-p): Declare function.
18107         * org-agenda.el (diary-time-regexp): defvar.
18109         * org-archive.el (org-archive-subtree): Bind local variable
18110         `infile-p'.
18112         * org-capture.el (org-capture-insert-template-here): Get template
18113         text from property list, to avoid byte compiler message.
18115         * org-latex.el (org-export-latex-tables): Bind local variable
18116         `width'.
18118         * org-special-blocks.el (org-compat): Add require statement.
18120         * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
18121         `const-str'.
18123         * org.el (org-eval): Move function here from org-agenda.el.
18125 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18127         * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
18128         when reading from tables.
18129         (org-babel-read-list): Inhibit lisp evaluation of values when
18130         reading from lists.
18131         (org-babel-read): Add optional argument which can be used to inhibit
18132         lisp evaluation of value.
18134 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18136         * ob-table.el (sbe): Ensure that ob-trim is only called on
18137         strings.
18139 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18141         * ob-exp.el (org-babel-exp-results): On export, ensure that the
18142         result hash is resolved in the original org-mode file.
18144 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18146         * org-exp.el (org-export-mark-list-end): Change end marker.
18148         * org-docbook.el (org-export-docbook-list-line): Use new marker.
18150         * org-html.el (org-html-export-list-line): Use new marker.
18152         * org-latex.el (org-export-latex-lists): Use new marker.
18154 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18156         * org-latex.el (org-export-latex-lists): Make sure markers used
18157         for export are taken into account by temporarily setting an
18158         appropriate value for `org-list-ending-method'.
18160 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18162         * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
18163         regexp into its own variable, also allowing match of empty bodies.
18164         (org-export-blocks-preprocess): Using new regexp variable.
18166 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18168         * ob.el (org-babel-src-block-regexp): Code block regexp now
18169         matches blocks with empty bodies.
18171 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18173         * ob.el (org-babel-script-escape): If script escaped value doesn't
18174         parse cleanly, then return it literally.
18176 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18178         * ob-exp.el (org-babel-exp-src-block): When block will eventually
18179         be evaluated, pre-calculate the hash before noweb expansion, and
18180         expand the parameters before hash calculation.
18181         (org-babel-exp-do-export): Pass pre-calculated hash through to
18182         `org-babel-exp-results'.
18183         (org-babel-exp-results): Compare pre-calculated hash to results hash.
18185 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18187         * ob.el (org-babel-sha1-hash): Sort list values to header
18188         arguments, and sort the words in strings.
18190 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18192         * ob-ref.el (org-babel-ref-index-list): Special handling of hline
18193         rows.
18195 2011-07-28  Julien Danjou  <julien@danjou.info>
18197         * org-macs.el (org-with-point-at): Store evaluated version of
18198         pom.  This fixes a potential bug when using (org-with-point-at
18199         (func) …), where (func) would be evaluated multiple times,
18200         therefore might return different results if a marker was returned
18201         and different each time.
18203 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18205         * org.el (org-open-at-point): If a link to a radio target is the
18206         first, (resp. the last), element of a buffer, function cannot find
18207         the property change required to get its boundaries, and
18208         `buffer-substring' is called with an invalid nil argument.
18210 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18212         * org-table.el (org-table-copy-down): Fix docstring.
18214 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18216         * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
18217         and for file types other than png and PDF it uses imagemagick to
18218         convert a compiled PDF file to the desired file type.
18219         (convert-pdf): Convert a PDF file to a new file type using
18220         imagemagick.
18222 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
18224         * org-capture.el (org-capture-fill-template): Fix bug with the
18225         display of interactive prompt in templates expansion.
18227 2011-07-28  Reiner Steib  <reiner.steib@gmx.de>
18229         * org-clock.el (org-clock-display): Document how to remove subtree
18230         times.
18232 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18234         * org-exp-blocks.el (org-export-blocks-format-comment):
18235         Explicitly append a newline to the body.
18237 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18239         * org-list.el (org-list-insert-item): When computing size of item
18240         being inserted, function has to take into account that indentation
18241         may not only be made of spaces.
18243 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18245         * org-clock.el (org-clock-find-position): If a list was adjacent
18246         to some clocks and a drawer was going to be created, only the
18247         first element of the list would make it into the drawer.
18249 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18251         * org-list.el (org-toggle-checkbox): Fix bug where top item in
18252         list was omitted when checking boxes.
18254 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18256         * ob-R.el: Don't print result to echo area after evaluation.
18258 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18260         * org-capture.el (org-capture-refile): Fix typo in docstring.
18262 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18264         * ob-calc.el (org-babel-execute:calc): Call out to new function
18265         for variables resolution.
18266         (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
18267         variables in calc expressions.
18269 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18271         * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
18272         (org-babel-C++-compiler): Replace "c++" with "C++".
18273         (org-babel-execute:cpp): Replace "c" with "C++".
18274         (org-babel-execute:C++): Replace "c" with "C++".
18275         (org-babel-expand-body:C++): Replace "c" with "C++".
18276         (org-babel-C-execute): Replace "c" with "C++".
18278 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18280         * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
18281         a list if at the *beginning* of a list item.
18283         * ob.el (org-babel-read-result): Only try to read results as a
18284         list if at the *beginning* of a list item.
18286 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18288         * org-list.el (org-cycle-item-indentation): Do not break an
18289         indentation cycle because visibility cycling is requested.
18290         This happens when an item becomes a parent, due to indentation change.
18291         Not considered empty anymore, the function cannot change its
18292         indentation again.
18294 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18296         * org-clock.el (org-clocktable-write-default): Bugfix: falls back
18297         on `org-export-default-language' when no :lang parameter is set.
18299 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18301         * org-capture.el (org-capture-expand-file): New function.
18302         (org-capture-target-buffer):
18303         (org-capture-set-target-location): Use `org-capture-expand-file'.
18305 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18307         * ob.el (org-babel-read-list): Reading the value of a list has
18308         been updated to reflect the new structure of org-mode lists in
18309         elisp.
18310         (org-babel-insert-result): Writing code block results to lists has
18311         been updated to reflect the new list structure.
18312         (org-babel-result-end): Remove a previous change to end-of-list
18313         marker detection.
18315 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18317         * org-list.el (org-cycle-item-indentation): Each time the function
18318         moves item back to child position, a white space is added to the
18319         line.
18321 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18323         * ob.el (org-babel-process-params): Allow elisp code in
18324         specification of results header arguments.
18326 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18328         * org-agenda.el (org-agenda-append-agenda): New command.
18329         (org-agenda-mode-map): New keybinding to this new command.
18331 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18333         * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
18334         cursor it at very first item of the list, as specified in the
18335         manual.  Also refactored the list part of the function a bit.
18337 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18339         * org-agenda.el (org-agenda): Set the 'last-args property to nil
18340         when calling `org-agenda'.  Don't kill the local variable
18341         `org-agenda-current-span'.
18342         (org-run-agenda-series): Use the new property 'last-args.
18343         (org-agenda-change-time-span): Use the dynamically set
18344         `org-agenda-overriding-arguments' variable when non-nil.
18346 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18348         * ob.el (org-babel-result-end): Adjust marker of list end to
18349         changes in the list format.
18351 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18353         * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
18354         No need to wrap `org-entry-get' in `ignore-errors'.
18356 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18358         * org.el (org-toggle-item, org-toggle-heading): Make sure every
18359         sub-item in a list is changed into a sub-heading and sub-headings
18360         are translated into sub-items.  Also ignore inline tasks in the
18361         process.
18363 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18365         * org-exp.el (org-export-select-backend-specific-text):
18366         Add `original-indentation' property when replacing #+begin_backend and
18367         #+backend blocks with their content.  This is needed for lists, as
18368         they must know if the block belonged to them.
18370 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18372         * org-html.el (org-html-export-list-line): Insert a newline
18373         character before ending an item, as anchor could be on a line
18374         going to be deleted, like a drawer ending string.
18376         * org-list.el (org-list-to-html): Same.
18378 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18380         * org.el (org-set-autofill-regexps): Use `org-item-re' in
18381         `paragraph-start' to recognize alphabetical lists.
18382         (org-fill-paragraph): Enforce a pre-computed fill-prefix before
18383         calling `fill-paragraph' when point is in an item.  Also prevent
18384         paragraphs getting merged into an adjacent list upon filling.
18385         (org-adaptive-fill-function): Make sure to determine real
18386         fill-prefix for auto-fill.
18387         (org-auto-fill-function): Use a pre-computed fill-prefix before
18388         calling `do-auto-fill'.
18390         * org-list.el (org-list-item-body-column): New function.
18392 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18394         * org-inlinetask.el (org-inlinetask-at-task-p)
18395         (org-inlinetask-toggle-visibility): New functions.
18397         * org-list.el (org-list-set-item-visibility): New function.
18399         * org.el (org-cycle, org-cycle-internal-local): Separate lists and
18400         inline tasks from headlines.
18401         (org-outline-level): Do not consider lists as headlines.
18402         Cycling visibility is using different tools.
18404 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18406         * org-list.el (org-list-struct): Mark items less indented than top
18407         item of the list, so that they will be modified.
18408         (org-list-struct-apply-struct): Compare struct's indentation with
18409         line's indentation instead of old-struct's.  This is needed
18410         because `org-list-struct' automatically fixes indentation so
18411         changes might not be seen otherwise.
18413         * org.el (org-ctrl-c-ctrl-c): Small refactoring.
18415 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18417         * org-list.el (org-update-checkbox-count): When a part of the
18418         buffer is processed to count checkboxes, lists are read from top
18419         to bottom, but inside lists (in drawers, blocks, or inline tasks)
18420         are skipped.  Thus, cookies cannot be updated.  This patch
18421         enforces reading of such lists if counter is itself in a special
18422         context.
18424 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18426         * org-list.el (org-list-struct-apply-struct): Inline tasks along
18427         with their content must stay at column 0 even if the item is
18428         gaining indentation.  Moreover, fix indentation of text in an
18429         inline task, now it can be in such a task within a list.
18431 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18433         * org-list.el (org-at-item-p): Also verify context is valid.
18434         Otherwise it would recognize valid items where `org-in-item-p'
18435         wouldn't.
18436         (org-in-item-p, org-list-struct-apply-struct): Use shorter version
18437         of org-at-item-p.
18438         (org-cycle-list-bullet): Fix typo.
18439         (org-list-parse-list): Avoid calling `org-at-item-p' two times by
18440         using an appropriate regexp.
18442         * org.el (org-indent-line-function): Use an appropriate regexp
18443         instead of calling `org-at-item-p' two times.
18445 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18447         * org-list.el (org-in-item-p): When point was just after
18448         org-list-end-re, check wouldn't be done for starting line.  So, if
18449         the first line was an item, it wouln't be noticed and function
18450         would return nil.  Simplify and comment code.
18452 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18454         * org.el (org-toggle-item): When used on normal text, ensure every
18455         line in region is included in the new item, regardless of its
18456         original indentation.
18458 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18460         * org-list.el (org-list-struct-apply-struct): If end of list was
18461         at eol, for example, with list inside a block, the last list
18462         wouldn't be shifted.  Thus, the patch ensures no blank lines is
18463         skipped.
18465 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18467         * org.el (org-toggle-item): Now accepts a prefix argument.
18468         When used without argument on normal text, it will make the whole
18469         region one item.  With an argument, it defaults to old behavior:
18470         change each line in region into an item.
18472 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18474         * org.el (org-return): When called from inside an item with the
18475         indent flag, function should keep text moved inside the item.
18476         This allows to use C-j to separate lines in an item: cursor won't
18477         go back to column 0.
18479 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18481         * org-list.el (org-list-struct): When a line has org-example
18482         property, skip the entire block.  This is needed during export,
18483         for example when src blocks in org markup contain lists, and are
18484         returned verbatim because org isn't in the list of interpreted
18485         languages.
18487 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18489         * org-list.el (org-in-item-p): Handle special cases when function
18490         is called with cursor amidst `org-list-end-re' or at an inline
18491         task.
18493 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18495         * ob.el (org-babel-result-end): Apply renaming.
18497         * org-exp.el (org-export-mark-list-properties): Apply renaming.
18499         * org-list.el (org-list-prevs-alist): Rename from
18500         `org-list-struct-prev-alist'.
18501         (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
18502         (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
18503         (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
18504         (org-toggle-checkbox, org-update-checkbox-count)
18505         (org-cycle-list-bullet, org-list-repair, org-insert-item)
18506         (org-move-item-up, org-move-item-up, org-move-item-down)
18507         (org-next-item, org-previous-item, org-end-of-item-list)
18508         (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
18509         (org-get-bullet): Remove function, as it is not needed anymore.
18511 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18513         * org-list.el (org-list-insert-item-generic): Change arguments.
18514         The function now accepts structure and previous items alist.
18515         This allows to insert an item programmatically more easily.
18516         (org-insert-item): Apply changes to
18517         `org-list-insert-item-generic'.  The function now takes care about
18518         repairing structure and updating checkboxes.
18520         * org-timer.el (org-timer-item): Apply changes to
18521         `org-list-insert-item-generic'.  The function now takes care about
18522         repairing structure.
18524 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18526         * org-list.el (org-list-make-subtree): Function now uses
18527         `org-list-parse-list mechanism'.
18528         (org-list-make-subtrees): Remove function.
18529         (org-list-to-generic): Add a parameter and every parameter can
18530         be a sexp returning a string, for finer control.
18531         (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
18532         Slight modifications to apply changes to `org-list-to-generic'.
18533         (org-list-to-subtree): New function.
18535 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18537         * org.el (org-beginning-of-line): Apply changes to
18538         `org-item-beginning-re' to correct sub-expression reference.
18540 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18542         * org-docbook.el (org-export-docbook-list-line): Even with
18543         alphabetical lists, Org shouldn't enforce a particular list type
18544         to exporters.  This is a job for style files.
18546         * org-html.el (org-html-export-list-line): Ib idem.
18548 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18550         * org-list.el (org-at-item-counter-p): New function.
18551         (org-list-parse-list): Handle counters and list depth.
18552         (org-list-to-generic): A special string is used when an item has a
18553         counter.
18554         (org-list-to-latex): Use new special string for counters.
18555         This fixes the counter bug in LaTeX export, as the enumi counter was
18556         the only one modified.
18558         * org-latex.el (org-export-latex-lists): Use new
18559         `org-list-parse-list' output.
18561 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18563         * org-list.el (org-list-get-list-type): New function.
18564         (org-list-parse-list): Use new function.
18566         * org-html.el (org-html-export-list-line): Use new function.
18568         * org-docbook.el (org-export-docbook-list-line): Use new function.
18570 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18572         * org-list.el (org-alphabetical-lists): New variable
18573         (org-item-re, org-list-full-item, org-cycle-list-bullet)
18574         (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
18575         Reflect introduction of the new variable.
18576         (org-item-beginning-re): Change into a function, so any
18577         modification of `org-alphabetical-lists' will not require
18578         reloading Org.
18579         (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
18580         (org-list-parse-list, org-list-send-list): Reflect changes to
18581         `org-item-beginning-re'.
18582         (org-list-use-alpha-bul-p): New function.
18584         * org.el (org-check-for-hidden): Reflect changes to
18585         `org-item-beginning-re'.
18587         * org-capture.el (org-capture-place-item): Reflect changes to
18588         `org-item-beginning-re'.
18590         * org-docbook.el (org-export-docbook-list-line): Handle New type
18591         of items.
18593         * org-exp.el (org-export-mark-list-end)
18594         (org-export-mark-list-properties): Reflect changes to
18595         `org-item-beginning-re'.
18597         * org-html.el (org-html-export-list-line): Handle new type of
18598         items.
18600         * org-latex.el (org-export-latex-lists): Handle new type of items
18601         and reflect changes to `org-item-beginning-re'.
18603         * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
18605 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18607         * org-list.el (org-list-end-re): Remove function and made it a
18608         variable.  There's no need for the overhead of calling the
18609         function every at every line in a list.  User will have to reload
18610         Org if he change value of either `org-list-end-regexp' or
18611         `org-empty-line-terminates-plain-lists'.
18612         (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
18614         * org-exp.el (org-export-mark-list-end)
18615         (org-export-mark-list-properties): Apply change.
18617         * org-latex.el (org-export-latex-lists): Apply change.
18618         Also prevent items with org-example property to be considered as real
18619         items.
18621 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18623         * org-inlinetask.el (org-inlinetask-export-templates): Slightly
18624         modify templates so environment boundaries don't interfere with
18625         content of task.  Unprotect content of task so it might benefit
18626         from further transformations.  Set original-indentation property to
18627         a high value to ensure that task is always in the last item of the
18628         list.  Also, apply templates later in export process.
18630         * org-list.el (org-list-struct): Fix inline task skipping.
18632 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18634         * org-latex.el (org-export-latex-lists): Search for unprotected
18635         items only, and redefine `org-at-item'.  This change is required
18636         when verbatim lists are inserted during export, usually by Babel.
18638 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18640         * ob.el (org-babel-result-end): End position is end of current
18641         sublist instead of bottom point, as results might be inserted in a
18642         list themselves.
18644 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18646         * org-list.el (org-list-automatic-rules): Remove insert rule.
18647         (org-list-insert-item-generic): Remove code preventing user to
18648         insert another item in a block within a list.  It is because new
18649         list context make it impossible to see if a point in a block is
18650         also in a list.
18652 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18654         * org-exp.el (org-export-preprocess-string): Mark list endings
18655         before babel blocks preprocessing starts, so blank lines that may
18656         be inserted do not break list's structure.  Then, mark list with
18657         special properties required by exporters.  Thus output from babel
18658         can easily be included in lists.
18659         (org-export-mark-list-end): New function.
18660         (org-export-mark-list-properties): New function.
18661         (org-export-mark-lists): Remove function.  It was split into the
18662         two preceding functions.
18664 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18666         * org-list.el (org-update-checkbox-count): Do not recompute every
18667         list before next heading when there are more than one cookie in an
18668         headline.  Moreover, ignore the case where cookie is inserted
18669         neither at an heading nor at an item.
18671 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18673         * org-list.el (org-sort-list): Fix number of arguments to
18674         `org-list-repair', plus make `end-record' go to end of item before
18675         any blank line to keep them from being swallowed in the sorting.
18677 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18679         * org-list.el (org-list-forbidden-blocks): Rename from
18680         `org-list-blocks'.
18681         (org-list-export-context): New variable.
18683 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18685         * org-list.el (org-list-search-generic): Rename form
18686         `org-search-unenclosed-generic' to reflect the new behavior.  Now,
18687         match can only be in a valid context for lists, as determined by
18688         `org-list-context'.
18689         (org-list-search-backward): Rename from
18690         `org-search-backward-unenclosed'.
18691         (org-list-search-forward): Rename from
18692         `org-search-forward-unenclosed'.
18693         (org-toggle-checkbox, org-update-checkbox-count): Use new
18694         functions.
18695         (org-sort-list): Using default regexp search functions as context
18696         is not required in this case.
18698 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18700         * org-exp.el (org-export-mark-lists): New function, replacing
18701         org-export-mark-list-ending.  It adds information as text
18702         properties to every list, before changes done by exporter destruct
18703         them.
18705 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18707         * org-list.el (org-list-get-first-item): New alias for
18708         `org-list-get-list-begin'.
18709         (org-list-get-last-item): New function.
18710         (org-list-get-list-end): Use `org-list-get-last-item'.
18712 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18714         * org.el (org-get-string-indentation): Move in generally useful
18715         functions section, as it wasn't specific to plain lists and that
18716         no code was using it in org-list.el.
18718 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18720         * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18721         accessors.
18723 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18725         * org-list.el (org-list-indent-item-generic): Remove error
18726         messages happening before process.  This belongs to interactive
18727         functions.
18728         (org-indent-item, org-indent-item-tree)
18729         (org-outdent-item, org-outdent-item-tree): Ensure point or region
18730         is correct before computing list structure.  Return an error
18731         message otherwise.
18733 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18735         * org-list.el (org-apply-on-list): Use new structures.
18736         Function is now applied in reverse order so modifications do not change
18737         positions of items in buffer.
18739 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18741         * org-list.el (org-list-parse-list): Rewrite of function to allow
18742         text following a sub-list in the same item.  See docstring for an
18743         example of output.
18744         (org-list-to-generic): Use new parsing function.
18745         (org-list-to-latex, org-list-to-html): Minor change for clearer
18746         export.
18748 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18750         * org-list.el (org-list-has-child-p): Rename from
18751         `org-list-get-child'.  Returning first child is only useful as a
18752         predicate, as we are allowing an item to have more than one
18753         sub-list.
18754         (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18755         of org-list-get-child.
18756         (org-in-item-p): Also return item beginning when list starts at
18757         context beginning.
18758         (org-list-get-parent): Use of `org-list-struct-parent-alist'
18759         helper function is not optional anymore.
18760         (org-list-get-all-items): Shorten code with the help of cl.el.
18761         (org-list-get-children): Now returns all children of item, even if
18762         they do not belong to the same list.  Renamed from
18763         `org-list-get-all-children'.
18764         (org-list-get-list-begin): Function wasn't return value when item
18765         was already the first item of the list at point.
18766         (org-list-get-list-end): Function wasn't return value when item
18767         was already the last item of the list at point.
18768         (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18769         `org-list-get-children'.
18771 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18773         * org.el (org-indent-line-function): Indentation of item's body
18774         starts just after the bullet, not after a checkbox.  Moreover, As
18775         `org-in-item-p' also returns item beginning position when point is
18776         in a list, do not compute it a second time.
18778 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18780         * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18781         usage `org-repair-list', forcing another reading of the list, with
18782         only needed subroutines.
18784 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18786         * org-list.el (org-list-separating-blank-lines-number): Use new
18787         accessors.
18788         (org-list-insert-item-generic): Use list structures to insert a
18789         new item.
18790         (org-list-exchange-items): Refactor and comment code.  Now return
18791         new struct instead of modifying it, as list sorting would
18792         sometimes eat first item.
18793         (org-move-item-down, org-move-item-up): Reflect changes to
18794         `org-list-exchange-items'.
18795         (org-insert-item): As `org-in-item-p' also computes item beginning
18796         when applicable, reuse the result.
18798 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18800         * org-list.el (org-list-in-item-p): Unify methods for this
18801         predicate.
18802         (org-list-in-item-p-with-indent): Remove function.
18803         (org-list-ending-between): Remove function.
18804         (org-list-maybe-skip-block): Remove function.
18805         (org-list-in-item-p-with-regexp): Remove function.
18806         (org-list-top-point-with-regexp): Remove function.
18807         (org-list-top-point-with-indent): Remove function.
18808         (org-list-bottom-point-with-indent): Remove function.
18809         (org-list-bottom-point-with-regexp): Remove function.
18810         (org-list-get-item-same-level): Remove function.
18811         (org-list-top-point): Remove function.
18812         (org-list-bottom-point): Remove function.
18813         (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18814         be consistent with naming policy of non-interactive functions.
18815         (org-get-beginning-of-list): Remove function.
18816         (org-beginning-of-item-list): Use new accessors.
18817         (org-get-end-of-list): Remove function.
18818         (org-end-of-list): Use new accessors.
18819         (org-get-end-of-item): Remove function.
18820         (org-end-of-item): Use new accessors.
18821         (org-get-previous-item): Remove function.
18822         (org-previous-item): Use new accessors.
18823         (org-get-next-item): Remove function.
18824         (org-next-item): Use new accessors.
18825         (org-list-get-item-end-before-blank): Use new accessors.
18827 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18829         * org-list.el (org-list-repair): Remove optional argument
18830         FORCE-BULLET.  The job of this interactive function is to
18831         completely fix a list at point.  Changing bullets is a separate
18832         task.  Also removed others optional arguments TOP and BOTTOM to
18833         follow the new structures.
18834         (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18835         STRUCT is a new required argument.  This avoids computing a list
18836         structure many times when function is called more than once in a
18837         row, for example in `org-cycle-item-indentation'.  Use new
18838         accessors.  Now, also call `org-update-checkbox-count-maybe'.
18839         (org-outdent-item, org-indent-item, org-outdent-item-tree)
18840         (org-indent-item-tree): Remove need for TOP and BOTTOM.
18841         (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18842         (org-list-exchange-items): Use new accessors.  Now modify struct
18843         to avoid re-reading it later.
18844         (org-move-item-down): Reflect changes to `org-list-repair'.
18845         Use new accessors.
18846         (org-move-item-up): Reflect changes to `org-list-repair'.  Use new
18847         accessors.
18848         (org-cycle-list-bullet): Use new structures.  Also use a shortcut
18849         to `org-list-struct-fix-struct' in order to avoid unnecessary
18850         fixes, like `org-list-struct-fix-box'
18851         (org-sort-list): Use of new structures.  Renamed an internal
18852         function for a little more clarity.
18853         (org-cycle-item-indentation): Remove dependency on
18854         `org-list-repair'.  Use new accessors.
18855         (org-list-get-child): Correct bug when asking for the child of the
18856         last item.
18857         (org-list-exchange-items): Use new accessors.
18859 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18861         * org-list.el (org-list-blocks): New variable.
18862         (org-list-context): New function.
18863         (org-list-full-item-re): New variable.
18864         (org-list-struct-assoc-at-point): Use new variable.
18865         (org-list-struct): Rewrite of function.  Now, list data is
18866         collected by looking at the list line after line.  It reads the
18867         whole list each time because reading only a subtree was not enough
18868         for some operations, like fixing checkboxes.  It also removes the
18869         need to get `org-list-top-point' and `org-list-bottom-point'
18870         first.  An added data is the position of item ending.  This aims
18871         to be able to have list followed by text inside an item.
18872         (org-list-struct-assoc-end): New function.
18873         (org-list-struct-parent-alist): New function.
18874         (org-list-get-parent): New function.
18875         (org-list-get-child): New function.
18876         (org-list-get-next-item): New function.
18877         (org-list-get-prev-item): New function.
18878         (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18879         (org-list-get-all-items): New function.
18880         (org-list-get-all-children): New function.
18881         (org-list-get-top-point): New function.
18882         (org-list-get-bottom-point): New function.
18883         (org-list-get-counter): New function.
18884         (org-list-get-item-end): New function.
18885         (org-list-struct-fix-bul): Rewrite for cleaner code.  Make use of
18886         new accessors.
18887         (org-list-struct-fix-ind): Make use of new accessors.
18888         (org-list-struct-fix-box): New function.
18889         (org-list-struct-fix-checkboxes): Remove function.
18890         (org-list-struct-outdent): Use new accessors.  Use the fact that
18891         there is no longer a virtual item at beginning of structure.
18892         (org-list-struct-indent): Use helper functions
18893         `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18894         Also use new accessors.
18895         (org-list-struct-fix-struct): Comment function.  Call directly
18896         `org-list-struct-apply-struct', without removing unchanged items
18897         first.
18898         (org-list-struct-apply-struct): Comment function.  Rewrite using
18899         new accessors.  Use new variable `org-list-full-item-re'.
18900         (org-list-shift-item-indentation): Remove function, now included
18901         in `org-list-struct-apply-struct' because it is too specific.
18903 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18905         * org-list.el (org-toggle-checkbox): Use structures to fix
18906         checkboxes of a list.
18907         (org-update-checkbox-count): Use structures to update cookies.
18909 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18911         * org-list.el (org-list-struct-fix-checkboxes): New function.
18912         (org-checkbox-blocked-p): Remove function.
18914 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18916         * org-list.el (org-list-get-all-items): New function.
18917         (org-list-get-all-children): New function.
18918         (org-list-get-nth): New function.
18919         (org-list-set-nth): New function.
18920         (org-list-get-ind): New function.
18921         (org-list-set-ind): New function.
18922         (org-list-get-bullet): New function.
18923         (org-list-set-bullet): New function.
18924         (org-list-get-checkbox): New function.
18925         (org-list-set-checkbox): New function.
18926         (org-list-struct-fix-bul): Use new accessors.
18927         (org-list-repair): Use new accessors.
18928         (org-list-indent-item-generic): Make use of accessors.
18929         (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18930         (org-list-get-child): Rename from `org-list-struct-get-child'.
18931         (org-list-struct-fix-ind): Make use of accessors.
18932         (org-list-get-next-item): New function.
18933         (org-list-get-subtree): New function.
18935 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18937         * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18938         list structure.
18940         * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18941         value in structure.
18943         * org-list.el (org-list-struct-apply-struct): Also apply
18944         checkboxes.
18946 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18948         * org-latex.el (org-export-latex-content): Bind local variables
18949         for export in the temporary export buffer.
18951 2011-07-28  David Maus  <dmaus@ictsoc.de>
18953         * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18954         (org-protocol-unhex-string, org-protocol-unhex-compound):
18955         Change date of obsolete declaration to 2011-02-17.
18957 2011-07-28  David Maus  <dmaus@ictsoc.de>
18959         * org.el (org-link-escape): Throw error if encoding character in
18960         utf8 fails.
18962 2011-07-28  David Maus  <dmaus@ictsoc.de>
18964         * org-protocol.el (org-protocol-split-data)
18965         (org-protocol-open-source): Use `org-link-unescape' instead of
18966         obsolete unhex string function.
18968 2011-07-28  David Maus  <dmaus@ictsoc.de>
18970         * org.el (org-link-escape, org-link-escape-chars-browser)
18971         (org-link-escape-chars): Always percent escape the percent sign.
18973 2011-07-28  David Maus  <dmaus@ictsoc.de>
18975         * org.el (org-link-unescape): Simpler algorithm for replacing
18976         percent escapes.
18977         (org-link-unescape-compound): Use cond statements instead of nested
18978         if, convert hex string with string-to-number, save match data.
18979         (org-link-unescape-single-byte-sequence): Use mapconcat and
18980         string-to-number for unescaping single byte sequence.
18982 2011-07-28  David Maus  <dmaus@ictsoc.de>
18984         * org.el (org-link-escape): Rename lambda argument.
18986 2011-07-28  David Maus  <dmaus@ictsoc.de>
18988         * org.el (org-link-escape-chars-browser, org-link-escape-chars):
18989         Add percent sign to list of escape chars.
18991 2011-07-28  David Maus  <dmaus@ictsoc.de>
18993         * org-mobile.el (org-mobile-escape-olp): Use new percent escape
18994         character table format.
18996 2011-07-28  David Maus  <dmaus@ictsoc.de>
18998         * org-mobile.el (org-mobile-locate-entry): Remove obsolete
18999         argument in call to org-link-unescape.
19001 2011-07-28  David Maus  <dmaus@ictsoc.de>
19003         * org-protocol.el (org-protocol-unhex-string)
19004         (org-protocol-unhex-compound)
19005         (org-protocol-unhex-single-byte-sequence): Declare obsolete and
19006         alias to respective org-link-unescape-* functions.
19008 2011-07-28  David Maus  <dmaus@ictsoc.de>
19010         * org.el (org-link-unescape, org-link-unescape-compound)
19011         (org-link-unescape-single-byte-sequence): Functions moved and renamed
19012         from org-protocol.el.
19014 2011-07-28  David Maus  <dmaus@ictsoc.de>
19016         * org-macs.el (org-char-to-string): Inline function to properly
19017         decode utf8 characters in Emacs 22.  Moved and renamed from
19018         org-protocol.el.
19020 2011-07-28  David Maus  <dmaus@ictsoc.de>
19022         * org.el (org-link-escape): New optional argument.  Merge user
19023         table with default table.
19025 2011-07-28  David Maus  <dmaus@ictsoc.de>
19027         * org.el (org-link-escape): Fixup doc string.
19029 2011-07-28  David Maus  <dmaus@ictsoc.de>
19031         * org.el (org-link-escape-chars, org-link-escape-chars-browser):
19032         New format of percent escape table.
19033         (org-link-escape): Use new table format.
19035 2011-07-28  David Maus  <dmaus@ictsoc.de>
19037         * org.el (org-link-escape): New Unicode aware percent encoding
19038         algorithm.
19040 2011-07-28  Sebastian Rose  <sebastian_rose@gmx.de>
19042         * org-protocol.el (org-protocol-unhex-single-byte-sequence):
19043         New function.  Decode hex-encoded singly byte sequences.
19044         (org-protocol-unhex-compound): Use new function if decoding sequence
19045         as Unicode character failed.
19047 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19049         * org-html.el (org-export-as-html): Expand the HTML title.
19051 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19053         * org-publish.el (org-publish-cache-ctime-of-src):
19054         Improve docstring.
19055         (org-publish-find-title): New option to explicitly reset the title
19056         in the cache.
19057         (org-publish-format-file-entry): Use this new option.
19059 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19061         * org-exp.el (org-export-preprocess-string): Set the source buffer
19062         and use `org-clone-local-variables' to get local variables from
19063         it.
19065 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19067         * org-exp.el (org-export-format-source-code-or-example):
19068         Allow empty string as second element in minted/listings options.
19070 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19072         * org-exp.el (org-export-format-source-code-or-example):
19073         Support new user-customizable options.
19074         (org-export-latex-custom-lang-environments): Ensure new variable
19075         is defined.
19076         (org-export-latex-listings-options): Ensure new variable is defined.
19077         (org-export-latex-minted-options): Ensure new variable is defined.
19079 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19081         * org-html.el (org-export-as-html): Handle the case when
19082         `org-export-html-validation-link' is nil to keep backward
19083         compatible with the old default value of this variable.
19085 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19087         * ob.el (org-babel-insert-result): Don't choke if indent is not a
19088         number.
19090 2011-07-28  Christian Moe  <mail@christianmoe.com>  (tiny change)
19092         * org-bbdb.el (org-bbdb-export): When a link description has been
19093         added by `org-export-normalize-links', use path instead (remove
19094         the `bbdb:' prefix).
19096 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19098         * org-ascii.el (org-export-ascii-underline): Put the level's
19099         characters in the right order, as documented by the docstring.
19100         (org-ascii-level-start): Select the right char for underlining
19101         headlines.
19103 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19105         * org-src.el (org-edit-src-code): Allow to edit source code from
19106         modes derived from Org.
19108 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>
19110         * org-clock.el (org-clock-clocktable-language-setup): Add list of
19111         dutch strings.
19113 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19115         * org-beamer.el: Mark frame as fragile when it is using minted for
19116         src block export.
19118 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19120         * org-agenda.el (org-agenda-date-later)
19121         (org-agenda-date-earlier): Enhance docstrings.
19122         (org-agenda-bulk-mark-regexp): Only match against headlines.
19123         Send a message when no entry is marked.
19124         (org-agenda-bulk-action): Fix bug about scattering deadlines.
19125         Send an error when trying to scatter outside an agenda or a
19126         timeline view.  Silently fail when trying to scatter sexp entries.
19128 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19130         * org-clock.el (org-clock-clocktable-language-setup): New custom
19131         variable.
19132         (org-clocktable-defaults): Set the default language.
19133         (org-clocktable-write-default): Use the new variable.
19135 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19137         * ob.el (org-babel-src-block-names): Don't strip text properties
19138         from search hits.
19139         (org-babel-result-names): Don't strip text properties from search
19140         hits.
19142 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19144         * ob-python.el (org-babel-python-evaluate-session): Pass nil as
19145         remove-echo part of META argument to
19146         `org-babel-comint-with-output'.
19148 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19150         * ob.el (org-babel-script-escape): Use `substring' comparison
19151         instead of regexp matching.
19153 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19155         * org-src.el (org-edit-src-code): When generating the code edit
19156         buffer, it is necessary for several variables to inherit their
19157         values from the parent org buffer.  These changes collect all such
19158         variables together into a single association list of
19159         `(variable-name value)' pairs.  In addition, a new variable is
19160         added to the list: `org-edit-src-content-indentation'.  This has
19161         the effect that a buffer local value can be used for that
19162         variable.
19164 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19166         * ob-table.el (sbe): Don't truncate sbe results.
19168 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19170         * org-exp.el (org-export-add-options-to-plist): Require match to
19171         start at a word-boundary.
19173 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19175         * org-latex.el (org-export-latex-hyperref-format):
19176         Update docstring.
19178 2011-07-28  Tom Dye  <tsd@tsdye.com>
19180         * org.el: Update documentation of `org-add-link-type'.
19182 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19184         * org.el (org-open-at-point): Fix bug when using prefix arg to
19185         construct `org-link-search' call.  Rename prefix arg with a more
19186         generic name, to reflect its diverse uses in this function.
19188 2011-07-28  Rémi Vanicat  <vanicat@debian.org>
19190         * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
19191         (org-icalendar-date-time-format): New custom variable.
19192         (org-icalendar-use-UTC-date-timep): New function.
19193         (org-ical-ts-to-string): Use the new variable.
19195 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19197         * org-vm.el (org-vm-store-link): Make sure the buffer is
19198         associated with a file when trying to store an Org link.
19200 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19202         * ob.el (org-babel-params-from-properties): Test for
19203         "header-arg-name" and ":header-arg-name", in that order.
19205 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19207         * org-capture.el (org-capture-templates): Document "currentfile"
19208         for capture template.
19209         (org-capture-templates): Allow to use currentfile for capture
19210         templates.
19211         (org-capture-set-target-location): Handle currentfile as a way to
19212         setting the capture buffer.
19214 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19216         * ob.el (org-babel-params-from-properties): Don't wrap
19217         `org-entry-get' into `condition-case'.
19219 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19221         * org.el (org-entry-get): Don't look for a property drawer if we
19222         are before the first heading in the file.
19223         (org-entry-get-with-inheritance): Don't attempt to move up the
19224         tree if we are before the first heading in the file.  Also,
19225         enclose less of the function in the `save-excursion'.
19227 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19229         * ob.el (org-babel-params-from-buffer): Return desired value
19230         rather than nil from failed re search.
19232 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19234         * org-agenda.el (org-get-entries-from-diary): Put multiline diary
19235         entries on a single line when lines don't start with a diary time.
19237 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19239         * org-html.el (org-export-html-protect-char-alist): New custom
19240         variable to define characters to be HTML protected.
19241         (org-html-protect): Use the new variable.
19243 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19245         * org-info.el (org-info-store-link): Use "#" to separate the info
19246         file and the node.
19247         (org-info-follow-link): Use both "#" to separate the info file and
19248         the node.  Continue to use ":" for backward compatibility.
19250 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19252         * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
19253         variable.
19254         (org-print-icalendar-entries): Use this new variable to prevent
19255         export of entries with a :noexport: tag.
19257 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19259         * org-exp.el (org-export-initial-scope): New custom variable.
19260         (org-export): Use this new variable.  If there is an active
19261         region, tell it when prompting the user for an export command.
19262         Also change the way the function handles selection of buffer and
19263         subtree export.
19265 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19267         * org-html.el (org-export-html-auto-preamble)
19268         (org-export-html-auto-postamble): Remove.
19269         (org-export-html-preamble, org-export-html-postamble): Turn into
19270         custom variables.  Update the docstrings.
19271         (org-export-html-preamble-format)
19272         (org-export-html-postamble-format): New custom variables.
19273         (org-export-as-html): Use `org-export-html-postamble-format' and
19274         `org-export-html-preamble-format'.
19275         (org-export-html-title-format): Delete.
19277 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19279         * org-exp-blocks.el (org-export-blocks-format-ditaa):
19280         This function is begin deprecated in favor of begin_src blocks.
19281         (org-export-blocks-format-dot): This function is begin deprecated in
19282         favor of begin_src blocks.
19284 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19286         * ob.el (org-babel-header-arg-names): no-expand is now part of the
19287         default header argument names list.
19289 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
19291         * org-publish.el (org-publish-sitemap-date-format)
19292         (org-publish-sitemap-file-entry-format): New custom variables.
19293         (org-publish-projects): Use these variables to format the sitemap
19294         entries.
19296 2011-07-28  Ulf Stegemann  <ulf-news@zeitform.de>
19298         * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
19299         from `message-mode'.
19301 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19303         * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
19304         updating the filter while the clock report is following the
19305         filter.
19307 2011-07-28  Julien Danjou  <julien@danjou.info>
19309         * org-agenda.el (org-agenda): Kill all local variables.
19310         This assures we are not keeping buffer variable from an old agenda view
19311         when switching to a new custom agenda.
19313 2011-07-28  Julien Danjou  <julien@danjou.info>
19315         * org-crypt.el (org-encrypt-string): New function.
19316         (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
19317         cached crypted values.
19318         (org-decrypt-entry): Store crypted text in decrypted text.
19320 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19322         * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
19323         if a non-nil result is returned.
19325 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19327         * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
19328         modified today.
19330 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19332         * org.el (org-update-parent-todo-statistics): Fix bug when
19333         updating statistics from the column view.
19335 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19337         * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
19338         (org-agenda-menu): Add the new command to the menu.
19339         (org-agenda-mode-map): Add % as the keybinding for the new
19340         command.
19342 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19344         * org-exp.el (org-export-target-internal-links): Locally turn on
19345         `org-link-search-must-match-exact-headline' to match exact
19346         internal links.
19348 2011-07-28  Julien Danjou  <julien@danjou.info>
19350         * org-faces.el (org-special-keyword): Make it inherited from
19351         `font-lock-keyword-face'.
19353 2011-07-28  Julien Danjou  <julien@danjou.info>
19355         * org-faces.el (org-link): Make `org-link' inherits from `link'
19356         face.
19358 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19360         * org.el (org-narrow-to-block): New function to narrow to block.
19361         Bound this function to `C-x n b'.
19363 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19365         * org.el (org-schedule, org-deadline): Fix bug: take care of
19366         repeating timestamps like ".+1d/3d" or "+1d 10d".
19368 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19370         * org-agenda.el (org-agenda-repeating-timestamp-show-all):
19371         Allow to use a list of TODO keywords as the value of this variable.
19372         The agenda will show repeating stamps for entries matching these TODO
19373         keywords.
19374         (org-agenda-get-timestamps, org-agenda-get-deadlines)
19375         (org-agenda-get-scheduled): Allow the use of a list of keywords in
19376         `org-agenda-repeating-timestamp-show-all'.
19378 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19380         * org-latex.el (org-export-latex-emph-format): Don't use
19381         `org-export-latex-use-verb'.  Remove this variable.
19383 2011-07-28  Jason Dunsmore  <emacs-orgmode@dunsmor.com>  (tiny change)
19385         * org-html.el (org-html-handle-time-stamps): Fix bug when
19386         exporting inactive timestamps.
19388 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19390         * org-archive.el (org-archive-save-context-info): Fix docstring
19391         typo.
19392         (org-archive-subtree-add-inherited-tags): New variable to control
19393         whether inherited tags should be appended to local tags when
19394         archiving subtrees.
19395         (org-archive-subtree): Use the new variable.
19397 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19399         * org-archive.el (org-archive-save-context-info): Fix docstring.
19401 2011-07-28  Julien Danjou  <julien@danjou.info>
19403         * org-crypt.el (org-decrypt-entry): Delete \n on top level
19404         heading.  This avoids a display bug showing the heading outlined
19405         where the text is not since it does not have the outline property.
19406         Restore subtree visibility state after decryption.
19408 2011-07-28  Julien Danjou  <julien@danjou.info>
19410         * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
19411         as a possible default span if it is set.
19413 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19415         * org-src.el (org-edit-src-persistent-message): Change docstring.
19416         (org-edit-src-code): Get rid of help message in echo area.
19418         * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
19419         argument to org-edit-src-code as this has been removed.
19421 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19423         * org-latex.el (org-export-latex-emphasis-alist):
19424         Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
19425         emphasis.
19426         (org-export-latex-use-verb): Now defaults to t.
19427         (org-export-latex-emph-format): Distinguish between =...= and
19428         ~...~ emphasis.
19430 2011-07-28  Julien Danjou  <julien@danjou.info>
19432         * org.el (org-link-expand-abbrev): Allow any type of character in
19433         link expand.
19435 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19437         * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
19439 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19441         * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
19442         resolving references.
19444 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19446         * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
19447         instead of <hr> to keep w3c validator happy.
19449 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19451         * ob.el (org-babel-where-is-src-block-head): Detect src block if
19452         point is on a #+header line.
19454 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19456         * ob.el (org-babel-where-is-src-block-head): Skip over intervening
19457         #+header lines when searching for block associated with block name
19458         line.
19460 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19462         * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
19463         the more specific `org-at-item-p'.
19465 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19467         * org-latex.el (org-latex-default-figure-position): New defcustom
19468         for default placement of latex figures.
19469         (org-export-latex-tables): Positioning tables using the new
19470         defcustom variable.
19471         (org-export-latex-format-image): Positioning images using the new
19472         defcustom variable.
19474 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19476         * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
19477         evaluated and :file header argument is missing.
19479 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19481         * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
19482         to do anything to export code.
19483         (org-babel-exp-results): No longer returns a replacement for the
19484         code block.
19485         (org-babel-exp-inline-src-blocks): Simplify.
19486         (org-babel-exp-src-block): Remove unnecessary pluralization from
19487         function name.
19489 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19491         * ob-exp.el (org-babel-exp-inline-src-blocks):
19492         Simplify exportation of inline code blocks using normal code block
19493         execution mechanism to insert results.
19494         (org-babel-exp-results): Results exportation mechanism is unified
19495         for both inline and regular code blocks.
19497         * ob.el (org-babel-where-is-src-block-result): Returns the point
19498         after an inline code block for inline code blocks.
19500 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19502         * ob.el (org-babel-insert-result): Special handling of the
19503         position of results of inline code blocks.
19504         (org-babel-examplize-region): Now able to comment inline regions.
19506 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19508         * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
19509         that \\[ a = b \\] is not interpreted as a keybinding by
19510         `substitute-command-keys'.
19512 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19514         * org-latex.el (org-export-as-latex): Process export property list
19515         with `org-export-process-option-filters' early in latex export.
19517 2011-07-28  Julien Danjou  <julien@danjou.info>
19519         * org.el: Remove `org-invisible-p': `outline-invisible-p' is
19520         available in Emacs 22 and in recent XEmacs 21.  Replace in various
19521         files.
19523 2011-07-28  Julien Danjou  <julien@danjou.info>
19525         * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
19526         it must has \\ at the end of the line.  This avoid matching the
19527         following heading when there's no newline between the logged state
19528         and the next heading.
19530 2011-07-28  Julien Danjou  <julien@danjou.info>
19532         * org-agenda.el (org-format-agenda-item): Simplify time comuting.
19534 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19536         * org.el (org-current-level, org-store-link, org-mark-subtree):
19537         Use `org-with-limited-levels'.
19539 2011-07-28  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19541         * org-publish.el (org-publish-get-base-files): Add sitemap file.
19543 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19545         * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
19546         (org-agenda-todo-ignore-scheduled): New option.
19547         (org-agenda-todo-ignore-timestamp): New option.
19548         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
19549         Allow user to specify custom distance to ignore (future or past).
19550         (org-agenda-todo-custom-ignore-p): New function.
19552 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19554         * org-habit.el (org-habit-parse-todo) Don't parse more days than
19555         needed.
19557 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19559         * ob.el (org-babel-map-inline-src-blocks): Macro for executing
19560         code in each inline code block.
19561         (org-babel-execute-buffer): Executes inline code blocks as well as
19562         regular code blocks.
19564 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19566         * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
19567         blocks for removal.
19569 2011-07-28  Benjamin Drieu  <bdrieu@april.org>  (tiny change)
19571         * org-clock.el (org-clock-before-select-task-hook): New hook.
19572         (org-clock-select-task): Run new hook.
19574 2011-07-28  Julien Danjou  <julien@danjou.info>
19576         * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
19577         events with range.  This display things like: <2011-01-22 Sat
19578         14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
19579         at 14:00 and ending at 20:00.
19581 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19583         * ob.el (org-babel-inline-src-block-regexp): Character preceding
19584         "src_" can now be anything as long as it is neither alphanumeric
19585         nor '-'.
19587 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19589         * ob.el (org-babel-merge-params): Docstring typo.
19591 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19593         * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
19594         in the buffer.
19596 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19598         * ob.el (org-babel-get-src-block-info): Alter order of merge
19599         arguments.
19601 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19603         * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
19605 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19607         * ob.el (org-babel-insert-result): Ensure all parts of result
19608         wrappers end in newlines.
19610 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19612         * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
19613         optionally creates parent directories of tangle targets.
19615 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19617         * org-ascii.el (org-ascii-level-start): Catch the case of levels
19618         which do not have an equivalent in the list of underline
19619         characters.
19621 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19623         * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
19624         the format string used to escape arguments to shell code blocks.
19626 2011-07-28  Julien Danjou  <julien@danjou.info>
19628         * org-agenda.el (org-agenda-reset-view): New function.
19629         (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19631 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
19633         * org-exp.el (org-export-handle-include-files): Support :lines
19634         property.
19635         (org-get-file-contents): New argument lines to include specify a
19636         range of lines to include.
19638 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19640         * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19642 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19644         * org-latex.el (org-export-latex-make-header): Export email in
19645         author line if `org-export-email-info' is non-nil.
19647 2011-07-28  Julien Danjou  <julien@danjou.info>
19649         * org-agenda.el (org-agenda-goto-today): Respect current span.
19651 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19653         * org-complete.el (pcomplete/org-mode/link)
19654         (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19655         before uniquifying.
19657 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19659         * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19660         linking comment type
19661         (org-babel-tangle-comment-links): Returns comment links for the
19662         source code block at point.
19664 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19666         * org.el (org-refile-check-position): Send a more explicit message
19667         on how to clear the cache before refiling again.
19669 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19671         * org-agenda.el (org-agenda-skip-function-global): New option.
19672         (org-agenda-skip-eval): New function.
19673         (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19674         the global skipping condition.
19676 2011-07-28  David Maus  <dmaus@ictsoc.de>
19678         * org-html.el (org-export-as-html): Handle timestamps after
19679         handling links.
19681 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19683         * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19684         until either a matching block is found, or the limits of the file
19685         are reached.
19687 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19689         * ob.el (org-babel-update-block-body): Literal argument to
19690         `replace-match' to allow insertion of text containing '\'.
19692 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19694         * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19695         into code blocks.
19697 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19699         * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19701 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19703         * ob.el (org-babel-open-src-block-result): Must collect result
19704         *before* jumping to the result buffer.
19706 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19708         * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19709         used after update to regexp.
19711 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19713         * ob.el (org-babel-temp-file): Ensure that
19714         `org-babel-temporary-directory' is bound before using.
19715         (org-babel-remove-temporary-directory): Safer error throwing.
19717 2011-07-28  niels giesen  <niels.giesen@gmail.com>
19719         * org-docbook.el (org-export-docbook-finalize-table): Do literal
19720         replacements.
19722 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19724         * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19725         resolve language names for evaluation.
19727 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19729         * org-capture.el (org-capture-templates): Add %f and %F escapes
19730         (org-capture): Add more information to capture property list
19731         (org-capture-fill-template): Handle %f and %F escapes.
19733 2011-07-28  David Maus  <dmaus@ictsoc.de>
19735         * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19736         symlink target.
19738 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19740         * org.el (org-occur-next-match): New function.
19741         (org-mode): Set the variable `next-error-function'.
19742         (org-highlight-new-match): Add an `org-type' property to the
19743         overlays.
19745 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19747         * ob-calc.el: No longer require `calc-trail' on XEmacs.
19749 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19751         * org.el (org-modules): Add `org-eshell'.
19753 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19755         * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19756         dynamically scoped variables.
19758         * org.el (org-modules): Move `org-special-blocks' into the core
19759         modules section.
19761 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19763         * org-special-blocks.el: New file.
19765 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19767         * org.el (org-plist-delete): Remove duplicate definition.
19769 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19771         * org-agenda.el (org-agenda-goto): Display invisible entry text.
19773         * org-agenda.el (org-agenda-switch-to): Display invisible entry
19774         text.
19776 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19778         * org.el (org-get-category): New optional argument FORCE-REFRESH.
19779         Automatically refresh if the property is not there.
19780         (org-entry-properties): Remove refresh - this is now done in
19781         org-get-category.
19783         * org-clock.el (org-clock-insert-selection-line):
19784         Let `org-get-category' do the property refresh.
19786         * org-archive.el (org-archive-subtree): Force a refresh of
19787         category properties.
19789 2011-07-28  Julien Danjou  <julien@danjou.info>
19791         * org-icalendar.el (org-print-icalendar-entries): Do not manually
19792         refresh categories.
19794 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19796         * org.el (org-display-inline-images): Check for clear-image-cache
19797         before using it.
19799 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19801         * org.el: Document missing value for org-link-frame-setup.
19803 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19805         * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19806         user code prior to the R exception-handling, so that errors in
19807         user code are unhandled.
19809 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19811         * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19812         that a major-mode function corresponding to the language string
19813         exists.
19815 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19817         * org-exp.el (org-export-mark-list-ending): Insert additional
19818         newline characters if end-list-marker is at a wrong position.
19820 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19822         * ob.el (org-babel-script-escape): Replace commas with spaces for
19823         better list reading when list items are packed with commas,
19824         e.g. Haskell list output.
19826 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19828         * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19829         error reporting.
19831 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19833         * ob.el (org-babel-confirm-evaluate): Fix for the case when
19834         org-confirm-babel-evaluate is a function (used to always ask no
19835         matter what the function returns).
19837 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19839         * ob-R.el: Delete duplicated function.
19841 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19843         * ob.el (org-babel-execute-src-block): Remove unused flet
19844         function.
19846 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19848         * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19849         signal that the intended content has been written to file.
19851         * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19852         the intended content has been written to file.
19854         * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19855         intended content has been written to file.
19857         * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19858         that the intended content has been written to file.
19860         * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19861         the intended content has been written to file.
19863         * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19864         that the intended content has been written to file.
19866         * ob-octave.el (org-babel-execute:octave): Return result; not name
19867         of output file.
19869         * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19870         signal that the intended content has been written to file.
19872         * ob-python.el (org-babel-execute:python): Return result; not name
19873         of output file.
19875         * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19876         output file.
19878         * ob-sass.el (org-babel-execute:sass): Return nil if result has
19879         been written to file.
19881 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19883         * ob-R.el (org-babel-R-graphical-output-file): New function
19884         returns the name of the output file iff R has been instructed to
19885         send graphical output to file by means of the ":results graphics"
19886         directive.
19887         (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19888         when constructing the R code to evaluate, which may be augmented
19889         with code implementing the writing of graohical output to file.
19890         (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19891         determine whether R is taking responsibility for writing output to
19892         file; if so, this is signaled to ob.el by returning a nil result.
19894 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19896         * ob.el (org-babel-format-result): New function to format results
19897         of src block execution.
19898         (org-babel-execute-src-block): Use `org-babel-format-result' when
19899         writing to file.
19900         (org-babel-open-src-block-result): Use `org-babel-format-result'
19901         when displaying results in a buffer.  Name results buffer
19902         differently.
19904 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19906         * ob.el (org-babel-execute-src-block): Avoid calling
19907         `orgtbl-to-generic' on number results.
19909 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19911         * ob.el (org-babel-execute-src-block): Allow specification of
19912         table separator with :sep header argument.
19913         (org-babel-open-src-block-result): Allow specification of table
19914         separator with :sep header argument.
19916 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19918         * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19919         executing buffer (note that this handles execute subtree also).
19921 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19923         * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19924         do not modify match data either.
19925         (org-inlinetask-goto-end): Small refactoring, remove
19926         case-sensitivity.
19927         (org-inlinetask-goto-beginning): Small refactoring, remove
19928         case-sensitivity.
19930 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19932         * org-capture.el (org-capture-set-target-location):
19933         Use `current-time'.
19935 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19937         * org-capture.el (org-capture-set-target-location):
19938         Use `current-time'.
19940 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19942         * org.el (org-before-first-heading-p): If point is on an org-mode
19943         heading line then we are not before the first heading.
19945 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
19947         * org-timer.el (org-timer-continue-hook): Define the variable
19948         (org-timer-pause-or-continue): Run hook after relative timer is
19949         continued.
19951 2011-07-28  Julien Danjou  <julien@danjou.info>
19953         * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19955 2011-07-28  Julien Danjou  <julien@danjou.info>
19957         * org-capture.el (org-capture-fill-template): Use org-eval.
19959 2011-07-28  Julien Danjou  <julien@danjou.info>
19961         * org-agenda.el (org-eval): New function.
19963 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19965         * ob.el (org-babel-execute-src-block): With :results file, when
19966         :file is not supplied, interpret result as a file link as long as
19967         it is a string.
19969 2011-07-28  David Maus  <dmaus@ictsoc.de>
19971         * org-latex.el (org-export-latex-preprocess): Don't convert link
19972         description parts that look like numeric footnote.
19974 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19976         * org-latex.el (org-export-latex-tables): Allowing specification
19977         of tabular[xy] inner environments through the ATTR_LaTeX line.
19979 2011-07-28  Julien Danjou  <julien@danjou.info>
19981         * org-capture.el (org-capture-fill-template):
19982         Use `org-set-property' directly.
19984 2011-07-28  Julien Danjou  <julien@danjou.info>
19986         * org-agenda.el (org-agenda-prefix-format): Add missing `search'
19987         item in docstring.
19989 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19991         * org-exp.el (org-export-string): Use `format' to construct
19992         function call to allow symbolic or string arguments.
19994 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19996         * org-capture.el (org-capture-place-entry):
19997         (org-capture-insert-template-here): Check tree for validity before
19998         pasting it.
20000 2011-07-28  Julien Danjou  <julien@danjou.info>
20002         * org-gnus.el (org-gnus-store-link): Trim date.
20004 2011-07-28  Julien Danjou  <julien@danjou.info>
20006         * org.el (org-email-link-description): Allow to retrieve email
20007         link date.
20009 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
20011         * org.el (org-make-target-link-regexp): `regexp-quote' target
20012         before replacing whitespace.
20014 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20016         * ob.el (org-babel-expand-noweb-references): Noweb references can
20017         now be resolved from the library of babel.
20019 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20021         * ob.el (org-babel-result-end): No longer leaving trailing new
20022         line after block removal.
20024 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20026         * org-latex.el (org-export-latex-first-lines): Anchor outline
20027         regexp during LaTeX tree export.
20029 2011-07-28  Konrad Hinsen  <konrad.hinsen@fastmail.net>
20031         * ob-python.el (org-babel-python-initiate-session-by-key):
20032         Make sure that py-which-bufname is initialized, as otherwise it will be
20033         overwritten the first time a Python buffer is created.
20035 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20037         * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
20038         with spaces.
20040 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20042         * ob-org.el (org-babel-execute:org): Padding code block with an
20043         empty title on LaTeX export.
20045 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20047         * org.el (org-entry-properties): Stop scanning for timestamps if a
20048         specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
20049         requested and a match is found.  Also, if a specific timestamp
20050         property is requested, do not push non-relevant timestamps onto
20051         property list.
20053 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20055         * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
20056         when grid is being made for today.
20058 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20060         * org-agenda.el (org-agenda-get-scheduled): Don't call
20061         `org-is-habit-p' until after checking for
20062         `org-agenda-skip-scheduled-if-done'.
20064 2011-07-28  Achim Gratz  <Stromeko@nexgo.de>
20066         * org.el: Remove spurious linebreak introduced by earlier patch.
20068         * ob.el, ob-ref.el: Remove double fix of the same problem.
20070 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20072         * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
20074 2011-07-28  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20076         * org-html.el (org-export-html-mathjax-template):
20077         Displaymath environment and MathJax.
20079 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20081         * org-faces.el (org-agenda-current-time): New face.
20083         * org-agenda.el (org-agenda-show-current-time-in-grid):
20084         (org-agenda-current-time-string): New options.
20085         (org-agenda-add-time-grid-maybe): Add current time to time grid.
20087 2011-05-10  Jim Meyering  <meyering@redhat.com>
20089         Fix doubled-word typos.
20090         * org-agenda.el (org-agenda-entry-types): the the -> the
20091         * org-table.el (org-table-get-remote-range): or or -> or
20092         * org-wl.el (org-wl-folder-type): the the -> the
20093         * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
20095 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20097         * org-src.el (org-src-switch-to-buffer):
20098         * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
20099         * org-mouse.el (org-mouse-agenda-type):
20100         * org-freemind.el (org-freemind-node-to-org):
20101         * ob-sql.el (org-babel-execute:sql):
20102         * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
20103         * ob-ref.el (org-babel-ref-resolve): Fix use of case.
20105 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
20107         * Version 23.3 released.
20109 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20111         * org.el (org-blank-before-new-entry, org-context-in-file-links)
20112         (org-refile-targets, org-log-repeat, org-insert-link)
20113         (org-speed-command-default-hook, org-speed-command-hook)
20114         (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
20115         Fix typos in docstrings.
20116         (org-toggle-pretty-entities): Fix typo in message.
20118 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20120         * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
20122 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20124         * org-remember.el (org-remember-mode-map):
20125         * org-src.el (org-src-mode-map): Move initialization into declaration.
20127 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20129         * org-remember.el (org-remember-mode):
20130         * org-capture.el (org-capture-mode): Don't run hook redundantly.
20132 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
20134         * org-faces.el (org-link): Inherit from link face.
20135         Suggested by Joakim Verona.
20137 2010-12-11  Tassilo Horn  <tassilo@member.fsf.org>
20139         * org-footnote.el (org-footnote-create-definition): Place
20140         Footnotes section before message-signature-separator also in modes
20141         derived from message-mode.
20143 2010-12-11  Julien Danjou  <julien@danjou.info>
20145         * org.el (org-make-tags-matcher): Remove useless cat-p value.
20147 2010-12-11  Julien Danjou  <julien@danjou.info>
20149         * org.el (org-entry-properties): Enhance docstring.
20151 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20153         * org-list.el (org-list-top-point-with-indent)
20154         (org-list-bottom-point-with-indent): Pay also attention to
20155         'original-indentation property of text, as blocks are put to
20156         column 0 upon exporting.
20158 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20160         * ob.el (org-babel-remove-temporary-directory): Handle exception
20161         with message informing of failure to remove directory.
20163 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20165         * ob-clojure.el (org-babel-header-arg-names:clojure): Add
20166         `package' to the list of Clojure header arguments which will be read
20167         from heading properties.
20169 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20171         * org-inlinetask.el (org-inlinetask-export-templates): Add
20172         Sébastien Vauban's suggestion for LaTeX export in docstring.  This is
20173         not default as it requires an additional LaTeX package: "todonotes".
20175 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20177         * org-inlinetask.el (org-inlinetask-export-templates): New variable.
20179         * org-inlinetask.el (org-inlinetask-export-handler): Make use of
20180         templates to export inline tasks.
20182 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20184         * org.el (org-current-level): Ignore inline tasks when getting current
20185         level of entry.
20187 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20189         * org.el (org-indent-line-function): Ignore drawers inside inline
20190         tasks  if the line to indent isn't inside an inline task itself.
20192 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20194         * org-inlinetask.el (org-inlinetask-get-task-level): New function.
20196         * org-indent.el (org-indent-add-properties): Find true level of
20197         indentation wrt inline tasks.
20199 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20201         * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
20203         * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
20205         * org-inlinetask.el (org-inlinetask-goto-end): New function.
20207         * org.el (org-mark-subtree): New command.
20209         * org.el (org-speed-commands-default, org-mode-map): Make use of
20210         new command.
20212 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20214         * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
20215         from @<span class...> so it can be removed during LaTeX export.
20217 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20219         * ob.el (org-babel-insert-result): More informative code block
20220         evaluation messages.
20222 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20224         * org.el (org-make-heading-search-string): Optionally limit number
20225         of lines stored in file link search strings.
20226         (org-context-in-file-links): Add option to set to integer specifying
20227         number of lines.
20229 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20231         * org-capture.el (org-capture-finalize): New prefix argument
20232         STAY-WITH-CAPTURE.
20233         (org-capture-refile): Improve docstring.
20235 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20237         * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
20238         interaction engine.
20240 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20242         * org-agenda.el (org-agenda-list):
20243         (org-agenda-goto-today): Use `org-today'.
20245 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20247         * org-latex.el (org-export-latex-make-header): Swap \begin{document}
20248         and the title/author definitions.
20250 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20252         * org-macs.el: Better backup definition for
20253         `with-silent-modifications'.
20255 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20257         * ob-python.el (org-babel-execute:python): Rename "prefix" to
20258         "preamble".
20259         (org-babel-python-evaluate): Rename "prefix" to "preamble".
20260         (org-babel-python-evaluate-external-process): Rename "prefix" to
20261         "preamble".
20263 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20265         * ob.el (org-babel-examplize-region): Check if `end' is a marker
20266         or a point and handle appropriately.
20268 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20270         * ob-sql.el (org-babel-execute:sql): Explicitly set field
20271         separator to \t when importing tabular data.
20273 2010-12-11  Julien Danjou  <julien@danjou.info>
20275         * org-agenda.el (org-agenda-custom-commands-local-options):
20276         Allow org-agenda-span to be a symbol.
20277         (org-agenda-ndays): Make obsolete.
20278         (org-agenda-span): New variable superseding org-agenda-ndays.
20279         (org-agenda-menu): Use org-agenda-current-span.
20280         (org-agenda-current-span): New local variable storing current
20281         span.
20282         (org-agenda-list): Take a span instead of ndays as argument.
20283         This function is now responsible for computing the ndays based
20284         on span.
20285         (org-agenda-ndays-to-span): Return span only if number of days
20286         really matches.
20287         (org-agenda-span-to-ndays): New function.
20288         (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
20289         (org-agenda-goto-today): Use org-agenda-compute-starting-span.
20290         (org-agenda-later): Do not give compute a new span, use the
20291         current one.
20292         (org-agenda-day-view, org-agenda-week-view)
20293         (org-agenda-month-view, org-agenda-year-view): Stop touching
20294         org-agenda-ndays.
20295         (org-agenda-change-time-span): Only compute starting-span.
20296         (org-agenda-compute-starting-span): New function derived from
20297         the old org-agenda-compute-time-span.
20298         (org-agenda-set-mode-name): Compute mode based on
20299         org-agenda-current-span.
20300         (org-agenda-span-name): New function.
20302 2010-12-11  Robert Pluim  <rpluim@gmail.com>  (tiny change)
20304         * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
20306 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20308         * org-clock.el (org-quarter-to-date): Define variables.
20309         (org-clock-special-range): Defin variables.  Use org-floor*.
20310         (org-clocktable-write-default): Define tcol.
20312         * org-compat.el (org-floor*): New function.
20314 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20315             John Wiegley  <jwiegley@gmail.com>
20317         * org-complete.el: New file.
20319 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20321         * org-clock.el (org-clocktable-write-default): Fix the % formula.
20323 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20325         * org-agenda.el (org-format-agenda-item): The value of
20326         org-category is not converted to a string unless it is defined.
20328 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20330         * ob-python.el (org-babel-execute:python): Pass the new "prefix"
20331         header argument through to external evaluation.
20332         (org-babel-python-evaluate): Pass the new "prefix" header argument
20333         through to external evaluation.
20334         (org-babel-python-evaluate-external-process): When specified prepend
20335         "prefix" to the file used in external evaluation.
20337 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20339         * ob-python.el (org-babel-python-evaluate-session): Change python
20340         module name from 'pp' to 'pprint'.
20342 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20344         * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
20345         from R session output, these are often the result of variable
20346         assignments.
20348 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20350         * ob-sql.el (orgtbl-to-csv): Declaring an external function to
20351         fix a compiler warning.
20353 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20355         * ob-eval.el (require): No longer require ob.el to allow
20356         requiring by ob.el.
20358         * ob.el (ob-eval): Require ob-eval.
20360 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20362         * ob.el (org-babel-confirm-evaluate): Show code block's name when
20363         it is available during evaluation query.
20365 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20367         * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
20368         code block.
20369         (org-babel-execute:sql): Use sql specific body expansion function.
20370         (org-babel-sql-expand-vars): Insert variables into a sql code block.
20372 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20374         * ob.el (org-babel-insert-result): Using markers instead of
20375         points for more robust buffer anchors.
20377 2010-12-11  Julien Danjou  <julien@danjou.info>
20379         * org-capture.el: Use org-today.
20381 2010-12-11  Julien Danjou  <julien@danjou.info>
20383         * org-habit.el: Use org-today.
20385 2010-12-11  Julien Danjou  <julien@danjou.info>
20387         * org.el (org-auto-repeat-maybe): Use org-today.
20389 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20391         * org-clock.el (org-day-of-week): New function.
20392         (org-quarter-to-date): New function.
20393         (org-clock-special-range): Implement quarters.
20395 2010-12-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
20397         * org.el (org-complete-tags-always-offer-all-agenda-tags):
20398         Fix docstring.
20400 2010-12-11  Julien Danjou  <julien@danjou.info>
20402         * org-agenda.el (org-format-agenda-item): Convert category to a string
20403         if it is a symbol.  This fixes the following call to
20404         org-agenda-get-category-icon which fails if category is not a string.
20406 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20408         * ob-clojure.el: Updated requirements documentation to mention
20409         the minimum version of Clojure.
20410         (org-babel-expand-body:clojure): Fully qualified function name.
20412 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20414         * org-latex.el (org-export-latex-lists): Do not add an
20415         unnecessary newline character after a list.
20417         * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
20418         point is just after a non blank line.
20420 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20422         * ob.el (org-babel-examplize-region): Remove old assertion which
20423         no longer applies to the result insertion code.
20425 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20427         * ob-python.el (org-babel-execute:python): Use a :return header
20428         argument for external evaluation in which the code block body need
20429         to be wrapped in a function.
20431 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20433         * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
20434         variable.
20436 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20438         * org.el (org-edit-special): Edit formulas when in TBLMF line.
20440 2010-12-11  Allen S. Rout  <asr@ufl.edu>  (tiny change)
20442         * org-capture.el (org-capture-after-finalize-hook): New hook.
20443         (org-capture-finalize): Run the new hook.
20445 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20447         * ob-clojure.el (org-babel-expand-body:clojure): Support for
20448         pretty printing of Clojure code and data.
20450 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20452         * ob.el (org-babel-insert-result): No longer escape results which
20453         will be wrapped in a block.
20455 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20457         * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
20458         warning and added documentation string.
20460 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20462         * ob-clojure.el (org-babel-execute:clojure): Remade using slime
20463         for all code evaluation.
20465 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20467         * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
20468         the column as well.
20470 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20472         * ob.el (org-babel-confirm-evaluate): More descriptive message
20473         when evaluation is aborted or disabled.
20475 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20477         * ob.el (org-babel-insert-result): Responds to new "wrap" header
20478         argument.
20479         (org-babel-merge-params): Includes new "wrap" header argument in
20480         one of the results header argument exclusive groups.
20482 2010-12-11  David Maus  <dmaus@ictsoc.de>
20484         * org-macs.el (with-silent-modifications): Fix condition for
20485         with-silent-modification.
20487 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20489         * ob.el (org-babel-parse-header-arguments): Stripping trailing
20490         spaces off of header arguments (even the first one).
20492 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20494         * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
20495         single quotes which is the best practice.
20496         (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
20497         more robust parsing of shell output.
20499 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20501         * org.el (org-additional-option-like-keywords): Add more keywords,
20502         and colons to some old ones.
20504 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20506         * ob-eval.el (org-babel-error-buffer-name): Define new variable.
20508 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20510         * ob-python.el (org-babel-python-table-or-string):
20511         Using `org-babel-script-escape' for reading string input from scripting
20512         languages.
20514 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20516         * org-macs.el (org-called-interactively-p): Wrap function call in
20517         with-no-warnings.
20518         (with-silent-modifications): Declare macro for Emacs < 23.2.
20520 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20522         * ob.el (org-babel-parse-header-arguments): Remove addition of
20523         ":" to singleton first header arguments as it was leading to errors.
20525 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20527         * org-latex.el (org-export-latex-make-header): Run the title through
20528         `org-export-latex-fontify-headline'.
20529         (org-export-latex-fontify-headline): Do the protection of math
20530         snippets also here.
20532 2010-12-11  Richard Lawrence  <richard.lawrence@berkeley.edu>
20534         * org-latex.el (org-export-as-latex): Sent the section title
20535         through the preprocessor.
20537 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20539         * org-html.el (org-html-level-start): Mark listified headings
20540         with a custom id.
20542 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20544         * org.el (org-open-at-point): Don't do footnote action if cursor is
20545         on a bracket link.
20547 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20549         * org.el (org-edit-special): Check also for TBLFM line.
20551 2010-12-11  Achim Gratz  <Stromeko@Stromeko.DE>  (tiny change)
20553         * org-clock.el (org-get-clocktable): Previous patch incorrectly
20554         required whitespace in front of #+BEGIN: and #+END:.
20556 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20558         * org-src.el (org-edit-src-code): Allow region to be inherited by
20559         edit buffer when mark is one character beyond end of src block.
20561 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20563         * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
20564         checking item indentation.
20566 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20568         * ob.el (org-babel-map-src-blocks): Move to earlier in the file
20569         and now autoloading.
20571 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20573         * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
20574         for testing list membership.
20576         * ob.el (org-babel-read-result): Use higher level function for
20577         testing list membership.
20578         (org-babel-result-end): Use higher level function for testing list
20579         membership.
20581 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20583         * ob-sqlite.el (ob-eval): Require ob-eval for external command
20584         execution.
20585         (org-babel-execute:sqlite): No longer uses the init option for
20586         passing commands to sqlite.
20588 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20590         * org.el (org-indent-line-function): Drawers and blocks have no
20591         influence on indentation of text below.  Also fix indentation
20592         problem with a block at column 0 and add a special case for
20593         literal examples.
20595 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20597         * ob.el (org-babel-map-src-blocks): Ensure that the file argument
20598         is only evaluated once.
20600 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20602         * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
20603         type of data
20604         (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
20606 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20608         * ob-tangle.el (org-babel-load-file): Can be called interactively.
20610 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
20612         * org-table.el (orgtbl-after-send-table-hook): New hook.
20613         (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
20614         table was sent.
20615         (orgtbl-send-table): Return the number of sent tables, or nil if no
20616         sending has happened.
20618 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20620         * org.el (org-get-priority-function): New option.
20621         (org-get-priority): Call `org-get-priority-function' if that
20622         has been set.
20624 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20626         * ob-table.el (org-babel-table-truncate-at-newline): Only add
20627         "..." if there is something after the newline.
20629 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20631         * org-clock.el (org-get-clocktable):
20632         (org-in-clocktable-p):
20633         (org-clocktable-shift):
20634         (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20636 2010-12-11  Puneeth Chaganti  <punchagan@gmail.com>
20638         * org-exp.el (org-export-handle-include-files): Support :minlevel
20639         property.
20640         (org-get-file-contents): New argument minlevel to demote included
20641         content.
20643 2010-12-11  Noorul Islam  <noorul@noorul.com>
20645         * org-latex.el (org-export-latex-hyperref-format): New option.
20646         (org-export-latex-href-format): Rename the existing variable
20647         `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20648         (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20649         `org-export-latex-href-format'.
20651 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20653         * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20654         buffer exists before it is used.
20656 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20658         * org-exp.el (org-export-preprocess-string): Delay code block
20659         processing a bit to allow correct list parsing in the export string.
20661 2010-12-11  Christopher Allan Webber  <cwebber@dustycloud.org>
20663         * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20664         (org-agenda-time-of-day-to-ampm): New function.
20665         (org-agenda-time-of-day-to-ampm-maybe): New function.
20666         (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20668 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20670         * org-faces.el (org-cycle-level-faces): New option.
20672         * org.el (org-get-level-face): Honor org-cycle-level-faces.
20674 2010-12-11  Julien Danjou  <julien@danjou.info>
20676         * org-agenda.el (org-agenda-today): New function.
20677         (org-agenda-get-day-face): New function.
20678         (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20679         (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20680         (org-todo-list): Use org-agenda-today.
20681         (org-get-all-dates): Use org-agenda-today.
20682         (org-agenda-day-face-function): New variable.
20683         (org-agenda-get-day-face): Use org-agenda-day-face-function.
20685 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20687         * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20688         in Org.
20690 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20692         * org-html.el (org-export-as-html): Do not treat partially
20693         protected lines as if they were fully protected.
20695 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20697         * org-exp.el (org-export-format-source-code-or-example):
20698         Remove hard-wired configuration of minted export
20699         (org-export-latex-minted-with-line-numbers): Remove variable.
20701 2010-12-11  Bastien Guerry  <bzg@gnu.org>
20703         * org-clock.el (org-dblock-write:clocktable): Fix double
20704         reference to `link' in let construct.
20705         (org-clock-clocktable-formatter): Fix typo in docstring.
20706         (org-clocktable-write-default): Fix typo in docstring.
20708 2010-12-11  David Maus  <dmaus@ictsoc.de>
20710         * org-protocol.el (org-protocol-unhex-string): Normalize percent
20711         escape sequence to upper case letters.
20713 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20715         * ob-lob.el (org-babel-lob-get-info): Include pass-through
20716         header arguments in results variable header argument string.
20718 2010-12-11  David Maus  <dmaus@ictsoc.de>
20720         * org-exp.el (org-export-visible): Limit search for in-buffer options
20721         beginning of first headline.
20723 2010-12-11  David Maus  <dmaus@ictsoc.de>
20725         * org.el (org-open-at-point): Remove stale link handler for news:
20726         links.
20728 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20730         * org-clock.el (org-clocktable-write-default): Better handling of
20731         narrowing.
20733 2010-12-11  Julien Danjou  <julien@danjou.info>
20735         * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20737 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20739         * org.el (org-indent-line-function): Simplify code and remove bug that
20740         would insert a tab at the beginning of the line when trying to
20741         indent the item.
20743 2010-12-11  Julien Danjou  <julien@danjou.info>
20745         * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20747 2010-12-11  Julien Danjou  <julien@danjou.info>
20749         * org-agenda.el (org-agenda-prefix-format): Insert place holder
20750         for icon.
20751         (org-agenda-category-icon-alist): New option.
20752         (org-agenda-get-category-icon): New function.
20753         (org-format-agenda-item): Support for icons.
20754         (org-compile-prefix-format): Support for icons.
20756 2010-12-11  Julien Danjou  <julien@danjou.info>
20758         * org-compat.el: Create defalias for `string-match-p' and
20759         looking-at-p.
20761 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20763         * ob-calc.el (org-babel-execute:calc): Support for variables --
20764         converts :var variables in calc variables.
20766 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20768         * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20770 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20772         * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20774 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20776         * org-id.el (org-id-store-link): Test for org-mode before checking
20777         for IDs.
20779 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20781         * org.el (org-shorten-string): New function.
20783         * org-exp.el (org-export-convert-protected-spaces): New function.
20784         (org-export-preprocess-string):
20785         Call `org-export-convert-protected-spaces' to handle new hard spaces.
20787 2010-12-11  David Maus  <dmaus@ictsoc.de>
20789         * org.el (org-narrow-to-subtree): Check for heading that ends at end
20790         of buffer.
20792 2010-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
20794         * org-capture.el (org-capture-templates): Remove autoload from
20795         defcustom.
20797         * ob-lisp.el (slime): Don't expect slime to be present.
20799 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20801         * ob.el: `copy-sequence' suffices to copy alist; no need for
20802         `copy-tree'.
20804 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20806         * ob.el (org-babel-execute-src-block): If ":results file" is in
20807         effect, then ensure that the value of :file is returned as the
20808         result; don't rely on language files for this.
20810 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20812         * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20813         structure by side-effects of `sort'.
20815 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20817         * org-list.el (org-list-bottom-point-with-indent): Do not check
20818         indentation of a non-empty blank line.
20820         * org-list.el (org-sort-list): Sort a list with point anywhere
20821         inside it.
20823 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20825         * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20826         hopefully better error messages.
20828 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20830         * org.el (org-babel-load-languages): Adding calc.
20832 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20834         * ob.el (org-babel-initiate-session): Don't resolve variable
20835         references unless prefix arg is supplied.
20837 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20839         * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20840         refers to the correct stack.
20842 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20844         * ob-calc.el: Adding the beginnings of support for calc code
20845         blocks.
20847 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20849         * ob-tangle.el (org-babel-update-block-body): Declaring function
20850         for updating code block bodies.
20851         (org-babel-spec-to-string):
20852         (org-babel-detangle): Detangle all tangled and commented code
20853         blocks in the current file back to org.
20854         (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20855         file back to the originating org-mode code block ob-tangle:
20856         detangle changes in code files back to the original org files.
20858 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20860         * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20861         (org-babel-tangle-comment-format-end): Fix typo.
20863 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20865         * org-exp.el (org-export-format-source-code-or-example):
20866         Use minted for latex source code export if `org-export-latex-listings'
20867         has the value 'minted.
20869         * org-latex.el (org-export-latex-listings): Document special value
20870         'minted.
20872         * org-latex.el (org-export-latex-minted): Delete variable.
20874 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20876         * ob.el (org-babel-get-src-block-info): Retrieve contents of
20877         parentheses, excluding parentheses themselves.
20879 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20881         * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20882         Fix bug in gnuplot data file assignment using user variables.
20884 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20886         * ob-latex.el (org-babel-execute:latex): Adding new :headers
20887         header argument for latex code blocks.
20889 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20891         * org-capture.el (org-capture-templates): New capture property
20892         `:kill-buffer'.
20893         (org-capture-finalize): Kill target buffer if that is desired.
20894         (org-capture-target-buffer): Remember if we have to make the buffer.
20896 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20898         * org-clock.el (org-dblock-write:clocktable): Fix bug when
20899         computing clock tables.
20901 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20903         * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20904         to caller even if no table is generated.
20906 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20908         * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20909         values from diary entries.
20911         * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20912         anniversaries.
20914         * org.el (org-diary-sexp-entry): Handle lists as return values
20915         from diary entries.
20917 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20919         * org-capture.el (org-capture-empty-lines-before):
20920         (org-capture-empty-lines-after): Make sure the n=0 does not insert
20921         any newlines.
20923 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20925         * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20926         message when clojure binary is not found.
20928 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20930         * org-html.el (org-format-table-html): New argument DOCBOOK.
20931         (org-format-org-table-html): New argument DOCBOOK.  When set, use
20932         align instead of class to align table fields.
20934         * org-docbook.el (org-export-as-docbook): Specify the docbook
20935         argument for the table converter.
20937 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20939         * org-macs.el (org-called-interactively-p): New macro.
20941         * org-freemind.el: No longer require 'rx.
20942         (org-freemind): New customization group, use it for all the
20943         variables.
20944         (org-export-as-freemind): Add docstring.
20945         (org-freemind-show): Improve filen naming.
20946         (org-freemind-convert-links-helper): New function.
20947         (org-freemind-bol-helper-base-indent): New variable.
20948         (org-freemind-bol-helper): New function.
20949         (org-freemind-node-css-style): New option.
20950         (org-freemind-node-pattern): New variable.
20951         (org-freemind-from-org-mode): Better docstring.
20953 2010-11-11  David Maus  <dmaus@ictsoc.de>
20955         * ob-haskell.el (org-babel-variable-assignments:haskell):
20956         Don't pass more than two arguments to mapc.
20958 2010-11-11  David Maus  <dmaus@ictsoc.de>
20960         * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20962 2010-11-11  David Maus  <dmaus@ictsoc.de>
20964         * org-footnote.el (message-signature-separator): Defvar to silence
20965         byte compiler.
20967 2010-11-11  David Maus  <dmaus@ictsoc.de>
20969         * org-exp.el (org-export-string): Fix reference to wrong symbol.
20971 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
20973         * org.el (org-link-search): Return 'dedicated on successful match
20974         when org-link-search-must-match-exact-headline is set to t.
20976 2010-11-11  Daniel Clemente  <n142857@gmail.com>
20978         * org-html.el (org-html-make-link): Append fragment to file: links
20979         if present.
20981 2010-11-11  Tassilo Horn  <tassilo@member.fsf.org>
20983         * org-footnote.el (org-footnote-create-definition)
20984         (org-footnote-goto-local-insertion-point): Add footnotes before
20985         signature when in message-mode.
20987 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20989         * org.el (org-display-inline-images): Improve regexp.
20991 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20993         * org.el (org-cycle): Make sure resetting to startup visibility
20994         works after another cycle command.
20996 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20998         * org-exp.el (org-export-string): New function org-export-string
20999         can be used to convert a string of test in org-mode markup to a
21000         specified format.
21002 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21004         * org.el (org-display-inline-images): Allow non-ASCII characters
21005         in image file names.  Save match data.
21007 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21009         * org.el (org-auto-repeat-maybe): Fix shifting multiple time
21010         stamps.
21012 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21014         * org-exp.el (org-store-forced-table-alignment):
21015         (org-export-remove-special-table-lines): Allow the "c" cookie for
21016         table alignment.
21018         * org-html.el (org-export-table-header-tags):
21019         (org-export-table-data-tags): Add another %s format for the
21020         alignment.
21021         (org-export-html-table-align-individual-fields): New option.
21022         (org-format-org-table-html): Implement field-by-field alignment
21023         and support centering.
21024         (org-format-table-table-html): Make sure the new table tag formats
21025         don't break this function.
21027         * org-table.el (org-table-cookie-line-p):
21028         (org-table-align): Allow for the <c> cookie.
21030         * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
21032 2010-11-11  David Maus  <dmaus@ictsoc.de>
21034         * org-exp.el (org-export-normalize-links): Skip normalization of
21035         plain links that are part of another link.
21037 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21039         * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
21041 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21043         * org-indent.el (org-indent-add-properties):
21044         Use `with-silent-modifications'.
21045         (org-indent-remove-properties): Use `with-silent-modifications'.
21047 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21049         * org-table.el (org-table-cookie-line-p): Fix indentation.
21051         * org-exp.el (org-store-forced-table-alignment): New function.
21052         (org-export-preprocess-string):
21053         Call `org-store-forced-table-alignment'.
21055         * org-html.el (org-format-org-table-html): Use stored alignment
21056         information.
21058 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21060         * ob.el (org-babel-execute-src-block): Respects prefix argument
21061         (which forces re-calculation).
21063 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21065         * ob.el (org-babel-execute-src-block): Remove needless param
21066         sorting from ob-execute-src-block, the params are sorted already
21067         by ob-sha1-hash.
21069 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21071         * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
21072         header argument level.
21074 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21076         * ob.el (org-babel-sha1-hash): Consider words in different order
21077         as different input.
21079 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21081         * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
21083 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21085         * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
21086         structure of an Org-mode table (list of lists).
21088 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21090         * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
21091         (reference to unassigned variable `src-lang' and avoid calling
21092         org-babel-get-src-block-info twice.
21094 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21096         * ob.el (org-babel-demarcate-block): Update to reflect the new
21097         info list contents.
21099 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21101         * org-src.el (org-edit-src-code): Supply non-nil argument to
21102         `org-babel-get-src-block-info' to avoid resolving variable
21103         references.
21105 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21107         * ob.el (org-babel-map-src-blocks): Fix minor bug in and
21108         improved efficiency of org-babel-map-src-blocks.
21110 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21112         * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
21113         checks that a code block will actually be tangled before
21114         collecting it's full information (a process which could involve
21115         the execution of other code blocks).
21117 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21119         * ob.el (org-babel-demarcate-block): Use light version of
21120         `org-babel-get-src-block-info'.
21122 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21124         * ob.el (org-babel-sha1-hash): Now handles more complex types in
21125         params.
21127 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21129         * ob.el (org-babel-execute-src-block): Generally using the new
21130         more informative params
21131         (org-babel-process-params): Don't forget the :var portion of
21132         variable assignments.
21134 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21136         * ob-table.el (sbe): Simplify to reflect to var resolution.
21138 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21140         * ob-ref.el (org-babel-ref-resolve): Bringing the referent
21141         arguments back to their params before evaluation.
21143 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21145         * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
21146         indentation.
21148 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21150         * ob-table.el (sbe): Use `org-babel-process-params params' instead
21151         of `org-babel-expand-variables'.
21153 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21155         * ob-C.el (org-babel-C-execute): Remove call to
21156         org-babel-process-params which should no longer be called from
21157         within a language file.
21159         * ob-R.el (org-babel-execute:R): Remove call to
21160         org-babel-process-params which should no longer be called from
21161         within a language file
21162         (org-babel-R-variable-assignments): Remove call to
21163         org-babel-process-params which should no longer be called from
21164         within a language file.
21166         * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
21167         org-babel-process-params which should no longer be called from
21168         within a language file.
21170         * ob-clojure.el (org-babel-execute:clojure): Remove call to
21171         org-babel-process-params which should no longer be called from
21172         within a language file.
21174         * ob-dot.el (org-babel-execute:dot): Remove call to
21175         org-babel-process-params which should no longer be called from
21176         within a language file.
21178         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
21179         call to org-babel-process-params which should no longer be called
21180         from within a language file
21181         (org-babel-execute:emacs-lisp): Remove call to
21182         org-babel-process-params which should no longer be called from
21183         within a language file.
21185         * ob-haskell.el (org-babel-execute:haskell): Remove call to
21186         org-babel-process-params which should no longer be called from
21187         within a language file.
21189         * ob-js.el (org-babel-execute:js): Remove call to
21190         org-babel-process-params which should no longer be called from
21191         within a language file.
21193         * ob-lisp.el (org-babel-execute:lisp): Remove call to
21194         org-babel-process-params which should no longer be called from
21195         within a language file.
21197         * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
21198         org-babel-process-params which should no longer be called from
21199         within a language file.
21201         * ob-octave.el (org-babel-execute:octave): Remove call to
21202         org-babel-process-params which should no longer be called from
21203         within a language file.
21205         * ob-perl.el (org-babel-execute:perl): Remove call to
21206         org-babel-process-params which should no longer be called from
21207         within a language file.
21209         * ob-python.el (org-babel-execute:python): Remove call to
21210         org-babel-process-params which should no longer be called from
21211         within a language file.
21213         * ob-ruby.el (org-babel-execute:ruby): Remove call to
21214         org-babel-process-params which should no longer be called from
21215         within a language file.
21217         * ob-scheme.el (org-babel-execute:scheme): Remove call to
21218         org-babel-process-params which should no longer be called from
21219         within a language file.
21221         * ob-screen.el (org-babel-execute:screen): Remove call to
21222         org-babel-process-params which should no longer be called from
21223         within a language file
21224         (org-babel-prep-session:screen): Remove call to
21225         org-babel-process-params which should no longer be called from
21226         within a language file.
21228         * ob-sh.el (org-babel-execute:sh): Remove call to
21229         org-babel-process-params which should no longer be called from
21230         within a language file.
21232         * ob-sql.el (org-babel-execute:sql): Remove call to
21233         org-babel-process-params which should no longer be called from
21234         within a language file.
21236         * ob-haskell.el (org-babel-execute:haskell): Remove reference to
21237         processed params.
21239         * ob-clojure.el (org-babel-execute:clojure): Remove reference to
21240         processed params.
21242         * ob-R.el (org-babel-execute:R): Remove reference to processed
21243         params.
21245 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21247         * ob-sql.el (org-babel-execute:sql): Use generic expansion
21248         function
21249         (org-babel-expand-body:sql): Delete function.
21251 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21253         * ob-sh.el (org-babel-execute:sh): Use generic expansion function
21254         (org-babel-expand-body:sh): Delete function
21255         (org-babel-prep-session:sh): Change name of called function
21256         (org-babel-variable-assignments:sh): Change function name.
21258 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21260         * ob-screen.el (org-babel-execute:screen): Use generic expansion
21261         function
21262         (org-babel-expand-body:screen): Delete function
21263         (org-babel-prep-session:screen): Remove references to processed
21264         params.
21266 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21268         * ob-sass.el (org-babel-execute:sass): Use generic expansion
21269         function
21270         (org-babel-expand-body:sass): Delete function.
21272 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21274         * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
21275         function
21276         (org-babel-prep-session:ruby): Use new variable assignment
21277         function
21278         (org-babel-variable-assignments:ruby): New function
21279         (org-babel-expand-body:ruby): Delete function.
21281 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21283         * ob-python.el (org-babel-execute:python): Use generic expansion
21284         function
21285         (org-babel-prep-session:python): Change name of called function
21286         (org-babel-variable-assignments:python): Change function name
21287         (org-babel-expand-body:python): Delete function.
21289 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21291         * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
21292         (automatically handled by generic version).
21294 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21296         * ob-perl.el (org-babel-execute:perl): Use generic expansion
21297         function
21298         (org-babel-expand-body:perl): Delete function
21299         (org-babel-variable-assignments:perl): New function.
21301 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21303         * ob-org.el (org-babel-expand-body:org): Delete function
21304         (automatically handled by generic version).
21306 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21308         * ob-octave.el (org-babel-execute:octave): Use generic expansion
21309         function
21310         (org-babel-variable-assignments:octave): Change name of function
21311         (org-babel-variable-assignments:matlab): New defalias
21312         (org-babel-prep-session:octave): Change name of function
21313         (org-babel-expand-body:matlab): Delete function
21314         (org-babel-expand-body:octave): Delete function.
21316 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21318         * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
21319         function
21320         (org-babel-variable-assignments:ocaml): New function
21321         (org-babel-expand-body:ocaml): Delete function.
21323 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21325         * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
21326         (automatically handled by generic version).
21328 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21330         * ob-js.el (org-babel-execute:js): Use new variable assignment
21331         function
21332         (org-babel-expand-body:js): Delete function
21333         (org-babel-prep-session:js): Use new variable assignment function
21334         (org-babel-variable-assignments:js): New function.
21336 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21338         * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
21339         function
21340         (org-babel-expand-body:haskell): Delete function
21341         (org-babel-prep-session:haskell): Use variable assignment function
21342         (org-babel-variable-assignments:haskell): New function.
21344 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21346         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
21347         assignment function
21348         (org-babel-prep-session:gnuplot): Use variable assignment function
21349         (org-babel-variable-assignments:gnuplot): New function.
21351 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21353         * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
21354         (automatically handled by generic version).
21356 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21358         * ob-css.el (org-babel-expand-body:css): Delete function
21359         (automatically handled by generic version).
21361 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21363         * ob-asymptote.el (org-babel-execute:asymptote): Use generic
21364         expansion function
21365         (org-babel-expand-body:asymptote): Delete function
21366         (org-babel-variable-assignments:asymptote): New function.
21368 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21370         * ob-R.el (org-babel-expand-body:R): Use new function
21371         `org-babel-variable-assignments:R'; don't trim body.
21372         (org-babel-execute:R): Respond to changes in
21373         `org-babel-expand-body:R'
21374         (org-babel-prep-session:R): Called function is now named
21375         `org-babel-variable-assignments:R'
21376         (org-babel-variable-assignments:R): Receives processed-params as
21377         new optional argument.
21379 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21381         * ob-C.el (org-babel-C-expand): Don't trim body.
21383 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21385         * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
21386         obtaining variable references.
21388 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21390         * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
21391         assignment lines to generic expansion command.
21393 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21395         * ob.el (org-babel-expand-src-block): Supply variable assignment
21396         lines to generic expansion function
21397         (org-babel-expand-body:generic): Prepend body with optional
21398         variable assignment lines.
21400 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21402         * ob-exp.el (org-babel-exp-results): Replace old function call.
21404 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21406         * ob-lob.el (org-babel-lob-execute): Now expanding variable
21407         references before execution.
21409 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21411         * ob.el (org-babel-execute-src-block): Only sort parameters if
21412         it's required for caching.
21414 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21416         * ob-table.el (sbe): Reworking for better indentation and to
21417         integrate the new variable resolution.
21419 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21421         * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
21422         variables when resolving references.
21424 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21426         * ob.el (org-babel-merge-params): Fix order or precedence for
21427         variables.
21429 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21431         * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
21432         * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
21433         (org-babel-R-variable-assignments):
21434         * ob-asymptote.el (org-babel-expand-body:asymptote)
21435         (org-babel-execute:asymptote):
21436         * ob-clojure.el (org-babel-expand-body:clojure)
21437         (org-babel-execute:clojure):
21438         * ob-css.el (org-babel-expand-body:css):
21439         * ob-ditaa.el (org-babel-expand-body:ditaa):
21440         * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
21441         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
21442         (org-babel-execute:emacs-lisp):
21443         * ob-gnuplot.el (org-babel-expand-body:gnuplot)
21444         * ob-haskell.el (org-babel-expand-body:haskell)
21445         (org-babel-execute:haskell, org-babel-load-session:haskell)
21446         (org-babel-prep-session:haskell):
21447         * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
21448         * ob-latex.el (org-babel-expand-body:latex):
21449         * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
21450         * ob-mscgen.el (org-babel-expand-body:mscgen):
21451         * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
21452         * ob-octave.el (org-babel-expand-body:matlab)
21453         (org-babel-expand-body:octave, org-babel-execute:octave)
21454         (org-babel-octave-variable-assignments):
21455         * ob-org.el (org-babel-expand-body:org):
21456         * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
21457         * ob-plantuml.el (org-babel-expand-body:plantuml):
21458         * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
21459         (org-babel-python-variable-assignments):
21460         * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
21461         * ob-sass.el (org-babel-expand-body:sass):
21462         * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
21463         * ob-screen.el (org-babel-expand-body:screen):
21464         * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
21465         (org-babel-sh-variable-assignments):
21466         * ob-sql.el (org-babel-expand-body:sql):
21467         * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
21468         * ob.el (org-babel-expand-body:generic):
21469         Remove obsoleted optional third argument.
21471 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21473         * ob-clojure.el (org-babel-prep-session:clojure): Purging all
21474         calls to removed org-babel-ref-variables.
21476 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21478         * ob-lob.el (org-babel-lob-ingest): Now returns the count of
21479         ingested code blocks.
21481 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21483         * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
21484         information from within the original export file.
21486 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21488         * ob.el (org-babel-get-src-block-info): Small but crucial fix)
21489         (this should return nil if not match found.
21491 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21493         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
21494         Whitespace (org-babel-execute:emacs-lisp): Whitespace.
21496 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21498         * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
21499         docstring.
21501         * ob-python.el (org-babel-python-variable-assignments):
21502         Provide missing docstring.
21504 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21506         * ob-octave.el (org-babel-expand-body:octave): Refactor: break
21507         variable assignment part out into a separate function
21508         (org-babel-octave-variable-assignments): New function constructing
21509         list of variable assignment statements
21510         (org-babel-prep-session:octave): Use new function
21511         `org-babel-octave-variable-assignments' instead of previous
21512         (incorrect) variable assignment code.
21514 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21516         * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
21517         assignment part out into a separate function
21518         (org-babel-sh-variable-assignments): New function constructing
21519         list of variable assignment statements
21520         (org-babel-prep-session:sh): Use new function
21521         `org-babel-sh-variable-assignments' instead of previous
21522         (incorrect) variable assignment code.
21524 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21526         * ob-python.el (org-babel-expand-body:python): Refactor: break
21527         variable assignment part out into a separate function
21528         (org-babel-python-variable-assignments): New function constructing
21529         list of variable assignment statements
21530         (org-babel-prep-session:python): Use new function
21531         `org-babel-python-variable-assignments' instead of previous
21532         (incorrect) variable assignment code.
21534 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21536         * ob-R.el (org-babel-expand-body:R): Refactor: break variable
21537         assignment part out into a separate function
21538         (org-babel-R-variable-assignments): New function constructing list
21539         of variable assignment statements
21540         (org-babel-prep-session:R): Use new function
21541         `org-babel-R-variable-assignments' instead of previous
21542         (incorrect) variable assignment code.
21544 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21546         * ob.el (org-babel-initiate-session): Better variable names.
21548 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21550         * ob.el (org-number-sequence):
21551         Declared * ob-R.el (org-number-sequence): Declared.
21553 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21555         * ob.el (org-babel-map-src-blocks): Store correct value of
21556         `end-block'.
21558 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21560         * ob.el (org-babel-mark-block): New function to mark the body of a
21561         src block in the style of `mark-defun'.
21563 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21565         * org-compat.el (org-number-sequence): New function.
21567         * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
21569         * ob.el (org-babel-where-is-src-block-result):
21570         Use `org-number-sequence'.
21571         (org-babel-current-buffer-properties): Fix variable definition.
21573         * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
21575         * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
21576         version of `shell-command'.
21578         * org-latex.el (org-export-as-pdf): Use the 2-argument version of
21579         `shell-command'.
21581 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21583         * org-list.el (org-list-search-unenclosed-generic): Replace call
21584         to booleanp.
21586 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21588         * org.el (org-agenda-jump-prefer-future): New option.
21590         * org-agenda.el (org-agenda-goto-date):
21591         Use `org-agenda-jump-prefer-future'.
21593 2010-11-11  Noorul Islam  <noorul@noorul.com>
21595         * org-latex.el (org-export-latex-links): Replace hard coded
21596         hyperref format with custom variable
21597         `org-export-latex-hyperref-format'.
21599 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21601         * org.el (org-insert-heading): Fix docstring.
21603 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
21605         * org-capture.el (org-capture-place-entry): If the first line is
21606         already a headline, just stay there.
21608 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21610         * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
21611         are non-nil.
21613 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21615         * org-ascii.el (org-ascii-replace-entities): Match an optional {}
21616         after an entity.
21618 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21620         * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
21621         table fields.
21623 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21625         * org.el (org-insert-heading): When on the headline of an inline
21626         task, insert another inline tasks.
21628 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21630         * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21631         links for blocks that will actually tangle.
21633 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21635         * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21636         in expanded shell bodies.
21638 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21640         * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21641         newline characters.
21643 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21645         * ob-sh.el (org-babel-expand-body:sh): Align code.
21647 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21649         * ob.el (org-babel-params-from-properties): Max line with at <=80.
21651 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21653         * org-latex.el (org-export-latex-listings-langs): Clojure is now
21654         recognized as a lisp.
21656 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21658         * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21659         to interpret property as header argument value.
21661 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21663         * ob.el (org-babel-parse-header-arguments): Simplify reading of
21664         header arg value.
21666 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21668         * org-publish.el (org-publish-org-to-ascii):
21669         (org-publish-org-to-latin1):
21670         (org-publish-org-to-utf8): New functions.
21672 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21674         * org.el (org-insert-heading): Skip inline tasks when trying to
21675         insert a new heading after the end of the subtree.
21677 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21679         * org-inlinetask.el (org-inlinetask-min-level): Set customization
21680         type to integer or nil.
21682         * org.el (org-insert-heading): When after an inline task, do not
21683         use level but go back to headline level before the inline task.
21685 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21687         * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21689         * org.el (org-indent-line-function): Fix indentation of inline
21690         tasks.
21692 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21694         * org.el (org-activate-links): Fix customize type.
21696 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21698         * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21699         default option.
21701 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21703         * org-latex.el (org-export-latex-minted): Document pygments
21704         dependency.
21706 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21708         * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21709         file if encryption has been turned on.
21710         (org-mobile-copy-agenda-files): Avoid double encryption of
21711         `mobileorg.org'.
21713 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21715         * org-exp.el (org-export-latex-minted-with-line-numbers):
21716         Ensure that variable is declared.
21718 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21720         * ob-python.el (org-src-preserve-indentation): Fix compiler
21721         warning.
21723 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21725         * org-exp.el (org-export-format-source-code-or-example):
21726         Latex formatting of source code blocks using the minted package
21727         (org-export-plist-vars): Add :latex-minted property
21728         (org-export-latex-minted): Ensure variable is defined
21729         (org-export-latex-minted-langs): Ensure variable is defined.
21731 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21733         * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21735 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21737         * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21739 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21741         * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21742         when `org-src-preserve-indentation' is non-nil.
21744 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21746         * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21747         of blocks added to Library of Babel.
21749 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21751         * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21752         name.
21754 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21756         * org-beamer.el (org-beamer-place-default-actions-for-lists):
21757         Fix typo in regexp.
21759 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21761         * org-list.el (org-toggle-checkbox): Avoid some boundary error
21762         when inserting a checkbox in an empty last item of a list.
21764 2010-11-11  David Maus  <dmaus@ictsoc.de>
21766         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21767         Query article number from file is nil by default.
21769 2010-11-11  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>
21771         * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21773 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21775         * org-capture.el (org-capture-place-entry): Move to `beg' before
21776         searching for `%?'.
21778 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21780         * org.el (org-format-latex): Fix mathjax treatment of single
21781         letters in between dollars.
21783 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21785         * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21786         run.
21788 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21790         * org.el (org-blank-before-new-entry): Improve docstring.
21792 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21794         * org-mobile.el (org-mobile-force-id-on-agenda-items):
21795         Fix docstring.
21796         (org-mobile-write-agenda-for-mobile): Use outline path if we do
21797         not have an ID and are not allowed to make one.
21798         (org-mobile-get-outline-path-link): New function.
21800 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21802         * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21803         file.
21804         (org-mobile-write-agenda-for-mobile): Use the right name, even if
21805         the file get encrypted.
21806         (org-mobile-move-capture): Only delete tempfile if it does exist.
21808 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21810         * ob.el (org-babel-number-p): Fix documentation string.
21812 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21814         * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21815         "tangle" as a positive argument for the :noweb header argument
21816         during tangling.
21818 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21820         * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21821         have links, with tests.
21823 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21825         * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21826         available.
21827         (org-export-latex-get-error): New function.
21828         (org-export-as-pdf): Give an indication of the errors that
21829         happened during processing.
21831 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
21833         * org-exp.el (org-export-language-setup): Fix Polish entries.
21835 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21837         * org.el (org-set-tags): Allow comma as a separator when
21838         specifying tags at the completion interface.
21839         (org-tags-completion-function): Allow comma as a separator when
21840         specifying tags at the completion interface.
21842 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21844         * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21845         export-file if exporting from a buffer which is not visiting a
21846         file.
21848 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21850         * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21851         name in link construction if there is a heading to follow it.
21853 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21855         * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21856         as an allowed extension.
21858 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21860         * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21861         with zeros.  Start applying face earlier.
21863 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21865         * ob.el (or): Don't create org-babel-temporary-directory in batch
21866         as it won't be removed by emacs-kill-hook
21867         (org-babel-remove-temporary-directory): Only try to remove this
21868         directory if it exists.
21870 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21872         * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21873         warning in ob.el.
21875 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21877         * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21878         the tangling message.
21880 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21882         * ob.el (org-babel-load-languages): Fixes compiler warning.
21884 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21886         * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21887         output.
21889 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21891         * org-ascii.el (org-export-as-ascii): Use the correct match group.
21893 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21895         * ob.el (boundp): Uncommenting defvar form for
21896         org-babel-temporary-directory
21897         (org-babel-temp-file): Now using the org-babel-temporary-directory
21898         for holding new babel temporary files
21899         (org-babel-remove-temporary-directory): Removes the babel temp dir
21900         when Emacs shutsdown
21901         (kill-emacs-hook): Now removing the babel temp dir on Emacs
21902         shutdown.
21904 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21906         * org-capture.el (org-capture-fill-template): Initialize history
21907         variable.
21909 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21911         * org-src.el (org-edit-src-code): Don't move point when generating
21912         edit buffer.
21914 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21916         * org-src.el (org-edit-src-code): Deal with point being in
21917         #+end_src line.
21919 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21921         * org-table.el (org-table-current-column): Add interactive to turn
21922         this into a command.
21924 2010-11-11  Bernt Hansen  <bernt@norang.ca>
21926         * org.el (org-insert-heading): Run org-insert-heading-hook when
21927         creating the first heading in a file.
21929 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21931         * org.el (org-startup-with-inline-images): New option.
21932         (org-startup-options): Add new keywords inlineimages and
21933         noinlineimages.
21934         (org-mode): Inline images when this has been configured.
21936 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21938         * ob.el (org-babel-get-src-block-info): Remove optional
21939         HEADER-VARS-ONLY argument; further simplification.
21941 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21943         * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21944         prompt in ob-confirm-evaluate in some cases.
21946 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21948         * ob.el (org-babel-demarcate-block): Visible region and completion
21949         during language selection.
21951 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21953         * ob.el (org-babel-get-src-block-info): Remove comment.
21955 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21957         * ob.el (org-babel-get-src-block-info): Simplify function.
21959 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21961         * ob.el (org-babel-get-src-block-info): Form info list correctly
21962         when parenthesized arguments are missing.
21964 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21966         * ob-exp.el (org-export-babel-evaluate): Docstring typo
21967         (org-babel-exp-code): Docstring typo.
21969 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21971         * org-mobile.el (org-mobile-encryption-password):
21972         Improve docstring.
21973         (org-mobile-encryption-password-session): New variable.
21974         (org-mobile-encryption-password): New function.
21975         (org-mobile-check-setup):
21976         (org-mobile-encrypt-file):
21977         (org-mobile-decrypt-file): Use the new function.
21979 2010-11-11  David Maus  <dmaus@ictsoc.de>
21981         * org-capture.el (org-capture-place-template): Widen to remove
21982         possible restrictions in target buffer.
21984 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
21986         * org.el (org-speed-command-hook): Add org-speed-command-hook
21987         (org-babel-speed-command-hook): Hook for Babel's speed commands.
21989 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21991         * ob.el (org-babel-execute-buffer): Re-implement using
21992         `org-babel-map-src-blocks'.
21994 2010-11-11  David Maus  <dmaus@ictsoc.de>
21996         * org-capture.el (org-capture-templates): Update doc string with
21997         new message date related escapes.
21999 2010-11-11  David Maus  <dmaus@ictsoc.de>
22001         * org-wl.el (org-wl-store-link-message): Define properties %:date)
22002         (%:date-timestamp, and %:date-timestamp-inactive.
22004         * org-mew.el (org-mew-store-link): Dto.
22006         * org-mhe.el (org-mhe-store-link): Dto.
22008         * org-rmail.el (org-rmail-store-link): Dto.
22010         * org-vm.el (org-vm-store-link): Dto.
22012 2010-11-11  David Maus  <dmaus@ictsoc.de>
22014         * org-wl.el (org-wl-message-field): Always get literal content of
22015         header fields.
22017 2010-11-11  David Maus  <dmaus@ictsoc.de>
22019         * org-gnus.el (org-gnus-store-link): Define properties
22020         %:date-timestamp and %:date-timestamp-inactive.
22022 2010-11-11  David Maus  <dmaus@ictsoc.de>
22024         * org-gnus.el (org-gnus-store-link): Handle empty date header
22025         field.
22027 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22029         * org.el (org-speed-command-hook): New.  Hook for installing
22030         additional speed commands.  Use this for enabling speed commands on
22031         src blocks.
22032         (org-speed-command-default-hook): The default hook for
22033         org-speed-command-hook.  Factored out from org-self-insert-command
22034         and mimics existing behavior.
22035         (org-self-insert-command): Modify to use org-speed-command-hook.
22037 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22039         * org-agenda.el (org-search-view): Recover spaces in search words
22040         if they were escaped with \ or inside a regexp.
22042 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22044         * org.el (org-additional-option-like-keywords): Add PROPERTIES to
22045         the list of completable meta line words.
22046         (org-complete): Complete property names after #+PROPERTY.
22048 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22050         * ob-python.el (org-babel-python-evaluate-session): Make temp file
22051         names consistent.
22053 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22055         * ob-clojure.el (org-babel-clojure-evaluate-external-process):
22056         Delete extra format argument.
22058 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22060         * ob-org.el (org-babel-org-export): Typo in docstring.
22062 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22064         * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
22065         variable.
22067 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22069         * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
22071 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22073         * ob.el (org-babel-process-file-name): New function
22074         (org-babel-maybe-remote-file): Delete function.
22076 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22078         * ob-C.el (org-babel-C-execute): Remove unused variable.
22080 2010-11-11  David Maus  <dmaus@ictsoc.de>
22082         * org.el (org-make-link-string): Prevent superfluous colon.
22084 2010-11-11  David Maus  <dmaus@ictsoc.de>
22086         * org.el (org-make-org-heading-search-string): Leave headline
22087         intact.
22089 2010-11-11  David Maus  <dmaus@ictsoc.de>
22091         * org.el (org-make-link-string): Don't escape characters in link
22092         type.
22094 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22096         * org-capture.el (org-capture-templates): Update docstring to
22097         advertise %:org-date.
22099 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22101         * ob-dot.el (org-babel-execute:dot): Automatically specifies
22102         "-T<ext>" based on file name extension.
22104 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22106         * ob-org.el (org-babel-org-export): Raise error on nested export
22107         call.
22109 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22111         * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
22112         output files.
22114 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22116         * ob.el (org-babel-demarcate-block): Better initialization of
22117         stars.
22119 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22121         * org-src.el (org-src-tab-acts-natively): Add customize interface.
22123 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22125         * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
22126         New variable allowing prevention of automatic stripping of leading and
22127         trailing blank lines when exiting edit buffer.
22128         (org-edit-src-exit): Respect value of
22129         `org-src-strip-leading-and-trailing-blank-lines'
22130         (org-src-native-tab-command-maybe):
22131         Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
22132         this function.
22134 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22136         * org-src.el (org-edit-src-code): If mark was inside code block
22137         then code edit buffer inherits mark with active region.
22139 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22141         * ob.el (org-babel-demarcate-block): Fix compiler warnings.
22143 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22145         * ob.el (org-babel-demarcate-block): Better handling of empty
22146         space around demarcated area.
22148 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22150         * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
22151         this command.
22153 2010-11-11  David Maus  <dmaus@ictsoc.de>
22155         * org-gnus.el (org-gnus-open-nntp): New function.
22157 2010-11-11  David Maus  <dmaus@ictsoc.de>
22159         * org-wl.el (org-wl-open-nntp): New function.
22161 2010-11-11  David Maus  <dmaus@ictsoc.de>
22163         * org-wl.el (org-wl-open): Open message by numeric reference if
22164         article part is not a message id.
22166 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22168         * org-agenda.el (org-agenda-filter-apply): Move cursor to a
22169         visible line.
22171 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22173         * ob.el (org-babel-demarcate-block): Interactive demarcation of
22174         code blocks.
22176         * ob-keys.el (org-babel-key-bindings): Key bindings for block
22177         demarcation.
22179 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22181         * org.el (org-link-types): Add the "message" link type.
22183 2010-11-11  David Maus  <dmaus@ictsoc.de>
22185         * org.el (org-link-types): Add 'message:' link type to default
22186         link types.
22188 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22190         * org-gnus.el (org-gnus-store-link): Add the :date property to
22191         gnus links, allowing the use of %:date in capture templates.
22193 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22195         * org-list.el (org-cycle-list-bullet): Follow order of bullets
22196         indicated in doc-string.
22198         * org-list.el (org-list-bottom-point-with-indent): List is ended
22199         when a line is less indented that the last item, not the less
22200         indented item.
22202 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22204         * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
22205         original file before resolving code block parameters to ensure
22206         headline and buffer wide parameters are taken into consideration
22207         when only a narrowed portion of the file is exported.
22209 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22211         * org.el (org-forward-same-level): Fix docstring.
22213 2010-11-11  Sebastian Rose  <sebastian_rose@gmx.de>
22215         * org-publish.el (org-publish-attachment): Put the attachment into
22216         the right directory.
22218 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22220         * org.el (org-goto-first-child): New command.
22222 2010-11-11  Matt Lundin  <mdl@imapmail.org>
22224         * org-agenda.el (org-prepare-agenda): If the agenda is called from
22225         within the agenda via an elisp link, such as
22226         [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
22227         of the file containing the link, since that buffer is current
22228         during org-prepare agenda (due to a with-current-buffer in
22229         org-agenda-open-link).  An additional test now ensures that the
22230         agenda buffer is in fact current when the buffer is erased and
22231         local variables for the agenda are set.
22233 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
22235         * org-exp.el (org-infile-export-plist): Define property macro.
22237 2010-11-11  David Maus  <dmaus@ictsoc.de>
22239         * org-mhe.el (org-mhe-get-header): Remove possible folding white
22240         space in message header field.
22242 2010-11-11  David Maus  <dmaus@ictsoc.de>
22244         * org-feed.el (org-feed): Fix typo in customization group :tag
22245         property.
22247 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22249         * org-latex.el (org-export-latex-tag-markup): New option.
22250         (org-export-latex-keywords-maybe):
22251         Use `org-export-latex-tag-markup'.
22253 2010-11-11  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
22255         * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
22256         (org-ical-ts-to-string): Use UTC time when requested.
22258 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22260         * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
22261         from 'file' to 'http'.
22263 2010-11-11  David Maus  <dmaus@ictsoc.de>
22265         * org.el (org-store-log-note): Fix wrong usage
22266         of`org-adapt-indentation'.
22268 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22270         * org.el (org-skip-over-state-notes): Do not compute bottom point
22271         at each item.
22273         * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
22274         instead of moving to each item.
22276 2010-11-11  David Maus  <dmaus@ictsoc.de>
22278         * org-capture.el (org-capture-templates): Small fix in doc string.
22280 2010-11-11  aaa bbb  <dominik@powerbook-g4-12-van-aaa-bbb.local>
22282         * org-archive.el (org-get-local-archive-location):
22283         Use `org-archive-location' as default.
22285 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22287         * ob-C.el (org): No longer requires org.
22289         * ob-ledger.el (org): No longer requires org.
22291 2010-11-11  David Maus  <dmaus@ictsoc.de>
22293         * org.el (org-priority): Save match data before call to
22294         `read-char-exclusive'.
22296 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22298         * org-list.el (org-list-to-generic): Descriptions labels can be
22299         any suit of symbols, and will end at double colons.
22301 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22303         * org.el (org-indent-line-function): Indent past [@num] and
22304         [@start:num], consistently with what is already done with
22305         checkboxes.
22307 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22309         * org.el (org-store-log-note): Indent new notes to the right
22310         column.  Also take `org-list-two-spaces-after-bullet-regexp' into
22311         consideration when creating the note.
22313 2010-11-11  David Maus  <dmaus@ictsoc.de>
22315         * org-gnus.el (nnimap-group-overview-filename): Declare function
22316         to silence byte compiler.
22318 2010-11-11  David Maus  <dmaus@ictsoc.de>
22320         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
22321         New customization variable.
22322         (org-gnus-nnimap-cached-article-number): New function.
22323         (org-gnus-follow-link): Try to fetch cached article number of
22324         message-id.
22326 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22328         * ob-org.el (org-babel-org-default-header): Used to insert a dummy
22329         first line into code blocks before export so that the first line
22330         is not interpreted as a title
22331         (org-babel-org-export): Use new dummy code block prefix.
22333 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22335         * ob.el (org-babel-insert-result): No longer throws error when
22336         inserting an empty result.
22338 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22340         * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
22342 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22344         * ob.el (org-babel-do-in-edit-buffer):
22345         Use `org-babel-where-is-src-block-head' to test for source block at
22346         point.
22348 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22350         * ob-keys.el (org-babel-key-bindings): Adding key-binding for
22351         `org-babel-goto-src-block-head'.
22353         * ob.el (org-babel-goto-src-block-head): Jump to the head of the
22354         current code block.
22356 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22358         * ob.el (org-babel-next-src-block): Now raising more informative
22359         error when no further code blocks can be found.
22360         (org-babel-previous-src-block): Now raising more informative error
22361         when no previous code blocks can be found.
22363 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22365         * org-exp-blocks.el
22366         (org-export-preprocess-after-include-files-hook): Now using this
22367         hook instead of `org-export-preprocess-hook'.
22369 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22371         * ob-plantuml.el (org-babel-execute:plantuml): ????
22373 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22375         * ob-python.el (org-babel-python-evaluate): Refactor as call to
22376         either `org-babel-python-evaluate-external-process' or
22377         `org-babel-python-evaluate-session'.
22378         (org-babel-python-evaluate-external-process): New function to
22379         handle evaluation in external process.
22380         (org-babel-python-evaluate-session): New function to handle
22381         evaluation in emacs inferior process.
22383 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22385         * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
22386         or html respecting :results header arg
22387         (org-babel-org-export): Exports a string of text to an output
22388         format.
22390 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22392         * ob.el (org-babel-insert-result): Remove existing results when
22393         nil results are returned.
22395 2010-11-11  David Maus  <dmaus@ictsoc.de>
22397         * org-ascii.el (org-export-as-ascii): Bind and set link path for
22398         link type specific markup function.
22400 2010-11-11  David Maus  <dmaus@ictsoc.de>
22402         * org-clock.el (notifications-notify): Properly declare function
22403         to silence byte compiler.
22405 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22407         * org-list.el (org-insert-item): Check invisibility of point at a
22408         meaningful location.
22410 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22412         * org-list.el (org-list-insert-item-generic): Updating checkboxes
22413         can modify bottom point of a list, so make it a marker before
22414         calling `org-update-checkbox-count-maybe'.
22416 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22418         * org.el (org-src-fontify-natively): Set to nil by default.
22419         Supply customize interface.
22421 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22423         * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
22424         `org-bracket-link-analytic-regexp++' to match the link type.
22426 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22428         * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
22429         `language'.
22431 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22433         * ob-tangle.el (org-babel-tangle-comment-format-beg):
22434         Format string specifying the link-comment preceding a code block
22435         (org-babel-tangle-comment-format-end): Format string specifying
22436         the link-comment following a code block
22437         (org-babel-tangle-collect-blocks): Storing more information in the
22438         spec of a tangling code block
22439         (org-babel-spec-to-string): Now makes use of customizable
22440         link-comment formats.
22442 2010-11-11  Achim Gratz  <Stromeko@stromeko.net>  (tiny change)
22444         * org.el (org-delete-backward-char): Check for nil overwrite-mode
22445         before inserting spaces.
22447 2010-11-11  David Maus  <dmaus@ictsoc.de>
22449         * org-icalendar.el (org-print-icalendar-entries): Exclude tags
22450         from summary of non-TODO ical entries.
22451         (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
22452         exclude tags from summary of TODO ical entries.
22454 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22456         * ob.el (org-babel-map-src-blocks): Now exposes much information
22457         about the code block in the form of let-bound local variables.
22459 2010-11-11  David Maus  <dmaus@ictsoc.de>
22461         * org-list.el (org-outline-regexp, org-ts-regexp)
22462         (org-ts-regexp-both, org-in-regexps-block-p)
22463         (org-level-increment, org-at-heading-p)
22464         (outline-previous-heading, org-icompleting-read)
22465         (org-time-string-to-seconds): Declare to fix compiler warning.
22467 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22469         * org-list.el (org-toggle-checkbox): Ignore items in drawers when
22470         used from an heading.  Send an error when no item is in region.
22472 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22474         * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
22475         ensure that edit buffer is exited.
22477 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22479         * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
22480         control the amount of extra newlines inserted into tangled code
22481         (org-babel-tangle-collect-blocks): Now conditionally collects
22482         information to be used for "org" style comments
22483         (org-babel-spec-to-string): Now inserts "org" style comments, and
22484         obeys the newline configuration variable when inserting whitespace.
22486 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22488         * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
22489         hook
22490         (org-babel-tangle): Calls new tangle hook.
22492 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22494         * org-capture.el (org-capture): Compute the length of the correct
22495         string when removing properties.
22497 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22499         * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
22500         names before shell quoting.
22502 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22504         * org-src.el (org-src-tab-indents-natively): New variable
22505         controlling whether language-native TAB action should be performed
22506         (org-src-native-tab-command-maybe): New function to perform
22507         language-native TAB action.
22508         (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
22510 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22512         * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
22513         `org-plantuml-jar-path' before use.
22515 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22517         * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
22518         language major mode buffers during fontification.
22520 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22522         * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
22523         match code blocks with switches and header args.
22524         Call `org-src-font-lock-fontify-block' for automatic fontification of
22525         code in code blocks, controlled by variable
22526         `org-src-fontify-natively'.
22527         (org-src-fontify-natively): New variable.
22529 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22531         * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
22532         inf-ruby.
22534 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22536         * org-html.el (org-html-make-link): (expand-file-name) removes
22537         one "/" from "///path-to-file", so add one.  Anything other than
22538         'file' type should be exported along with the type.
22540 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22542         * org.el (org-insert-subheading): Fix compiler warning
22543         (org-insert-todo-subheading): Fix compiler warning.
22545 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22547         * org-capture.el (org-capture): Remove read-only text properties
22548         from capture text.
22549         (org-capture-set-target-location): Throw an error if file+headline
22550         target does not point into a file which is in Org mode.
22552 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22554         * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
22556 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22558         * org-src.el (org-edit-src-code): Improve docstring.
22560 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22562         * ob.el (org-babel-execute-src-block): Document prefix argument in
22563         docstring.
22565 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22567         * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
22568         org-ditaa-jar-path with expand-file-name.
22570 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22572         * ob.el (org-babel-execute-subtree): Pass prefix arg through to
22573         `org-babel-execute-src-block'.
22575 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22577         * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
22578         [@x] syntax for list numbering.
22580 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22582         * org.el (org-indent-line-function): Indentation of source block
22583         is left to `org-edit-src-exit' and shouldn't be modified by
22584         `org-indent-line-function'.  Indentation of others blocks should be
22585         the same as the #+begin line.
22587 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22589         * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
22590         forms on source blocks in current buffer; restore point in current
22591         buffer.
22593 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22595         * org-list.el (org-list-struct): Accept list boundaries as an
22596         argument in order to avoid computing `org-list-top-point' and
22597         `org-list-bottom-point' twice when indenting.
22599 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22601         * org-list.el (org-list-ending-method): Default value is now
22602         `both', to ensure maximum compatibility before previous
22603         implementation.
22605 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22607         * org-list.el (org-list-in-item-p-with-indent): Test if first line
22608         is the item beginning.
22610         * org-list.el (org-list-top-point-with-indent): Test if first line
22611         is a valid list beginning.
22613 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22615         * org-list.el (org-list-ending-method): New customizable variable
22616         to tell Org Mode how lists end.  See docstring.
22618 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22620         * org-list.el (org-indent-item-tree): Shifting step of top-level
22621         item depends on `org-level-increment'.
22623 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22625         * org.el (org-indent-line-function): Indent first non blank line
22626         after a list according to current heading level.
22628 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22630         * org-docbook.el (org-export-as-docbook): Remove check for
22631         indentation on lines that do not start with a list bullet.
22633         * org-html.el (org-export-as-html): Same thing.
22635 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22637         * org-list.el (org-list-bottom-point): Take into consideration
22638         that bound of search can be before true ending of the list.
22640 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22642         * org-list.el (org-list-struct-apply-struct): No longer shift
22643         item's body twice: one after replacing bullet and one after
22644         changing indentation.
22646 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22648         * org-list.el (org-list-struct-indent): Add code to replace
22649         bullets if needed when indenting.
22651 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22653         * org-list.el (org-list-insert-item-generic): A single item
22654         already counting blank lines in his body should be separated with
22655         the next one by a blank line.  Moreover, if user already provided
22656         blank lines, follow his wishes.
22658 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22660         * org-list.el (org-indent-item-tree): When moving top item of a
22661         *-list to column 0, only the first item had its bullet changed to
22662         -.  It now changes all items of the top-level list, as expected.
22664 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22666         * org-list.el (org-toggle-checkbox): Go to beginning of line
22667         before processing.
22669 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22671         * org-list.el (org-list-struct-apply-struct): Check if ancestor
22672         exists.
22674 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22676         * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22677         done at each item.
22679 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22681         * org-list.el: Removed unused variable
22682         `org-suppress-item-indentation'.
22684         * org-list.el (org-renumber-ordered-list): Skip item if bullet
22685         number is already good.
22687 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22689         * org-list.el (org-list-automatic-rules): Doc-string reflects this
22690         change.
22692         * org-list.el (org-indent-item-tree): Prevent whole list from
22693         being moved when user is not moving subtree.
22694         Thus `org-cycle-item-indentation' will not allow to move the list.
22696 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22698         * org-list.el (org-indent-item-tree): Remove region code.  It was
22699         prone to errors and undocumented.
22701         * org-list.el (org-item-indent-positions): Better heuristics to
22702         determine what bullet the item will have when demoted.
22704 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22706         * org-list.el (org-list-bullet-string): First check if
22707         `org-list-two-spaces-after-bullet-regexp' isn't nil.
22709 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22711         * org-list.el (org-list-bullet-string): Do not modify match-data.
22713         * org.el (org-toggle-item): Now working again when changing list
22714         items into plain text.  Moreover take into consideration
22715         `org-list-two-spaces-after-bullet-regexp'.
22717 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22719         * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22720         fix, and improved heuristics to determine bullet when indenting.
22722         * org-list.el (org-item-indent-positions): Function now returns
22723         sane results when there are two lists separated with blank lines
22724         only.
22726 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22728         * org-docbook.el (org-export-as-docbook): Use override="num" in
22729         any listitem matching [@start:num].
22731         * org-html.el (org-export-as-html): Use value="num" in any li
22732         matching [@start:num].
22734 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22736         * org.el (org-set-font-lock-defaults): Correct fontification for
22737         checkboxes found after [@start:?].
22739         * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22740         [@start:?]  when looking at a regex after a bullet.
22742         * org-list.el (org-toggle-checkbox): Correct insertion of
22743         checkboxes when there is already a [@start:?] in the item.
22745         * org-list.el (org-checkbox-blocked-p): Properly check if there's
22746         an unchecked item before.
22748         * org-list.el (org-list-parse-list): Function handles items having
22749         both a counter and a checkbox.
22751 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22753         * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22754         stores both indentation and bullet when cycle started.
22756 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22758         * org-list.el: `org-at-description-p' renamed to
22759         `org-at-item-description-p', `org-first-list-item-p' renamed to
22760         `org-list-first-item-p', `org-end-of-item-text-before-children'
22761         renamed to `org-end-of-item-or-at-child'.
22763 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22765         * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22766         of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22767         before toggling a checkbox.
22769 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22771         * org-list.el (org-list-bullet-string): New function returning
22772         bullet concatenated with an appropriate number of white spaces.
22774         * org-list.el (org-list-insert-item-generic): Insert the right
22775         bullet, with help of `org-list-bullet-string'.
22777         * org-list.el (org-indent-item-tree):
22778         Use `org-list-bullet-string'.
22780         * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22782         * org-list.el (org-toggle-checkbox): Send an error when
22783         `org-toggle-checkbox' is trying to insert a checkbox at a
22784         description item.
22786         * org-list.el (org-item-re): Modify regexp so it can catch
22787         correct number of white space before item body.
22789         * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22790         consideration new `org-item-re'.
22792 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22794         * org-list.el (org-list-insert-item-generic): The second item in a
22795         list will be separated from its predecessor with the number of
22796         blank lines separating the first item from its parent, if any, or
22797         no blank line.
22799 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22801         * org-list.el (org-indent-item-tree): Fix and reorder every list
22802         and sublist, from parent of list that has moved if indenting, or
22803         from list at point if outdenting.
22805 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22807         * org-list.el (org-indent-item-tree): Try to keep relative
22808         position on line.  It can't if point is in white spaces before
22809         bullet because mixed tabs and spaces make some columns
22810         unattainable.
22812 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22814         * org-list.el (org-cycle-item-indentation): Cycle when the whole
22815         item only contains bullet and maybe a checkbox.  Previously, TAB
22816         would cycle when the first line of the item was blank.
22818 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22820         * org-list.el (org-cycle-item-indentation): Allow a point just
22821         after a description item or a checkboxed item to start cycling.
22823 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22825         * org-list.el (org-cycle-list-bullet):
22826         Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22827         as valid bullets when cycling.
22829 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22831         * org-list.el (org-cycle-item-indentation): Do return t if and
22832         only if cycling is possible and succeded.
22834 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22836         * org-list.el (org-indent-item-tree): When outdenting a subtree,
22837         the last item shouldn't have a children.
22839 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22841         * org-list.el (org-cycle-item-indentation): Cycling should play
22842         nicely with indent rule in `org-list-automatic-rules'.
22844 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22846         * org-list.el (org-indent-item-tree): If indent rule is activated,
22847         it should be impossible to outdent an item having children without
22848         moving its subtree.  Improved reordering of lists modified by
22849         cycling indentation.
22851 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22853         * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22854         `org-fix-bullet-type' to prevent infinite loop, and some checks
22855         already done in `org-renumber-ordered-list'.
22857         * org-list.el (org-fix-bullet-type): Remove a check and call
22858         directly `org-maybe-renumber-ordered-list'.
22860 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22862         * org-list.el (org-indent-item-tree): It shouldn't be possible to
22863         indent the first item of a sublist (though outdent is possible) as
22864         it would break list's structure.
22866 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22868         * org-list.el (org-list-insert-item-generic): When local search
22869         doesn't help, search the list globally for blank lines.  Moreover,
22870         don't bother with new lists, and add 1 blank line.
22872 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22874         * org-capture.el (org-capture-place-item):
22875         Use `org-search-forward-unenclosed' and
22876         `org-search-backward-unenclosed' and new variable
22877         `org-item-beginning-re'.
22879         * org-list.el (org-item-beginning-re): Regexp matching beginning
22880         of an item.
22882 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22884         * org-list.el (org-cycle-list-bullet): Put back support for
22885         'previous argument.
22887 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22889         * org-list.el (org-in-item-p): Handle case when point is at an
22890         heading.
22892         * org-list.el (org-list-make-subtree): Add protection when used
22893         outside of list.
22895         * org-list.el (org-insert-item): Remove useless hack now
22896         `org-in-item-p' is fixed.
22898         * org-timer.el (org-timer-item): Remove useless hack now
22899         `org-in-item-p' is fixed.
22901 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22903         * org-list.el (org-cycle-list-bullet): Prevent description items
22904         from being numbered.  String argument is also recognized now, as
22905         long as it is a valid bullet.
22907 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22909         * org-list.el (org-indent-item-tree): Moving indentation of top
22910         list item will make the whole list move.
22912         * org-list.el (org-apply-on-list): Function is less sensitive to
22913         changes of indentation.
22915 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22917         * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22918         of the regexp.
22920         * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22922         * org-list.el (org-cycle-item-indentation): Allow cycling
22923         description items and checkbox items.
22925         * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22927         * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22928         regexp.
22930 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22932         * org-list.el (org-insert-item-internal): Guessing of blank lines
22933         number is made by looking at neighboring items, if any.
22935 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22937         * org-list.el (org-sort-list): Add the possibility to sort timer
22938         lists with the ?t or ?T options.
22940 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22942         * org-list.el (org-search-unenclosed-internal): New function to
22943         handle both `org-search-forward-unenclosed' and
22944         `org-search-backward-unenclosed'.
22946         * org-list.el (org-search-backward-unenclosed): Can send errors
22947         now.  Removed useless usage of COUNT.
22949         * org-list.el (org-search-forward-unenclosed): Can send errors
22950         now.  Removed useless usage of COUNT.
22952         * org-list.el (org-update-checkbox-count):
22953         Use `org-search-forward-unenclosed' and
22954         `org-search-backward-unenclosed' instead of `re-search-forward'
22955         and `re-search-backward'.
22957         * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22958         and `org-search-backward-unenclosed' instead of
22959         `re-search-forward' and `re-search-backward'.
22961         * org-list.el (org-list-make-subtree):
22962         Use `org-search-forward-unenclosed' and
22963         `org-search-backward-unenclosed' instead of `re-search-forward'
22964         and `re-search-backward'.
22966 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22968         * org-list.el (org-insert-item-internal): Fixes the problem when
22969         point was before the first char of the item's body.
22971 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22973         * org-timer.el (org-timer-item): Refactoring.  Compute timer string
22974         before inserting it in the buffer.
22976         * org-timer.el (org-timer): Add an optional argument to return
22977         timer string instead of inserting it.
22979 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22981         * org-list.el (org-insert-item-internal): New function to handle
22982         positioning and contents of an item being inserted at a specific
22983         pos.  It is not possible anymore to split a term in a description
22984         list or a checkbox when inserting a new item.
22986         * org-list.el (org-insert-item): Refactored by using the new
22987         `org-insert-item-internal' function.
22989         * org-timer.el (org-timer-item): Refactored by using the new
22990         `org-insert-item-internal' function.
22992 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22994         * org-list.el (org-list-bottom-point): Be sure to check real
22995         ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
22997         * org.el (org-cycle-internal-local): Cycle up to end of subtree or
22998         end of item if we are in a list.
23000 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23002         * org-list.el (org-insert-item): Move before any special block in
23003         a list prior to add a new item.
23005         * org-timer.el (org-timer-item): When in a timer list, insert a
23006         new timer item like `org-insert-item'.  If in another list, send an
23007         error.  Otherwise, start a new timer list.
23009 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23011         * org-list.el: Minor refactoring.
23013 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23015         * org-timer.el (org-timer-item): Insert description list item at
23016         the right column.
23018         * org-list.el (org-insert-item): Insert the right number of blank
23019         lines before a relative timer.
23021 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23023         * org-list.el (org-insert-item): Remove restriction on latex
23024         blocks.
23026 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23028         * org-list.el (org-search-backward-unenclosed): Do not stop in
23029         protected places.
23031         * org-list.el (org-search-forward-unenclosed): Do not stop in
23032         protected places.
23034         * org-latex.el (org-export-latex-lists): Use the fact that
23035         org-search-forward do not stop anymore at protected places.
23037 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23039         * org-list.el (org-search-backward-unenclosed): Do not prevent
23040         list items from being inside LaTeX blocks.
23042         * org-list.el (org-search-forward-unenclosed): Do not prevent list
23043         items from being inside LaTeX blocks.
23045 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23047         * org-list.el (org-in-item-p): Do not widen before checking if we
23048         are in item.
23050         * org-list.el (org-list-send-list): We cannot count on
23051         `org-list-top-point' and `org-list-bottom-point' before buffer is
23052         narrowed.  Find bounds of list otherwise.
23054 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23056         * org-list.el (org-list-end-regexp): By default, list ending is
23057         exactly 2 blank lines.
23059 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23061         * org-docbook.el (org-export-as-docbook): When we find an empty
23062         line, we do not need to check for
23063         `org-empty-line-terminates-plain-lists' because we would have
23064         found end-list marker before.
23066         * org-html.el (org-export-as-html): Same.
23068 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23070         * org-list.el (org-insert-item): Simplify count of blank lines to
23071         insert.
23073 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23075         * org-list.el (org-list-end-regexp): New customizable variable to
23076         define what string should end lists.
23078         * org-list.el (org-list-end-re): Function is now aware of
23079         `org-list-end-regexp'.
23081 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23083         * org-html.el (org-export-as-html): Code cleanup.
23085 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23087         * org-docbook.el (org-export-as-docbook): Properly close any open
23088         list when seeing ORG-LIST-END.  Removed any reference to now
23089         unneeded DIDCLOSE variable.
23091 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23093         * org-exp.el (org-export-mark-list-ending): Fix number of blank
23094         lines inserted after a list.
23096         * org-list.el (org-list-parse-list): Fix case when
23097         `org-list-end-re' would have an indentation greater than current
23098         list.
23100 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23102         * org-exp.el (org-export-mark-list-ending): Differentiate between
23103         export backends, and replace `org-list-end-re' by a blank line
23104         upon exporting.
23106 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23108         * org-html.el (org-export-as-html): Delete didclose and everything
23109         related to it, as it is no longer needed.
23111 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23113         * org-html.el (org-export-html-preprocess): Remove unneeded
23114         insertion of list end marker, as it is now handled by
23115         `org-export-mark-list-ending'.
23117         * org-html.el (org-export-as-html): Cleaner termination of lists.
23119         * org-exp.el (org-export-mark-list-ending): New function to insert
23120         specific markers at the end of lists when exporting to a backend
23121         not using `org-list-parse-list'.  This function is called early in
23122         `org-export-preprocess-string', while it is still able to
23123         recognize lists.
23125         * org-latex.el (org-export-latex-lists): Better search for
23126         lists.  It now only finds items not enclosed and not protected.
23128 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23130         * org-list.el: Replaced `re-search-forward' by
23131         `org-search-forward-unenclosed' where it made sense.
23133 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23135         * org-list.el (org-apply-to-list): Now a return value is handed at
23136         each new call of the function applied.
23138         * org-list.el (org-fix-bullet-type): Use the new
23139         `org-apply-to-list' format.
23141         * org-list.el (org-renumber-ordered-list): Use the new
23142         `org-apply-to-list' format.
23144 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23146         * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
23147         correctly used.
23149         * org-list.el (org-search-forward-unenclosed): Better regexp used.
23151         * org-list.el (org-search-backward-unenclosed): Better regexp
23152         used.
23154 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23156         * org-list.el (org-sort-list): End-rec function was ill-defined.
23158 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23160         * org-list.el (org-search-forward-unenclosed): Fix behavior when
23161         last occurrence was enclosed.
23163         * org-list.el (org-search-backward-unenclosed): Fix behavior when
23164         last occurrence was enclosed.
23166 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23168         * org.el (org-in-regexps-block-p): Fix documentation.
23170 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23172         * org-list.el (org-search-backward-unenclosed): Fix block regexp.
23174         * org-list.el (org-search-forward-unenclosed): Fix block regexp.
23176         * org-list.el (org-list-parse-list): Minor fix.
23178 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23180         * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
23181         called with t argument.
23183 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23185         * org-html.el (org-export-html-preprocess):
23186         Replace `org-list-end-re' by a blank line during pre-process.
23188 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23190         * org-list.el (org-list-bottom-point): No need for square brackets
23191         for `skip-chars-backward'.
23193 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23195         * org-html.el: Do not delete space between end of list and
23196         beginning of the following.
23198 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23200         * org-html.el: Preprocess buffer string and add ORG-LIST-END where
23201         needed.  Lists should not end before seeing this.
23203 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23205         * org-html.el: Notice end of lists.
23207 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23209         * org-list.el (org-list-parse-list): Better handling of
23210         restrictions when function is called on a list with sublists.
23212         * org-list.el (org-list-send-list): Find the true ending of the
23213         list being sent.
23215         * org-list.el (org-list-radio-list-templates): Templates are more
23216         specific to lists.
23218 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23220         * ob-js.el (org-babel-js-eoe): Indicate end of input
23221         (org-babel-execute:js): Support for session evaluation
23222         (org-babel-prep-session:js): Fleshed out definition
23223         (org-babel-js-initiate-session): Can initiate a session using
23224         mozrepl.
23226 2010-11-11  David Maus  <dmaus@ictsoc.de>
23228         * org.el (org-set-regexps-and-options): Protect escape char in
23229         `org-complex-heading-regexp-format'.
23231 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23233         * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
23234         session-based evaluation
23235         (org-babel-execute:scheme): Now supports session-based evaluation
23236         (org-babel-prep-session:scheme): Now works and defines variables
23237         (org-babel-scheme-initiate-session): Now works using run-scheme
23238         from cmuscheme.
23240 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23242         * org.el (org-export-latex-default-packages-alist): Remove the
23243         t1enc package - this is already covered by fontenc.
23245 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23247         * ob.el (with-parsed-tramp-file-name): Declared
23248         (org-babel-tramp-localname): Ensure variable name exists locally.
23250 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23252         * ob.el (org-babel-temp-file): Don't use babel temporary directory
23253         in remote case; use make-temp-file with remote file name so that
23254         temp file is guaranteed not to exist previously on remote machine.
23255         (org-babel-tramp-localname): New function to return local name
23256         portion of possibly remote file specification.
23258 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23260         * ob-R.el (org-babel-R-write-object-command): New unified R
23261         command for writing results to file
23262         (org-babel-R-wrapper-method): Remove variable
23263         (org-babel-R-wrapper-lastvar): Remove variable
23264         (org-babel-R-evaluate-external-process): Use new R command
23265         (org-babel-R-evaluate-session): Use new R command.
23267 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23269         * ob-comint.el
23270         (org-babel-comint-eval-invisibly-and-wait-for-file): New function
23271         to evaluate code invisibly and block until output file exists.
23273         * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
23274         evaluate R code in session for :results value.  Write result to
23275         file invisibly using new function
23276         `org-babel-comint-eval-invisibly-and-wait-for-file'.
23278 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23280         * org-capture.el (org-capture-fill-template): Align tags after
23281         insertion.
23283 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23285         * org-exp.el (org-export-concatenate-multiline-emphasis):
23286         Ignore matches that start in a headline.
23288 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23290         * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
23291         and out-file in shell-quote-argument.
23293 2010-11-11  David Maus  <dmaus@ictsoc.de>
23295         * org-docview.el (org-docview-store-link): Use expanded macro to
23296         get current page.
23297         (doc-view-goto-page, image-mode-window-get): Declare functions for
23298         byte compiler.
23300 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23302         * ob-scheme.el: Very preliminary support for evaluating scheme
23303         code blocks.
23305         * org.el (org-babel-load-languages): Adding scheme.
23307 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23309         * ob.el (require): Remove circular (require 'org).
23311 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23313         * ob-R.el (ess-make-buffer-current): Declared.
23314         (ess-ask-for-ess-directory): Declared.
23315         (ess-local-process-name): Declared.
23316         * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
23318         * ob.el (org-edit-src-code): Fixing arguments.
23319         (org-edit-src-exit): Declared.
23320         (org-outline-overlay-data): Declared.
23321         (org-set-outline-overlay-data): Declared.
23323 2010-11-11  Glenn Morris  <rgm@gnu.org>
23325         * ob.el: Require org when compiling.
23326         (org-save-outline-visibility): Remove macro declaration.
23328         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23329         Remove unnecessary/macro declarations.
23331         * org-docview.el: Require doc-view when compiling.
23332         (doc-view-goto-page): Autoload rather than declaring.
23333         (doc-view-current-page): Remove macro declaration.
23335         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23336         (org-entry-get, org-table-import): Fix declarations.
23337         (org-match-string-no-properties): Remove declaration.
23339         * ob-sh.el (org-babel-comint-in-buffer)
23340         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23341         (org-babel-comint-with-output): Remove unnecessary declarations.
23343         * ob-R.el (orgtbl-to-tsv): Fix declaration.
23345         * org-list.el (org-entry-get): Fix declaration.
23347 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23349         * ob.el (org-babel-remove-temporary-directory): Remove explicit
23350         second argument.
23352 2010-11-11  Magnus Henoch  <magnus.henoch@gmail.com>  (tiny change)
23354         * org-clock.el (org-clocktable-steps): Allow ts and te to be day
23355         numbers.
23357 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23359         * org-macs.el (org-save-outline-visibility): Move from org.el.
23361 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23363         * ob-org.el (org-babel-default-header-args:org): Additional
23364         ":results silent" default header argument for org code blocks.
23366 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23368         * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
23369         which is now an alias to ":eval no".
23371 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23373         * ob.el (org-babel-remove-temporary-directory): The version of
23374         `delete-directory' found in files.el can not be assumed to be
23375         present on all versions, so this copies the recursive behavior of
23376         that command in such a way that all calls to delete-directory will
23377         also work with the built-in internal C implementation of that
23378         function.  This is not overly difficult as all elements of the
23379         directory can be assumed to be files.
23381 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23383         * ob-C.el (org-babel-C-execute): Corrected arguments to
23384         org-babel-temp-file.
23386 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23388         * ob.el (org-babel-temporary-directory): Variable to hold the
23389         value of the Babel temporary directory.
23391 2010-11-11  Aditya Siram  <aditya.siram@gmail.com>
23393         * ob.el (org-babel-load-in-session): Expanding noweb references
23394         when appropriate.
23396 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23398         * org.el (org-make-link-regexps): Modify regexp of
23399         org-plain-link-re.
23401 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
23403         * org-habit.el (org-habit-parse-todo): Find sr-days only if
23404         scheduled-repeat is non nil.  Use 4th element of the list returned
23405         by (org-heading-components) as habit-entry.  Modify the error
23406         message to be more meaningful.
23408 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23410         * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
23411         ":border" header arguments which both use the "preview" latex
23412         package to fit the resulting PDF image to the figure.
23414 2010-11-11  David Maus  <dmaus@ictsoc.de>
23416         * org-wl.el (org-wl-store-link): Don't try to store link if point
23417         is at end of buffer.
23419 2010-11-11  Harri Kiiskinen  <harkiisk@gmail.com>
23421         * org-publish.el (org-publish-project-alist): Document the new
23422         body-only property.
23423         (org-publish-org-to): Use the body-only property.
23425 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23427         * org.el (org-store-link): Return link when invoked
23428         non-interactively from an agenda buffer.
23430 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23432         * org.el (org-store-link): Storing of links to headlines in
23433         indirect buffers was broken.  Fix it.
23435 2010-11-11  Aidan Kehoe  <kehoea@parhasard.net>
23437         * ob-tangle.el (org-babel-tangle): Change the MODE argument to
23438         #'set-file-modes to use integer, not character syntax, avoiding
23439         compile problems with recent XEmacs.
23441 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23443         * org-agenda.el (org-agenda-add-entry-text): Make sure we move
23444         forward even if there is no text to be added.
23446 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23448         * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
23449         tags/property matcher.
23451 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23453         * org-exp.el (org-infile-export-plist): Bind case-fold-search to
23454         t.
23456 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23458         * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
23460 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23462         * org-latex.el (org-export-latex-set-initial-vars):
23463         Bind `case-fold-search' to t around the search for special LaTeX setup.
23465         * org-beamer.el (org-beamer-after-initial-vars):
23466         Bind `case-fold-search' to t around the search for special BEAMER
23467         setup.
23469 2010-11-11  David Maus  <dmaus@ictsoc.de>
23471         * org-agenda.el (org-write-agenda): Delete PostScript file after
23472         creating conversion to PDF.
23474 2010-11-11  David Maus  <dmaus@ictsoc.de>
23476         * org-agenda.el (org-write-agenda): Move require statements to
23477         proper place in evaluated lisp expression.
23479 2010-11-11  David Maus  <dmaus@ictsoc.de>
23481         * org-agenda.el (org-write-agenda): Rename temporary buffer to
23482         remove dependency of `flet' macro.
23484 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23486         * ob-lob.el (org-babel-lob-get-info): Edit docstring.
23488 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23490         * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
23491         from all standard sources when executing #+lob/#+call lines.
23493 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23495         * ob-R.el (org-babel-R-evaluate): Break the two branches into two
23496         separate functions
23497         (org-babel-R-evaluate-external-process): New function to handle
23498         external process evaluation
23499         (org-babel-R-evaluate-session): New function to handle session
23500         evaluation.
23502 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23504         * ob.el (org-babel-initiate-session): New function derived from
23505         previous `org-babel-switch-to-session'
23506         (org-babel-switch-to-session): Refactored to use new
23507         `org-babel-initiate-session'.
23509 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23511         * ob.el (org-babel-switch-to-session): Supply missing "P" argument
23512         to (interactive).
23514 2010-11-11  David Maus  <dmaus@ictsoc.de>
23516         * org-feed.el (org-feed-format-entry): Decode entry according to
23517         its character encoding.
23519 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
23521         * org-feed.el (xml-substitute-special): Declare function for byte
23522         compiler.
23523         (org-feed-unescape): Remove.
23524         (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
23525         Use `xml-substitute-special' to unescape XML entities.
23527 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23529         * ob.el (org-babel-switch-to-session): Throw error if block if
23530         :session not in effect for the block.
23532 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23534         * org-table.el (org-table-create-with-table.el): Align table
23535         before converting.
23537 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23539         * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
23540         that org-src buffer is current before attempting exit.
23542 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23544         * org-src.el (ob-comint): Require 'ob-comint
23545         (org-src-babel-info): Define variable.
23547 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23549         * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
23550         in the language major mode edit buffer.
23551         (org-babel-do-key-sequence-in-edit-buffer): New function to call
23552         an arbitrary key sequence in the language major mode edit buffer.
23554         * org-src.el (org-src-switch-to-buffer): Add new allowed value
23555         'switch-invisibly for `org-src-window-setup'.
23557 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23559         * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
23560         is used.
23561         (org-src-do-at-code-block): New macro to evaluate lisp with point
23562         at the start of the Org code block containing the code in this
23563         edit buffer.
23564         (org-src-do-key-sequence-at-code-block): New function to execute
23565         command bound to key at the Org code block containing the code in
23566         this edit buffer.
23568 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23570         * ob-R.el (org-babel-R-associate-session): New function to
23571         associate R code edit buffers with ESS comint session.
23573 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23575         * org-src.el (org-edit-src-code): If at src block, store babel
23576         info as buffer local variable.
23577         (org-src-associate-babel-session): New function to associate code
23578         edit buffer with comint session.  Does nothing unless a
23579         language-specific function named
23580         `org-babel-LANG-associate-session' exists.
23581         (org-src-babel-configure-edit-buffer): New function to be called
23582         in `org-src-mode-hook'.
23583         (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
23584         hook.
23586 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23588         * ob.el (org-babel-switch-to-session-with-code): New function to
23589         generate split frame displaying edit buffer and session.
23591 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23593         * org.el (org-set-tags): Consider org-indent-mode when computing
23594         the tags column.
23596 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23598         * org-compat.el (org-looking-at-p): Only use looking-at-p when
23599         defined.
23601 2010-11-11  David Maus  <dmaus@ictsoc.de>
23603         * org-agenda.el (org-finalize-agenda-entries): Delete excluded
23604         lines directly after call to sorting filter function.
23606 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23608         * org.el (org-complex-heading-regexp-format): Document the
23609         variable.
23610         (org-get-refile-targets): Use `org-complex-heading-regexp-format'
23611         to make the regular expression for matching the headline.
23613 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23615         * org.el (org-refile-check-position): New function.
23616         (org-goto):
23617         (org-refile-get-location): Call `org-refile-check-position'.
23619 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23621         * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
23622         instead of equal to compare symbols.
23624 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23626         * org-agenda.el (org-agenda-before-sorting-filter-function):
23627         New hook function.
23628         (org-finalize-agenda-entries):
23629         Apply `org-agenda-before-sorting-filter-function'.
23631 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23633         * org-latex.el (org-export-latex-first-lines): Do not protect meta
23634         lines that have nothing to do with babel.
23636 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23638         * org-capture.el (org-capture-place-template): Handle the
23639         checkitem case.
23640         (org-capture-place-item): Provide boundaries for the search to
23641         make sure we do not get a match in a different tree.
23643 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23645         * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23646         argument parser.
23648 2010-11-11  Noorul Islam  <noorul@noorul.com>
23650         * org-latex.el (org-latex-to-pdf-process): Add output-directory
23651         option for the command pdflatex.
23652         (org-export-as-pdf): Respect directory in path of
23653         EXPORT_FILE_NAME.
23655 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23657         * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23658         which now means to use MathJax processing for HTML.  Also allow
23659         new value `dvipng' to force the old image processing.
23660         (org-infile-export-plist): Parse for MATHJAX setup line.
23662         * org-html.el (org-export-html-mathjax-options): New option.
23663         (org-export-html-mathjax-config): New function.
23664         (org-export-html-mathjax-template): New option.
23665         (org-export-html-preprocess): Call the LaTeX snippet processor
23666         with an additional argument to declare special ways of processing.
23667         (org-export-as-html): Bind the dynamical variable
23668         `org-export-have-math'.  Insert the MathJax script template when
23669         it is needed by the document.
23671         * org.el (org-preview-latex-fragment): Call `org-format-latex'
23672         with the additional processing argument.
23673         (org-export-have-math): New variable, for dynamic scoping.
23674         (org-format-latex): Implement specific ways of processing.
23675         New function argument for processing type.
23676         (org-org-menu): Remove the entry to configure LaTeX snippet
23677         processing.
23679 2010-11-11  Bastien Guerry  <bzg@gnu.org>
23681         * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23682         `org-clock-goto' and `J' for `org-agenda-clock-goto'.  If the
23683         heading currently clocked in is not listed in the agenda, display
23684         this entry in another buffer.  If there is no running clock,
23685         display a help message.
23687 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23689         * org-latex.el (org-export-latex-tables): Return "" instead of nil
23690         when no label is attached.
23692 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23694         * org-agenda.el (org-agenda-menu-show-match): New option.
23695         (org-agenda-menu-two-column): New option.
23696         (org-agenda-get-restriction-and-command): Implement dispatch menu
23697         without showing the matcher, and with two-column display.
23699 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23701         * org-indent.el (org-indent-mode): Fix grammar for message when
23702         mode is refused.
23704 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23706         * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23707         no previous result exists.
23709 2010-11-11  Noorul Islam  <noorul@noorul.com>
23711         * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23712         warning.
23714 2010-11-11  Noorul Islam  <noorul@noorul.com>
23716         * org.el (org-set-visibility-according-to-property): Use backward
23717         search instead of forward, so that top hierarchy gets priority.
23719 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23721         * org-agenda.el (org-timeline): Allow indirect buffer.
23723 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23725         * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23726         (org-export-define-heading-targets-headline-hook): New hooks.
23728         * org.el (org-modules): Add entry for org-wikinodes.el.
23729         (org-font-lock-set-keywords-hook): New hook.
23730         (org-open-at-point-functions): New hook.
23731         (org-find-exact-headling-in-buffer):
23732         (org-find-exact-heading-in-directory): New functions.
23733         (org-mode-flyspell-verify): Better cursor position for checking if
23734         flyspell should ignore a word.
23736 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23738         * org-indent.el (org-indent-remove-properties):
23739         (org-indent-add-properties): Make sure changing these properties
23740         does not trigger modification hooks.
23742 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23744         * org.el (org-link-search-must-match-exact-headline): New option.
23745         (org-link-search-inhibit-query): New variable.
23746         (org-link-search): Search for exact headline match in Org files.
23748 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23750         * ob.el (org-babel-execute-src-block-maybe): Remove check for
23751         `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23752         function `org-babel-execute-safely-maybe'.
23754 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23756         * ob.el (org-babel-load-in-session): Set directory in case :dir
23757         arg is in effect.
23759 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23761         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23762         errors when we're not under of a headline.
23764 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23766         * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23767         write delimited text instead of save -ascii
23768         (org-babel-octave-import-elisp-from-file): Specify that data
23769         written to file is tab-delimited.
23771 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23773         * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23774         tab-delimited.
23776 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23778         * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23779         specified.
23781 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23783         * ob-python.el (org-babel-python-table-or-string): Fix recognition
23784         of lists and tuples.
23786 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23788         * ob-octave.el (org-babel-octave-evaluate-external-process):
23789         Allow remote files.
23791 2010-11-11  Juan Pechiar  <pechiar@computer.org>
23793         * ob-octave.el (org-babel-octave-evaluate-external-process):
23794         Use `org-babel-octave-import-elisp-from-file' instead of
23795         `org-babel-eval-read-file'.
23796         (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23797         and use '%s' as format specifier instead of '%S'.
23799 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23801         * ob-octave.el: Only (require 'matlab) when necessary.
23802         (org-babel-octave-initiate-session): (require) octave-inf or matlab
23803         as appropriate.
23804         (org-babel-execute:matlab): Remove (require).
23805         (org-babel-prep-session:matlab): Remove (require).
23806         (org-babel-matlab-initiate-session): Remove (require).
23808 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23810         * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23811         list.
23813 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23815         * ob-python.el (org-babel-python-table-or-string): Can now handle
23816         VERY long result lines.
23818 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23820         * org-latex.el (org-export-latex-tables): Add label if any.
23822         * org-latex.el (org-export-latex-convert-table.el-table):
23823         Fix little mistake when inserting label.
23825 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23827         * org.el (org-cycle-internal-local): Remove an unnecessary call
23828         to `org-back-to-heading' that was preventing point to stay at its
23829         column when cycling visibility.
23831 2010-11-11  Noorul Islam  <noorul@noorul.com>
23833         * org-capture.el (org-capture-finalize): Make messages consistent.
23835 2010-11-11  Noorul Islam  <noorul@noorul.com>
23837         * org-gnus.el: Suppress compiler warning by declaring outside
23838         function nnimap-retrieve-headers-from-file.
23840 2010-11-11  Noorul Islam  <noorul@noorul.com>
23842         * org-colview.el Use org-beamer-select-environment instead of
23843         org-beamer-set-environment-tag.
23845 2010-11-11  Matt Lundin  <mdl@imapmail.org>
23847         * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23848         that the value of org-last-inserted-timestamp includes time range.
23850 2010-11-11  David Maus  <dmaus@ictsoc.de>
23852         * org-wl.el (org-wl-store-link-message): Provide link property for
23853         message-id without angle brackets.
23855 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23857         * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23859 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23861         * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23862         file ensuing that the latest changes on disk are represented.
23864 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23866         * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23867         arguments w/o quotes.
23869 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23871         * org-capture.el (org-capture-finalize): Fix clock in of
23872         interrupted task during capture finalize.
23874 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23876         * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23877         session output.
23879 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23881         * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23882         expression for matching main function.
23884 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23886         * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23887         regexp -- it wasn't matching lob lines w/o indices.
23889 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23891         * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23892         warning in org-exp.el.
23894 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23896         * org-publish.el (org-publish-file): Better error message if
23897         base-directory or publishing-directory are not defined.
23899 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23901         * org-colview.el (org-columns-display-here): Use overlays to
23902         overrule line prefix properties during column view.
23904 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23906         * org-agenda.el (org-agenda-filter-preset): Document the
23907         limitation for the filter preset - it can only be used for an
23908         entire agenda view, not in an individual block in a block agenda.
23910 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23912         * ob-table.el (sbe): Now able to accept range references from
23913         tables.
23915 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23917         * ob.el (org-babel-pick-name): If colnames or rownames contain a
23918         list of names, then use those directly.
23920 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23922         * org-exp.el (org-export-format-source-code-or-example):
23923         Escape underscores in code block names on latex listings export.
23925 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23927         * ob-tangle.el (org-babel-with-temp-filebuffer):
23928         Use find-file-noselect to avoid excess buffer movement.
23930 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23932         * org-html.el (org-html-should-inline-p): Only inline images if
23933         they should be.
23935 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23937         * org-id.el (org-id-store-link): Autoload.
23939         * org.el ("org-id"): Autoload `org-id-store-link'.
23941 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23943         * org-html.el (org-html-should-inline-p): Only inline images if
23944         they should be.
23946 2010-11-11  Eric S Fraga  <e.fraga@ucl.ac.uk>
23948         * org-icalendar.el (org-icalendar-alarm-time): New option.
23950         * org-icalendar.el (org-print-icalendar-entries): Timed events are
23951         exported with alarm events, a.k.a. reminders.
23953 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23955         * org-capture.el (org-capture-target-buffer): Throw an error if we
23956         have no target file.
23957         (org-capture-select-template): Use a default template if the user
23958         has not specified any.
23960 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23962         * org.el (org-modules): Add entry for org-velocity.
23964 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23966         * ob-lob.el (org-babel-lob-execute): Changing indentation to
23967         improve line length.
23969 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23971         * org-exp.el (org-export-handle-table-metalines): Choose a better
23972         position for checking protectedness.
23974 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23976         * org-table.el (org-table-convert-region): Don't continue csv
23977         importation which the point catches the end, this fixes an
23978         infinite loop which was caused by the (point) never catching up
23979         with the "end" marker.
23981 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23983         * org-macs.el (org-string-nw-p): New function.
23985         * org-capture.el (org-capture-import-remember-templates):
23986         Interpret an empty string as request to use
23987         `org-default-notes-file'.
23988         (org-capture-target-buffer): If the FILE is not a (non-empty)
23989         string, use `org-default-notes-file'.
23991 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23993         * org-capture.el (org-capture-templates): Fix customize type.
23995 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
23997         * org.el (org-refile-targets):
23998         * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
24000 2010-08-19  Glenn Morris  <rgm@gnu.org>
24002         * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
24003         (org-save-outline-visibility): Move to org-macs.
24004         * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
24005         (org-save-outline-visibility): Move here from org.el.
24006         (show-all): Autoload it.
24007         * ob.el: Don't require org when compiling.
24009 2010-08-18  Glenn Morris  <rgm@gnu.org>
24011         * ob.el: Require org when compiling.
24012         (org-save-outline-visibility): Remove macro declaration.
24013         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
24014         Remove unnecessary/macro declarations.
24015         * org-docview.el: Require doc-view when compiling.
24016         (doc-view-goto-page): Autoload rather than declaring.
24017         (doc-view-current-page): Remove macro declaration.
24019 2010-08-17  Glenn Morris  <rgm@gnu.org>
24021         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
24022         (org-entry-get, org-table-import): Fix declarations.
24023         (org-match-string-no-properties): Remove unnecessary declaration.
24024         * ob-sh.el (org-babel-comint-in-buffer)
24025         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
24026         (org-babel-comint-with-output): Remove unnecessary declarations.
24027         * ob-R.el (orgtbl-to-tsv): Fix declaration.
24028         * org-list.el (org-entry-get): Fix declaration.
24030 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24032         * ob-C.el: New file.
24033         * ob-R.el: New file.
24034         * ob-asymptote.el: New file.
24035         * ob-clojure.el: New file.
24036         * ob-comint.el: New file.
24037         * ob-css.el: New file.
24038         * ob-ditaa.el: New file.
24039         * ob-dot.el: New file.
24040         * ob-emacs-lisp.el: New file.
24041         * ob-eval.el: New file.
24042         * ob-exp.el: New file.
24043         * ob-gnuplot.el: New file.
24044         * ob-haskell.el: New file.
24045         * ob-keys.el: New file.
24046         * ob-latex.el: New file.
24047         * ob-lob.el: New file.
24048         * ob-matlab.el: New file.
24049         * ob-mscgen.el: New file.
24050         * ob-ocaml.el: New file.
24051         * ob-octave.el: New file.
24052         * ob-perl.el: New file.
24053         * ob-python.el: New file.
24054         * ob-ref.el: New file.
24055         * ob-ruby.el: New file.
24056         * ob-sass.el: New file.
24057         * ob-screen.el: New file.
24058         * ob-sh.el: New file.
24059         * ob-sql.el: New file.
24060         * ob-sqlite.el: New file.
24061         * ob-table.el: New file.
24062         * ob-tangle.el: New file.
24063         * ob.el: New file.
24065 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24067         * org-mks.el: New file.
24068         * org-capture.el: New file.
24070 2010-07-19  Christian Egli  <christian.egli@sbszh.ch>
24072         * org-taskjuggler.el: New file.
24074 2010-07-19  Matt Lundin  <mdl@imapmail.org>
24076         * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
24077         in org-agenda-text-search-extra-files.
24079 2010-07-19  David Maus  <dmaus@ictsoc.de>
24081         * org-list.el (org-list-send-list): Locally bind variable `txt'.
24083 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24085         * org.el (org-reload): Now also reloading babel files.
24087 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24089         * org-capture.el (org-capture-set-plist): Make sure txt is a string
24090         before calling `string-match'.
24091         (org-capture-templates): Fix customization type.
24093 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24095         * org-latex.el (org-export-latex-preprocess): Make a special case
24096         for \nbsp.
24097         (org-latex-entities): Remove the entry for \nbsp.
24098         (org-latex-entities-exceptions): Variable removed.
24100 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24102         * org-capture.el (org-capture-refile): Do not try to manipulate
24103         bookmark list.
24105         * org.el (org-refile): Use the correct bookmark here.
24107 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24109         * org-list.el (org-list-send-list): Parse list from its true beginning.
24111         * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
24113 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24115         * org.el (org-insert-link): Correctly determine if we should use
24116         a relative path.
24118 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24120         * org-list.el (org-list-radio-list-templates): Fix templates.
24122 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24124         * org-list.el (org-list-send-list): Regexp defining the start of
24125         a radio list is now on par with the one used for radio tables.
24127 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24129         * org-entities.el (org-entities-help): Add a headline for
24130         the user-defined entities.
24132 2010-07-19  Dirk-Jan C. Binnema  <djcb.bulk@gmail.com>  (tiny change)
24134         * org-agenda.el (org-agenda-action): Document capture key and add it
24135         to the prompt.
24137 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24139         * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
24141 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24143         * org-latex.el (org-export-latex-first-lines): Do not mark
24144         meta lines for removal.  Do not remove BABEL config lines during export.
24146 2010-07-19  David Maus  <dmaus@ictsoc.de>
24148         * org-capture.el (org-capture): Check if
24149         `org-capture-link-is-already-stored' is bound before evaluating.
24151 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24153         * org.el: Add autoload for org-babel-do-load-languages.
24155 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24157         * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
24159 2010-07-19  David Maus  <dmaus@ictsoc.de>
24161         * org-feed.el: Change indentation to match coding style
24162         guideline.
24164 2010-07-19  David Maus  <dmaus@ictsoc.de>
24166         * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
24167         library if necessary.
24169 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24171         * org-beamer.el (org-beamer-amend-header): Standardize the
24172         header cookie for the beamer extra stuff.
24174 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24176         * org-beamer.el (org-beamer-amend-header): Put extra header
24177         last in header.
24179 2010-07-19  David Maus  <dmaus@ictsoc.de>
24181         * org-exp-blocks.el (org-export-blocks-format-ditaa)
24182         (org-export-blocks-format-dot): Remove text properties of body before
24183         calculating cache hash.
24185 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24187         * org-latex.el (org-export-latex-tabular-environment): New option.
24188         (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
24190 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24192         * org-compat.el (org-version-check): New function.
24194         * org-indent.el (org-indent-mode): Check for exact emacs version.
24196 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24198         * org-capture.el (org-capture-templates): Allow the template
24199         to come from a file or function call.
24200         (org-capture-place-entry): Get the template from file or function.
24202 2010-07-19  David Maus  <dmaus@ictsoc.de>
24204         * org-agenda.el (org-agenda-bulk-action): Don't create marker for
24205         position if target is entire file.
24207 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24209         * org.el (org-autoload): Autoload a few more org-table functions.
24211 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24213         * org.el (org-babel-load-languages): Add ob-mscgen.
24215 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24217         * org-latex.el (org-export-latex-tables): Format string now
24218         matches options.
24220 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24222         * org.el (org-babel-load-languages): This variable controls which
24223         languages will be loaded by org-babel.  It is customizable through
24224         the customize interface.
24226 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24228         * org-latex.el (org-export-latex-format-image): Update number of
24229         arguments to allow for an optional short-name.
24231 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24233         * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
24235 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24237         * org-capture.el (org-capture-set-target-location):
24238         Store exact positions for file+regexp and file+function targets.
24239         (org-capture-place-entry, org-capture-place-item)
24240         (org-capture-place-table-line, org-capture-place-plain-text):
24241         Respect exact positions.
24242         (org-capture-finalize): Make sure we are at the beginning of a line
24243         when fixing the empty lines after the entry.
24245 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24247         * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
24248         (org-entry-get): Pass `literal-nil' into
24249         `org-entry-get-with-inheritance'.
24250         (org-todo): React to nil values of the LOGGING property.
24252 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24254         * org.el (org-default-notes-file): Update docstring.
24256 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24258         * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
24260 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24262         * org-exp.el (org-export-attach-captions-and-attributes):
24263         Add a shortname attribute to caption strings under the symbol name
24264         org-caption-shortn.
24266 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24268         * org.el (org-switchb): Rename from `org-iswitchb'.
24269         Improve docstring.
24270         (org-iswitchb): New alias.
24271         (org-ido-switchb): Make alias point to `org-switchb'.
24273 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24275         * org-capture.el (org-capture-fill-template):
24276         Respect time-of-day preference in template prompt.
24278 2010-07-19  David Maus  <dmaus@ictsoc.de>
24280         * org-feed.el (org-feed-unescape): Remove superfluous lambda.
24282 2010-07-19  David Maus  <dmaus@ictsoc.de>
24284         * org-wl.el (org-wl-disable-folder-check): New customization
24285         variable.
24286         (org-wl-open): Disable folder check depending on
24287         `org-wl-disable-folder-check'.
24289 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24291         * org-capture.el (org-capture-set-target-location):
24292         Fix file+function interpretation.
24294 2010-07-19  David Maus  <dmaus@ictsoc.de>
24296         * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
24297         content.
24299 2010-07-19  David Maus  <dmaus@ictsoc.de>
24301         * org-feed.el (xml-entity-alist): Declare variable
24302         `xml-entity-alist' for byte compiler.
24304 2010-07-19  David Maus  <dmaus@ictsoc.de>
24306         * org-feed.el (org-feed-unescape): New function.
24307         Unescape protected entities.
24308         (org-feed-parse-atom-entry): Use function for atom:content
24309         type text and html.
24311 2010-07-19  David Maus  <dmaus@ictsoc.de>
24313         * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
24314         element names.
24316 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24318         * org.el (org-time-string-to-absolute): Ignore cyclic repeater
24319         when displaying items on todays agenda date.
24321 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24323         * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
24324         value of EXTRA.
24326 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24328         * org-publish.el (org-publish-initialize-cache):
24329         Make timestamp directory, the entire path to it.
24331 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24333         * org-exp.el (org-export-handle-comments): Make sure to check
24334         for protection in the comment line, and not in the line after it.
24336 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24338         * org-html.el (org-export-html-preprocess): Call org-format-latex,
24339         possibly with a protect-only argument.
24341         * org.el (org-format-latex): New argument PROTECT-ONLY.
24343 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24345         * org-exp.el (org-export-handle-table-metalines): This function
24346         removes table specific meta-lines, now that we aren't wiping
24347         everything that looks remotely like a comment at the end of the
24348         export process we have to be sure to catch all of the specific lines
24349         in org-exp.el.
24351 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24353         * org-exp.el (org-export-select-backend-specific-text): Properly
24354         get rid of #+Backend and #+ATTR_Backend specifics to backends not
24355         matching the one we're exporting to.
24357 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24359         * org-table.el (orgtbl-to-generic): Add the :remove-newlines
24360         option which will strip newline characters from the text of table
24361         cells and replace then with "\n".
24363 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24365         * org.el (org-confirm-shell-link-function)
24366         (org-confirm-elisp-link-function): Limit the values that can be set by
24367         file variables.
24369 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24371         * org.el (org-compute-latex-and-specials-regexp): Deal with
24372         string elements by discarding them.
24374 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24376         * org.el (org-iswitchb): Make sure to use at least iswitchb.
24378 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24380         * org-capture.el (org-capture-position-for-last-stored)
24381         (org-capture-bookmark-last-stored-position): New functions.
24382         (org-capture-place-table-line): Better error catching.
24383         (org-capture-place-item, org-capture-place-entry)
24384         (org-capture-place-plain-text):
24385         Call `org-capture-position-for-last-stored'.
24386         (org-capture-finalize): Just call
24387         `org-capture-bookmark-last-stored-position'.
24389 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24391         * org-exp.el (org-export-mark-blockquote-verse-center):
24392         Fix small bug, now grabbing match data before overwritten by looking-at
24393         this fixes a problem with remainders of #+end_quote lines appearing
24394         in exported output.
24396 2010-07-19  David Maus  <dmaus@ictsoc.de>
24398         * org.el (org-link-frame-setup): Add customization option for
24399         Wanderlust.
24401 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24403         * org-latex.el (org-export-latex-fixed-width): Now check
24404         org-example rather than org-protected on verbatim export, because by
24405         default all ": " prefixed lines are marked protected.
24407 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24409         * org-latex.el (org-export-latex-fixed-width): Check for
24410         protection before wrapping ": " lines as verbatim.
24412 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24414         * org-exp.el (org-export-handle-comments): Check for protection
24415         before removing comments.
24417 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24419         * org-entities.el (org-entities): Restructure the list.
24420         (org-entities-help): Turn the help output into a buffer
24421         in Org-mode, so that it becomes easier to find a symbol
24422         in the structure.
24423         (org-entities-create-table): Deal with new structure.
24425 2010-07-19  David Maus  <dmaus@ictsoc.de>
24427         * org-agenda.el (org-write-agenda): Use backquotes to expand
24428         `flet' at compile time.
24430 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24432         * org.el (org-entry-properties): Make sure that standard property
24433         names are used even if the user has customized time keywords.
24435 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24437         * org-macs.el (org-not-nil): Return the value if not interpreted
24438         as nil.
24440         * org.el (org-entry-get)
24441         (org-entry-get-with-inheritance): Interpret the value "nil"
24442         as nil for properties.
24444 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24446         * org.el (org-switch-to-buffer-other-window): Return the buffer.
24448 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24450         * org-macs.el (org-not-nil): New function.
24452         * org.el (org-block-todo-from-children-or-siblings-or-parent):
24453         Use `org-not-nil' to interpret a property value of nil.
24455 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24457         * org.el (org-truely-invisible-p): New function.
24458         (org-beginning-of-line): Use `org-truely-invisible-p'.
24460 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24462         * org-agenda.el (org-agenda-get-timestamps): No errors
24463         while getting TODO state.
24464         (org-agenda-highlight-todo): No error when no keyword has
24465         been matched.
24467 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24469         * org.el (org-timestamp-change): New optional argument UPDOWN.
24470         Use this to identify calls from org-timestamp-up/down, so that we can
24471         skip by rounding minutes in this case.
24472         (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
24473         (org-timestamp-down-day): Call org-timestamp-change with the
24474         updown argument.
24476 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24478         * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
24480         * org-capture.el: New file.
24482         * org-compat.el (org-get-x-clipboard): Function moved here from
24483         remember.el.
24485         * org-mks.el: New file.
24487         * org.el (org-set-regexps-and-options): Allow statistic cookies as
24488         part of complex headlines.
24489         (org-find-olp): New argument THIS-BUFFER.  When set, assume that the
24490         OLP does not contain a file name.
24492 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24494         * org.el (org-mode): Set `comment-start' instead of changing the
24495         syntax of the `#' character.
24497 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24499         * org-exp.el (org-export-format-source-code-or-example): Mark examples
24500         by a property.
24502         * org-html.el (org-export-html-close-lists-maybe): Check if raw
24503         HTML stuff was actually made from an example.
24505 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24507         * org-latex.el: Items are no longer skipped when their first line
24508         ends on a protected element.
24510         * org-list.el: Protected environments looking like lists are not
24511         exported anymore.
24513 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24515         * org-exp-blocks.el (org-export-blocks-preprocess):
24516         Cleanup trailing newline after block.
24518 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24520         * org-exp.el: Comment regexp now matches documentation.  No more
24521         protection check when deleting comments before export.
24523 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24525         * org-exp.el (org-export-preprocess-string):
24526         Now using `org-export-handle-include-files-recurse' to resolve
24527         included files.
24529 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24531         * org-agenda.el (org-agenda-get-deadlines)
24532         (org-agenda-get-scheduled):
24533         * org.el (org-time-string-to-seconds):
24534         For deadline and scheduled agenda display ignore the cyclic repeater
24535         when calculating how many days late the task is.  If you have a weekly
24536         task and miss the date the agenda view will show more than a week late
24537         now instead of resetting on the cyclic repeating date.  This makes it
24538         much more obvious when you missed a repeating task after the repeater.
24540 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24542         * org-exp.el (org-export-mark-blockquote-verse-center):
24543         Consider environments that end at eob.
24545 2010-07-19  Mikael Fornius  <mfo@abc.se>
24547         * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
24548         with face `org-special-keyword'.  Make property keys as :LAST_REPEAT:
24549         display correctly.
24551 2010-07-19  Mikael Fornius  <mfo@abc.se>
24553         * org.el (org-at-property-p): Use save-match-data macro instead of let.
24555 2010-07-19  Mikael Fornius  <mfo@abc.se>
24557         * org.el (test): Remove unused test function.
24559 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24561         * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
24563 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24565         * org-exp-blocks.el (org-export-blocks-postblock-hook):
24566         Add documentation to and turn into a defcustom.
24568 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24570         * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
24571         instead of to nil we avoid errors when :prefix1 is defined, but
24572         prefix is not.
24574 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24576         * org-latex.el (org-export-latex-preprocess): Environments coming
24577         from latex backend specific instructions (#+LaTeX) are already
24578         protected and won't be treated as normal environments.
24580 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24582         * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
24584 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24586         * org-timer.el (org-timer-set-timer): Use a prefix argument.
24587         See the docstring of the function.
24589 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24591         * org-timer.el (org-timer-set-timer): Fix bug about canceling
24592         timers.
24594 2010-07-19  David Maus  <dmaus@ictsoc.de>
24596         * org-w3m.el (org-w3m-copy-for-org-mode)
24597         (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
24598         Get text property directly, not using macro `w3m-anchor'.
24600 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24602         * org.el (org-emph-re): Document the match groups.
24604 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24606         * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
24607         t before calling `org-clock-out', so that that function can
24608         know its call context.
24610 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24612         * org-timer.el (org-timer-default-timer): New variable.
24613         (org-timer-set-timer): Use the new variable.  Also offer the
24614         possibility to replace the current timer by a new one.
24616 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24618         * org.el (org-kill-note-or-show-branches): Hide subtree before
24619         exposing the headings.
24621 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24623         * org.el (org-add-planning-info): Remove the empty line also
24624         if there is no whitespace at all in there.
24626         * org-table.el (org-table-align): Fix alignment of strings
24627         with invisible characters.
24629 2010-07-19  David Maus  <dmaus@ictsoc.de>
24631         * org.el (org-refile-cache-get): Return empty list of targets
24632         when cache was cleared.
24633         (org-clone-subtree-with-time-shift): Maybe create ID property
24634         in cloned subtrees.
24635         (org-clone-delete-id): New customization variable.
24636         (org-clone-subtree-with-time-shift): Use customization
24637         variable `org-clone-delete-id'.
24638         (org-clone-subtree-with-time-shift): Remove empty property
24639         drawer in cloned subtrees.
24641 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24643         * org.el (org-refile-use-cache): New option.
24644         (org-refile-cache, org-refile-markers): New variable.
24645         (org-refile-marker, org-refile-cache-clear)
24646         (org-refile-cache-check-set, org-refile-cache-put)
24647         (org-refile-cache-get): New function.
24648         (org-get-refile-targets): Use the refile cache.
24650         * org-clock.el (org-clock-sum): Don't include running clock if
24651         the time block is wrong.
24653 2010-07-19  John Wiegley  <jwiegley@gmail.com>
24655         * org-clock.el (org-clock-clock-in, org-clock-in):
24656         Add parameter `start-time'.
24657         (org-clock-resolve-clock): Add parameter `clock-out-time'.
24658         If set, and resolve-to is a past time, then the clock out
24659         event occurs at `clock-out-time' rather than at `resolve-to'.
24660         In this case, `resolve-to' becomes the clock in time.
24661         (org-clock-jump-to-current-clock): Create new global command
24662         to reveal the current clock.
24663         (org-clock-resolve): Add new commands g/G and j/J, and a
24664         help window describing all commands and their meaning.
24665         (org-clock-resolve-expert): New customization variable.
24666         (org-find-open-clocks): Fix a bug that caused discovered
24667         clocks not to match up with the currently active clock.
24668         (org-resolve-clocks): Change the argument
24669         `also-non-dangling-p' to `only-dangling-p', since due to a bug
24670         this was the default behavior all along.
24672 2010-07-19  David Maus  <dmaus@ictsoc.de>
24674         * org-id.el (org-id-uuid): New function.  Return string with
24675         random (version 4) UUID.
24676         (org-id-method): Make 'uuid the new default value.
24677         (org-id-new): Use `org-id-uuid' if call to uuidgen program
24678         does not return a UUID.
24680 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24682         * org-latex.el (org-export-latex-format-image): Add support
24683         for multicolumn figures in LaTeX.
24685 2010-07-19  David Maus  <dmaus@ictsoc.de>
24687         * org.el (org-clone-subtree-with-time-shift): Remove ID
24688         property of original subtree in cloned subtrees.
24690 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24692         * org-exp.el (org-export-format-source-code-or-example):
24693         XEmacs compatibility.
24695         * org-latex.el (org-export-latex-tables): Accept comma in
24696         align string.
24698         * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24699         (org-export-docbook-xslt-proc-command): Fix docstring.
24700         (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24701         (org-export-as-docbook-pdf):
24702         Improve formatting of the xslt command.
24704         * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24706         * org.el (org-file-contents): Improve error message.
24707         (org-set-regexps-and-options): Remove spaces at both ends.
24709 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24711         * org-docbook.el (org-export-as-docbook-pdf):
24712         Improve formatting of the xslt command.
24714 2010-07-19  Sebastian Rose  <sebastian_rose@gmx.de>
24716         * org-publish.el (org-publish-cache): Use one big hashmap for
24717         each project defined in `org-publish-project-alist'.
24718         (initialize-files-alist): Function removed.
24719         (org-publish-validate-link): Function removed.
24720         (org-publish-get-base-files): Add variable `sitemap-requested'
24721         to avoid sorting where possible.
24722         (org-publish-get-files): Function removed.
24723         (org-publish-get-project-from-filename): Make independent of
24724         file list.
24725         (org-publish-file): New argument NO-CACHE.
24727 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24729         * org.el (org-beginning-of-defun, org-end-of-defun):
24730         New functions.
24731         (org-mode): Install the `org-beginning-of-defun' and
24732         `org-end-of-defun' functions.
24733         (org-pretty-entities): New option.
24734         (org-toggle-pretty-entities): New command.
24735         (org-fontify-entities): New function.
24736         (org-startup-options): New keywords for pretty entities.
24737         (org-set-font-lock-defaults): Call the pretty entities
24738         function.
24740         * org-latex.el (org-export-latex-keywords-maybe): Protect the
24741         TODO markup.
24743 2010-07-19  Mikael Fornius  <mfo@abc.se>
24745         * org-habit.el (org-habit-build-graph): Help-echo date when
24746         mouse is over stars.
24748 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
24750         * org.el (org-file-apps): Improve docstring to reflect
24751         grouping matches.
24753 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24755         * org.el (org-set-startup-visibility): Fix empty line display.
24757         * org-latex.el (org-export-latex-links): Use the formatting
24758         function of the link type, if it is available.
24760         * org-table.el (org-table-get-remote-range): Return to
24761         original buffer when retrieving remote reference.
24763         * org.el (org-display-inline-images): Do the entire buffer,
24764         not just the narrowed region.  Clear the cache.
24765         (org-display-inline-images): Match mode file paths.
24767 2010-07-19  David Maus  <dmaus@ictsoc.de>
24769         * org-wl.el (org-wl-store-link-folder): Don't throw error when
24770         called on WL folder group.
24772 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24774         * org.el (org-replace-escapes): Make sure the cdr is not nil.
24775         (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24776         (org-mode): Revert comment syntax changes.
24778 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24780         * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24781         keywords, and `C-c / T' for a specific one.
24783 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24785         * org.el (org-mode): Fix comment syntax settings.
24787         * org-src.el (org-edit-src-allow-write-back-p):
24788         Define variable.
24790         * org.el (org-inline-image-overlays): New variable.
24791         (org-toggle-inline-images, org-display-inline-images)
24792         (org-remove-inline-images): New commands.
24793         (org-mode-map): Define a key for `org-toggle-inline-images'.
24795 2010-07-19  David Maus  <dmaus@ictsoc.de>
24797         * org-wl.el (org-wl-message-field): New function.
24798         Return content of header field in message entity.
24799         (org-wl-store-link): Call `org-wl-store-link-folder' or
24800         `org-wl-store-link-message' depending on major-mode.
24801         (org-wl-store-link-folder): New function.  Store link to
24802         Wanderlust folder.
24803         (org-wl-store-link-message): New function.  Store link to
24804         Wanderlust message.
24805         (org-wl-store-link-message): Store link to message while
24806         visiting message.
24807         (org-wl-open): Don't try to jump to message when opening a
24808         folder link.
24810 2010-07-19  David Maus  <dmaus@ictsoc.de>
24812         * org.el (org-replace-escapes): Avoid infinite loop when
24813         replace string contains escape sequence it replaces.
24815 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24817         * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24818         encryption when now key is set.
24820 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24822         * org-table.el (org-table-recalculate-buffer-tables)
24823         (org-table-iterate-buffer-tables): New commands.
24825         * org.el (org-check-for-hidden): When there is a region, skip
24826         the check.
24828 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
24830         * org-src.el (org-edit-src-code): allow-write-back-p had
24831         erroneously been omitted from let binding.
24833 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24835         * org-agenda.el (org-sorting-choice): New sorting type alpha.
24836         (org-cmp-alpha): New defsubst.
24837         (org-em): New defsubst.
24838         (org-entries-lessp): Only compute needed comparisons.
24840 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24842         * org-html.el (org-format-org-table-html): Test all columns
24843         for number content.
24845 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24847         * org-latex.el (org-export-latex-treat-sub-super-char):
24848         Make sure parenthesis matching is consistent.
24850         * org-table.el (org-table-colgroup-line-p)
24851         (org-table-cookie-line-p): New functions.
24853         * org-exp.el (org-table-clean-before-export): Better tests for
24854         colgroup and cookie lines.
24856 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24858         * org-agenda.el (org-agenda-goto): Push a mark before changing
24859         the position.
24861         * org-footnote.el (org-footnote): New group.
24862         (org-footnote-section)
24863         (org-footnote-tag-for-non-org-mode-files): Fix typos.
24865         * org-list.el (org-end-of-item-text-before-children): Also do
24866         the right thing at the end of a file.
24868         * org.el (org-set-packages-alist, org-get-packages-alist):
24869         New function.
24870         (org-export-latex-default-packages-alist)
24871         (org-export-latex-packages-alist): Add extra flag to
24872         each package, indicating if it should be used for snippets.
24873         (org-create-formula-image): Add the snippet argument.
24874         (org-splice-latex-header): New argument SNIPPET-P, pass it
24875         through to `org-latex-packages-to-string'.
24876         (org-latex-packages-to-string): New argument SNIPPET-P.
24878         * org-latex.el (org-export-latex-make-header): Add the snippet
24879         argument.
24881         * org-docbook.el (org-export-as-docbook): Implement ordered
24882         lists starting at some offset.
24884 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24886         * org.el (org-link-types, org-open-at-point): Add doi links.
24888         * org-ascii.el (org-export-ascii-preprocess): Remove list
24889         startcounter cookies.
24891         * org-list.el (org-renumber-ordered-list): Respect counter
24892         start values.
24894         * org-latex.el (org-export-latex-lists): Accept ordered list
24895         item offset cookie.
24897         * org-html.el (org-export-as-html): Accept ordered list
24898         item offset cookie.
24900         * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24901         which messes up alignment of tags.
24903 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24905         * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24906         the modeline display is removed.
24908         * org-exp.el (org-export-format-drawer-function):
24909         Fix docstring.
24911         * org-agenda.el (org-agenda-refile): New optional argument
24912         NO-UPDATE.
24913         (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24914         is set.
24915         (org-agenda-bulk-action): Call the refile command with updates
24916         suppressed - but arrange for `org-agenda-redo' to be called at
24917         the end.
24919         * org.el (org-mode): Make table mapping quiet.
24920         (org-table-map-tables): New optional argument QUIETLY.
24922         * org-ascii.el (org-export-ascii-preprocess): Make table
24923         mapping quiet.
24925         * org-html.el (org-export-as-html, org-html-level-start):
24926         Change XHTML IDs to not use dots.
24928         * org-exp.el (org-export-define-heading-targets):
24929         Change XHTML IDs to not use dots.
24931         * org-docbook.el (org-export-docbook-level-start):
24932         Change XHTML IDs to not use dots.
24934         * org-latex.el (org-export-as-latex): Make sure that the
24935         result buffer is in latex-mode.
24937         * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24938         (org-shiftleft-final-hook, org-shiftright-final-hook):
24939         New hooks.
24941 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24943         * org-table.el (org-table-justify-field-maybe): Make sure that
24944         inserting a value does not turn a line into a hline.
24946 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24948         * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24949         (org-clock-sum): Add property to selected headlines.
24950         (org-dblock-write:clocktable): Make tags matcher.
24952         * org.el (org-set-autofill-regexps): XEmacs compatibility.
24954         * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24955         in latex class definitions.
24957         * org.el (org-shiftup-hook, org-shiftdown-hook)
24958         (org-shiftleft-hook, org-shiftright-hook): New hooks.
24960         * org-entities.el (org-entities): Use \land and \lor for logical
24961         operators.
24963         * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24964         indentation commands.
24965         (org-hidden-tree-error): New defsubst.
24966         (org-metaleft, org-metaright): Check for hidden stuff and throw an
24967         error.
24968         (org-check-for-hidden): New function.
24970         * org-list.el (org-item-re): New function.
24971         (org-at-item-p): Use `org-item-re'.
24972         (org-end-of-item-text-before-children): New function.
24973         (org-outdent-item, org-indent-item): Arrange for leaving the
24974         subtree alone.
24975         (org-outdent-item-tree, org-indent-item-tree): New argument
24976         NO-SUBTREE.
24977         (org-indent-item-tree): Use `org-end-of-item-text-before-children'
24978         to find the end for processing while ignoring the subtree.
24980         * org-publish.el (org-publish-sitemap-sort-alphabetically)
24981         (org-publish-sitemap-sort-folders)
24982         (org-publish-sitemap-sort-ignore-case): New options.
24984 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24986         * org-publish.el (org-publish-compare-directory-files): Fix sorting.
24988         * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
24990         * org-publish.el (org-publish-project-alist): Update docstring.
24991         (org-publish-file-title-cache): New variable.
24992         (org-publish-initialize-files-alist):
24993         Initialize `org-publish-initialize-files-alist' to nil.
24994         (org-publish-sort-directory-files): New function.
24995         (org-publish-projects): Access the new properties.
24996         (org-publish-find-title): Use the file title cache.
24997         (org-publish-find-title): Build the file title cache.
24998         (org-publish-get-base-files-1): Sort files.
24999         (org-publish-aux-preprocess): Do not throw an error when before
25000         the first headline.  Allow an empty target, meaning to link just
25001         to the file.
25002         (org-publish-index-generate-theindex.inc): Check if there is
25003         actually a target and only then add it to the link.
25004         (org-publish-projects): Fix a remaining issue with the last commit.
25006         * org-html.el (org-export-as-html): Treat verse as open/close
25007         paragraph.
25008         (org-export-html-close-lists-maybe): Allow to splice raw HTML into
25009         and out of lists.
25011 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
25013         * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
25014         be used in a read-only mode.
25015         (org-edit-src-code): Different message in read-only mode.
25017 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25019         * org-src.el (org-edit-src-find-region-and-lang): Test for
25020         table.el as late as possible.
25022         * org-colview.el: Make sure this file is never loaded into XEmacs.
25024         * org-agenda.el (org-highlight, org-unhighlight): Use direct
25025         overlay calls.
25027         * org.el (org-key): Apply the translations defined in
25028         `org-xemacs-key-equivalents'.
25030         * org-mouse.el (org-mode-hook): Use `org-defkey'.
25032         * org-compat.el (org-xemacs-key-equivalents): New constant.
25034 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25036         * org-inlinetask.el (org-inlinetask-defaut-state): New option.
25037         (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
25038         Obey `org-odd-levels-only'.
25040         * org-compat.el (org-find-overlays): Use overlays-in/at.
25042         * org.el (org-remove-empty-overlays-at)
25043         (org-outline-overlay-data, org-hide-block-toggle)
25044         (org-format-latex, org-context): Use overlays-in/at.
25046         * org-src.el (org-edit-src-exit): Use overlays-in/at.
25048         * org-agenda.el (org-agenda-mark-clocking-task)
25049         (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
25050         (org-agenda-entry-text-hide)
25051         (org-agenda-fix-tags-filter-overlays-at)
25052         (org-agenda-bulk-remove-overlays): Use overlays-in/at.
25054         * org-compat.el (org-overlays-at): Function removed.
25055         (org-overlays-in): Function removed.
25057 2010-07-19  Bastien Guerry  <bzg@gnu.org>
25059         * org-clock.el (org-clock-set-current): Just return the headline
25060         itself, strip the TODO keyword, the priority cookie and the tags.
25062 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25064         * org-compat.el (org-xemacs-without-invisibility): New macro.
25065         (org-xemacs-without-invisibility): New macro.
25066         (org-indent-to-column, org-indent-line-to, org-move-to-column):
25067         Redefine using the macro `org-xemacs-without-invisibility'.
25069         * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
25071         * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
25073         * org-compat.el (org-make-overlay, org-delete-overlay)
25074         (org-overlay-start, org-overlay-end, org-overlay-put)
25075         (org-overlay-get, org-overlay-move, org-overlay-buffer):
25076         Functions removed.
25077         (org-add-to-invisibility-spec): Function removed.
25079         * org-html.el (org-export-as-html-and-open): Add argument to
25080         kill-buffer.
25082         * org-habit.el (require): `calendar' is now required already by
25083         org.el on top level.
25085         * org-clock.el (require): `calendar' is now required already by
25086         org.el on top level.
25088         * org-agenda.el (require, org-timeline, org-agenda-list)
25089         (org-todo-list, org-agenda-to-appt): `calendar' is now required
25090         already by org.el on top level.
25092         * org.el (org-export-latex-fix-inputenc): Declare function.
25094         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25095         variables.
25097         * org.el (calendar): Require calendar now on top level in org.el
25098         and define aliases to new variables when needed.
25099         (org-read-date, org-goto-calendar): Do not bind obsolete
25100         variables.
25102         * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
25103         compilation warning, add comment that this cannot be done with
25104         `with-current-buffer'.
25106         * org-wl.el (org-wl-open): Use `with-current-buffer'.
25108         * org.el (overlay, org-remove-empty-overlays-at)
25109         (org-outline-overlay-data, org-set-outline-overlay-data)
25110         (org-show-block-all, org-hide-block-toggle)
25111         (org-highlight-new-match, org-remove-occur-highlights)
25112         (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
25113         (org-read-date, org-read-date-display, org-eval-in-calendar)
25114         (org-format-latex, org-context)
25115         (org-speedbar-restriction-lock-overlay)
25116         (org-speedbar-set-agenda-restriction): Use the normal overlay API.
25118         * org-table.el (org-table-add-rectangle-overlay)
25119         (org-table-remove-rectangle-highlight)
25120         (org-table-overlay-coordinates)
25121         (org-table-toggle-coordinate-overlays): Use the normal overlay
25122         API.
25124         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
25125         (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
25126         normal overlay API.
25128         * org-colview.el (org-columns-new-overlay)
25129         (org-columns-display-here, org-columns-remove-overlays)
25130         (org-columns-edit-value, org-columns-next-allowed-value)
25131         (org-columns-update): Use the normal overlay API.
25133         * org-clock.el (org-clock-out, org-clock-cancel)
25134         (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
25135         overlay API.
25137         * org-agenda.el (org-agenda-mark-filtered-text)
25138         (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
25139         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
25140         (org-agenda-entry-text-hide)
25141         (org-agenda-restriction-lock-overlay)
25142         (org-agenda-set-restriction-lock)
25143         (org-agenda-filter-by-tag-hide-line)
25144         (org-agenda-fix-tags-filter-overlays-at)
25145         (org-agenda-filter-by-tag-show-all, org-hl)
25146         (org-agenda-goto-calendar, org-agenda-bulk-mark)
25147         (org-agenda-bulk-remove-overlays): Use the normal overlay API.
25149         * org-freemind.el (org-freemind-from-org-mode-node)
25150         (org-freemind-from-org-mode)
25151         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25152         Use interactive-p instead of called-interactively, because this is
25153         backward compatible with older Emacsen I still support..
25155 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25157         * org-exp.el (org-export-define-heading-targets): Fix bug in
25158         regexp finding ID and CUSTOM_ID properties.
25160 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25162         * org-footnote.el (org-footnote-goto-previous-reference):
25163         Rename from `org-footnote-goto-next-reference'.
25165         * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
25166         org-log-repeat is non-nil, or if there is clocking data in the
25167         entry.
25169         * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
25171 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25173         * org.el (org-align-all-tags): New command.
25175 2010-07-19  David Maus  <dmaus@ictsoc.de>
25177         * org-wl.el (org-wl-link-remove-filter): New customizable
25178         variable.  If non-nil, filter conditions are stripped when storing
25179         link to message in filter folder.
25180         (org-wl-shimbun-prefer-web-links): New customizable variable.
25181         If non-nil, links to shimbun messages are created as web links to
25182         message source.
25183         (org-wl-nntp-prefer-web-links): New customizable variable.
25184         If non-nil, links to nntp message are created as web links to gmane
25185         or googlegroups.
25186         (org-wl-namazu-default-index): New customizable variable.
25187         Directory of namazu search index that should be used as default
25188         when opening a link in a search folder.
25189         (org-wl-folder-types): New constant.  Wanderlust folder type
25190         indicators.
25191         (org-wl-folder-type): New function.  Return type of Wanderlust
25192         folder.
25193         (org-wl-store-link): Create web links for shimbun or nntp messages
25194         and strip filter conditions depending on customizable variables.
25195         (org-wl-open): Open namazu search folder for message when called
25196         with prefix.
25198 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25200         * org.el (org-remove-if, org-remove-if-not): New functions.
25201         (org-open-file): Use internal remove-if functions.
25203 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25205         * org.el (org-file-apps-entry-match-against-dlink-p): New function.
25206         (org-file-apps-ex): Remove variable.
25207         (org-open-file): Integrate org-file-apps-ex functionality back
25208         into org-file-apps, and decide whether to match a regexp against
25209         the link or the filename using org-file-apps-entry-uses-grouping-p.
25211 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25213         * org.el (org-file-apps-ex): New variable.
25214         (org-open-file): Before considering org-file-apps, first match the
25215         regexps from org-file-apps-ex against the whole link.
25216         See docstring of org-file-apps-ex.
25218 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25220         * org.el (org-export-latex-default-packages-alist):
25221         Remove microtype package.
25222         (org-todo-repeat-to-state): New variable.
25223         (org-auto-repeat-maybe): Allow user-selected target states.
25224         (org-default-properties): Add the new property REPEAT_TO_STATE.
25226 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25228         * org-mobile.el (org-mobile-check-setup): Make sure that there is
25229         a binary to compute checksums.
25231 2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
25233         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25234         variables.
25236         * org.el (calendar): Require calendar now on top level in org.el
25237         and define aliases to new variables when needed.
25238         (org-read-date, org-goto-calendar): Do not bind obsolete
25239         variables.
25241 2010-06-22  Glenn Morris  <rgm@gnu.org>
25243         * org-entities.el: Add explicit utf-8 coding cookie to file with
25244         utf-8 characters.
25246 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25248         * org.el (org-file-complete-link): Avoid (expand-file-name ".").
25250 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
25252         * Version 23.2 released.
25254 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25256         * org-table.el (orgtbl-setup):
25257         * org-agenda.el (org-agenda-entry-text-mode): Simplify.
25259 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25261         * org-table.el (orgtbl-mode): Use define-minor-mode.
25263 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25265         * org.el (org-insert-link): Find the link buffer on visible frames.
25266         (org-export-latex-default-packages-alist): Hyperref must be loaded
25267         late.
25268         (org-open-file): More care with the new matching for file links.
25270 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25272         * org-latex.el (org-export-latex-preprocess): Do not yet protect
25273         defined entities - these will be taken care of later.
25274         (org-export-latex-special-chars): Post-process entity replacement.
25275         (org-export-latex-fontify-headline): Do not yet protect defined
25276         entities - these will be taken care of later.
25277         (org-export-latex-tables, org-export-latex-links): Format the
25278         caption properly.
25280         * org-entities.el (org-entities-user): Fix typo.
25282         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
25284         * org-entities.el (org-entities-user): Improve docstring.
25286 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25288         * org-entities.el (org-macs): Require org-macs, to be sure that we
25289         have `declare-function' defined.
25291 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25293         * org-latex.el (org-export-latex-classes): Update docstring.
25295         * org.el (org-format-latex-header): Add cookies to the header.
25296         (org-splice-latex-header): Implement placement according to cookies.
25298 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25300         * org-publish.el (org-publish-aux-preprocess): Control case
25301         sensitivity.
25303 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25305         * org.el (org-splice-latex-header): Fix typo.
25307 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25309         * org-latex.el (org-export-latex-make-header):
25310         Use `org-splice-latex-header' to build the header.
25311         (org-export-latex-classes): Update docstring.
25313         * org.el (org-splice-latex-header): New function.
25314         (org-create-formula-image): Use `org-splice-latex-header' to build
25315         the header.
25317         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
25319 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25321         * org.el (org-export-latex-packages-alist)
25322         (org-export-latex-default-packages-alist): Fix docstring to
25323         reflect the expected structure.
25325         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
25326         (org-export-docbook-finalize-table): Make use of label for tables.
25328 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25330         * org-attach.el (org-attach-commit): Split on newlines.
25332         * org.el (org-export-latex-default-packages-alist): Use list
25333         instead of cons for the entries.
25335 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25337         * org-entities.el (org-entity-get-representation): Catch the case
25338         that there is not entry in the list.
25340         * org-mobile.el (org-mobile-use-encryption)
25341         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
25342         New options.
25343         (org-mobile-check-setup): CHeck the encryption setup.
25344         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
25345         (org-mobile-create-sumo-agenda): Use encryption code.
25346         (org-mobile-encrypt-and-move): New function.
25347         (org-mobile-encrypt-file, org-mobile-decrypt-file):
25348         New functions.
25349         (org-mobile-move-capture): Decrypt the capture file.
25351         * org.el (org-entities): Require the new file.
25352         (org-export-latex-default-packages-alist): New variable.
25353         (org-complete): Use new entity code for completion.
25354         (org-create-formula-image): Use the new packages variable.
25356         * org-latex.el (org-export-latex-classes): Remove the standard
25357         packages from the class headers.
25358         (org-export-latex-make-header): Use the new package variable.
25359         (org-export-latex-special-chars): Better regexp for entities, to
25360         support entity name that contain numbers.
25361         (org-export-latex-treat-backslash-char): Use the new entity code.
25363         * org-html.el (org-html-do-expand): Use the new entity code.
25365         * org-exp.el (org-export): Add the new export commands.
25366         (org-html-entities): Constant removed.
25367         (org-export-visible): Add the new export commands.
25369         * org-docbook.el (org-docbook-do-expand): Use new entity code.
25371         * org-ascii.el (org-export-ascii-entities): New variable.
25372         (org-export-as-latin1, org-export-as-latin1-to-buffer)
25373         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
25374         (org-export-as-encoding): New function.
25375         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
25376         (org-ascii-replace-entities): New function.
25378 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25379             Ulf Stegemann  <ulf@zeitform.de>
25381         * org-entities.el: New file.
25383 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25385         * org-html.el (org-html-level-start): Catch the case that target
25386         might be nil.
25388 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25390         * org.el (org-appearance): Change Customize group variable name
25391         from org-font-lock to org-appearance, and change tag from "Org
25392         Font Lock" to "Org Appearance".
25393         (org-odd-levels-only): Change Customize group variable name.
25394         (org-level-color-stars-only): Change Customize group variable name.
25395         (org-hide-leading-stars): Change Customize group variable name.
25396         (org-hidden-keywords): Change Customize group variable name.
25397         (org-fontify-done-headline): Change Customize group variable name.
25398         (org-fontify-emphasized-text): Change Customize group variable name.
25399         (org-fontify-whole-heading-line): Change Customize group variable name.
25400         (org-highlight-latex-fragments-and-specials): Change Customize
25401         group variable name.
25402         (org-hide-emphasis-markers): Change Customize group variable name.
25403         (org-emphasis-alist): Change Customize group variable name.
25404         (org-emphasis-regexp-components): Change Customize group variable
25405         name.
25406         (org-modules): Remove mention of org-R.
25408         * org-faces.el (org-faces): Change Customize group variable name.
25410 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25412         * org-agenda.el (org-diary-last-run-time): New variable.
25413         (org-diary): Prepare agenda buffers only if last call was some
25414         time ago.
25416         * org-html.el (org-export-html-preprocess): Replace \ref macros
25417         with a link.
25418         (org-format-org-table-html): Add the label as an anchor.
25420         * org-docbook.el (org-export-docbook-format-image): Do some
25421         formatting on captions.
25423         * org-latex.el (org-export-latex-tables, org-export-latex-links):
25424         Do some formatting on captions.
25426         * org-html.el (org-export-html-format-image)
25427         (org-format-org-table-html): Do some formatting on captions.
25429 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25431         * org.el (org-hidden-keywords): New customizable variable.  This is
25432         a list of symbols specifying which of the special keywords #+DATE,
25433         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
25434         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
25435         implementing new faces and hiding behavior.
25437         * org-faces.el (org-document-title): New face for #+TITLE lines.
25438         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
25439         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
25440         keywords.
25442 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25444         * org-publish.el (org-publish-sanitize-plist): New function to
25445         rename "index" properties to "sitemap".  Do this renaming
25446         globally.
25447         (org-publish-with-aux-preprocess-maybe): New macro.
25448         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
25449         macro.
25450         (org-publish-aux-preprocess)
25451         (org-publish-index-generate-theindex.inc): New function.
25453 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25455         * org-table.el (org-table-align): Interpret <N> at fixed width,
25456         not as maximum width.
25458 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25460         * org-exp.el (org-export-author-info, org-export-email-info):
25461         Fix docstrings.
25463         * org-beamer.el (org-beamer-select-environment): Rename from
25464         `org-beamer-set-environment-tag'.  Improve docstring.
25466         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
25467         problem with odd levels.
25469         * org-ascii.el (org-export-as-ascii): Export email only if the
25470         author wants it.
25472         * org-docbook.el (org-export-as-docbook): Export email only if the
25473         author wants it.
25475         * org-html.el (org-export-as-html): Export email only if the
25476         author wants it.
25478         * org-exp.el (org-export-email-info): New option.
25479         (org-export-plist-vars): Add entry for `org-export-email'.
25481 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25483         * org-table.el (org-table-goto-line): Fix typo.
25485 2010-04-10  Mikael Fornius  <mfo@abc.se>
25487         * org.el (org-agenda-files): Typo.
25488         (org-read-agenda-file-list): Add optional argument to help
25489         `org-store-new-agenda-file-list' to remember un-expanded file
25490         names.  Expand file names relative to `org-directory'.
25491         (org-store-new-agenda-file-list): Keep un-expanded file names when
25492         saving, if available.
25493         (org-agenda-files): Update documentation.
25495 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25497         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
25498         a buffer with no file name attached.
25500         * org.el (org-log-refile): New option.
25501         (org-log-note-headings): Add a heading for refiling.
25502         (org-startup-options): Add keywords for logging of the refile
25503         action.
25504         (org-refile): Add logging action.
25505         (org-add-log-note): Allow for refiling action.
25507         * org-agenda.el (org-agenda-bulk-action): Make sure
25508         `org-log-refile' is not `note' during a bulk action.
25510 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25512         * org.el (org-map-dblocks): Use save-excursion to remember the
25513         position.
25515         * org-attach.el (org-attach-commit): Remove dependence on xargs.
25516         (org-attach-delete-one): Commit after deleting a file.
25518         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
25519         borders for strike-through emphasis.
25521         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
25522         handling of odd levels.
25524         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
25525         and `future' values.
25526         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25527         Handle `past' and `future' values.
25529         * org.el (org-read-agenda-file-list): Interpret file names
25530         relative to org-directory and allow environment variables and
25531         "~".
25533         * org-latex.el (org-export-latex-special-chars): Allow a
25534         parenthesis before an exponent or subscript.
25536 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25538         * org-src.el (org-edit-src-exit): When returning from code edit
25539         buffer, if code block is hidden, leave point at start of
25540         #+begin_src line.
25542 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25544         * org.el (org-insert-heading): Do not remove all spaces if the
25545         headline is empty.
25547         * org-indent.el (org-indent): Fix group name.
25549 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25551         * org-table.el (org-table-goto-column): Fix forcing a non-existing
25552         column.
25553         (org-table-get, org-table-put, org-table-goto-line)
25554         (org-table-current-line): New functions.
25556 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
25558         * org.el (org-open-file): Allow regular expressions in
25559         org-file-apps to capture link parameters using groups.  In a
25560         command string to be executed, the parameters can be referenced
25561         using %1, %2, etc.  Lisp forms can access them using
25562         (match-string n link).
25563         (org-apps-regexp-alist): Adopt the created regexp, as this is now
25564         matched against a file: link instead of the file name.
25566 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25568         * org-crypt.el (org-reveal-start-hook): Add a decryption function
25569         to this hook.
25570         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
25571         Add docstrings.
25573         * org.el (org-point-at-end-of-empty-headline)
25574         (org-level-increment, org-get-previous-line-level): New function.
25575         (org-cycle-level): Rewritten to be independent of when this
25576         function is called.
25577         (org-in-regexps-block-p): New function.
25578         (org-reveal-start-hook): New hook.
25579         (org-reveal): Run new hook.
25581 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25583         * org-latex.el (org-export-latex-keywords): Start a new paragraph
25584         after time keywords, do not add "\newline".
25586         * org-html.el (org-export-as-html): Avoid double # in href.
25588         * org.el (org-refile-get-location): Catch an invalid target
25589         specification.
25591 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25593         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25594         Make sure the behavior regarding to extracting time is
25595         consistent.
25597 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25599         * org-agenda.el (org-agenda-insert-diary-extract-time):
25600         New variable.
25601         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
25602         variable rather than `org-agenda-search-headline-for-time'.
25604 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25606         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
25608 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25610         * org.el (org-adaptive-fill-regexp-backup): New variable.
25611         (org-set-autofill-regexps): Store a backup of
25612         `adaptive-fill-regexp'.
25613         (org-adaptive-fill-function): Fix filling of comments and ordered
25614         lists.  If there is no other match, till try adaptive fill.
25616 2010-04-10  John Wiegley  <jwiegley@gmail.com>
25618         * org-agenda.el (org-agenda-include-deadlines): Add new
25619         customization variable to determine whether unscheduled tasks
25620         should appear in the agenda solely because of their deadline.
25621         Default to true, which was the previous behavior (it just wasn't
25622         configurable).
25623         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
25624         the agenda to show/hide deadline tasks.
25625         (org-agenda-menu): Add menu option for show/hide deadlines.
25626         (org-agenda-list): Make the agenda list sensitive to the value of
25627         `org-agenda-include-deadlines'.
25628         (org-agenda-toggle-deadlines): New function to toggle the value of
25629         `org-agenda-include-deadlines' and repaint the modeline
25630         indicators.
25631         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25632         modeline if deadline tasks are being displayed.
25634 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25636         * org-table.el (org-table-eval-formula): Replace $# and @# by
25637         current column and row number.
25639 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25641         * org.el (org-set-property, org-delete-property): Go back to
25642         prompting for the property.
25644         * org-latex.el (org-export-latex-make-header): Fully process
25645         author line.
25646         (org-export-latex-fontify-headline): Allow several arguments, not
25647         just one.
25648         (org-export-latex-fix-inputenc): Catch the error when
25649         `latexenc-coding-system-to-inputenc' is not defined.
25651         * org-agenda.el (org-agenda-skip-if-todo): New function.
25652         (org-agenda-skip-if): Add conditions for TODO keywords.
25653         (org-agenda-skip-if): Document the new todo conditions.
25655 2010-04-10  Mikael Fornius  <mfo@abc.se>
25657         * org.el (org-at-property-p): Check if we are inside a property
25658         drawer not just any drawer.
25659         (org-set-property, org-delete-property): When cursor is on a
25660         property key value pair do not prompt for property name instead
25661         use name at cursor.
25662         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25663         on the first line of a property drawer.
25664         (org-property-end-re): Spell check.
25666 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25668         * org-exp.el (org-export-attach-captions-and-attributes): Add the
25669         properties to the entire table, in case the first line is
25670         removed.
25672         * org-archive.el (org-archive-reversed-order): New option.
25673         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25674         option `org-archive-reversed-order'.
25676 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25678         * org-agenda.el (org-agenda-entry-types): New variable.
25679         (org-agenda-list): Use `org-agenda-entry-types'.
25680         (org-agenda-custom-commands-local-options): Support for setting
25681         `org-agenda-entry-types' as an option.
25682         (org-diary): Shift some documentation from here to the variable
25683         `org-agenda-entry-types'.
25685 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25687         * org-latex.el (org-export-latex-make-header): Apply macros in
25688         author field.
25690         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25691         (org-clock-select-task, org-clock-notify-once-if-expired)
25692         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25693         (org-clock-out-if-current, org-clock-save): Use the new functions.
25695 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25697         * org-docbook.el (org-export-as-docbook): Remove unnecessary
25698         newline.
25699         (org-export-as-docbook): Remove unnecessary newline.
25700         (org-export-as-docbook): Fix problem with double footnote
25701         reference in one place.
25703         * org-exp.el (org-export-format-source-code-or-example):
25704         Remove unnecessary newline.
25706         * org.el (org-deadline, org-schedule): Allow rescheduling entries
25707         with repeaters.
25709         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25710         function calls that look like references.
25712         * org.el (org-open-at-point): Get link abbreviations from
25713         reference buffer.
25715 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25717         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25718         as a reference.
25720 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25722         * org.el (org-link-unescape): Solve issue with lower-case escapes.
25724 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25726         * org-latex.el (org-export-latex-classes):
25727         Add \usepackage{latexsym} to all classes.
25729 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25731         * org-html.el (org-export-as-html): Do not allow protected lines
25732         into the table of contents.
25734         * org-latex.el (org-export-latex-special-chars): Find subsequent
25735         occurrences of special characters.
25736         (org-export-latex-tables): Do not convert table-like stuff that is
25737         protected.
25739 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25741         * org-list.el (org-toggle-checkbox): No errors when updating
25742         checkbox count fails because there is no heading.
25744 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25746         * org-clock.el (org-clock-report-include-clocking-task):
25747         New option.
25748         (org-clock-sum): Add the current clocking task.
25750 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25752         * org.el (org-cycle): Print a message when in a table.el table.
25753         (org-edit-special): Recognize the table.el context.
25754         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25756         * org-src.el (org-at-table.el-p): Declare.
25757         (org-edit-src-code): Handle a special case for table.el editing.
25758         (org-edit-src-find-region-and-lang): Recognize the table.el
25759         context.
25761         * org-latex.el (org-export-latex-tables): Convert table.el
25762         tables.
25763         (org-export-latex-convert-table.el-table): New function.
25765         * org-html.el (org-html-expand): Fix table.el export.
25767         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25768         headings.
25770         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25771         table for the id locations.
25773         * org.el (org-read-date-analyze): Match American-style dates, like
25774         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
25775         current year when reading ISO and American dates.
25777 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25779         * org.el (org-face-from-face-or-color): New function.
25780         (org-get-todo-face, org-font-lock-add-priority-faces)
25781         (org-get-tag-face): Use `org-face-from-face-or-color'.
25783         * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25784         Allow simple colors as values.
25785         (org-faces-easy-properties): New option.
25787         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25788         restricted, as an agenda mode.
25789         (org-agenda-fontify-priorities): Allow simple colors as values.
25791 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25793         * org-timer.el (org-timer-current-timer): Rename from
25794         `org-timer-last-timer'.
25795         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25796         (org-timer-cancel-timer, org-timer-show-remaining-time)
25797         (org-timer-set-timer): Update to use only one timer.
25799         * org.el (org-set-property): Remove useless space in the prompt.
25801 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25803         * org-html.el (org-export-html-style-default): Add a default style
25804         for textareas.
25806         * org-exp.el (org-export-format-source-code-or-example):
25807         Fix textarea tag.
25809 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25811         * org-clock.el (org-clock-current-task): New variable to store
25812         last clocked in task.
25813         (org-clock-set-current, org-clock-delete-current): New functions.
25815 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25817         * org-remember.el (org-remember-apply-template): Extend comment.
25818         (org-remember-handler): Implement clock sibling filing.
25820 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25822         * org-publish.el (org-publish-all, org-publish-current-file)
25823         (org-publish-current-project): When called with prefix argument
25824         FORCE, also rebuild the validation file list.
25826         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25827         section headings.
25829 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25831         * org-html.el (org-export-as-html-and-open): Kill product buffer
25832         if the user wants that.
25834         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25835         if the user wants that.
25837         * org-exp.el (org-export-kill-product-buffer-when-displayed):
25838         New option.
25840         * org-agenda.el (org-batch-agenda-csv): Use the time property
25841         instead of the `time-of-day' property.
25843 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25845         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25846         (org-timer-pause-hook, org-timer-set-hook)
25847         (org-timer-cancel-hook): New hooks.
25848         (org-timer-start): Run `org-timer-start-hook'.
25849         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25850         (org-timer-stop): Run `org-timer-stop-hook'.
25851         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25853 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25855         * org.el (org-reveal): Double prefix arg shows the subtree of the
25856         parent.
25858 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25860         * org-agenda.el (org-search-view): Fix bug with searching full
25861         words in headlines in search view.
25862         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25863         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25864         scheduled (if the user configures it so.
25866 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25868         * org.el (org-hide-archived-subtrees): Don't jump to end of
25869         subtree if the match was not in a headline.
25870         (org-inside-latex-macro-p): Allow more complex arguments.
25871         (org-emphasize): Protect against use at end of buffer.
25873 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25875         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25876         text properties.
25878 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25880         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25881         values.
25882         (org-agenda-todo-ignore-scheduled)
25883         (org-agenda-todo-ignore-deadlines): More control with different
25884         allowed values.
25885         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25886         Honor the new option settings.
25888 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25890         * org.el (org-get-location): Make sure the selection buffer is
25891         shown in the current frame.
25893         * org-ascii.el (org-export-ascii-table-widen-columns):
25894         New option.
25895         (org-export-ascii-preprocess): Realign tables to remove narrowing
25896         if `org-export-ascii-table-widen-columns' is set.
25898         * org-table.el (org-table-do-narrow): New variable.
25899         (org-table-align): Narrow only if `org-table-do-narrow' is t.
25901         * org.el (org-deadline, org-schedule): Allow updating if the
25902         relevant time stamp does not have a repeater, i.e. do not require
25903         that no time stamp has a repeater.
25905         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25906         new white space before the tags.
25908         * org-latex.el (org-export-as-latex): Do nit require the buffer to
25909         be visiting a file when only exporting to a buffer or string.
25910         (org-export-latex-fix-inputenc): Only save the buffer is there is
25911         a file name attached to it.
25913 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25915         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25917 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25919         * org.el (org-fontify-meta-lines-and-blocks):
25920         Honor `org-fontify-quote-and-verse-blocks'.
25922         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25924 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25926         * org.el (org-open-at-point): Also check for text property
25927         org-linked-text before offering collected links.
25929 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25931         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25932         Optionally extract time specification from text and add to the
25933         timestamp.
25935 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25937         * org-exp.el (org-html-entities): Fix typo.
25939         * org-latex.el (org-export-latex-make-header): Use \providecommand
25940         to make sure the \alert macro is defined.
25942         * org.el (org-format-latex-signal-error)
25943         (org-create-formula-image): Use `org-format-latex-signal-error'.
25945 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25947         * org.el (org-store-link): For dired buffers, use
25948         default-directory as link name if dired-get-filename returns
25949         nil.
25951 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25953         * org-exp.el (org-export-concatenate-multiline-links): The for
25954         protectedness at beginning of match.
25956         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25957         AUTO as a coding system, instead default to utf8.
25959 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25961         * org.el (org-block-todo-from-children-or-siblings-or-parent)
25962         (org-block-todo-from-checkboxes): Respect the local variable
25963         value when deciding if blocking should be active.
25965         * org-latex.el (org-export-latex-make-header): Define the align
25966         macro if it is not yet defined.
25968         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25969         Call `org-insert-heading' with the INVISIBLE-OK argument.
25971         * org-mac-message.el (org-mac-message-insert-flagged):
25972         Call `org-insert-heading' with the INVISIBLE-OK argument.
25974         * org.el (org-insert-heading): New argument INVISIBLE-OK.
25976         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
25977         prompt message.
25979         * org-html.el (org-html-level-start): Use the
25980         `html-container-class' text property to set an additional class
25981         for an outline container.
25983         * org-exp.el (org-export-remember-html-container-classes):
25984         New function.
25985         (org-export-preprocess-string):
25986         Call `org-export-remember-html-container-classes'.
25988         * org.el (org-cycle): Mention level cycling in the docstring.
25989         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
25991         * org-remember.el (org-remember-apply-template): Do file insertion
25992         first.
25994 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25996         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
25997         problem with mis-aligned graphs when showing habits.
25999 2010-04-10  Mikael Fornius  <mfo@abc.se>
26001         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
26002         when assigning.  Begin using numerical characters when all in name
26003         is used up.  This is to spare alphanumeric characters for better
26004         match with other keywords.
26006 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26008         * org-exp.el (org-export-preprocess-hook): Improve documentation.
26010         * org-latex.el (org-export-latex-preprocess): More consistent
26011         conversion and protection of the words LaTeX and TeX.
26012         (org-export-latex-fontify-headline, org-export-latex-preprocess):
26013         Allow angle brackets in commands, for beamer.
26015 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26017         * org-clock.el (org-clock-in): Improve the look of the clock line
26018         by formatting links.
26020 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26022         * org-latex.el (org-export-latex-classes): Use AUTO as the place
26023         holder string for the coding system.  And improve the
26024         documentation.
26025         (org-export-latex-fix-inputenc): Only modify the coding system if
26026         it is given by the placeholder AUTO.
26028 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26030         * org-clock.el (org-task-overrun-text): New option.
26031         (org-task-overrun, org-clock-update-period): New variables.
26032         (org-clock-get-clock-string, org-clock-update-mode-line):
26033         Mark overrun clock.
26034         (org-clock-notify-once-if-expired): Check if clock is overrun.
26036         * org-faces.el: New face `org-mode-line-clock-overrun'.
26038 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26040         * org.el (org-narrow-to-subtree): Position the end of the narrowed
26041         region before the line with the next heading, to prevent the user
26042         from prepending text to the next headline.
26044 2010-04-10  Stephen Eglen  <stephen@gnu.org>
26046         * org-agenda.el (org-get-time-of-day):
26047         Use org-agenda-time-leading-zero to allow leading zero (rather than
26048         space) for times.
26050 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26052         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26053         org-datetree.el is loaded.
26055         * org-datetree.el: Autoload `org-datetree-find-day-create'.
26057         * org-latex.el (org-export-latex-hyperref-format): New option.
26058         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
26060 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26062         * org-ctags.el (org-ctags-enable): Change order of functions.
26063         (org-ctags-create-tags): Add wildcard to file name expansion.
26065 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26067         * org.el (org-entry-properties): Fix some important bugs.
26069 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26071         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
26072         the table is not explicitly given.
26074 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26076         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
26077         as value.
26078         (org-clock-out-if-current): Work with the new list value of
26079         `org-clock-out-when-done'.
26080         (org-clock-out, org-clock-out-if-current): Avoid circular logic
26081         between clocking out and state changes.
26083         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
26085         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
26086         accident protect a character that is before a backslash.
26088 2010-04-10  Paul Sexton  <eeeickythump@gmail.com>
26090         * org-ctags.el: New file.
26092 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26094         * org-agenda.el (org-diary-class):
26095         Use `org-order-calendar-date-args'.
26097         * org.el (org-order-calendar-date-args): New function.
26099         * org-exp.el (org-export-target-internal-links): Check for
26100         protectedness after the first bracket.
26102         * org.el (org-entry-properties): Don't match wrong-case TODO
26103         keywords.
26105         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
26106         Document that ARG is passed through to remove the date.
26107         (org-agenda-bulk-action): Accept prefix arg and pass it on.
26108         Do not read a date when the user has given a `C-u' prefix.
26110 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26112         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
26113         tags are hidden.
26115 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26117         * org-latex.el (org-export-latex-fix-inputenc): New function.
26118         (org-export-latex-inputenc-alist): New option.
26120         * org-exp.el (org-export): New key SPC to publish enclosing
26121         subtree.
26123 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26125         * org-indent.el (org-indent-add-properties): Catch case when there
26126         is no headline in the buffer.
26128 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26130         * org-exp.el (org-html-entities): Add checkmark symbol.
26132         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
26133         verbatim code for ASCII export.
26135         * org.el (org-update-statistics-cookies): Also see checkboxes in
26136         ordered lists.
26138 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26140         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
26141         key.
26143         * org-beamer.el (org-beamer-amend-header): Change the location
26144         where `org-beamer-header-extra' is inserted.
26146         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
26147         just for computing this regexp.
26149 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26151         * org-beamer.el (org-beamer-frame-default-options): New option.
26152         (org-beamer-sectioning): Use default options if the user does not
26153         have defined any.
26154         (org-beamer-fix-toc): Put a frame around the table of contents.
26156         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
26157         Make sure case-folding works well when processing comment stuff.
26159         * org-latex.el (org-export-latex-after-save-hook): New hook.
26160         (org-export-as-latex): Run the new hook.
26162 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26164         * org-beamer.el (org-beamer-environments-default): Add the note
26165         environments.
26166         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
26167         lines and collect and combine the content.
26168         (org-beamer-after-initial-vars): Check for note tags and make sure
26169         they will be seen like a property.
26171         * org.el (org-offer-links-in-entry): Fix bug when there is a
26172         single link.
26174         * org-exp.el (org-export): Make sure the mark is activated, also
26175         when `transient-mark-mode' is off.
26177         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
26178         (org-agenda-search-view-search-words-only): Obsolete variable, is
26179         now an alias for `org-agenda-search-view-always-boolean'.
26180         (org-agenda-search-view-force-full-words): New option.
26181         (org-search-view): Improve docstring, and implement a better logic
26182         for Boolean and phrase searches.
26183         (org-agenda-last-search-view-search-was-boolean): New variable.
26184         (org-agenda-manipulate-query): Consider the type of the last
26185         search when modifying the search string.
26187 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26189         * org-latex.el (org-export-as-latex): Do the first letbind in the
26190         right moment.
26192         * org-agenda.el (org-get-entries-from-diary): Add the new face to
26193         these entries.
26195         * org-faces.el (org-agenda-diary): New face.
26197         * org.el (org-make-link-regexps): Allow regexp-special characters
26198         in link types.
26199         (org-open-file): When in-emacs is `system', also force system
26200         opening, like when the value was `(16)'.
26201         (org-update-statistics-cookies): Handle entries without children.
26203         * org-exp.el
26204         (org-export-preprocess-before-normalizing-links-hook): New hook.
26205         (org-export-preprocess-string): Run the new hook.
26207         * org.el (org-offer-links-in-entry): Make RET open all links.
26209         * org-html.el (org-export-as-html): Remove any leftover display
26210         properties in the html file.
26212         * org-wl.el (org-wl-store-link): Work-around for format bug with
26213         text properties.
26215         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
26216         invisibility while adding the graphs.
26218 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26220         * org-remember.el (org-select-remember-template): Use C letter to
26221         customize remember templates.
26223         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
26224         Move cursor to next visible line.
26226 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26228         * org-beamer.el (org-beamer-sectioning): Leave columns environment
26229         by specifying 0 or 1 for column width.
26230         (org-beamer-column-widths): Make 0 stand for 0.0.
26232 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26234         * org-exp.el (org-export-mark-radio-links): Don't match inside
26235         <<target>>.
26237         * org.el (org-format-latex-header-extra): New variable.
26238         (org-format-latex): Set org-format-latex-header-extra from
26239         in-buffer stuff.
26240         (org-format-latex): Add org-format-latex-header-extra to the
26241         variables on which image creation depends.
26242         (org-create-formula-image): Add the header stuff from in-buffer
26243         settings.
26244         (org-read-date-analyze): Base the analysis for future preference
26245         on NOW, not on the default date.
26247         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
26248         for TODO keyword in inline tasks.
26250         * org.el (org-log-note-headings): New headings for removing
26251         deadline or scheduling date.
26252         (org-deadline, org-schedule): Arrange for logging when removing a
26253         date.
26254         (org-add-log-note): Handle deadline and scheduling removal.
26256 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26258         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
26260 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26262         * org-agenda.el (org-diary-class): New function.
26264 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26266         * org-latex.el (org-export-latex-preprocess): Do process the text
26267         of a radio target.
26269 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26271         * org.el (org-entry-properties): Add TIMESTAMP properties back
26272         in.
26274 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26276         * org.el (org-all-time-keywords): New variable.
26277         (org-set-regexps-and-options): Set `org-all-time-keywords'.
26278         (org-entry-blocked-p): New function.
26279         (org-special-properties): Add BLOCKED as a new special property.
26280         (org-entry-properties): New optional argument SPECIFIC, only parse
26281         for this property when it is specified.
26282         (org-entry-get): Pass a SPECIFIC argument to
26283         `org-entry-properties'.
26285         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
26287 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26289         * org-latex.el (org-export-latex-tables): No forced line end if
26290         there is no caption.
26292 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26294         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
26295         package.
26297         * org-latex.el (org-export-latex-tables): Only add a caption when
26298         macro is in longtable environments if one has been defined.
26300         * org-html.el (org-export-as-html): Only take title from buffer if
26301         not exporting body-only.
26303         * org-latex.el (org-export-latex-preprocess): Better version of
26304         the regular expression for protecting LaTeX macros.
26305         (org-export-latex-preprocess): Start searching for macros to
26306         protect from beginning of buffer.
26308         * org-exp.el (org-export-target-internal-links): Check for
26309         protectedness earlier in the string.
26311         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
26312         case sensitively.
26314         * org-id.el (org-id-store-link): Match TODO keywords case
26315         sensitively.
26317         * org.el (org-heading-components, org-get-outline-path)
26318         (org-display-outline-path): Match TODO keywords case sensitively.
26320         * org-latex.el (org-export-as-latex): Ignore read-only
26321         properties.
26323         * org-exp.el (org-export-preprocess-string): Remove any
26324         `read-only' properties.
26326         * org-agenda.el (org-agenda-inactive-leader): New option.
26327         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
26328         (org-tags-view): Prompt for matcher if MATCH is an empty string.
26329         (org-todo-list): Prompt for matcher if ARG is an empty string.
26331 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26333         * org.el (org-open-link-functions): New hook.
26334         (org-open-at-point): Run `org-open-link-functions'.
26336 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26338         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
26339         stamps as well.
26341         * org.el (org-inhibit-startup-visibility-stuff): New variable.
26342         (org-mode): Don't do startup visibility if inhibited.
26343         (org-outline-overlay-data, org-set-outline-overlay-data):
26344         New functions.
26345         (org-save-outline-visibility): New macro.
26346         (org-log-note-headings): Document that one should not change the
26347         `state' note format.
26349 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26351         * org.el (org-make-link-regexps): Capture link path into a group.
26353 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26355         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
26356         the options plist.
26358 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26360         * org.el (org-startup-with-beamer-mode): New option.
26361         (org-property-changed-functions)
26362         (org-property-allowed-value-functions): New hooks.
26363         (org-entry-put, org-property-get-allowed-values): Run the new
26364         hooks.
26365         (org-property-next-allowed-value): Run the new hooks.
26367         * org-exp.el (org-export-select-backend-specific-text): Add the
26368         special beamer tags.
26370         * org-beamer.el: New file.
26372         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
26373         (org-export-as-latex):
26374         Run `org-export-latex-after-initial-vars-hook'.
26375         (org-export-latex-format-toc-function)
26376         (org-export-latex-make-header):
26377         Call `org-export-latex-format-toc-function'.
26379         * org.el (org-fill-template): Make template searches case sensitive.
26381         * org-exp.el (org-export): Use "1" as a sign to export only the
26382         subtree.
26384         * org-colview.el (org-columns-edit-value):
26385         Use org-unrestricted property.
26387         * org.el (org-compute-property-at-point): Set org-unrestricted
26388         text property if the list contains ":ETC".
26389         (org-insert-property-drawer):
26390         Use org-unrestricted property.
26392         * org-exp.el
26393         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
26394         (org-export-preprocess-string):
26395         Run `org-export-preprocess-before-selecting-backend-code-hook'.
26397         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
26399         * org-latex.el (org-export-region-as-latex):
26400         Run `org-export-first-hook'.
26402         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
26404         * org-docbook.el (org-export-as-docbook):
26405         Run `org-export-first-hook'.
26407         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
26409         * org-exp.el (org-export-first-hook): New hook.
26411 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26413         * org-list.el (org-previous-item): Exit at the beginning of the
26414         buffer.
26416         * org-id.el (org-id-locations-save): Only write the id locations
26417         if any are defined.
26419         * org-archive.el (org-archive-all-done): Make this work in a file
26420         with org-odd-levels-only set.
26422         * org.el (org-get-refile-targets): Catch the case when a buffer
26423         has no file.
26425         * org-latex.el (org-export-as-latex): Cleanup forced line ends
26426         where they are not needed.
26427         (org-export-latex-subcontent): Remove unnecessary newlines.
26429 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26431         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
26432         (org-export-latex-fontify): Fix regexp bug that takes special
26433         care of protecting the right boundary characters in emphasis
26434         matches.
26435         (org-export-latex-preprocess): Allow multiple arguments to latex
26436         macros.
26438         * org.el (org-make-link-regexps): Use John Gruber's regexp for
26439         urls.
26441         * org-macs.el (org-re): Interpret :punct: in regexps.
26443         * org-exp.el (org-export-replace-src-segments-and-examples):
26444         Also take the final newline after the END line.
26446         * org.el (org-clean-visibility-after-subtree-move): Only fix
26447         entries that are not entirely invisible already.
26448         (org-insert-link): Respect org-link-file-path-type for
26449         "docview:" links in addition to "file:" links.
26451 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26453         * org-exp.el (org-export-format-source-code-or-example):
26454         Avoid additional extra white lines in LaTeX.
26456         * org-list.el (org-list-parse-list): Leave empty lines after the
26457         list, don't consider them as part of the list.
26459         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
26460         searches.
26462         * org-clock.el (org-clock-select-task): Convert integer to
26463         character for XEmacs.
26465 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26467         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
26468         compatible.
26470 2010-04-10  Tassilo Horn  <tassilo@member.fsf.org>
26472         * org.el (org-complete-tags-always-offer-all-agenda-tags):
26473         New variable.
26474         (org-set-tags): Use it.
26476 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26478         * org-list.el (org-empty-line-terminates-plain-lists):
26479         Update docstring.
26481         * org.el (org-format-latex): Fix link creation for processed latex
26482         snippets.
26484 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26486         * org-footnote.el (org-footnote-normalize): Protect replacement
26487         text.
26489         * org.el (org-inside-latex-macro-p): Save match data.
26491 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26493         * org-docview.el: New file.
26495 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26497         * org-latex.el (org-export-latex-class-options): New variable.
26498         (org-export-latex-set-initial-vars): Use the class options.
26500         * org.el (org-forward-same-level): Stop at headings that start
26501         with an invisible character.
26502         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
26504 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26506         * org-footnote.el (org-footnote-normalize): Don't take optional
26507         arguments in LaTeX macros as footnotes.
26509         * org.el (org-inside-latex-macro-p): New function.
26511         * org-latex.el (org-latex-to-pdf-process): Change customization
26512         group to `org-export-pdf'.
26514         * org-agenda.el (org-agenda-get-blocks): Look at time string also
26515         on days after the first one.
26517         * org.el (org-insert-heading): Also check for item before assuming
26518         before-first-heading condition.
26520         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
26521         (org-export-pdf-logfiles): New option.
26522         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
26523         (org-export-pdf-logfiles): Fix customization type.
26525         * org.el (org-insert-link): Improve error message when there is no
26526         default link to select with RET.
26528         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
26529         parameter list.
26531 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26533         * org-latex.el (org-export-latex-parse-global)
26534         (org-export-latex-parse-content)
26535         (org-export-latex-parse-subcontent):
26536         Use `org-re-search-forward-unprotected'.
26537         (org-export-as-pdf): Remove log files produced by XeTeX.
26539         * org-macs.el (org-re-search-forward-unprotected): New function.
26541 2010-04-10  James TD Smith  <ahktenzero@mohorovi.cc>
26543         * org-colview.el (org-agenda-colview-summarize): Sort out some
26544         confusion between properties and titles, which resulted in
26545         agenda summaries not working if a title was set for a column.
26547 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26549         * org-mobile.el (org-mobile-agendas): New option.
26550         (org-mobile-sumo-agenda-command): Select the right agendas.
26552         * org-latex.el (org-export-latex-format-image): Preserve the
26553         original-indentation property.
26555 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26557         * org-clock.el (org-clock-insert-selection-line): Catch error when
26558         an old tasks no longer exists.
26560         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
26561         (org-export-as-pdf): Don't remove the old PDF file before making
26562         the new one.
26564         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
26565         (org-mouse-context-menu): Use `org-looking-back'.
26567         * org.el (org-cycle-level): Use `org-looking-back'.
26569         * org-list.el (org-cycle-item-indentation):
26570         Use `org-looking-back'.
26572         * org-compat.el (org-looking-back): New function.
26574         * org.el (org-insert-heading): Catch before-first-headline when
26575         inserting a headline.
26577 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26579         * org-latex.el (org-export-latex-format-image): Indent figure
26580         environment, so that it does not interrupt plain list.
26582         * org.el (org-open-at-point): Allow long link descriptions.
26584 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26586         * org-html.el (org-export-as-html): Remove empty lines at the
26587         beginning of the exported text.
26589 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
26591         * org.el (org): Remove from hypermedia group.
26593 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
26595         * Branch for 23.2.
26597 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
26599         * org-freemind.el (org-freemind-from-org-mode-node)
26600         (org-freemind-from-org-mode)
26601         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
26602         Pass arg to called-interactively-p.
26604 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
26606         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
26607         Fix typos in docstrings.
26609 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
26611         * org.el (org-get-outline-path, org-speed-command-help):
26612         Fix typos in error messages.
26614 2009-12-14  Juri Linkov  <juri@jurta.org>
26616         * org-html.el (org-export-html-style-include-default):
26617         Put `safe-local-variable booleanp' on
26618         `org-export-html-style-include-default' instead of mistakenly
26619         duplicate `org-export-html-style'.
26621 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
26623         * org-agenda.el (org-agenda-diary-entry-in-org-file):
26624         Rebuild agenda after adding new entry.
26626         * org-datetree.el (org-datetree-find-day-create): Fix regular
26627         expression.
26629         * org.el (org-display-outline-path): Use a format specifier for
26630         message, to avoid problems with heading containing `%'.
26632         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26633         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26634         (org-agenda-fix-displayed-tags): New function.
26635         (org-agenda-do-context-action): Just call
26636         `org-display-outline-path', without piping the result through
26637         `message'.
26639         * org-latex.el (org-export-latex-preprocess): Protect secondary
26640         footnote references.
26642         * org-indent.el (org-indent-initialize): Avoid empty strings as
26643         line prefixes.
26645         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26646         hat checking for the mark does not throw an error.
26647         (org-agenda-diary-entry-in-org-file): Catch the case that there is
26648         not `day' text property in the cursor line.
26650         * org.el (org-sort-entries-or-items): Make sure that the final
26651         entry has a newline before doing the sorting.
26653         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26654         property at the beginning of the line.
26656         * org.el (org-make-link-string): Don't allow a description with
26657         only white space.
26659         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26660         (org-agenda-insert-diary-as-top-level): New function.
26661         (org-agenda-add-entry-to-org-agenda-diary-file):
26662         Call `org-agenda-insert-diary-as-top-level'.
26664         * org.el (org-occur-in-agenda-files): Make sure none of the
26665         buffers is narrowed.
26666         (org-activate-plain-links): Add the face property here.
26667         (org-set-font-lock-defaults): Do not add the face to plain links,
26668         the activator function does this.
26670         * org-habit.el (org-is-habit-p): Add doc string.
26672         * org-archive.el (org-archive-subtree-default-with-confirmation):
26673         Autoload.
26675         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26676         after match optional (happens at the end of a line...).
26678         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26679         for special blocks.
26681         * org-faces.el (org-copy-face): Set lisp indentation.
26682         (org-quote, org-verse): New faces.
26684         * org-agenda.el (org-agenda-remove-date): Remove variable.
26686         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26688         * org-html.el (org-export-as-html): Move the home/up link into
26689         the content div.
26691         * org.el (org-export-latex-packages-alist): Option definition
26692         moved here from org-latex.el.
26694         * org-html.el (org-export-html-home/up-format): Add an ID to the
26695         up/home div.
26697         * org-wl.el (org-wl-store-link): Handle the case that
26698         `wl-use-petname' is set.
26700         * org.el (org-set-effort): Improve prompt.
26701         (org-get-outline-path): Widen to get full path.
26702         (org-compact-display-after-subtree-move): Function removed.
26704 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
26706         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26707         hash keys to cache and re-use images generated by the
26708         org-exp-blocks interface to ditaa and dot.
26710         * org.el (org-format-latex): Latex images are now saved to files
26711         named by the sha1 hash of the latex source text avoiding
26712         regeneration of identical images.
26714 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26716         * org-latex.el (org-export-as-latex): Add the :drawers property.
26718 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26720         * org.el (org-speed-commands-user): Allow documentation headlines.
26721         (org-speed-commands-default): Organize the value of this constant
26722         with descriptive headlines.
26723         (org-print-speed-command): Output the headlines.
26725 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26727         * org-agenda.el (org-agenda-show-outline-path): New option.
26728         (org-agenda-do-context-action): New function.
26729         (org-agenda-next-line, org-agenda-previous-line):
26730         Use `org-agenda-do-context-action'.
26732         * org.el (org-use-speed-commands): Allow function value.
26733         (org-speed-commands-default): Make headline motion safe, so that
26734         these commands always end on a headline.
26735         (org-speed-commands-default): New key `v' for `org-agenda'.
26736         (org-speed-move-safe): New function.
26737         (org-self-insert-command): Use the function value of
26738         `org-use-speed-commands'.
26739         (org-get-outline-path): Improve docstring.
26740         (org-format-outline-path): New function.
26741         (org-display-outline-path): New function.
26743 2009-11-15  John Wiegley  <jwiegley@gmail.com>
26745         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26746         a string, use that to find the LOGBOOK drawer.
26748 2009-11-15  Glenn Morris  <rgm@gnu.org>
26750         * org-agenda.el (org-datetree-find-date-create)
26751         (org-habit-get-priority):
26752         * org.el (org-format-agenda-item): Fix declarations.
26754 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26756         * org.el (org-clone-subtree-with-time-shift): Make it work at the
26757         end of the buffer.
26759         * org-mobile.el (org-mobile-write-checksums): Specify coding
26760         system.
26761         (org-mobile-timestamp-buffer): Keep local variable/mode line at
26762         beginning of buffer.
26764         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26766         * org.el (org-block-todo-from-children-or-siblings-or-parent)
26767         (org-block-todo-from-checkboxes): Do not block changes to a nil
26768         TODO state.
26770 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26772         * org-habit.el (org-habit-parse-todo): Indicate which habit is
26773         wrongly set up in the error messages.
26775         * org-colview.el (org-columns-display-here): Don't try to
26776         calculate values if the underlying property is not set.
26777         (org-columns-string-to-number): Convert age strings back into
26778         fractional days.
26779         (org-agenda-colview-summarize): Handle extended summary types
26780         properly.
26782 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26784         * org-exp.el (org-export-format-drawer-function): New variable.
26785         (org-export-format-drawer): New function.
26786         (org-export-preprocess-string): Pass the backend as a parameter to
26787         `org-export-remove-or-extract-drawers'.
26788         (org-export-remove-or-extract-drawers): New parameter BACKEND.
26790         * org-protocol.el (org-protocol-char-to-string): New defsubst.
26792 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26794         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26795         message when no block is selected.
26797         * org-latex.el (org-export-latex-links): Check for protectedness
26798         in the last matched character, not after the match.
26800         * org-datetree.el (org-datetree-find-date-create):
26801         Respect restriction when KEEP-RESTRICTION is set.
26802         (org-datetree-file-entry-under): New function.
26803         (org-datetree-cleanup): New command.
26805 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26807         * org-src.el (org-edit-src-code): New optional argument context
26808         allows calling functions to avoid altering the saved window
26809         configuration.
26810         (org-edit-src-exit): Do not restore window configuration when this
26811         function is used in the context of saving the edit buffer.
26813 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26815         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26816         instances to switching to with-current-buffer, because these seem
26817         to cause problems - no idea why.
26819         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26820         Require diary-lib for (diary-date-display-form).
26822 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26824         * org.el (org-log-reschedule, org-log-redeadline): New options.
26825         (org-log-note-headings): Add templates for rescheduling and
26826         deadline changing.
26827         (org-startup-options): Add in-buffer settings for logging changing
26828         schedule and deadline time stamps.
26829         (org-deadline, org-schedule): Check for existing date and arrange
26830         for logging if the user requests it.
26831         (org-add-log-note): Prepare proper note buffers for rescheduling
26832         and deadline changes.
26834 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26836         * org-agenda.el (org-agenda-diary-entry-in-org-file)
26837         (org-agenda-add-entry-to-org-agenda-diary-file)
26838         (org-agenda-insert-diary-make-new-entry): New functions.
26839         (org-agenda-diary-entry):
26840         Call `org-agenda-diary-entry-in-org-file' when appropriate.
26842         * org.el (org-calendar-insert-diary-entry-key): New option.
26843         (org-agenda-diary-file): New option.
26844         ("calendar"): Install our insertion function in the calendar.
26846         * org-remember.el (org-datetree): Require.
26847         (org-remember-templates): Add new positioning option.
26848         (org-remember-reference-date): New variable.
26849         (org-remember-apply-template): Store the reference date in a local
26850         variable.
26851         (org-remember-handler): Implement date tree positioning of entries.
26853         * org-datetree.el: New file.
26855         * org-latex.el (org-export-latex-preprocess): Protect targets in
26856         verbatim emphasis.
26858         * org-html.el (org-export-as-html): Protect targets in verbatim
26859         emphasis.
26861         * org-docbook.el (org-export-as-docbook): Protect targets in
26862         verbatim emphasis.
26864 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26866         * org-clock.el (org-show-notification): Handle messages that
26867         contain a percent character.
26869         * org-remember.el (org-remember-apply-template): Turn of partial
26870         completion.
26872         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26873         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26875         * org.el (org-indent-mode): Define variable already in org.el.
26876         (org-unfontify-region): Remove line-prefix and wrap-prefix
26877         properties only if org-indent-mode is active.
26879 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26881         * org-icalendar.el (org-print-icalendar-entries): Save match data
26882         around call to verify function.
26883         (org-print-icalendar-entries): Add a call to the verification
26884         function.
26886         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26887         save-restrivtion' form.
26889 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26891         * org-exp.el (org-export-format-source-code-or-example):
26892         Restrict scope of preserve-indentp to the let binding.
26893         (org-src): Require org-src, since org-src-preserve-indentation is used.
26895 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26897         * org-timer.el (org-timer-set-timer): Set variables
26898         org-timer-timer[123] correctly.
26900         * org-mobile.el (org-mobile-files-alist): Make it work when
26901         `agenda-archives' is included in
26902         `org-agenda-text-search-extra-files'.
26903         (org-mobile-push): Restore agenda after mobile push.
26905 2009-11-13  John Wiegley  <jwiegley@gmail.com>
26907         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26908         way the amount of idle time is presented in the minibuffer.
26910 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26912         * org-icalendar.el (org-print-icalendar-entries):
26913         Use org-icalendar-verify-function only if non-nil.
26915         * org.el (org-refile): Refile to clock only if the prefix arg is
26916         2.
26917         (org-sparse-tree): Fix docstring to be in line with prompt.
26918         (org-update-parent-todo-statistics):
26919         Call `org-after-todo-statistics-hook' on each level.
26921 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26923         * org-remember.el (org-remember-apply-template): Make sure the
26924         buffer exists.
26926 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26928         * org.el (org-tab-ind-state): New variable.
26929         (org-cycle-level): New function.
26930         (org-cycle-level-after-item/entry-creation): New option.
26931         (org-flag-subtree): New function.
26932         (org-hide-archived-subtrees): Call `org-flag-subtree'.
26933         (org-set-effort): Indexed access.
26935         * org-list.el (org-cycle-item-indentation): New function.
26937         * org.el (org-refile): Make prefix argument 2 refile to current
26938         clock.
26939         (org-priority): Interpret action `remove' as call to remove the
26940         priority cookie.
26942         * org-remember.el (org-remember-apply-template): Don't depend on
26943         buffer name being like file name.
26945 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26947         * org-clock.el (org-clock-play-sound): Expand file in
26948         org-clock-sound, to allow ~ for home.
26950         * org-remember.el (org-remember-handler):
26951         Set text-before-node-creation even if this already looks like a node,
26952         because the string might be needed on non-org-mode target files.
26954         * org-agenda.el (org-agenda-open-link): Make this work in agenda
26955         clocktables.
26956         (org-agenda-switch-to): Follow a link at point if
26957         org-return-follows-link' is set and there is nothing else to do in
26958         this line.
26960 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26962         * org-exp-blocks.el: Modify split separator regexp to avoid empty
26963         strings.
26965 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26967         * org-colview.el (org-columns-new): Make this work with the new
26968         operators.
26969         (org-columns-store-format): Make this work with the new operators.
26971 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26973         * org-src.el (org-src-preserve-indentation): Document that this
26974         variable is also used during export.
26976         * org-exp.el (org-export-format-source-code-or-example):
26977         Preserve indentation if a block has a -i option, or if
26978         `org-src-preserve-indentation' is set.
26980         * org-exp-blocks.el (org-export-blocks-preprocess):
26981         Preserve indentation if a block has a -i option, or if
26982         `org-src-preserve-indentation' is set.
26984 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26986         * org.el (org-mode-map): Define the new archiving keys.
26987         (org-speed-commands-default): Define an archiving key in the speed
26988         command map.
26989         (org-org-menu): Improve the menu structure concerning archiving.
26991         * org-archive.el (org-archive-subtree-default-with-confirmation):
26992         New command.
26994         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
26995         (org-agenda-menu): Add the new archiving commands to the menu.
26996         (org-agenda-archive-default)
26997         (org-agenda-archive-default-with-confirmation): New commands.
26998         (org-agenda-archive, org-agenda-archive-to-archive-sibling):
26999         Just call `org-agenda-archive-with'.
27000         (org-agenda-archive-with): New function.
27002         * org-table.el (org-table-convert-region): Inert spaces around "|"
27003         to avoid line beginnings like "|-1" which will be mistaken as
27004         hlines.
27006 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27008         * org.el (org-offer-links-in-entry): Return nil if there are no
27009         links, t if a link has been selected.
27010         (org-open-at-point): Open attachment directory when called in the
27011         headline and there are no links in the entry body.
27012         (org-speed-commands-default): Add "o" for open-at-point as a speed
27013         command.
27015         * org-attach.el (org-attach-reveal): Optional prefix arg
27016         IF-EXISTS, which avoids creating the attachment directory if it
27017         does not yet exist.
27019         * org-agenda.el (org-agenda, org-run-agenda-series):
27020         Evaluate MATCH.
27022 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27024         * org.el ("abbrev"): Work with abbrev tables only after they have
27025         been loaded.
27027         * org-list.el (org-list-send-list): Fix bug related to match
27028         data.
27030         * org-latex.el (org-export-latex-fontify): Apply verbatim
27031         emphasis.
27032         (org-export-latex-make-header): Insert \obeylines if line breaks
27033         should be preserved.
27035         * org-exp.el (org-export-protect-verbatim): Add an
27036         `org-verbatim-emph' property to such text.
27038 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27040         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
27041         (org-print-icalendar-entries): Skip entries where the timestamp is
27042         not a deadline and not scheduled, if the user requests that.
27044         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
27045         before an opening quote.
27047         * org-archive.el (org-archive-subtree): Keep archive after
27048         archiving something.
27050         * org-id.el (org-id-update-id-locations): Add archive files if
27051         that is required by `org-id-extra-files'.
27053 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27055         * org-src.el (org-src-window-setup): New option.
27056         (org-src-switch-to-buffer): New function.
27057         (org-edit-src-exit): Add optional argument CONTEXT and use it to
27058         restore window configuration.
27059         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
27060         Call `org-src-switch-to-buffer'.
27062         * org.el (org-default-properties): Add STYLE property.
27063         (org-files-list): Use the function call to get the files.
27064         (org-additional-option-like-keywords): Add SETUPFILE to completion
27065         list.
27067 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27069         * org-table.el (org-table-convert-region): Correctly interpret
27070         quoting in csv import.
27072         * org.el (org-icompleting-read): Make iswitchb completion work
27073         with lists and tables.
27075         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
27076         while pushing the mobile agenda.
27078 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27080         * org-clock.el (org-clock-auto-clock-resolution): Now takes three
27081         values: nil, t and `when-no-clock-is-running'.
27082         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
27083         whether or not to resolve Org buffers on clock in.
27085 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27087         * org-colview.el (org-format-time-period): Function to format
27088         times in fractional days for display.
27089         (org-columns-display-here): Add support for showing a calculated
27090         value in place of the property.
27091         (org-columns): Set `org-columns-time' to the current time so time
27092         difference calculations will work.
27093         (org-columns-time): Use to store the current time when column view
27094         is displayed, so all time differences will use the same reference
27095         point.
27096         (org-columns-compile-map): There is now an extra position in each
27097         entry specifying the function to use to calculate the displayed
27098         value for the non-calculated properties in the column.
27099         (org-columns-compute-all): Set `org-columns-time' to the current
27100         time so time difference calculations will work.
27101         (org-columns-compute): Handle column operators where the values
27102         used are calculated from the underlying property.
27103         (org-columns-number-to-string): Handle the 'age' column format.
27104         (org-columns-string-to-number): Correct the function name (was
27105         org-column...).  Add support for the 'age' column format.
27106         (org-columns-compile-format): Support the additional parameter in
27107         org-columns-compile-map.
27109 2009-11-13  Bastien Guerry  <bzg@gnu.org>
27111         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
27112         variable.
27114 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27116         * org-clock.el (org-clock-has-been-used): New variable.
27117         (org-clock-in): Set `org-clock-has-been-used'.
27118         (org-clock-save): Save only if clock data has been used or created
27119         during this session.
27121 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27123         * org-clock.el (org-clock-persist): New value, to store only the
27124         clock history.
27125         (org-clock-save): Don't save the clock if only the history should
27126         be stored.
27127         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
27128         when restoring a saved clock.
27130 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27132         * org-clock.el (org-clock-display, org-clock-put-overlay):
27133         Use `org-time-clock-use-fractional'.
27135         * org.el (org-time-clocksum-use-fractional)
27136         (org-time-clocksum-fractional-format): Two new customizable
27137         variables which allow the user to select fractional times (1.25
27138         instead of 1:25) in the `org-clock-display' report.
27140 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27142         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
27143         New option.
27145         * org.el (org-tag-alist): Fix customization type.
27147 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27149         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
27150         Make sure the regexp search can fail without throwing an error.
27151         (org-mobile-apply): Save the inbox buffer after removing
27152         successfully applied changes.
27154 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27156         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
27157         time is reported after the user comes back (but before they
27158         resolve time).
27160         * org.el (org-get-repeat): Change so that this function can be
27161         called with either `org-scheduled-string' or
27162         `org-deadline-string'.
27164         * org-clock.el (org-clock-auto-clock-resolution): Rename from
27165         `org-clock-disable-clock-resolution', since negatives don't sound
27166         good in customization variables.
27167         (org-clock-in): Don't use the auto-resolution logic if the user is
27168         clocking into a different task while an active clock is running.
27169         This then allows the default behavior of clocking out of the open
27170         task and then into the new task.
27172         * org.el (org-modules): Made this variable more consistent, since
27173         it was referring to Org, OrgMode and Org-mode, whereas the docs
27174         for the variable always refer to Org-mode.
27176 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27178         * org.el (org-repeat-re): The changed org-repeat-re no longer
27179         matched simple +2d type repeaters.  Fix it so it does.
27181 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27183         * org-latex.el (org-export-latex-preprocess): Protect the vspace
27184         macro in the VERSE environment.
27186 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27188         * org-habit.el (org-habit-get-priority): A new function that
27189         determines the relative priority of a habit, based on how long
27190         past its scheduled date it is, and how near the deadline is.
27192         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
27193         using `org-habit-get-priority'.
27195         * org-habit.el (org-habit-build-graph): Start displaying colors
27196         from the first scheduled date, if that date is earlier than the
27197         first completion date.
27199         * org-habit.el: Changed all "color" variables to faces, and made
27200         them appropriate for light and dark backgrounds.
27202         * org-habit.el (org-habit-duration-to-days): Made this function
27203         more general.
27204         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
27206         * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
27207         habits, since they don't use DEADLINE anymore.
27209         * org.el (org-repeat-re, org-display-custom-time)
27210         (org-timestamp-change): Extend to support the new ".+N/N"
27211         syntax, used for habits.
27213         * org-clock.el (org-clock-resolve-clock): Fix an incorrect
27214         variable reference.
27216         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
27217         modeline when habits are being displayed (if that module is being
27218         loaded).
27220 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27222         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
27223         idle time using the xscreensaver extension.
27224         (org-user-idle-seconds): Use X11 idle time if available.
27226 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27228         * org-agenda.el (org-agenda-next-line): New command.
27229         (org-agenda-previous-line): New commands.
27230         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
27231         New commands.
27232         (org-agenda-follow-mode): Do the follow immediately if the mode is
27233         turned on here.
27234         (previous-line, next-line): Replace keys with the corresponding
27235         org functions.
27236         (org-agenda-mode-map): Bind backspace and delete to the scrolling
27237         command.
27239         * org.el (org-icompleting-read): Turn off partial completion mode
27240         for the duration of this completion round.
27242         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
27243         macros in author lines and similar stuff.
27245         * org.el (org-file-tags): Fix docstring.
27246         (org-get-buffer-tags): Add the #+FILETAGS tags.
27247         ("ecb"): Make ecb show context after jumping into an Org file.
27249 2009-11-13  John Wiegley  <johnw@newartisans.com>
27251         * org-agenda.el (org-finalize-agenda): Draw habit consistency
27252         graphs after everything else in the buffer has been setup.
27254 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27256         * org-mobile.el (org-mobile-apply): Count success and failure.
27258         * org.el (org-indent-line-function): Fix regexp replace problem.
27260 2009-11-13  John Wiegley  <johnw@newartisans.com>
27262         * org-clock.el (org-clock-disable-clock-resolution):
27263         New customization variable that disable automatic clock resolution on
27264         clock in.
27265         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
27266         not automatically resolve anything.  This is does not affect
27267         idle-time resolution, however, if `org-clock-idle-time' is set.
27269 2009-11-13  John Wiegley  <johnw@newartisans.com>
27271         * org-habit.el: New file, which implements code to build a "habit
27272         consistency graph".
27274         * org-agenda.el (org-agenda-get-deadlines)
27275         (org-agenda-get-scheduled): Display consistency graphs when
27276         outputting habits into the agenda.  The graphs are always relative
27277         to the current time.
27278         (org-format-agenda-item): Add new parameter `habitp', which
27279         indicates whether we are formatting a habit or not.  Do not
27280         display "extra" leading information if habitp is true.
27282         * org.el (org-repeat-re): Improve regexp to include .+ and ++
27283         leaders for repeat strings.
27284         (org-get-repeat): Now takes a string parameter `tagline', so the
27285         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
27287 2009-11-13  John Wiegley  <johnw@newartisans.com>
27289         * org-agenda.el (org-agenda-auto-exclude-function):
27290         New customization variable for allowing the user to create an "auto
27291         exclusion" filter for doing context-aware auto tag filtering.
27292         (org-agenda-filter-by-tag): Changes to support the use of
27293         `org-agenda-auto-exclude-function'.  See the new manual addition.
27295 2009-11-13  John Wiegley  <johnw@newartisans.com>
27297         * org.el (org-files-list): Don't attempt to return a file name for
27298         Org buffers which have no associated file.
27300         * org-agenda.el (org-agenda-do-action): Fix a typo.
27302 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27304         * org-mobile.el (org-mobile-locate-entry): Interpret files
27305         relative to org-directory.
27306         (org-mobile-inbox-for-pull): Document the best location for this
27307         file.
27308         (org-mobile-check-setup): Verify `org-directory'.
27309         (org-mobile-create-index-file): Sort the files to be listed in
27310         index.org.
27312 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27314         * org.el (org-fast-tag-selection): Add a way to display a
27315         description for a tag group.  This is done by adding a string to
27316         either the startgroup or endgroup cell.
27318 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27320         * org-clock.el (org-clock-resolve, org-resolve-clocks)
27321         (org-emacs-idle-seconds): Use `org-float-time' instead of
27322         `time-to-seconds'.
27324 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27326         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
27327         type.
27329         * org.el (org-pre-cycle-hook): Document that `empty' can also be
27330         the value of ARG when doing local cycling.
27332 2009-11-13  John Wiegley  <johnw@newartisans.com>
27334         * org-clock.el (org-clock-resolve-clock): If keeping or
27335         subtracting time results in a clock out at a time in the past, and
27336         if the resolution occurred due to idleness or invoking `M-x
27337         org-resolve-clocks', remember that past moment in time.  On the
27338         next clock in, the user will be prompted to see if they want to
27339         back-date their new clock to then.
27340         (org-clock-resolve): Do not jump the user to the location of a
27341         dangling clock if the resolution is occurring due to an idle
27342         timeout.  In that case there is typically only one dangling clock,
27343         the active one, and there is no value gained by shuffling their
27344         windows around to show it to them.  Being prompted to resolve an
27345         idle clock should be as inobtrusive as possible.
27346         (org-resolve-clocks-if-idle): New function that resolves only the
27347         currently active clock if the user has exceeded the time returned
27348         by `org-user-idle-seconds', based on the value of
27349         `org-clock-idle-time'.
27350         (org-clock-in): If, after resolving clocks, (???)
27351         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
27353         * org-clock.el (org-clock-resolve-clock): New function that
27354         resolves a clock to a specific time, closing or resuming as need
27355         be, and possibly even starting a new clock.
27356         (org-clock-resolve): New function used by `org-resolve-clocks'
27357         that sets up for the call to `org-clock-resolve-clock'.
27358         It determines the time to resolve to based on a single-character
27359         selection from the user to either keep time, subtract away time or
27360         cancel the clock.
27361         (org-resolve-clocks): New user command which resolves dangling
27362         clocks -- that is, open but not active -- anywhere in the file
27363         list returned by `org-files-list'.
27364         (org-clock-in): Automatically resolve dangling clocks whenever a
27365         user clocks in.
27366         (org-clock-cancel): If the user cancels the solely clock in a
27367         LOGBOOK, remove the empty drawer.
27369         * org-clock.el (org-clock-idle-time): New user customizable option
27370         for detecting whether the user has left a clock idle.  Note: it is
27371         only used in this commit to test whether it's worthwhile to check
27372         OS X to get the Mac user's current idle time.  If the Emacs idle
27373         time is less than the value, the user hasn't been away long enough
27374         to be worth checking (a more expensive test than just getting
27375         Emacs idle time).
27376         (org-user-idle-seconds, org-mac-idle-seconds)
27377         (org-emacs-idle-seconds): This three functions, in conjunction
27378         with the user customization variable `org-clock-idle-time', return
27379         the number of seconds (as a floating point) that the user has been
27380         away from their Emacs (or, if running on OS X, their computer).
27382         * org-clock.el (org-find-open-clocks): New function that returns a
27383         list of all open clocks in the given FILE.  Note that each clock
27384         it returns is a cons cell of the format (MARKER . START-TIME).
27385         This "clock" value is used by several of the new clock module
27386         utility functions.
27387         (org-is-active-clock): New inline function which tests whether the
27388         given clock value is the same as the currently active clock.
27389         Returns non-nil if this is the case.
27390         (org-with-clock-position): New macro that evaluates FORMS with
27391         point in the buffer and at the position of the given clock.
27392         Changes to the current clock are global.
27393         (org-with-clock): New macro that evaluates FORMS with point in the
27394         buffer and at the position of the given clock.  However, changes
27395         to the current clock are local and have no effect on the user's
27396         active clock.  This allows, for example, far any clock to be
27397         canceled without canceling the active clock.
27398         (org-clock-clock-in): New inline function that switches the active
27399         clock to the given clock.  If either the argument RESUME, or the
27400         global `org-clock-in-resume', are non-nil, it will resume a clock
27401         that was previously left open.
27402         (org-clock-clock-out): New inline function that clocks out the
27403         given clock value without affecting the currently active clock.
27404         (org-clock-clock-cancel): New inline function that cancels the
27405         given clock value without affecting the currently active clock.
27407         * org-clock.el (org-clock-in): Before creating
27408         `org-clock-mode-line-timer', check to make sure an older timer is
27409         not currently running.
27410         (org-clock-out): Accept new third parameter `at-time', which
27411         permits a clock to be clocked out at a specific time.  Note that
27412         no attempt is made to verify that the clock out time is later than
27413         the clock in time.
27415         * org.el (org-files-list): New utility function for returning a
27416         list of all open org-mode buffers, plus all files used to build
27417         the agenda buffer.  Note that not all the files will necessarily
27418         be visited by a buffer at time of call.
27419         (org-entry-beginning-position): Like the function
27420         `line-beginning-position', this inline function returns the
27421         beginning position of the current heading/entry.
27422         (org-entry-end-position): Like the function `line-end-position',
27423         this inline function returns the end position of the current
27424         heading/entry.
27426 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27428         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
27429         a header line.
27431 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27433         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
27435 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27437         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
27438         entries that have no tags.
27439         (org-agenda-search-view): New customize group.
27440         (org-agenda-search-view-search-words-only): New option.
27441         (org-search-view): Implement substring search.
27443 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27445         * org.el (org-outline-level): Add doc string.
27447 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27449         * org-inlinetask.el (org-inlinetask-export): Re-introduce
27450         variable.
27451         (org-inlinetask-export-handler): Only export inline task if the
27452         user option calls for it.
27454 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27456         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
27457         END if present.
27459 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27461         * org-latex.el (org-export-latex-tables): Don't format in
27462         protected regions.
27464 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27466         * org-src.el (org-edit-src-code)
27467         (org-edit-src-find-region-and-lang, org-edit-src-exit):
27468         Handle macro editing.
27470         * org-agenda.el (org-prefix-category-max-length): New variable.
27471         (org-format-agenda-item): Use `org-prefix-category-max-length'.
27472         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
27474 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27476         * org-mobile.el (org-mobile-create-index-file): Improve the
27477         listing of tags and todo keywords.
27479         * org-latex.el (org-export-latex-format-image): New function.
27480         (org-export-latex-links): Use `org-export-latex-format-image'.
27482 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27484         * org-inlinetask.el (org-inlinetask-get-current-indentation)
27485         (org-inlinetask-remove-terminator): New functions.
27486         (org-inlinetask-export-handler): Terminate the description list.
27488         * org-exp.el (org-export-select-backend-specific-text): Remove the
27489         region markers.
27491         * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
27492         tasks without content.
27494         * org-clock.el: Make sure the clock-in target position does not
27495         move to a different node by widening the buffer.
27497         * org-html.el (org-export-html-format-image): Wrap image into
27498         figure div only when there is a caption.
27500         * org-archive.el (org-archive-mark-done): Change default value to
27501         nil.
27503 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27505         * org.el (org-context): Call `bobp', not `eobp'.
27507         * org-clock.el (org-clock-cancel): Remove quotes from marker
27508         variables.
27510         * org.el (org-read-date-prefer-future): New allowed value `time'.
27511         (org-read-date-analyze): Shift day to tomorrow depending on time
27512         entered and value of `org-read-date-prefer-future'.
27514 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
27516         * org.el (org-version, org-get-refile-targets, org-refile)
27517         (org-store-log-note, org-diary-to-ical-string)
27518         (org-speedbar-set-agenda-restriction):
27519         * org-publish.el (org-publish-find-title):
27520         * org-plot.el (org-plot/gnuplot):
27521         * org-mouse.el (org-mouse-do-remotely):
27522         * org-mobile.el (org-mobile-move-capture):
27523         * org-mac-message.el (org-mac-message-insert-flagged):
27524         * org-latex.el (org-replace-region-by-latex):
27525         * org-docbook.el (org-replace-region-by-docbook):
27526         * org-clock.el (org-clock-out, org-clock-cancel):
27527         * org-bibtex.el (org-execute-file-search-in-bibtex):
27528         Use with-current-buffer.
27530 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
27532         * org.el (org-directory, org-map-entries):
27533         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
27535 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27537         * org.el (org-set-tags-to): New command.
27539         * org-latex.el (org-export-latex-set-initial-vars): Also check in
27540         the plist.
27542         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
27543         keyword.
27545         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
27547 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27549         * org-inlinetask.el (org-inlinetask-export): Option removed.
27550         (org-inlinetask-export-handler): Better export.
27552         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
27553         (org-export-as-xoxo): Run the new hook.
27555         * org-html.el (org-export-html-final-hook): New hook.
27556         (org-export-as-html): Run the new hook.
27558         * org-docbook.el (org-export-docbook-final-hook): New hook.
27559         (org-export-as-docbook): Run the new hook.
27561         * org-ascii.el (org-export-ascii-final-hook): New hook.
27562         (org-export-as-ascii): Run the new hook.
27564         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
27565         space character as the character before the ^/_.
27566         (org-export-latex-final-hook): New hook.
27567         (org-export-as-latex): Run `org-export-latex-final-hook'.
27569 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27571         * org-macs.el (org-if-unprotected-at): Fix docstring.
27573         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
27574         text in the prefix (if category is a link).
27576         * org-latex.el (org-export-latex-preprocess): Deal properly with
27577         empty lines in verse environments.
27579         * org.el (org-format-latex-header): Inline fullpage.sty.
27581         * org-footnote.el (org-footnote-create-definition): Reveal context
27582         to add a new footnote definition.
27584         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
27585         org-table-recalculate when cursor is in TBLFM line.
27587         * org-list.el (org-renumber-ordered-list): Fix cursor position
27588         when bullet length has changed.
27590 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27592         * org.el (org-format-latex): Mention `org-format-latex-options' in
27593         the docstring.
27595 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27597         * org.el (org-agenda-get): New function.
27599         * org-agenda.el (org-agenda-post-command-hook): No longer move
27600         point away from end of line.
27601         (org-agenda-add-entry-text, org-agenda-collect-markers)
27602         (org-finalize-agenda, org-agenda-mark-clocking-task)
27603         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
27604         (org-agenda-entry-text-show, org-agenda-highlight-todo)
27605         (org-agenda-compare-effort, org-agenda-filter-apply)
27606         (org-agenda-later, org-agenda-change-time-span)
27607         (org-agenda-post-command-hook, org-agenda-show-priority)
27608         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
27609         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
27610         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
27611         (org-agenda-open-link, org-agenda-copy-local-variable)
27612         (org-agenda-switch-to, org-agenda-check-no-diary)
27613         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
27614         (org-agenda-add-note, org-agenda-change-all-lines)
27615         (org-agenda-priority, org-agenda-set-tags)
27616         (org-agenda-set-property, org-agenda-set-effort)
27617         (org-agenda-toggle-archive-tag, org-agenda-date-later)
27618         (org-agenda-show-new-time, org-agenda-date-prompt)
27619         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
27620         (org-agenda-clock-in, org-agenda-bulk-mark)
27621         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
27622         Use `org-get-at-bol'.
27624         * org-colview.el (org-columns-display-here)
27625         (org-columns-edit-allowed, org-agenda-columns):
27626         Use `org-get-at-bol'.
27628 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27630         * org.el (org-special-ctrl-a/e): Improve documentation and
27631         customize type.
27632         (org-end-of-line): Don't jump to after the ellipsis.
27633         (org-mode-map): Bind <home> and <end> as well.
27635 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27637         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27638         space after #+ as comments.
27639         (org-open-at-point): Run `org-follow-link-hook' always.
27641         * org-latex.el (org-export-latex-emph-format): Use better commands
27642         to insert special characters in verbatim snippets.
27644 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27646         * org-faces.el (org-copy-face): New function.  Use it to create
27647         various faces formerly created by using `copy-face'.
27649         * org-agenda.el (org-prepare-agenda): Don't officially mark this
27650         window dedicated.
27651         (org-agenda-quit): Kill the frame containing the agenda window if
27652         that frame was created for the agenda.
27654 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27656         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27657         stamp in the agenda.
27659 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27661         * org-agenda.el (org-prepare-agenda):
27662         Reset `org-drawers-for-agenda'.
27663         (org-prepare-agenda): Uniquify list of drawers.
27665         * org.el (org-complex-heading-regexp-format): New variable.
27666         (org-set-regexps-and-options):
27667         Define `org-complex-heading-regexp-format'.
27668         (org-drawers-for-agenda): New variable.
27669         (org-map-entries): Bind `org-drawers-for-agenda'.
27670         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27672         * org-remember.el (org-go-to-remember-target)
27673         (org-remember-handler): Use `org-complex-heading-regexp-format'.
27675 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27677         * org-agenda.el (org-agenda-highlight-todo): Fix text property
27678         problem.
27680         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27681         always with `invisible-ok'.
27682         (org-store-link): No error when there is nothing to link to in the
27683         agenda.
27685         * org-list.el (org-update-checkbox-count): Insert changed cookie
27686         before the old, to avoid problems with invisibility at the end of
27687         the line.
27688         (org-update-checkbox-count): Insert changed cookie before the old,
27689         to avoid problems with invisibility at the end of the line.
27691         * org.el (org-sort-entries-or-items): Include the final newline.
27692         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27693         lines for fontification.
27694         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27695         (org-prepare-dblock): Store the current indentation of the BEGIN
27696         line.
27697         (org-update-dblock): Apply the indentation of the begin line to
27698         the rest of the block.
27699         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27700         (org-startup-folded): New allowed value `showeverything'.
27701         (org-startup-options): Add STARTUP keyword `showeverything'.
27702         (org-set-startup-visibility): Respect value `showeverything' in
27703         org-startup-folded.
27705 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27707         * org.el (org-closest-date): Fix issue with past preference.
27709         * org-archive.el (org-archive-set-tag)
27710         (org-archive-subtree-default): New commands.
27712         * org-clock.el (org-clock-clocktable-default-properties):
27713         New option.
27714         (org-clock-report):
27715         Use `org-clock-clocktable-default-properties'.
27717 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27719         * org.el (org-iswitchb-completing-read): Fix typo.
27721         * org-crypt.el: New file.
27723         * org.el: Add an entry for org-crypt.
27725 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27727         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27728         consistency.
27729         (org-batch-store-agenda-views): New function.
27730         (org-agenda-title-append): Define variable.
27731         (org-write-agenda): New export to Org files.
27732         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27733         (org-agenda): Allow to keep the restricted file list if a special
27734         variable is bound to t.
27735         (org-agenda): Define a special agenda view for working on flagged
27736         entries.
27737         (org-agenda-get-restriction-and-command): List the new agenda
27738         view.
27739         (org-agenda-show-the-flagging-note): New command.
27740         (org-agenda-mode-map): New key `?' for looking at the flagging
27741         note.
27743         * org.el (org-autoload): Autoload org-mobile.el.
27744         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27746         * org-mobile.el: New file.
27748         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27750 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27752         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27753         statements.
27754         (org-table-get-remote-range): Match indented #+TBLNAME
27755         statements.
27757         * org.el (org-convert-to-odd-levels)
27758         (org-convert-to-oddeven-levels): Work also correctly if the file
27759         is in outline-mode.
27761 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27763         * org.el (org-store-link): When in agenda buffer, link to
27764         referenced entry.
27765         (org-add-planning-info): Remove spaces at eol.
27767         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27768         property.
27770 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27772         * org-latex.el (org-export-latex-first-lines): Fix problem with
27773         LaTeX export of first line and selected subtree.
27775         * org.el (org-shifttab): Interpret arg differently when using only
27776         odd levels.
27778 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27780         * org.el (org-check-agenda-file): Use a more explicit message.
27782 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27784         * org-exp.el (org-export-remove-special-table-lines): Don't remove
27785         normal lines.
27787 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27789         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27790         prompt in the temporary window.
27792         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27793         prefix for marked entries in the agenda view.
27795 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
27797         * org.el (outline-end-of-subtree): Bugfix: advise this function in
27798         a way that prevents any trailing character from being displayed.
27800 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27802         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27803         menu.
27805         * org-exp.el (org-export-remove-special-table-lines): Remove bad
27806         slow regexp match.
27808 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27810         * org-latex.el (org-export-latex-preprocess): Do not protect in
27811         the LaTeX header.
27813         * org-src.el (org-edit-src-save): Save window setup while saving.
27814         (org-edit-src-code): Use new buffer name construction scheme.
27816 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27818         * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27819         New variable.
27820         (org-agenda-entry-text-cleanup-hook): New hook.
27821         (org-agenda-get-some-entry-text): Remove matches of
27822         `org-agenda-entry-text-exclude-regexps' and run the hook
27823         `org-agenda-entry-text-cleanup-hook'.
27825         * org.el (org-offer-links-in-entry): New argument ZERO to
27826         implement a link with index zero.
27827         (org-cycle-show-empty-lines): Not keep empty line under header
27828         hidden.
27829         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27830         to nil for special completion.
27831         (org-store-link): Don't error before the first heading.
27833         * org-agenda.el (org-agenda-open-link): Pass the prefix to
27834         `org-offer-links-in-entry'.
27836 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27838         * org-agenda.el (org-agenda-quit): Provide the window argument for
27839         `window-dedicated-p', Emacs 22 needs it.
27840         (org-format-agenda-item): If the category is a link, arrange for
27841         invisible text to replaced with spaces.
27842         (org-compile-prefix-format): Add the extra space.
27843         (org-prefix-category-length): New variable.
27845         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27846         references from TOC lines.
27848         * org.el (org-selected-window): New variable.
27850         * org-table.el (org-table-edit-formulas): Remember the selected
27851         window.
27852         (org-table-fedit-finish, org-table-fedit-abort): Select the window
27853         that was originally selected.
27855         * org-exp.el (org-export-preprocess-apply-macros): Scan the
27856         expansion of a macro for more macro definitions.
27858         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27859         invisibility overlay starts on the newline.
27861 2009-10-01  Glenn Morris  <rgm@gnu.org>
27863         * org-agenda.el (calendar-check-holidays):
27864         * org-exp.el (org-agenda-skip):
27865         * org-list.el (outline-back-to-heading):
27866         * org-wl.el (wl-summary-goto-folder-subr):
27867         * org.el (iswitchb-mode, remember, remember-buffer-desc)
27868         (remember-finalize, remember-save-after-remembering, remember-register)
27869         (remember-buffer, remember-handler-functions)
27870         (remember-annotation-functions): Remove unused declarations.
27872         * org.el (iswitchb-read-buffer): Fix declaration.
27874 2009-09-30  Glenn Morris  <rgm@gnu.org>
27876         * org-compat.el (w32-focus-frame):
27877         * org-exp-blocks.el (R):
27878         * org-exp.el (htmlize-buffer):
27879         * org-protocol.el (server-edit):
27880         * org-table.el (org-format-org-table-html):
27881         * org.el (org-indent-mode): Fix declarations.
27883         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27884         free variable `fun'.
27886 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
27888         * org-agenda.el (org-agenda-restore-windows-after-quit):
27889         Fix typo in docstring.
27891 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
27893         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27894         (org-shiftselect-error, org-ctrl-c-ctrl-c):
27895         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27896         * org-attach.el (org-attach-check-absolute-path):
27897         * org-docbook.el (org-export-as-docbook):
27898         * org-html.el (org-export-as-html):
27899         * org-id.el (org-id-update-id-locations):
27900         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27901         Fix typos in error messages.
27903 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
27905         * org-ascii.el: Require CL for the `loop' macro.
27907 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
27909         * org-gnus.el (require): Wrap (require gnus-sum) into
27910         eval-when-compile.
27912 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
27914         * org-protocol.el (org-protocol-store-link)
27915         (org-protocol-remember, org-protocol-open-source): Remove autoload
27916         cookies again.
27918         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27919         referencing the start of the line.
27921         * org-gnus.el: Remove unnecessary declare-function forms.
27922         (gnus-sum): Always require gnus-sum.
27924 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27926         * org-protocol.el (org-protocol-store-link)
27927         (org-protocol-remember, org-protocol-open-source): Add autoloads.
27929         * org-compat.el (org-float-time): New function.
27931         * org.el (org-clock-update-time-maybe)
27932         (org-sort-entries-or-items, org-do-sort)
27933         (org-evaluate-time-range, org-time-string-to-seconds)
27934         (org-closed-in-range): Use `org-float-time'.
27936         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27937         (org-timer-seconds): Use `org-float-time'.
27939         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27940         (org-clock-sum, org-dblock-write:clocktable)
27941         (org-clocktable-steps): Use `org-float-time'.
27943         * org-agenda.el (org-agenda-last-marker-time)
27944         (org-agenda-new-marker, org-diary): Use `org-float-time'.
27946         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27947         function.
27949         * org-exp.el (org-get-file-contents): Only protect lines that
27950         really need it.
27952         * org-html.el (require): Require cl for compilation.
27954         * org.el: Avoid using `default-major-mode'.
27956         * org-plot.el (require): Require CL only at compile time.
27958         * org-exp.el (require): Require CL only at compile time.
27960         * org-agenda.el (org-agenda-quit): When the agenda window is
27961         dedicated, remove other windows before exiting, so that the frame
27962         really will be killed.
27964         * org-exp.el (org-export-handle-include-files): Reset START and
27965         END for each loop cycle.
27967 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27969         * org.el (org-eval-in-calendar):
27970         Use `org-select-frame-set-input-focus'.
27972         * org-compat.el (org-select-frame-set-input-focus): New function.
27974         * org.el (org-update-statistics-cookies): New function.
27975         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
27977 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27979         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
27980         after the local variables are set.
27982         * org-latex.el (org-export-latex-protect-amp): New function.
27983         (org-export-latex-links): Protect link ampersands in tables.
27985         * org-exp.el (org-export-select-backend-specific-text): Match in
27986         two steps, to avoid regexp problems.
27988         * org.el (org-offer-links-in-entry): Improve working with many and
27989         duplicate links.
27991         * org-agenda.el (org-agenda-show-1): Make more consistent with
27992         normal cycling.
27993         (org-agenda-cycle-show): Make more consistent with normal cycling.
27995         * org-gnus.el (org-gnus-store-link): Restore the linking to a
27996         website.
27998 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28000         * org-latex.el (org-export-latex-first-lines): Bugfix.
28002 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28004         * org-clock.el (org-clock-modify-effort-estimate): Emit message
28005         about new effort.
28007         * org.el (org-set-effort): New function.
28008         (org-mode-map): New key for effort setting command.
28010         * org-agenda.el (org-agenda): Keep window setup when calling
28011         agenda from within agenda window.
28012         (org-agenda-mode-map): New keys for effort setting commands.
28013         (org-agenda-menu): Add effort setting commands to menu.
28014         (org-agenda-set-property, org-agenda-set-effort): New functions.
28016         * org-latex.el (org-export-latex-tables):
28017         Fix `org-table-last-alignment' and `org-table-last-column-widths' if
28018         the first column has been removed.
28020 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28022         * org.el (org-remove-timestamp-with-keyword): Only remove in
28023         entry, not in subtree.
28025         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
28026         emacs lisp.
28028         * org.el (org-open-at-point): When on headline, offer all strings
28029         in entry.
28031         * org-remember.el (org-remember-templates): Documentation fix.
28033         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
28034         `org-get-last-sibling' instead of the outline versions of these
28035         functions.
28036         (org-get-last-sibling): New function.
28037         (org-refile): Use `org-get-next-sibling' instead of the outline
28038         version of this function.
28039         (org-clean-visibility-after-subtree-move):
28040         Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
28041         outline versions of these functions.
28043 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28045         * org-agenda.el (org-prepare-agenda): When creating a new frame
28046         for the agenda, make the window dedicated.
28048         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
28050         * org-table.el (org-table-align): Change the order of reinsertion
28051         and deletion, to avoid problems with overlays following the table.
28053         * org.el (org-parse-time-string): Better error message.
28054         (org-show-subtree): Use org-end-of-subtree.
28056         * org-macs.el (org-goto-line): New defsubst.
28058         * org.el (org-open-file, org-change-tag-in-region)
28059         (org-fast-tag-show-exit): Don't use `goto-line'.
28061         * org-table.el (org-table-align, org-table-insert-column)
28062         (org-table-delete-column, org-table-move-column)
28063         (org-table-sort-lines, org-table-copy-region)
28064         (org-table-paste-rectangle, org-table-wrap-region)
28065         (org-table-get-specials, org-table-rotate-recalc-marks)
28066         (org-table-get-range, org-table-recalculate)
28067         (org-table-edit-formulas, org-table-fedit-convert-buffer)
28068         (org-table-show-reference, org-table-highlight-rectangle):
28069         Don't use `goto-line'.
28071         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
28072         (org-edit-src-exit): Don't use `goto-line'.
28074         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
28076         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
28077         Don't use `goto-line'.
28079         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28081         * org-colview.el (org-columns, org-columns-redo)
28082         (org-agenda-columns): Don't use `goto-line'.
28084         * org-agenda.el (org-agenda-mode): Force visual line motion off.
28085         (org-agenda-add-entry-text-maxlines): Improve docstring.
28086         (org-agenda-start-with-entry-text-mode): New option.
28087         (org-agenda-entry-text-maxlines): New option.
28088         (org-agenda-entry-text-mode): New variable.
28089         (org-agenda-mode): Set initial value of
28090         `org-agenda-entry-text-mode'.
28091         (org-agenda-mode-map): Add the `E' key.
28092         (org-agenda-menu): Add entry text mode to the menu.
28093         (org-agenda-get-some-entry-text): Fix line count bug.
28094         (org-finalize-agenda): Apply entry text mode if appropriate.
28095         (org-agenda-entry-text-show-here): New function.
28096         (org-agenda-entry-text-show): New function.
28097         (org-agenda-entry-text-hide): New function.
28098         (org-agenda-view-mode-dispatch): Add entry text mode to the view
28099         key menu.
28100         (org-agenda-entry-text-mode): New command.
28101         (org-agenda-set-mode-name): Add entry text mode to the mode line
28102         string.
28103         (org-agenda-undo, org-agenda-get-restriction-and-command)
28104         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
28105         `goto-line'.
28107 2009-09-02  Bernt Hansen  <bernt@norang.ca>
28109         * org-clock.el (org-notify): Bugfix.
28111 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28113         * org-agenda.el (org-agenda-open-link): Handle multiple links and
28114         check for after-string.
28116         * org-gnus.el (org-gnus-store-link): Simplify.
28118         * org.el (org-latex-regexps): Don't add extra empty lines for
28119         display formulas.
28121 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28123         * org-agenda.el (org-agenda-get-some-entry-text): New function.
28124         (org-agenda-add-entry-text):
28125         Use `org-agenda-get-some-entry-text'.
28127         * org.el (org-cycle-separator-lines): Update docstring.
28128         (org-cycle-show-empty-lines): Handle negative values for
28129         `org-cycle-show-empty-lines'.
28131         * org-exp.el (org-export-protect-sub-super): New function.
28132         (org-export-normalize-links): Protect the url of plain links from
28133         supscript and superscript processing.
28135         * org-remember.el (org-remember-escaped-%): New function.
28136         (org-remember-apply-template): Use `org-remember-escaped-%' to
28137         detect escaped % signs.
28139 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28141         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
28142         sound when showing the notification.
28144         * org-clock.el (org-notify): New function.
28145         (org-clock-notify-once-if-expired): Use `org-notify'.
28147         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
28148         and `gnus-article-mode' separately.
28149         (gnus-summary-article-header): Fix the declare-function.
28151 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28153         * org-exp.el (org-export-format-source-code-or-example):
28154         Translate language.
28156         * org-src.el (org-src-lang-modes): New variable.
28157         (org-edit-src-code): Translate language.
28159         * org-exp.el (org-export-format-source-code-or-example): Deal wit
28160         the new structure of the `org-export-latex-listings-langs'
28161         variable.
28163         * org-latex.el (org-export-latex-listings-langs): Change structure
28164         of the variable from plist to alist.
28166 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28168         * org.el (org-in-commented-line): New function.
28170 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28172         * org.el (org-hide-block-toggle): Make folded blocks searchable.
28174 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
28176         * org.el (org-flag-drawer): More useful error.
28178 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28180         * org-remember.el (org-remember-apply-template):
28181         Use org-icompleting-read.
28183         * org-publish.el (org-publish): Use org-icompleting-read.
28185         * org-colview.el (org-columns-edit-value, org-columns-new)
28186         (org-insert-columns-dblock): Use org-icompleting-read.
28188         * org-attach.el (org-attach-delete-one, org-attach-open):
28189         Use org-icompleting-read.
28191 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28193         * org.el (org-hierarchical-todo-statistics): Improve docstring.
28194         (org-version): Return the version text.
28195         (org-org-menu): Add a menu entry for the new bug reporter.
28196         (org-submit-bug-report): New command.
28198         * org-list.el (org-hierarchical-checkbox-statistics):
28199         Improve docstring.
28201         * org.el (org-emphasis-regexp-components): Add "`" to set of
28202         pre-emphasis characters.
28204         * org-latex.el (org-export-latex-classes): Always include the soul
28205         package.
28206         (org-export-latex-emphasis-alist): Use \st for strikethough.
28208         * org-exp-blocks.el (org-export-blocks-preprocess):
28209         Use `indent-code-rigidly' to indent.
28211         * org-agenda.el (org-agenda-get-restriction-and-command):
28212         Remove properties only if MATCH really is a string.
28214 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28216         * org-latex.el (org-export-latex-packages-alist):
28217         Fix customization type.
28219         * org.el (org-create-formula-image): Also use
28220         `org-export-latex-packages-alist'.
28222         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
28223         (org-export-as-html): Format footnotes correctly.
28225 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28227         * org.el (org-fast-tag-selection): Avoid text properties on tags
28228         in the alist.
28230         * org-agenda.el (org-agenda-get-restriction-and-command):
28231         Avoid text properties on the match element.
28233 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28235         * org.el (org-set-regexps-and-options): Make sure the list of done
28236         keywords is not invalid.
28238         * org-exp.el (org-export-interpolate-newlines): New function.
28240 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28242         * org.el (org-format-latex): Avoid nested overlays.
28244         * org-latex.el (org-export-latex-listings-langs): Add a few more
28245         languages.
28247         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
28248         ignore newlines and space before the first macro argument.
28250         * org-latex.el (org-export-latex-tables): Remove save-excursion
28251         around `org-table-align'.
28253 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28255         * org.el (org-export-html-special-string-regexps):
28256         Definition moved into org.el.
28258         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
28259         in macro calls.
28261 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28263         * org-latex.el (org-export-latex-listings)
28264         (org-export-latex-listings-langs): New options.
28266         * org-exp.el (org-export-format-source-code-or-example):
28267         Use listing package if requested by the user.
28269 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28271         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
28272         command before actually switching to a buffer.
28274 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28276         * org-exp.el (org-get-file-contents): Only quote org lines when
28277         the markup is src or example.
28279         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
28280         New option.
28281         (org-agenda-get-day-entries): Remember deadline results and pass
28282         them on into the function getting the scheduling information.
28283         (org-agenda-get-scheduled): Accept deadline results as parameters
28284         and maybe skip some entries.
28285         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
28287         * org.el (org-insert-heading): When respecting content, do not
28288         convert current line to headline.
28290         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
28291         Also cheeeeeck the hd marker.
28292         (org-clock-in): Also set the hd marker.
28293         (org-clock-out): Also set the hd marker.
28294         (org-clock-cancel): Reset markers.
28296         * org.el (org-clock-hd-marker): New marker.
28298         * org-faces.el (org-agenda-clocking): New face.
28300         * org-agenda.el (org-agenda-mark-clocking-task): New function.
28301         (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
28303         * org.el (org-modules): Add org-track.el.
28305         * org-agenda.el (org-agenda-bulk-marked-p): New function.
28306         (org-agenda-bulk-mark, org-agenda-bulk-unmark):
28307         Use `org-agenda-bulk-marked-p'.
28308         (org-agenda-bulk-toggle): New command.
28310 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28312         * org.el (org-move-subtree-down): Hide subtree if it was folded,
28313         not just the body.
28315         * org-remember.el (org-remember-finalize): Avoid buffer-modified
28316         messages.
28318 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
28320         * org-html.el (org-export-as-html):
28321         * org-docbook.el (org-export-as-docbook):
28322         Use (default-value 'major-mode) instead of default-major-mode.
28324 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
28326         * org-docbook.el: Add arch-tag.
28328         * org-exp-blocks.el: Add arch-tag.
28330         * org-id.el: Add arch-tag.
28332         * org-indent.el: Add arch-tag.
28334         * org-inlinetask.el: Add arch-tag.
28336         * org-protocol.el: Add arch-tag.
28338 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28340         * org.el (org-create-formula-image): Remove the -E option for
28341         dvipng.
28343         * org-exp.el (org-default-export-plist): Respect #+BIND.
28344         (org-export-confirm-letbind): New function.
28346         * org.el (org-paste-subtree): Test the kill ring entry if it is
28347         going to be used.
28348         (org-copy-subtree): Use `org-forward-same-level'.
28349         (org-forward-same-level): Respect the `invisibe-ok' arg for
28350         back-to-heading.
28352 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28354         * org.el (org-table-map-tables): Make sure cursor is back at table
28355         beginning after funcall.
28357         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
28358         handled before children, and do not error if an entry is not
28359         found, probably because it hase been remove when the parent was
28360         archived or refiled.
28362         * org.el (org-ido-completing-read): Accept straight lists for
28363         completion as well as alists.
28365         * org-timer.el (org-timer-cancel-timers): Rename from
28366         `org-timer-cancel-timers'.
28368         * org.el (org-cycle-internal-local): Fix problem with finding next
28369         invisible line.
28371 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28373         * org-list.el (org-list-send-list):
28374         Call `org-list-goto-true-beginning' instead of
28375         `org-list-find-true-beginning', which does not exist.
28377         * org-timer.el (org-timer-reset-timers): Use `mapc'.
28378         (org-timer-set-timer): Do not assign to heading.
28380         * org-id.el (org-id-open): Quote function name.
28382         * org-macs.el (org-unmodified): Turn off recording undo
28383         information while running inside the macro.
28385         * org-table.el (org-table-export): Also work in file-less
28386         buffers.
28388         * org.el (org-startup-indented): New option.
28389         (org-startup-options): Add new options indent and noindent.
28390         (org-unfontify-region): Remove line-prefix and wrap-prefix
28391         properties.
28392         (org-after-demote-entry-hook, org-after-promote-entry-hook):
28393         New hooks.
28394         (org-promote, org-demote): Run the new hooks.
28396         * org-table.el (org-table-align): Replace leading \n as well.
28398         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
28399         and `line-wrap' text properties.
28401         * org-compat.el (org-kill-new): New function.
28403         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
28404         `line-wrap' text properties.
28406         * org-indent.el: New file.
28408 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28410         * org.el (org-provide-todo-statistics): Tweak docstring.
28412         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
28414 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28416         * org-exp.el (org-export-as-org): Insert the "-source" string
28417         before the extension.
28419         * org.el (org-read-date): Make sure the calendar is in the current
28420         frame.
28421         (org-set-emph-re): Remove the ? from the post-match.
28422         (org-emphasis-regexp-components): Add backslash to the
28423         postmatch class.
28424         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
28425         optional so that also lines at the end of the buffers will still
28426         be matched as headlines.
28428         * org-table.el (org-table-error-on-row-ref-crossing-hline):
28429         Variable made obsolete.
28430         (org-table-relative-ref-may-cross-hline): New option.
28431         (org-table-find-row-type): Honow the new option
28432         `org-table-relative-ref-may-cross-hline'.
28434 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28436         * org-table.el (org-table-cut-region, org-table-copy-region):
28437         Work on single field if no active region.
28439 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28441         * org-latex.el (org-export-latex-make-header): Only insert title
28442         if one is defined.
28444         * org.el (org-make-options-regexp): Allow empty values.
28446 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28448         * org.el (org-cycle-internal-local): Improve version of finding
28449         next visible line.
28450         (org-cycle-hide-drawers): Only hide drawers if this is really
28451         necessary.
28452         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
28453         org-version of this function in Org-mode.  We use advice to
28454         implement this change, so that future changes to this function in
28455         outline.el wil be handled properly.
28456         (org-forward-same-level, org-backward-same-level): New commands.
28458 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28460         * org.el (org-remove-empty-overlays-at)
28461         (org-clean-visibility-after-subtree-move): New functions.
28462         (org-move-subtree-down): Simplify cleanup of display.
28464 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28466         * org-mac-message.el (org-mac-message-get-links): Improve
28467         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
28468         "s".  Fix the return value.
28469         (org-mac-message-insert-flagged): Simplify.
28471         * org.el (org-refile-get-location): Tamper with refile history o
28472         that history contains compete matches instead of the entered
28473         string.
28475 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28477         * org.el (org-store-link): Never store a link to an inline task.
28479         * org-footnote.el (org-footnote-goto-local-insertion-point):
28480         Skip inline tasks when positioning footnotes.
28482         * org.el (org-refile): Remove the END line when archiving an
28483         inline task that does have an END line.
28485         * org-archive.el (org-archive-subtree): Remove the END line when
28486         archiving an inline task that does have an END line.
28488         * org-macs.el (org-with-limited-levels): New macro.
28489         (org-get-limited-outline-regexp): New function.
28491         * org-exp.el (org-export-format-source-code-or-example): Fix bug
28492         that did not enumerate first line.
28493         (org-export-mark-radio-links): Skip matches in links.
28495 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28497         * org.el (org-activate-plain-links): Make single-match.
28498         (org-adapt-indentation): Fix docstring.
28500         * org-macs.el (org-unmodified): Turn of modification hooks while
28501         running this macro.
28503 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28505         * org.el (org-adapt-indentation): Slightly improve the docstring.
28506         (org-occur): Sends an error when the user inputs an empty string.
28507         (org-priority): Bugfix: the tag alignement should happen within
28508         save-excursion.
28510 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28512         * org.el (org-make-link-regexps): Don't exclude parentheses from
28513         `org-plain-link-re'.
28514         (org-cycle-internal-local): When locally cycling, switch directly
28515         from CHILDREN to FOLDED if there is no subtree.
28516         (org-cycle): Update the docstring to document the new behavior of
28517         `org-cycle-internal-local'.
28519 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
28521         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
28522         an abbreviated format for days.
28524 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28526         * org-protocol.el (org-protocol-default-template-key):
28527         New option.
28529         * org.el (org-refile): Bugfix: save-excursion before reading the
28530         refile target, otherwise cursor moves might confuse `org-refile'.
28532         * org.el (org-toggle-heading): Bugfix: correctly convert list
28533         items before the first headline.
28535         * org.el (org-provide-todo-statistics): Allow a list of TODO
28536         keywords to compute statistics against headlines containing a
28537         keyword from this list.
28538         (org-update-parent-todo-statistics): Possibly use the new allowed
28539         value of `org-provide-todo-statistics'.
28541 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28543         * org-timer.el: Add autoload cookie.
28545         * org.el (org-occur-link-in-agenda-files): New function.
28547         * org-timer.el (org-timer-last-timer): New variable.
28549         * org-agenda.el (org-agenda-mode-map): New key for
28550         org-timer-set-timer called from the agenda.
28552         * org.el (org-mode-map): New key for org-timer-set-timer.
28554         * org-timer.el (org-timer-reset-timers)
28555         (org-timer-show-remaining-time, org-timer-set-timer):
28556         New functions.
28558         * org-clock.el (org-show-notification): Update the docstring.
28560         * org.el (org-provide-todo-statistics): Allow new value
28561         'all-headlines for this option, which includes entries with no
28562         TODO keywords in the todo statistics.
28563         (org-update-parent-todo-statistics): Possibly use the new
28564         'all-headline value from `org-provide-todo-statistics'.
28566 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28568         * org-clock.el (org-dblock-write:clocktable): Add a new option
28569         :timestamp which allows display of timestamps in clock reports.
28571         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
28572         list to a subtree, preserving the structure of the list.
28573         (org-set-emph-re): Make the last element optional in the regexp.
28574         This regexp now matches an emphasized string at the end of a line.
28576         * org-list.el (org-list-goto-true-beginning)
28577         (org-list-make-subtree, org-list-make-subtrees): New functions.
28579         * org.el (org-eval-in-calendar): Select the right frame.
28580         (org-save-frame-excursion): Remove this macro.
28582 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28584         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
28585         trying to find the beginning of a list.
28587         * org-exp.el (org-get-file-contents): Use a new argument: markup.
28588         When present, tell org-get-file-contents not to protect org-like
28589         lines.
28591         * org-id.el (org-id-uuid-program): New option to set the name of
28592         the uuidgen program.
28593         (org-id-method): Use `org-id-uuid-program'.
28594         (org-id-new): Use `org-id-uuid-program'.
28596 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28598         * org-exp.el (org-export-number-lines): Allow whitespace in code
28599         references.  Allow the -r switch to remove the references in the
28600         source code even when the lines are not numbered: the labels can
28601         be explicit enough.
28603         * org.el (org-fontify-whole-heading-line): New option.
28604         (org-set-font-lock-defaults): Use the new option.
28606         * org-clock.el (org-show-notification-handler): New option.
28607         (org-show-notification): Use the new option.
28609 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28611         * org.el (org-eval-in-calendar): Fix a bug about calendar
28612         navigation when `calendar-setup' value is 'calendar-only.
28614 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28616         * org.el (orgstruct++-mode): Fix typo in docstring.
28617         (org-insert-link): Clean up: (or (...)) => (...)
28618         (org-insert-link): Use TAB for stored links completion.
28620 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28622         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
28623         building the list of targets.
28625         * org-remember.el (org-remember-delete-empty-lines-at-end):
28626         New option.
28627         (org-remember-handler): Use the new option.
28629 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28631         * org.el (org-tags-sort-function): New option for sorting tags.
28632         (org-set-tags): Use the new option to sort tags.
28634         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28635         premature deletion of the data when using org-plot in a script.
28637 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28639         * org-clock.el (org-clock-in-prepare-hook): New hook.
28640         (org-clock-in): Use this new hook.
28642 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28644         * org.el (org-special-ctrl-a/e): Explicitly bind the value
28645         'reversed for this option to the "true line boundary first"
28646         behavior.
28647         (org-tags-match-list-sublevels): Document the 'indented value for
28648         this variable.
28650         * org-latex.el (org-export-latex-first-lines): Fix problem with
28651         publishing the region.
28653         * org-exp.el (org-export-format-source-code-or-example):
28654         Fix bad line numbering when exporting examples in HTML.
28656 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28658         * org-colview.el (org-format-time-period): Formats a time in
28659         fractional days as days, hours, mins, seconds.
28660         (org-columns-display-here): Add special handling for SINCE and
28661         SINCE_IA to format for display.
28663         * org.el (org-time-since): Add a function to get the time since an
28664         org timestamp.
28665         (org-entry-properties): Add two new special properties: SINCE and
28666         SINCE_IA.  These give the time since any active or inactive
28667         timestamp in an entry.
28668         (org-special-properties): Add SINCE, SINCE_IA.
28669         (org-tags-sort-function): Add custom declaration for tags
28670         sorting function.
28671         (org-set-tags): Sort tags if org-tags-sort-function is set.
28673 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28675         * org-clock.el (org-clock-goto): Find hidden headlines as well.
28677         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28679         * org-plot.el (org-plot/add-options-to-plist): Add timeind
28680         option.
28682 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28684         * org-publish.el (org-publish-remove-all-timestamps): New function.
28685         (org-publish-all): Remove all timestamp files if `org-publish-all'
28686         is called with a prefix argument.
28688         * org-list.el (org-indent-item): Fix typo.
28689         (org-item-indent-positions): Normalize ordered bullet.
28691 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28693         * org-macs.el (org-set-local): Make a local variable, do not make
28694         the variable buffer-local!
28696         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28698         * org-exp.el (org-infile-export-plist): Read BIND lines.
28699         (org-install-letbind): New function.
28700         (org-export-as-org, org-export-preprocess-string):
28701         Call `org-install-letbind'.
28703         * org-list.el (org-list-demote-modify-bullet): New option.
28704         (org-first-list-item-p): Save point.
28705         (org-fix-bullet-type): New optional argument FORCE-BULLET.
28706         (org-indent-item): Honor `org-list-demote-modify-bullet'.
28707         (org-item-indent-positions): Return bullet types along with
28708         indentation.
28710 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28712         * org.el (org-show-entry): Hide drawers.
28714 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28716         * org-footnote.el (org-footnote-auto-adjust): New option.
28717         (org-footnote-auto-adjust-maybe): New function.
28718         (org-footnote-new, org-footnote-delete):
28719         Call `org-footnote-auto-adjust-maybe'.
28721         * org.el (org-startup-options): Add new footnote-related
28722         keywords.
28724         * org-publish.el (org-publish-timestamp-filename): Additional
28725         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28726         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28727         TRUE-PUB-DIR.  Pass them through to
28728         `org-publish-timestamp-filename'.
28729         (org-publish-update-timestamp): Additional arguments PUB-DIR and
28730         PUB-FUNC, which are included in the hash.
28731         (org-publish-file): Delay timestamp test until the publishing
28732         function is known.
28734 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28736         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28737         setting the deadline.
28739         * org.el (org-read-date-final-answer): New variable.
28740         (org-read-date): Store the final answer string, including the date
28741         from the calendar, for reuse by agenda bulk commands.
28743         * org-publish.el (org-publish-attachment): Fix publishing of
28744         attachments.
28746         * org-latex.el (org-export-latex-quotation-marks): Fix export of
28747         quotation makrs in parenthesis.
28748         (org-remove-initial-hash): New function.
28749         (org-export-latex-preprocess): Fix bug with infinite loop if
28750         environment is not properly closed.
28752         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28753         when indented.
28755         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28756         highlight also when indented.
28758 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28760         * org-footnote.el (org-footnote-renumber-fn:N): New command.
28761         (org-footnote-action): Offer renumbering.
28763         * org.el (org-cycle): Honor the `integrate' value of
28764         org-cycle-include-plain-lists'.
28766         * org-list.el (org-cycle-include-plain-lists): New allowed value
28767         `internal'.  Improve the docstring.
28769         * org.el (org-set-autofill-regexps): Improve the paragraph-start
28770         regexp to work better with LaTeX commands.
28772 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28774         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28775         and eps extensions.
28777 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28779         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28780         loaded.
28782         * org.el (org-map-entries): No longer force
28783         `org-tags-match-list-sublevels' to t during a todo-only tags
28784         search.
28786 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28788         * org-latex.el (org-export-latex-low-levels): Allow user-defined
28789         environment.
28790         (org-export-latex-subcontent): Handle user-defined environment.
28792         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28793         the View dispatcher.
28795         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28796         `make-overlay'.
28798         * org-latex.el (org-export-as-pdf): Protect match data during call
28799         to shell-quote-argument.
28801         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28802         (org-agenda-view-mode-dispatch): New function.
28804 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28806         * org-agenda.el (org-agenda-mode): Reset list of marks.
28807         (org-agenda-mode-map): Define new keys for refile and bulk action.
28808         (org-agenda-menu): Add menu itesm for refile and bulk action.
28809         (org-agenda-refile): New function.
28810         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28811         (org-agenda-marked-entries): New variable.
28812         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28813         (org-agenda-remove-all-bulk-action-marks)
28814         (org-agenda-bulk-action): New functions/commands.
28816 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28818         * org-exp.el (org-get-file-contents): Protect org-like lines in
28819         included files.
28820         (org-export-format-source-code-or-example): Remove newlines.
28822         * org-latex.el (org-export-latex-links): Check for no-description
28823         marking.
28825         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28826         argument separator back to comma.
28827         (org-export-normalize-links): Mark links without description.
28829 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28831         * org-exp.el (org-infile-export-plist): Fix bug in macro
28832         processing.
28834         * org-agenda.el (org-agenda-clock-out): Update line after clocking
28835         out.
28836         (org-agenda-highlight-todo): Fix bug with highlighting.
28838 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28840         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28841         new alignment strings.
28843         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28844         command list.
28845         (org-table-align): Check for forced align type.
28847         * org.el (org-self-insert-command): Add yas/expand to command
28848         list.
28850         * org-clock.el (org-clock-in-hook): New hook.
28851         (org-clock-in): Run `org-clock-in-hook.
28852         (org-clock-out-hook): New hook.
28853         (org-clock-out): Run `org-clock-out-hook.
28854         (org-clock-cancel-hook): New hook.
28855         (org-clock-cancel): Run `org-clock-cancel-hook.
28856         (org-clock-goto-hook): New hook.
28857         (org-clock-goto): Run `org-clock-goto-hook.
28859 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28861         * org.el (org-store-link): Better default description for link to
28862         Org-mode headline.
28864         * org-exp.el (org-export-generic): Autoload the generic exporter
28865         function.
28866         (org-export): Implement the `g' key for the generic exporter.
28868 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28870         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28871         and for zbacktab'.
28873         * org-exp.el (org-infile-export-plist): Get macros also from
28874         #+SETUPFILE.
28876 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28878         * org-colview.el (org-columns-capture-view): Protect vertical bars
28879         in column values.
28880         (org-columns-capture-view): Exclude comment and archived trees.
28882         * org.el (org-quote-vert): New function.
28884         * org-latex.el (org-export-latex-verbatim-wrap): New option.
28886         * org-exp.el (org-export-format-source-code-or-example):
28887         Use `org-export-latex-verbatim-wrap'.
28889         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28890         time stamps.
28892 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
28894         * org-exp-blocks.el: New file.
28896 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28898         * org-remember.el (org-remember-templates): Allow the headline
28899         element to be a function.
28900         (org-remember-apply-template): If the headline is a function, call
28901         it to get the true function.
28903         * org-clock.el (org-clock-menu): New function.
28904         (org-clock-update-mode-line): Update help string.
28905         (org-clock-modify-effort-estimate): New function.
28906         (org-clock-mark-default-task): New function.
28908         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28909         minutes as input.
28910         (org-org-menu): Add new clocking stuff.
28911         (org-clock-is-active): New function.
28913 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28915         * org.el (org-open-non-existing-files): Improve docstring.
28917 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28919         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28920         New option.
28921         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28923         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28925         * org-list.el (org-get-checkbox-statistics-face): Use the new
28926         faces.
28928         * org-faces.el (org-checkbox-statistics-todo)
28929         (org-checkbox-statistics-done): New faces.
28931 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28933         * org-latex.el (org-export-latex-use-verb): New variable.
28934         (org-export-latex-emph-format): Prefer \texttt over \verb when
28935         org-export-latex-use-verb is set.
28937 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28939         * org-remember.el (org-remember-handler): Abort remember if the
28940         buffer is empty.
28942         * org-exp.el (org-export-format-source-code-or-example):
28943         Run `org-src-mode-hook'.
28945 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28947         * org.el (org-indent-line-function): Fix indentation of +#end lines.
28949 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28951         * org-gnus.el (org-gnus-store-link): Require message.el in
28952         org-gnus-store-link.
28954 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28956         * org-src.el: New file, split out of org.el.
28958         * org-macs.el (org-replace-match-keep-properties): New function.
28960         * org-exp.el (org-export-mark-blockquote-verse-center):
28961         Better preprocessing of center and quote and verse blocks.
28963         * org-list.el (org-list-end): Respect the stored "original"
28964         indentation when determining the end of the list.
28966         * org-exp.el (org-export-replace-src-segments-and-examples):
28967         Remember indentation correctly.
28969 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28971         * org-clock.el (org-clock-update-mode-line): Apply face
28972         org-mode-line-clock.
28974         * org-faces.el (org-mode-line-clock): New face.
28976 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28978         * org-gnus.el (org-gnus-store-link): Fix bug where
28979         `org-gnus-store-link' used wrong subject when called in an article
28980         buffer.  Patch provided by fengli AT gmail DOT com.
28982 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28984         * org-exp.el (org-export-format-source-code-or-example):
28985         Remember the original indentation of source code snippets and examples.
28987         * org-latex.el (org-export-as-latex): Relocate the table of
28988         contents.
28990         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
28992         * org-agenda.el (org-run-agenda-series): Scope global options also
28993         when creating the agenda buffer.
28995 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28997         * org.el (org-adapt-indentation): Improve documentation.
28998         (org-insert-property-drawer): Respect org-adapt-indentation when
28999         inserting the drawer.
29000         (org-remove-flyspell-overlays-in): New function.
29001         (org-do-emphasis-faces, org-activate-plain-links)
29002         (org-activate-code, org-fontify-meta-lines-and-blocks)
29003         (org-activate-angle-links, org-activate-footnote-links)
29004         (org-activate-bracket-links, org-activate-dates)
29005         (org-activate-target-links, org-activate-tags): Remove flyspell
29006         overlays.
29008 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29010         * org.el (org-edit-src-save): New function.
29012         * org-clock.el (org-clock-out-switch-to-state): New option.
29013         (org-clock-out): Honor `org-clock-out-switch-to-state'.
29015         * org-compat.el (org-compatible-face): Improve macro.
29017         * org.el (org-global-properties-fixed): Add default for
29018         CLOCK_MODELINE_TOTAL.
29020         * org-clock.el (org-clock-sum): Accept lists and strings as tstart
29021         and tend.
29022         (org-clock-sum-current-item): Optional argument TSTART, pass it to
29023         org-clock-sum.
29024         (org-clock-get-sum-start): New function.
29026         * org.el (org-startup-options): New keywords blockhide and
29027         blockshow.
29028         (org-mode): Add new invisibility spec.
29029         (org-set-startup-visibility): Hide block on startup if so
29030         desired.
29031         (org-hide-block-startup): New option.
29032         (org-block-regexp): New constant.
29033         (org-hide-block-overlays): New variable.
29034         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
29035         (org-show-block-all, org-hide-block-toggle-maybe)
29036         (org-hide-block-toggle): New functions.
29037         (org-edit-src-exit): Do not quote lines starting with # and no +
29038         behind it.
29039         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
29040         entry.
29042 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29044         * org.el (org-buffer-property-keys): Add Effort property for
29045         completion.
29047 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29049         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
29050         when retrieving total clocked time in the subtree.
29052         * org.el (org-quoting-blocks): New variable.
29054 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29056         * org-table.el (org-table-store-formulas)
29057         (org-table-get-stored-formulas, org-table-fix-formulas)
29058         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
29059         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
29061         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
29062         Allow indented #+TBLFM line.
29064         * org-footnote.el (org-footnote-goto-local-insertion-point):
29065         Allow indented #+TBLFM line.
29067         * org-colview.el (org-dblock-write:columnview): Allow indented
29068         #+TBLFM line.
29070         * org-clock.el (org-dblock-write:clocktable): Allow indented
29071         #+TBLFM line.
29073 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29075         * org-exp.el (org-export-format-source-code-or-example):
29076         Make editing indented blocks work correctly.
29078         * org.el (org-edit-src-nindent): New variable.
29079         (org-edit-src-code, org-edit-fixed-width-region)
29080         (org-edit-src-find-region-and-lang, org-edit-src-exit):
29081         Make editing indented blocks work correctly.
29083 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29085         * org-exp.el (org-export-replace-src-segments-and-examples):
29086         Find indented blocks.
29087         (org-export-format-source-code-or-example): Fix indentation of
29088         blocks.
29089         (org-export-remove-indentation): New function.
29090         (org-export-select-backend-specific-text): Allow backend-specific
29091         code to be indented.
29092         (org-export-mark-blockquote-verse-center): Allow markers to be
29093         indented.
29095         * org.el (org-fontify-meta-lines): New function.
29096         (org-set-font-lock-defaults): Call the new fontification
29097         function.
29099         * org-faces.el (org-meta-line): New face.
29100         (org-block): New face.
29102 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29104         * org.el (org-treat-insert-todo-heading-as-state-change)
29105         (org-treat-S-cursor-todo-selection-as-state-change):
29106         New variables.
29107         (org-insert-todo-heading):
29108         Honor `org-treat-insert-todo-heading-as-state-change'.
29109         (org-shiftright, org-shiftleft):
29110         Honor `org-treat-S-cursor-todo-selection-as-state-change'.
29111         (org-inhibit-logging): New variable.
29113 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29115         * org-agenda.el (org-remove-subtree-entries-from-agenda):
29116         Reduce range for marker position checking.
29118         * org-latex.el (org-export-latex-first-lines): Fix bug when
29119         exporting a region.
29121 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29123         * org-exp.el (org-export-push-to-kill-ring): Protect using
29124         x-set-selection, because that does not always work.
29126         * org-agenda.el (org-agenda-list): Apply the new face
29127         `org-agenda-date-today'.
29129         * org-faces.el (org-agenda-date-today): New face.
29131 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29133         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
29134         creating appointments.
29136         * org-latex.el (org-export-latex-low-levels): Fix customization
29137         type.
29139         * org.el (org-priority, org-shiftup, org-shiftdown):
29140         Disable priority commands.
29142         * org-agenda.el (org-agenda-priority): Disable priority commands.
29144         * org.el (org-enable-priority-commands): New option.
29146         * org-colview.el (org-columns-compute)
29147         (org-columns-number-to-string): Fix problems with empty fields.
29149         * org-exp.el (org-export-push-to-kill-ring): New function.
29150         (org-export-copy-to-kill-ring): New option.
29152         * org-latex.el (org-export-as-latex):
29153         Call `org-export-push-to-kill-ring'.
29155         * org-exp.el (org-export-show-temporary-export-buffer):
29156         New option.
29158         * org-latex.el (org-export-as-latex):
29159         Use `org-export-show-temporary-export-buffer'.
29161         * org-exp.el (org-export-show-temporary-export-buffer):
29162         New option.
29163         (org-export-push-to-kill-ring): New function.
29165         * org-colview.el (org-columns-compile-map): New variable.
29166         (org-columns-new, org-columns-compute)
29167         (org-columns-number-to-string, org-columns-uncompile-format)
29168         (org-columns-compile-format): Implement new operators.
29170 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29172         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
29174         * org-list.el (org-update-checkbox-count): Make property
29175         dependent.
29177         * org.el (org-hierarchical-todo-statistics): New option.
29178         (org-update-parent-todo-statistics): Modify to handle recursive
29179         statistics.
29181 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29183         * org-publish.el (org-publish): Make this function behave
29184         correctly in interactive use when called with a prefix argument.
29186         * org.el (org-todo-statistics-hook): New hook.
29187         (org-update-parent-todo-statistics): Use new hook.
29188         (org-log-into-drawer): New function.
29189         (org-add-log-setup): Use the new `org-log-into-drawer' function to
29190         determine if we should be logging into a drawer.
29191         (org-log-into-drawer): Update docstring.
29192         (org-default-properties): Add LOG_INTO_DRAWER as a property.
29194         * org-list.el (org-checkbox-statistics-hook): New hook.
29195         (org-update-checkbox-count-maybe): Use new hook.
29197 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29199         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
29200         better buffer-generating mechanism.
29201         (org-edit-src-find-buffer): New function.
29203         * org-icalendar.el (org-print-icalendar-entries): Don't check for
29204         archive tag, this is already done by `org-agenda-skip'.
29205         data while constructing lost of tags.
29207 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29209         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
29210         as argument separator in macros.
29212 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29214         * org.el (org-after-sorting-entries-or-items-hook): New hook.
29215         (org-sort-entries-or-items): Run the new hook.
29216         (org-after-refile-insert-hook): New hook.
29217         (org-refile): Run `org-after-refile-insert-hook'.
29219         * org-agenda.el (org-agenda-get-progress): Never take time of day
29220         from headline when displaying progress.
29222         * org-latex.el (org-export-latex-complex-heading-re): New variable.
29223         (org-export-as-latex): Force the correct regexp in the
29224         preprocessor buffer.
29225         (org-export-latex-set-initial-vars):
29226         Set `org-export-latex-complex-heading-re'.
29228         * org-agenda.el (org-agenda-start-with-log-mode): New option.
29229         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
29231 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29233         * org-latex.el (org-export-latex-tables-centered): New option.
29234         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
29236         * org-exp.el (org-export-as-org): New command.
29237         (org-export-as-org): New command.
29239         * org-publish.el (org-publish-org-to-org): New function.
29241 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29243         * org.el (org-yank): Just call `org-yank-generic'.
29244         (org-yank-generic): New function, containing the formaer
29245         functionality of `org-yank'.
29247         * org-latex.el (org-export-latex-not-done-keywords)
29248         (org-export-latex-done-keywords): New variables.
29249         (org-export-latex-todo-keyword-markup): New option.
29250         (org-export-latex-set-initial-vars): Remember the TODO keywords.
29251         (org-export-latex-keywords-maybe): Apply the TODO markup.
29253 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29255         * org-exp.el (org-infile-export-plist): Add more default macros.
29256         (org-export-preprocess-apply-macros): Process macro arguments.
29258 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29260         * org-icalendar.el (org-icalendar-include-todo): New allowed value
29261         `unblocked'.
29262         (org-print-icalendar-entries): Respect the new value of
29263         `org-icalendar-include-todo'.
29265         * org.el (org-link-try-special-completion)
29266         (org-file-complete-link): New functions.
29267         (org-insert-link): Add special completion support for some link
29268         types.
29270         * org-bbdb.el (org-bbdb-complete-link): New function.
29272 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29274         * org-list.el (org-update-checkbox-count): Allow recursive
29275         statistics.
29276         (org-hierarchical-checkbox-statistics): New option.
29278         * org.el (org-cycle): Remove erraneous space character.
29280         * org-icalendar.el (org-icalendar-timezone): Initialize from
29281         environment.
29283 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29285         * org.el (org-autoload): Fix autoloading of ascii export
29286         functions.
29287         (org-modules): Add org-special-blocks.
29289 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29291         * org-icalendar.el (org-start-icalendar-file): Use the new option.
29292         (org-ical-timezone): New option.
29294         * org-exp.el (org-export-get-coderef-format): Use the description
29295         is present.
29297         * org.el (org-sort-entries-or-items): Improve docstring, and make
29298         better implementation for time sorting.
29300 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29302         * org.el (org-edit-src-persistent-message): New option.
29303         (org-edit-src-code, org-edit-fixed-width-region): Use the new
29304         option.
29306         * org-clock.el (org-clock-insert-selection-line): Fix prefious
29307         patch.
29309         * org.el (org-edit-src-code, org-edit-fixed-width-region):
29310         Use separate buffer instead of indirect buffer to edit source code.
29311         (org-edit-src-exit): Make this function work with the new setup.
29313         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
29314         are properly fontified before shown in the selection menu.
29316         * org.el (org-fontify-like-in-org-mode): New function.
29318         * org-latex.el (org-export-latex-links): Use the property list to
29319         retrieve the default image attributes.
29321         * org-exp.el (org-export-plist-vars): Add a new option.
29323 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29325         * org-exp.el (org-export, org-export-visible): Support ASCII
29326         export to buffer.
29327         (org-export-normalize-links): Do not protect the description if it
29328         is explicitly given.
29330         * org-list.el (org-reset-checkbox-state-subtree): Move here from
29331         org-checklist.el.
29332         (org-reset-checkbox-state-subtree):
29333         Call `org-reset-checkbox-state-subtree'.
29335         * org-remember.el (org-select-remember-template): For the
29336         selection of a valid template.
29338         * org-latex.el (org-export-region-as-latex): Supply the
29339         force-no-subtree argument.
29340         (org-export-as-latex): Provide better limits when exporting the
29341         first line.  When exporting to string, we still want the first
29342         lines.
29343         (org-export-latex-first-lines): New argument END, to force the end
29344         of the region.
29345         (org-export-region-as-latex): Use the property list.
29346         (org-export-as-latex): ????
29348 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29350         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
29351         (org-export-latex-preprocess): Run the new hook.
29353         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
29354         (org-export-preprocess-string): Run the new hook.
29356 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29358         * org-macs.el (org-check-external-command): New defsubst.
29360         * org.el (org-mode-map): New key for reload.
29361         (org-format-latex): Better error message when external programs
29362         are not available.
29364         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
29366         * org.el (org-sort-entries-or-items): Explicit sorting function
29367         for priorities, needed for XEmacs compatibility.
29369         * org-remember.el (org-remember-apply-template): Improve auto-save
29370         behavior.
29372 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29374         * org-latex.el (org-export-latex-preprocess): Also protect
29375         environments ending in a star.
29377         * org-list.el (org-at-item-p): Fix regular expression.
29379 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29381         * org.el (org-end-of-subtree): Improve speed.
29383         * org-agenda.el (org-agenda-get-timestamps)
29384         (org-agenda-get-progress, org-agenda-get-deadlines)
29385         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
29386         in particular, wait as long as possible to collect the tags.
29387         (org-stuck-projects): Improve docstring.
29389         * org.el (org-store-link): No errors when getting custom id before
29390         first headline.
29391         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
29393 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29395         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
29397         * org-protocol.el: Remove dependency on url.el.
29398         (org-protocol-unhex-compound, org-protocol-open-source):
29399         Remove dependency on url.el.
29401         * org-latex.el (org-export-as-pdf):
29402         Use `org-latex-to-pdf-process'.
29404 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29406         * org-latex.el (org-latex-to-pdf-process): New option.
29408         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
29409         New option.
29410         (org-agenda-get-timestamps):
29411         Honor `org-agenda-skip-additional-timestamps-same-entry'.
29413         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
29414         (org-clock-goto): Find recent task only if
29415         `org-clock-goto-may-find-recent-task' allows it.
29417         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
29418         drawers, and drawers that are missing the :END: line.
29420 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29422         * org-clock.el (org-clock-goto): Go to recently clocked task if no
29423         clock is running.
29425 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29427         * org.el (org-update-parent-todo-statistics): Check for
29428         STATISTICS_FROM property.
29430         * org-list.el (org-update-checkbox-count): Check for
29431         STATISTICS_FROM property.
29433         * org.el (org-tab-first-hook)
29434         (org-tab-after-check-for-table-hook)
29435         (org-tab-after-check-for-cycling-hook): New hooks.
29436         (org-cycle-internal-global, org-cycle-internal-local):
29437         New functions, split out from `org-cycle'.
29438         (org-cycle): Call the new hooks.
29440 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29442         * org-exp.el (org-export-preprocess-string): Reset the list of
29443         preferred targets for each run of the preprocessor.
29445         * org.el (org-refile-target-verify-function):
29446         Improve documentation.
29447         (org-get-refile-targets): Respect point being moved by the
29448         verification function.
29450         * org-latex.el (org-export-latex-timestamp-keyword-markup):
29451         New option.
29452         (org-export-latex-keywords): Use new option.
29454         * org.el (org-rear-nonsticky-at): New defsubst.
29455         (org-activate-plain-links, org-activate-angle-links)
29456         (org-activate-footnote-links, org-activate-bracket-links)
29457         (org-activate-dates, org-activate-target-links)
29458         (org-activate-tags): Place the rear-nonsticky properties at the
29459         correct location.
29461 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29463         * org-protocol.el (server-edit): Declare `server-edit'.
29464         (org-protocol-unhex-string, org-protocol-unhex-compound):
29465         New functions.
29466         (org-protocol-check-filename-for-protocol): Call `server-edit'.
29468         * org.el (org-default-properties): New default properteis for
29469         completion.
29471         * org-exp.el (org-export-add-subtree-options): Add new properties
29472         for subtree export.
29474 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29476         * org-id.el (org-id-get-with-outline-path-completion): Turn off
29477         org-refile-target-verify-function for the duration of the command.
29479         * org.el (org-link-to-org-use-id): New possible value
29480         `create-if-interactive-and-no-custom-id'.
29481         (org-store-link): Use custom IDs.
29482         (org-link-search): Find custom ID properties from #link.
29483         (org-default-properties): Add CUSTOM_ID for property completion.
29484         (org-refile-target-verify-function): New option.
29485         (org-goto): Turn off org-refile-target-verify-function
29486         for the duration of the command.
29488 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29490         * org-exp.el (org-export-preferred-target-alist): New variable.
29491         (org-export-define-heading-targets): Find the new CUSTOM_ID
29492         property.
29493         (org-export-target-internal-links): Target the custom ids when
29494         possible.
29496         * org-latex.el (org-export-latex-preprocess): Better regexp for
29497         matching latex macros with arguments.
29499 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29501         * org-remember.el (org-remember-handler): Allow filing to non-org
29502         files.
29504 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
29506         * org-table.el (org-table-fix-formulas): Do not change references
29507         to remote tables.
29508         (org-table-get-remote-range): Convert standard coordinates to RC
29509         format.
29511         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
29513 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29515         * org-compat.el (org-sha1-string): Function removed.
29517         * org.el (org-refile-allow-creating-parent-nodes): New option.
29518         (org-refile-get-location): New argument NEW-NODES.
29519         (org-refile): Call `org-refile-get-location' with the new
29520         argument.
29521         (org-refile-get-location): Arrange for adding a new child.
29522         (org-refile-new-child): New function.
29524         * org-clock.el: Fix a number of docstrings.
29525         (org-clock-find-position): New argument
29526         FIND-UNCLOSED to make the function find an unclosed clock in the
29527         entry.
29528         (org-clock-in): Call `org-clock-find-position' with the new
29529         argument if we might be resuming a clock.
29531 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29533         * org-latex.el (org-export-latex-display-custom-times): New variable.
29534         (org-export-latex-timestamp-markup): New option.
29535         (org-export-latex-set-initial-vars): Remember the local value of
29536         `org-display-custom-times'.
29537         (org-export-latex-content): Process time stamps.
29538         (org-export-latex-time-stamps): New function.
29540         * org-macs.el (org-maybe-intangible): Add intangible property
29541         again to invisible text.
29543 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29545         * org-exp.el (org-default-export-plist): Handle undefined
29546         variables.
29548 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29550         * org.el (org-sort-entries-or-items): Match TODO keywords
29551         case-sensitively, when sorting.
29552         (org-priority): Do not match TODO keywords with wrong case.
29554 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29556         * org.el (org-todo): Honor the NOBLOCKING property.
29558         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
29559         NOBLOCKING property.
29561         * org.el (org-scan-tags): Fix bug in tag scanner.
29563 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29565         * org.el (org-modules): Mark obsolete packages.
29567         * org-html.el: New file, split out from org-exp.el.
29569         * org-icalendar.el: New file, split out from org-exp.el.
29571         * org-xoxo.el: New file, split out from org-exp.el.
29573         * org-ascii.el: New file, split out from org-exp.el.
29575 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29577         * org-compat.el (org-find-library-name): New function.
29579         * org.el (org-pre-cycle-hook): New hook.
29580         (org-cycle): Call the new hook in appropriate places.
29581         (org-reload): Only reload files that have been loaded before.
29583 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29585         * org.el (org-set-font-lock-defaults): Enforxe space or line end
29586         after todo keyword.
29587         (org-todo): When changing TODO state, do matching
29588         case-sensitively.
29589         (org-map-continue-from): New variable.
29590         (org-scan-tags): Respect values in `org-map-continue-from'.
29591         (org-reload): Make XEmacs compatible.
29593 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29595         * org-protocol.el (org-protocol-flatten-greedy): New function.
29596         (org-protocol-flatten): New function.
29598         * org.el (org-open-link-from-string): Pass reference buffer to
29599         `org-open-at-point'.
29600         (org-open-at-point): New optional argument `reference-buffer'.
29602 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29604         * org.el (org-scan-tags): Make tag scan find headline in first
29605         line, 2nd attempt.
29606         (org-get-refile-targets): Add the naked file name.
29607         (org-refile): Store as top-level entry when only file name was
29608         given.
29610         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
29612         * org.el (org-block-todo-from-children-or-siblings-or-parent):
29613         Rename from org-block-todo-from-children-or-siblings, and
29614         enhanced to look for the parent's status as well.
29616         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
29617         (org-agenda-get-progress): Add first notes line to log entry if so
29618         desired.
29620 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29622         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
29623         (org-agenda-cleanup-fancy-diary): Call the new hook.
29625         * org-remember.el (org-remember-apply-template): Take the default
29626         for the annotation from the :annotation property.
29628         * org-mac-message.el (org-mac-message-get-link): Remove the
29629         quotes.
29630         (org-mac-message-get-link): Return the result.
29632 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29634         * org.el (org-refile-get-location): Add file name only if not
29635         already included in outline path.
29637         * org-faces.el (org-n-level-faces): Fix customization type from
29638         number to integer.
29640         * org-exp.el (org-export-headline-levels): Fix customization type
29641         from number to integer.
29643         * org-agenda.el (org-agenda-confirm-kill)
29644         (org-agenda-custom-commands-local-options)
29645         (org-timeline-show-empty-dates, org-agenda-ndays)
29646         (org-agenda-start-on-weekday, org-scheduled-past-days):
29647         Fix customization type from number to integer.
29649 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29651         * org-protocol.el: Declare some functions.
29653         * org-agenda.el (org-agenda-compare-effort):
29654         Honor `org-sort-agenda-noeffort-is-high'.
29655         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29656         (org-agenda-compare-effort): Implement the "?" operator for
29657         finding entries without effort setting.
29659         * org.el (org-extract-attributes-from-string): New function.
29661         * org-exp.el (org-export-splice-attributes): New function.
29663 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29664         Daniel M German  <dmg@uvic.org>
29665         Sebastian Rose  <sebastian_rose@gmx.de>
29666         Ross Patterson  <me@rpatterson.net>
29668         * org-protocol.el: New file.
29670 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
29672         * org-docbook.el: New file.
29674 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29676         * org-mouse.el: XEmacs compatibility fixes.
29678         * org.el (org-modules): Add org-inlinetasks.el.
29679         (org-cycle): Implement limiting level on cycling.
29680         (org-move-subtree-down): Fix bug with swapping subtrees at end of
29681         buffer.
29683         * org-inlinetask.el: New file.
29685         * org.el (org-emphasis-regexp-components): Allow braces in
29686         emphasis pre and post match.
29688         * org-footnote.el (org-footnote-normalize): When only sorting, do
29689         not insert inline notes at the end.
29691         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29693 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29695         * org.el (org-reftex-citation): New command.
29697 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29699         * org-agenda.el (org-agenda-cmp-user-defined): New option.
29700         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29701         sorting options.
29702         (org-entries-lessp): Apply the new sorting option.
29704         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29705         blocker code, when an older sibling has children.
29707         * org-mac-message.el (org-mac-message-get-link): Improve getting
29708         links from multiple selected messages.
29710 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29712         * org-remember.el (org-remember-finalize): Do not set buffer file
29713         name to nil.
29714         (org-remember-handler): Mark buffer as unmodified.
29715         (org-remember-handler): Delete backup file and show message about
29716         remaining backup files.
29717         (org-remember-auto-remove-backup-files): New option.
29719         * org.el (org-store-link): Use buffer name as link description in
29720         w3-mode buffers.
29721         (org-ido-switchb): Fix argument bug for completion.
29723         * org-remember.el (org-remember-apply-template): Set local
29724         variable `auto-save-visited-file-name' instead of global one.
29726 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29728         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29729         (org-agenda-get-todos): Mark file tags as inherited.
29730         (org-agenda-list): Always search diary lines for a time.
29732 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29734         * org-feed.el: New file.
29736         * org-exp.el (org-export-as-html): Close local lists depending on
29737         indentation, also when starting a table.
29739         * org-remember.el (org-remember-backup-directory)
29740         (org-remember-backup-name): New internal variable.
29742 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29744         * org-clock.el (org-clock-out-if-current): Make buffer detection
29745         work in indirect buffers as well.
29747         * org.el (org-emphasis-regexp-components): Add the exxclamation
29748         mark to the post-emphasis characters.
29750 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29752         * org.el (org-read-date-minibiffer-septup-hook): New hook.
29753         (org-read-date): Run the new hook.
29755         * org-mac-message.el (org-mac-flagged-mail): New group.
29756         (org-mac-mail-account): New variable.
29757         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29758         New commands.
29760         * org-remember.el (org-remember-backup-directory): New variable.
29761         (org-remember-apply-template): Write file to backup directory.
29763 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29765         * org-mouse.el (org-mouse-todo-menu): New function.
29766         (org-mouse-todo-keywords): Function removed.
29767         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29769         * org-table.el (org-table-beginning-of-field)
29770         (org-table-end-of-field): New commands.
29771         (org-table-previous-field, org-table-beginning-of-field):
29772         Better error messages.
29773         (orgtbl-setup): Include `M-a' and `M-e'.
29775         * org.el (org-backward-sentence, org-forward-sentence):
29776         New commands.
29778         * org-colview.el (org-colview-initial-truncate-line-value):
29779         New variable.
29780         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29781         (org-columns): Remember the value of `truncate-lines'.
29783         * org.el (org-columns-skip-arrchived-trees): New option.
29785         * org-agenda.el (org-agenda-export-html-style): Define color for
29786         org-agenda-done face.
29787         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29788         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29790         * org.el (org-scan-tags): Use the new face.
29792         * org-faces.el (org-agenda-done): New face.
29794         * org.el (org-scan-tags): Test the value org
29795         `org-tags-match-list-sublevels'.
29796         (org-tags-match-list-sublevels): New allowed value: indented.
29798         * org-latex.el (org-export-latex-make-header): Apply macros
29799         in header.
29801         * org-exp.el (org-export-apply-macros-in-string): New function.
29803         * org-latex.el (org-export-latex-list-parameters): Fix bug
29804         with the definition of a checked box.
29806         * org-clock.el (org-clock-find-position): Fix drawer indentations.
29808         * org-latex.el (org-export-latex-low-levels): More options
29809         for how to process lower levels in LaTeX.
29810         (org-export-latex-subcontent): Better treatment for lists as a
29811         means of publishing lower levels.
29813 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29815         * org.el (org-set-font-lock-defaults): Use new checkbox face.
29817         * org-faces.el (org-checkbox): New face.
29819         * org-exp.el (org-export-html-preprocess): Only create LaTeX
29820         fragement images if there is an export file.
29822 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29824         * org-agenda.el (org-stuck-projects): Document that the subtree of
29825         projects that are not stuck will now be searched for stuck
29826         sub-projects.
29827         (org-agenda-skip-entry-when-regexp-matches)
29828         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29829         (org-agenda-list-stuck-projects):
29830         Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29832         * org-latex.el (org-export-latex-preprocess):
29833         Improve export of verses.
29835         * org-exp.el (org-export-as-html): Implement centering as a div
29836         rather than a paragraph.  Do a better job with line-end in verse
29837         environments.
29839 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29841         * org.el (org-open-at-point): Fix tags searches by mouse click.
29843 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29845         * org-latex.el (org-export-latex-preprocess): Implement the
29846         centering markup.
29848         * org-exp.el (org-export-mark-blockquote-verse-center):
29849         Rename from `org-export-mark-blockquote-and-verse'.
29850         (org-export-as-html): Implement the centering markup.
29852         * org-latex.el (org-export-latex-tables): Fix vertical
29853         lines in tables.
29855 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29857         * org.el (org-read-date-history): New variable.
29858         (org-read-date): Use new history variable.
29859         (org-toggle-heading): Fix bug when used before first headline.
29860         (org-store-log-note): Remove drawer if empty while note is
29861         aborted.
29862         (org-remove-empty-drawer-at): New function.
29863         (org-check-after-date): New command.
29864         (org-sparse-tree): New sparse tree command "a".
29866         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29868 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29870         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29871         column and a space, not only a column.
29873 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29875         * org-latex.el (org-export-latex-emphasis-alist):
29876         Better defaults for verbose emphasis.
29877         (org-export-latex-emph-format): New function.
29878         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29880         * org-agenda.el (org-agenda-menu): Add new commands to menu.
29881         (org-agenda-do-date-later, org-agenda-do-date-earlier)
29882         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29883         (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29884         New commands.
29886         * org.el (org-timestamp-change): Move end-time along with start
29887         time.
29889 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29891         * org-exp.el (org-export-target-internal-links)
29892         (org-export-as-html): Protect links specified as #name.
29894 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29896         * org.el (org-clone-subtree-with-time-shift): New command.
29898         * org-latex.el (org-export-latex-special-chars)
29899         (org-export-latex-treat-sub-super-char): Fix subscript export.
29901         * org-exp.el (org-create-multibrace-regexp): Do not add
29902         backslashes to the class.
29904 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29906         * org-colview.el (org-columns-map): Better functions for moving up
29907         and down a row, even if `truncate-line' is nil.
29909         * org.el (org-insert-todo-heading): Make sure the keyword is
29910         inserted at the correct position.
29912         * org-publish.el (org-publish-project-alist)
29913         (org-publish-projects, org-publish-org-index): Change default anme
29914         for the index of file names to "sitemap.org".
29916         * org-latex.el (org-export-latex-tables):
29917         Use `org-split-string', for Emacs 21 compatibility.
29919 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29921         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29923 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29925         * org-exp.el (org-export-page-description)
29926         (org-export-page-keywords): New variables.
29927         (org-export-plist-vars): Add entries for :keywords and
29928         :description.
29929         (org-infile-export-plist): Parse for new keywords.
29930         (org-get-current-options): Add new keywords.
29931         (org-export-as-html): Publish description and keywords.
29933         * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29934         New option.
29935         (org-agenda-add-entry-text):
29936         Honor `org-agenda-add-entry-text-descriptive-links'.
29938         * org-latex.el (org-export-latex-preprocess): Make all
29939         external preprocess functions use a PARAMETER arg.
29941         * org-exp.el (org-export-preprocess-string)
29942         (org-export-select-backend-specific-text)
29943         (org-export-format-source-code-or-example)
29944         (org-format-org-table-html): Support docbook export.
29945         (org-export-preprocess-string): Make all external preprocess
29946         functions use a PARAMETER arg.
29948 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29950         * org-exp.el (org-export-html-style-include-scripts): New option.
29951         (org-export-plist-vars): Add new option
29952         `org-export-html-style-include-scripts'.
29953         (org-export-as-html): Honor new option
29954         `org-export-html-style-include-scripts'.
29955         (org-export-html-scripts, org-export-html-style-default):
29956         Fix xml issues with the Safari browser.
29958 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29960         * org-publish.el (org-publish-attachment): Only copy file when the
29961         directories differ.
29963 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29965         * org-clock.el (org-clocktable-steps): Use inactive time stamps
29966         for clocktable steps.
29968         * org.el (org-additional-option-like-keywords): Add two more
29969         keywords.
29971 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29973         * org-exp.el (org-export-format-source-code-or-example):
29974         Mark temporary buffer unmodified, so that it will be killed even if
29975         mode like message mode has decided to assign a file name.
29977         * org.el (org-scan-tags): Improve tag inheritance.
29978         (org-scan-tags, org-make-tags-matcher): Make tag comparison
29979         case-sensitive.
29980         (org-scan-tags): Use the internal tags list instead of creating it
29981         from scratch.
29982         (org-trust-scanner-tags, org-scanner-tags): New variables.
29983         (org-scan-tags): Set `org-scanner-tags'.
29984         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
29985         (org-map-entries): Document the possible speedup using scanner
29986         tags.
29988 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29990         * org.el (org-add-planning-info): Fix bug with looking for keyword
29991         only at column 0.
29993         * org-agenda.el (org-agenda-custom-commands-local-options):
29994         Add option for tags filter preset.
29995         (org-prepare-agenda): Store filter preset as a property on the
29996         filter variable.
29997         (org-finalize-agenda): Call the filter, if there is a preset.
29998         (org-agenda-filter-by-tag): Filter again after clearing the
29999         filter, when there still is a preset.
30000         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
30001         Include the preset filter.
30002         (org-agenda-redo): Apply the filter again, also the preset filter.
30004         * org-exp.el (org-export-as-html): Use IDs in the correct way.
30006         * org.el (org-uuidgen-p): New function.
30008         * org-agenda.el (org-agenda-fontify-priorities): New default value
30009         `cookies'.
30010         (org-agenda-fontify-priorities): Rename from
30011         org-fontify-priorities.
30013         * org.el (org-set-font-lock-defaults):
30014         Call `org-font-lock-add-priority-faces'.
30015         (org-font-lock-add-priority-faces): New function.
30017         * org-faces.el (org-set-tag-faces): New option.
30018         (org-priority-faces): New variable.
30020         * org-exp.el (org-export-as-html): Add a "content" div around the
30021         entire content of the body tag.
30022         (org-export-html-get-bibliography): New function.
30023         (org-export-html-validation-link): New variable.
30024         (org-export-as-html): Add validation link to exported page.
30026         * org.el (org-match-sparse-tree): Rename from
30027         `org-tags-sparse-tree'.
30028         (org-tags-sparse-tree): New alias.
30030 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30032         * org.el (org-get-valid-level): Catch the case where the level
30033         change is nil.
30035         * org-clock.el (org-clock-find-position): Better indentation of
30036         new clock drawers.
30038 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30040         * org-agenda.el (org-agenda-quit): Delete window only when the
30041         frame-setup was not `current-window'.
30043         * org.el (org-tag-persistent-alist): New option.
30044         (org-startup-options): Add keyword `noptag'.
30045         (org-fast-todo-selection): Handle :newline correctly.
30046         (org-set-tags): Handle :newline correctly.
30047         (org-fast-tag-selection): Handle :newline correctly.
30049 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30051         * org-exp.el (org-export-as-ascii): Reverse link buffer before
30052         outputting it.
30053         (org-export-ascii-push-links): Fix bug with pussing links into the
30054         export buffer.
30056 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30058         * org-archive.el (org-archive-subtree): Do not add 1 to level if
30059         pasting at top level.
30061         * org-bbdb.el: Improve documentation.
30063 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30065         * org-list.el (org-insert-item): Only consider insert empty lines
30066         is `org-empty-line-terminates-plain-lists' is not nil.
30068         * org.el (org-blank-before-new-entry): Mention the dependence on
30069         `org-empty-line-terminates-plain-lists' in the docstring.
30071         * org-publish.el (org-publish-get-project-from-filename):
30072         New optional argument UP.  Only find the top project if UP is set.
30073         (org-publish-current-project): Find the top encloding project.
30075         * org-agenda.el (org-agenda-before-write-hook)
30076         (org-agenda-add-entry-text-maxlines): New options.
30077         (org-write-agenda): Run the new hook in the temporary buffer.
30078         (org-agenda-add-entry-text): New function.
30079         (org-write-agenda): Implement PDF export, using ps2pdf.
30081         * org.el (org-global-properties-fixed, org-global-properties):
30082         Improve documentation string.
30084         * org-exp.el (org-export-ascii-links-to-notes): New option.
30085         (org-export-as-ascii): Handle links better.
30086         (org-export-ascii-wrap, org-export-ascii-push-links):
30087         New functions.
30089 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30091         * org-agenda.el (org-agenda): Make prefix arg optional.
30092         (org-agenda-search-headline-for-time): New option.
30093         (org-format-agenda-item):
30094         Honor `org-agenda-search-headline-for-time'.
30096         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
30097         characters.
30099         * org.el (org-self-insert-cluster-for-undo): New option.
30100         (org-self-insert-command): Cluster undo for 20 characters.
30101         (org-self-insert-command-undo-counter): New variable.
30103 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30105         * org-exp.el (org-export-as-html): Fix problem with closing colone
30106         example.
30108 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30110         * org-latex.el (org-export-as-latex)
30111         (org-export-latex-first-lines): Avoid modification flag when
30112         adding or removing text properties.
30113         (org-export-latex-fontify): Catch error when org-emph-alist has
30114         entries that are not defined for LaTeX export.
30116         * org-export-latex.el: Rename to org-latex.el.
30118         * org-latex.el: Rename from org-export-latex.el.
30120         * org.el (orgstruct++-mode): New function.
30121         (turn-on-orgstruct++): Call `orgstruct++-mode'.
30122         (org-context-p): Allow detecting item context after the first line
30123         of an item.
30124         (orgstruct-make-binding): Detect if item-body context should be
30125         seen.
30126         (orgstruct-is-++): New variable.
30127         (org-add-planning-info): Catch the case when there is no planning
30128         info yet and the call does not want to add anything, only maybe
30129         tries to remove something.
30130         (org-special-ctrl-a/e): All value to be a cons cell with separate
30131         settings for `C-a' and `C-e'.
30132         (org-beginning-of-line, org-end-of-line): Honor separate values
30133         for `C-a' and `C-e'.
30135 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30137         * org.el (org-reload): New command.
30139 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
30141         * org-gnus.el (org-gnus-store-link): Fix bug where
30142         org-gnus-store-link used wrong subject when called in an article
30143         buffer.  Patch provided by fengli AT gmail DOT com.
30145 2009-03-13  D. Goel  <deego3@gmail.com>
30147         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
30148         replace ls by (values-list ls).
30150 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
30152         * org-remember.el (org-remember-apply-template): Turn off ido for
30153         this completion.
30155         * org.el (org-priority): Also find invisible headings, for remote
30156         editing.
30157         (org-completing-read-no-ido): New function.
30158         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
30160         * org-colview.el (org-columns-edit-value): No special treatment of
30161         prefix arg.
30163 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
30165         * org.el (org-block-todo-from-children-or-siblings):
30166         Use `org-up-heading-all' so that this will work correctly with hidden
30167         property drawers and entries.
30168         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
30169         falling back to normal, default command.
30170         (org-get-location): Temporarily turn off special behavior.
30172 2009-02-13  Glenn Morris  <rgm@gnu.org>
30174         * org-rmail.el (rmail-show-message): Restore argument list to the
30175         declaration now that this functions behaves in Emacs 23 as in 22.
30177 2009-02-12  Glenn Morris  <rgm@gnu.org>
30179         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
30181 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
30183         * org-footnote.el (org-footnote-action): Fix doc typo.
30185 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
30187         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
30188         text before first headline.
30189         (org-export-remove-or-extract-drawers): Fix regular expression for
30190         extracting drawers.
30192         * org.el (org-format-latex): Stop LaTeX fragment processing in
30193         protected examples.
30195 2009-02-05  Glenn Morris  <rgm@gnu.org>
30197         * org-rmail.el (rmail-show-message): Update declaration.
30198         (rmail-buffer, rmail-view-buffer): Declare.
30199         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
30201 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
30203         * org.el (org-return-follows-link): Revert setting
30204         `org-return-follows-link' to t by default.
30206 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
30208         * org.el (org-cycle-global-at-bob): Fix typo.
30210         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
30212 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
30214         * org.el (org-mode): Make dependence stuff work more reliably.
30215         (org-update-parent-todo-statistics): Fix bug with updating
30216         statistics cookie.
30217         (org-yank-adjusted-subtrees, org-return-follows-link)
30218         (org-use-fast-todo-selection, org-tags-column): New default
30219         setting for variables.
30221         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
30222         ~ as verbatim delimiters, to avoid table bug.
30223         (org-export-latex-classes): Remove the a4paper option from the
30224         default styles.
30226         * org-exp.el (org-export-html-format-image): New argument
30227         PAR-OPEN, to fix XHTM validation bug.
30228         (org-export-as-html): Pass par-open to
30229         `org-export-html-format-image'.
30230         (org-export-html-footnotes-section): Use a more consistent id for
30231         footnotes.
30233         * org-agenda.el (org-agenda-sorting-strategy)
30234         (org-agenda-tags-column): New default setting for variables, based
30235         on a poll what typical uses use.
30236         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
30237         setting the blocked tag.
30239 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
30241         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
30242         only checking for blocks.
30244         * org-exp.el (org-export-html-footnotes-section): Make the div id
30245         consistent.
30247         * org-export-latex.el (org-export-latex-classes):
30248         Remove paper size option from LaTeX classes.
30250 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
30252         * org.el (org-enforce-todo-checkbox-dependencies): New option.
30253         (org-block-todo-from-checkboxes): New function.
30254         (org-todo): Make triple prefix arg circumvent blocking.
30256 2009-01-30  Glenn Morris  <rgm@gnu.org>
30258         * org-list.el (org-empty-line-terminates-plain-lists)
30259         (org-toggle-checkbox): Doc fixes.
30261         * org-table.el (org-table-clean-before-export): Fix declaration.
30263 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
30265         * org-timer.el (org-timer): Provide the timer feature.
30267         * org.el (org-require-autoloaded-modules): Add a few more files to
30268         the list of autoloaded modules.
30270         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
30272         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
30273         drawers that are unprotected.
30274         (org-export-html-format-image): Make sure inlined LaTeX fragment
30275         images remain inlined.
30277         * org.el (org-toggle-ordered-property): New function.
30278         (org-mode-map): Add a key for `org-toggle-ordered-property'.
30279         (org-org-menu): Add menu entries for TODO dependencies.
30281         * org.el (org-default-properties): Add ORDERED to the default
30282         properties, to get completion support for it.
30284         * org-list.el (org-update-checkbox-count): Update more than one cookie.
30286         * org.el (org-update-parent-todo-statistics): Update more than one
30287         cookie.
30289 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
30291         * org-agenda.el (org-agenda-get-todos): Start search from correct
30292         position.
30294         * org.el (org-fast-todo-selection): Make sure TODO selection does
30295         not change buffer position.
30297         * org-list.el (org-toggle-checkbox): Implement adding or removing
30298         checkboxes from line or region when called with a prefix
30299         argument.
30301         * org-rmail.el (org-rmail-store-link): Protect the call to
30302         `rmail-narrow-to-non-pruned-header'.
30304         * org-clock.el (org-clock-special-range): Fix week display in
30305         clock tables.
30307         * org-exp.el (org-get-current-options): Fix bug when in indirect
30308         buffer.
30310         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
30311         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
30312         (org-agenda-dim-blocked-tasks): New function.
30314         * org.el (org-enforce-todo-dependencies): New option.
30315         (org-block-todo-from-children-or-siblings): New function.
30317         * org-faces.el (org-agenda-dimmed-todo-face): New face.
30319 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
30321         * org.el (org-todo): Return correct state type even if the blocker
30322         throws an error.
30323         (org-modifier-cursor-error): Rename from
30324         `org-shiftcursor-error'.
30325         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
30326         (org-shiftmetadown): Call `org-modifier-cursor-error'.
30328         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
30329         to get real errors from the blocker hook.
30331         * org.el (org-shiftselect-error, org-call-for-shift-select):
30332         New functions.
30333         (org-set-visibility-according-to-property): Turn off the setting
30334         of `org-show-entry-below', to avoid overruling a FOLDED visibility
30335         property.
30337         * org.el (org-support-shift-select): New option.
30338         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
30339         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
30340         selection outside contexts.
30342         * org-list.el (org-at-item-bullet-p): New function.
30344         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
30345         variables.
30347         * org-footnote.el (org-footnote-normalize): Remove unnecessary
30348         variable.
30349         (org-insert-footnote-reference-near-definition):
30350         Remove unnecessary let form.
30352 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
30354         * org-export-latex.el (org-export-as-latex):
30355         Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
30356         (org-export-latex-first-lines): New parameter OPT-PLIST.
30358         * org.el (org-yank): Tell `delete-selection-mode' about
30359         `org-yank'.
30361         * org-faces.el (org-clock-overlay): Fix face definition.
30363         * org-export-latex.el (org-export-latex-first-lines):
30364         Pass timestamp and footnote parameters to the preprocessor.
30366         * org-exp.el (org-export-remove-timestamps): Do not remove time
30367         stamps inside tables.
30369 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30371         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
30373         * org.el (org-agenda-tags-todo-honor-ignore-options):
30374         Declare variable.
30376         * org-table.el (org-table-insert-hline): Fix typo in function call
30377         to `backward-char'.
30379         * org-exp.el (org-export-as-html): Remove the initial space from
30380         colon examples.
30382         * org.el (org-scan-tags):
30383         Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30385         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
30386         New customization groups.
30387         (org-agenda-tags-todo-honor-ignore-options): New option.
30388         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
30389         New function.
30390         (org-agenda-get-todos):
30391         Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30393 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30395         * org-exp.el (org-export-format-source-code-or-example):
30396         Escape HTML characters also in examples that anre not treated with
30397         htmlize.  Also, just switch to EXAMPLE processing if we do not
30398         have a good version of htmlize.
30400         * org-rmail.el: Fix copyright notice.
30402         * org.el (org-activate-footnote-links): Improve footnote link
30403         highlighting.
30405         * org-footnote.el (org-footnote-normalize): Fix finding the end of
30406         a footnote definition at the end of the file.
30408         * org-table.el (org-table-get-specials): Add an imagined hline at
30409         the end of the table.  This can be useful for references that want
30410         to go to the end of the table.  Also fix bug when computing last
30411         row constants, in tables that do not start right at the right
30412         margin.
30413         (org-table-eval-formula): Match and replace remove references.
30414         (org-table-formula-substitute-names): Make sure that names inside
30415         a "remote" call are left alone, the will be replaced later when
30416         the remote call is handled.
30417         (org-table-convert-refs-to-rc): Do not convert things that might
30418         look like a reference, but are really part of an ID or namei n a
30419         remote reference.
30420         (org-table-get-remote-range): New function.
30422 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30424         * org-faces.el (org-clock-overlay): Fix bug in face definition.
30426         * org-clock.el (org-clock-put-overlay): Use new face instead of
30427         `secondary-selection'.
30429         * org-faces.el (org-clock-overlay): New face.
30431 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30433         * org-exp.el (org-get-current-options): Include the option for
30434         publishing time stamps.
30436         * org.el (org-toggle-heading): Rename from
30437         `org-toggel-region-headings'.
30438         No longer needs a region defined, but will use it if there is one.
30439         (org-ctrl-c-star): Simplify, relying more on the internal
30440         workings of `org-toggle-heading'.
30441         (org-toggle-item): Rename from `org-toggle-region-items'.
30442         No longer needs a region defined, but will use it if there is one.
30443         (org-ctrl-c-minus): Simplify, relying more on the inernal
30444         workings of `org-toggle-item'.
30446         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
30447         environment detection.  Also, do real changes only in unprotected
30448         places.
30450 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30452         * org-export-latex.el (org-export-latex-quotation-marks):
30453         Use `org-if-unprotected-1'.
30454         (org-export-latex-set-initial-vars): Check for class definition in
30455         property.
30457         * org-macs.el (org-if-unprotected-1): New macro.
30459 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30461         * org-compat.el (org-count-lines): New function.
30463         * org-exp.el (org-export-format-source-code-or-example):
30464         Handle switches related to text areas.
30466         * org.el (org-activate-footnote-links): Don't allow match inside a
30467         link.
30469         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
30471         * org-export-latex.el (org-export-latex-links): Keep a relative
30472         path relative also after export.
30474         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
30476         * org.el (org-make-tags-matcher): Never use IDO for completing the
30477         tags matcher match string.
30478         (org-completing-read): Also remove the special biding for "?".
30480         * org-attach.el (org-attach-allow-inheritance): New option.
30481         (org-attach-inherited): New variable.
30482         (org-attach-dir): Handle properties related to the attachment
30483         directory.
30484         (org-attach-check-absolute-path): New function.
30485         (org-attach-set-directory, org-attach-set-inherit): New commands.
30486         (org-attach): Accommodate the new commands in the dispatcher.
30488 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30490         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
30491         `window-full-width-p'.
30493         * org-exp.el (org-export-as-html): Only check for images files
30494         that really can be inlined.
30496         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
30497         list of extensions to be a parameter.
30499         * org-exp.el (org-export-html-inline-image-extensions):
30500         New variable.
30502         * org-agenda.el (org-prepare-agenda):
30503         Use `org-agenda-block-separator'.
30504         (org-agenda-block-separator): New option.
30506 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30508         * org-export-latex.el (org-export-latex-tables):
30509         Call `org-table-clean-before-export' with the new optional argument.
30511         * org-exp.el (org-table-clean-before-export): New optional
30512         parameter MAYBE-QUOTED, allows for quoted characters like \# in
30513         first column.
30515 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30517         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
30518         histograms.
30520         * org-colview.el (org-colview-construct-allowed-dates):
30521         Better error catching when a date/time property does not have allowed
30522         values defined.
30524 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30526         * org.el (org-map-entries): Restore point and restriction after
30527         `org-map-entries'.
30529 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30531         * org.el (org-time=, org-time<, org-time<=, org-time>)
30532         (org-time>=, org-time<>): Make sure both values are dates.
30534 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30536         * org-archive.el (org-extract-archive-heading): Allow %s for file
30537         name also in achive location heading.
30539 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30541         * org-archive.el (org-add-archive-files): Uniquify the list before
30542         returning it.
30544 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30546         * org-compat.el (org-fit-window-to-buffer):
30547         Use `window-full-width-p'.
30549         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
30550         space after the colon in short examples.
30552         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
30553         enforce a space after the colon.  However, we also allow lines
30554         that are *only* a colon.
30555         (org-export-as-html): Enforce the space after the colon in short
30556         examples.
30557         (org-export-preprocess-string): Do the colon example protection
30558         earlier.
30559         (org-export-remove-timestamps): Do not check for protection at the
30560         end of the line.
30562 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30564         * org.el (org-format-latex-options): Add new matcher for single
30565         letters between dollars.
30566         (org-get-header): Function removed.
30567         (org-heading-components): New function.
30569         * org-exp.el (org-export-define-heading-targets): Record ID's also
30570         as alternative targets.
30571         (org-export-as-html): Interpret "id:" links to other files by
30572         preserving the relative path.
30574         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
30575         is nil.
30577         * org-exp.el (org-export-normalize-links): Protect the main link,
30578         to avoid special character processing.
30580         * org-export-latex.el (org-export-latex-special-keyword-regexp):
30581         New variable.
30582         (org-export-latex-special-string-regexps): Variable removed.
30583         (org-export-latex-keywords): Use the new regexp.
30585         * org-exp.el (org-export-handle-include-files): Fetch switches and
30586         put them into the BEGIN statement.
30588         * org-timer.el (org-timer-mode-line-string): New variable.
30590         * org-clock.el (org-clock-mode-line-map): Rename from
30591         `org-clock-mode-map'.
30592         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
30593         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
30594         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
30595         (org-clock-remove-overlays): Rename from
30596         `org-remove-clock-overlays'.
30598         * org-timer.el (org-timer-pause-or-continue): Implement stopping
30599         and mode line display.
30600         (org-timer-stop): New command.
30601         (org-timer-seconds): Return correct time when timer is paused.
30602         (org-timer-mode-line-timer): New variable.
30603         (org-timer-set-mode-line, org-timer-update-mode-line):
30604         New functions.
30606         * org.el (org-insert-heading): Handle new value `auto' for
30607         `org-blank-before-new-entry'.
30608         (org-org-menu): Add new items for timer functions.
30610         * org-list.el (org-insert-item): Handle new value `auto' for
30611         `org-blank-before-new-entry'.
30613         * org.el (org-blank-before-new-entry): New value `auto', made
30614         default.
30616 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30618         * org-exp.el (org-export-normalize-links): If the link is also
30619         used as the description, protect the description.
30621 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30623         * org.el (org-closest-date): Fix bug with yearly repeats, in
30624         combination with preference of the past as it is used for deadline
30625         and scheduling search.
30627         * org-exp.el (org-html-handle-time-stamps): No longer check for
30628         the `org-export-with-timestamps' option, because the preprocesser
30629         has taken care of this already.
30631         * org.el (org-entry-properties): Catch the case when this is
30632         called in a non-org-mode file.
30634         * org-export-latex.el (org-export-latex-remove-from-headlines):
30635         Variable made obsolete, also LaTeX export now uses the standard
30636         variables.
30637         (org-export-as-latex): Add the timestamps parameter to the
30638         preprocessor parameter list.
30639         (org-export-latex-content): Export the remaining keywords without
30640         considering to remove them.
30641         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30642         Use bold font instead of tt font for the keywords.
30643         (org-export-latex-fontify-headline): Format headlines, assuming
30644         that all keywords still present should be published.
30645         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30646         publish what ever remains of the time stamps.
30647         (org-export-latex-list-parameters): New option.
30648         (org-export-latex-lists): Pass additional parameters to the list
30649         converter.
30651         * org-exp.el (org-export-preprocess-string): Remove clock lines
30652         and timestamps already in the preprocesor.
30653         (org-export-remove-timestamps, org-export-remove-clock-lines):
30654         New functions.
30655         (org-export-as-ascii, org-export-as-html): Add the timestamps
30656         parameter to the preprocessor parameter list.
30658         * org-list.el (org-list-parse-list): Parse for checkboxes.
30659         (org-list-to-generic): Introduce and handle new parameters :cbon
30660         and :cboff.
30661         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30662         Add optional parameter PARAMS.
30664         * org-export-latex.el (org-export-latex-special-chars):
30665         Fix problems with interpreting dollar signs.
30666         (org-inside-latex-math-p): New function.
30667         (org-export-latex-preprocess): Protect all the math fragments.
30669         * org.el (org-latex-regexps): Allow a dash after a dollar.
30671         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30672         mark after copying.
30674         * org-agenda.el (org-run-agenda-series): Have series options set
30675         when finalizing the agenda.
30677         * org-exp.el (org-export-format-source-code-or-example):
30678         Protect the converted examples.
30680         * org.el (org-set-regexps-and-options): Fix the regexp
30681         `org-complex-heading-regexp'.
30683 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30685         * org.el (org-edit-src-get-label-format): New function.
30686         (org-coderef-label-format): New option.
30687         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30688         a label format specification and make sure it is used in the edit
30689         buffer.
30690         (org-edit-src-get-label-format): New function.
30691         (org-store-link): Handle new coderef formats.
30692         (org-link-search): Handle new coderef formats.
30694         * org-footnote.el (org-footnote-create-definition)
30695         (org-footnote-goto-local-insertion-point): Make footnote insertion
30696         work correctly when the "Footnotes" headline is the last line in
30697         the buffer.
30699         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30700         the location.
30702 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30704         * org-w3m.el (org-w3m): New customization group.
30705         (org-w3m-deactivate-mark): New option.
30706         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30707         option say not to.
30709 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30711         * org.el (org-set-font-lock-defaults): Trigger footnote
30712         fontification.
30713         (org-activate-footnote-links): New function.
30714         (org-activate-links): New entry `footnote'.
30716         * org-faces.el (org-footnote): New face.
30718 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30720         * org-macs.el (org-re): Handle the [:word:] class.
30722         * org-exp.el (org-export-preprocess-string):
30723         Call `org-export-protect-colon-examples'.
30724         (org-export-protect-colon-examples): Rename from
30725         `org-export-protect-examples', and scope limited to lines starting
30726         with a colon.
30728 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30730         * org-exp.el (org-export-preprocess-string): Move the preprocess
30731         hook to after turning on Org-mode.
30732         (org-export-preprocess-after-include-files-hook)
30733         (org-export-preprocess-after-tree-selection-hook)
30734         (org-export-preprocess-before-backend-specifics-hook)
30735         (org-export-preprocess-final-hook): New hooks.
30736         (org-export-preprocess-string): Run the new hooks.
30738         * org.el (org-ctrl-c-minus): Fix indentation for new items.
30740         * org-footnote.el: New file.
30742         * org.el (org-footnote): Require footnote code.
30743         (org-startup-options): Add new footnote options.
30744         (org-mode-map): New keybindig for footnotes.
30745         (org-ctrl-c-ctrl-c): Add function at footnotes.
30746         (org-org-menu): New menu entries for footnotes.
30748         * org-export-latex.el (org-export-as-latex): Pass footnote
30749         variable to preprocessor.
30750         (org-export-latex-preprocess): Treat multiple references to a
30751         footnote.
30753         * org-exp.el (org-export-preprocess-string):
30754         Call `org-footnote-normalize'.
30755         (org-export-as-ascii, org-export-as-html): Pass footnote variable
30756         to preprocessor.
30757         (org-export-as-html): Treat multiple references to a footnote.
30759 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30761         * org-export-latex.el (org-export-latex-links): Handle coderef
30762         links.
30764         * org.el (org-bracket-link-analytic-regexp++): New variable.
30765         (org-make-link-regexps):
30766         Initialize `org-bracket-link-analytic-regexp++'.
30767         (org-store-link): Implement special case in edit-src buffer.
30768         (org-insert-link): No use of ide to insert stored links.
30769         (org-link-search): Implement special case for coderefs.
30771         * org-exp.el (org-export-html-scripts): New constant.
30772         (org-export-html-style-default): Add a new style for highlighted
30773         code.
30774         (org-export-code-refs): New variable.
30775         (org-export-preprocess-string): Initialize `org-export-code-refs'.
30776         Call `org-export-replace-src-segments-and-examples'
30777         No longer call `org-export-protect-examples'.
30778         (org-export-target-internal-links): Take care of coderef targets.
30779         (org-export-last-code-line-counter-value): New variable.
30780         (org-export-replace-src-segments-and-examples): Rename from
30781         `org-export-replace-src-segments', and modified.
30782         (org-export-format-source-code-or-example): Rename from
30783         `org-export-format-source-code'.
30784         (org-export-number-lines): New function.
30785         (org-export-as-ascii, org-export-as-html): Handle coderef links.
30787 2009-01-23  Glenn Morris  <rgm@gnu.org>
30789         * org-rmail.el (rmail-narrow-to-non-pruned-header):
30790         Remove declaration of deleted function.
30792 2009-01-16  Glenn Morris  <rgm@gnu.org>
30794         * org-mouse.el (org-mouse-show-context-menu):
30795         Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30796         mouse-major-mode-menu.
30798 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
30800         * org-remember.el (org-remember-handler): Safer way to get a new
30801         buffer accessing the target file.
30803         * org.el (org-refile-get-location): Handle case of current buffer
30804         not having a file associated with it.
30806 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
30808         * org-table.el (org-table-get-formula): Only ask to overwrite
30809         field formula if there really is one.
30811 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
30813         * org-export-latex.el (org-export-latex-make-header): Double the
30814         commenting % in the time stamp format.
30815         (org-export-latex-special-chars): Handle case where there is no
30816         match group 3.
30818 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30820         * org.el (org-get-refile-targets, org-refile-get-location):
30821         Use expanded file name to improve comparison.
30823 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30825         * org.el (org-scan-tags): Rescan for tags, to get the correct
30826         upcase/downcase stuff.  This slows things down for now, but it
30827         works.
30828         (org-mode): Make sure the tag-faces regexp is initialized.
30830         * org-export-latex.el (org-export-latex-links): Fix bug with
30831         undefined label.
30833         * org-table.el (org-table-get-specials):
30834         Set `org-table-current-last-data-line'.
30835         (org-table-current-last-data-line): New variable.
30836         (org-table-insert-column, org-table-delete-column)
30837         (org-table-move-column, org-table-fix-formulas):
30838         Call `org-table-fix-formulas' a second time to fix the $LR references.
30839         (org-table-get-specials): Add the $LR references to the tables.
30840         (org-table-get-formula): Do not offer last-row names as LHS of
30841         formulas.
30843         * org.el (org-store-link): Capture link description from
30844         `org-id-store-link'.
30846         * org-exp.el (org-export-html-format-image): Add the / to the end
30847         of the <img> tag.
30848         (org-export-format-source-code): Surround example by empty lines,
30849         to make sure it will not be inside a paragraph.
30851         * org.el (org-ido-switchb): New function.
30853 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30855         * org-agenda.el (org-agenda-show): New prefix argument
30856         FULL-ENTRY.
30858         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30859         argument.
30861 2008-12-20  Glenn Morris  <rgm@gnu.org>
30863         * org.el (org-org-menu): Fix some more menu entries.
30865 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
30867         * org-table.el (org-table-get-specials): Revert introduction of @0
30868         as reference of the last table row, because of conflicts.
30870         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30871         argument, get the current tags directly.
30872         (org-agenda-set-tags): Leave getting current tags to
30873         `org-agenda-change-all-lines'.
30875 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
30877         * org.el (org-org-menu): Do not quote the set-tags command.
30879 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
30881         * Fix typos in comments and docstrings throughout Org-mode.
30883         * org.el (org-get-outline-path): Fix bug if level is not given.
30885         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30887 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30889         * org.el (org-refile): Avoid refiling to within the region to be
30890         refiled.
30892         * org-export-latex.el (org-export-latex-special-chars):
30893         Replace special characters also in tables.
30895         * org-agenda.el (org-agenda-change-all-lines): New argument
30896         FORCE-TAGS.
30897         (org-agenda-set-tags): Get the new tags and pass them to
30898         `org-format-agenda-item'.
30900 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30902         * org-export-latex.el (org-export-latex-classes): Add longable as
30903         a default package to all classes.
30904         (org-export-latex-tables): Handle the longtable attribute and the
30905         align attribute.
30907         * org-table.el (orgtbl-to-generic): Handle tables that start with
30908         a hline.
30910         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30911         \verb for colde-like snippets.
30912         (org-export-as-latex): Fix issues with region export.
30914         * org.el (org-up-heading-safe): Speed up function by using a
30915         direct regexp search.
30916         (org-olpa): New variable.
30917         (org-get-outline-path): Speed-up path constructions in cases where
30918         this is possible because the entire hierarchy is scanned anyway.
30919         (org-refile-get-location): Don't compare the truenames of files,
30920         this is too slow.
30921         (org-goto-max-level): New option.
30922         (org-goto): Use `org-goto-max-level'.
30924 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
30926         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30927         Strip angle brackets from message-ids in the former and don't do
30928         it in the latter.
30929         (org-gnus-follow-link): Open summary reliable, even if the last
30930         messages were deleted, and handle empty groups, too.
30932 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30934         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30935         instead of \texttt for the =...= and ~===~ emphasis environments.
30936         (org-export-as-latex): Remove any old :org-license-to-kill text
30937         properties.
30938         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30939         (org-export-latex-make-header): Add some hard space after the
30940         table of contents.
30941         (org-export-latex-first-lines): Accept RBEG argument.
30942         Mark exported text so that it will be excuded in further steps.
30944         * org-table.el (org-table-get-specials): Make @0 reference the
30945         last line in a table.
30946         (org-table-recalculate): Improve docstring.
30948 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30950         * org.el (org-log-done): Fix docstring.
30952 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30954         * org-exp.el (org-export-html-format-image): Fix bugs.
30956         * org-export-latex.el (org-export-latex-tables)
30957         (org-export-latex-links): Implement attribute, label, and caption
30958         handling.
30960         * org-exp.el (org-export-html-style-default): Add style
30961         definitions for the figure div.
30962         (org-export-preprocess-string, org-export-as-html):
30963         Implement attribute, label, and caption handling.
30964         (org-export-attach-captions-and-attributes): New function.
30965         (org-export-html-format-image): New function.
30966         (org-format-org-table-html): Implement attribute, label, and
30967         caption handling.
30969         * org.el (org-find-text-property-in-string): New function.
30970         (org-extract-attributes): Use the property org-attr instead of
30971         org-attrobutes, because this property is now set with the #+ATTR
30972         lines.
30974 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30976         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
30977         the case that FROM is nil.
30979         * org.el (org-before-first-heading-p): New function.
30981 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30983         * org-exp.el (org-export-as-html): Do not add a space before
30984         enforces line breaks.
30985         (org-export-as-html): Close paragraph before blockquote and verse
30986         tags.
30988 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30990         * org-id.el (org-id-locations-file): Wrap file name with
30991         `convert-standard-filename'.
30992         (org-id-files): New variable.
30993         (org-id-use-hash): New option.
30994         (org-id-update-id-locations): Also search in all files current
30995         listed in `org-id-files'.  Convert the resulting alist to a hash
30996         if the user customation says so.
30997         (org-id-locations-save): Handle he case if `org-id-locations' is a
30998         hash.
30999         (org-id-locations-load): Convert the alist to a hash.
31000         (org-id-add-location): Handle the hast case.
31001         (kill-emacs-hook): Make sure id locations are saved when Emacs is
31002         exited.
31003         (org-id-hash-to-alist, org-id-alist-to-hash)
31004         (org-id-paste-tracker): New functions.
31006 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31008         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
31009         bindings of calendar variables.
31011         * org-table.el (org-table-find-row-type): Rename from
31012         `org-find-row-type'.
31013         (org-table-rewrite-old-row-references): Rename from
31014         `org-rewrite-old-row-references'.
31015         (org-table-shift-refpart): Rename from `org-shift-refpart'.
31016         (org-table-cleanup-narrow-column-properties): Rename from
31017         `org-cleanup-narrow-column-properties'.
31019 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31021         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
31022         for better error messages.
31023         (org-table-get-descriptor-line): Supply the new arguments to
31024         `org-find-row-type'.
31025         (org-table-error-on-row-ref-crossing-hline): New option.
31027         * org.el (org-target-link-regexp): Make buffer-local.
31028         (org-move-subtree-down): Fix bug with trees at beginning of
31029         buffer.
31031 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31033         * org-faces.el (org-set-tag-faces): New function.
31034         (org-tags-special-faces-re): New variable.
31036         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
31038         * org-faces.el (org-tag-faces): New option.
31039         (org-tag): Mention `org-tag-faces' in the docstring.
31041 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31043         * org-exp.el (org-export-html-style-default): Implement new
31044         quoting.
31046         * org-jsinfo.el (org-infojs-template): Implement new quoting.
31048         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
31049         command to the `w3m-minor-mode-map'.
31051         * org-archive.el (org-archive-to-archive-sibling):
31052         Protect `this-command' to avoid appending kills during archiving.
31054         * org-exp.el (org-export-with-priority): New variable.
31055         (org-export-add-options-to-plist): Use `org-export-plist-vars'
31056         instead of internal list of strings and properties.
31057         (org-print-icalendar-entries): Retrieve the location property with
31058         inheritance.
31060 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31062         * org-exp.el (org-export-with-todo-keywords): New option.
31063         (org-export-plist-vars): Include also the keys for the #+OPTIONS
31064         line.
31065         (org-default-export-plist, org-export-add-options-to-plist)
31066         (org-export-as-ascii, org-export-as-html): Use the new structure
31067         of `org-export-plist-vars'.
31069         * org.el (org-map-entries): Return all values.
31071 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31073         * org.el (org-matcher-time): Recognize more special values.
31075         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
31077 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31079         * org.el (org-tags-exclude-from-inheritance): New option.
31080         (org-tag-inherit-p, org-remove-uniherited-tags):
31081         Respect `org-tags-exclude-from-inheritance'.
31083         * org-agenda.el (org-agenda-show-inherited-tags): New option.
31084         (org-format-agenda-item): Add inherited tags to the agenda line
31085         string, and make sure that properties are kept when downcasing the
31086         tags list.
31087         (org-agenda-add-inherited-tags): New function.
31088         (org-downcase-keep-props): New function.
31090         * org.el (org-scan-tags): Mark inherited tags with a text
31091         property.
31092         (org-get-tags-at): Mark inherited tags with a text property.
31093         (org-add-prop-inherited): New function.
31095         * org-agenda.el (org-agenda-add-inherited-tags): New function.
31096         (org-agenda-show-inherited-tags): New option.
31098 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31100         * org.el (org-modules): Add org-w3m to the default modules.
31102         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
31103         orgtbl-mode.
31104         (orgtabl-create-or-convert-from-region): New command.
31106         * org-exp.el (org-export-as-ascii): Remove the handling of
31107         targets.
31108         (org-export-ascii-preprocess): Handle targets already in this
31109         function.
31111 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31113         * org-timer.el (org-timer-start-time): Define this variable.
31114         (org-timer-item): Make argument optional.
31116         * org-list.el (org-insert-item): Automatically insert a timer item
31117         if the current list is a timer list.
31119         * org-timer.el: New file.
31121         * org-publish.el (org-publish-org-index): Only exclude the index
31122         file in the main directory from being added to the site-map.
31123         (org-publish-get-project-from-filename): If the current project is
31124         a component, start publishing from the parent project.
31126 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31128         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
31130         * org-publish.el (org-publish-org-index): Improve removal of
31131         temporary buffers.
31133 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
31135         * org-agenda.el (org-get-closed): Re-apply changes
31136         accidentially overwritten by last commit to Emacs.
31138         * org.el (org-outline-path-complete-in-steps): New option.
31139         (org-refile-get-location):
31140         Honor `org-outline-path-complete-in-steps'.
31141         (org-agenda-change-all-lines, org-tags-sparse-tree)
31142         (org-time-string-to-absolute, org-small-year-to-year)
31143         (org-link-escape): Re-apply changes accidentially overwritten
31144         by last commit to Emacs.
31146 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31148         * org-clock.el (org-dblock-write:clocktable): Make sure the
31149         clocktable sees the first line.
31150         (org-clock-in): Warn if the clock cannot be resumed.
31152 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31154         * org.el (org-open-at-point): Fix mixup about interactive and
31155         non-interactive elisp links.
31157 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31159         * org-exp.el (org-export-preprocess-string): Allow one comment
31160         line before the first headline to always be included.  This is
31161         to not miss a commented target.
31163         * org-mouse.el (org-mouse-insert-item):
31164         Call `org-indent-to-column' instead of `indent-to', for XEmacs
31165         compatibility.
31167         * org.el (org-refile-targets): Fix customize definition so
31168         that it works also in XEmacs.
31169         (org-fixup-indentation): Call `org-indent-to-column' instead
31170         of `indent-to', for XEmacs compatibility.
31172 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
31174         * org-mew.el (org-mew-store-link): Get the correct case folder
31175         for refiled messages.
31177 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31179         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
31180         line break indicators.
31182         * org.el (org-ido-completing-read): Remove the "i:" prefix for
31183         ido-completion propts.
31185 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31187         * org-remember.el (org-remember-apply-template):
31188         Use `org-substring-no-properties'.
31190         * org-compat.el (org-substring-no-properties): New function.
31192         * org-remember.el (org-remember-apply-template):
31193         Use `org-substring-no-properties' for compatibility.
31195         * org-list.el (org-list-two-spaces-after-bullet-regexp):
31196         New option.
31197         (org-fix-bullet-type):
31198         Respect `org-list-two-spaces-after-bullet-regexp'.
31200         * org-clock.el (org-clock-load): Clean up the code.
31202         * org.el (org-adaptive-fill-function): Allow two spaces after
31203         "1." as a list bullet.
31205 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31207         * org-clock.el (org-clock-save, org-clock-load): Check for
31208         live buffers, existing files, and buffer file names to ensure
31209         consistent information.
31210         (org-clock-persist): Make `clock' a special value of this
31211         variable, and improve docstring.
31213         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
31214         (org-get-string-indentation): Adapt indentation when the bullet
31215         width changes.
31217 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31219         * org-remember.el (org-remember-finalize): Make interactive.
31220         (org-remember-kill): New command.
31221         (org-remember-finish-immediately): Call `org-remember-finalize'
31222         directly.
31223         (org-remember-finalize): Make `org-remember-finalize' an interactive
31224         function.
31226 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31228         * org-remember.el (org-remember-apply-template): No ido completion
31229         for free prompts in remember templates.
31230         (org-remember-before-finalize-hook): New hook.
31231         (org-remember-mode): New minor mode.
31232         (org-remember-apply-template): Turn on `org-remember-mode'.
31234         * org-remember.el (org-remember-apply-template): Fix the way how
31235         the list of allowed properties is retrieved from the target file.
31237         * org.el (org-insert-link): Improve file link matching.
31239 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31241         * org-colview.el (org-columns-display-here): New argument
31242         DATELINE, to trigger using the new face.
31243         (org-agenda-colview-summarize): Call `org-columns-display-here'
31244         with the new argument.
31246         * org-faces.el (org-agenda-column-dateline): New face.
31248         * org-publish.el (org-publish-org-index): Use index-title at page
31249         title, not as section.
31251         * org-exp.el (org-export-html-format-desc): Respect the
31252         org-protect property.
31253         (org-export-as-html): Protect image specifiers that are in the
31254         description part of a link.
31256         * org.el (org-sort-entries-or-items, org-completing-read)
31257         (org-refile-get-location, org-olpath-completing-read, org-todo)
31258         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
31259         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
31260         (org-set-property, org-delete-property)
31261         (org-delete-property-globally): Use `org-ido-completing-read'.
31263         * org-remember.el (org-remember-apply-template):
31264         Use `org-ido-completing-read'.
31266         * org-publish.el (org-publish): Use `org-ido-completing-read'.
31268         * org-colview.el (org-columns-edit-value, org-columns-new)
31269         (org-insert-columns-dblock): Use `org-ido-completing-read'.
31271         * org-attach.el (org-attach-delete-one, org-attach-open):
31272         Use `org-ido-completing-read'.
31274         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
31275         Use `org-ido-completing-read'.
31277         * org.el (org-time-today): New function.
31278         (org-matcher-time): Use `org-time-today'.  Add special treatment
31279         for "<tomorrow>" and "<yesterday>".
31280         (org-ido-completing-read): New function.
31281         (org-completion-use-ido): New option.
31283         * org-exp.el (org-export-format-source-code): Fix bug in require
31284         htmlize code.
31285         (org-export-target-internal-links): Fix bug in search for text
31286         property.
31288 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31290         * org-export-latex.el (org-export-latex-subcontent):
31291         Interpret target aliases as additional labels.
31293         * org-exp.el (org-export-target-aliases): New variable.
31294         (org-export-preprocess-string)
31295         (org-export-handle-invisible-targets): Fill the alias alist.
31296         (org-export-as-html): Remove the &nbsp; from the anchor, and also
31297         assign an id.
31298         (org-html-level-start): Insert the target aliases as additional
31299         anchors.
31301         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
31302         picture area.
31304 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31306         * org.el (org-open-at-mouse): Ensure correct link abbreviations
31307         when following a link with the mouse from the agenda.
31309         * org-exp.el (org-export-as-html): Avoid lone </div> when no
31310         headlines are created.
31312 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31314         * org.el (org-link-translation-function): New option.
31315         (org-open-at-point): Call `org-link-translation-function' if
31316         non-nil.
31317         (org-translate-link): New function.
31318         (org-translate-link-from-planner): New function.
31319         (org-open-at-point): Allow interactive commands in elisp links.
31321         * org-exp.el (org-icalendar-cleanup-string): Restore the old
31322         iCalendar quoting.  The new one seems to caus problems with
31323         applications.
31325         * org.el (org-yank): Set `this-command' to `yank', so that
31326         `yank-pop' will work.
31328 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31330         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
31331         compliance as far as quoting is concerned.
31333         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
31334         hexified version of the tag.
31336         * org-vm.el (org-vm-follow-link): Require `vm-search'.
31338         * org.el (org-up-heading-safe, org-forward-same-level):
31339         Always call `org-back-to-heading' instead of `outline-back-to-heading'.
31340         (org-back-to-heading): New wrapper around outline-back-to-heading,
31341         with a useful error message telling where the error happened.
31343         * org-list.el (org-update-checkbox-count): Always call
31344         `org-back-to-heading' instead of `outline-back-to-heading'.
31346         * org-exp.el (org-export-as-html): Make sure that each <img> tag
31347         has an `alt' attribute, to ensure XHTML validation.
31349 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31351         * org-publish.el (org-publish-attachment): Allow publishing to
31352         overwrite attachment files.
31354         * org-agenda.el (org-agenda-timerange-leaders): New option.
31355         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
31357         * org.el (org-edit-src-exit): Untabify ASCII image before
31358         returning.
31360 2008-11-19  Glenn Morris  <rgm@gnu.org>
31362         * org.el, org-mouse.el (org-agenda-change-all-lines):
31363         Fix declaration.
31365 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
31367         * org.el ("speedbar"): Only show context if the file really is an
31368         org-mode buffer.
31370 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
31372         * org.el (org-time-string-to-absolute, org-small-year-to-year)
31373         (org-tags-sparse-tree): Fix typos in docstrings.
31375 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
31377         * org-publish.el (org-publish-attachment): Allow copy-file to
31378         overwrite files.
31380 2008-11-13  Glenn Morris  <rgm@gnu.org>
31382         * org-agenda.el (org-get-closed): Fix alias.
31384 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
31386         * org.el (org-link-escape): Fix typo in docstring.
31388 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31390         * org.el (org-yank): Make any prefix force normal yanking.
31391         Suppress folding if text would be swallowed into a folded
31392         subtree.
31393         (org-yank-folded-subtrees, org-yank): Docstring updates.
31395         * org-agenda.el (org-agenda-compare-effort): Treat no effort
31396         defined as 0.
31398         * org-exp.el (org-export-language-setup): Add Catalan and
31399         Esperanto language entries.
31401 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31403         * org.el (org-refile): Allow refiling of entire regions.
31405         * org-clock.el (org-clock-time%): New function.
31407         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
31408         retrieve property values.
31410 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31412         * org-agenda.el (org-agenda-list): Handle the value `only' of
31413         org-agenda-show-log'.
31414         (org-agenda-log-mode): Interpret a double prefix arg.
31416 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31418         * org-exp.el (org-export-html-footnotes-section): New variable.
31419         (org-export-as-html): Use `org-export-html-footnotes-section' to
31420         insert the footnotes.
31421         (org-export-language-setup): Add "Footnotes" to language words.
31423 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31425         * org.el (org-yank): Fix bug when not inserting a subtree.
31427 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31429         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
31430         instead of `vm-beginning-of-message'.
31432         * org.el (org-make-link-regexps): Make sure that links to gnus can
31433         contain brackets.
31435 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31437         * org-attach.el (org-attach-dir): Remove duplicate ID creation
31438         code.
31440         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
31441         shell output.
31443         * org.el (org-link-abbrev-alist): Improve customization type.
31445         * org-attach.el (org-attach-expand-link, org-attach-expand):
31446         New functions.
31448         * org-agenda.el (org-agenda-get-progress): Rename from
31449         `org-get-closed'.  Implement searching for state changes as well.
31450         (org-agenda-log-mode-items): New option.
31451         (org-agenda-log-mode): New option prefix argument, interpreted as
31452         request to show all possible progress info.
31453         (org-agenda-get-day-entries): Call `org-get-progress' instead of
31454         `org-get-closed'.
31455         (org-agenda-set-mode-name): Handle the more complex log mode
31456         settings.
31457         (org-get-closed): New alias, pointing to `org-get-progress'.
31459 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31461         * org.el (org-file-apps-defaults-gnu)
31462         (org-file-apps-defaults-macosx)
31463         (org-file-apps-defaults-windowsnt): Add an entry defining the
31464         system command.
31465         (org-file-apps): Allow `system' as key and value.
31466         (org-open-at-point): Explain the effect of a double prefix arg.
31467         (org-open-file): If the argument `in-emacs' is (16),
31468         i.e. corresponding to a double prefix argument, try to open the
31469         file externally.
31471 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31473         * org.el (org-insert-link): Abbreviate absolute files names in
31474         links.  Also, fix a bug in which the double C-u prefix would not
31475         be honored.
31477 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31479         * org.el (org-insert-heading): If buffer does not end with a
31480         newline, add one if necessary to insert headline correctly.
31482         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
31483         paragraphs, not inside.
31485         * org.el (org-todo):
31486         Quote `org-agenda-headline-snapshot-before-repeat'.
31488         * org-exp.el (org-export-as-html): Fully process link descriptions.
31489         (org-export-html-format-desc): New function.
31490         (org-export-as-html): Collect footnotes into the correct basket.
31491         (org-html-protect): No longer protect quotations marks here, this
31492         goes wrong.
31494         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
31495         BEG.
31497         * org-compat.el (org-fit-window-to-buffer): New function (not
31498         really, a preliminary and incomplete version was present earlier,
31499         but not used).
31501         * org.el (org-fast-todo-selection, org-fast-tag-selection):
31502         Use `org-fit-window-to-buffer'.
31504         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
31506         * org-agenda.el (org-agenda-get-restriction-and-command)
31507         (org-fit-agenda-window, org-agenda-convert-date):
31508         Use `org-fit-window-to-buffer'.
31510         * org-exp.el (org-export-as-html): Process href links through
31511         `org-export-html-format-href'.
31512         (org-export-html-format-href): New function.
31514         * org-agenda.el (org-agenda-todo): Update only the current
31515         headline if this is a repeated TODO, marked done for today.
31516         (org-agenda-change-all-lines): New argument JUST-THIS, to change
31517         only the current line.
31519         * org.el (org-todo): Take a snapshot of the headline if the
31520         repeater might change it.
31522 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31524         * org-publish.el (org-publish-find-title): Remove buffers visited
31525         only for extracting the title.
31527         * org-exp.el (org-export-html-style)
31528         (org-export-html-style-default): Mark style definitions as
31529         unparsed CDATA.
31531         * org-publish.el (org-publish-validate-link):
31532         Function re-introduced.
31534 2008-11-12  Charles Sebold  <csebold@gmail.com>
31536         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
31537         property.
31538         (org-plot-quote-timestamp-field): New function.
31539         (org-plot-quote-tsv-field): Call timestamp field function when
31540         necessary rather than just quoting as a string.
31541         (org-plot/gnuplot-to-data): Pass in timefmt property.
31542         (org-plot/gnuplot-script): Supports timefmt property.
31543         (org-plot/gnuplot): Checks for timestamp column before checking
31544         for text index column.
31546 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31548         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
31550         * org-publish.el (org-publish-org-index): Create a section in the
31551         index file.
31552         (org-publish-org-index): Stop linking to directories.
31554         * org.el (org-emphasis-alist): Use span instead of <u> to
31555         underline text.
31557         * org-exp.el (org-export-as-html): Make sure <p> is closed before
31558         <pre> sections.
31560 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
31562         * org-jsinfo.el (org-infojs-template): Remove language attribute
31563         from script tag.
31565 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31567         * org-agenda.el (org-agenda-remove-marked-text): New function.
31568         (org-agenda-mark-filtered-text)
31569         (org-agenda-unmark-filtered-text): New functions.
31570         (org-write-agenda): Remove filtered text.
31572         * org.el (org-make-tags-matcher): Give access to TODO "property"
31573         without speed penalty.
31575 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31577         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
31578         option.
31579         (org-store-link-props): Make sure adding to the plist works
31580         correctly.
31582         * org-gnus.el (org-gnus-no-new-news): New function.
31583         (org-gnus-follow-link): Allow the article ID to be a message-id,
31584         in addition to allowing article numbers.  Message IDs make much
31585         more roubust links.
31586         (org-gnus-store-link): Use message-id to create link.
31588 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31590         * org.el (org-emphasize): Reverse the selection array.
31591         (org-emphasis-alist): Set <code> tags for the verbatim
31592         environment.
31594         * org-remember.el (org-remember-handler): Fix bug with
31595         prefix-related changing of the note storage target.
31597         * org-exp.el (org-print-icalendar-entries): Make the exported
31598         priorities compatible with RFC 2445.
31600         * org-clock.el (org-clock-save): Insert time stamp without
31601         dependence on time-stamp.el.
31603 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31605         * org.el ("saveplace"): If saveplace puts point into an invisible
31606         location, make it visible.
31607         (org-make-tags-matcher): Allow inactive time stamps in time
31608         comparisons.
31609         (org-yank-adjusted-subtrees): New option.
31610         (org-yank): Incorporate adjusting trees.
31611         (org-paste-subtree): New argument FOR-YANK which will cause
31612         insertion at point without backing up over white lines, and leave
31613         point at the end of the inserted text.  Also if the cursor is
31614         at the beginning of a headline, use the same level or the inserted
31615         tree.
31617         * org-publish.el (org-publish-get-base-files-1): Deal correctly
31618         with broken symlinks.
31620 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31622         * org-exp.el (org-export-select-tags, org-get-current-options):
31623         Fix typo.
31625 2008-11-06  Glenn Morris  <rgm@gnu.org>
31627         * org-publish.el (org-publish-attachment): Use copy-file rather than
31628         eshell/cp.
31630 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
31632         * org.el (org-columns-modify-value-for-display-function):
31633         * org-table.el (org-table-convert-region): Fix typos in docstrings.
31635 2008-10-28  Glenn Morris  <rgm@gnu.org>
31637         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31639         * org-list.el (outline-next-heading, outline-back-to-heading):
31640         Fix declarations.
31642 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31644         * org-agenda.el (org-format-agenda-item)
31645         (org-agenda-filter-make-matcher): Make sure tags are stored and
31646         compared downcased.
31648 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31650         * org.el (org-insert-todo-heading): Fix bug with force-heading
31651         argument.
31653 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31655         * org-exp.el (org-export-as-ascii): Handle the case that we are
31656         bulishing from an indirect buffer.
31658         * org-table.el (org-table-copy-down): Fix bug with time stamp
31659         increment.
31661         * org-mouse.el (org-mouse-features): New option.
31662         (org-mode-hook): Turn on features depending on
31663         `org-mouse-features'.
31665         * org.el (org-insert-heading-respect-content): Force heading
31666         creation.
31667         (org-insert-heading): Keep the folding state of the heading before
31668         the inserted one.
31670 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31672         * org-archive.el (org-archive-to-archive-sibling): Handle top
31673         level headlines better.
31675 2008-10-26  Bastien Guerry  <bzg@gnu.org>
31677         * org-export-latex.el (org-export-latex-classes):
31678         Add \usepackage{graphicx} to the default list of packages.
31680 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31682         * org-agenda.el (org-agenda-filter): Rename from
31683         `org-agenda-filter-tags'.
31685 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31687         * org.el (org-entry-properties): Add CATEGORY property, iven if it
31688         is not defined as a property in this entry.
31689         (org-add-log-note): Mask prefix argument when immediately storing
31690         the note.
31692         * org-agenda.el (org-agenda-filter-effort-default-operator):
31693         New option.
31695 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31697         * org.el (org-add-log-setup): Bugfix; code to find insertion point
31698         after drawers was skipping ahead one line too many, so notes were
31699         inserted after the first note instead of before it.
31701 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31703         * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31704         New variables.
31705         (org-prepare-agenda): Reset the filter tags.
31706         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31707         Show filter tags in mode line.
31709         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31710         formatter.
31712         * org-export-latex.el (org-latex-entities-regexp): New constant.
31713         (org-export-as-pdf): Use two calls to `shell-command'.
31715 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31717         * org-export-latex.el (org-export-latex-treat-sub-super-char):
31718         Honor the {} value of the subsuperscript setting.  Make sure that
31719         longer subsuperscripts are typeset in a roman font.
31721         * org.el (org-clock-update-time-maybe): Compute negative clock
31722         intervals correctly.
31724 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31726         * org.el (org-add-log-setup):
31727         Respect `org-log-state-notes-insert-after-drawers'.
31728         (org-log-state-notes-insert-after-drawers): New option.
31729         (org-todo-trigger-tag-changes): New function.
31730         (org-todo): Call `org-todo-trigger-tag-changes'.
31732 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31734         * org.el (org-add-log-setup): Only skip drawers if they are
31735         immediately after the scheduling keywords.
31737         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31738         function.
31739         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31740         call it with the current todo state to get the state to switch to
31741         when clocking in.
31742         (org-clock-in): Use org-indent-line-function to indent clock lines.
31743         (org-clock-find-position): Fix indentation of empty clock drawers.
31745 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31747         * org-publish.el (org-publish-org-to): Handle case when
31748         org-export-to-pdf does return a file name, not a buffer.
31749         (org-publish-org-to-pdf): New function.
31751         * org-export-latex.el (org-export-as-pdf)
31752         (org-export-as-pdf-and-open): New commands.
31754         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31755         forms as ranges.
31757         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31758         things in protexted regions.
31760 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31762         * org-export-latex.el (org-export-latex-preprocess):
31763         Improve quoting of LaTeX environments.
31765 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
31767         * org.el (org-default-notes-file):
31768         * org-publish.el (org-publish-timestamp-directory):
31769         * org-id.el (org-id-locations-file): Run file names that begin
31770         with a period thru `convert-standard-filename'.
31772 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31774         * org-plot.el: Switch coding system to unix.
31776 2008-10-12  John Wiegley  <johnw@newartisans.com>
31778         * org-attach.el: New file.
31780 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
31782         * org.el (org-edit-fixed-width-region): Exclude final newline from
31783         picture area.
31785         * org-export-latex.el (org-export-latex-subcontent): Add labels to
31786         sections, to make internal links work.
31787         (org-export-latex-fontify-headline): Do not remove all text
31788         properties, to make sure that target properties survive this
31789         process.
31791         * org-exp.el (org-export-preprocess-string): Change sequence of
31792         modifications, to make sure links are prepared before the LaTeX
31793         conversions do happen.
31795         * org-attach.el (org-attach-delete-all): Rename from
31796         `org-attch-delete'.  Add a security query before deleting the
31797         entire directory.  New optional argument FORCE can overrule the
31798         security query.
31799         (org-attach-delete-one): New command.
31801         * org-attach.el (org-attach-file-list): Fix bug with directory.
31803         * org.el (org-apps-regexp-alist): New function.
31804         (org-file-apps): Add auto-mode to the default value.
31805         (org-open-file): Use the new structure of org-file-apps.
31807         * org-attach.el (org-attach): Support the new keys.
31808         (org-attach-method): New option.
31810         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31811         March.
31813         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31814         of the list value o `org-use-tag-inheritance'.
31816         * org-attach.el (org-attach-auto-tag): New option.
31817         (org-attach-tag, org-attach-untag): New functions.
31818         (org-attach-attach, org-attach-new, org-attach-sync):
31819         Call `org-attach-tag'.
31820         (org-attach-delete): Call `org-attach-untag'.
31822         * org-table.el (orgtbl-self-insert-command): Make this work for
31823         the keypad as well.
31825         * org.el (org-add-log-setup): Limit searc for drawers to entry
31826         text, not to subtree.
31828         * org-clock.el (org-clock-heading-for-remember): New variable.
31829         (org-clock-in): Set `org-clock-heading-for-remember'.
31831 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31833         * org-remember.el (org-remember-apply-template): Add new
31834         expansions: %k, %K for currently clocked task and a link to the
31835         currently clocked task, and %< to file notes in the currently
31836         clocked task.
31838 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31840         * org-export-latex.el (org-export-latex-make-header): Also insert
31841         the content of the property :latex-header-extra.
31843         * org-exp.el (org-infile-export-plist): Put the content of
31844         #+LATEX_HEADER: into the property :latex-header-extra.
31846         * org-colview.el (org-columns-get-format-and-top-level):
31847         Remove resetting the marker.
31849         * org.el (org-entry-property-inherited-from): Improve docstring.
31850         (org-entry-get-with-inheritance): Reset marker before starting the
31851         search.
31853         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31855         * org.el (org-entry-get-multivalued-property)
31856         (org-entry-protect-space, org-entry-restore-space):
31857         New functions.
31858         (org-file-apps-defaults-macosx): Let PostScript files be opened by
31859         preview.
31860         (org-time-stamp-inactive): Call `org-time-stamp'.
31861         (org-time-stamp): New argument `inactive'.  Also edit inactive
31862         stamps.  Convert time stamp type.
31863         (org-open-file): Interpret the `default' value for the `command'
31864         in `org-file-apps'.
31866         * org-id.el (org-id-int-to-b36-one-digit)
31867         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31868         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31869         b36.
31871         * org-id.el (org-id-reverse-string): New function.
31872         (org-id-new): Use `org-id-reverse-string' to make sure the
31873         beginning chars of the ID are mutating fast.  This allows to use a
31874         directory structure to spread things better.
31875         (org-id-prefix): Change default to nil.
31877         * org-list.el (org-move-item-down, org-move-item-up): Remember and
31878         restore the column of the cursor position.
31880         * org-remember.el (org-remember-apply-template): Remove properties
31881         from `initial'.
31883         * org-wl.el (org-wl-open): Remove useless call to
31884         `wl-thread-open-all'.
31886         * org-remember.el (org-remember-handler): Fix bug with `bottom'
31887         location.
31889         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31890         `org-bbdb-anniversaries'.
31892         * org.el (org-get-next-sibling, org-forward-same-level):
31893         New functions, similar to the outline versions, but invisible headings
31894         are OK.
31896 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31898         * org.el (org-auto-repeat-maybe): Insert a space between
31899         the timestamp's type and the timestamp itself.
31901 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31903         * org-table.el (org-table-sum): Do not format the result with %g,
31904         it does rounding when there are too many digits.
31906         * org.el (org-map-entries): Protect the keyword-selecting variables.
31908 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31910         * org-agenda.el (org-agenda-to-appt): Make sure the function check
31911         against all agenda files.
31913 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31914             Bastien Guerry  <bzg@gnu.org>
31916         * org-list.el: New file, aggregating list functions from org.el
31917         and org-export-latex.el.
31919 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31921         * org.el (org-edit-src-region-extra): New option.
31923         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31924         time before 1am.
31926 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31928         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31930 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31932         * org-plot.el (org-plot/gnuplot): Make tables starting with a
31933         hline work correctly.
31934         (org-plot/gnuplot-script): Put commas at the end of each script
31935         line.
31937         * org.el (org-get-refile-targets): Replace links with their
31938         descriptions.
31939         (org-imenu-get-tree): Replace links with their descriptions.
31941         * org-remember.el (org-remember-apply-template): Add a new
31942         expansion for adding properties to remember items.
31944         * org.el (org-add-log-setup): Skip over drawers (properties,
31945         clocks etc) when adding notes.
31947         * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31948         items as well as the start and end times.
31950         * org-compat.el (org-get-x-clipboard-compat): Add a compat
31951         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31953         * org-remember.el (org-get-x-clipboard): Use the compat
31954         function to get clipboard values when x-selection-value is
31955         unavailable.  Use substring-no-properties instead of
31956         set-text-properties to remove text properties from the clipboard
31957         value.
31959         * org-clock.el (org-update-mode-line): Support limiting the
31960         modeline clock string, and display the full todo value in the
31961         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
31962         the currently clocked task.
31963         (org-clock-string-limit): Add a custom value for the maximum
31964         length of the clock string in the modeline.
31965         (org-clock-mode-map): Add a keymap for the modeline string.
31967 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31969         * org-compat.el (org-propertize): New function.
31971 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31973         * org-export-latex.el (org-export-latex-tables): Protect exported
31974         tables from further special chars conversion.
31975         (org-export-latex-preprocess): Preserve LaTeX environments.
31976         (org-list-parse-list): Parse descriptive lists.
31977         (org-list-to-generic, org-list-to-latex, org-list-to-html)
31978         (org-list-to-texinfo): Export descriptive lists.
31979         (org-quote-chars): Remove.
31980         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
31981         (org-export-latex-list-beginning-re): Rename to
31982         `org-list-beginning-re'.
31983         (org-list-item-begin): Rename to `org-list-item-beginning'.
31985 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
31987         * org-plot.el: New file.
31989 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31991         * org.el (org-refile): Allow refiling to the last entry in the
31992         buffer.
31993         (org-get-tags-at): Fix bug when inheritance is turned off.
31995         * org.el (org-indent-line-function): No longer check for src
31996         regions, this is too much overhead.
31998         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
31999         matching.
32001         * org.el (org-scan-tags): Make sure that tags matching is not case
32002         sensitive.  TODO keyword matching is case sensitive, however, to
32003         avoid confusion with similar words that are not meant to be
32004         keywords.
32006         * org.el (org-get-local-tags-at): New function.
32007         (org-get-local-tags): New function.
32009         * org-exp.el (org-export-get-categories): New function.
32011         * org-agenda.el (org-sorting-choice)
32012         (org-agenda-sorting-strategy, org-agenda-get-todos)
32013         (org-agenda-get-timestamps, org-agenda-get-deadlines)
32014         (org-agenda-get-scheduled, org-agenda-get-blocks)
32015         (org-entries-lessp): Implement sorting by TODO state.
32016         (org-cmp-todo-state): New defsubst.
32018         * org-colview.el (org-colview-construct-allowed-dates):
32019         New function.
32020         (org-columns-next-allowed-value):
32021         Use `org-colview-construct-allowed-dates'.
32023         * org.el (org-protect-slash): New function.
32024         (org-get-refile-targets): Use `org-protect-slash'.
32026         * org-agenda.el (org-global-tags-completion-table): New variable.
32028         * org-exp.el (org-export-handle-export-tags): New function.
32029         (org-export-preprocess-string):
32030         Call `org-export-handle-export-tags'.
32032         * org-publish.el (org-publish-expand-components): Function removed.
32033         (org-publish-expand-projects): Allow components to have components.
32035         * org.el (org-indent-line-function): Do not indent in regions that
32036         are external source code.
32037         (org-yank-and-fold-if-subtree): New function.
32039         * org-agenda.el (org-agenda-todayp): New function.
32040         (org-agenda-get-deadlines, org-agenda-get-scheduled):
32041         Use `org-agenda-todayp'.
32043         * org.el (org-insert-heading-respect-content)
32044         (org-insert-todo-heading-respect-content): New commands.
32045         (org-insert-heading-respect-content): New option.
32046         (org-insert-heading): Respect `org-insert-heading-respect-content'.
32048         * org-clock.el (org-clock-find-position): Make sure the note after
32049         the clock line gets moved into the new clock drawer.
32051         * org-id.el (org-id-new): New option.
32053         * org-table.el (org-table-copy-down): Avoid overflow during
32054         increment.  Use prefix argument 0 to temporarily disable the
32055         increment.
32057         * org-exp.el (org-export-as-html): Do not turn on the major mode
32058         if the buffer will be killed anyway.
32059         (org-get-current-options): Exclude the #+TEXT field.
32060         (org-export-as-html): Make sure text before the first headline is
32061         a paragraph.
32063         * org-publish.el (org-publish-org-to): Tell the exporter that this
32064         buffer will be killed, so it is not necessary to do major mode
32065         initialization.
32067         * org-archive.el (org-archive-to-archive-sibling): Show empty
32068         lines after folding the archive sibling.
32070         * org.el (org-log-note-extra): New variable.
32072 2008-10-12  Bastien Guerry  <bzg@gnu.org>
32074         * org.el (org-additional-option-like-keywords): Add keywords for
32075         the _QUOTE, _VERSE and _SRC environments.
32077         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
32078         exporting _QUOTE and _VERSE environments.
32080 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
32082         * org-agenda.el (org-agenda-filter-by-tag): New command.
32084         * org-exp.el (org-get-current-options): Remove angular brackets
32085         from the date entry.
32087         * org.el (org-edit-fixed-width-region): New function.
32088         (org-edit-fixed-width-region): Also try
32089         `org-edit-fixed-width-region'.
32090         (org-edit-fixed-width-region-mode): New option.
32091         (org-activate-code): Only interpret lines starting with colon
32092         plus a space as example lines.
32094         * org-remember.el (org-remember-templates): Add nil instead of
32095         empty strings to fix the length of remember templates.
32097         * org-table.el (org-calc-default-modes): Fix the time format for
32098         calc, from 12 hour to 24 hour clock.
32100         * org-agenda.el (org-agenda-get-deadlines)
32101         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
32102         entries that are pre-warnings of deadlines or reminders.
32104         * org.el (org-sort-entries-or-items): Make numeric and alpha
32105         comparisons ignore any TODO keyword and priority cookie.
32107         * org-remember.el (org-remember-handler): Reinterpretation of the
32108         prefix argument.
32110         * org-agenda.el (org-agenda-get-scheduled): Use new
32111         `org-scheduled' face.
32113         * org-faces.el (org-scheduled): New face.
32115         * org-wl.el (org-wl-open): Remove incorrect declaration.
32117         * org-gnus.el (org-gnus-store-link): Support for :to information
32118         in gnus links.
32120         * org-exp.el (org-export-as-html): Fix typo in creator
32121         information.
32122         (org-export-protect-examples): New parameter indent.  Insert extra
32123         spaces only when this parameter is specified.
32124         (org-export-preprocess-string): Call `org-export-protect-examples'
32125         with an indentation parameter when exporting to ASCII.
32127         * org-remember.el (org-remember-templates)
32128         (org-remember-apply-template): Allow the file component to be a
32129         function.
32131         * org.el (org-goto-local-search-headings): Rename from
32132         `org-goto-local-search-forward-headings'.  Added the possibility
32133         to search backwards.
32135         * org-export-latex.el (org-export-latex): New customization
32136         group.
32138         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
32140         * org-exp.el (org-html-do-expand): Allow {} to terminate
32141         tex macro.
32143         * org.el (org-buffer-list): Select buffers based on major mode,
32144         not on file name.
32146         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
32147         face property.
32149         * org-colview.el (org-columns-display-here):
32150         Use `org-columns-modify-value-for-display-function'.
32152         * org.el (org-columns-modify-value-for-display-function): New option.
32154         * org-publish.el (org-publish-file): Make sure the directory match
32155         for the publishing directory works correctly.
32157         * org-agenda.el (org-agenda-execute-calendar-command)
32158         (org-agenda-diary-entry): Additional optional argument.
32160 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32162         * org-exp.el (org-export-as-html): Add attributes also in mailto
32163         and ftp links.
32165         * org.el (org-autoload): Add `org-dblock-write:columnview'.
32167 2008-08-11  Glenn Morris  <rgm@gnu.org>
32169         * org-mac-message.el (do-applescript): Fix declaration.
32171 2008-08-10  Glenn Morris  <rgm@gnu.org>
32173         * org-exp.el (org-export-as-html): Let-bind `i'.
32175         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
32176         (org-extract-attributes): Let-bind `key', `value'.
32177         (org-make-tags-matcher): Let-bind `time-p'.
32179 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
32181         * org-install.el: New file.
32183 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
32185         * org-exp.el (org-export-html-style)
32186         (org-export-html-style-extra): Declare as safe-local-variable.
32188 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
32190         * org-publish.el (org-publish-file): Use the true name of the
32191         file.
32193         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
32194         instead of :style.
32196         * org-exp.el (org-export-plist-vars)
32197         (org-export-add-options-to-plist): Handle creator setting flag.
32198         (org-export-as-html): Handle attributes also for ftp and mailto
32199         links.
32201         * org-agenda.el (org-agenda-diary-entry)
32202         (org-agenda-execute-calendar-command): Cater for the second
32203         argument of `calendar-cursor-to-date'.
32205 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32207         * org-exp.el (org-export-region-as-html, org-export-as-html):
32208         Make sure that calls from `org-export-region-as-html' do not do the
32209         special check for a subtree.
32211         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
32213         * org.el (org-open-file):
32214         Use `org-open-directory-means-index-dot-org'.
32215         (org-open-directory-means-index-dot-org): New option.
32217         * org.el (org-make-link-string): Remove link attributes from
32218         description.
32219         (org-open-at-point): Remove link attributes before using the path.
32221         * org-exp.el (org-export-as-html): Handle link attributes.
32223         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
32225         * org-table.el (org-table-to-lisp): New function.
32227         * org.el (org-narrow-to-subtree): Do not include the final newline
32228         into the narrowed region.
32230         * org-agenda.el (org-agenda-custom-commands-local-options):
32231         Fix bug with user-define skipping condition.
32233         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
32235         * org-exp.el (org-export-html-style-default): Automatic overflow
32236         handling for pre fields.
32237         (org-export-as-ascii, org-export-as-html): Change default format
32238         for time stamp.
32240         * org-table.el (org-table-export): Offer completion for translator
32241         functions, and do not require a heading above the table.
32243         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
32244         Cater for the case of a list starting in the first line of the
32245         buffer.
32247         * org-publish.el (org-publish-find-title): Bug fix.
32248         (org-publish-org-index): Implement new :index-style option.
32250         * org-publish.el (org-publish-timestamp-filename):
32251         Use SHA1-encoded file names in the timestamp directory.
32253         * org-publish.el (org-publish-needed-p): Be verbose about files
32254         published and files skipped.
32256         * org-exp.el (org-export-preprocess-string): Swap link
32257         normalization and internal link targeting.
32259         * org-publish.el (org-publish-needed-p): Create timestamp
32260         directory when it does not exist.
32262         * org-clock.el (org-clock-out-when-done): Doc fix.
32264         * org.el (org-agenda-skip-unavailable-files): Doc fix.
32266         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
32267         Ignore case when searching for the COMMENT cookie at export time.
32269         * org-exp.el (org-get-file-contents)
32270         (org-get-and-remove-property): New functions.
32271         (org-export-handle-include-files): Handle the new prefix options.
32272         (org-export-as-html): Fix the verse environment.
32274         * org.el (org-time=, org-time<, org-time<=, org-time>)
32275         (org-time>=, org-time<>, org-2ft): New functions.
32276         (org-op-to-function): Also provide for the time testing functions.
32278         * org-exp.el (org-export-html-style-default): New constant.
32280         * org-exp.el (org-export-html-style-extra): New variable.
32281         (org-export-splice-style): New function.
32283         * org-exp.el (org-export-plist-vars, org-export-as-html):
32284         Implement `org-export-creator-info'.
32285         (org-export-creator-info): New option.
32287         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
32288         (org-property-drawer-re, org-clock-drawer-re): New constants.
32290         * org-exp.el (org-icalendar-use-deadline)
32291         (org-icalendar-use-scheduled): New options.
32292         (org-icalendar-include-todo): Default changed to t.
32293         (org-print-icalendar-entries): Implement better utilization of
32294         scheduling and deadline time stamps.
32295         (org-export-target-internal-links, org-export-as-html): Allow file
32296         lines without the "file:" prefix if the file path is an absolute
32297         path or starts with ".".
32299         * org-clock.el (org-clocktable-shift): Also understand yesterday,
32300         lastweek etc.
32301         (org-clock-special-range): Also understand yesterday, lastweek etc.
32303         * org.el (org-agenda-skip-archived-trees): Docstring now
32304         discourages using this.
32305         (org-scan-tags): Check for org-agenda-archives-mode.
32306         (org-map-entries): Make sure org-agenda-archives-mode is nil.
32307         (org-agenda-files): Functionality of second arg changed.
32309         * org-agenda.el (org-agenda-archives-mode): New variable.
32310         (org-write-agenda, org-prepare-agenda, org-agenda-list)
32311         (org-search-view, org-todo-list, org-tags-view)
32312         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
32313         `ifmode' argument.
32314         (org-agenda-quit): Reset the archives mode.
32315         (org-agenda-archives-mode): New command.
32316         (org-agenda-set-mode-name): Include archives info.
32318         * org.el (org-paste-subtree): Make sure the yanked headline is
32319         visible if it was yanked at a visible point.
32320         (org-move-item-up): Fix the bug with moving white space at the end
32321         of the item.
32322         (org-show-empty-lines-in-parent): New function.
32324 2008-07-19  Juri Linkov  <juri@jurta.org>
32326         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
32327         new keymap `narrow-map' instead of binding "\C-xns".
32329 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
32331         * org.el (org-agenda-skip-unavailable-files):
32332         * org-clock.el (org-clock-out-when-done): Doc fixes.
32334 2008-06-18  Glenn Morris  <rgm@gnu.org>
32336         * org.el (org-map-entries): Let-bind `file'.
32338 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32340         * org-colview.el (org-columns-next-allowed-value): Bug fix.
32342         * org-agenda.el (org-agenda-get-closed): Get the end time into the
32343         agenda prefix as well.
32345         * org-publish.el (org-publish-org-index): Make a properly indented
32346         list.
32348         * org.el (org-calendar-agenda-action-key): New option.
32349         (org-get-cursor-date): New function.
32350         (org-mark-entry-for-agenda-action): New command.
32351         (org-overriding-default-time): New variable.
32352         (org-read-date): Respect `org-overriding-default-time'.
32354         * org-remember.el (org-remember-apply-template): Respect the
32355         overriding default time.
32357         * org-agenda.el (org-agenda-action-marker): New variable.
32358         (org-agenda-action): New command.
32359         (org-agenda-do-action): New function.
32361 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32363         * org.el (org-schedule, org-deadline): Protect scheduled and
32364         deadline tasks against changes that accidentally remove the
32365         repeater.  Also show a message with the new date when done.
32367 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32369         * org.el (org-beginning-of-line): Cater for the case when there
32370         are tags but no headline text.
32371         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
32372         it set.
32374 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32376         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
32377         the return value is nil instead of "nil" when there is no match.
32379         * org-exp.el (org-insert-centered): Use fill-column instead of
32380         80.
32381         (org-export-as-ascii): Use string-width to measure the width of
32382         the heading.
32384         * org.el (org-diary-to-ical-string): No longer kill buffer
32385         FROMBUF, this is now done by the caller.
32387         * org-exp.el (org-print-icalendar-entries): Move the call to
32388         `org-diary-to-ical-string' out of the loop, and kill the buffer
32389         afterwords.
32391         * org-remember.el (org-remember-visit-immediately):
32392         Position cursor after moving to the note.
32393         (org-remember-apply-template): Use a text property to record the
32394         cursor position.
32395         (org-remember-handler): Align tags after pasting the note.
32397 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32399         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
32401         * org-agenda.el (org-agenda-open-link): If there is an
32402         org-bbdb-name property in the current line, jump to that bbdb
32403         entry.
32405         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
32406         text property, so that the agenda knows where this entry comes
32407         from.
32409         * org-agenda.el (org-agenda-clock-in): Fix bug in the
32410         interaction between clocking-in from the agenda, and  automatic
32411         task state switching.
32413         * org-macs.el (org-with-point-at): Bug fix in macro definition.
32415         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
32416         zmacs-region stays after this command in XEmacs.
32418 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32420         * org.el (org-scan-tags): Allow new values for ACTION parameter.
32422         * org-remember.el (org-remember-templates): Fix bug in
32423         customization type definition.
32425         * org.el (org-map-entries): New function.
32427 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32429         * org-agenda.el (org-agenda-skip-comment-trees): New option.
32430         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
32432 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32434         * org-remember.el (org-jump-to-target-location): New variable.
32435         (org-remember-apply-template):
32436         Set `org-remember-apply-template' if requested by template.
32437         (org-remember-handler): Start an idle timer to jump to
32438         remember location.
32440         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
32442         * org.el (org-set-regexps-and-options): Fix bug with parsing of
32443         file tags.
32444         (org-get-tags-at): Add the content of `org-file-tags'.
32446         * org-exp.el (org-export-handle-comments): Fix bug with several
32447         comment lines after each other.
32448         (org-number-to-roman, org-number-to-counter): New functions.
32449         (org-export-section-number-format): New option.
32451 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32453         * org-exp.el (org-export-protect-examples): Catch the case of a
32454         missing end_example line.
32456         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
32457         `org-file-tags' to nil.
32459         * org-colview.el (org-columns-next-allowed-value): Handle next
32460         argument NTH to directly select a value.
32462 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32464         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
32466 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32468         * org.el (org-columns-ellipses): New option.
32470 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32472         * org-colview.el (org-columns-add-ellipses): New function.
32473         (org-columns-compact-links): New function.
32474         (org-columns-cleanup-item): Call `org-columns-compact-links'.
32475         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
32476         when in agenda.
32477         (org-columns-edit-value): Fix bug with editing values from
32478         agenda column view.
32479         (org-columns-redo): Also redo the agenda itself.
32481 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32483         * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
32484         New option.
32486         * org-colview.el (org-agenda-columns-cleanup-item): New function.
32488         * org-exp.el (org-export-ascii-preprocess): Rename from
32489         `org-export-ascii-clean-string'.
32490         (org-export-kill-licensed-text)
32491         (org-export-define-heading-targets)
32492         (org-export-handle-invisible-targets)
32493         (org-export-target-internal-links)
32494         (org-export-remove-or-extract-drawers)
32495         (org-export-remove-archived-trees)
32496         (org-export-protect-quoted-subtrees)
32497         (org-export-protect-verbatim, org-export-protect-examples)
32498         (org-export-select-backend-specific-text)
32499         (org-export-mark-blockquote-and-verse)
32500         (org-export-remove-comment-blocks-and-subtrees)
32501         (org-export-handle-comments, org-export-mark-radio-links)
32502         (org-export-remove-special-table-lines)
32503         (org-export-normalize-links)
32504         (org-export-concatenate-multiline-links)
32505         (org-export-concatenate-multiline-emphasis): New functions,
32506         obtained from spliting the export preprocessor.
32508         * org-table.el (org-table-recalculate): Improve error message if
32509         the row number is invalid.
32511 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32513         * org-archive.el (org-archive-save-context-info): Fix bugs in
32514         customization setup and docstring.
32516         * org-exp.el (org-export-html-style): Change the size of in the
32517         <pre> element to 90%.
32519 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32521         * org.el (org-find-src-example-start): Function removed.
32522         (org-edit-src-find-region-and-lang): New function.
32524 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32526         * org.el (org-edit-src-exit): New function.
32527         (org-exit-edit-mode): New minor mode.
32529         * org-exp.el (org-export-preprocess-string): Fix bug with removing
32530         comment-like lines from protected examples.
32532         * org.el (org-edit-src-example, org-find-src-example-start)
32533         (org-protect-source-example, org-edit-special): New functions.
32535 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32537         * org-publish.el (org-publish-project-alist): Fix typo in
32538         docstring.
32539         (org-publish-project-alist): Handle :index-title property.
32541 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32543         * org-export-latex.el (org-export-as-latex): Make sure region
32544         bounds are correct.  Parse subtree properties relating to export.
32546         * org-exp.el (org-export-add-options-to-plist): New function.
32547         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
32549 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32551         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
32552         EXPORT_TITLE.
32554         * org-exp.el (org-export-get-title-from-subtree)
32555         (org-export-as-ascii, org-export-as-html): Make sure the original
32556         region-beginning and region-end are used, even after moving point.
32557         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
32558         property.
32560         * org-remember.el (org-remember-last-stored-marker): New variable.
32561         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
32562         (org-remember-handler): Also use marker to remember
32563         last-stored position.
32565         * org.el (org-goto-marker-or-bmk): New function.
32567 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32569         * org.el (org-file-properties): Rename from `org-local-properties'.
32570         (org-scan-tags): Take file tags into account.
32571         (org-tags-match-list-sublevels): Default changed to t.
32573         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
32575         * org.el (org-update-parent-todo-statistics): New function.
32577         * org-exp.el (org-icalendar-store-UID): New option.
32578         (org-icalendar-force-UID): Option removed.
32579         (org-print-icalendar-entries): IMplement UIDs.
32581 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32583         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
32585 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32587         * org-faces.el (org-column): Document how this face is being used
32588         and why sometimes the background faces shine through.
32590         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
32592         * org-publish.el (org-publish-attachment): Create publishing
32593         directory if it does not yet exist.
32595         * org-table.el (org-calc-default-modes): Change default number
32596         format to (float 8).
32598         * org.el (org-olpath-completing-read): New function.
32599         (org-time-clocksum-format): New option.
32600         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
32602         * org-clock.el (org-clock-display, org-clock-out)
32603         (org-update-mode-line): Use `org-time-clocksum-format'.
32605         * org-colview.el (org-columns-number-to-string):
32606         Use `org-time-clocksum-format'.
32608 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32610         * org-id.el: New file, move from contrib to core.
32612         * org-exp.el (org-icalendar-force-UID): New option.
32614 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32616         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
32617         shifted by one day if there is a date range without an end time.
32619         * org.el (org-try-structure-completion): New function.
32621 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32623         * org.el (org-set-font-lock-defaults): Improve fontification of
32624         description lists.
32625         (org-insert-item): Handle description lists.
32626         (org-adaptive-fill-function): Improve auto indentation in
32627         description lists.
32629         * org-exp.el (org-export-as-html, org-export-preprocess-string):
32630         Implement VERSE environment.
32631         (org-export-preprocess-string): Implement the COMMENT
32632         environment.
32634         * org-export-latex.el (org-export-latex-preprocess):
32635         Implement VERSE environment.
32637 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32639         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32640         option.
32642 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32644         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32646         * org.el (org-quote-csv-field): New functions.
32648         * org-table.el (org-table-export-default-format): Remove :splice
32649         from default format, we get the same effect by not specifying
32650         :tstart and :tend.
32651         (org-table-export): Improve setup, distinguish better between
32652         interactive and non-interactive use, allow specifying the format
32653         on the fly, better protection against wrong file names.
32654         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
32655         and :tend when :splice is omitted.
32657 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32659         * org-clock.el (org-clock-select-task): Make sure the selection
32660         letters are 1-9 and A-Z, no special characters.
32662 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32664         * org-exp.el (org-export-htmlize): New group.
32665         (org-export-htmlize-output-type)
32666         (org-export-htmlize-css-font-prefix): New options.
32667         (org-export-htmlize-region-for-paste): New function.
32668         (org-export-htmlize-generate-css): New command.
32670 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32672         * org.el (org-set-visibility-according-to-property): New function.
32673         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32674         and compute the regular expressions, and update font-lock.
32675         (org-property-re): Allow a dash in property names.
32677         * org-archive.el (org-extract-archive-file): Insert the file name
32678         without the path into the format, to allow the location format to
32679         contain a subdirectory.
32681         * org-agenda.el (org-agenda-post-command-hook): If point is at end
32682         of buffer, and the `org-agenda-type' property undefined, use the
32683         value from the character before.
32685         * org.el (org-add-planning-info): Don't let indentation for
32686         would-be timestamp become extra whitespace at the end of headline.
32688 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32690         * org.el (org-remove-double-quotes, org-file-contents):
32691         New functions.
32693         * org-exp.el (org-infile-export-plist): Also parse the
32694         contents of #+SETUPFILE files, recursively.
32696         * org.el (org-set-regexps-and-options): Also parse the
32697         contents of #+SETUPFILE files, recursively.
32699         * org-exp.el (org-export-handle-include-files): New function.
32700         (org-export-preprocess-string):
32701         Call `org-export-handle-include-files'.
32703         * org.el (org-delete-property-globally)
32704         (org-delete-property, org-set-property): Ignore case during
32705         completion.
32706         (org-set-property): Use `org-completing-read' instead of
32707         `completing-read'.
32709         * org.el (org-complete-expand-structure-template): New,
32710         experimental function.
32711         (org-structure-template-alist): New, experimental option.
32712         (org-complete): Call `org-complete-expand-structure-template'.
32714 2008-06-17  Bastien Guerry  <bzg@gnu.org>
32716         * org-export-latex.el (org-export-latex-preprocess):
32717         Add support for blockquotes.
32719 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32721         * org.el (org-read-date-analyze): Catch the case where only a
32722         weekday is given.
32724 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32726         * org.el (org-set-font-lock-defaults): Make the description
32727         tag bold.
32729         * org-exp.el (org-export-as-html, org-close-li):
32730         Implement description lists.
32732 2008-06-17  Jason Riedy  <jason@acm.org>
32734         * org-table.el (*orgtbl-default-fmt*): New variable.
32735         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32736         when there is no other fmt available.
32738         (orgtbl-to-generic): Allow an explicitly nil :tstart or
32739         :tend to suppress the appropriate string.
32741         (orgtbl-to-orgtbl): New function for translating to another orgtbl
32742         table.
32744 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32746         * org.el (org-read-date-analyze): "." as an alias for "+0" in
32747         read date.
32749         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32750         New function.
32752         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32753         New function.
32755 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32757         * org-clock.el (org-clock-find-position): Don't include notes
32758         into clock drawer.
32760         * org-archive.el (org-archive-subtree): No longer remove an
32761         extra line after cutting the subtree.  `org-cut-subtree' already
32762         takes care of this.
32764         * org-remember.el (org-remember-handler): Only kill the target
32765         buffer if it does not contain the running clock.
32767         * org.el (org-markers-to-move): New variable.
32768         (org-save-markers-in-region, org-check-and-save-marker)
32769         (org-reinstall-markers-in-region): New function.
32770         (org-move-subtree-down, org-copy-subtree): Remember relative
32771         marker positions before cutting.
32772         (org-move-subtree-down, org-paste-subtree): Restore relative
32773         marker positions after pasting.
32775         * org-remember.el (org-remember-clock-out-on-exit): New option.
32776         (org-remember-finalize): Clock out only if the setting in
32777         `org-remember-clock-out-on-exit' requires it.
32778         (org-remember-handler): Do the cleanup in the buffer, to make sure
32779         that the clock marker remains in tact.
32781 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32783         * org-clock.el (org-clock-goto): Widen buffer if necessary.
32784         (org-clock-in): Make sure that also tasks outside the narrowed
32785         region will be clocked in correctly.
32786         (org-clock-insert-selection-line): Widen the buffer so that we can
32787         find the correct task heading.
32789         * org.el (org-base-buffer): New function.
32791         * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32792         and ";" are escaped.
32793         (org-print-icalendar-entries): Also apply
32794         `org-icalendar-cleanup-string' to the headline, not only to the
32795         summary property.
32797 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32799         * org-exp.el (org-export-preprocess-hook): New hook.
32800         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32802         * org.el (org-font-lock-hook): New variable.
32803         (org-font-lock-hook): New function.
32804         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32806 ;; Local Variables:
32807 ;; coding: utf-8
32808 ;; add-log-time-zone-rule: t
32809 ;; End:
32811         Copyright (C) 2008-2014 Free Software Foundation, Inc.
32813   This file is part of GNU Emacs.
32815   GNU Emacs is free software: you can redistribute it and/or modify
32816   it under the terms of the GNU General Public License as published by
32817   the Free Software Foundation, either version 3 of the License, or
32818   (at your option) any later version.
32820   GNU Emacs is distributed in the hope that it will be useful,
32821   but WITHOUT ANY WARRANTY; without even the implied warranty of
32822   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32823   GNU General Public License for more details.
32825   You should have received a copy of the GNU General Public License
32826   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.